diff --git a/404.html b/404.html index 5b1e445..f09fef7 100644 --- a/404.html +++ b/404.html @@ -34,6 +34,6 @@ - + \ No newline at end of file diff --git a/assets/pictures-page-images/2024/1_spring/PXL_20240414_231132400.png b/assets/pictures-page-images/2024/1_spring/PXL_20240414_231132400.png new file mode 100644 index 0000000..ea8ccd2 Binary files /dev/null and b/assets/pictures-page-images/2024/1_spring/PXL_20240414_231132400.png differ diff --git a/assets/pictures-page-images/2024/1_spring/PXL_20240414_231543688PORTRAIT.png b/assets/pictures-page-images/2024/1_spring/PXL_20240414_231543688PORTRAIT.png new file mode 100644 index 0000000..71e97e9 Binary files /dev/null and b/assets/pictures-page-images/2024/1_spring/PXL_20240414_231543688PORTRAIT.png differ diff --git a/assets/pictures-page-images/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png b/assets/pictures-page-images/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png new file mode 100644 index 0000000..4cf03c1 Binary files /dev/null and b/assets/pictures-page-images/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png differ diff --git a/assets/pictures-page-images/2024/1_spring/PXL_20240415_003158359.png b/assets/pictures-page-images/2024/1_spring/PXL_20240415_003158359.png new file mode 100644 index 0000000..432f3ed Binary files /dev/null and b/assets/pictures-page-images/2024/1_spring/PXL_20240415_003158359.png differ diff --git a/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231132400.png b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231132400.png new file mode 100644 index 0000000..7a2f8e2 Binary files /dev/null and b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231132400.png differ diff --git a/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231543688PORTRAIT.png b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231543688PORTRAIT.png new file mode 100644 index 0000000..306a610 Binary files /dev/null and b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240414_231543688PORTRAIT.png differ diff --git a/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png new file mode 100644 index 0000000..57fdde6 Binary files /dev/null and b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png differ diff --git a/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_003158359.png b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_003158359.png new file mode 100644 index 0000000..402d22d Binary files /dev/null and b/assets/pictures-page-images/previews/2024/1_spring/PXL_20240415_003158359.png differ diff --git a/index.html b/index.html index 5b1e445..f09fef7 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,6 @@ - + \ No newline at end of file diff --git a/main.c087468685da40c5.js b/main.c087468685da40c5.js deleted file mode 100644 index 23228d4..0000000 --- a/main.c087468685da40c5.js +++ /dev/null @@ -1,50 +0,0 @@ -(self.webpackChunkrucogs_website=self.webpackChunkrucogs_website||[]).push([[179],{9096:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},3600:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},2027:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},9658:(Ue,J)=>{J.Z={body:''}},2474:(Ue,J)=>{J.Z={body:'',width:24,height:24}},7235:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5564:(Ue,J)=>{J.Z={body:'',width:20,height:20}},6306:(Ue,J)=>{J.Z={body:''}},8472:(Ue,J)=>{J.Z={body:''}},5340:(Ue,J)=>{J.Z={body:''}},6:(Ue,J)=>{J.Z={body:''}},1417:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5951:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8942:(Ue,J)=>{J.Z={body:'',width:24,height:24}},345:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8312:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8142:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5741:(Ue,J)=>{J.Z={body:'',width:24,height:24}},1995:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5715:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8252:(Ue,J)=>{J.Z={body:'',width:24,height:24}},3669:(Ue,J)=>{J.Z={body:'',width:24,height:24}},4769:(Ue,J)=>{J.Z={body:'',width:24,height:24}},6882:(Ue,J)=>{J.Z={body:'',width:24,height:24}},4366:(Ue,J)=>{J.Z={body:'',width:24,height:24}},1032:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5068:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5349:(Ue,J)=>{J.Z={body:'',width:24,height:24}},2061:(Ue,J)=>{J.Z={body:'',width:24,height:24}},3652:(Ue,J)=>{J.Z={body:'',width:24,height:24}},2975:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8650:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8399:(Ue,J,s)=>{"use strict";s.d(J,{C6:()=>h,QX:()=>b,ar:()=>m});var o=s(4537),r=s(5998);let h=(()=>{class S{constructor(){this.iconsByName={}}register(H,x){this.iconsByName[H]=x}registerAll(H){Object.assign(this.iconsByName,H)}get(H){const x=this.iconsByName[H];if(!x)throw new Error(`[Iconify]: No icon registered for name '${H}'. Use 'IconService' to register icons.`);return x}}return S.\u0275fac=function(H){return new(H||S)},S.\u0275prov=(0,o.Yz7)({factory:function(){return new S},token:S,providedIn:"root"}),S})(),_=0;const f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,d=/^-?[0-9.]*[0-9]+[0-9.]*$/g,L={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};class B{constructor(v){this._icon=v}static calculateDimension(v,H,x=100){if(1===H)return v;if("number"==typeof v)return Math.ceil(v*H*x)/x;const te=v.split(f);if(null===te||!te.length)return null;const Ee=[];let Z,T=te.shift(),ue=d.test(T);for(;;){if(ue?(Z=parseFloat(T),isNaN(Z)?Ee.push(T):Ee.push(Math.ceil(Z*H*x)/x)):Ee.push(T),T=te.shift(),void 0===T)return Ee.join("");ue=!ue}}static replaceIDs(v){const H=/\sid="(\S+)"/g,x=[];let te,Ee;function T(ue,Z,Me){let Se=0;for(;-1!==(Se=Me.indexOf(ue,Se));)Me=Me.slice(0,Se)+Z+Me.slice(Se+ue.length),Se+=Z.length;return Me}for(;te=H.exec(v);)x.push(te[1]);return x.length&&(Ee="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",x.forEach(ue=>{const Z=Ee+_;_++,v=T('="'+ue+'"','="'+Z+'"',v),v=T('="#'+ue+'"','="#'+Z+'"',v),v=T("(#"+ue+")","(#"+Z+")",v)})),v}getAttributes(v){const H=this._icon;"object"!=typeof v&&(v=Object.create(null));const x={horizontal:"center",vertical:"middle",slice:!1},te={rotate:H.rotate,hFlip:H.hFlip,vFlip:H.vFlip},Ee=Object.create(null),T=Object.create(null),ue=!0===v.inline||"true"===v.inline||"1"===v.inline,Z={left:H.left,top:ue?H.inlineTop:H.top,width:H.width,height:ue?H.inlineHeight:H.height};if(["hFlip","vFlip"].forEach(V=>{void 0!==v[V]&&(!0===v[V]||"true"===v[V]||"1"===v[V])&&(te[V]=!te[V])}),void 0!==v.flip&&v.flip.toLowerCase().split(/[\s,]+/).forEach(V=>{switch(V){case"horizontal":te.hFlip=!te.hFlip;break;case"vertical":te.vFlip=!te.vFlip}}),void 0!==v.rotate){let V=v.rotate;if("number"==typeof V)te.rotate+=V;else if("string"==typeof V){const j=V.replace(/^-?[0-9.]*/,"");if(""===j)V=parseInt(V,10),isNaN(V)||(te.rotate+=V);else if(j!==V){let X=!1;switch(j){case"%":X=25;break;case"deg":X=90}X&&(V=parseInt(V.slice(0,V.length-j.length),10),isNaN(V)||(te.rotate+=Math.round(V/X)))}}}const Me=[];let Se;switch(te.hFlip?te.vFlip?te.rotate+=2:(Me.push("translate("+(Z.width+Z.left)+" "+(0-Z.top)+")"),Me.push("scale(-1 1)"),Z.top=Z.left=0):te.vFlip&&(Me.push("translate("+(0-Z.left)+" "+(Z.height+Z.top)+")"),Me.push("scale(1 -1)"),Z.top=Z.left=0),te.rotate%4){case 1:Se=Z.height/2+Z.top,Me.unshift("rotate(90 "+Se+" "+Se+")"),(0!==Z.left||0!==Z.top)&&(Se=Z.left,Z.left=Z.top,Z.top=Se),Z.width!==Z.height&&(Se=Z.width,Z.width=Z.height,Z.height=Se);break;case 2:Me.unshift("rotate(180 "+(Z.width/2+Z.left)+" "+(Z.height/2+Z.top)+")");break;case 3:Se=Z.width/2+Z.left,Me.unshift("rotate(-90 "+Se+" "+Se+")"),(0!==Z.left||0!==Z.top)&&(Se=Z.left,Z.left=Z.top,Z.top=Se),Z.width!==Z.height&&(Se=Z.width,Z.width=Z.height,Z.height=Se)}const ve=v.width?v.width:null;let De,z,ye=v.height?v.height:null;null===ve&&null===ye&&(ye="1em"),null!==ve&&null!==ye?(De=ve,z=ye):null!==ve?(De=ve,z=B.calculateDimension(De,Z.height/Z.width)):(z=ye,De=B.calculateDimension(z,Z.width/Z.height)),!1!==De&&(T.width="auto"===De?Z.width:De),!1!==z&&(T.height="auto"===z?Z.height:z),ue&&0!==H.verticalAlign&&(Ee["vertical-align"]=H.verticalAlign+"em"),void 0!==v.align&&v.align.toLowerCase().split(/[\s,]+/).forEach(V=>{switch(V){case"left":case"right":case"center":x.horizontal=V;break;case"top":case"bottom":case"middle":x.vertical=V;break;case"crop":x.slice=!0;break;case"meet":x.slice=!1}}),T.preserveAspectRatio=function g(S){let v;switch(S.horizontal){case"left":v="xMin";break;case"right":v="xMax";break;default:v="xMid"}switch(S.vertical){case"top":v+="YMin";break;case"bottom":v+="YMax";break;default:v+="YMid"}return v+=S.slice?" slice":" meet",v}(x),T.viewBox=Z.left+" "+Z.top+" "+Z.width+" "+Z.height;let Y=B.replaceIDs(H.body);return void 0!==v.color&&(Y=Y.replace(/currentColor/g,v.color)),Me.length&&(Y=''+Y+""),(!0===v.box||"true"===v.box||"1"===v.box)&&(Y+=''),{attributes:T,body:Y,style:Ee}}getSVG(v){const H=this.getAttributes(v);let x='{x+=" "+te+'="'+H.attributes[te]+'"'}),x+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(H.style).forEach(te=>{x+=" "+te+": "+H.style[te]+";"}),x+='">',x+=H.body+"",x}}let m=(()=>{class S{constructor(H,x){this.domSanitizer=H,this.iconService=x,this.width="1em",this.height="1em",this.rotate=0}ngOnInit(){}ngOnChanges(H){H&&this.updateIcon()}updateIcon(){const H=this.getIcon(),x=new B(function A(S){const v=Object.assign(Object.create(null),L,S);return void 0===v.inlineTop&&(v.inlineTop=v.top),void 0===v.inlineHeight&&(v.inlineHeight=v.height),void 0===v.verticalAlign&&(v.verticalAlign=v.height%7==0&&v.height%8!=0?-.143:-.125),v}(H));this.iconHTML=this.generateSvgHtml(x)}getIcon(){const H=this.icon||this.icIcon;if("object"!=typeof H&&"string"!=typeof H)throw new Error("[Iconify]: No icon provided");return"object"==typeof H?H:this.iconService.get(H)}generateSvgHtml(H){return this.domSanitizer.bypassSecurityTrustHtml(H.getSVG({width:this.size||this.width,height:this.size||this.height,color:this.color,inline:this.inline,box:this.box,align:this.align,hFlip:this.hFlip,vFlip:this.vFlip,flip:this.flip,rotate:this.rotate}))}}return S.\u0275fac=function(H){return new(H||S)(o.Y36(r.H7),o.Y36(h))},S.\u0275dir=o.lG2({type:S,selectors:[["ic-icon"],["","icIcon",""]],hostVars:3,hostBindings:function(H,x){2&H&&(o.Ikx("innerHTML",x.iconHTML,o.oJD),o.ekj("ic-inline",x.inline))},inputs:{width:"width",height:"height",rotate:"rotate",icIcon:"icIcon",icon:"icon",color:"color",inline:"inline",box:"box",size:"size",align:"align",hFlip:"hFlip",vFlip:"vFlip",flip:"flip"},features:[o.TTD]}),S})(),b=(()=>{class S{}return S.\u0275fac=function(H){return new(H||S)},S.\u0275mod=o.oAB({type:S}),S.\u0275inj=o.cJS({}),S})()},1558:(Ue,J,s)=>{"use strict";s.d(J,{g7:()=>w});var o=null,r={},h=1,f="@wry/context:Slot",d=Array,w=d[f]||function(){var v=function(){function v(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return v.prototype.hasValue=function(){for(var H=o;H;H=H.parent)if(this.id in H.slots){var x=H.slots[this.id];if(x===r)break;return H!==o&&(o.slots[this.id]=x),!0}return o&&(o.slots[this.id]=r),!1},v.prototype.getValue=function(){if(this.hasValue())return o.slots[this.id]},v.prototype.withValue=function(H,x,te,Ee){var T,ue=((T={__proto__:null})[this.id]=H,T),Z=o;o={parent:Z,slots:ue};try{return x.apply(Ee,te)}finally{o=Z}},v.bind=function(H){var x=o;return function(){var te=o;try{return o=x,H.apply(this,arguments)}finally{o=te}}},v.noContext=function(H,x,te){if(!o)return H.apply(te,x);var Ee=o;try{return o=null,H.apply(te,x)}finally{o=Ee}},v}();try{Object.defineProperty(d,f,{value:d[f]=v,enumerable:!1,writable:!1,configurable:!1})}finally{return v}}()},1913:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>d});var o=Object.prototype,r=o.toString,h=o.hasOwnProperty,_=Function.prototype.toString,f=new Map;function d(b,S){try{return w(b,S)}finally{f.clear()}}function w(b,S){if(b===S)return!0;var v=r.call(b);if(v!==r.call(S))return!1;switch(v){case"[object Array]":if(b.length!==S.length)return!1;case"[object Object]":if(m(b,S))return!0;var x=L(b),te=L(S),Ee=x.length;if(Ee!==te.length)return!1;for(var T=0;T=0&&b.indexOf(S,v)===v}(Y,g)}return!1}function L(b){return Object.keys(b).filter(A,b)}function A(b){return void 0!==this[b]}var g="{ [native code] }";function m(b,S){var v=f.get(b);if(v){if(v.has(S))return!0}else f.set(b,v=new Set);return v.add(S),!1}},2844:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>f});var o=function(){return Object.create(null)},r=Array.prototype,h=r.forEach,_=r.slice,f=function(){function w(L,A){void 0===L&&(L=!0),void 0===A&&(A=o),this.weakness=L,this.makeData=A}return w.prototype.lookup=function(){for(var L=[],A=0;A{"use strict";const{ApolloLink:o,Observable:r}=s(5149),{createSignalIfSupported:h,fallbackHttpConfig:_,parseAndCheckHttpResponse:f,rewriteURIForGET:d,selectHttpOptionsAndBody:w,selectURI:L,serializeFetchParameter:A}=s(426),g=s(6795),B=s(1061),m=s(1654);Ue.exports=function({uri:S="/graphql",useGETForQueries:v,isExtractableFile:H=m,FormData:x,formDataAppendFile:te=B,fetch:Ee,fetchOptions:T,credentials:ue,headers:Z,includeExtensions:Me}={}){const Se={http:{includeExtensions:Me},options:T,credentials:ue,headers:Z};return new o(ve=>{const ye=ve.getContext(),{clientAwareness:{name:De,version:z}={},headers:Y}=ye,V={http:ye.http,options:ye.fetchOptions,credentials:ye.credentials,headers:{...De&&{"apollographql-client-name":De},...z&&{"apollographql-client-version":z},...Y}},{options:j,body:X}=w(ve,_,Se,V),{clone:Ie,files:ke}=g(X,"",H);let tt=L(ve,S);if(ke.size){delete j.headers["content-type"];const re=new(x||FormData);re.append("operations",A(Ie,"Payload"));const xe={};let Ke=0;ke.forEach(me=>{xe[++Ke]=me}),re.append("map",JSON.stringify(xe)),Ke=0,ke.forEach((me,P)=>{te(re,++Ke,P)}),j.body=re}else if(v&&!ve.query.definitions.some(Re=>"OperationDefinition"===Re.kind&&"mutation"===Re.operation)&&(j.method="GET"),"GET"===j.method){const{newURI:Re,parseError:re}=d(tt,X);if(re)return new r(xe=>{xe.error(re)});tt=Re}else j.body=A(Ie,"Payload");const{controller:lt}=h();lt&&(j.signal&&(j.signal.aborted?lt.abort():j.signal.addEventListener("abort",()=>{lt.abort()},{once:!0})),j.signal=lt.signal);const $=Ee||fetch;return new r(Re=>{let re;return $(tt,j).then(xe=>(ve.setContext({response:xe}),xe)).then(f(ve)).then(xe=>{Re.next(xe),Re.complete()}).catch(xe=>{re||(xe.result&&xe.result.errors&&xe.result.data&&Re.next(xe.result),Re.error(xe))}),()=>{re=!0,lt&<.abort()}})})}},1061:Ue=>{"use strict";Ue.exports=function(s,o,r){s.append(o,r,r.name)}},1654:(Ue,J,s)=>{"use strict";Ue.exports=s(6046)},9568:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(44),h=r(o("String.prototype.indexOf"));Ue.exports=function(f,d){var w=o(f,!!d);return"function"==typeof w&&h(f,".prototype.")>-1?r(w):w}},44:(Ue,J,s)=>{"use strict";var o=s(5396),r=s(8540),h=r("%Function.prototype.apply%"),_=r("%Function.prototype.call%"),f=r("%Reflect.apply%",!0)||o.call(_,h),d=r("%Object.getOwnPropertyDescriptor%",!0),w=r("%Object.defineProperty%",!0),L=r("%Math.max%");if(w)try{w({},"a",{value:1})}catch{w=null}Ue.exports=function(B){var m=f(o,_,arguments);if(d&&w){var b=d(m,"length");b.configurable&&w(m,"length",{value:1+L(0,B.length-(arguments.length-1))})}return m};var A=function(){return f(o,h,arguments)};w?w(Ue.exports,"apply",{value:A}):Ue.exports.apply=A},2978:(Ue,J,s)=>{"use strict";var o=s(8507),r=s(7316),h=s(4269),_=s(5544),f=s(437),d=s(5105),w=s(3105),L=s(6566),A=s(8540),g=s(9568),B=s(8456),m=s(4071),b=s(2284),S=s(3446),v=s(9406),H=g("Date.prototype.getTime"),x=Object.getPrototypeOf,te=g("Object.prototype.toString"),Ee=A("%Set%",!0),T=g("Map.prototype.has",!0),ue=g("Map.prototype.get",!0),Z=g("Map.prototype.size",!0),Me=g("Set.prototype.add",!0),Se=g("Set.prototype.delete",!0),ve=g("Set.prototype.has",!0),ye=g("Set.prototype.size",!0);function De($,Re,re,xe){for(var me,Ke=m($);(me=Ke.next())&&!me.done;)if(X(Re,me.value,re,xe))return Se($,me.value),!0;return!1}function z($){return typeof $>"u"?null:"object"!=typeof $?"symbol"!=typeof $&&("string"!=typeof $&&"number"!=typeof $||+$==+$):void 0}function Y($,Re,re,xe,Ke,me){var P=z(re);if(null!=P)return P;var se=ue(Re,P),Ce=v({},Ke,{strict:!1});return!(typeof se>"u"&&!T(Re,P)||!X(xe,se,Ce,me))&&!T($,P)&&X(xe,se,Ce,me)}function V($,Re,re){var xe=z(re);return xe??(ve(Re,xe)&&!ve($,xe))}function j($,Re,re,xe,Ke,me){for(var se,Ce,P=m($);(se=P.next())&&!se.done;)if(X(re,Ce=se.value,Ke,me)&&X(xe,ue(Re,Ce),Ke,me))return Se($,Ce),!0;return!1}function X($,Re,re,xe){var Ke=re||{};if(Ke.strict?h($,Re):$===Re)return!0;if(L($)!==L(Re))return!1;if(!$||!Re||"object"!=typeof $&&"object"!=typeof Re)return Ke.strict?h($,Re):$==Re;var He,se=xe.has($),Ce=xe.has(Re);if(se&&Ce){if(xe.get($)===xe.get(Re))return!0}else He={};return se||xe.set($,He),Ce||xe.set(Re,He),function lt($,Re,re,xe){var Ke,me;if(typeof $!=typeof Re||null==$||null==Re||te($)!==te(Re)||r($)!==r(Re))return!1;if(d($)!==d(Re))return!1;var Ce=$ instanceof Error,He=Re instanceof Error;if(Ce!==He||(Ce||He)&&($.name!==Re.name||$.message!==Re.message))return!1;var Qe=_($),st=_(Re);if(Qe!==st||(Qe||st)&&($.source!==Re.source||f($)!==f(Re)))return!1;var Ge=w($),at=w(Re);if(Ge!==at||(Ge||at)&&H($)!==H(Re)||re.strict&&x&&x($)!==x(Re)||S($)!==S(Re))return!1;var _t=Ie($),xt=Ie(Re);if(_t!==xt)return!1;if(_t||xt){if($.length!==Re.length)return!1;for(Ke=0;Ke<$.length;Ke++)if($[Ke]!==Re[Ke])return!1;return!0}if(typeof $!=typeof Re)return!1;var yt=o($),Pt=o(Re);if(yt.length!==Pt.length)return!1;for(yt.sort(),Pt.sort(),Ke=yt.length-1;Ke>=0;Ke--)if(yt[Ke]!=Pt[Ke])return!1;for(Ke=yt.length-1;Ke>=0;Ke--)if(!X($[me=yt[Ke]],Re[me],re,xe))return!1;var At=B($),nt=B(Re);return At===nt&&("Set"===At||"Set"===nt?function ke($,Re,re,xe){if(ye($)!==ye(Re))return!1;for(var P,se,Ce,Ke=m($),me=m(Re);(P=Ke.next())&&!P.done;)if(P.value&&"object"==typeof P.value)Ce||(Ce=new Ee),Me(Ce,P.value);else if(!ve(Re,P.value)){if(re.strict||!V($,Re,P.value))return!1;Ce||(Ce=new Ee),Me(Ce,P.value)}if(Ce){for(;(se=me.next())&&!se.done;)if(se.value&&"object"==typeof se.value){if(!De(Ce,se.value,re.strict,xe))return!1}else if(!re.strict&&!ve($,se.value)&&!De(Ce,se.value,re.strict,xe))return!1;return 0===ye(Ce)}return!0}($,Re,re,xe):"Map"!==At||function tt($,Re,re,xe){if(Z($)!==Z(Re))return!1;for(var P,se,Ce,He,Qe,st,Ke=m($),me=m(Re);(P=Ke.next())&&!P.done;)if(Qe=P.value[1],(He=P.value[0])&&"object"==typeof He)Ce||(Ce=new Ee),Me(Ce,He);else if(typeof(st=ue(Re,He))>"u"&&!T(Re,He)||!X(Qe,st,re,xe)){if(re.strict||!Y($,Re,He,Qe,re,xe))return!1;Ce||(Ce=new Ee),Me(Ce,He)}if(Ce){for(;(se=me.next())&&!se.done;)if(st=se.value[1],(He=se.value[0])&&"object"==typeof He){if(!j(Ce,$,He,st,re,xe))return!1}else if(!(re.strict||$.has(He)&&X(ue($,He),st,re,xe)||j(Ce,$,He,st,v({},re,{strict:!1}),xe)))return!1;return 0===ye(Ce)}return!0}($,Re,re,xe))}($,Re,Ke,xe)}function Ie($){return!(!$||"object"!=typeof $||"number"!=typeof $.length||"function"!=typeof $.copy||"function"!=typeof $.slice||$.length>0&&"number"!=typeof $[0]||!($.constructor&&$.constructor.isBuffer&&$.constructor.isBuffer($)))}Ue.exports=function(Re,re,xe){return X(Re,re,xe,b())}},6886:(Ue,J,s)=>{"use strict";var o=s(8507),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),h=Object.prototype.toString,_=Array.prototype.concat,f=Object.defineProperty,w=s(5898)(),L=f&&w,A=function(B,m,b,S){m in B&&(!function(B){return"function"==typeof B&&"[object Function]"===h.call(B)}(S)||!S())||(L?f(B,m,{configurable:!0,enumerable:!1,value:b,writable:!0}):B[m]=b)},g=function(B,m){var b=arguments.length>2?arguments[2]:{},S=o(m);r&&(S=_.call(S,Object.getOwnPropertySymbols(m)));for(var v=0;v{"use strict";Ue.exports=class{constructor({uri:s,name:o,type:r}){this.uri=s,this.name=o,this.type=r}}},6795:(Ue,J,s)=>{"use strict";const o=s(6046);Ue.exports=function(h,_="",f=o){const d=new Map,w=new Map;return{clone:function L(A,g,B){let m=A;if(f(A)){m=null;const b=d.get(A);b?b.push(g):d.set(A,[g])}else{const b=Array.isArray(A)||typeof FileList<"u"&&A instanceof FileList,S=A&&A.constructor===Object;if(b||S){const v=w.has(A);if(v?m=w.get(A):(m=b?[]:{},w.set(A,m)),!B.has(A)){const H=g?`${g}.`:"",x=new Set(B).add(A);if(b){let te=0;for(const Ee of A){const T=L(Ee,H+te++,x);v||m.push(T)}}else for(const te in A){const Ee=L(A[te],H+te,x);v||(m[te]=Ee)}}}}return m}(h,_,new Set),files:d}}},6046:(Ue,J,s)=>{"use strict";const o=s(1669);Ue.exports=function(h){return typeof File<"u"&&h instanceof File||typeof Blob<"u"&&h instanceof Blob||h instanceof o}},2208:(Ue,J,s)=>{"use strict";var o=s(7701),r=Object.prototype.toString,h=Object.prototype.hasOwnProperty,_=function(A,g,B){for(var m=0,b=A.length;m=3&&(m=B),"[object Array]"===r.call(A)?_(A,g,m):"string"==typeof A?f(A,g,m):d(A,g,m)}},1609:Ue=>{"use strict";var J="Function.prototype.bind called on incompatible ",s=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";Ue.exports=function(_){var f=this;if("function"!=typeof f||o.call(f)!==r)throw new TypeError(J+f);for(var w,d=s.call(arguments,1),L=function(){if(this instanceof w){var b=f.apply(this,d.concat(s.call(arguments)));return Object(b)===b?b:this}return f.apply(_,d.concat(s.call(arguments)))},A=Math.max(0,f.length-d.length),g=[],B=0;B{"use strict";var o=s(1609);Ue.exports=Function.prototype.bind||o},3413:Ue=>{"use strict";var J=function(){return"string"==typeof function(){}.name},s=Object.getOwnPropertyDescriptor;if(s)try{s([],"length")}catch{s=null}J.functionsHaveConfigurableNames=function(){if(!J()||!s)return!1;var h=s(function(){},"name");return!!h&&!!h.configurable};var o=Function.prototype.bind;J.boundFunctionsHaveNames=function(){return J()&&"function"==typeof o&&""!==function(){}.bind().name},Ue.exports=J},8540:(Ue,J,s)=>{"use strict";var o,r=SyntaxError,h=Function,_=TypeError,f=function(De){try{return h('"use strict"; return ('+De+").constructor;")()}catch{}},d=Object.getOwnPropertyDescriptor;if(d)try{d({},"")}catch{d=null}var w=function(){throw new _},L=d?function(){try{return w}catch{try{return d(arguments,"callee").get}catch{return w}}}():w,A=s(9326)(),g=Object.getPrototypeOf||function(De){return De.__proto__},B={},m=typeof Uint8Array>"u"?o:g(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?o:ArrayBuffer,"%ArrayIteratorPrototype%":A?g([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?o:Atomics,"%BigInt%":typeof BigInt>"u"?o:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?o:Float32Array,"%Float64Array%":typeof Float64Array>"u"?o:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?o:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?o:Int8Array,"%Int16Array%":typeof Int16Array>"u"?o:Int16Array,"%Int32Array%":typeof Int32Array>"u"?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A?g(g([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":typeof Map>"u"?o:Map,"%MapIteratorPrototype%":typeof Map>"u"||!A?o:g((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?o:Promise,"%Proxy%":typeof Proxy>"u"?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?o:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?o:Set,"%SetIteratorPrototype%":typeof Set>"u"||!A?o:g((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A?g(""[Symbol.iterator]()):o,"%Symbol%":A?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":L,"%TypedArray%":m,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?o:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?o:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?o:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?o:WeakMap,"%WeakRef%":typeof WeakRef>"u"?o:WeakRef,"%WeakSet%":typeof WeakSet>"u"?o:WeakSet},S=function De(z){var Y;if("%AsyncFunction%"===z)Y=f("async function () {}");else if("%GeneratorFunction%"===z)Y=f("function* () {}");else if("%AsyncGeneratorFunction%"===z)Y=f("async function* () {}");else if("%AsyncGenerator%"===z){var V=De("%AsyncGeneratorFunction%");V&&(Y=V.prototype)}else if("%AsyncIteratorPrototype%"===z){var j=De("%AsyncGenerator%");j&&(Y=g(j.prototype))}return b[z]=Y,Y},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=s(5396),x=s(7709),te=H.call(Function.call,Array.prototype.concat),Ee=H.call(Function.apply,Array.prototype.splice),T=H.call(Function.call,String.prototype.replace),ue=H.call(Function.call,String.prototype.slice),Z=H.call(Function.call,RegExp.prototype.exec),Me=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Se=/\\(\\)?/g,ve=function(z){var Y=ue(z,0,1),V=ue(z,-1);if("%"===Y&&"%"!==V)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===V&&"%"!==Y)throw new r("invalid intrinsic syntax, expected opening `%`");var j=[];return T(z,Me,function(X,Ie,ke,tt){j[j.length]=ke?T(tt,Se,"$1"):Ie||X}),j},ye=function(z,Y){var j,V=z;if(x(v,V)&&(V="%"+(j=v[V])[0]+"%"),x(b,V)){var X=b[V];if(X===B&&(X=S(V)),typeof X>"u"&&!Y)throw new _("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:j,name:V,value:X}}throw new r("intrinsic "+z+" does not exist!")};Ue.exports=function(z,Y){if("string"!=typeof z||0===z.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Y)throw new _('"allowMissing" argument must be a boolean');if(null===Z(/^%?[^%]*%?$/g,z))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var V=ve(z),j=V.length>0?V[0]:"",X=ye("%"+j+"%",Y),Ie=X.name,ke=X.value,tt=!1,lt=X.alias;lt&&(j=lt[0],Ee(V,te([0,1],lt)));for(var $=1,Re=!0;$=V.length){var me=d(ke,re);ke=(Re=!!me)&&"get"in me&&!("originalValue"in me.get)?me.get:ke[re]}else Re=x(ke,re),ke=ke[re];Re&&!tt&&(b[Ie]=ke)}}return ke}},9139:(Ue,J,s)=>{"use strict";s.d(J,{J9:()=>Te,_t:()=>ie,wO:()=>oe,Ps:()=>G,HW:()=>U});var o=s(4762);function h(we,Be){if(!Boolean(we))throw new Error(Be??"Unexpected invariant triggered.")}const _=/\r\n|[\n\r]/g;function f(we,Be){let We=0,Ye=1;for(const et of we.body.matchAll(_)){if("number"==typeof et.index||h(!1),et.index>=Be)break;We=et.index+et[0].length,Ye+=1}return{line:Ye,column:Be+1-We}}function w(we,Be){const We=we.locationOffset.column-1,Ye="".padStart(We)+we.body,et=Be.line-1,K=Be.line+(we.locationOffset.line-1),_e=Be.column+(1===Be.line?We:0),ae=`${we.name}:${K}:${_e}\n`,he=Ye.split(/\r\n|[\n\r]/g),pe=he[et];if(pe.length>120){const be=Math.floor(_e/80),Oe=_e%80,Ae=[];for(let Je=0;Je["|",Je]),["|","^".padStart(Oe)],["|",Ae[be+1]]])}return ae+L([[K-1+" |",he[et-1]],[`${K} |`,pe],["|","^".padStart(_e)],[`${K+1} |`,he[et+1]]])}function L(we){const Be=we.filter(([Ye,et])=>void 0!==et),We=Math.max(...Be.map(([Ye])=>Ye.length));return Be.map(([Ye,et])=>Ye.padStart(We)+(et?" "+et:"")).join("\n")}class g extends Error{constructor(Be,...We){var Ye,et,de;const{nodes:K,source:le,positions:_e,path:ae,originalError:he,extensions:pe}=function A(we){const Be=we[0];return null==Be||"kind"in Be||"length"in Be?{nodes:Be,source:we[1],positions:we[2],path:we[3],originalError:we[4],extensions:we[5]}:Be}(We);super(Be),this.name="GraphQLError",this.path=ae??void 0,this.originalError=he??void 0,this.nodes=B(Array.isArray(K)?K:K?[K]:void 0);const be=B(null===(Ye=this.nodes)||void 0===Ye?void 0:Ye.map(Ae=>Ae.loc).filter(Ae=>null!=Ae));this.source=le??(null==be||null===(et=be[0])||void 0===et?void 0:et.source),this.positions=_e??be?.map(Ae=>Ae.start),this.locations=_e&&le?_e.map(Ae=>f(le,Ae)):be?.map(Ae=>f(Ae.source,Ae.start));const Oe=function r(we){return"object"==typeof we&&null!==we}(he?.extensions)?he?.extensions:void 0;this.extensions=null!==(de=pe??Oe)&&void 0!==de?de:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=he&&he.stack?Object.defineProperty(this,"stack",{value:he.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,g):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let Be=this.message;if(this.nodes)for(const We of this.nodes)We.loc&&(Be+="\n\n"+w((we=We.loc).source,f(we.source,we.start)));else if(this.source&&this.locations)for(const We of this.locations)Be+="\n\n"+w(this.source,We);var we;return Be}toJSON(){const Be={message:this.message};return null!=this.locations&&(Be.locations=this.locations),null!=this.path&&(Be.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(Be.extensions=this.extensions),Be}}function B(we){return void 0===we||0===we.length?void 0:we}function S(we,Be,We){return new g(`Syntax Error: ${We}`,{source:we,positions:[Be]})}var v=s(484),H=(()=>{return(we=H||(H={})).QUERY="QUERY",we.MUTATION="MUTATION",we.SUBSCRIPTION="SUBSCRIPTION",we.FIELD="FIELD",we.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",we.FRAGMENT_SPREAD="FRAGMENT_SPREAD",we.INLINE_FRAGMENT="INLINE_FRAGMENT",we.VARIABLE_DEFINITION="VARIABLE_DEFINITION",we.SCHEMA="SCHEMA",we.SCALAR="SCALAR",we.OBJECT="OBJECT",we.FIELD_DEFINITION="FIELD_DEFINITION",we.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",we.INTERFACE="INTERFACE",we.UNION="UNION",we.ENUM="ENUM",we.ENUM_VALUE="ENUM_VALUE",we.INPUT_OBJECT="INPUT_OBJECT",we.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",H;var we})(),x=s(1605),te=s(1797),Ee=s(1777),T=(()=>{return(we=T||(T={})).SOF="",we.EOF="",we.BANG="!",we.DOLLAR="$",we.AMP="&",we.PAREN_L="(",we.PAREN_R=")",we.SPREAD="...",we.COLON=":",we.EQUALS="=",we.AT="@",we.BRACKET_L="[",we.BRACKET_R="]",we.BRACE_L="{",we.PIPE="|",we.BRACE_R="}",we.NAME="Name",we.INT="Int",we.FLOAT="Float",we.STRING="String",we.BLOCK_STRING="BlockString",we.COMMENT="Comment",T;var we})();class ue{constructor(Be){const We=new v.WU(T.SOF,0,0,0,0);this.source=Be,this.lastToken=We,this.token=We,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let Be=this.token;if(Be.kind!==T.EOF)do{if(Be.next)Be=Be.next;else{const We=Y(this,Be.end);Be.next=We,We.prev=Be,Be=We}}while(Be.kind===T.COMMENT);return Be}}function Me(we){return we>=0&&we<=55295||we>=57344&&we<=1114111}function Se(we,Be){return ve(we.charCodeAt(Be))&&ye(we.charCodeAt(Be+1))}function ve(we){return we>=55296&&we<=56319}function ye(we){return we>=56320&&we<=57343}function De(we,Be){const We=we.source.body.codePointAt(Be);if(void 0===We)return T.EOF;if(We>=32&&We<=126){const Ye=String.fromCodePoint(We);return'"'===Ye?"'\"'":`"${Ye}"`}return"U+"+We.toString(16).toUpperCase().padStart(4,"0")}function z(we,Be,We,Ye,et){return new v.WU(Be,We,Ye,we.line,1+We-we.lineStart,et)}function Y(we,Be){const We=we.source.body,Ye=We.length;let et=Be;for(;et=48&&we<=57?we-48:we>=65&&we<=70?we-55:we>=97&&we<=102?we-87:-1}function Re(we,Be){const We=we.source.body;switch(We.charCodeAt(Be+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw S(we.source,Be,`Invalid character escape sequence: "${We.slice(Be,Be+2)}".`)}function re(we,Be){const We=we.source.body,Ye=We.length;let et=we.lineStart,de=Be+3,K=de,le="";const _e=[];for(;dethis.parseValueLiteral(Be),T.BRACKET_R)})}parseObject(Be){return this.node(this._lexer.token,{kind:x.h.OBJECT,fields:this.any(T.BRACE_L,()=>this.parseObjectField(Be),T.BRACE_R)})}parseObjectField(Be){const We=this._lexer.token,Ye=this.parseName();return this.expectToken(T.COLON),this.node(We,{kind:x.h.OBJECT_FIELD,name:Ye,value:this.parseValueLiteral(Be)})}parseDirectives(Be){const We=[];for(;this.peek(T.AT);)We.push(this.parseDirective(Be));return We}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(Be){const We=this._lexer.token;return this.expectToken(T.AT),this.node(We,{kind:x.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(Be)})}parseTypeReference(){const Be=this._lexer.token;let We;if(this.expectOptionalToken(T.BRACKET_L)){const Ye=this.parseTypeReference();this.expectToken(T.BRACKET_R),We=this.node(Be,{kind:x.h.LIST_TYPE,type:Ye})}else We=this.parseNamedType();return this.expectOptionalToken(T.BANG)?this.node(Be,{kind:x.h.NON_NULL_TYPE,type:We}):We}parseNamedType(){return this.node(this._lexer.token,{kind:x.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("schema");const Ye=this.parseConstDirectives(),et=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return this.node(Be,{kind:x.h.SCHEMA_DEFINITION,description:We,directives:Ye,operationTypes:et})}parseOperationTypeDefinition(){const Be=this._lexer.token,We=this.parseOperationType();this.expectToken(T.COLON);const Ye=this.parseNamedType();return this.node(Be,{kind:x.h.OPERATION_TYPE_DEFINITION,operation:We,type:Ye})}parseScalarTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("scalar");const Ye=this.parseName(),et=this.parseConstDirectives();return this.node(Be,{kind:x.h.SCALAR_TYPE_DEFINITION,description:We,name:Ye,directives:et})}parseObjectTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("type");const Ye=this.parseName(),et=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),K=this.parseFieldsDefinition();return this.node(Be,{kind:x.h.OBJECT_TYPE_DEFINITION,description:We,name:Ye,interfaces:et,directives:de,fields:K})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)}parseFieldDefinition(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseName(),et=this.parseArgumentDefs();this.expectToken(T.COLON);const de=this.parseTypeReference(),K=this.parseConstDirectives();return this.node(Be,{kind:x.h.FIELD_DEFINITION,description:We,name:Ye,arguments:et,type:de,directives:K})}parseArgumentDefs(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)}parseInputValueDef(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseName();this.expectToken(T.COLON);const et=this.parseTypeReference();let de;this.expectOptionalToken(T.EQUALS)&&(de=this.parseConstValueLiteral());const K=this.parseConstDirectives();return this.node(Be,{kind:x.h.INPUT_VALUE_DEFINITION,description:We,name:Ye,type:et,defaultValue:de,directives:K})}parseInterfaceTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("interface");const Ye=this.parseName(),et=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),K=this.parseFieldsDefinition();return this.node(Be,{kind:x.h.INTERFACE_TYPE_DEFINITION,description:We,name:Ye,interfaces:et,directives:de,fields:K})}parseUnionTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("union");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseUnionMemberTypes();return this.node(Be,{kind:x.h.UNION_TYPE_DEFINITION,description:We,name:Ye,directives:et,types:de})}parseUnionMemberTypes(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("enum");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseEnumValuesDefinition();return this.node(Be,{kind:x.h.ENUM_TYPE_DEFINITION,description:We,name:Ye,directives:et,values:de})}parseEnumValuesDefinition(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)}parseEnumValueDefinition(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseEnumValueName(),et=this.parseConstDirectives();return this.node(Be,{kind:x.h.ENUM_VALUE_DEFINITION,description:We,name:Ye,directives:et})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw S(this._lexer.source,this._lexer.token.start,`${Qe(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("input");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseInputFieldsDefinition();return this.node(Be,{kind:x.h.INPUT_OBJECT_TYPE_DEFINITION,description:We,name:Ye,directives:et,fields:de})}parseInputFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)}parseTypeSystemExtension(){const Be=this._lexer.lookahead();if(Be.kind===T.NAME)switch(Be.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(Be)}parseSchemaExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const We=this.parseConstDirectives(),Ye=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(0===We.length&&0===Ye.length)throw this.unexpected();return this.node(Be,{kind:x.h.SCHEMA_EXTENSION,directives:We,operationTypes:Ye})}parseScalarTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const We=this.parseName(),Ye=this.parseConstDirectives();if(0===Ye.length)throw this.unexpected();return this.node(Be,{kind:x.h.SCALAR_TYPE_EXTENSION,name:We,directives:Ye})}parseObjectTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const We=this.parseName(),Ye=this.parseImplementsInterfaces(),et=this.parseConstDirectives(),de=this.parseFieldsDefinition();if(0===Ye.length&&0===et.length&&0===de.length)throw this.unexpected();return this.node(Be,{kind:x.h.OBJECT_TYPE_EXTENSION,name:We,interfaces:Ye,directives:et,fields:de})}parseInterfaceTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const We=this.parseName(),Ye=this.parseImplementsInterfaces(),et=this.parseConstDirectives(),de=this.parseFieldsDefinition();if(0===Ye.length&&0===et.length&&0===de.length)throw this.unexpected();return this.node(Be,{kind:x.h.INTERFACE_TYPE_EXTENSION,name:We,interfaces:Ye,directives:et,fields:de})}parseUnionTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseUnionMemberTypes();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.UNION_TYPE_EXTENSION,name:We,directives:Ye,types:et})}parseEnumTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseEnumValuesDefinition();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.ENUM_TYPE_EXTENSION,name:We,directives:Ye,values:et})}parseInputObjectTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseInputFieldsDefinition();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.INPUT_OBJECT_TYPE_EXTENSION,name:We,directives:Ye,fields:et})}parseDirectiveDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);const Ye=this.parseName(),et=this.parseArgumentDefs(),de=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const K=this.parseDirectiveLocations();return this.node(Be,{kind:x.h.DIRECTIVE_DEFINITION,description:We,name:Ye,arguments:et,repeatable:de,locations:K})}parseDirectiveLocations(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const Be=this._lexer.token,We=this.parseName();if(Object.prototype.hasOwnProperty.call(H,We.value))return We;throw this.unexpected(Be)}node(Be,We){return!0!==this._options.noLocation&&(We.loc=new v.Ye(Be,this._lexer.lastToken,this._lexer.source)),We}peek(Be){return this._lexer.token.kind===Be}expectToken(Be){const We=this._lexer.token;if(We.kind===Be)return this.advanceLexer(),We;throw S(this._lexer.source,We.start,`Expected ${st(Be)}, found ${Qe(We)}.`)}expectOptionalToken(Be){return this._lexer.token.kind===Be&&(this.advanceLexer(),!0)}expectKeyword(Be){const We=this._lexer.token;if(We.kind!==T.NAME||We.value!==Be)throw S(this._lexer.source,We.start,`Expected "${Be}", found ${Qe(We)}.`);this.advanceLexer()}expectOptionalKeyword(Be){const We=this._lexer.token;return We.kind===T.NAME&&We.value===Be&&(this.advanceLexer(),!0)}unexpected(Be){const We=Be??this._lexer.token;return S(this._lexer.source,We.start,`Unexpected ${Qe(We)}.`)}any(Be,We,Ye){this.expectToken(Be);const et=[];for(;!this.expectOptionalToken(Ye);)et.push(We.call(this));return et}optionalMany(Be,We,Ye){if(this.expectOptionalToken(Be)){const et=[];do{et.push(We.call(this))}while(!this.expectOptionalToken(Ye));return et}return[]}many(Be,We,Ye){this.expectToken(Be);const et=[];do{et.push(We.call(this))}while(!this.expectOptionalToken(Ye));return et}delimitedMany(Be,We){this.expectOptionalToken(Be);const Ye=[];do{Ye.push(We.call(this))}while(this.expectOptionalToken(Be));return Ye}advanceLexer(){const{maxTokens:Be}=this._options,We=this._lexer.advance();if(void 0!==Be&&We.kind!==T.EOF&&(++this._tokenCounter,this._tokenCounter>Be))throw S(this._lexer.source,We.start,`Document contains more that ${Be} tokens. Parsing aborted.`)}}function Qe(we){const Be=we.value;return st(we.kind)+(null!=Be?` "${Be}"`:"")}function st(we){return function Z(we){return we===T.BANG||we===T.DOLLAR||we===T.AMP||we===T.PAREN_L||we===T.PAREN_R||we===T.SPREAD||we===T.COLON||we===T.EQUALS||we===T.AT||we===T.BRACKET_L||we===T.BRACKET_R||we===T.BRACE_L||we===T.PIPE||we===T.BRACE_R}(we)?`"${we}"`:we}var Ge=new Map,at=new Map,_t=!0,xt=!1;function yt(we){return we.replace(/[\s,]+/g," ").trim()}function ft(we){var Be=yt(we);if(!Ge.has(Be)){var We=function me(we,Be){return new He(we,Be).parseDocument()}(we,{experimentalFragmentVariables:xt,allowLegacyFragmentVariables:xt});if(!We||"Document"!==We.kind)throw new Error("Not a valid GraphQL document.");Ge.set(Be,function nt(we){var Be=new Set(we.definitions);Be.forEach(function(Ye){Ye.loc&&delete Ye.loc,Object.keys(Ye).forEach(function(et){var de=Ye[et];de&&"object"==typeof de&&Be.add(de)})});var We=we.loc;return We&&(delete We.startToken,delete We.endToken),we}(function At(we){var Be=new Set,We=[];return we.definitions.forEach(function(Ye){if("FragmentDefinition"===Ye.kind){var et=Ye.name.value,de=function Pt(we){return yt(we.source.body.substring(we.start,we.end))}(Ye.loc),K=at.get(et);K&&!K.has(de)?_t&&console.warn("Warning: fragment with name "+et+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):K||at.set(et,K=new Set),K.add(de),Be.has(de)||(Be.add(de),We.push(Ye))}else We.push(Ye)}),(0,o.pi)((0,o.pi)({},we),{definitions:We})}(We)))}return Ge.get(Be)}function G(we){for(var Be=[],We=1;We{"use strict";var J=typeof BigInt<"u"&&BigInt;Ue.exports=function(){return"function"==typeof J&&"function"==typeof BigInt&&"bigint"==typeof J(42)&&"bigint"==typeof BigInt(42)}},5898:(Ue,J,s)=>{"use strict";var r=s(8540)("%Object.defineProperty%",!0),h=function(){if(r)try{return r({},"a",{value:1}),!0}catch{return!1}return!1};h.hasArrayLengthDefineBug=function(){if(!h())return null;try{return 1!==r([],"length",{value:1}).length}catch{return!0}},Ue.exports=h},9326:(Ue,J,s)=>{"use strict";var o=typeof Symbol<"u"&&Symbol,r=s(9045);Ue.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},9045:Ue=>{"use strict";Ue.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var s={},o=Symbol("test"),r=Object(o);if("string"==typeof o||"[object Symbol]"!==Object.prototype.toString.call(o)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(o in s[o]=42,s)return!1;if("function"==typeof Object.keys&&0!==Object.keys(s).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(s).length)return!1;var _=Object.getOwnPropertySymbols(s);if(1!==_.length||_[0]!==o||!Object.prototype.propertyIsEnumerable.call(s,o))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var f=Object.getOwnPropertyDescriptor(s,o);if(42!==f.value||!0!==f.enumerable)return!1}return!0}},1407:(Ue,J,s)=>{"use strict";var o=s(9045);Ue.exports=function(){return o()&&!!Symbol.toStringTag}},7709:(Ue,J,s)=>{"use strict";var o=s(5396);Ue.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},7316:(Ue,J,s)=>{"use strict";var o=s(1407)(),h=s(9568)("Object.prototype.toString"),_=function(L){return!(o&&L&&"object"==typeof L&&Symbol.toStringTag in L)&&"[object Arguments]"===h(L)},f=function(L){return!!_(L)||null!==L&&"object"==typeof L&&"number"==typeof L.length&&L.length>=0&&"[object Array]"!==h(L)&&"[object Function]"===h(L.callee)},d=function(){return _(arguments)}();_.isLegacyArguments=f,Ue.exports=d?_:f},2629:(Ue,J,s)=>{"use strict";if(s(3768)()){var r=BigInt.prototype.valueOf;Ue.exports=function(f){return!(null===f||typeof f>"u"||"boolean"==typeof f||"string"==typeof f||"number"==typeof f||"symbol"==typeof f||"function"==typeof f)&&("bigint"==typeof f||function(f){try{return r.call(f),!0}catch{}return!1}(f))}}else Ue.exports=function(f){return!1}},5963:(Ue,J,s)=>{"use strict";var o=s(9568),r=o("Boolean.prototype.toString"),h=o("Object.prototype.toString"),d=s(1407)();Ue.exports=function(L){return"boolean"==typeof L||null!==L&&"object"==typeof L&&(d&&Symbol.toStringTag in L?function(L){try{return r(L),!0}catch{return!1}}(L):"[object Boolean]"===h(L))}},7701:Ue=>{"use strict";var o,r,J=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{o=Object.defineProperty({},"length",{get:function(){throw r}}),r={},s(function(){throw 42},null,o)}catch(B){B!==r&&(s=null)}else s=null;var h=/^\s*class\b/,_=function(m){try{var b=J.call(m);return h.test(b)}catch{return!1}},d=Object.prototype.toString,A="function"==typeof Symbol&&!!Symbol.toStringTag,g="object"==typeof document&&typeof document.all>"u"&&void 0!==document.all?document.all:{};Ue.exports=s?function(m){if(m===g)return!0;if(!m||"function"!=typeof m&&"object"!=typeof m)return!1;if("function"==typeof m&&!m.prototype)return!0;try{s(m,null,o)}catch(b){if(b!==r)return!1}return!_(m)}:function(m){if(m===g)return!0;if(!m||"function"!=typeof m&&"object"!=typeof m)return!1;if("function"==typeof m&&!m.prototype)return!0;if(A)return function(m){try{return!_(m)&&(J.call(m),!0)}catch{return!1}}(m);if(_(m))return!1;var b=d.call(m);return"[object Function]"===b||"[object GeneratorFunction]"===b}},3105:(Ue,J,s)=>{"use strict";var o=Date.prototype.getDay,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"object"==typeof w&&null!==w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object Date]"===h.call(w))}},3926:Ue=>{"use strict";var o,J="function"==typeof Map&&Map.prototype?Map:null,s="function"==typeof Set&&Set.prototype?Set:null;J||(o=function(f){return!1});var r=J?Map.prototype.has:null,h=s?Set.prototype.has:null;!o&&!r&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(r.call(f),h)try{h.call(f)}catch{return!0}return f instanceof J}catch{}return!1}},635:(Ue,J,s)=>{"use strict";var o=Number.prototype.toString,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"number"==typeof w||"object"==typeof w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object Number]"===h.call(w))}},5544:(Ue,J,s)=>{"use strict";var h,_,f,d,o=s(9568),r=s(1407)();if(r){h=o("Object.prototype.hasOwnProperty"),_=o("RegExp.prototype.exec"),f={};var w=function(){throw f};d={toString:w,valueOf:w},"symbol"==typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=w)}var L=o("Object.prototype.toString"),A=Object.getOwnPropertyDescriptor;Ue.exports=r?function(m){if(!m||"object"!=typeof m)return!1;var b=A(m,"lastIndex");if(!b||!h(b,"value"))return!1;try{_(m,d)}catch(v){return v===f}}:function(m){return!(!m||"object"!=typeof m&&"function"!=typeof m)&&"[object RegExp]"===L(m)}},5878:Ue=>{"use strict";var o,J="function"==typeof Map&&Map.prototype?Map:null,s="function"==typeof Set&&Set.prototype?Set:null;s||(o=function(f){return!1});var r=J?Map.prototype.has:null,h=s?Set.prototype.has:null;!o&&!h&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(h.call(f),r)try{r.call(f)}catch{return!0}return f instanceof s}catch{}return!1}},9825:(Ue,J,s)=>{"use strict";var o=String.prototype.valueOf,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"string"==typeof w||"object"==typeof w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object String]"===h.call(w))}},8037:(Ue,J,s)=>{"use strict";var o=Object.prototype.toString;if(s(9326)()){var h=Symbol.prototype.toString,_=/^Symbol\(.*\)$/;Ue.exports=function(w){if("symbol"==typeof w)return!0;if("[object Symbol]"!==o.call(w))return!1;try{return function(w){return"symbol"==typeof w.valueOf()&&_.test(h.call(w))}(w)}catch{return!1}}}else Ue.exports=function(w){return!1}},7579:(Ue,J,s)=>{"use strict";var o=s(2208),r=s(5127),h=s(9568),_=h("Object.prototype.toString"),f=s(1407)(),d=typeof globalThis>"u"?global:globalThis,w=r(),L=h("Array.prototype.indexOf",!0)||function(v,H){for(var x=0;x-1}return!!B&&function(v){var H=!1;return o(g,function(x,te){if(!H)try{H=x.call(v)===te}catch{}}),H}(v)}},8666:Ue=>{"use strict";var o,J="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,s="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;J||(o=function(f){return!1});var r=J?J.prototype.has:null,h=s?s.prototype.has:null;!o&&!r&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(r.call(f,r),h)try{h.call(f,h)}catch{return!0}return f instanceof J}catch{}return!1}},6363:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(9568),h=o("%WeakSet%",!0),_=r("WeakSet.prototype.has",!0);if(_){var f=r("WeakMap.prototype.has",!0);Ue.exports=function(w){if(!w||"object"!=typeof w)return!1;try{if(_(w,_),f)try{f(w,f)}catch{return!0}return w instanceof h}catch{}return!1}}else Ue.exports=function(w){return!1}},5105:Ue=>{var J={}.toString;Ue.exports=Array.isArray||function(s){return"[object Array]"==J.call(s)}},1380:(Ue,J,s)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,h=o&&r&&"function"==typeof r.get?r.get:null,_=o&&Map.prototype.forEach,f="function"==typeof Set&&Set.prototype,d=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,w=f&&d&&"function"==typeof d.get?d.get:null,L=f&&Set.prototype.forEach,g="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,S="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,H=Object.prototype.toString,x=Function.prototype.toString,te=String.prototype.match,Ee=String.prototype.slice,T=String.prototype.replace,ue=String.prototype.toUpperCase,Z=String.prototype.toLowerCase,Me=RegExp.prototype.test,Se=Array.prototype.concat,ve=Array.prototype.join,ye=Array.prototype.slice,De=Math.floor,z="function"==typeof BigInt?BigInt.prototype.valueOf:null,Y=Object.getOwnPropertySymbols,V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,X="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Ie=Object.prototype.propertyIsEnumerable,ke=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(de){return de.__proto__}:null);function tt(de,K){if(de===1/0||de===-1/0||de!=de||de&&de>-1e3&&de<1e3||Me.call(/e/,K))return K;var le=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof de){var _e=de<0?-De(-de):De(de);if(_e!==de){var ae=String(_e),he=Ee.call(K,ae.length+1);return T.call(ae,le,"$&_")+"."+T.call(T.call(he,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(K,le,"$&_")}var lt=s(4654),$=lt.custom,Re=st($)?$:null;function re(de,K,le){var _e="double"===(le.quoteStyle||K)?'"':"'";return _e+de+_e}function xe(de){return T.call(String(de),/"/g,""")}function Ke(de){return!("[object Array]"!==xt(de)||X&&"object"==typeof de&&X in de)}function P(de){return!("[object RegExp]"!==xt(de)||X&&"object"==typeof de&&X in de)}function st(de){if(j)return de&&"object"==typeof de&&de instanceof Symbol;if("symbol"==typeof de)return!0;if(!de||"object"!=typeof de||!V)return!1;try{return V.call(de),!0}catch{}return!1}Ue.exports=function de(K,le,_e,ae){var he=le||{};if(_t(he,"quoteStyle")&&"single"!==he.quoteStyle&&"double"!==he.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(_t(he,"maxStringLength")&&("number"==typeof he.maxStringLength?he.maxStringLength<0&&he.maxStringLength!==1/0:null!==he.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pe=!_t(he,"customInspect")||he.customInspect;if("boolean"!=typeof pe&&"symbol"!==pe)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(_t(he,"indent")&&null!==he.indent&&"\t"!==he.indent&&!(parseInt(he.indent,10)===he.indent&&he.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(_t(he,"numericSeparator")&&"boolean"!=typeof he.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var be=he.numericSeparator;if(typeof K>"u")return"undefined";if(null===K)return"null";if("boolean"==typeof K)return K?"true":"false";if("string"==typeof K)return oe(K,he);if("number"==typeof K){if(0===K)return 1/0/K>0?"0":"-0";var Oe=String(K);return be?tt(K,Oe):Oe}if("bigint"==typeof K){var Ae=String(K)+"n";return be?tt(K,Ae):Ae}var Je=typeof he.depth>"u"?5:he.depth;if(typeof _e>"u"&&(_e=0),_e>=Je&&Je>0&&"object"==typeof K)return Ke(K)?"[Array]":"[Object]";var ct=function We(de,K){var le;if("\t"===de.indent)le="\t";else{if(!("number"==typeof de.indent&&de.indent>0))return null;le=ve.call(Array(de.indent+1)," ")}return{base:le,prev:ve.call(Array(K+1),le)}}(he,_e);if(typeof ae>"u")ae=[];else if(Pt(ae,K)>=0)return"[Circular]";function mt(rt,Et,Dt){if(Et&&(ae=ye.call(ae)).push(Et),Dt){var Lt={depth:he.depth};return _t(he,"quoteStyle")&&(Lt.quoteStyle=he.quoteStyle),de(rt,Lt,_e+1,ae)}return de(rt,he,_e+1,ae)}if("function"==typeof K&&!P(K)){var Mt=function yt(de){if(de.name)return de.name;var K=te.call(x.call(de),/^function\s*([\w$]+)/);return K?K[1]:null}(K),St=et(K,mt);return"[Function"+(Mt?": "+Mt:" (anonymous)")+"]"+(St.length>0?" { "+ve.call(St,", ")+" }":"")}if(st(K)){var Zt=j?T.call(String(K),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(K);return"object"!=typeof K||j?Zt:Xe(Zt)}if(function ie(de){return!(!de||"object"!=typeof de)&&(typeof HTMLElement<"u"&&de instanceof HTMLElement||"string"==typeof de.nodeName&&"function"==typeof de.getAttribute)}(K)){for(var $t="<"+Z.call(String(K.nodeName)),nn=K.attributes||[],ln=0;ln"}if(Ke(K)){if(0===K.length)return"[]";var Ut=et(K,mt);return ct&&!function Be(de){for(var K=0;K=0)return!1;return!0}(Ut)?"["+Ye(Ut,ct)+"]":"[ "+ve.call(Ut,", ")+" ]"}if(function se(de){return!("[object Error]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K)){var en=et(K,mt);return"cause"in Error.prototype||!("cause"in K)||Ie.call(K,"cause")?0===en.length?"["+String(K)+"]":"{ ["+String(K)+"] "+ve.call(en,", ")+" }":"{ ["+String(K)+"] "+ve.call(Se.call("[cause]: "+mt(K.cause),en),", ")+" }"}if("object"==typeof K&&pe){if(Re&&"function"==typeof K[Re]&<)return lt(K,{depth:Je-_e});if("symbol"!==pe&&"function"==typeof K.inspect)return K.inspect()}if(function At(de){if(!h||!de||"object"!=typeof de)return!1;try{h.call(de);try{w.call(de)}catch{return!0}return de instanceof Map}catch{}return!1}(K)){var Rt=[];return _.call(K,function(rt,Et){Rt.push(mt(Et,K,!0)+" => "+mt(rt,K))}),we("Map",h.call(K),Rt,ct)}if(function G(de){if(!w||!de||"object"!=typeof de)return!1;try{w.call(de);try{h.call(de)}catch{return!0}return de instanceof Set}catch{}return!1}(K)){var Ht=[];return L.call(K,function(rt){Ht.push(mt(rt,K))}),we("Set",w.call(K),Ht,ct)}if(function nt(de){if(!g||!de||"object"!=typeof de)return!1;try{g.call(de,g);try{m.call(de,m)}catch{return!0}return de instanceof WeakMap}catch{}return!1}(K))return Ze("WeakMap");if(function U(de){if(!m||!de||"object"!=typeof de)return!1;try{m.call(de,m);try{g.call(de,g)}catch{return!0}return de instanceof WeakSet}catch{}return!1}(K))return Ze("WeakSet");if(function ft(de){if(!S||!de||"object"!=typeof de)return!1;try{return S.call(de),!0}catch{}return!1}(K))return Ze("WeakRef");if(function He(de){return!("[object Number]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(mt(Number(K)));if(function Ge(de){if(!de||"object"!=typeof de||!z)return!1;try{return z.call(de),!0}catch{}return!1}(K))return Xe(mt(z.call(K)));if(function Qe(de){return!("[object Boolean]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(v.call(K));if(function Ce(de){return!("[object String]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(mt(String(K)));if(!function me(de){return!("[object Date]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K)&&!P(K)){var ut=et(K,mt),Pe=ke?ke(K)===Object.prototype:K instanceof Object||K.constructor===Object,I=K instanceof Object?"":"null prototype",O=!Pe&&X&&Object(K)===K&&X in K?Ee.call(xt(K),8,-1):I?"Object":"",Fe=(Pe||"function"!=typeof K.constructor?"":K.constructor.name?K.constructor.name+" ":"")+(O||I?"["+ve.call(Se.call([],O||[],I||[]),": ")+"] ":"");return 0===ut.length?Fe+"{}":ct?Fe+"{"+Ye(ut,ct)+"}":Fe+"{ "+ve.call(ut,", ")+" }"}return String(K)};var at=Object.prototype.hasOwnProperty||function(de){return de in this};function _t(de,K){return at.call(de,K)}function xt(de){return H.call(de)}function Pt(de,K){if(de.indexOf)return de.indexOf(K);for(var le=0,_e=de.length;le<_e;le++)if(de[le]===K)return le;return-1}function oe(de,K){if(de.length>K.maxStringLength){var le=de.length-K.maxStringLength,_e="... "+le+" more character"+(le>1?"s":"");return oe(Ee.call(de,0,K.maxStringLength),K)+_e}return re(T.call(T.call(de,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Te),"single",K)}function Te(de){var K=de.charCodeAt(0),le={8:"b",9:"t",10:"n",12:"f",13:"r"}[K];return le?"\\"+le:"\\x"+(K<16?"0":"")+ue.call(K.toString(16))}function Xe(de){return"Object("+de+")"}function Ze(de){return de+" { ? }"}function we(de,K,le,_e){return de+" ("+K+") {"+(_e?Ye(le,_e):ve.call(le,", "))+"}"}function Ye(de,K){if(0===de.length)return"";var le="\n"+K.prev+K.base;return le+ve.call(de,","+le)+"\n"+K.prev}function et(de,K){var le=Ke(de),_e=[];if(le){_e.length=de.length;for(var ae=0;ae{"use strict";var J=function(s){return s!=s};Ue.exports=function(o,r){return 0===o&&0===r?1/o==1/r:!!(o===r||J(o)&&J(r))}},4269:(Ue,J,s)=>{"use strict";var o=s(6886),r=s(44),h=s(7859),_=s(8593),f=s(6343),d=r(_(),Object);o(d,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=d},8593:(Ue,J,s)=>{"use strict";var o=s(7859);Ue.exports=function(){return"function"==typeof Object.is?Object.is:o}},6343:(Ue,J,s)=>{"use strict";var o=s(8593),r=s(6886);Ue.exports=function(){var _=o();return r(Object,{is:_},{is:function(){return Object.is!==_}}),_}},6068:(Ue,J,s)=>{"use strict";var o;if(!Object.keys){var r=Object.prototype.hasOwnProperty,h=Object.prototype.toString,_=s(2666),f=Object.prototype.propertyIsEnumerable,d=!f.call({toString:null},"toString"),w=f.call(function(){},"prototype"),L=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],A=function(b){var S=b.constructor;return S&&S.prototype===b},g={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},B=function(){if(typeof window>"u")return!1;for(var b in window)try{if(!g["$"+b]&&r.call(window,b)&&null!==window[b]&&"object"==typeof window[b])try{A(window[b])}catch{return!0}}catch{return!0}return!1}();o=function(S){var v=null!==S&&"object"==typeof S,H="[object Function]"===h.call(S),x=_(S),te=v&&"[object String]"===h.call(S),Ee=[];if(!v&&!H&&!x)throw new TypeError("Object.keys called on a non-object");var T=w&&H;if(te&&S.length>0&&!r.call(S,0))for(var ue=0;ue0)for(var Z=0;Z"u"||!B)return A(b);try{return A(b)}catch{return!1}}(S),ve=0;ve{"use strict";var o=Array.prototype.slice,r=s(2666),h=Object.keys,_=h?function(w){return h(w)}:s(6068),f=Object.keys;_.shim=function(){if(Object.keys){var w=function(){var L=Object.keys(arguments);return L&&L.length===arguments.length}(1,2);w||(Object.keys=function(A){return r(A)?f(o.call(A)):f(A)})}else Object.keys=_;return Object.keys||_},Ue.exports=_},2666:Ue=>{"use strict";var J=Object.prototype.toString;Ue.exports=function(o){var r=J.call(o),h="[object Arguments]"===r;return h||(h="[object Array]"!==r&&null!==o&&"object"==typeof o&&"number"==typeof o.length&&o.length>=0&&"[object Function]"===J.call(o.callee)),h}},5073:(Ue,J,s)=>{"use strict";var o=s(8507),r=function(A){return typeof A<"u"&&null!==A},h=s(9045)(),_=s(9568),f=Object,d=_("Array.prototype.push"),w=_("Object.prototype.propertyIsEnumerable"),L=h?Object.getOwnPropertySymbols:null;Ue.exports=function(g,B){if(!r(g))throw new TypeError("target must be an object");var b,S,v,H,x,te,Ee,m=f(g);for(b=1;b{"use strict";var o=s(6886),r=s(44),h=s(5073),_=s(6406),f=s(362),d=r.apply(_()),w=function(A,g){return d(Object,arguments)};o(w,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=w},6406:(Ue,J,s)=>{"use strict";var o=s(5073);Ue.exports=function(){return!Object.assign||function(){if(!Object.assign)return!1;for(var _="abcdefghijklmnopqrst",f=_.split(""),d={},w=0;w{"use strict";var o=s(6886),r=s(6406);Ue.exports=function(){var _=r();return o(Object,{assign:_},{assign:function(){return Object.assign!==_}}),_}},1747:(Ue,J,s)=>{"use strict";s.d(J,{dP:()=>X,re:()=>lt});var o=s(2844),r=s(1558);function h(){}var d,_=function(){function $(Re,re){void 0===Re&&(Re=1/0),void 0===re&&(re=h),this.max=Re,this.dispose=re,this.map=new Map,this.newest=null,this.oldest=null}return $.prototype.has=function(Re){return this.map.has(Re)},$.prototype.get=function(Re){var re=this.getNode(Re);return re&&re.value},$.prototype.getNode=function(Re){var re=this.map.get(Re);if(re&&re!==this.newest){var xe=re.older,Ke=re.newer;Ke&&(Ke.older=xe),xe&&(xe.newer=Ke),re.older=this.newest,re.older.newer=re,re.newer=null,this.newest=re,re===this.oldest&&(this.oldest=Ke)}return re},$.prototype.set=function(Re,re){var xe=this.getNode(Re);return xe?xe.value=re:(xe={key:Re,value:re,newer:null,older:this.newest},this.newest&&(this.newest.newer=xe),this.newest=xe,this.oldest=this.oldest||xe,this.map.set(Re,xe),xe.value)},$.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},$.prototype.delete=function(Re){var re=this.map.get(Re);return!!re&&(re===this.newest&&(this.newest=re.older),re===this.oldest&&(this.oldest=re.newer),re.newer&&(re.newer.older=re.older),re.older&&(re.older.newer=re.newer),this.map.delete(Re),this.dispose(re.value,Re),!0)},$}(),f=new r.g7,w=Object.prototype.hasOwnProperty,L=void 0===(d=Array.from)?function($){var Re=[];return $.forEach(function(re){return Re.push(re)}),Re}:d;function A($){var Re=$.unsubscribe;"function"==typeof Re&&($.unsubscribe=void 0,Re())}var g=[];function m($,Re){if(!$)throw new Error(Re||"assertion failure")}function S($){switch($.length){case 0:throw new Error("unknown value");case 1:return $[0];case 2:throw $[1]}}var H=function(){function $(Re){this.fn=Re,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++$.count}return $.prototype.peek=function(){if(1===this.value.length&&!T(this))return x(this),this.value[0]},$.prototype.recompute=function(Re){return m(!this.recomputing,"already recomputing"),x(this),T(this)?function te($,Re){return z($),f.withValue($,Ee,[$,Re]),function V($,Re){if("function"==typeof $.subscribe)try{A($),$.unsubscribe=$.subscribe.apply(null,Re)}catch{return $.setDirty(),!1}return!0}($,Re)&&function ue($){$.dirty=!1,!T($)&&Me($)}($),S($.value)}(this,Re):S(this.value)},$.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Z(this),A(this))},$.prototype.dispose=function(){var Re=this;this.setDirty(),z(this),Se(this,function(re,xe){re.setDirty(),Y(re,Re)})},$.prototype.forget=function(){this.dispose()},$.prototype.dependOn=function(Re){Re.add(this),this.deps||(this.deps=g.pop()||new Set),this.deps.add(Re)},$.prototype.forgetDeps=function(){var Re=this;this.deps&&(L(this.deps).forEach(function(re){return re.delete(Re)}),this.deps.clear(),g.push(this.deps),this.deps=null)},$.count=0,$}();function x($){var Re=f.getValue();if(Re)return $.parents.add(Re),Re.childValues.has($)||Re.childValues.set($,[]),T($)?ve(Re,$):ye(Re,$),Re}function Ee($,Re){$.recomputing=!0,$.value.length=0;try{$.value[0]=$.fn.apply(null,Re)}catch(re){$.value[1]=re}$.recomputing=!1}function T($){return $.dirty||!(!$.dirtyChildren||!$.dirtyChildren.size)}function Z($){Se($,ve)}function Me($){Se($,ye)}function Se($,Re){var re=$.parents.size;if(re)for(var xe=L($.parents),Ke=0;Ke0&&re===Re.length&&$[re-1]===Re[re-1]}(re,Re.value)||$.setDirty(),De($,Re),!T($)&&Me($)}function De($,Re){var re=$.dirtyChildren;re&&(re.delete(Re),0===re.size&&(g.length<100&&g.push(re),$.dirtyChildren=null))}function z($){$.childValues.size>0&&$.childValues.forEach(function(Re,re){Y($,re)}),$.forgetDeps(),m(null===$.dirtyChildren)}function Y($,Re){Re.parents.delete($),$.childValues.delete(Re),De($,Re)}var j={setDirty:!0,dispose:!0,forget:!0};function X($){var Re=new Map,re=$&&$.subscribe;function xe(Ke){var me=f.getValue();if(me){var P=Re.get(Ke);P||Re.set(Ke,P=new Set),me.dependOn(P),"function"==typeof re&&(A(P),P.unsubscribe=re(Ke))}}return xe.dirty=function(me,P){var se=Re.get(me);if(se){var Ce=P&&w.call(j,P)?P:"setDirty";L(se).forEach(function(He){return He[Ce]()}),Re.delete(me),A(se)}},xe}function Ie(){var $=new o.B("function"==typeof WeakMap);return function(){return $.lookupArray(arguments)}}Ie();var tt=new Set;function lt($,Re){void 0===Re&&(Re=Object.create(null));var re=new _(Re.max||Math.pow(2,16),function(He){return He.dispose()}),xe=Re.keyArgs,Ke=Re.makeCacheKey||Ie(),me=function(){var He=Ke.apply(null,xe?xe.apply(null,arguments):arguments);if(void 0===He)return $.apply(null,arguments);var Qe=re.get(He);Qe||(re.set(He,Qe=new H($)),Qe.subscribe=Re.subscribe,Qe.forget=function(){return re.delete(He)});var st=Qe.recompute(Array.prototype.slice.call(arguments));return re.set(He,Qe),tt.add(re),f.hasValue()||(tt.forEach(function(Ge){return Ge.clean()}),tt.clear()),st};function P(He){var Qe=re.get(He);Qe&&Qe.setDirty()}function se(He){var Qe=re.get(He);if(Qe)return Qe.peek()}function Ce(He){return re.delete(He)}return Object.defineProperty(me,"size",{get:function(){return re.map.size},configurable:!1,enumerable:!1}),me.dirtyKey=P,me.dirty=function(){P(Ke.apply(null,arguments))},me.peekKey=se,me.peek=function(){return se(Ke.apply(null,arguments))},me.forgetKey=Ce,me.forget=function(){return Ce(Ke.apply(null,arguments))},me.makeCacheKey=Ke,me.getKey=xe?function(){return Ke.apply(null,xe.apply(null,arguments))}:Ke,Object.freeze(me)}},565:(Ue,J,s)=>{"use strict";var o=s(3413).functionsHaveConfigurableNames(),r=Object,h=TypeError;Ue.exports=function(){if(null!=this&&this!==r(this))throw new h("RegExp.prototype.flags getter called on non-object");var f="";return this.hasIndices&&(f+="d"),this.global&&(f+="g"),this.ignoreCase&&(f+="i"),this.multiline&&(f+="m"),this.dotAll&&(f+="s"),this.unicode&&(f+="u"),this.sticky&&(f+="y"),f},o&&Object.defineProperty&&Object.defineProperty(Ue.exports,"name",{value:"get flags"})},437:(Ue,J,s)=>{"use strict";var o=s(6886),r=s(44),h=s(565),_=s(3880),f=s(9129),d=r(_());o(d,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=d},3880:(Ue,J,s)=>{"use strict";var o=s(565),r=s(6886).supportsDescriptors,h=Object.getOwnPropertyDescriptor;Ue.exports=function(){if(r&&"gim"===/a/gim.flags){var f=h(RegExp.prototype,"flags");if(f&&"function"==typeof f.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var d="",w={};if(Object.defineProperty(w,"hasIndices",{get:function(){d+="d"}}),Object.defineProperty(w,"sticky",{get:function(){d+="y"}}),"dy"===d)return f.get}}return o}},9129:(Ue,J,s)=>{"use strict";var o=s(6886).supportsDescriptors,r=s(3880),h=Object.getOwnPropertyDescriptor,_=Object.defineProperty,f=TypeError,d=Object.getPrototypeOf,w=/a/;Ue.exports=function(){if(!o||!d)throw new f("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var A=r(),g=d(w),B=h(g,"flags");return(!B||B.get!==A)&&_(g,"flags",{configurable:!0,enumerable:!1,get:A}),A}},4121:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=s(8023);class r extends o.x{constructor(_){super(),this._value=_}get value(){return this.getValue()}_subscribe(_){const f=super._subscribe(_);return!f.closed&&_.next(this._value),f}getValue(){const{hasError:_,thrownError:f,_value:d}=this;if(_)throw f;return this._throwIfClosed(),d}next(_){super.next(this._value=_)}}},818:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>g});var o=s(4021),r=s(4813),h=s(3122),_=s(8330);var w=s(2046),L=s(5975),A=s(1519);let g=(()=>{class S{constructor(H){H&&(this._subscribe=H)}lift(H){const x=new S;return x.source=this,x.operator=H,x}subscribe(H,x,te){const Ee=function b(S){return S&&S instanceof o.Lv||function m(S){return S&&(0,L.m)(S.next)&&(0,L.m)(S.error)&&(0,L.m)(S.complete)}(S)&&(0,r.Nn)(S)}(H)?H:new o.Hp(H,x,te);return(0,A.x)(()=>{const{operator:T,source:ue}=this;Ee.add(T?T.call(Ee,ue):ue?this._subscribe(Ee):this._trySubscribe(Ee))}),Ee}_trySubscribe(H){try{return this._subscribe(H)}catch(x){H.error(x)}}forEach(H,x){return new(x=B(x))((te,Ee)=>{const T=new o.Hp({next:ue=>{try{H(ue)}catch(Z){Ee(Z),T.unsubscribe()}},error:Ee,complete:te});this.subscribe(T)})}_subscribe(H){var x;return null===(x=this.source)||void 0===x?void 0:x.subscribe(H)}[h.L](){return this}pipe(...H){return function d(S){return 0===S.length?_.y:1===S.length?S[0]:function(H){return S.reduce((x,te)=>te(x),H)}}(H)(this)}toPromise(H){return new(H=B(H))((x,te)=>{let Ee;this.subscribe(T=>Ee=T,T=>te(T),()=>x(Ee))})}}return S.create=v=>new S(v),S})();function B(S){var v;return null!==(v=S??w.v.Promise)&&void 0!==v?v:Promise}},5557:(Ue,J,s)=>{"use strict";s.d(J,{t:()=>h});var o=s(8023),r=s(2069);class h extends o.x{constructor(f=1/0,d=1/0,w=r.l){super(),this._bufferSize=f,this._windowTime=d,this._timestampProvider=w,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=d===1/0,this._bufferSize=Math.max(1,f),this._windowTime=Math.max(1,d)}next(f){const{isStopped:d,_buffer:w,_infiniteTimeWindow:L,_timestampProvider:A,_windowTime:g}=this;d||(w.push(f),!L&&w.push(A.now()+g)),this._trimBuffer(),super.next(f)}_subscribe(f){this._throwIfClosed(),this._trimBuffer();const d=this._innerSubscribe(f),{_infiniteTimeWindow:w,_buffer:L}=this,A=L.slice();for(let g=0;g{"use strict";s.d(J,{x:()=>w});var o=s(818),r=s(4813);const _=(0,s(5776).d)(A=>function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var f=s(8308),d=s(1519);let w=(()=>{class A extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const m=new L(this,this);return m.operator=B,m}_throwIfClosed(){if(this.closed)throw new _}next(B){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const m of this.currentObservers)m.next(B)}})}error(B){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:m}=this;for(;m.length;)m.shift().error(B)}})}complete(){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:m,isStopped:b,observers:S}=this;return m||b?r.Lc:(this.currentObservers=null,S.push(B),new r.w0(()=>{this.currentObservers=null,(0,f.P)(S,B)}))}_checkFinalizedStatuses(B){const{hasError:m,thrownError:b,isStopped:S}=this;m?B.error(b):S&&B.complete()}asObservable(){const B=new o.y;return B.source=this,B}}return A.create=(g,B)=>new L(g,B),A})();class L extends w{constructor(g,B){super(),this.destination=g,this.source=B}next(g){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===m||m.call(B,g)}error(g){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===m||m.call(B,g)}complete(){var g,B;null===(B=null===(g=this.destination)||void 0===g?void 0:g.complete)||void 0===B||B.call(g)}_subscribe(g){var B,m;return null!==(m=null===(B=this.source)||void 0===B?void 0:B.subscribe(g))&&void 0!==m?m:r.Lc}}},4021:(Ue,J,s)=>{"use strict";s.d(J,{Hp:()=>H,Lv:()=>m});var o=s(5975),r=s(4813),h=s(2046),_=s(4922),f=s(408);const d=A("C",void 0,void 0);function A(ue,Z,Me){return{kind:ue,value:Z,error:Me}}var g=s(4146),B=s(1519);class m extends r.w0{constructor(Z){super(),this.isStopped=!1,Z?(this.destination=Z,(0,r.Nn)(Z)&&Z.add(this)):this.destination=T}static create(Z,Me,Se){return new H(Z,Me,Se)}next(Z){this.isStopped?Ee(function L(ue){return A("N",ue,void 0)}(Z),this):this._next(Z)}error(Z){this.isStopped?Ee(function w(ue){return A("E",void 0,ue)}(Z),this):(this.isStopped=!0,this._error(Z))}complete(){this.isStopped?Ee(d,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Z){this.destination.next(Z)}_error(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function S(ue,Z){return b.call(ue,Z)}class v{constructor(Z){this.partialObserver=Z}next(Z){const{partialObserver:Me}=this;if(Me.next)try{Me.next(Z)}catch(Se){x(Se)}}error(Z){const{partialObserver:Me}=this;if(Me.error)try{Me.error(Z)}catch(Se){x(Se)}else x(Z)}complete(){const{partialObserver:Z}=this;if(Z.complete)try{Z.complete()}catch(Me){x(Me)}}}class H extends m{constructor(Z,Me,Se){let ve;if(super(),(0,o.m)(Z)||!Z)ve={next:Z??void 0,error:Me??void 0,complete:Se??void 0};else{let ye;this&&h.v.useDeprecatedNextContext?(ye=Object.create(Z),ye.unsubscribe=()=>this.unsubscribe(),ve={next:Z.next&&S(Z.next,ye),error:Z.error&&S(Z.error,ye),complete:Z.complete&&S(Z.complete,ye)}):ve=Z}this.destination=new v(ve)}}function x(ue){h.v.useDeprecatedSynchronousErrorHandling?(0,B.O)(ue):(0,_.h)(ue)}function Ee(ue,Z){const{onStoppedNotification:Me}=h.v;Me&&g.z.setTimeout(()=>Me(ue,Z))}const T={closed:!0,next:f.Z,error:function te(ue){throw ue},complete:f.Z}},4813:(Ue,J,s)=>{"use strict";s.d(J,{Lc:()=>d,w0:()=>f,Nn:()=>w});var o=s(5975);const h=(0,s(5776).d)(A=>function(B){A(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((m,b)=>`${b+1}) ${m.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B});var _=s(8308);class f{constructor(g){this.initialTeardown=g,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let g;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const S of B)S.remove(this);else B.remove(this);const{initialTeardown:m}=this;if((0,o.m)(m))try{m()}catch(S){g=S instanceof h?S.errors:[S]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const S of b)try{L(S)}catch(v){g=g??[],v instanceof h?g=[...g,...v.errors]:g.push(v)}}if(g)throw new h(g)}}add(g){var B;if(g&&g!==this)if(this.closed)L(g);else{if(g instanceof f){if(g.closed||g._hasParent(this))return;g._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(g)}}_hasParent(g){const{_parentage:B}=this;return B===g||Array.isArray(B)&&B.includes(g)}_addParent(g){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(g),B):B?[B,g]:g}_removeParent(g){const{_parentage:B}=this;B===g?this._parentage=null:Array.isArray(B)&&(0,_.P)(B,g)}remove(g){const{_finalizers:B}=this;B&&(0,_.P)(B,g),g instanceof f&&g._removeParent(this)}}f.EMPTY=(()=>{const A=new f;return A.closed=!0,A})();const d=f.EMPTY;function w(A){return A instanceof f||A&&"closed"in A&&(0,o.m)(A.remove)&&(0,o.m)(A.add)&&(0,o.m)(A.unsubscribe)}function L(A){(0,o.m)(A)?A():A.unsubscribe()}},2046:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7445:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>h});var o=s(7472),r=s(4021);function h(_,f){const d="object"==typeof f;return new Promise((w,L)=>{const A=new r.Hp({next:g=>{w(g),A.unsubscribe()},error:L,complete:()=>{d?w(f.defaultValue):L(new o.K)}});_.subscribe(A)})}},5696:(Ue,J,s)=>{"use strict";s.d(J,{a:()=>g});var o=s(818),r=s(447),h=s(7108),_=s(8330),f=s(2692),d=s(6651),w=s(9299),L=s(8499),A=s(6903);function g(...b){const S=(0,d.yG)(b),v=(0,d.jO)(b),{args:H,keys:x}=(0,r.D)(b);if(0===H.length)return(0,h.D)([],S);const te=new o.y(function B(b,S,v=_.y){return H=>{m(S,()=>{const{length:x}=b,te=new Array(x);let Ee=x,T=x;for(let ue=0;ue{const Z=(0,h.D)(b[ue],S);let Me=!1;Z.subscribe((0,L.x)(H,Se=>{te[ue]=Se,Me||(Me=!0,T--),T||H.next(v(te.slice()))},()=>{--Ee||H.complete()}))},H)},H)}}(H,S,x?Ee=>(0,w.n)(x,Ee):_.y));return v?te.pipe((0,f.Z)(v)):te}function m(b,S,v){b?(0,A.f)(v,b,S):S()}},3729:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>f});var o=s(549),h=s(6651),_=s(7108);function f(...d){return function r(){return(0,o.J)(1)}()((0,_.D)(d,(0,h.yG)(d)))}},3072:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>h});var o=s(818),r=s(5955);function h(_){return new o.y(f=>{(0,r.Xf)(_()).subscribe(f)})}},9018:(Ue,J,s)=>{"use strict";s.d(J,{E:()=>r});const r=new(s(818).y)(f=>f.complete())},4967:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>L});var o=s(818),r=s(447),h=s(5955),_=s(6651),f=s(8499),d=s(2692),w=s(9299);function L(...A){const g=(0,_.jO)(A),{args:B,keys:m}=(0,r.D)(A),b=new o.y(S=>{const{length:v}=B;if(!v)return void S.complete();const H=new Array(v);let x=v,te=v;for(let Ee=0;Ee{T||(T=!0,te--),H[Ee]=ue},()=>x--,void 0,()=>{(!x||!T)&&(te||S.next(m?(0,w.n)(m,H):H),S.complete())}))}});return g?b.pipe((0,d.Z)(g)):b}},7108:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>Me});var o=s(5955),r=s(7513),h=s(2085);function _(Se,ve=0){return(0,h.e)((ye,De)=>{De.add(Se.schedule(()=>ye.subscribe(De),ve))})}var w=s(818),A=s(4565),g=s(5975),B=s(6903);function b(Se,ve){if(!Se)throw new Error("Iterable cannot be null");return new w.y(ye=>{(0,B.f)(ye,ve,()=>{const De=Se[Symbol.asyncIterator]();(0,B.f)(ye,ve,()=>{De.next().then(z=>{z.done?ye.complete():ye.next(z.value)})},0,!0)})})}var S=s(2021),v=s(9450),H=s(6602),x=s(6920),te=s(2604),Ee=s(5626),T=s(1559);function Me(Se,ve){return ve?function Z(Se,ve){if(null!=Se){if((0,S.c)(Se))return function f(Se,ve){return(0,o.Xf)(Se).pipe(_(ve),(0,r.Q)(ve))}(Se,ve);if((0,H.z)(Se))return function L(Se,ve){return new w.y(ye=>{let De=0;return ve.schedule(function(){De===Se.length?ye.complete():(ye.next(Se[De++]),ye.closed||this.schedule())})})}(Se,ve);if((0,v.t)(Se))return function d(Se,ve){return(0,o.Xf)(Se).pipe(_(ve),(0,r.Q)(ve))}(Se,ve);if((0,te.D)(Se))return b(Se,ve);if((0,x.T)(Se))return function m(Se,ve){return new w.y(ye=>{let De;return(0,B.f)(ye,ve,()=>{De=Se[A.h](),(0,B.f)(ye,ve,()=>{let z,Y;try{({value:z,done:Y}=De.next())}catch(V){return void ye.error(V)}Y?ye.complete():ye.next(z)},0,!0)}),()=>(0,g.m)(De?.return)&&De.return()})}(Se,ve);if((0,T.L)(Se))return function ue(Se,ve){return b((0,T.Q)(Se),ve)}(Se,ve)}throw(0,Ee.z)(Se)}(Se,ve):(0,o.Xf)(Se)}},4581:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>g});var o=s(5955),r=s(818),h=s(4882),_=s(6602),f=s(5975),d=s(2692);const w=["addListener","removeListener"],L=["addEventListener","removeEventListener"],A=["on","off"];function g(v,H,x,te){if((0,f.m)(x)&&(te=x,x=void 0),te)return g(v,H,x).pipe((0,d.Z)(te));const[Ee,T]=function S(v){return(0,f.m)(v.addEventListener)&&(0,f.m)(v.removeEventListener)}(v)?L.map(ue=>Z=>v[ue](H,Z,x)):function m(v){return(0,f.m)(v.addListener)&&(0,f.m)(v.removeListener)}(v)?w.map(B(v,H)):function b(v){return(0,f.m)(v.on)&&(0,f.m)(v.off)}(v)?A.map(B(v,H)):[];if(!Ee&&(0,_.z)(v))return(0,h.z)(ue=>g(ue,H,x))((0,o.Xf)(v));if(!Ee)throw new TypeError("Invalid event target");return new r.y(ue=>{const Z=(...Me)=>ue.next(1T(Z)})}function B(v,H){return x=>te=>v[x](H,te)}},5955:(Ue,J,s)=>{"use strict";s.d(J,{Xf:()=>b});var o=s(4762),r=s(6602),h=s(9450),_=s(818),f=s(2021),d=s(2604),w=s(5626),L=s(6920),A=s(1559),g=s(5975),B=s(4922),m=s(3122);function b(ue){if(ue instanceof _.y)return ue;if(null!=ue){if((0,f.c)(ue))return function S(ue){return new _.y(Z=>{const Me=ue[m.L]();if((0,g.m)(Me.subscribe))return Me.subscribe(Z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,r.z)(ue))return function v(ue){return new _.y(Z=>{for(let Me=0;Me{ue.then(Me=>{Z.closed||(Z.next(Me),Z.complete())},Me=>Z.error(Me)).then(null,B.h)})}(ue);if((0,d.D)(ue))return te(ue);if((0,L.T)(ue))return function x(ue){return new _.y(Z=>{for(const Me of ue)if(Z.next(Me),Z.closed)return;Z.complete()})}(ue);if((0,A.L)(ue))return function Ee(ue){return te((0,A.Q)(ue))}(ue)}throw(0,w.z)(ue)}function te(ue){return new _.y(Z=>{(function T(ue,Z){var Me,Se,ve,ye;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Me=(0,o.KL)(ue);!(Se=yield Me.next()).done;)if(Z.next(Se.value),Z.closed)return}catch(De){ve={error:De}}finally{try{Se&&!Se.done&&(ye=Me.return)&&(yield ye.call(Me))}finally{if(ve)throw ve.error}}Z.complete()})})(ue,Z).catch(Me=>Z.error(Me))})}},1860:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>d});var o=s(549),r=s(5955),h=s(9018),_=s(6651),f=s(7108);function d(...w){const L=(0,_.yG)(w),A=(0,_._6)(w,1/0),g=w;return g.length?1===g.length?(0,r.Xf)(g[0]):(0,o.J)(A)((0,f.D)(g,L)):h.E}},4945:(Ue,J,s)=>{"use strict";s.d(J,{of:()=>h});var o=s(6651),r=s(7108);function h(..._){const f=(0,o.yG)(_);return(0,r.D)(_,f)}},3787:(Ue,J,s)=>{"use strict";s.d(J,{_:()=>h});var o=s(818),r=s(5975);function h(_,f){const d=(0,r.m)(_)?_:()=>_,w=L=>L.error(d());return new o.y(f?L=>f.schedule(w,0,L):w)}},7878:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>f});var o=s(818),r=s(6523),h=s(1830);function f(d=0,w,L=r.P){let A=-1;return null!=w&&((0,h.K)(w)?L=w:A=w),new o.y(g=>{let B=function _(d){return d instanceof Date&&!isNaN(d)}(d)?+d-L.now():d;B<0&&(B=0);let m=0;return L.schedule(function(){g.closed||(g.next(m++),0<=A?this.schedule(void 0,A):g.complete())},B)})}},8499:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>r});var o=s(4021);function r(_,f,d,w,L){return new h(_,f,d,w,L)}class h extends o.Lv{constructor(f,d,w,L,A,g){super(f),this.onFinalize=A,this.shouldUnsubscribe=g,this._next=d?function(B){try{d(B)}catch(m){f.error(m)}}:super._next,this._error=L?function(B){try{L(B)}catch(m){f.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=w?function(){try{w()}catch(B){f.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}}}},9232:(Ue,J,s)=>{"use strict";s.d(J,{e:()=>w});var o=s(6523),r=s(2085),h=s(5955),_=s(8499),d=s(7878);function w(L,A=o.z){return function f(L){return(0,r.e)((A,g)=>{let B=!1,m=null,b=null,S=!1;const v=()=>{if(b?.unsubscribe(),b=null,B){B=!1;const x=m;m=null,g.next(x)}S&&g.complete()},H=()=>{b=null,S&&g.complete()};A.subscribe((0,_.x)(g,x=>{B=!0,m=x,b||(0,h.Xf)(L(x)).subscribe(b=(0,_.x)(g,v,H))},()=>{S=!0,(!B||!b||b.closed)&&g.complete()}))})}(()=>(0,d.H)(L,A))}},3568:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>_});var o=s(5955),r=s(8499),h=s(2085);function _(f){return(0,h.e)((d,w)=>{let g,L=null,A=!1;L=d.subscribe((0,r.x)(w,void 0,void 0,B=>{g=(0,o.Xf)(f(B,_(f)(d))),L?(L.unsubscribe(),L=null,g.subscribe(w)):A=!0})),A&&(L.unsubscribe(),L=null,g.subscribe(w))})}},4551:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>h});var o=s(4882),r=s(5975);function h(_,f){return(0,r.m)(f)?(0,o.z)(_,f,1):(0,o.z)(_,1)}},3151:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>_});var o=s(6523),r=s(2085),h=s(8499);function _(f,d=o.z){return(0,r.e)((w,L)=>{let A=null,g=null,B=null;const m=()=>{if(A){A.unsubscribe(),A=null;const S=g;g=null,L.next(S)}};function b(){const S=B+f,v=d.now();if(v{g=S,B=d.now(),A||(A=d.schedule(b,f),L.add(A))},()=>{m(),L.complete()},void 0,()=>{g=A=null}))})}},2686:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>h});var o=s(2085),r=s(8499);function h(_){return(0,o.e)((f,d)=>{let w=!1;f.subscribe((0,r.x)(d,L=>{w=!0,d.next(L)},()=>{w||d.next(_),d.complete()}))})}},5990:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>m});var o=s(6523),r=s(3729),h=s(5598),_=s(2085),f=s(8499),d=s(408),L=s(116),A=s(4882);function g(b,S){return S?v=>(0,r.z)(S.pipe((0,h.q)(1),function w(){return(0,_.e)((b,S)=>{b.subscribe((0,f.x)(S,d.Z))})}()),v.pipe(g(b))):(0,A.z)((v,H)=>b(v,H).pipe((0,h.q)(1),(0,L.h)(v)))}var B=s(7878);function m(b,S=o.z){const v=(0,B.H)(b,S);return g(()=>v)}},2147:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>_});var o=s(8330),r=s(2085),h=s(8499);function _(d,w=o.y){return d=d??f,(0,r.e)((L,A)=>{let g,B=!0;L.subscribe((0,h.x)(A,m=>{const b=w(m);(B||!d(g,b))&&(B=!1,g=b,A.next(m))}))})}function f(d,w){return d===w}},4970:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>h});var o=s(2085),r=s(8499);function h(_,f){return(0,o.e)((d,w)=>{let L=0;d.subscribe((0,r.x)(w,A=>_.call(f,A,L++)&&w.next(A)))})}},5490:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>r});var o=s(2085);function r(h){return(0,o.e)((_,f)=>{try{_.subscribe(f)}finally{f.add(h)}})}},9676:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>w});var o=s(7472),r=s(4970),h=s(5598),_=s(2686),f=s(8623),d=s(8330);function w(L,A){const g=arguments.length>=2;return B=>B.pipe(L?(0,r.h)((m,b)=>L(m,b,B)):d.y,(0,h.q)(1),g?(0,_.d)(A):(0,f.T)(()=>new o.K))}},7969:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>h});var o=s(2085),r=s(8499);function h(_,f){return(0,o.e)((d,w)=>{let L=0;d.subscribe((0,r.x)(w,A=>{w.next(_.call(f,A,L++))}))})}},116:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>r});var o=s(7969);function r(h){return(0,o.U)(()=>h)}},549:(Ue,J,s)=>{"use strict";s.d(J,{J:()=>h});var o=s(4882),r=s(8330);function h(_=1/0){return(0,o.z)(r.y,_)}},4882:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>L});var o=s(7969),r=s(5955),h=s(2085),_=s(6903),f=s(8499),w=s(5975);function L(A,g,B=1/0){return(0,w.m)(g)?L((m,b)=>(0,o.U)((S,v)=>g(m,S,b,v))((0,r.Xf)(A(m,b))),B):("number"==typeof g&&(B=g),(0,h.e)((m,b)=>function d(A,g,B,m,b,S,v,H){const x=[];let te=0,Ee=0,T=!1;const ue=()=>{T&&!x.length&&!te&&g.complete()},Z=Se=>te{S&&g.next(Se),te++;let ve=!1;(0,r.Xf)(B(Se,Ee++)).subscribe((0,f.x)(g,ye=>{b?.(ye),S?Z(ye):g.next(ye)},()=>{ve=!0},void 0,()=>{if(ve)try{for(te--;x.length&&teMe(ye)):Me(ye)}ue()}catch(ye){g.error(ye)}}))};return A.subscribe((0,f.x)(g,Z,()=>{T=!0,ue()})),()=>{H?.()}}(m,b,A,B)))}},7513:(Ue,J,s)=>{"use strict";s.d(J,{Q:()=>_});var o=s(6903),r=s(2085),h=s(8499);function _(f,d=0){return(0,r.e)((w,L)=>{w.subscribe((0,h.x)(L,A=>(0,o.f)(L,f,()=>L.next(A),d),()=>(0,o.f)(L,f,()=>L.complete(),d),A=>(0,o.f)(L,f,()=>L.error(A),d)))})}},815:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>d});var o=s(7108),r=s(5598),h=s(8023),_=s(4021),f=s(2085);function d(L={}){const{connector:A=(()=>new h.x),resetOnError:g=!0,resetOnComplete:B=!0,resetOnRefCountZero:m=!0}=L;return b=>{let S=null,v=null,H=null,x=0,te=!1,Ee=!1;const T=()=>{v?.unsubscribe(),v=null},ue=()=>{T(),S=H=null,te=Ee=!1},Z=()=>{const Me=S;ue(),Me?.unsubscribe()};return(0,f.e)((Me,Se)=>{x++,!Ee&&!te&&T();const ve=H=H??A();Se.add(()=>{x--,0===x&&!Ee&&!te&&(v=w(Z,m))}),ve.subscribe(Se),S||(S=new _.Hp({next:ye=>ve.next(ye),error:ye=>{Ee=!0,T(),v=w(ue,g,ye),ve.error(ye)},complete:()=>{te=!0,T(),v=w(ue,B),ve.complete()}}),(0,o.D)(Me).subscribe(S))})(b)}}function w(L,A,...g){return!0===A?(L(),null):!1===A?null:A(...g).pipe((0,r.q)(1)).subscribe(()=>L())}},1588:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>r});var o=s(4970);function r(h){return(0,o.h)((_,f)=>h<=f)}},1927:(Ue,J,s)=>{"use strict";s.d(J,{O:()=>_});var o=s(3729),r=s(6651),h=s(2085);function _(...f){const d=(0,r.yG)(f);return(0,h.e)((w,L)=>{(d?(0,o.z)(f,w,d):(0,o.z)(f,w)).subscribe(L)})}},1528:(Ue,J,s)=>{"use strict";s.d(J,{w:()=>_});var o=s(5955),r=s(2085),h=s(8499);function _(f,d){return(0,r.e)((w,L)=>{let A=null,g=0,B=!1;const m=()=>B&&!A&&L.complete();w.subscribe((0,h.x)(L,b=>{A?.unsubscribe();let S=0;const v=g++;(0,o.Xf)(f(b,v)).subscribe(A=(0,h.x)(L,H=>L.next(d?d(b,H,v,S++):H),()=>{A=null,m()}))},()=>{B=!0,m()}))})}},5598:(Ue,J,s)=>{"use strict";s.d(J,{q:()=>_});var o=s(9018),r=s(2085),h=s(8499);function _(f){return f<=0?()=>o.E:(0,r.e)((d,w)=>{let L=0;d.subscribe((0,h.x)(w,A=>{++L<=f&&(w.next(A),f<=L&&w.complete())}))})}},3528:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>f});var o=s(2085),r=s(8499),h=s(5955),_=s(408);function f(d){return(0,o.e)((w,L)=>{(0,h.Xf)(d).subscribe((0,r.x)(L,()=>L.complete(),_.Z)),!L.closed&&w.subscribe(L)})}},8168:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>f});var o=s(5975),r=s(2085),h=s(8499),_=s(8330);function f(d,w,L){const A=(0,o.m)(d)||w||L?{next:d,error:w,complete:L}:d;return A?(0,r.e)((g,B)=>{var m;null===(m=A.subscribe)||void 0===m||m.call(A);let b=!0;g.subscribe((0,h.x)(B,S=>{var v;null===(v=A.next)||void 0===v||v.call(A,S),B.next(S)},()=>{var S;b=!1,null===(S=A.complete)||void 0===S||S.call(A),B.complete()},S=>{var v;b=!1,null===(v=A.error)||void 0===v||v.call(A,S),B.error(S)},()=>{var S,v;b&&(null===(S=A.unsubscribe)||void 0===S||S.call(A)),null===(v=A.finalize)||void 0===v||v.call(A)}))}):_.y}},8623:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>_});var o=s(7472),r=s(2085),h=s(8499);function _(d=f){return(0,r.e)((w,L)=>{let A=!1;w.subscribe((0,h.x)(L,g=>{A=!0,L.next(g)},()=>A?L.complete():L.error(d())))})}function f(){return new o.K}},3466:(Ue,J,s)=>{"use strict";s.d(J,{o:()=>f});var o=s(4813);class r extends o.w0{constructor(w,L){super()}schedule(w,L=0){return this}}const h={setInterval(d,w,...L){const{delegate:A}=h;return A?.setInterval?A.setInterval(d,w,...L):setInterval(d,w,...L)},clearInterval(d){const{delegate:w}=h;return(w?.clearInterval||clearInterval)(d)},delegate:void 0};var _=s(8308);class f extends r{constructor(w,L){super(w,L),this.scheduler=w,this.work=L,this.pending=!1}schedule(w,L=0){if(this.closed)return this;this.state=w;const A=this.id,g=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(g,A,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(g,this.id,L),this}requestAsyncId(w,L,A=0){return h.setInterval(w.flush.bind(w,this),A)}recycleAsyncId(w,L,A=0){if(null!=A&&this.delay===A&&!1===this.pending)return L;h.clearInterval(L)}execute(w,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const A=this._execute(w,L);if(A)return A;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(w,L){let g,A=!1;try{this.work(w)}catch(B){A=!0,g=B||new Error("Scheduled action threw falsy error")}if(A)return this.unsubscribe(),g}unsubscribe(){if(!this.closed){const{id:w,scheduler:L}=this,{actions:A}=L;this.work=this.state=this.scheduler=null,this.pending=!1,(0,_.P)(A,this),null!=w&&(this.id=this.recycleAsyncId(L,w,null)),this.delay=null,super.unsubscribe()}}}},474:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>h});var o=s(2069);class r{constructor(f,d=r.now){this.schedulerActionCtor=f,this.now=d}schedule(f,d=0,w){return new this.schedulerActionCtor(this,f).schedule(w,d)}}r.now=o.l.now;class h extends r{constructor(f,d=r.now){super(f,d),this.actions=[],this._active=!1,this._scheduled=void 0}flush(f){const{actions:d}=this;if(this._active)return void d.push(f);let w;this._active=!0;do{if(w=f.execute(f.state,f.delay))break}while(f=d.shift());if(this._active=!1,w){for(;f=d.shift();)f.unsubscribe();throw w}}}},9239:(Ue,J,s)=>{"use strict";s.d(J,{Z:()=>w});var o=s(3466),r=s(4813);const h={schedule(A){let g=requestAnimationFrame,B=cancelAnimationFrame;const{delegate:m}=h;m&&(g=m.requestAnimationFrame,B=m.cancelAnimationFrame);const b=g(S=>{B=void 0,A(S)});return new r.w0(()=>B?.(b))},requestAnimationFrame(...A){const{delegate:g}=h;return(g?.requestAnimationFrame||requestAnimationFrame)(...A)},cancelAnimationFrame(...A){const{delegate:g}=h;return(g?.cancelAnimationFrame||cancelAnimationFrame)(...A)},delegate:void 0};var f=s(474);const w=new class d extends f.v{flush(g){this._active=!0;const B=this._scheduled;this._scheduled=void 0;const{actions:m}=this;let b;g=g||m.shift();do{if(b=g.execute(g.state,g.delay))break}while((g=m[0])&&g.id===B&&m.shift());if(this._active=!1,b){for(;(g=m[0])&&g.id===B&&m.shift();)g.unsubscribe();throw b}}}(class _ extends o.o{constructor(g,B){super(g,B),this.scheduler=g,this.work=B}requestAsyncId(g,B,m=0){return null!==m&&m>0?super.requestAsyncId(g,B,m):(g.actions.push(this),g._scheduled||(g._scheduled=h.requestAnimationFrame(()=>g.flush(void 0))))}recycleAsyncId(g,B,m=0){if(null!=m&&m>0||null==m&&this.delay>0)return super.recycleAsyncId(g,B,m);g.actions.some(b=>b.id===B)||(h.cancelAnimationFrame(B),g._scheduled=void 0)}})},6401:(Ue,J,s)=>{"use strict";s.d(J,{E:()=>S});var o=s(3466);let h,r=1;const _={};function f(H){return H in _&&(delete _[H],!0)}const d={setImmediate(H){const x=r++;return _[x]=!0,h||(h=Promise.resolve()),h.then(()=>f(x)&&H()),x},clearImmediate(H){f(H)}},{setImmediate:L,clearImmediate:A}=d,g={setImmediate(...H){const{delegate:x}=g;return(x?.setImmediate||L)(...H)},clearImmediate(H){const{delegate:x}=g;return(x?.clearImmediate||A)(H)},delegate:void 0};var m=s(474);const S=new class b extends m.v{flush(x){this._active=!0;const te=this._scheduled;this._scheduled=void 0;const{actions:Ee}=this;let T;x=x||Ee.shift();do{if(T=x.execute(x.state,x.delay))break}while((x=Ee[0])&&x.id===te&&Ee.shift());if(this._active=!1,T){for(;(x=Ee[0])&&x.id===te&&Ee.shift();)x.unsubscribe();throw T}}}(class B extends o.o{constructor(x,te){super(x,te),this.scheduler=x,this.work=te}requestAsyncId(x,te,Ee=0){return null!==Ee&&Ee>0?super.requestAsyncId(x,te,Ee):(x.actions.push(this),x._scheduled||(x._scheduled=g.setImmediate(x.flush.bind(x,void 0))))}recycleAsyncId(x,te,Ee=0){if(null!=Ee&&Ee>0||null==Ee&&this.delay>0)return super.recycleAsyncId(x,te,Ee);x.actions.some(T=>T.id===te)||(g.clearImmediate(te),x._scheduled=void 0)}})},6523:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>_,z:()=>h});var o=s(3466);const h=new(s(474).v)(o.o),_=h},2069:(Ue,J,s)=>{"use strict";s.d(J,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},4146:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>o});const o={setTimeout(r,h,..._){const{delegate:f}=o;return f?.setTimeout?f.setTimeout(r,h,..._):setTimeout(r,h,..._)},clearTimeout(r){const{delegate:h}=o;return(h?.clearTimeout||clearTimeout)(r)},delegate:void 0}},4565:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>r});const r=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3122:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},7472:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>r});const r=(0,s(5776).d)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},6651:(Ue,J,s)=>{"use strict";s.d(J,{_6:()=>d,jO:()=>_,yG:()=>f});var o=s(5975),r=s(1830);function h(w){return w[w.length-1]}function _(w){return(0,o.m)(h(w))?w.pop():void 0}function f(w){return(0,r.K)(h(w))?w.pop():void 0}function d(w,L){return"number"==typeof h(w)?w.pop():L}},447:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>f});const{isArray:o}=Array,{getPrototypeOf:r,prototype:h,keys:_}=Object;function f(w){if(1===w.length){const L=w[0];if(o(L))return{args:L,keys:null};if(function d(w){return w&&"object"==typeof w&&r(w)===h}(L)){const A=_(L);return{args:A.map(g=>L[g]),keys:A}}}return{args:w,keys:null}}},8308:(Ue,J,s)=>{"use strict";function o(r,h){if(r){const _=r.indexOf(h);0<=_&&r.splice(_,1)}}s.d(J,{P:()=>o})},5776:(Ue,J,s)=>{"use strict";function o(r){const _=r(f=>{Error.call(f),f.stack=(new Error).stack});return _.prototype=Object.create(Error.prototype),_.prototype.constructor=_,_}s.d(J,{d:()=>o})},9299:(Ue,J,s)=>{"use strict";function o(r,h){return r.reduce((_,f,d)=>(_[f]=h[d],_),{})}s.d(J,{n:()=>o})},1519:(Ue,J,s)=>{"use strict";s.d(J,{O:()=>_,x:()=>h});var o=s(2046);let r=null;function h(f){if(o.v.useDeprecatedSynchronousErrorHandling){const d=!r;if(d&&(r={errorThrown:!1,error:null}),f(),d){const{errorThrown:w,error:L}=r;if(r=null,w)throw L}}else f()}function _(f){o.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=f)}},6903:(Ue,J,s)=>{"use strict";function o(r,h,_,f=0,d=!1){const w=h.schedule(function(){_(),d?r.add(this.schedule(null,f)):this.unsubscribe()},f);if(r.add(w),!d)return w}s.d(J,{f:()=>o})},8330:(Ue,J,s)=>{"use strict";function o(r){return r}s.d(J,{y:()=>o})},6602:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>o});const o=r=>r&&"number"==typeof r.length&&"function"!=typeof r},2604:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>r});var o=s(5975);function r(h){return Symbol.asyncIterator&&(0,o.m)(h?.[Symbol.asyncIterator])}},5975:(Ue,J,s)=>{"use strict";function o(r){return"function"==typeof r}s.d(J,{m:()=>o})},2021:(Ue,J,s)=>{"use strict";s.d(J,{c:()=>h});var o=s(3122),r=s(5975);function h(_){return(0,r.m)(_[o.L])}},6920:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>h});var o=s(4565),r=s(5975);function h(_){return(0,r.m)(_?.[o.h])}},9450:(Ue,J,s)=>{"use strict";s.d(J,{t:()=>r});var o=s(5975);function r(h){return(0,o.m)(h?.then)}},1559:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>_,Q:()=>h});var o=s(4762),r=s(5975);function h(f){return(0,o.FC)(this,arguments,function*(){const w=f.getReader();try{for(;;){const{value:L,done:A}=yield(0,o.qq)(w.read());if(A)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(L)}}finally{w.releaseLock()}})}function _(f){return(0,r.m)(f?.getReader)}},1830:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>r});var o=s(5975);function r(h){return h&&(0,o.m)(h.schedule)}},2085:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>r,e:()=>h});var o=s(5975);function r(_){return(0,o.m)(_?.lift)}function h(_){return f=>{if(r(f))return f.lift(function(d){try{return _(d,this)}catch(w){this.error(w)}});throw new TypeError("Unable to lift unknown Observable type")}}},2692:(Ue,J,s)=>{"use strict";s.d(J,{Z:()=>_});var o=s(7969);const{isArray:r}=Array;function _(f){return(0,o.U)(d=>function h(f,d){return r(d)?f(...d):f(d)}(f,d))}},408:(Ue,J,s)=>{"use strict";function o(){}s.d(J,{Z:()=>o})},4922:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>h});var o=s(2046),r=s(4146);function h(_){r.z.setTimeout(()=>{const{onUnhandledError:f}=o.v;if(!f)throw _;f(_)})}},5626:(Ue,J,s)=>{"use strict";function o(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d(J,{z:()=>o})},2284:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(9568),h=s(1380),_=o("%TypeError%"),f=o("%WeakMap%",!0),d=o("%Map%",!0),w=r("WeakMap.prototype.get",!0),L=r("WeakMap.prototype.set",!0),A=r("WeakMap.prototype.has",!0),g=r("Map.prototype.get",!0),B=r("Map.prototype.set",!0),m=r("Map.prototype.has",!0),b=function(x,te){for(var T,Ee=x;null!==(T=Ee.next);Ee=T)if(T.key===te)return Ee.next=T.next,T.next=x.next,x.next=T,T};Ue.exports=function(){var te,Ee,T,ue={assert:function(Z){if(!ue.has(Z))throw new _("Side channel does not contain "+h(Z))},get:function(Z){if(f&&Z&&("object"==typeof Z||"function"==typeof Z)){if(te)return w(te,Z)}else if(d){if(Ee)return g(Ee,Z)}else if(T)return function(x,te){var Ee=b(x,te);return Ee&&Ee.value}(T,Z)},has:function(Z){if(f&&Z&&("object"==typeof Z||"function"==typeof Z)){if(te)return A(te,Z)}else if(d){if(Ee)return m(Ee,Z)}else if(T)return function(x,te){return!!b(x,te)}(T,Z);return!1},set:function(Z,Me){f&&Z&&("object"==typeof Z||"function"==typeof Z)?(te||(te=new f),L(te,Z,Me)):d?(Ee||(Ee=new d),B(Ee,Z,Me)):(T||(T={key:{},next:null}),function(x,te,Ee){var T=b(x,te);T?T.value=Ee:x.next={key:te,next:x.next,value:Ee}}(T,Z,Me))}};return ue}},8655:(Ue,J,s)=>{"use strict";s.d(J,{AF:()=>ve,Xd:()=>A});const o=(z,Y,V=[])=>{const j=Object.getOwnPropertyDescriptors(Y);for(let X of V)delete j[X];Object.defineProperties(z,j)},r=(z,Y=[z])=>{const V=Object.getPrototypeOf(z);return null===V?Y:r(V,[...Y,V])},_=(z,Y,V=[])=>{var j;const X=null!==(j=((...z)=>{if(0===z.length)return;let Y;const V=z.map(j=>r(j));for(;V.every(j=>j.length>0);){const j=V.map(Ie=>Ie.pop()),X=j[0];if(!j.every(Ie=>Ie===X))break;Y=X}return Y})(...z))&&void 0!==j?j:Object.prototype,Ie=Object.create(X),ke=r(X);for(let tt of z){let lt=r(tt);for(let $=lt.length-1;$>=0;$--){let Re=lt[$];-1===ke.indexOf(Re)&&(o(Ie,Re,["constructor",...V]),ke.push(Re))}}return Ie.constructor=Y,Ie},f=z=>z.filter((Y,V)=>z.indexOf(Y)==V),d=(z,Y)=>{const V=Y.map(Ie=>r(Ie));let j=0,X=!0;for(;X;){X=!1;for(let Ie=Y.length-1;Ie>=0;Ie--){const ke=V[Ie][j];if(null!=ke&&(X=!0,null!=Object.getOwnPropertyDescriptor(ke,z)))return V[Ie][0]}j++}},w=(z,Y=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>Y,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(V,j)=>Object.getOwnPropertyDescriptor(d(j,z)||{},j),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(V,j)=>void 0!==d(j,z)||void 0!==Y[j],get:(V,j)=>(d(j,z)||Y)[j],set(V,j,X){const Ie=d(j,z);if(void 0===Ie)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return Ie[j]=X,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>z.map(Object.getOwnPropertyNames).reduce((V,j)=>j.concat(V.filter(X=>j.indexOf(X)<0)))}),A={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"},g=new Map,B=z=>g.get(z),S=(z,Y)=>{var V,j;const X=f([...Object.getOwnPropertyNames(z),...Object.getOwnPropertyNames(Y)]),Ie={};for(let ke of X)Ie[ke]=f([...null!==(V=z?.[ke])&&void 0!==V?V:[],...null!==(j=Y?.[ke])&&void 0!==j?j:[]]);return Ie},v=(z,Y)=>{var V,j,X,Ie;return{property:S(null!==(V=z?.property)&&void 0!==V?V:{},null!==(j=Y?.property)&&void 0!==j?j:{}),method:S(null!==(X=z?.method)&&void 0!==X?X:{},null!==(Ie=Y?.method)&&void 0!==Ie?Ie:{})}},H=(z,Y)=>{var V,j,X,Ie,ke,tt;return{class:f([...null!==(V=z?.class)&&void 0!==V?V:[],...null!==(j=Y?.class)&&void 0!==j?j:[]]),static:v(null!==(X=z?.static)&&void 0!==X?X:{},null!==(Ie=Y?.static)&&void 0!==Ie?Ie:{}),instance:v(null!==(ke=z?.instance)&&void 0!==ke?ke:{},null!==(tt=Y?.instance)&&void 0!==tt?tt:{})}},x=new Map;function ve(...z){var Y,V,j;const X=z.map(lt=>lt.prototype),Ie=A.initFunction;if(null!==Ie){const lt=X.map(re=>re[Ie]).filter(re=>"function"==typeof re);X.push({[Ie]:function(...re){for(let xe of lt)xe.apply(this,re)}})}function ke(...lt){for(const $ of z)o(this,new $(...lt));null!==Ie&&"function"==typeof this[Ie]&&this[Ie].apply(this,lt)}ke.prototype="copy"===A.prototypeStrategy?_(X,ke):((z,Y)=>w([...z,{constructor:Y}]))(X,ke),Object.setPrototypeOf(ke,"copy"===A.staticsStrategy?_(z,null,["prototype"]):w(z,Function.prototype));let tt=ke;if("none"!==A.decoratorInheritance){const lt="deep"===A.decoratorInheritance?((...z)=>{const Y=((...z)=>{var Y;const V=new Set,j=new Set([...z]);for(;j.size>0;)for(let X of j){const lt=[...r(X.prototype).map($=>$.constructor),...null!==(Y=B(X))&&void 0!==Y?Y:[]].filter($=>!V.has($));for(let $ of lt)j.add($);V.add(X),j.delete(X)}return[...V]})(...z).map(V=>x.get(V)).filter(V=>!!V);return 0==Y.length?{}:1==Y.length?Y[0]:Y.reduce((V,j)=>H(V,j))})(...z):((...z)=>{const Y=z.map(V=>(z=>{let Y=x.get(z);return Y||(Y={},x.set(z,Y)),Y})(V));return 0===Y.length?{}:1===Y.length?Y[0]:Y.reduce((V,j)=>H(V,j))})(...z);for(let $ of null!==(Y=lt?.class)&&void 0!==Y?Y:[])tt=$(tt);ye(null!==(V=lt?.static)&&void 0!==V?V:{},tt),ye(null!==(j=lt?.instance)&&void 0!==j?j:{},tt.prototype)}return((z,Y)=>{g.set(z,Y)})(tt,z),tt}const ye=(z,Y)=>{const V=z.property,j=z.method;if(V)for(let X in V)for(let Ie of V[X])Ie(Y,X);if(j)for(let X in j)for(let Ie of j[X])Ie(Y,X,Object.getOwnPropertyDescriptor(Y,X))}},6566:(Ue,J,s)=>{"use strict";var o=s(9825),r=s(635),h=s(5963),_=s(8037),f=s(2629);Ue.exports=function(w){return null==w||"object"!=typeof w&&"function"!=typeof w?null:o(w)?"String":r(w)?"Number":h(w)?"Boolean":_(w)?"Symbol":f(w)?"BigInt":void 0}},3446:(Ue,J,s)=>{"use strict";var o=s(2208),r=s(5127),h=s(9568),_=h("Object.prototype.toString"),f=s(1407)(),d=typeof globalThis>"u"?global:globalThis,w=r(),L=h("String.prototype.slice"),A={},g=s(7168),B=Object.getPrototypeOf;f&&g&&B&&o(w,function(S){if("function"==typeof d[S]){var v=new d[S];if(Symbol.toStringTag in v){var H=B(v),x=g(H,Symbol.toStringTag);if(!x){var te=B(H);x=g(te,Symbol.toStringTag)}A[S]=x.get}}});var b=s(7579);Ue.exports=function(v){return!!b(v)&&(f&&Symbol.toStringTag in v?function(v){var H=!1;return o(A,function(x,te){if(!H)try{var Ee=x.call(v);Ee===te&&(H=Ee)}catch{}}),H}(v):L(_(v),8,-1))}},1656:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>tt});var o=s(4537),r=s(9096),h=s(3600),_=s(2027),f=s(9658),d=s(2474),w=s(7235),L=s(5564),A=s(6306),g=s(8472),B=s(5340),m=s(6),b=s(1417),S=s(5951),v=s(8942),H=s(345),x=s(8312),te=s(8142),Ee=s(5741),T=s(1995),ue=s(5715),Z=s(8252),Me=s(3669),Se=s(4769),ve=s(6882),ye=s(4366),De=s(1032),z=s(5068),Y=s(5349),V=s(2061),j=s(3652),X=s(2975),Ie=s(8650);class ke{constructor($,Re){this.name=$,this.link=Re}}let tt=(()=>{class lt{constructor(){this.General=new class{constructor(){this.pageLinks=[new ke("Home","home"),new ke("Members","members"),new ke("Projects","projects"),new ke("Pics","pictures"),new ke("Calendar","calendar"),new ke("Resources","resources"),new ke("Blog","blog")],this.instagramLink="https://www.instagram.com/rutgerscogs/",this.twitterLink="https://twitter.com/RutgersCOGS",this.discordLink="https://discord.gg/erTWnAhdwj",this.mailingListLink="http://eepurl.com/cgDAk5",this.icons={play:_.Z,discord:x.Z,twitter:V.Z,github:te.Z,soundCloud:ye.Z,appStore:v.Z,googlePlay:T.Z,itchdotio:Me.Z,pixiv:ve.Z,twitch:Y.Z,instagram:Z.Z,youtube:Ie.Z,steam:z.Z,spotify:De.Z,unity:j.Z,unrealEngine:X.Z,blender:H.Z,html5:ue.Z,link:w.Z,mail:h.Z,arrowExportRight:A.Z,arrowRight:m.Z,arrowExportLeft:g.Z,arrowLeft:B.Z,chevronUp:d.Z,arrowDownCircleFill:f.Z,article:b.Z,video:L.Z,tutorial:S.Z,google:Ee.Z,form:r.Z,linkedIn:Se.Z},this.defaultAvatarSrc="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png",this.defaultCardImageSrc="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png"}},this.Backend=new class{constructor(){this.backendDomain=(0,o.X6Q)()?"localhost:3000":"backend.cogs.club",this.backendRelativeBaseUrl=(0,o.X6Q)()?"":"/backend",this.graphQLRelativePath="/graphql",this.httpsPrefix=(0,o.X6Q)()?"http://":"https://",this.wssPrefix=(0,o.X6Q)()?"ws://":"wss://",this.selfHostedPrefix="cdn://",this.cdnRelativePath="/cdn"}get backendDomainPlusBaseUrl(){return this.backendDomain+this.backendRelativeBaseUrl}get backendHttpsURL(){return this.httpsPrefix+this.backendDomainPlusBaseUrl}get graphQLHttpsURL(){return this.httpsPrefix+this.backendDomainPlusBaseUrl+this.graphQLRelativePath}get graphQLWssURL(){return this.wssPrefix+this.backendDomainPlusBaseUrl+this.graphQLRelativePath}}}}return lt.\u0275fac=function(Re){return new(Re||lt)},lt.\u0275prov=o.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),lt})()},3451:(Ue,J,s)=>{"use strict";s.d(J,{dg:()=>h,z9:()=>g,Il:()=>d,AE:()=>_,yv:()=>L.y,tA:()=>A.tA,ej:()=>A.ej});var f,o=s(8692),r=s(4537);class h{constructor(m,b="",S="",v="",H="",x=[],te){this.filePath=m,this.title=b,this.description=S,this.date=v,this.imagePath=H,this.authors=x,this.tags=te}toString(){return`[${this.title}, ${this.description}, ${this.authors}, ${this.date}]`}getAuthorsString(){return 0===this.authors.length?"":"By: "+this.authors.join(", ")}}class _{constructor(m,b="",S=[]){this.filePath=m,this.description=b,this.tags=S}}class d{constructor(m,b,S){this.r=0,this.g=0,this.b=0,this.r=m,this.g=b,this.b=S}hexString(){return"#"+this.num2Hex(this.r)+this.num2Hex(this.g)+this.num2Hex(this.b)}rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}copy(){return new d(this.r,this.g,this.b)}shade(m){if(m<-1||m>1)throw new Error("'light' must be between -1 and 1.");var b=this.r,S=this.g,v=this.b;return m<0?(b*=1+m,S*=1+m,v*=1+m):(b=(1-m)*b+255*m,S=(1-m)*S+255*m,v=(1-m)*v+255*m),new d(b,S,v)}num2Hex(m){(m=Math.round(m))<0&&(m=0),m>255&&(m=255);var b=m.toString(16);return b.length<2&&(b="0"+b),b}static fromRGB(m,b,S){return new d(m,b,S)}static fromRGBText(m){var b=this.cssRGBRegex.exec(m);if(null!==b){var S=parseInt(b[1]),v=parseInt(b[2]),H=parseInt(b[3]);return isNaN(S)||isNaN(v)||isNaN(H)?null:this.fromRGB(S,v,H)}return null}static fromRGBTextOrDefault(m,b=new d(0,0,0)){var S=this.fromRGBText(m);return null!==S?S:b}static fromHex(m){"#"==m.charAt(0)&&(m=m.substr(1,m.length-1));var b=parseInt(m.substr(0,2),16),S=parseInt(m.substr(2,2),16),v=parseInt(m.substr(4,2),16);return isNaN(b)||isNaN(S)||isNaN(v)?null:new d(b,S,v)}static fromHexOrDefault(m,b=new d(0,0,0)){var S=this.fromHex(m);return null!==S?S:b}static fromVar(m){var b=this.cssVarRegex.exec(m);if(null!==b){var S=window.getComputedStyle(document.body).getPropertyValue(b[1]).replace(/ /g,"");return this.fromText(S)}return null}static fromText(m){var b=this.fromHex(m);return null!==b||null!==(b=this.fromRGBText(m))||(b=this.fromVar(m)),b}static fromTextOrDefault(m,b=new d(0,0,0)){var S=this.fromText(m);return null!==S?S:b}static fromVarOrDefault(m,b=new d(0,0,0)){var S=this.fromVar(m);return null!==S?S:b}static useDarkColor(m){return.299*m.r+.587*m.g+.114*m.b>186}static getConstrastColor(m){return this.useDarkColor(m)?this.fromVarOrDefault("var(--dark)",this.Types.cyan):this.fromVarOrDefault("var(--light)",this.Types.cyan)}static getContrastColorFromText(m){var b=this.cssVarRegex.exec(m);if(null!==b){var S=this.fromVar(`var(${b[1]}-contrast)`);if(null!==S)return S}return this.getConstrastColor(this.fromTextOrDefault(m))}}d.cssRGBRegex=new RegExp(/rgb\( *(\d+), *(\d+), *(\d+) *\)/),d.cssVarRegex=new RegExp(/var\( *(--[\w-]*) *\)/),d.Types=((f=class{}).black=d.fromHexOrDefault("#000000"),f.silver=d.fromHexOrDefault("#c0c0c0"),f.gray=d.fromHexOrDefault("#808080"),f.white=d.fromHexOrDefault("#ffffff"),f.maroon=d.fromHexOrDefault("#800000"),f.red=d.fromHexOrDefault("#ff0000"),f.purple=d.fromHexOrDefault("#800080"),f.fuchsia=d.fromHexOrDefault("#ff00ff"),f.green=d.fromHexOrDefault("#008000"),f.lime=d.fromHexOrDefault("#00ff00"),f.olive=d.fromHexOrDefault("#808000"),f.yellow=d.fromHexOrDefault("#ffff00"),f.navy=d.fromHexOrDefault("#000080"),f.blue=d.fromHexOrDefault("#0000ff"),f.teal=d.fromHexOrDefault("#008080"),f.aqua=d.fromHexOrDefault("#00ffff"),f.orange=d.fromHexOrDefault("#ffa500"),f.aliceblue=d.fromHexOrDefault("#f0f8ff"),f.antiquewhite=d.fromHexOrDefault("#faebd7"),f.aquamarine=d.fromHexOrDefault("#7fffd4"),f.azure=d.fromHexOrDefault("#f0ffff"),f.beige=d.fromHexOrDefault("#f5f5dc"),f.bisque=d.fromHexOrDefault("#ffe4c4"),f.blanchedalmond=d.fromHexOrDefault("#ffebcd"),f.blueviolet=d.fromHexOrDefault("#8a2be2"),f.brown=d.fromHexOrDefault("#a52a2a"),f.burlywood=d.fromHexOrDefault("#deb887"),f.cadetblue=d.fromHexOrDefault("#5f9ea0"),f.chartreuse=d.fromHexOrDefault("#7fff00"),f.chocolate=d.fromHexOrDefault("#d2691e"),f.coral=d.fromHexOrDefault("#ff7f50"),f.cornflowerblue=d.fromHexOrDefault("#6495ed"),f.cornsilk=d.fromHexOrDefault("#fff8dc"),f.crimson=d.fromHexOrDefault("#dc143c"),f.cyan=d.fromHexOrDefault("#00ffff"),f.darkblue=d.fromHexOrDefault("#00008b"),f.darkcyan=d.fromHexOrDefault("#008b8b"),f.darkgoldenrod=d.fromHexOrDefault("#b8860b"),f.darkgray=d.fromHexOrDefault("#a9a9a9"),f.darkgreen=d.fromHexOrDefault("#006400"),f.darkgrey=d.fromHexOrDefault("#a9a9a9"),f.darkkhaki=d.fromHexOrDefault("#bdb76b"),f.darkmagenta=d.fromHexOrDefault("#8b008b"),f.darkolivegreen=d.fromHexOrDefault("#556b2f"),f.darkorange=d.fromHexOrDefault("#ff8c00"),f.darkorchid=d.fromHexOrDefault("#9932cc"),f.darkred=d.fromHexOrDefault("#8b0000"),f.darksalmon=d.fromHexOrDefault("#e9967a"),f.darkseagreen=d.fromHexOrDefault("#8fbc8f"),f.darkslateblue=d.fromHexOrDefault("#483d8b"),f.darkslategray=d.fromHexOrDefault("#2f4f4f"),f.darkslategrey=d.fromHexOrDefault("#2f4f4f"),f.darkturquoise=d.fromHexOrDefault("#00ced1"),f.darkviolet=d.fromHexOrDefault("#9400d3"),f.deeppink=d.fromHexOrDefault("#ff1493"),f.deepskyblue=d.fromHexOrDefault("#00bfff"),f.dimgray=d.fromHexOrDefault("#696969"),f.dimgrey=d.fromHexOrDefault("#696969"),f.dodgerblue=d.fromHexOrDefault("#1e90ff"),f.firebrick=d.fromHexOrDefault("#b22222"),f.floralwhite=d.fromHexOrDefault("#fffaf0"),f.forestgreen=d.fromHexOrDefault("#228b22"),f.gainsboro=d.fromHexOrDefault("#dcdcdc"),f.ghostwhite=d.fromHexOrDefault("#f8f8ff"),f.gold=d.fromHexOrDefault("#ffd700"),f.goldenrod=d.fromHexOrDefault("#daa520"),f.greenyellow=d.fromHexOrDefault("#adff2f"),f.grey=d.fromHexOrDefault("#808080"),f.honeydew=d.fromHexOrDefault("#f0fff0"),f.hotpink=d.fromHexOrDefault("#ff69b4"),f.indianred=d.fromHexOrDefault("#cd5c5c"),f.indigo=d.fromHexOrDefault("#4b0082"),f.ivory=d.fromHexOrDefault("#fffff0"),f.khaki=d.fromHexOrDefault("#f0e68c"),f.lavender=d.fromHexOrDefault("#e6e6fa"),f.lavenderblush=d.fromHexOrDefault("#fff0f5"),f.lawngreen=d.fromHexOrDefault("#7cfc00"),f.lemonchiffon=d.fromHexOrDefault("#fffacd"),f.lightblue=d.fromHexOrDefault("#add8e6"),f.lightcoral=d.fromHexOrDefault("#f08080"),f.lightcyan=d.fromHexOrDefault("#e0ffff"),f.lightgoldenrodyellow=d.fromHexOrDefault("#fafad2"),f.lightgray=d.fromHexOrDefault("#d3d3d3"),f.lightgreen=d.fromHexOrDefault("#90ee90"),f.lightgrey=d.fromHexOrDefault("#d3d3d3"),f.lightpink=d.fromHexOrDefault("#ffb6c1"),f.lightsalmon=d.fromHexOrDefault("#ffa07a"),f.lightseagreen=d.fromHexOrDefault("#20b2aa"),f.lightskyblue=d.fromHexOrDefault("#87cefa"),f.lightslategray=d.fromHexOrDefault("#778899"),f.lightslategrey=d.fromHexOrDefault("#778899"),f.lightsteelblue=d.fromHexOrDefault("#b0c4de"),f.lightyellow=d.fromHexOrDefault("#ffffe0"),f.limegreen=d.fromHexOrDefault("#32cd32"),f.linen=d.fromHexOrDefault("#faf0e6"),f.magenta=d.fromHexOrDefault("#ff00ff"),f.mediumaquamarine=d.fromHexOrDefault("#66cdaa"),f.mediumblue=d.fromHexOrDefault("#0000cd"),f.mediumorchid=d.fromHexOrDefault("#ba55d3"),f.mediumpurple=d.fromHexOrDefault("#9370db"),f.mediumseagreen=d.fromHexOrDefault("#3cb371"),f.mediumslateblue=d.fromHexOrDefault("#7b68ee"),f.mediumspringgreen=d.fromHexOrDefault("#00fa9a"),f.mediumturquoise=d.fromHexOrDefault("#48d1cc"),f.mediumvioletred=d.fromHexOrDefault("#c71585"),f.midnightblue=d.fromHexOrDefault("#191970"),f.mintcream=d.fromHexOrDefault("#f5fffa"),f.mistyrose=d.fromHexOrDefault("#ffe4e1"),f.moccasin=d.fromHexOrDefault("#ffe4b5"),f.navajowhite=d.fromHexOrDefault("#ffdead"),f.oldlace=d.fromHexOrDefault("#fdf5e6"),f.olivedrab=d.fromHexOrDefault("#6b8e23"),f.orangered=d.fromHexOrDefault("#ff4500"),f.orchid=d.fromHexOrDefault("#da70d6"),f.palegoldenrod=d.fromHexOrDefault("#eee8aa"),f.palegreen=d.fromHexOrDefault("#98fb98"),f.paleturquoise=d.fromHexOrDefault("#afeeee"),f.palevioletred=d.fromHexOrDefault("#db7093"),f.papayawhip=d.fromHexOrDefault("#ffefd5"),f.peachpuff=d.fromHexOrDefault("#ffdab9"),f.peru=d.fromHexOrDefault("#cd853f"),f.pink=d.fromHexOrDefault("#ffc0cb"),f.plum=d.fromHexOrDefault("#dda0dd"),f.powderblue=d.fromHexOrDefault("#b0e0e6"),f.rosybrown=d.fromHexOrDefault("#bc8f8f"),f.royalblue=d.fromHexOrDefault("#4169e1"),f.saddlebrown=d.fromHexOrDefault("#8b4513"),f.salmon=d.fromHexOrDefault("#fa8072"),f.sandybrown=d.fromHexOrDefault("#f4a460"),f.seagreen=d.fromHexOrDefault("#2e8b57"),f.seashell=d.fromHexOrDefault("#fff5ee"),f.sienna=d.fromHexOrDefault("#a0522d"),f.skyblue=d.fromHexOrDefault("#87ceeb"),f.slateblue=d.fromHexOrDefault("#6a5acd"),f.slategray=d.fromHexOrDefault("#708090"),f.slategrey=d.fromHexOrDefault("#708090"),f.snow=d.fromHexOrDefault("#fffafa"),f.springgreen=d.fromHexOrDefault("#00ff7f"),f.steelblue=d.fromHexOrDefault("#4682b4"),f.tan=d.fromHexOrDefault("#d2b48c"),f.thistle=d.fromHexOrDefault("#d8bfd8"),f.tomato=d.fromHexOrDefault("#ff6347"),f.turquoise=d.fromHexOrDefault("#40e0d0"),f.violet=d.fromHexOrDefault("#ee82ee"),f.wheat=d.fromHexOrDefault("#f5deb3"),f.whitesmoke=d.fromHexOrDefault("#f5f5f5"),f.yellowgreen=d.fromHexOrDefault("#9acd32"),f.rebeccapurple=d.fromHexOrDefault("#663399"),f),s(3288);var L=s(4583),A=s(8198);let g=(()=>{class B{}return B.\u0275fac=function(b){return new(b||B)},B.\u0275mod=r.oAB({type:B}),B.\u0275inj=r.cJS({imports:[o.ez]}),B})()},3288:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>r});var o=s(592);class r{static defined(_){return null!=_.value?null:{notDefined:!0}}static rutgersEmail(_){return(0,o.r8)(_.value)?null:{rutgersEmail:!0}}static netId(_){return(0,o._p)(_.value)?null:{netId:!0}}}},8198:(Ue,J,s)=>{"use strict";s.d(J,{ej:()=>f,tA:()=>_});var o=s(8023),r=s(8655),h=s(4537);r.Xd.initFunction="init";let _=(()=>{class m{constructor(){this.onDestroy$=new o.x}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275dir=h.lG2({type:m}),m})(),f=(()=>{class m{constructor(){this.onInit$=new o.x}ngOnInit(){this.onInit$.next(),this.onInit$.complete()}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275dir=h.lG2({type:m}),m})()},4583:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>o});class o{constructor(){this.processes=[]}get isProcessing(){return this.processes.length>0}addProcess(h=""){this.processes.push(h)}removeProcess(h=""){if(h){const _=this.processes.indexOf(h);_>-1&&(this.processes=this.processes.splice(_,1))}else this.processes.pop()}clearProcesses(){this.processes.length=0}}},6779:(Ue,J,s)=>{"use strict";s.d(J,{S:()=>h});var o=s(4537),r=s(3178);let h=(()=>{class _{constructor(d,w){this.router=d,this.width=-1,this.color="primary",this.link="",this.target="_blank",this.click=new o.vpe,this.route=!1,this.route=null!=w}ngOnInit(){}isValidUrl(d){try{return Boolean(new URL(d))}catch{return!1}}onClick(){!this.isValidUrl(this.link)&&this.route?this.router.navigateByUrl(this.link):window.open(this.link,this.target),this.click.emit()}}return _.\u0275fac=function(d){return new(d||_)(o.Y36(r.F0),o.$8M("route"))},_.\u0275dir=o.lG2({type:_,inputs:{width:"width",color:"color",link:"link",target:"target"},outputs:{click:"click"}}),_})()},7763:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>m});var o=s(8692),r=s(6438),h=s(108),_=s(9638),f=s(7914),d=s(8399),w=s(9518),L=s(6004),A=s(7950),B=(s(2933),s(4537));let m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=B.oAB({type:b}),b.\u0275inj=B.cJS({imports:[o.ez,r.t,h.vV,_.ot,r.t,f.To,d.QX,w.I,L.m,A.c,A.c,_.ot]}),b})()},2933:(Ue,J,s)=>{"use strict";s.d(J,{l:()=>_});var o=s(4537),r=s(5998);let _=(()=>{class f{constructor(w){this._sanitizer=w}transform(w,L){switch(L){case"html":default:return this._sanitizer.bypassSecurityTrustHtml(w);case"style":return this._sanitizer.bypassSecurityTrustStyle(w);case"script":return this._sanitizer.bypassSecurityTrustScript(w);case"url":return this._sanitizer.bypassSecurityTrustUrl(w);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(w)}}}return f.\u0275fac=function(w){return new(w||f)(o.Y36(r.H7,16))},f.\u0275pipe=o.Yjl({name:"safe",type:f,pure:!0}),f})()},5491:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>_});var o=s(8692),r=s(1769),h=s(4537);let _=(()=>{class f{}return f.\u0275fac=function(w){return new(w||f)},f.\u0275mod=h.oAB({type:f}),f.\u0275inj=h.cJS({imports:[o.ez,r.Mc]}),f})()},3223:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>d});var o=s(4537),r=s(1656),h=s(8692);function _(w,L){if(1&w&&o._UZ(0,"img",3),2&w){const A=o.oxw();o.Q6J("src",A.getAvatarSrc(),o.LSH)("ngClass",A.getAvatarClass())}}function f(w,L){if(1&w){const A=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",function(){o.CHM(A);const B=o.oxw();return o.KtG(B.onClick())}),o.qZA()}if(2&w){const A=o.oxw();o.Q6J("ngStyle",A.getButtonStyle())("ngClass",A.getAvatarClass())}}let d=(()=>{class w{constructor(A,g,B,m,b,S){this.elementRef=A,this.settings=g,this.click=new o.vpe,this.color="blank",this.size="large",this.avatarSrc="",this.borderWidth=B??"4px",this.elementRef.nativeElement.style.setProperty("--border-width",this.borderWidth),this.clickable=null!=m,this.clickableStyle=null!=b,this.square=null!=S}ngOnInit(){}getContainerClass(){return{[this.color]:!0,[this.size]:!0,square:this.square,clickable:this.clickable||this.clickableStyle}}getAvatarClass(){return{square:this.square,clickable:this.clickable||this.clickableStyle}}getAvatarSrc(){return this.avatarSrc?this.avatarSrc:this.settings.General.defaultAvatarSrc}getButtonStyle(){return{background:`url(${this.getAvatarSrc()})`,"background-size":"cover"}}onClick(){this.click.emit()}}return w.\u0275fac=function(A){return new(A||w)(o.Y36(o.SBq),o.Y36(r.g),o.$8M("border-width"),o.$8M("clickable"),o.$8M("clickable-style"),o.$8M("square"))},w.\u0275cmp=o.Xpm({type:w,selectors:[["app-avatar"]],inputs:{color:"color",size:"size",avatarSrc:"avatarSrc"},outputs:{click:"click"},decls:3,vars:3,consts:[[1,"app-avatar","avatar-container",3,"ngClass"],["class","app-avatar avatar",3,"src","ngClass",4,"ngIf"],["class","app-avatar avatar",3,"ngStyle","ngClass","click",4,"ngIf"],[1,"app-avatar","avatar",3,"src","ngClass"],[1,"app-avatar","avatar",3,"ngStyle","ngClass","click"]],template:function(A,g){1&A&&(o.TgZ(0,"div",0),o.YNc(1,_,1,2,"img",1),o.YNc(2,f,1,2,"button",2),o.qZA()),2&A&&(o.Q6J("ngClass",g.getContainerClass()),o.xp6(1),o.Q6J("ngIf",!g.clickable||g.clickableStyle),o.xp6(1),o.Q6J("ngIf",g.clickable))},dependencies:[h.mk,h.O5,h.PC],styles:["[_nghost-%COMP%]{--border-width: 4px}.avatar-container[_ngcontent-%COMP%]{width:calc(var(--length) + var(--border-width));height:calc(var(--length) + var(--border-width));position:relative;box-sizing:content-box;display:flex;justify-content:center;align-items:center;border-radius:50%}.avatar-container.clickable[_ngcontent-%COMP%]{transition:transform .1s ease-out}.avatar-container.clickable[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.avatar.clickable[_ngcontent-%COMP%]{cursor:pointer}.avatar[_ngcontent-%COMP%]{position:absolute;border-radius:50%;border-style:solid;border-width:var(--border-width);width:calc(100% - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));object-fit:cover;border-color:transparent}.huge[_ngcontent-%COMP%]{--length: 10em}.large[_ngcontent-%COMP%]{--length: 8em}.medium[_ngcontent-%COMP%]{--length: 4em}.small[_ngcontent-%COMP%]{--length: 2.625em}.input[_ngcontent-%COMP%]{--length: 2em}.square[_ngcontent-%COMP%]{border-radius:20%}"]}),w})()},7187:(Ue,J,s)=>{"use strict";s.d(J,{Y:()=>A,w:()=>g});var o=s(8692),r=s(4929),h=s(8198),_=s(8023),f=s(8655),d=s(4537),w=s(8954),L=s(92);let A=(()=>{class B extends((0,f.AF)(h.tA)){constructor(b,S,v){super(),this.focusMonitor=b,this.elementRef=S,this.ngControl=v,this.onChange=H=>{},this.onTouched=()=>{},this._value=null,this._placeholder="",this._required=!1,this._disabled=!1,this.focused=!1,this.touched=!1,this.stateChanges=new _.x,this.errorState=!1,this.onDestroy$=new _.x,this.controlType="",this.id="",null!=this.ngControl&&(this.ngControl.valueAccessor=this),this.focusMonitor.monitor(S,!0).subscribe(H=>{this.focused&&!H&&this.onTouched(),this.focused=!!H,this.stateChanges.next()})}get value(){return this._value}set value(b){const S=this._value;this._value=b,this.areValuesEqual(b,S)||(this.onChange&&this.onChange(b),this.markAsTouched())}areValuesEqual(b,S){return b===S}get placeholder(){return this._placeholder}set placeholder(b){this._placeholder=b,this.stateChanges.next()}get required(){return this._required}set required(b){this._required=(0,r.Ig)(b),this.stateChanges.next()}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,r.Ig)(b),this._onDisabled(this._disabled),this.stateChanges.next()}_onDisabled(b){}get empty(){return!this.value}get shouldLabelFloat(){return this.focused||!this.empty}get autofilled(){return!1}ngOnDestroy(){super.ngOnDestroy(),this.focusMonitor.stopMonitoring(this.elementRef)}setDescribedByIds(b){this.elementRef.nativeElement.setAttribute("aria-describedby",b.join(" "))}onContainerClick(b){"input"!=b.target.tagName.toLowerCase()&&this.elementRef.nativeElement.querySelector("input").focus()}writeValue(b){this.value=b}registerOnChange(b){this.onChange=b}registerOnTouched(b){this.onTouched=b}markAsTouched(){this.onTouched&&this.onTouched()}}return B.\u0275fac=function(b){return new(b||B)(d.Y36(w.tE),d.Y36(d.SBq),d.Y36(L.a5))},B.\u0275dir=d.lG2({type:B,inputs:{userAriaDescribedBy:["attr.aria-describedby","userAriaDescribedBy"],placeholder:"placeholder",required:"required",disabled:"disabled"},features:[d.qOj]}),B})(),g=(()=>{class B{}return B.\u0275fac=function(b){return new(b||B)},B.\u0275mod=d.oAB({type:B}),B.\u0275inj=d.cJS({imports:[o.ez]}),B})()},7950:(Ue,J,s)=>{"use strict";s.d(J,{c:()=>h});var o=s(8692),r=s(4537);let h=(()=>{class _{}return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[o.ez]}),_})()},2709:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>r});var o=s(4537);let r=(()=>{class h{constructor(f,d,w,L,A,g,B,m){this.el=f,this.color="",this.textColor="",this.tallButton=null!=L,this.fab=null!=w,this.pill=null!=d,this.roundTopLeft=null!=A,this.roundTopRight=null!=g,this.roundBottomLeft=null!=B,this.roundBottomRight=null!=m}ngOnInit(){this.tallButton=this.el.nativeElement.hasAttribute("tall-button"),this.pill=this.el.nativeElement.hasAttribute("pill"),["","basic","primary","accent","warn"].includes(this.color)||(this.el.nativeElement.style.backgroundColor=this.color,this.textColor&&(this.el.nativeElement.style.color=this.textColor)),this.tallButton&&(this.el.nativeElement.style.height="3em"),this.pill&&(this.el.nativeElement.style.borderRadius="100em"),this.fab&&(this.el.nativeElement.style.padding="0px",this.el.nativeElement.style.minWidth=this.el.nativeElement.style.width,this.el.nativeElement.style.borderRadius="100%"),this.roundTopLeft&&(this.el.nativeElement.style.borderTopLeftRadius="2em"),this.roundTopRight&&(this.el.nativeElement.style.borderTopRightRadius="2em"),this.roundBottomLeft&&(this.el.nativeElement.style.borderBottomLeftRadius="2em"),this.roundBottomLeft&&(this.el.nativeElement.style.borderBottomLeftRadius="2em")}}return h.\u0275fac=function(f){return new(f||h)(o.Y36(o.SBq),o.$8M("pill"),o.$8M("fab"),o.$8M("tall-button"),o.$8M("round-tl"),o.$8M("round-tr"),o.$8M("round-bl"),o.$8M("round-br"))},h.\u0275dir=o.lG2({type:h,selectors:[["","mat-button",""],["","mat-raised-button",""],["","mat-stroked-button",""],["","mat-flat-button",""]],inputs:{color:"color",textColor:["text-color","textColor"]}}),h})()},6004:(Ue,J,s)=>{"use strict";s.d(J,{m:()=>h});var o=s(8692),r=s(4537);let h=(()=>{class _{}return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[o.ez]}),_})()},9518:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>A});var o=s(8692),r=s(7084),h=s(3331),_=s(8659),f=s(92),d=s(7406),w=s(7187),L=s(4537);let A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=L.oAB({type:g}),g.\u0275inj=L.cJS({imports:[o.ez,r.Hi,h.Ps,_.lN,f.UX,f.u5,d.c,w.w]}),g})()},5208:(Ue,J,s)=>{"use strict";s.d(J,{o:()=>m,S:()=>g});var o=s(8692),r=s(9676),h=s(7969),_=s(4536),f=s(4537),d=s(9638),w=s(2709);let L=(()=>{class b{constructor(v,H){this.data=v,this.dialogRef=H}ngOnInit(){}}return b.\u0275fac=function(v){return new(v||b)(f.Y36(_.WI),f.Y36(_.so))},b.\u0275cmp=f.Xpm({type:b,selectors:[["app-confirm-dialog"]],decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"]],template:function(v,H){1&v&&(f.TgZ(0,"h1",0),f._uU(1,"Confirm"),f.qZA(),f.TgZ(2,"div",1)(3,"p"),f._uU(4),f.qZA()(),f.TgZ(5,"div",2)(6,"button",3),f._uU(7,"No"),f.qZA(),f.TgZ(8,"button",3),f._uU(9,"Yes"),f.qZA()()),2&v&&(f.xp6(4),f.Oqu(H.data.message),f.xp6(2),f.Q6J("mat-dialog-close",void 0),f.xp6(2),f.Q6J("mat-dialog-close",!0))},dependencies:[_.ZT,_.uh,_.xY,_.H8,d.lW,w.v]}),b})();var A=s(7666);let g=(()=>{class b{constructor(v,H){this.snackBar=v,this.dialog=H,this.perCharacterDuration=500}notifyInfo(v){this.snackBar.open("\u2754 "+v,void 0,{duration:this.perCharacterDuration*v.length})}notifyConfirmed(v){this.snackBar.open("\u2705 "+v,void 0,{duration:this.perCharacterDuration*v.length})}error(v){let H="";H=v instanceof Error?v.message:v,this.snackBar.open("\u{1f6d1} "+H,void 0,{duration:this.perCharacterDuration*H.length})}confirmDialog(v){return this.dialog.open(L,{data:{message:v}}).afterClosed().pipe((0,r.P)(),(0,h.U)(x=>void 0!==x))}}return b.\u0275fac=function(v){return new(v||b)(f.LFG(A.ux),f.LFG(_.uw))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();var B=s(7763);let m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({providers:[g],imports:[o.ez,A.ZX,_.Is,d.ot,B.I]}),b})()},7545:(Ue,J,s)=>{"use strict";s.d(J,{v$:()=>d.v,IW:()=>w.I,Ub:()=>L.U,fu:()=>g.f,al:()=>b,Il:()=>S.I,fF:()=>H});var o=s(8692),r=s(4536),h=s(7666),_=s(274),d=(s(9942),s(831)),w=s(6527),L=s(6440),g=(s(5596),s(9883)),B=s(4537),m=s(3178);let b=(()=>{class x{constructor(Ee){this.router=Ee,this.position=0,this.maxPosition=0,this.minPosition=0,this.scrolledToTop=new B.vpe,this.scrolledToBottom=new B.vpe,this.marginOfError=5,window.addEventListener("scroll",T=>{this.updateScrollData()})}updateScrollData(Ee=!0){this.position=window.innerHeight+window.scrollY,this.maxPosition=document.body.scrollHeight,this.minPosition=window.innerHeight,Ee&&(this.maxPosition-this.position<=this.marginOfError&&this.scrolledToBottom.emit(),this.position-this.minPosition<=this.marginOfError&&this.scrolledToTop.emit())}isAtBottom(){return this.position-this.maxPosition}isAtTop(){return this.position==this.minPosition}}return x.\u0275fac=function(Ee){return new(Ee||x)(B.LFG(m.F0))},x.\u0275prov=B.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();var S=s(1241);s(3212);let H=(()=>{class x{}return x.\u0275fac=function(Ee){return new(Ee||x)},x.\u0275mod=B.oAB({type:x}),x.\u0275inj=B.cJS({imports:[o.ez,_.VG,h.ZX,r.Is]}),x})()},3212:(Ue,J,s)=>{"use strict";s.d(J,{n:()=>L});var o=s(8239),r=s(3528),h=s(4537),_=s(9942),f=s(1241),d=s(831),w=s(3178);let L=(()=>{class A{constructor(B,m,b,S){var v;this.authService=B,this.securityService=m,this.backendService=b,this.router=S,B.payload$.pipe((0,r.R)(B.onDestroy$)).subscribe({next:(v=(0,o.Z)(function*(H){b.rebuildClient(),H&&m.fetchData()}),function(x){return v.apply(this,arguments)})})}}return A.\u0275fac=function(B){return new(B||A)(h.LFG(_.e),h.LFG(f.I),h.LFG(d.v),h.LFG(w.F0))},A.\u0275prov=h.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})()},9942:(Ue,J,s)=>{"use strict";s.d(J,{e:()=>De});var o=s(8239),r=s(5732),h=s(1132),_=s(274),f=s(8023),d=s(4121),w=s(7445),L=s(818),A=s(3528),g=s(4537),B=s(3178),m=s(56),b=s(4854),S=s(4145);class Ee extends m.i{constructor(Y,V){super(),this.httpClient=Y,this.options=V,this.print=S.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=j=>new b.y(X=>{const Ie=j.getContext(),ke=(He,Qe)=>function x(...z){const Y=z.find(V=>typeof V<"u");return typeof Y>"u"?z[z.length-1]:Y}(Ie[He],this.options[He],Qe);let tt=ke("method","POST");const lt=ke("includeQuery",!0),$=ke("includeExtensions",!1),Re=ke("uri","graphql"),re=ke("withCredentials"),xe=ke("useMultipart"),Ke=!0===this.options.useGETForQueries,me=j.query.definitions.some(He=>"OperationDefinition"===He.kind&&"query"===He.operation);Ke&&me&&(tt="GET");const P={method:tt,url:"function"==typeof Re?Re(j):Re,body:{operationName:j.operationName,variables:j.variables},options:{withCredentials:re,useMultipart:xe,headers:this.options.headers}};$&&(P.body.extensions=j.extensions),lt&&(P.body.query=this.print(j.query));const se=function te(z){let Y=z.headers&&z.headers instanceof r.WM?z.headers:new r.WM(z.headers);if(z.clientAwareness){const{name:V,version:j}=z.clientAwareness;V&&!Y.has("apollographql-client-name")&&(Y=Y.set("apollographql-client-name",V)),j&&!Y.has("apollographql-client-version")&&(Y=Y.set("apollographql-client-version",j))}return Y}(Ie);P.options.headers=((z,Y)=>z&&Y?Y.keys().reduce((j,X)=>j.set(X,Y.getAll(X)),z):Y||z)(P.options.headers,se);const Ce=((z,Y,V)=>{const j=-1!==["POST","PUT","PATCH"].indexOf(z.method.toUpperCase()),Ie=z.body.length;let tt,ke=z.options&&z.options.useMultipart;if(ke){if(Ie)return new L.y($=>$.error(new Error("File upload is not available when combined with Batching")));if(!j)return new L.y($=>$.error(new Error("File upload is not available when GET is used")));if(!V)return new L.y($=>$.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));tt=V(z.body),ke=!!tt.files.size}let lt={};if(Ie){if(!j)return new L.y($=>$.error(new Error("Batching is not available for GET requests")));lt={body:z.body}}else{const $=ke?tt.clone:z.body;lt=j?{body:$}:{params:Object.keys(z.body).reduce((re,xe)=>{const Ke=z.body[xe];return re[xe]=($=>-1!==["variables","extensions"].indexOf($.toLowerCase()))(xe)?JSON.stringify(Ke):Ke,re},{})}}if(ke&&j){const $=new FormData;$.append("operations",JSON.stringify(lt.body));const Re={},re=tt.files;let xe=0;re.forEach(Ke=>{Re[++xe]=Ke}),$.append("map",JSON.stringify(Re)),xe=0,re.forEach((Ke,me)=>{$.append(++xe+"",me,me.name)}),lt.body=$}return Y.request(z.method,z.url,{observe:"response",responseType:"json",reportProgress:!1,...lt,...z.options})})(P,this.httpClient,this.options.extractFiles).subscribe({next:He=>{j.setContext({response:He}),X.next(He.body)},error:He=>X.error(He),complete:()=>X.complete()});return()=>{Ce.closed||Ce.unsubscribe()}})}request(Y){return this.requester(Y)}}let T=(()=>{class z{constructor(V){this.httpClient=V}create(V){return new Ee(this.httpClient,V)}}return z.\u0275fac=function(V){return new(V||z)(g.LFG(r.eN))},z.\u0275prov=g.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();var Se=s(1656);const ve="auth-payload",ye={headers:new r.WM({"Content-Type":"application/json"})};let De=(()=>{class z{constructor(V,j,X,Ie,ke){this.apollo=V,this.router=j,this.http=X,this.settings=ke,this.onDestroy$=new f.x,this.apollo.createNamed("auth",{link:Ie.create({uri:this.settings.Backend.graphQLHttpsURL}),cache:new h.h});const tt=localStorage.getItem(ve);let lt=tt?JSON.parse(tt):void 0;this.payloadSubject=new d.X(lt),this.payload$=this.payloadSubject.asObservable(),this.validateAuth()}get authenticated(){return null!==this.getPayload()}get authLink(){return this.settings.Backend.backendHttpsURL+"/auth/"}get oAuthLink(){return this.settings.Backend.backendHttpsURL+"/auth/thirdparty/"}validateAuth(){var V=this;return(0,o.Z)(function*(){V.authenticated&&((yield(0,w.z)(V.apollo.use("auth").query({query:_.Ps` - query { - securityContext - } - `,fetchPolicy:"no-cache",context:{headers:{Authorization:"Bearer "+V.getToken()}}}))).data.securityContext.userId||V.logout())})()}updateUser(){var V=this;return(0,o.Z)(function*(){const j=V.getPayload()?.user.id;if(!j)return;const X=yield(0,w.z)(V.apollo.use("auth").query({query:_.Ps` - query { - users { - id - email - username - displayName - bio - avatarLink - bannerLink - } - } - `,fetchPolicy:"no-cache",context:{headers:{Authorization:"Bearer "+V.getToken(),"Operation-Metadata":JSON.stringify({securityDomains:[{userId:j}]})}}}));X.error||V.setPayload({accessToken:V.getToken(),user:X.data.users[0]})})()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}logout(){this.setPayload(void 0),window.location.reload()}setPayload(V){localStorage.removeItem(ve),V&&localStorage.setItem(ve,JSON.stringify(V)),this.payloadSubject.next(V)}getPayload(){const V=localStorage.getItem(ve);return V?JSON.parse(V):null}getToken(){return this.getPayload()?.accessToken??""}socialLogin(V){let j=this.oAuthLink+V;const X=new L.y(Ie=>{window.open(j,"myWindow","location=1,status=1,scrollbars=1,width=800,height=900"),window.addEventListener("message",lt=>{if(lt.origin===this.settings.Backend.httpsPrefix+this.settings.Backend.backendDomain){if(null==lt.data)return console.log("on cancelled"),Ie.next(void 0),void Ie.complete();lt.data.accessToken&<.data.user&&(console.log("on succeeded"),Ie.next(lt.data),Ie.complete())}})});return X.pipe((0,A.R)(this.onDestroy$)).subscribe({next:Ie=>{this.setPayload(Ie)}}),X}login(V,j){const X=this.http.post(this.authLink+"signin",{username:V,password:j},ye);return X.pipe((0,A.R)(this.onDestroy$)).subscribe({next:Ie=>{this.setPayload(Ie)}}),X}signup(V,j,X){const Ie=this.http.post(this.authLink+"signup",{username:V,email:j,password:X},ye);return Ie.pipe((0,A.R)(this.onDestroy$)).subscribe({next:ke=>{this.setPayload(ke)}}),Ie}}return z.\u0275fac=function(V){return new(V||z)(g.LFG(_._M),g.LFG(B.F0),g.LFG(r.eN),g.LFG(T),g.LFG(Se.g))},z.\u0275prov=g.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},831:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>Ke});var o=s(8239),r=s(8862),h=s(1132),_=s(4762),f=s(4854),d=s(56);function w(me){return new d.i(function(P,se){return new f.y(function(Ce){var He,Qe,st;try{He=se(P).subscribe({next:function(Ge){Ge.errors&&(st=me({graphQLErrors:Ge.errors,response:Ge,operation:P,forward:se}))?Qe=st.subscribe({next:Ce.next.bind(Ce),error:Ce.error.bind(Ce),complete:Ce.complete.bind(Ce)}):Ce.next(Ge)},error:function(Ge){(st=me({operation:P,networkError:Ge,graphQLErrors:Ge&&Ge.result&&Ge.result.errors,forward:se}))?Qe=st.subscribe({next:Ce.next.bind(Ce),error:Ce.error.bind(Ce),complete:Ce.complete.bind(Ce)}):Ce.error(Ge)},complete:function(){st||Ce.complete.bind(Ce)()}})}catch(Ge){me({networkError:Ge,operation:P,forward:se}),Ce.error(Ge)}return function(){He&&He.unsubscribe(),Qe&&He.unsubscribe()}})})}!function(me){function P(se){var Ce=me.call(this)||this;return Ce.link=w(se),Ce}(0,_.ZT)(P,me),P.prototype.request=function(se,Ce){return this.link.request(se,Ce)}}(d.i);var A=s(4145),g=s(9231),B=s(709),b=function(me){function P(se){var Ce=me.call(this)||this;return Ce.client=se,Ce}return(0,_.ZT)(P,me),P.prototype.request=function(se){var Ce=this;return new f.y(function(He){return Ce.client.subscribe((0,_.pi)((0,_.pi)({},se),{query:(0,A.S)(se.query)}),{next:He.next.bind(He),complete:He.complete.bind(He),error:function(Qe){return Qe instanceof Error?He.error(Qe):function m(me){return(0,g.s)(me)&&"code"in me&&"reason"in me}(Qe)?He.error(new Error("Socket closed with event ".concat(Qe.code," ").concat(Qe.reason||""))):He.error(new B.c({graphQLErrors:Array.isArray(Qe)?Qe:[Qe]}))}})})},P}(d.i),S=s(1144),v=s(1141),H=s.n(v);function x(me){return null===me?"null":Array.isArray(me)?"array":typeof me}function te(me){return"object"===x(me)}function Z(me,P){return me.length<124?me:P}const Me="graphql-transport-ws";var ve=(()=>{return(me=ve||(ve={}))[me.InternalServerError=4500]="InternalServerError",me[me.InternalClientError=4005]="InternalClientError",me[me.BadRequest=4400]="BadRequest",me[me.BadResponse=4004]="BadResponse",me[me.Unauthorized=4401]="Unauthorized",me[me.Forbidden=4403]="Forbidden",me[me.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",me[me.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",me[me.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",me[me.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",me[me.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",ve;var me})(),ye=(()=>{return(me=ye||(ye={})).ConnectionInit="connection_init",me.ConnectionAck="connection_ack",me.Ping="ping",me.Pong="pong",me.Subscribe="subscribe",me.Next="next",me.Error="error",me.Complete="complete",ye;var me})();function De(me){if(!te(me))throw new Error(`Message is expected to be an object, but got ${x(me)}`);if(!me.type)throw new Error("Message is missing the 'type' property");if("string"!=typeof me.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${x(me.type)}`);switch(me.type){case ye.ConnectionInit:case ye.ConnectionAck:case ye.Ping:case ye.Pong:if("payload"in me&&!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object or missing, but got "${me.payload}"`);break;case ye.Subscribe:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object, but got ${x(me.payload)}`);if("string"!=typeof me.payload.query)throw new Error(`"${me.type}" message payload expects the 'query' property to be a string, but got ${x(me.payload.query)}`);if(null!=me.payload.variables&&!te(me.payload.variables))throw new Error(`"${me.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${x(me.payload.variables)}`);if(null!=me.payload.operationName&&"string"!==x(me.payload.operationName))throw new Error(`"${me.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${x(me.payload.operationName)}`);if(null!=me.payload.extensions&&!te(me.payload.extensions))throw new Error(`"${me.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${x(me.payload.extensions)}`);break;case ye.Next:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object, but got ${x(me.payload)}`);break;case ye.Error:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!function ue(me){return Array.isArray(me)&&me.length>0&&me.every(P=>"message"in P)}(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(me.payload)}`);break;case ye.Complete:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${me.type}"`)}return me}function Y(me,P){try{return De(me)}catch{if("string"!=typeof me)throw new Error("Only strings are parsable messages");return De(JSON.parse(me,P))}}function V(me,P){return De(me),JSON.stringify(me,P)}function X(me){return te(me)&&"code"in me&&"reason"in me}var tt=s(8023),lt=s(4537),$=s(274),Re=s(9942),re=s(5732),xe=s(1656);let Ke=(()=>{class me{constructor(se,Ce,He,Qe){this.apollo=se,this.authService=Ce,this.http=He,this.settings=Qe,this.onDestroy$=new tt.x,this.opSettings=this.defaultOpSettings(),this.rebuildClient()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}resetOpSettings(){this.opSettings=this.defaultOpSettings()}rebuildClient(){this.apollo.default().client&&(this.apollo.default().client.stop(),this.apollo.default().client.clearStore(),this.apollo.removeClient("default")),this.apollo.createDefault(this.configureApolloClientOptions(this.authService.getToken()))}defaultOpSettings(){return{useAuth:!1,operationDomains:void 0}}getHeaders(){return{Authorization:"Bearer "+this.authService.getToken(),...this.opSettings.operationDomains&&{"Operation-Metadata":JSON.stringify({securityDomains:this.opSettings.operationDomains})}}}configureApolloOperationOptions(se){return{...se,...this.opSettings.useAuth&&{context:{...se.context,headers:{...this.getHeaders(),...se.context?.headers}}}}}configureApolloClientOptions(se=""){const Ce=this.settings.Backend.backendDomainPlusBaseUrl+this.settings.Backend.graphQLRelativePath,He=this.settings.Backend.httpsPrefix,Qe=this.settings.Backend.wssPrefix,st=H()({uri:`${He}${Ce}`,headers:{"Apollo-Require-Preflight":"true"}});console.log(`graphql link: ${Qe}${Ce}`),this.graphQLWsClient&&this.graphQLWsClient.dispose(),this.graphQLWsClient=function j(me){const{url:P,connectionParams:se,lazy:Ce=!0,onNonLazyError:He=console.error,lazyCloseTimeout:Qe=0,keepAlive:st=0,disablePong:Ge,connectionAckWaitTimeout:at=0,retryAttempts:_t=5,retryWait:xt=function(){var le=(0,o.Z)(function*(ae){let he=1e3;for(let pe=0;pesetTimeout(pe,he+Math.floor(2700*Math.random()+300)))});return function _e(ae){return le.apply(this,arguments)}}(),shouldRetry:yt=X,isFatalConnectionProblem:Pt,on:At,webSocketImpl:nt,generateID:ft=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,_e=>{const ae=16*Math.random()|0;return("x"==_e?ae:3&ae|8).toString(16)})},jsonMessageReplacer:G,jsonMessageReviver:U}=me;let ie;if(nt){if(!function ke(me){return"function"==typeof me&&"constructor"in me&&"CLOSED"in me&&"CLOSING"in me&&"CONNECTING"in me&&"OPEN"in me}(nt))throw new Error("Invalid WebSocket implementation provided");ie=nt}else typeof WebSocket<"u"?ie=WebSocket:typeof global<"u"?ie=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(ie=window.WebSocket||window.MozWebSocket);if(!ie)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const oe=ie,Te=(()=>{const le=(()=>{const ae={};return{on:(he,pe)=>(ae[he]=pe,()=>{delete ae[he]}),emit(he){var pe;"id"in he&&(null===(pe=ae[he.id])||void 0===pe||pe.call(ae,he))}}})(),_e={connecting:At?.connecting?[At.connecting]:[],opened:At?.opened?[At.opened]:[],connected:At?.connected?[At.connected]:[],ping:At?.ping?[At.ping]:[],pong:At?.pong?[At.pong]:[],message:At?.message?[le.emit,At.message]:[le.emit],closed:At?.closed?[At.closed]:[],error:At?.error?[At.error]:[]};return{onMessage:le.on,on(ae,he){const pe=_e[ae];return pe.push(he),()=>{pe.splice(pe.indexOf(he),1)}},emit(ae,...he){for(const pe of[..._e[ae]])pe(...he)}}})();function Xe(le){const _e=[Te.on("error",ae=>{_e.forEach(he=>he()),le(ae)}),Te.on("closed",ae=>{_e.forEach(he=>he()),le(ae)})]}let Ze,we=0,Be=!1,We=0,Ye=!1;function et(){return de.apply(this,arguments)}function de(){return(de=(0,o.Z)(function*(){const[le,_e]=yield Ze??(Ze=new Promise((pe,be)=>(0,o.Z)(function*(){if(Be){if(yield xt(We),!we)return Ze=void 0,be({code:1e3,reason:"All Subscriptions Gone"});We++}Te.emit("connecting");const Oe=new oe("function"==typeof P?yield P():P,Me);let Ae,Je;function ct(){isFinite(st)&&st>0&&(clearTimeout(Je),Je=setTimeout(()=>{Oe.readyState===oe.OPEN&&(Oe.send(V({type:ye.Ping})),Te.emit("ping",!1,void 0))},st))}Xe(Mt=>{Ze=void 0,clearTimeout(Ae),clearTimeout(Je),be(Mt),X(Mt)&&4499===Mt.code&&(Oe.close(4499,"Terminated"),Oe.onerror=null,Oe.onclose=null)}),Oe.onerror=Mt=>Te.emit("error",Mt),Oe.onclose=Mt=>Te.emit("closed",Mt),Oe.onopen=(0,o.Z)(function*(){try{Te.emit("opened",Oe);const Mt="function"==typeof se?yield se():se;if(Oe.readyState!==oe.OPEN)return;Oe.send(V(Mt?{type:ye.ConnectionInit,payload:Mt}:{type:ye.ConnectionInit},G)),isFinite(at)&&at>0&&(Ae=setTimeout(()=>{Oe.close(ve.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},at)),ct()}catch(Mt){Te.emit("error",Mt),Oe.close(ve.InternalClientError,Z(Mt instanceof Error?Mt.message:new Error(Mt).message,"Internal client error"))}});let mt=!1;Oe.onmessage=({data:Mt})=>{try{const St=Y(Mt,U);if(Te.emit("message",St),"ping"===St.type||"pong"===St.type)return Te.emit(St.type,!0,St.payload),void("pong"===St.type?ct():Ge||(Oe.send(V(St.payload?{type:ye.Pong,payload:St.payload}:{type:ye.Pong})),Te.emit("pong",!1,St.payload)));if(mt)return;if(St.type!==ye.ConnectionAck)throw new Error(`First message cannot be of type ${St.type}`);clearTimeout(Ae),mt=!0,Te.emit("connected",Oe,St.payload),Be=!1,We=0,pe([Oe,new Promise((Zt,$t)=>Xe($t))])}catch(St){Oe.onmessage=null,Te.emit("error",St),Oe.close(ve.BadResponse,Z(St instanceof Error?St.message:new Error(St).message,"Bad response"))}}})()));le.readyState===oe.CLOSING&&(yield _e);let ae=()=>{};const he=new Promise(pe=>ae=pe);return[le,ae,Promise.race([he.then(()=>{if(!we){const pe=()=>le.close(1e3,"Normal Closure");isFinite(Qe)&&Qe>0?setTimeout(()=>{!we&&le.readyState===oe.OPEN&&pe()},Qe):pe()}}),_e])]})).apply(this,arguments)}function K(le){if(X(le)&&(function Ie(me){return![1e3,1001,1006,1005,1012,1013,1013].includes(me)&&me>=1e3&&me<=1999}(le.code)||[ve.InternalServerError,ve.InternalClientError,ve.BadRequest,ve.BadResponse,ve.Unauthorized,ve.SubprotocolNotAcceptable,ve.SubscriberAlreadyExists,ve.TooManyInitialisationRequests].includes(le.code)))throw le;if(Ye)return!1;if(X(le)&&1e3===le.code)return we>0;if(!_t||We>=_t||!yt(le)||Pt?.(le))throw le;return Be=!0}return Ce||(0,o.Z)(function*(){for(we++;;)try{const[,,le]=yield et();yield le}catch(le){try{if(!K(le))return}catch(_e){return He?.(_e)}}})(),{on:Te.on,subscribe(le,_e){const ae=ft();let he=!1,pe=!1,be=()=>{we--,he=!0};return(0,o.Z)(function*(){for(we++;;)try{const[Oe,Ae,Je]=yield et();if(he)return Ae();const ct=Te.onMessage(ae,mt=>{switch(mt.type){case ye.Next:return void _e.next(mt.payload);case ye.Error:return pe=!0,he=!0,_e.error(mt.payload),void be();case ye.Complete:return he=!0,void be()}});return Oe.send(V({id:ae,type:ye.Subscribe,payload:le},G)),be=()=>{!he&&Oe.readyState===oe.OPEN&&Oe.send(V({id:ae,type:ye.Complete},G)),we--,he=!0,Ae()},void(yield Je.finally(ct))}catch(Oe){if(!K(Oe))return}})().then(()=>{pe||_e.complete()}).catch(Oe=>{_e.error(Oe)}),()=>{he||be()}},dispose:()=>(0,o.Z)(function*(){if(Ye=!0,Ze){const[le]=yield Ze;le.close(1e3,"Normal Closure")}})(),terminate(){Ze&&Te.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:`${Qe}${Ce}`,connectionParams:{authentication:`Bearer ${se}`}});const Ge=new b(this.graphQLWsClient),at=(0,r.V)(({query:xt})=>{const yt=(0,S.p$)(xt);return"OperationDefinition"===yt.kind&&"subscription"===yt.operation},Ge,st);return{link:w(({networkError:xt})=>{xt&&((xt?.result?.errors[0]?.message??"").includes("Token unauthorized")&&this.authService.logout(),console.log("NetworkError: ",xt))}).concat(at),cache:new h.h}}configureHttpOptions(se){return se||(se={}),{...se,...this.opSettings.useAuth&&{headers:{...this.getHeaders(),...se.headers}}}}configureUrl(se){return se.startsWith("/")?this.settings.Backend.backendHttpsURL+se:se}cacheEvict(se){var Ce=this;return(0,o.Z)(function*(){Ce.apollo.client.cache.evict({broadcast:!0,...se})})()}clearCache(){var se=this;return(0,o.Z)(function*(){yield se.apollo.client.clearStore()})()}withOpDomain(se){return se&&(this.opSettings.operationDomains=[se]),this}withOpDomains(se){return this.opSettings.operationDomains=se,this}withAuth(){return this.authService.authenticated&&(this.opSettings.useAuth=!0),this}watchQuery(se){const Ce=this.apollo.default().watchQuery(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}query(se){let Ce=this.apollo.default().query(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}mutate(se){let Ce=this.apollo.default().mutate(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}subscribe(se,Ce){let He=this.apollo.default().subscribe(this.configureApolloOperationOptions(se),Ce);return this.resetOpSettings(),He}get(se,Ce,He){return this.http.get(this.configureUrl(se),this.configureHttpOptions(He))}head(se,Ce,He){return this.http.head(this.configureUrl(se),this.configureHttpOptions(He))}post(se,Ce,He){return this.http.post(this.configureUrl(se),Ce,this.configureHttpOptions(He))}put(se,Ce,He){return this.http.put(this.configureUrl(se),Ce,this.configureHttpOptions(He))}delete(se,Ce){return this.http.delete(this.configureUrl(se),this.configureHttpOptions(Ce))}patch(se,Ce,He){return this.http.patch(this.configureUrl(se),Ce,this.configureHttpOptions(He))}request(se,Ce,He){return this.http.request(se,Ce,this.configureHttpOptions(He))}}return me.\u0275fac=function(se){return new(se||me)(lt.LFG($._M),lt.LFG(Re.e),lt.LFG(re.eN),lt.LFG(xe.g))},me.\u0275prov=lt.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})()},6527:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>d});var o=s(1769),r=s(8023),h=s(3528),_=s(4537),f=s(1444);let d=(()=>{class w{constructor(A){this.breakpointObserver=A,this.breakpointsMatched=[],this.onDestroy$=new r.x;for(let g=0;g{this.breakpointsMatched[g]=B.matches});this.breakpointsMatched.push(!0)}get currentBreakpoint(){for(let A=0;AB.name===A);return this.breakpointsMatched[g]}matchedBreakpointRange(A,g){if(o.bt.findIndex(b=>b.name===A)>o.bt.findIndex(b=>b.name===g)){let b=A;A=g,g=b}return this.matchedBreakpointOrAbove(A)&&this.matchedBreakpointOrBelow(g)}matchedBreakpointOrAbove(A,g=""){const B=o.bt.findIndex(m=>m.name===A);return!(B>0&&this.breakpointsMatched[B-1])}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return w.\u0275fac=function(A){return new(A||w)(_.LFG(f.Yg))},w.\u0275prov=_.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},6440:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>h});var o=s(4537),r=s(1656);let h=(()=>{class _{constructor(d){this.settings=d}isSelfHostedFile(d){return d.startsWith(this.settings.Backend.selfHostedPrefix)&&d.length>this.settings.Backend.selfHostedPrefix.length}selfHostedToRelativeFilePath(d){if(!this.isSelfHostedFile(d))throw new Error("Cannot get self hosted filepath from filepath that isn't self hosted.");return d.substring(this.settings.Backend.selfHostedPrefix.length)}getFileLink(d){return d?this.isSelfHostedFile(d)?this.getSelfHostedFileLink(d):d:""}getSelfHostedFileLink(d){const w=this.selfHostedToRelativeFilePath(d);return this.settings.Backend.backendHttpsURL+this.settings.Backend.cdnRelativePath+"/"+w}}return _.\u0275fac=function(d){return new(d||_)(o.LFG(r.g))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},5596:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>d});var o=s(8692),r=s(8023),h=s(8655),_=s(8198),f=s(4537);let d=(()=>{class w extends((0,h.AF)(_.tA)){constructor(A){super(),this.document=A,this.onClick$=new r.x,this.clickEvent=g=>{this.onClick$.next(g)},this.document.addEventListener("click",this.clickEvent)}ngOnDestroy(){super.ngOnDestroy(),this.document.removeEventListener("click",this.clickEvent)}}return w.\u0275fac=function(A){return new(A||w)(f.LFG(o.K0))},w.\u0275prov=f.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},9883:(Ue,J,s)=>{"use strict";s.d(J,{f:()=>A});var o=s(8239),r=s(3556),h=s(3176),_=s(274),f=s(8023),d=s(7445),w=s(4537),L=s(7545);let A=(()=>{class g{constructor(m,b){this.securityService=m,this.backend=b,this.onDestroy$=new f.x}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}getAddableUserRoles(){var m=this;return(0,o.Z)(function*(){const b=yield m.getUserRoles();let S=(0,h.BS)(b).filter(v=>h.Kh[v].type.includes(h.GD.User));return b.includes(r.LO.SuperAdmin)&&S.push(r.LO.SuperAdmin),S})()}getDisabledUserRoles(){var m=this;return(0,o.Z)(function*(){const b=yield m.getUserRoles();let S=(0,h.o1)(b);return b.includes(r.LO.SuperAdmin)&&(S=S.filter(v=>v!=r.LO.SuperAdmin)),S.includes(r.LO.User)||S.push(r.LO.User),S})()}getUserRoles(){var m=this;return(0,o.Z)(function*(){if(!m.securityService.securityContext?.userId)return[];const b=yield(0,d.z)(m.backend.withAuth().query({query:_.Ps` - query GetUserRoles($filter: UserFilterInput!) { - users(filter: $filter) { - roles { - roleCode - } - } - } - `,variables:{filter:{id:{eq:m.securityService.securityContext.userId}}},fetchPolicy:"cache-first"}));return b.error||0===b.data.users.length?[]:b.data.users[0].roles.map(v=>v.roleCode)})()}getAddableProjectRoles(m){var b=this;return(0,o.Z)(function*(){const[S,v]=yield Promise.all([b.getUserRoles(),b.getProjectRoles(m)]),H=[...S,...v];return(0,h.BS)(H).filter(x=>h.Kh[x].type.includes(h.GD.ProjectMember))})()}getDisabledProjectRoles(m){var b=this;return(0,o.Z)(function*(){const[S,v]=yield Promise.all([b.getUserRoles(),b.getProjectRoles(m)]),H=[...S,...v],x=(0,h.o1)(H).filter(te=>h.Kh[te].type.includes(h.GD.ProjectMember));return x.includes(r.LO.ProjectMember)||x.push(r.LO.ProjectMember),x})()}getProjectRoles(m){var b=this;return(0,o.Z)(function*(){if(!b.securityService.securityContext?.userId)return[];const S=yield(0,d.z)(b.backend.withAuth().query({query:_.Ps` - query GetProjectRoles($filter: ProjectMemberFilterInput!) { - projectMembers(filter: $filter) { - roles { - roleCode - } - } - } - `,variables:{filter:{userId:{eq:b.securityService.securityContext.userId},projectId:{eq:m}}},fetchPolicy:"cache-first"}));return S.error||0==S.data.projectMembers.length?[]:S.data.projectMembers[0].roles.map(H=>H.roleCode)})()}getAddableEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const[b,S]=yield Promise.all([m.getUserRoles(),m.getEBoardTermRoles()]),v=[...b,...S];return(0,h.BS)(v).filter(H=>h.Kh[H].type.includes(h.GD.EBoard))})()}getDisabledEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const[b,S]=yield Promise.all([m.getUserRoles(),m.getEBoardTermRoles()]),v=[...b,...S],H=(0,h.o1)(v).filter(x=>h.Kh[x].type.includes(h.GD.EBoard));return H.includes(r.LO.Eboard)||H.push(r.LO.Eboard),H})()}getEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const b=yield(0,d.z)(m.backend.withAuth().query({query:_.Ps` - query GetUserEBoardTermRoles($filter: UserFilterInput!) { - users(filter: $filter) { - eBoard { - terms { - roles { - roleCode - } - } - } - } - } - `,variables:{filter:{id:{eq:m.securityService.securityContext?.userId}}},fetchPolicy:"cache-first"}));if(b.error||0===b.data.users.length||!b.data.users[0].eBoard)return[];let S=[];for(const v of b.data.users[0].eBoard.terms)S=S.concat(v.roles.map(H=>H.roleCode));return S})()}}return g.\u0275fac=function(m){return new(m||g)(w.LFG(L.Il),w.LFG(L.v$))},g.\u0275prov=w.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},1241:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>B});var o=s(8239),r=s(3176),h=s(274),_=s(8023),f=s(4121),d=s(9676),w=s(3528),L=s(7445),A=s(4537),g=s(831);let B=(()=>{class m{constructor(S){this.backend=S,this.onDestroy$=new _.x,this.dataFetchedSubject=new f.X(void 0),this.dataFetched$=this.dataFetchedSubject.asObservable(),this.fetchData()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}clearCache(){var S=this;return(0,o.Z)(function*(){yield S.fetchData(!0)})()}fetchData(S=!1){var v=this;return(0,o.Z)(function*(){v.fetchQuery=v.backend.withAuth().query({query:h.Ps` - query GetSecurityContextAndPolicy($clearCache: Boolean) { - securityContext(clearCache: $clearCache) - securityPolicy - } - `,variables:{clearCache:S},fetchPolicy:"no-cache"}).pipe((0,d.P)(),(0,w.R)(v.onDestroy$));const H=yield(0,L.z)(v.fetchQuery);H.error||(v.securityContext=H.data.securityContext,v.securityPolicy=H.data.securityPolicy,v.fetchQuery=void 0,v.dataFetchedSubject.next(H.data))})()}waitUntilReady(){var S=this;return(0,o.Z)(function*(){S.fetchQuery&&(yield(0,L.z)(S.fetchQuery))})()}makePermCalc(){return new r.WL(this.securityContext)}get permissions(){return this.securityContext?.permissions}hasCompletePermission(S){const v=this.securityContext?.permissions[S];return(0,r.JP)(v)?!0===v:!!(0,r.eb)(v)&&!0===v.baseDomain}getOpDomainsFromPermissionHelper(S){return(0,r.JP)(S)?!0===S?[]:S:(0,r.eb)(S)?this.getOpDomainsFromPermissionHelper(S.baseDomain):[]}getOpDomainsFromPermission(S){if(!this.hasCompletePermission(S))try{return this.getOpDomainsFromPermissionHelper(this.securityContext?.permissions[S])}catch(v){throw v instanceof Error&&(v.message+=` Permission: "${S}".`),v}}}return m.\u0275fac=function(S){return new(S||m)(A.LFG(g.v))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},3794:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>w});var o=s(3178),r=s(4970),h=s(7969),_=s(4882),f=s(4537),d=s(5998);let w=(()=>{class L{constructor(g,B,m,b){this.title=g,this.meta=B,this.router=m,this.activatedRoute=b}ngOnInit(){this.router.events.pipe((0,r.h)(g=>g instanceof o.m2),(0,h.U)(()=>this.activatedRoute),(0,h.U)(g=>{for(;g.firstChild;)g=g.firstChild;return g}),(0,r.h)(g=>"primary"===g.outlet),(0,_.z)(g=>g.data)).subscribe(g=>{this.update(g)})}updateTitle(g){this.title.setTitle(g)}updateDescription(g){this.meta.updateTag({name:"description",content:g})}updateTwitterCard(g){this.meta.updateTag({name:"twitter:card",content:g})}updateOgTitle(g){this.meta.updateTag({name:"og:url",content:g})}updateOgType(g){this.meta.updateTag({name:"og:type",content:g})}updateOgUrl(g){this.meta.updateTag({name:"og:url",content:g})}updateOgImage(g){this.meta.updateTag({name:"og:image",content:g})}updateOgDescription(g){this.meta.updateTag({name:"description",content:g})}updateAllDescription(g){this.updateDescription(g),this.updateOgDescription(g)}updateAllTitle(g){this.updateTitle(g),this.updateOgTitle(g)}update(g){g.titleAll?this.updateAllTitle(g.titleAll):(this.updateTitle(g.title??"RUCOGS"),this.updateOgTitle(g.ogTitle??"RUCOGS")),g.descriptionAll?this.updateAllDescription(g.descriptionAll):(this.updateDescription(g.description??"Creation of Game Society at Rutgers"),this.updateOgDescription(g.ogDescription??"Creation of Game Society at Rutgers")),this.updateOgUrl(g.ogUrl??window.location.href),g.ogImage?(g.ogImage.includes("://")||(g.ogImage=window.location.origin+"/"+g.ogImage),this.updateOgImage(g.ogImage)):this.updateOgImage(""),this.updateOgType(g.ogType??"website"),this.updateTwitterCard(g.twitterCard??"summary")}}return L.\u0275fac=function(g){return new(g||L)(f.LFG(d.Dx),f.LFG(d.h_),f.LFG(o.F0),f.LFG(o.gz))},L.\u0275prov=f.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})()},1769:(Ue,J,s)=>{"use strict";s.d(J,{Fd:()=>f,Fp:()=>_,bt:()=>d.b,TL:()=>L,$8:()=>A,by:()=>w,VB:()=>g,Mc:()=>B});var o=s(8692),r=s(3451),h=s(4537);const _="assets/blog-page-articles/",f=[new r.dg("2022/alexander-farewell","Alexander Xie - Presidental Farewell","It's been a pleasure being the president of COGS.","May 9, 2022","assets/images/banner.png",["Alexander Xie"],["Club","Article"]),new r.dg("2022/sgj-fall-2022","Scarlet Game Jam Fall 2022","Recounting how scarlet game jam went.","Nov 20, 2022","assets/blog-page-articles/2022/assets/sgj-fall.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2022/sgj-spring-2022","Scarlet Game Jam Spring 2022","Recounting how scarlet game jam went.","April 20, 2022","assets/blog-page-articles/2022/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2023/sgj-fall-2023","Scarlet Game Jam Fall 2023","Recounting how scarlet game jam went.","December 28, 2023","assets/blog-page-articles/2023/assets/sgj-fall.png",["Alan Tong"],["SGJ","event","fall"]),new r.dg("2023/sgj-spring-2023","Scarlet Game Jam Spring 2023","Recounting how scarlet game jam went.","April 22, 2023","assets/blog-page-articles/2023/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2024/sgj-spring-2024","Scarlet Game Jam Spring 2024","Recounting how scarlet game jam went.","April 17, 2024","assets/blog-page-articles/2024/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"])];var d=s(8505);const w="assets/pictures-page-images/",L="assets/pictures-page-images/previews/",A=[new r.AE("2021/2_fall/1_first-meeting-1.png","",[]),new r.AE("2021/2_fall/1_first-meeting-11.png","",[]),new r.AE("2021/2_fall/1_first-meeting-12.png","",[]),new r.AE("2021/2_fall/1_first-meeting-13.png","",[]),new r.AE("2021/2_fall/1_first-meeting-16.png","",[]),new r.AE("2021/2_fall/1_first-meeting-2.png","",[]),new r.AE("2021/2_fall/1_first-meeting-5.png","",[]),new r.AE("2021/2_fall/1_first-meeting-panorama-2.png","",[]),new r.AE("2021/2_fall/1_first-meeting-panorama.png","",[]),new r.AE("2021/2_fall/2_sgj-10.png","",[]),new r.AE("2021/2_fall/2_sgj-17.png","",[]),new r.AE("2021/2_fall/2_sgj-18.png","",[]),new r.AE("2021/2_fall/2_sgj-19.png","",[]),new r.AE("2021/2_fall/2_sgj-20.png","",[]),new r.AE("2021/2_fall/2_sgj-2021-the-perished.png","",[]),new r.AE("2021/2_fall/2_sgj-21.png","",[]),new r.AE("2021/2_fall/2_sgj-22.png","",[]),new r.AE("2021/2_fall/2_sgj-23.png","",[]),new r.AE("2021/2_fall/2_sgj-24.png","",[]),new r.AE("2021/2_fall/2_sgj-25.png","",[]),new r.AE("2021/2_fall/2_sgj-26.png","",[]),new r.AE("2021/2_fall/2_sgj-27.png","",[]),new r.AE("2021/2_fall/2_sgj-28.png","",[]),new r.AE("2021/2_fall/2_sgj-29.png","",[]),new r.AE("2021/2_fall/2_sgj-3.png","",[]),new r.AE("2021/2_fall/2_sgj-30.png","",[]),new r.AE("2021/2_fall/2_sgj-31.png","",[]),new r.AE("2021/2_fall/2_sgj-32.png","",[]),new r.AE("2021/2_fall/2_sgj-33.png","",[]),new r.AE("2021/2_fall/2_sgj-34.png","",[]),new r.AE("2021/2_fall/2_sgj-35.png","",[]),new r.AE("2021/2_fall/2_sgj-36.png","",[]),new r.AE("2021/2_fall/2_sgj-37.png","",[]),new r.AE("2021/2_fall/2_sgj-38.png","",[]),new r.AE("2021/2_fall/2_sgj-39.png","",[]),new r.AE("2021/2_fall/2_sgj-4.png","",[]),new r.AE("2021/2_fall/2_sgj-40.png","",[]),new r.AE("2021/2_fall/2_sgj-41.png","",[]),new r.AE("2021/2_fall/2_sgj-42.png","",[]),new r.AE("2021/2_fall/2_sgj-43.png","",[]),new r.AE("2021/2_fall/2_sgj-44.png","",[]),new r.AE("2021/2_fall/2_sgj-45.png","",[]),new r.AE("2021/2_fall/2_sgj-46.png","",[]),new r.AE("2021/2_fall/2_sgj-47.png","",[]),new r.AE("2021/2_fall/2_sgj-48.png","",[]),new r.AE("2021/2_fall/2_sgj-49.png","",[]),new r.AE("2021/2_fall/2_sgj-50.png","",[]),new r.AE("2021/2_fall/2_sgj-51.png","",[]),new r.AE("2021/2_fall/2_sgj-52.png","",[]),new r.AE("2021/2_fall/2_sgj-6.png","",[]),new r.AE("2021/2_fall/2_sgj-7.png","",[]),new r.AE("2021/2_fall/2_sgj-8.png","",[]),new r.AE("2021/2_fall/2_sgj-9.png","",[]),new r.AE("2022/1_spring/1_sgj-1.png","",[]),new r.AE("2022/1_spring/1_sgj-10.png","",[]),new r.AE("2022/1_spring/1_sgj-11.png","",[]),new r.AE("2022/1_spring/1_sgj-12.png","",[]),new r.AE("2022/1_spring/1_sgj-13.png","",[]),new r.AE("2022/1_spring/1_sgj-14.png","",[]),new r.AE("2022/1_spring/1_sgj-2.png","",[]),new r.AE("2022/1_spring/1_sgj-3.png","",[]),new r.AE("2022/1_spring/1_sgj-4.png","",[]),new r.AE("2022/1_spring/1_sgj-5.png","",[]),new r.AE("2022/1_spring/1_sgj-6.png","",[]),new r.AE("2022/1_spring/1_sgj-7.png","",[]),new r.AE("2022/1_spring/1_sgj-8.png","",[]),new r.AE("2022/1_spring/1_sgj-9.png","",[]),new r.AE("2022/1_spring/1_sgj-finale.png","",[]),new r.AE("2022/1_spring/1_sgj-group-photo.png","",[]),new r.AE("2022/2_fall/1_first-meeting-1.png","",[]),new r.AE("2022/2_fall/1_first-meeting-2.png","",[]),new r.AE("2022/2_fall/1_first-meeting-panorama.png","",[]),new r.AE("2022/2_fall/2_sgj-1.png","",[]),new r.AE("2022/2_fall/2_sgj-2.png","",[]),new r.AE("2022/2_fall/2_sgj-3.png","",[]),new r.AE("2022/2_fall/2_sgj-4.png","",[]),new r.AE("2022/2_fall/2_sgj-5.png","",[]),new r.AE("2022/2_fall/2_sgj-6.png","",[]),new r.AE("2022/2_fall/2_sgj-7.png","",[]),new r.AE("2022/2_fall/2_sgj-8.png","",[]),new r.AE("2022/2_fall/2_sgj-9.png","",[]),new r.AE("2022/2_fall/2_sgj-delivery.png","",[]),new r.AE("2022/2_fall/2_sgj-group-photo.png","",[]),new r.AE("2023/1_spring/1_waffle-games-2.png","",[]),new r.AE("2023/1_spring/1_waffle-games-3.png","",[]),new r.AE("2023/1_spring/1_waffle-games-4.png","",[]),new r.AE("2023/1_spring/1_waffle-games-5.png","",[]),new r.AE("2023/1_spring/1_waffle-games-6.png","",[]),new r.AE("2023/1_spring/1_waffle-games-7.png","",[]),new r.AE("2023/1_spring/1_waffle-games-8.png","",[]),new r.AE("2023/1_spring/2_sgj-1.png","",[]),new r.AE("2023/1_spring/2_sgj-10.png","",[]),new r.AE("2023/1_spring/2_sgj-11.png","",[]),new r.AE("2023/1_spring/2_sgj-12.png","",[]),new r.AE("2023/1_spring/2_sgj-13.png","",[]),new r.AE("2023/1_spring/2_sgj-14.png","",[]),new r.AE("2023/1_spring/2_sgj-15.png","",[]),new r.AE("2023/1_spring/2_sgj-16.png","",[]),new r.AE("2023/1_spring/2_sgj-17.png","",[]),new r.AE("2023/1_spring/2_sgj-18.png","",[]),new r.AE("2023/1_spring/2_sgj-19.png","",[]),new r.AE("2023/1_spring/2_sgj-2.png","",[]),new r.AE("2023/1_spring/2_sgj-20.png","",[]),new r.AE("2023/1_spring/2_sgj-21.png","",[]),new r.AE("2023/1_spring/2_sgj-22.png","",[]),new r.AE("2023/1_spring/2_sgj-23.png","",[]),new r.AE("2023/1_spring/2_sgj-24.png","",[]),new r.AE("2023/1_spring/2_sgj-25.png","",[]),new r.AE("2023/1_spring/2_sgj-26.png","",[]),new r.AE("2023/1_spring/2_sgj-27.png","",[]),new r.AE("2023/1_spring/2_sgj-28.png","",[]),new r.AE("2023/1_spring/2_sgj-29.png","",[]),new r.AE("2023/1_spring/2_sgj-3.png","",[]),new r.AE("2023/1_spring/2_sgj-30.png","",[]),new r.AE("2023/1_spring/2_sgj-31.png","",[]),new r.AE("2023/1_spring/2_sgj-32.png","",[]),new r.AE("2023/1_spring/2_sgj-33.png","",[]),new r.AE("2023/1_spring/2_sgj-34.png","",[]),new r.AE("2023/1_spring/2_sgj-35.png","",[]),new r.AE("2023/1_spring/2_sgj-36.png","",[]),new r.AE("2023/1_spring/2_sgj-37.png","",[]),new r.AE("2023/1_spring/2_sgj-38.png","",[]),new r.AE("2023/1_spring/2_sgj-39.png","",[]),new r.AE("2023/1_spring/2_sgj-4.png","",[]),new r.AE("2023/1_spring/2_sgj-40.png","",[]),new r.AE("2023/1_spring/2_sgj-41.png","",[]),new r.AE("2023/1_spring/2_sgj-42.png","",[]),new r.AE("2023/1_spring/2_sgj-43.png","",[]),new r.AE("2023/1_spring/2_sgj-44.png","",[]),new r.AE("2023/1_spring/2_sgj-45.png","",[]),new r.AE("2023/1_spring/2_sgj-46.png","",[]),new r.AE("2023/1_spring/2_sgj-47.png","",[]),new r.AE("2023/1_spring/2_sgj-5.png","",[]),new r.AE("2023/1_spring/2_sgj-6.png","",[]),new r.AE("2023/1_spring/2_sgj-7.png","",[]),new r.AE("2023/1_spring/2_sgj-8.png","",[]),new r.AE("2023/1_spring/2_sgj-9.png","",[]),new r.AE("2023/1_spring/2_sgj-panorama.png","",[]),new r.AE("2023/1_spring/2_sgj-whisk.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-1.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-2.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-3.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-4.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-5.png","",[]),new r.AE("2023/2_fall/1_sgj-1.png","",[]),new r.AE("2023/2_fall/1_sgj-2.png","",[]),new r.AE("2023/2_fall/1_sgj-3.png","",[]),new r.AE("2023/2_fall/1_sgj-4.png","",[]),new r.AE("2023/2_fall/1_sgj-5.png","",[]),new r.AE("2023/2_fall/1_sgj-6.png","",[]),new r.AE("2023/2_fall/1_sgj-7.png","",[]),new r.AE("2023/2_fall/1_sgj-everyone.png","",[]),new r.AE("2023/2_fall/3_final-2.png","",[]),new r.AE("2023/2_fall/3_final-3.png","",[]),new r.AE("2023/2_fall/3_final-4.png","",[]),new r.AE("2023/2_fall/3_final-5.png","",[]),new r.AE("2023/2_fall/3_final-6.png","",[]),new r.AE("2023/2_fall/3_final-7.png","",[]),new r.AE("2023/2_fall/3_final-8.png","",[]),new r.AE("2023/2_fall/3_final-9.png","",[]),new r.AE("2024/1_spring/sgj-spring-photo.png","",[])],g={youtube:{name:"Youtube",icon:"youtube"},twitter:{name:"Twitter",icon:"twitter"},itchio:{name:"Itch.io",icon:"itchdotio"},pixiv:{name:"Pixiv",icon:"pixiv"},instagram:{name:"Instagram",icon:"instagram"},website:{name:"Website",icon:"link"},github:{name:"Github",icon:"github"},steam:{name:"Steam",icon:"steam"},googlePlay:{name:"Google Play",icon:"googlePlay"},appleStore:{name:"Apple Store",icon:"appStore"},soundCloud:{name:"Sound Cloud",icon:"soundCloud"},spotify:{name:"Spotify",icon:"spotify"},twitch:{name:"Twitch",icon:"twitch"},linkedIn:{name:"LinkedIn",icon:"linkedIn"}};let B=(()=>{class m{}return m.\u0275fac=function(S){return new(S||m)},m.\u0275mod=h.oAB({type:m}),m.\u0275inj=h.cJS({imports:[o.ez,r.z9]}),m})()},8505:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>o,b:()=>r});const o={Mobile:"MOBILE",MediumMobile:"MEDIUM_MOBILE",TinyMobile:"TINY_MOBILE",SmallDesktop:"SMALL_DESKTOP",Desktop:"DESKTOP"},r=[{name:o.TinyMobile,maxWidth:"400px"},{name:o.MediumMobile,maxWidth:"700px"},{name:o.Mobile,maxWidth:"1250px"},{name:o.SmallDesktop,maxWidth:"1420px"},{name:o.Desktop,maxWidth:""}]},3556:(Ue,J,s)=>{"use strict";s.d(J,{LO:()=>_,Nv:()=>o,PA:()=>r,f0:()=>f,y3:()=>h});const o={Closed:"CLOSED",Invite:"INVITE",Open:"OPEN"},r={Incoming:"INCOMING",Outgoing:"OUTGOING"},h={CreateProject:"CREATE_PROJECT",CreateProjectMember:"CREATE_PROJECT_MEMBER",CreateUser:"CREATE_USER",DebugDiscordBot:"DEBUG_DISCORD_BOT",DeleteProject:"DELETE_PROJECT",DeleteUser:"DELETE_USER",JoinProject:"JOIN_PROJECT",ManageEboard:"MANAGE_EBOARD",ManageEboardRoles:"MANAGE_EBOARD_ROLES",ManageMetadata:"MANAGE_METADATA",ManageProjectDiscord:"MANAGE_PROJECT_DISCORD",ManageProjectInvites:"MANAGE_PROJECT_INVITES",ManageProjectMember:"MANAGE_PROJECT_MEMBER",ManageProjectMemberRoles:"MANAGE_PROJECT_MEMBER_ROLES",ManageUserRoles:"MANAGE_USER_ROLES",ReadUserPrivate:"READ_USER_PRIVATE",RutgersVerified:"RUTGERS_VERIFIED",TransferProjectOwnership:"TRANSFER_PROJECT_OWNERSHIP",UpdateProject:"UPDATE_PROJECT",UpdateUser:"UPDATE_USER",UpdateUserPrivate:"UPDATE_USER_PRIVATE"},_={Artist:"ARTIST",BotDeveloper:"BOT_DEVELOPER",ClubGraphicArtist:"CLUB_GRAPHIC_ARTIST",CommunicationsSpecialist:"COMMUNICATIONS_SPECIALIST",CommunityManager:"COMMUNITY_MANAGER",Eboard:"EBOARD",EventCoordinator:"EVENT_COORDINATOR",GameDesigner:"GAME_DESIGNER",MerchandiseManager:"MERCHANDISE_MANAGER",Moderator:"MODERATOR",Musician:"MUSICIAN",Outreach:"OUTREACH",President:"PRESIDENT",Programmer:"PROGRAMMER",ProjectMember:"PROJECT_MEMBER",ProjectOfficer:"PROJECT_OFFICER",ProjectOwner:"PROJECT_OWNER",PromotionsManager:"PROMOTIONS_MANAGER",SoundDesigner:"SOUND_DESIGNER",SuperAdmin:"SUPER_ADMIN",Treasurer:"TREASURER",User:"USER",VicePresident:"VICE_PRESIDENT",Webmaster:"WEBMASTER",Writer:"WRITER"},f={Delete:"DELETE",Insert:"INSERT"}},9630:(Ue,J,s)=>{"use strict";var o=s(5998),r=s(4537),_=s(1444),f=s(4091);function w(N){return new r.vHH(3e3,!1)}function se(){return typeof window<"u"&&typeof window.document<"u"}function Ce(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function He(N){switch(N.length){case 0:return new f.ZN;case 1:return N[0];default:return new f.ZE(N)}}function Qe(N,u,c,E,ce=new Map,Ne=new Map){const ot=[],dt=[];let vt=-1,Ot=null;if(E.forEach(Bt=>{const Gt=Bt.get("offset"),bn=Gt==vt,mn=bn&&Ot||new Map;Bt.forEach((fn,pn)=>{let Tn=pn,Rn=fn;if("offset"!==pn)switch(Tn=u.normalizePropertyName(Tn,ot),Rn){case f.k1:Rn=ce.get(pn);break;case f.l3:Rn=Ne.get(pn);break;default:Rn=u.normalizeStyleValue(pn,Tn,Rn,ot)}mn.set(Tn,Rn)}),bn||dt.push(mn),Ot=mn,vt=Gt}),ot.length)throw function j(N){return new r.vHH(3502,!1)}();return dt}function st(N,u,c,E){switch(u){case"start":N.onStart(()=>E(c&&Ge(c,"start",N)));break;case"done":N.onDone(()=>E(c&&Ge(c,"done",N)));break;case"destroy":N.onDestroy(()=>E(c&&Ge(c,"destroy",N)))}}function Ge(N,u,c){const Ne=at(N.element,N.triggerName,N.fromState,N.toState,u||N.phaseName,c.totalTime??N.totalTime,!!c.disabled),ot=N._data;return null!=ot&&(Ne._data=ot),Ne}function at(N,u,c,E,ce="",Ne=0,ot){return{element:N,triggerName:u,fromState:c,toState:E,phaseName:ce,totalTime:Ne,disabled:!!ot}}function _t(N,u,c){let E=N.get(u);return E||N.set(u,E=c),E}function xt(N){const u=N.indexOf(":");return[N.substring(1,u),N.slice(u+1)]}let yt=(N,u)=>!1,Pt=(N,u,c)=>[],At=null;function nt(N){const u=N.parentNode||N.host;return u===At?null:u}(Ce()||typeof Element<"u")&&(se()?(At=(()=>document.documentElement)(),yt=(N,u)=>{for(;u;){if(u===N)return!0;u=nt(u)}return!1}):yt=(N,u)=>N.contains(u),Pt=(N,u,c)=>{if(c)return Array.from(N.querySelectorAll(u));const E=N.querySelector(u);return E?[E]:[]});let U=null,ie=!1;const Ze=yt,we=Pt;let We=(()=>{class N{validateStyleProperty(c){return function oe(N){U||(U=function Xe(){return typeof document<"u"?document.body:null}()||{},ie=!!U.style&&"WebkitAppearance"in U.style);let u=!0;return U.style&&!function G(N){return"ebkit"==N.substring(1,6)}(N)&&(u=N in U.style,!u&&ie&&(u="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in U.style)),u}(c)}matchesElement(c,E){return!1}containsElement(c,E){return Ze(c,E)}getParentElement(c){return nt(c)}query(c,E,ce){return we(c,E,ce)}computeStyle(c,E,ce){return ce||""}animate(c,E,ce,Ne,ot,dt=[],vt){return new f.ZN(ce,Ne)}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})(),Ye=(()=>{class N{}return N.NOOP=new We,N})();const le="ng-enter",_e="ng-leave",ae="ng-trigger",he=".ng-trigger",pe="ng-animating",be=".ng-animating";function Oe(N){if("number"==typeof N)return N;const u=N.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Ae(parseFloat(u[1]),u[2])}function Ae(N,u){return"s"===u?1e3*N:N}function Je(N,u,c){return N.hasOwnProperty("duration")?N:function ct(N,u,c){let ce,Ne=0,ot="";if("string"==typeof N){const dt=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===dt)return u.push(w()),{duration:0,delay:0,easing:""};ce=Ae(parseFloat(dt[1]),dt[2]);const vt=dt[3];null!=vt&&(Ne=Ae(parseFloat(vt),dt[4]));const Ot=dt[5];Ot&&(ot=Ot)}else ce=N;if(!c){let dt=!1,vt=u.length;ce<0&&(u.push(function L(){return new r.vHH(3100,!1)}()),dt=!0),Ne<0&&(u.push(function A(){return new r.vHH(3101,!1)}()),dt=!0),dt&&u.splice(vt,0,w())}return{duration:ce,delay:Ne,easing:ot}}(N,u,c)}function mt(N,u={}){return Object.keys(N).forEach(c=>{u[c]=N[c]}),u}function Mt(N){const u=new Map;return Object.keys(N).forEach(c=>{u.set(c,N[c])}),u}function $t(N,u=new Map,c){if(c)for(let[E,ce]of c)u.set(E,ce);for(let[E,ce]of N)u.set(E,ce);return u}function nn(N,u,c){return c?u+":"+c+";":""}function ln(N){let u="";for(let c=0;c{const Ne=Fe(ce);c&&!c.has(ce)&&c.set(ce,N.style[Ne]),N.style[Ne]=E}),Ce()&&ln(N))}function en(N,u){N.style&&(u.forEach((c,E)=>{const ce=Fe(E);N.style[ce]=""}),Ce()&&ln(N))}function Rt(N){return Array.isArray(N)?1==N.length?N[0]:(0,f.vP)(N):N}const ut=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pe(N){let u=[];if("string"==typeof N){let c;for(;c=ut.exec(N);)u.push(c[1]);ut.lastIndex=0}return u}function I(N,u,c){const E=N.toString(),ce=E.replace(ut,(Ne,ot)=>{let dt=u[ot];return null==dt&&(c.push(function B(N){return new r.vHH(3003,!1)}()),dt=""),dt.toString()});return ce==E?N:ce}function O(N){const u=[];let c=N.next();for(;!c.done;)u.push(c.value),c=N.next();return u}const Q=/-+([a-z0-9])/g;function Fe(N){return N.replace(Q,(...u)=>u[1].toUpperCase())}function rt(N){return N.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Lt(N,u,c){switch(u.type){case 7:return N.visitTrigger(u,c);case 0:return N.visitState(u,c);case 1:return N.visitTransition(u,c);case 2:return N.visitSequence(u,c);case 3:return N.visitGroup(u,c);case 4:return N.visitAnimate(u,c);case 5:return N.visitKeyframes(u,c);case 6:return N.visitStyle(u,c);case 8:return N.visitReference(u,c);case 9:return N.visitAnimateChild(u,c);case 10:return N.visitAnimateRef(u,c);case 11:return N.visitQuery(u,c);case 12:return N.visitStagger(u,c);default:throw function m(N){return new r.vHH(3004,!1)}()}}function Kt(N,u){return window.getComputedStyle(N)[u]}function Jn(N,u){const c=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(E=>function Bn(N,u,c){if(":"==N[0]){const vt=function zn(N,u){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,E)=>parseFloat(E)>parseFloat(c);case":decrement":return(c,E)=>parseFloat(E) *"}}(N,c);if("function"==typeof vt)return void u.push(vt);N=vt}const E=N.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return c.push(function ye(N){return new r.vHH(3015,!1)}()),u;const ce=E[1],Ne=E[2],ot=E[3];u.push(xn(ce,ot));"<"==Ne[0]&&!("*"==ce&&"*"==ot)&&u.push(xn(ot,ce))}(E,c,u)):c.push(N),c}const Vn=new Set(["true","1"]),qn=new Set(["false","0"]);function xn(N,u){const c=Vn.has(N)||qn.has(N),E=Vn.has(u)||qn.has(u);return(ce,Ne)=>{let ot="*"==N||N==ce,dt="*"==u||u==Ne;return!ot&&c&&"boolean"==typeof ce&&(ot=ce?Vn.has(N):qn.has(N)),!dt&&E&&"boolean"==typeof Ne&&(dt=Ne?Vn.has(u):qn.has(u)),ot&&dt}}const Yn=new RegExp("s*:selfs*,?","g");function ni(N,u,c,E){return new ei(N).build(u,c,E)}class ei{constructor(u){this._driver=u}build(u,c,E){const ce=new Fi(c);return this._resetContextStyleTimingState(ce),Lt(this,Rt(u),ce)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,c){let E=c.queryCount=0,ce=c.depCount=0;const Ne=[],ot=[];return"@"==u.name.charAt(0)&&c.errors.push(function S(){return new r.vHH(3006,!1)}()),u.definitions.forEach(dt=>{if(this._resetContextStyleTimingState(c),0==dt.type){const vt=dt,Ot=vt.name;Ot.toString().split(/\s*,\s*/).forEach(Bt=>{vt.name=Bt,Ne.push(this.visitState(vt,c))}),vt.name=Ot}else if(1==dt.type){const vt=this.visitTransition(dt,c);E+=vt.queryCount,ce+=vt.depCount,ot.push(vt)}else c.errors.push(function v(){return new r.vHH(3007,!1)}())}),{type:7,name:u.name,states:Ne,transitions:ot,queryCount:E,depCount:ce,options:null}}visitState(u,c){const E=this.visitStyle(u.styles,c),ce=u.options&&u.options.params||null;if(E.containsDynamicStyles){const Ne=new Set,ot=ce||{};E.styles.forEach(dt=>{dt instanceof Map&&dt.forEach(vt=>{Pe(vt).forEach(Ot=>{ot.hasOwnProperty(Ot)||Ne.add(Ot)})})}),Ne.size&&(O(Ne.values()),c.errors.push(function H(N,u){return new r.vHH(3008,!1)}()))}return{type:0,name:u.name,style:E,options:ce?{params:ce}:null}}visitTransition(u,c){c.queryCount=0,c.depCount=0;const E=Lt(this,Rt(u.animation),c);return{type:1,matchers:Jn(u.expr,c.errors),animation:E,queryCount:c.queryCount,depCount:c.depCount,options:Oi(u.options)}}visitSequence(u,c){return{type:2,steps:u.steps.map(E=>Lt(this,E,c)),options:Oi(u.options)}}visitGroup(u,c){const E=c.currentTime;let ce=0;const Ne=u.steps.map(ot=>{c.currentTime=E;const dt=Lt(this,ot,c);return ce=Math.max(ce,c.currentTime),dt});return c.currentTime=ce,{type:3,steps:Ne,options:Oi(u.options)}}visitAnimate(u,c){const E=function pr(N,u){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return qi(Je(N,u).duration,0,"");const c=N;if(c.split(/\s+/).some(Ne=>"{"==Ne.charAt(0)&&"{"==Ne.charAt(1))){const Ne=qi(0,0,"");return Ne.dynamic=!0,Ne.strValue=c,Ne}const ce=Je(c,u);return qi(ce.duration,ce.delay,ce.easing)}(u.timings,c.errors);c.currentAnimateTimings=E;let ce,Ne=u.styles?u.styles:(0,f.oB)({});if(5==Ne.type)ce=this.visitKeyframes(Ne,c);else{let ot=u.styles,dt=!1;if(!ot){dt=!0;const Ot={};E.easing&&(Ot.easing=E.easing),ot=(0,f.oB)(Ot)}c.currentTime+=E.duration+E.delay;const vt=this.visitStyle(ot,c);vt.isEmptyStep=dt,ce=vt}return c.currentAnimateTimings=null,{type:4,timings:E,style:ce,options:null}}visitStyle(u,c){const E=this._makeStyleAst(u,c);return this._validateStyleAst(E,c),E}_makeStyleAst(u,c){const E=[],ce=Array.isArray(u.styles)?u.styles:[u.styles];for(let dt of ce)"string"==typeof dt?dt===f.l3?E.push(dt):c.errors.push(new r.vHH(3002,!1)):E.push(Mt(dt));let Ne=!1,ot=null;return E.forEach(dt=>{if(dt instanceof Map&&(dt.has("easing")&&(ot=dt.get("easing"),dt.delete("easing")),!Ne))for(let vt of dt.values())if(vt.toString().indexOf("{{")>=0){Ne=!0;break}}),{type:6,styles:E,easing:ot,offset:u.offset,containsDynamicStyles:Ne,options:null}}_validateStyleAst(u,c){const E=c.currentAnimateTimings;let ce=c.currentTime,Ne=c.currentTime;E&&Ne>0&&(Ne-=E.duration+E.delay),u.styles.forEach(ot=>{"string"!=typeof ot&&ot.forEach((dt,vt)=>{const Ot=c.collectedStyles.get(c.currentQuerySelector),Bt=Ot.get(vt);let Gt=!0;Bt&&(Ne!=ce&&Ne>=Bt.startTime&&ce<=Bt.endTime&&(c.errors.push(function Ee(N,u,c,E,ce){return new r.vHH(3010,!1)}()),Gt=!1),Ne=Bt.startTime),Gt&&Ot.set(vt,{startTime:Ne,endTime:ce}),c.options&&function Ht(N,u,c){const E=u.params||{},ce=Pe(N);ce.length&&ce.forEach(Ne=>{E.hasOwnProperty(Ne)||c.push(function g(N){return new r.vHH(3001,!1)}())})}(dt,c.options,c.errors)})})}visitKeyframes(u,c){const E={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function T(){return new r.vHH(3011,!1)}()),E;let Ne=0;const ot=[];let dt=!1,vt=!1,Ot=0;const Bt=u.steps.map(Rn=>{const fi=this._makeStyleAst(Rn,c);let Si=null!=fi.offset?fi.offset:function oi(N){if("string"==typeof N)return null;let u=null;if(Array.isArray(N))N.forEach(c=>{if(c instanceof Map&&c.has("offset")){const E=c;u=parseFloat(E.get("offset")),E.delete("offset")}});else if(N instanceof Map&&N.has("offset")){const c=N;u=parseFloat(c.get("offset")),c.delete("offset")}return u}(fi.styles),yi=0;return null!=Si&&(Ne++,yi=fi.offset=Si),vt=vt||yi<0||yi>1,dt=dt||yi0&&Ne{const Si=bn>0?fi==mn?1:bn*fi:ot[fi],yi=Si*Tn;c.currentTime=fn+pn.delay+yi,pn.duration=yi,this._validateStyleAst(Rn,c),Rn.offset=Si,E.styles.push(Rn)}),E}visitReference(u,c){return{type:8,animation:Lt(this,Rt(u.animation),c),options:Oi(u.options)}}visitAnimateChild(u,c){return c.depCount++,{type:9,options:Oi(u.options)}}visitAnimateRef(u,c){return{type:10,animation:this.visitReference(u.animation,c),options:Oi(u.options)}}visitQuery(u,c){const E=c.currentQuerySelector,ce=u.options||{};c.queryCount++,c.currentQuery=u;const[Ne,ot]=function Xi(N){const u=!!N.split(/\s*,\s*/).find(c=>":self"==c);return u&&(N=N.replace(Yn,"")),N=N.replace(/@\*/g,he).replace(/@\w+/g,c=>he+"-"+c.slice(1)).replace(/:animating/g,be),[N,u]}(u.selector);c.currentQuerySelector=E.length?E+" "+Ne:Ne,_t(c.collectedStyles,c.currentQuerySelector,new Map);const dt=Lt(this,Rt(u.animation),c);return c.currentQuery=null,c.currentQuerySelector=E,{type:11,selector:Ne,limit:ce.limit||0,optional:!!ce.optional,includeSelf:ot,animation:dt,originalSelector:u.selector,options:Oi(u.options)}}visitStagger(u,c){c.currentQuery||c.errors.push(function Se(){return new r.vHH(3013,!1)}());const E="full"===u.timings?{duration:0,delay:0,easing:"full"}:Je(u.timings,c.errors,!0);return{type:12,animation:Lt(this,Rt(u.animation),c),timings:E,options:null}}}class Fi{constructor(u){this.errors=u,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,this.nonAnimatableCSSPropertiesFound=new Set}}function Oi(N){return N?(N=mt(N)).params&&(N.params=function Ai(N){return N?mt(N):null}(N.params)):N={},N}function qi(N,u,c){return{duration:N,delay:u,easing:c}}function er(N,u,c,E,ce,Ne,ot=null,dt=!1){return{type:1,element:N,keyframes:u,preStyleProps:c,postStyleProps:E,duration:ce,delay:Ne,totalTime:ce+Ne,easing:ot,subTimeline:dt}}class Li{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,c){let E=this._map.get(u);E||this._map.set(u,E=[]),E.push(...c)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Ro=new RegExp(":enter","g"),ko=new RegExp(":leave","g");function nr(N,u,c,E,ce,Ne=new Map,ot=new Map,dt,vt,Ot=[]){return(new uo).buildKeyframes(N,u,c,E,ce,Ne,ot,dt,vt,Ot)}class uo{buildKeyframes(u,c,E,ce,Ne,ot,dt,vt,Ot,Bt=[]){Ot=Ot||new Li;const Gt=new mr(u,c,Ot,ce,Ne,Bt,[]);Gt.options=vt;const bn=vt.delay?Oe(vt.delay):0;Gt.currentTimeline.delayNextStep(bn),Gt.currentTimeline.setStyles([ot],null,Gt.errors,vt),Lt(this,E,Gt);const mn=Gt.timelines.filter(fn=>fn.containsAnimation());if(mn.length&&dt.size){let fn;for(let pn=mn.length-1;pn>=0;pn--){const Tn=mn[pn];if(Tn.element===c){fn=Tn;break}}fn&&!fn.allowOnlyTimelineStyles()&&fn.setStyles([dt],null,Gt.errors,vt)}return mn.length?mn.map(fn=>fn.buildKeyframes()):[er(c,[],[],[],0,bn,"",!1)]}visitTrigger(u,c){}visitState(u,c){}visitTransition(u,c){}visitAnimateChild(u,c){const E=c.subInstructions.get(c.element);if(E){const ce=c.createSubContext(u.options),Ne=c.currentTimeline.currentTime,ot=this._visitSubInstructions(E,ce,ce.options);Ne!=ot&&c.transformIntoNewTimeline(ot)}c.previousNode=u}visitAnimateRef(u,c){const E=c.createSubContext(u.options);E.transformIntoNewTimeline(),this.visitReference(u.animation,E),c.transformIntoNewTimeline(E.currentTimeline.currentTime),c.previousNode=u}_visitSubInstructions(u,c,E){let Ne=c.currentTimeline.currentTime;const ot=null!=E.duration?Oe(E.duration):null,dt=null!=E.delay?Oe(E.delay):null;return 0!==ot&&u.forEach(vt=>{const Ot=c.appendInstructionToTimeline(vt,ot,dt);Ne=Math.max(Ne,Ot.duration+Ot.delay)}),Ne}visitReference(u,c){c.updateOptions(u.options,!0),Lt(this,u.animation,c),c.previousNode=u}visitSequence(u,c){const E=c.subContextCount;let ce=c;const Ne=u.options;if(Ne&&(Ne.params||Ne.delay)&&(ce=c.createSubContext(Ne),ce.transformIntoNewTimeline(),null!=Ne.delay)){6==ce.previousNode.type&&(ce.currentTimeline.snapshotCurrentStyles(),ce.previousNode=gr);const ot=Oe(Ne.delay);ce.delayNextStep(ot)}u.steps.length&&(u.steps.forEach(ot=>Lt(this,ot,ce)),ce.currentTimeline.applyStylesToKeyframe(),ce.subContextCount>E&&ce.transformIntoNewTimeline()),c.previousNode=u}visitGroup(u,c){const E=[];let ce=c.currentTimeline.currentTime;const Ne=u.options&&u.options.delay?Oe(u.options.delay):0;u.steps.forEach(ot=>{const dt=c.createSubContext(u.options);Ne&&dt.delayNextStep(Ne),Lt(this,ot,dt),ce=Math.max(ce,dt.currentTimeline.currentTime),E.push(dt.currentTimeline)}),E.forEach(ot=>c.currentTimeline.mergeTimelineCollectedStyles(ot)),c.transformIntoNewTimeline(ce),c.previousNode=u}_visitTiming(u,c){if(u.dynamic){const E=u.strValue;return Je(c.params?I(E,c.params,c.errors):E,c.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,c){const E=c.currentAnimateTimings=this._visitTiming(u.timings,c),ce=c.currentTimeline;E.delay&&(c.incrementTime(E.delay),ce.snapshotCurrentStyles());const Ne=u.style;5==Ne.type?this.visitKeyframes(Ne,c):(c.incrementTime(E.duration),this.visitStyle(Ne,c),ce.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=u}visitStyle(u,c){const E=c.currentTimeline,ce=c.currentAnimateTimings;!ce&&E.hasCurrentStyleProperties()&&E.forwardFrame();const Ne=ce&&ce.easing||u.easing;u.isEmptyStep?E.applyEmptyStep(Ne):E.setStyles(u.styles,Ne,c.errors,c.options),c.previousNode=u}visitKeyframes(u,c){const E=c.currentAnimateTimings,ce=c.currentTimeline.duration,Ne=E.duration,dt=c.createSubContext().currentTimeline;dt.easing=E.easing,u.styles.forEach(vt=>{dt.forwardTime((vt.offset||0)*Ne),dt.setStyles(vt.styles,vt.easing,c.errors,c.options),dt.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(dt),c.transformIntoNewTimeline(ce+Ne),c.previousNode=u}visitQuery(u,c){const E=c.currentTimeline.currentTime,ce=u.options||{},Ne=ce.delay?Oe(ce.delay):0;Ne&&(6===c.previousNode.type||0==E&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=gr);let ot=E;const dt=c.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!ce.optional,c.errors);c.currentQueryTotal=dt.length;let vt=null;dt.forEach((Ot,Bt)=>{c.currentQueryIndex=Bt;const Gt=c.createSubContext(u.options,Ot);Ne&&Gt.delayNextStep(Ne),Ot===c.element&&(vt=Gt.currentTimeline),Lt(this,u.animation,Gt),Gt.currentTimeline.applyStylesToKeyframe(),ot=Math.max(ot,Gt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ot),vt&&(c.currentTimeline.mergeTimelineCollectedStyles(vt),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=u}visitStagger(u,c){const E=c.parentContext,ce=c.currentTimeline,Ne=u.timings,ot=Math.abs(Ne.duration),dt=ot*(c.currentQueryTotal-1);let vt=ot*c.currentQueryIndex;switch(Ne.duration<0?"reverse":Ne.easing){case"reverse":vt=dt-vt;break;case"full":vt=E.currentStaggerTime}const Bt=c.currentTimeline;vt&&Bt.delayNextStep(vt);const Gt=Bt.currentTime;Lt(this,u.animation,c),c.previousNode=u,E.currentStaggerTime=ce.currentTime-Gt+(ce.startTime-E.currentTimeline.startTime)}}const gr={};class mr{constructor(u,c,E,ce,Ne,ot,dt,vt){this._driver=u,this.element=c,this.subInstructions=E,this._enterClassName=ce,this._leaveClassName=Ne,this.errors=ot,this.timelines=dt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=vt||new _r(this._driver,c,0),dt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,c){if(!u)return;const E=u;let ce=this.options;null!=E.duration&&(ce.duration=Oe(E.duration)),null!=E.delay&&(ce.delay=Oe(E.delay));const Ne=E.params;if(Ne){let ot=ce.params;ot||(ot=this.options.params={}),Object.keys(Ne).forEach(dt=>{(!c||!ot.hasOwnProperty(dt))&&(ot[dt]=I(Ne[dt],ot,this.errors))})}}_copyOptions(){const u={};if(this.options){const c=this.options.params;if(c){const E=u.params={};Object.keys(c).forEach(ce=>{E[ce]=c[ce]})}}return u}createSubContext(u=null,c,E){const ce=c||this.element,Ne=new mr(this._driver,ce,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ce,E||0));return Ne.previousNode=this.previousNode,Ne.currentAnimateTimings=this.currentAnimateTimings,Ne.options=this._copyOptions(),Ne.updateOptions(u),Ne.currentQueryIndex=this.currentQueryIndex,Ne.currentQueryTotal=this.currentQueryTotal,Ne.parentContext=this,this.subContextCount++,Ne}transformIntoNewTimeline(u){return this.previousNode=gr,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,c,E){const ce={duration:c??u.duration,delay:this.currentTimeline.currentTime+(E??0)+u.delay,easing:""},Ne=new ir(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,ce,u.stretchStartingKeyframe);return this.timelines.push(Ne),ce}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,c,E,ce,Ne,ot){let dt=[];if(ce&&dt.push(this.element),u.length>0){u=(u=u.replace(Ro,"."+this._enterClassName)).replace(ko,"."+this._leaveClassName);let Ot=this._driver.query(this.element,u,1!=E);0!==E&&(Ot=E<0?Ot.slice(Ot.length+E,Ot.length):Ot.slice(0,E)),dt.push(...Ot)}return!Ne&&0==dt.length&&ot.push(function ve(N){return new r.vHH(3014,!1)}()),dt}}class _r{constructor(u,c,E,ce){this._driver=u,this.element=c,this.startTime=E,this._elementTimelineStylesLookup=ce,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(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,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(u){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+u),c&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,c){return this.applyStylesToKeyframe(),new _r(this._driver,u,c||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,c){this._localTimelineStyles.set(u,c),this._globalTimelineStyles.set(u,c),this._styleSummary.set(u,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[c,E]of this._globalTimelineStyles)this._backFill.set(c,E||f.l3),this._currentKeyframe.set(c,f.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,c,E,ce){c&&this._previousKeyframe.set("easing",c);const Ne=ce&&ce.params||{},ot=function rr(N,u){const c=new Map;let E;return N.forEach(ce=>{if("*"===ce){E=E||u.keys();for(let Ne of E)c.set(Ne,f.l3)}else $t(ce,c)}),c}(u,this._globalTimelineStyles);for(let[dt,vt]of ot){const Ot=I(vt,Ne,E);this._pendingStyles.set(dt,Ot),this._localTimelineStyles.has(dt)||this._backFill.set(dt,this._globalTimelineStyles.get(dt)||f.l3),this._updateStyle(dt,Ot)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,c)=>{this._currentKeyframe.set(c,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,u)}))}snapshotCurrentStyles(){for(let[u,c]of this._localTimelineStyles)this._pendingStyles.set(u,c),this._updateStyle(u,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let c in this._currentKeyframe)u.push(c);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((c,E)=>{const ce=this._styleSummary.get(E);(!ce||c.time>ce.time)&&this._updateStyle(E,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,c=new Set,E=1===this._keyframes.size&&0===this.duration;let ce=[];this._keyframes.forEach((dt,vt)=>{const Ot=$t(dt,new Map,this._backFill);Ot.forEach((Bt,Gt)=>{Bt===f.k1?u.add(Gt):Bt===f.l3&&c.add(Gt)}),E||Ot.set("offset",vt/this.duration),ce.push(Ot)});const Ne=u.size?O(u.values()):[],ot=c.size?O(c.values()):[];if(E){const dt=ce[0],vt=new Map(dt);dt.set("offset",0),vt.set("offset",1),ce=[dt,vt]}return er(this.element,ce,Ne,ot,this.duration,this.startTime,this.easing,!1)}}class ir extends _r{constructor(u,c,E,ce,Ne,ot,dt=!1){super(u,c,ot.delay),this.keyframes=E,this.preStyleProps=ce,this.postStyleProps=Ne,this._stretchStartingKeyframe=dt,this.timings={duration:ot.duration,delay:ot.delay,easing:ot.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:c,duration:E,easing:ce}=this.timings;if(this._stretchStartingKeyframe&&c){const Ne=[],ot=E+c,dt=c/ot,vt=$t(u[0]);vt.set("offset",0),Ne.push(vt);const Ot=$t(u[0]);Ot.set("offset",ho(dt)),Ne.push(Ot);const Bt=u.length-1;for(let Gt=1;Gt<=Bt;Gt++){let bn=$t(u[Gt]);const mn=bn.get("offset");bn.set("offset",ho((c+mn*E)/ot)),Ne.push(bn)}E=ot,c=0,ce="",u=Ne}return er(this.element,u,this.preStyleProps,this.postStyleProps,E,c,ce,!0)}}function ho(N,u=3){const c=Math.pow(10,u-1);return Math.round(N*c)/c}class Ti{}const Yr=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 or extends Ti{normalizePropertyName(u,c){return Fe(u)}normalizeStyleValue(u,c,E,ce){let Ne="";const ot=E.toString().trim();if(Yr.has(c)&&0!==E&&"0"!==E)if("number"==typeof E)Ne="px";else{const dt=E.match(/^[+-]?[\d\.]+([a-z]*)$/);dt&&0==dt[1].length&&ce.push(function b(N,u){return new r.vHH(3005,!1)}())}return ot+Ne}}function gi(N,u,c,E,ce,Ne,ot,dt,vt,Ot,Bt,Gt,bn){return{type:0,element:N,triggerName:u,isRemovalTransition:ce,fromState:c,fromStyles:Ne,toState:E,toStyles:ot,timelines:dt,queriedElements:vt,preStyleProps:Ot,postStyleProps:Bt,totalTime:Gt,errors:bn}}const Ui={};class yr{constructor(u,c,E){this._triggerName=u,this.ast=c,this._stateStyles=E}match(u,c,E,ce){return function vr(N,u,c,E,ce){return N.some(Ne=>Ne(u,c,E,ce))}(this.ast.matchers,u,c,E,ce)}buildStyles(u,c,E){let ce=this._stateStyles.get("*");return void 0!==u&&(ce=this._stateStyles.get(u?.toString())||ce),ce?ce.buildStyles(c,E):new Map}build(u,c,E,ce,Ne,ot,dt,vt,Ot,Bt){const Gt=[],bn=this.ast.options&&this.ast.options.params||Ui,fn=this.buildStyles(E,dt&&dt.params||Ui,Gt),pn=vt&&vt.params||Ui,Tn=this.buildStyles(ce,pn,Gt),Rn=new Set,fi=new Map,Si=new Map,yi="void"===ce,So={params:Qr(pn,bn),delay:this.ast.options?.delay},Ii=Bt?[]:nr(u,c,this.ast.animation,Ne,ot,fn,Tn,So,Ot,Gt);let pi=0;if(Ii.forEach(kn=>{pi=Math.max(kn.duration+kn.delay,pi)}),Gt.length)return gi(c,this._triggerName,E,ce,yi,fn,Tn,[],[],fi,Si,pi,Gt);Ii.forEach(kn=>{const Ir=kn.element,Da=_t(fi,Ir,new Set);kn.preStyleProps.forEach(dr=>Da.add(dr));const Ao=_t(Si,Ir,new Set);kn.postStyleProps.forEach(dr=>Ao.add(dr)),Ir!==c&&Rn.add(Ir)});const jr=O(Rn.values());return gi(c,this._triggerName,E,ce,yi,fn,Tn,Ii,jr,fi,Si,pi)}}function Qr(N,u){const c=mt(u);for(const E in N)N.hasOwnProperty(E)&&null!=N[E]&&(c[E]=N[E]);return c}class br{constructor(u,c,E){this.styles=u,this.defaultParams=c,this.normalizer=E}buildStyles(u,c){const E=new Map,ce=mt(this.defaultParams);return Object.keys(u).forEach(Ne=>{const ot=u[Ne];null!==ot&&(ce[Ne]=ot)}),this.styles.styles.forEach(Ne=>{"string"!=typeof Ne&&Ne.forEach((ot,dt)=>{ot&&(ot=I(ot,ce,c));const vt=this.normalizer.normalizePropertyName(dt,c);ot=this.normalizer.normalizeStyleValue(dt,vt,ot,c),E.set(vt,ot)})}),E}}class po{constructor(u,c,E){this.name=u,this.ast=c,this._normalizer=E,this.transitionFactories=[],this.states=new Map,c.states.forEach(ce=>{this.states.set(ce.name,new br(ce.style,ce.options&&ce.options.params||{},E))}),Hi(this.states,"true","1"),Hi(this.states,"false","0"),c.transitions.forEach(ce=>{this.transitionFactories.push(new yr(u,ce,this.states))}),this.fallbackTransition=function Lo(N,u,c){return new yr(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ot,dt)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,c,E,ce){return this.transitionFactories.find(ot=>ot.match(u,c,E,ce))||null}matchStyles(u,c,E){return this.fallbackTransition.buildStyles(u,c,E)}}function Hi(N,u,c){N.has(u)?N.has(c)||N.set(c,N.get(u)):N.has(c)&&N.set(u,N.get(c))}const go=new Li;class ii{constructor(u,c,E){this.bodyNode=u,this._driver=c,this._normalizer=E,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,c){const E=[],Ne=ni(this._driver,c,E,[]);if(E.length)throw function X(N){return new r.vHH(3503,!1)}();this._animations.set(u,Ne)}_buildPlayer(u,c,E){const ce=u.element,Ne=Qe(0,this._normalizer,0,u.keyframes,c,E);return this._driver.animate(ce,Ne,u.duration,u.delay,u.easing,[],!0)}create(u,c,E={}){const ce=[],Ne=this._animations.get(u);let ot;const dt=new Map;if(Ne?(ot=nr(this._driver,c,Ne,le,_e,new Map,new Map,E,go,ce),ot.forEach(Bt=>{const Gt=_t(dt,Bt.element,new Map);Bt.postStyleProps.forEach(bn=>Gt.set(bn,null))})):(ce.push(function Ie(){return new r.vHH(3300,!1)}()),ot=[]),ce.length)throw function ke(N){return new r.vHH(3504,!1)}();dt.forEach((Bt,Gt)=>{Bt.forEach((bn,mn)=>{Bt.set(mn,this._driver.computeStyle(Gt,mn,f.l3))})});const Ot=He(ot.map(Bt=>{const Gt=dt.get(Bt.element);return this._buildPlayer(Bt,new Map,Gt)}));return this._playersById.set(u,Ot),Ot.onDestroy(()=>this.destroy(u)),this.players.push(Ot),Ot}destroy(u){const c=this._getPlayer(u);c.destroy(),this._playersById.delete(u);const E=this.players.indexOf(c);E>=0&&this.players.splice(E,1)}_getPlayer(u){const c=this._playersById.get(u);if(!c)throw function tt(N){return new r.vHH(3301,!1)}();return c}listen(u,c,E,ce){const Ne=at(c,"","","");return st(this._getPlayer(u),E,Ne,ce),()=>{}}command(u,c,E,ce){if("register"==E)return void this.register(u,ce[0]);if("create"==E)return void this.create(u,c,ce[0]||{});const Ne=this._getPlayer(u);switch(E){case"play":Ne.play();break;case"pause":Ne.pause();break;case"reset":Ne.reset();break;case"restart":Ne.restart();break;case"finish":Ne.finish();break;case"init":Ne.init();break;case"setPosition":Ne.setPosition(parseFloat(ce[0]));break;case"destroy":this.destroy(u)}}}const Er="ng-animate-queued",Qn="ng-animate-disabled",No=[],si={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gn="__ng_removed";class $i{constructor(u,c=""){this.namespaceId=c;const E=u&&u.hasOwnProperty("value");if(this.value=function gt(N){return N??null}(E?u.value:u),E){const Ne=mt(u);delete Ne.value,this.options=Ne}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const c=u.params;if(c){const E=this.options.params;Object.keys(c).forEach(ce=>{null==E[ce]&&(E[ce]=c[ce])})}}}const zi="void",Ln=new $i(zi);class q{constructor(u,c,E){this.id=u,this.hostElement=c,this._engine=E,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,yn(c,this._hostClassName)}listen(u,c,E,ce){if(!this._triggers.has(c))throw function lt(N,u){return new r.vHH(3302,!1)}();if(null==E||0==E.length)throw function $(N){return new r.vHH(3303,!1)}();if(!function kt(N){return"start"==N||"done"==N}(E))throw function Re(N,u){return new r.vHH(3400,!1)}();const Ne=_t(this._elementListeners,u,[]),ot={name:c,phase:E,callback:ce};Ne.push(ot);const dt=_t(this._engine.statesByElement,u,new Map);return dt.has(c)||(yn(u,ae),yn(u,ae+"-"+c),dt.set(c,Ln)),()=>{this._engine.afterFlush(()=>{const vt=Ne.indexOf(ot);vt>=0&&Ne.splice(vt,1),this._triggers.has(c)||dt.delete(c)})}}register(u,c){return!this._triggers.has(u)&&(this._triggers.set(u,c),!0)}_getTrigger(u){const c=this._triggers.get(u);if(!c)throw function re(N){return new r.vHH(3401,!1)}();return c}trigger(u,c,E,ce=!0){const Ne=this._getTrigger(c),ot=new ee(this.id,c,u);let dt=this._engine.statesByElement.get(u);dt||(yn(u,ae),yn(u,ae+"-"+c),this._engine.statesByElement.set(u,dt=new Map));let vt=dt.get(c);const Ot=new $i(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&vt&&Ot.absorbOptions(vt.options),dt.set(c,Ot),vt||(vt=Ln),Ot.value!==zi&&vt.value===Ot.value){if(!function wi(N,u){const c=Object.keys(N),E=Object.keys(u);if(c.length!=E.length)return!1;for(let ce=0;ce{en(u,Tn),Ut(u,Rn)})}return}const bn=_t(this._engine.playersByElement,u,[]);bn.forEach(pn=>{pn.namespaceId==this.id&&pn.triggerName==c&&pn.queued&&pn.destroy()});let mn=Ne.matchTransition(vt.value,Ot.value,u,Ot.params),fn=!1;if(!mn){if(!ce)return;mn=Ne.fallbackTransition,fn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:c,transition:mn,fromState:vt,toState:Ot,player:ot,isFallbackTransition:fn}),fn||(yn(u,Er),ot.onStart(()=>{un(u,Er)})),ot.onDone(()=>{let pn=this.players.indexOf(ot);pn>=0&&this.players.splice(pn,1);const Tn=this._engine.playersByElement.get(u);if(Tn){let Rn=Tn.indexOf(ot);Rn>=0&&Tn.splice(Rn,1)}}),this.players.push(ot),bn.push(ot),ot}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(c=>c.delete(u)),this._elementListeners.forEach((c,E)=>{this._elementListeners.set(E,c.filter(ce=>ce.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const c=this._engine.playersByElement.get(u);c&&(c.forEach(E=>E.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,c){const E=this._engine.driver.query(u,he,!0);E.forEach(ce=>{if(ce[gn])return;const Ne=this._engine.fetchNamespacesByElement(ce);Ne.size?Ne.forEach(ot=>ot.triggerLeaveAnimation(ce,c,!1,!0)):this.clearElementCache(ce)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(ce=>this.clearElementCache(ce)))}triggerLeaveAnimation(u,c,E,ce){const Ne=this._engine.statesByElement.get(u),ot=new Map;if(Ne){const dt=[];if(Ne.forEach((vt,Ot)=>{if(ot.set(Ot,vt.value),this._triggers.has(Ot)){const Bt=this.trigger(u,Ot,zi,ce);Bt&&dt.push(Bt)}}),dt.length)return this._engine.markElementAsRemoved(this.id,u,!0,c,ot),E&&He(dt).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const c=this._elementListeners.get(u),E=this._engine.statesByElement.get(u);if(c&&E){const ce=new Set;c.forEach(Ne=>{const ot=Ne.name;if(ce.has(ot))return;ce.add(ot);const vt=this._triggers.get(ot).fallbackTransition,Ot=E.get(ot)||Ln,Bt=new $i(zi),Gt=new ee(this.id,ot,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:ot,transition:vt,fromState:Ot,toState:Bt,player:Gt,isFallbackTransition:!0})})}}removeNode(u,c){const E=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,c),this.triggerLeaveAnimation(u,c,!0))return;let ce=!1;if(E.totalAnimations){const Ne=E.players.length?E.playersByQueriedElement.get(u):[];if(Ne&&Ne.length)ce=!0;else{let ot=u;for(;ot=ot.parentNode;)if(E.statesByElement.get(ot)){ce=!0;break}}}if(this.prepareLeaveAnimationListeners(u),ce)E.markElementAsRemoved(this.id,u,!1,c);else{const Ne=u[gn];(!Ne||Ne===si)&&(E.afterFlush(()=>this.clearElementCache(u)),E.destroyInnerAnimations(u),E._onRemovalComplete(u,c))}}insertNode(u,c){yn(u,this._hostClassName)}drainQueuedTransitions(u){const c=[];return this._queue.forEach(E=>{const ce=E.player;if(ce.destroyed)return;const Ne=E.element,ot=this._elementListeners.get(Ne);ot&&ot.forEach(dt=>{if(dt.name==E.triggerName){const vt=at(Ne,E.triggerName,E.fromState.value,E.toState.value);vt._data=u,st(E.player,dt.phase,vt,dt.callback)}}),ce.markedForDestroy?this._engine.afterFlush(()=>{ce.destroy()}):c.push(E)}),this._queue=[],c.sort((E,ce)=>{const Ne=E.transition.ast.depCount,ot=ce.transition.ast.depCount;return 0==Ne||0==ot?Ne-ot:this._engine.driver.containsElement(E.element,ce.element)?1:-1})}destroy(u){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let c=!1;return this._elementListeners.has(u)&&(c=!0),c=!!this._queue.find(E=>E.element===u)||c,c}}class je{constructor(u,c,E){this.bodyNode=u,this.driver=c,this._normalizer=E,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=(ce,Ne)=>{}}_onRemovalComplete(u,c){this.onRemovalComplete(u,c)}get queuedPlayers(){const u=[];return this._namespaceList.forEach(c=>{c.players.forEach(E=>{E.queued&&u.push(E)})}),u}createNamespace(u,c){const E=new q(u,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(E,c):(this.newHostElements.set(c,E),this.collectEnterElement(c)),this._namespaceLookup[u]=E}_balanceNamespaceList(u,c){const E=this._namespaceList,ce=this.namespacesByHostElement;if(E.length-1>=0){let ot=!1,dt=this.driver.getParentElement(c);for(;dt;){const vt=ce.get(dt);if(vt){const Ot=E.indexOf(vt);E.splice(Ot+1,0,u),ot=!0;break}dt=this.driver.getParentElement(dt)}ot||E.unshift(u)}else E.push(u);return ce.set(c,u),u}register(u,c){let E=this._namespaceLookup[u];return E||(E=this.createNamespace(u,c)),E}registerTrigger(u,c,E){let ce=this._namespaceLookup[u];ce&&ce.register(c,E)&&this.totalAnimations++}destroy(u,c){if(!u)return;const E=this._fetchNamespace(u);this.afterFlush(()=>{this.namespacesByHostElement.delete(E.hostElement),delete this._namespaceLookup[u];const ce=this._namespaceList.indexOf(E);ce>=0&&this._namespaceList.splice(ce,1)}),this.afterFlushAnimationsDone(()=>E.destroy(c))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const c=new Set,E=this.statesByElement.get(u);if(E)for(let ce of E.values())if(ce.namespaceId){const Ne=this._fetchNamespace(ce.namespaceId);Ne&&c.add(Ne)}return c}trigger(u,c,E,ce){if(wt(c)){const Ne=this._fetchNamespace(u);if(Ne)return Ne.trigger(c,E,ce),!0}return!1}insertNode(u,c,E,ce){if(!wt(c))return;const Ne=c[gn];if(Ne&&Ne.setForRemoval){Ne.setForRemoval=!1,Ne.setForMove=!0;const ot=this.collectedLeaveElements.indexOf(c);ot>=0&&this.collectedLeaveElements.splice(ot,1)}if(u){const ot=this._fetchNamespace(u);ot&&ot.insertNode(c,E)}ce&&this.collectEnterElement(c)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,c){c?this.disabledNodes.has(u)||(this.disabledNodes.add(u),yn(u,Qn)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),un(u,Qn))}removeNode(u,c,E,ce){if(wt(c)){const Ne=u?this._fetchNamespace(u):null;if(Ne?Ne.removeNode(c,ce):this.markElementAsRemoved(u,c,!1,ce),E){const ot=this.namespacesByHostElement.get(c);ot&&ot.id!==u&&ot.removeNode(c,ce)}}else this._onRemovalComplete(c,ce)}markElementAsRemoved(u,c,E,ce,Ne){this.collectedLeaveElements.push(c),c[gn]={namespaceId:u,setForRemoval:ce,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:Ne}}listen(u,c,E,ce,Ne){return wt(c)?this._fetchNamespace(u).listen(c,E,ce,Ne):()=>{}}_buildInstruction(u,c,E,ce,Ne){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,E,ce,u.fromState.options,u.toState.options,c,Ne)}destroyInnerAnimations(u){let c=this.driver.query(u,he,!0);c.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(u,be,!0),c.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(u){const c=this.playersByElement.get(u);c&&c.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(u){const c=this.playersByQueriedElement.get(u);c&&c.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return He(this.players).onDone(()=>u());u()})}processLeaveNode(u){const c=u[gn];if(c&&c.setForRemoval){if(u[gn]=si,c.namespaceId){this.destroyInnerAnimations(u);const E=this._fetchNamespace(c.namespaceId);E&&E.clearElementCache(u)}this._onRemovalComplete(u,c.setForRemoval)}u.classList?.contains(Qn)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(u=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,ce)=>this._balanceNamespaceList(E,ce)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;EE()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],c.length?He(c).onDone(()=>{E.forEach(ce=>ce())}):E.forEach(ce=>ce())}}reportError(u){throw function xe(N){return new r.vHH(3402,!1)}()}_flushAnimations(u,c){const E=new Li,ce=[],Ne=new Map,ot=[],dt=new Map,vt=new Map,Ot=new Map,Bt=new Set;this.disabledNodes.forEach(tn=>{Bt.add(tn);const on=this.driver.query(tn,".ng-animate-queued",!0);for(let cn=0;cn{const cn=le+pn++;fn.set(on,cn),tn.forEach(wn=>yn(wn,cn))});const Tn=[],Rn=new Set,fi=new Set;for(let tn=0;tnRn.add(wn)):fi.add(on))}const Si=new Map,yi=Sn(bn,Array.from(Rn));yi.forEach((tn,on)=>{const cn=_e+pn++;Si.set(on,cn),tn.forEach(wn=>yn(wn,cn))}),u.push(()=>{mn.forEach((tn,on)=>{const cn=fn.get(on);tn.forEach(wn=>un(wn,cn))}),yi.forEach((tn,on)=>{const cn=Si.get(on);tn.forEach(wn=>un(wn,cn))}),Tn.forEach(tn=>{this.processLeaveNode(tn)})});const So=[],Ii=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(c).forEach(cn=>{const wn=cn.player,Xn=cn.element;if(So.push(wn),this.collectedEnterElements.length){const Di=Xn[gn];if(Di&&Di.setForMove){if(Di.previousTriggersValues&&Di.previousTriggersValues.has(cn.triggerName)){const Ji=Di.previousTriggersValues.get(cn.triggerName),Ci=this.statesByElement.get(cn.element);if(Ci&&Ci.has(cn.triggerName)){const Rs=Ci.get(cn.triggerName);Rs.value=Ji,Ci.set(cn.triggerName,Rs)}}return void wn.destroy()}}const Pr=!Gt||!this.driver.containsElement(Gt,Xn),Pi=Si.get(Xn),Zi=fn.get(Xn),Hn=this._buildInstruction(cn,E,Zi,Pi,Pr);if(Hn.errors&&Hn.errors.length)return void Ii.push(Hn);if(Pr)return wn.onStart(()=>en(Xn,Hn.fromStyles)),wn.onDestroy(()=>Ut(Xn,Hn.toStyles)),void ce.push(wn);if(cn.isFallbackTransition)return wn.onStart(()=>en(Xn,Hn.fromStyles)),wn.onDestroy(()=>Ut(Xn,Hn.toStyles)),void ce.push(wn);const Ca=[];Hn.timelines.forEach(Di=>{Di.stretchStartingKeyframe=!0,this.disabledNodes.has(Di.element)||Ca.push(Di)}),Hn.timelines=Ca,E.append(Xn,Hn.timelines),ot.push({instruction:Hn,player:wn,element:Xn}),Hn.queriedElements.forEach(Di=>_t(dt,Di,[]).push(wn)),Hn.preStyleProps.forEach((Di,Ji)=>{if(Di.size){let Ci=vt.get(Ji);Ci||vt.set(Ji,Ci=new Set),Di.forEach((Rs,qa)=>Ci.add(qa))}}),Hn.postStyleProps.forEach((Di,Ji)=>{let Ci=Ot.get(Ji);Ci||Ot.set(Ji,Ci=new Set),Di.forEach((Rs,qa)=>Ci.add(qa))})});if(Ii.length){const tn=[];Ii.forEach(on=>{tn.push(function me(N,u){return new r.vHH(3505,!1)}())}),So.forEach(on=>on.destroy()),this.reportError(tn)}const pi=new Map,jr=new Map;ot.forEach(tn=>{const on=tn.element;E.has(on)&&(jr.set(on,on),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,pi))}),ce.forEach(tn=>{const on=tn.element;this._getPreviousPlayers(on,!1,tn.namespaceId,tn.triggerName,null).forEach(wn=>{_t(pi,on,[]).push(wn),wn.destroy()})});const kn=Tn.filter(tn=>bi(tn,vt,Ot)),Ir=new Map;On(Ir,this.driver,fi,Ot,f.l3).forEach(tn=>{bi(tn,vt,Ot)&&kn.push(tn)});const Ao=new Map;mn.forEach((tn,on)=>{On(Ao,this.driver,new Set(tn),vt,f.k1)}),kn.forEach(tn=>{const on=Ir.get(tn),cn=Ao.get(tn);Ir.set(tn,new Map([...Array.from(on?.entries()??[]),...Array.from(cn?.entries()??[])]))});const dr=[],Ja=[],Xa={};ot.forEach(tn=>{const{element:on,player:cn,instruction:wn}=tn;if(E.has(on)){if(Bt.has(on))return cn.onDestroy(()=>Ut(on,wn.toStyles)),cn.disabled=!0,cn.overrideTotalTime(wn.totalTime),void ce.push(cn);let Xn=Xa;if(jr.size>1){let Pi=on;const Zi=[];for(;Pi=Pi.parentNode;){const Hn=jr.get(Pi);if(Hn){Xn=Hn;break}Zi.push(Pi)}Zi.forEach(Hn=>jr.set(Hn,Xn))}const Pr=this._buildAnimation(cn.namespaceId,wn,pi,Ne,Ao,Ir);if(cn.setRealPlayer(Pr),Xn===Xa)dr.push(cn);else{const Pi=this.playersByElement.get(Xn);Pi&&Pi.length&&(cn.parentPlayer=He(Pi)),ce.push(cn)}}else en(on,wn.fromStyles),cn.onDestroy(()=>Ut(on,wn.toStyles)),Ja.push(cn),Bt.has(on)&&ce.push(cn)}),Ja.forEach(tn=>{const on=Ne.get(tn.element);if(on&&on.length){const cn=He(on);tn.setRealPlayer(cn)}}),ce.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn!Pr.destroyed);Xn.length?jn(this,on,Xn):this.processLeaveNode(on)}return Tn.length=0,dr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const on=this.players.indexOf(tn);this.players.splice(on,1)}),tn.play()}),dr}elementContainsData(u,c){let E=!1;const ce=c[gn];return ce&&ce.setForRemoval&&(E=!0),this.playersByElement.has(c)&&(E=!0),this.playersByQueriedElement.has(c)&&(E=!0),this.statesByElement.has(c)&&(E=!0),this._fetchNamespace(u).elementContainsData(c)||E}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,c,E,ce,Ne){let ot=[];if(c){const dt=this.playersByQueriedElement.get(u);dt&&(ot=dt)}else{const dt=this.playersByElement.get(u);if(dt){const vt=!Ne||Ne==zi;dt.forEach(Ot=>{Ot.queued||!vt&&Ot.triggerName!=ce||ot.push(Ot)})}}return(E||ce)&&(ot=ot.filter(dt=>!(E&&E!=dt.namespaceId||ce&&ce!=dt.triggerName))),ot}_beforeAnimationBuild(u,c,E){const Ne=c.element,ot=c.isRemovalTransition?void 0:u,dt=c.isRemovalTransition?void 0:c.triggerName;for(const vt of c.timelines){const Ot=vt.element,Bt=Ot!==Ne,Gt=_t(E,Ot,[]);this._getPreviousPlayers(Ot,Bt,ot,dt,c.toState).forEach(mn=>{const fn=mn.getRealPlayer();fn.beforeDestroy&&fn.beforeDestroy(),mn.destroy(),Gt.push(mn)})}en(Ne,c.fromStyles)}_buildAnimation(u,c,E,ce,Ne,ot){const dt=c.triggerName,vt=c.element,Ot=[],Bt=new Set,Gt=new Set,bn=c.timelines.map(fn=>{const pn=fn.element;Bt.add(pn);const Tn=pn[gn];if(Tn&&Tn.removedBeforeQueried)return new f.ZN(fn.duration,fn.delay);const Rn=pn!==vt,fi=function Dn(N){const u=[];return Xt(N,u),u}((E.get(pn)||No).map(pi=>pi.getRealPlayer())).filter(pi=>!!pi.element&&pi.element===pn),Si=Ne.get(pn),yi=ot.get(pn),So=Qe(0,this._normalizer,0,fn.keyframes,Si,yi),Ii=this._buildPlayer(fn,So,fi);if(fn.subTimeline&&ce&&Gt.add(pn),Rn){const pi=new ee(u,dt,pn);pi.setRealPlayer(Ii),Ot.push(pi)}return Ii});Ot.forEach(fn=>{_t(this.playersByQueriedElement,fn.element,[]).push(fn),fn.onDone(()=>function ze(N,u,c){let E=N.get(u);if(E){if(E.length){const ce=E.indexOf(c);E.splice(ce,1)}0==E.length&&N.delete(u)}return E}(this.playersByQueriedElement,fn.element,fn))}),Bt.forEach(fn=>yn(fn,pe));const mn=He(bn);return mn.onDestroy(()=>{Bt.forEach(fn=>un(fn,pe)),Ut(vt,c.toStyles)}),Gt.forEach(fn=>{_t(ce,fn,[]).push(mn)}),mn}_buildPlayer(u,c,E){return c.length>0?this.driver.animate(u.element,c,u.duration,u.delay,u.easing,E):new f.ZN(u.duration,u.delay)}}class ee{constructor(u,c,E){this.namespaceId=u,this.triggerName=c,this.element=E,this._player=new f.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((c,E)=>{c.forEach(ce=>st(u,E,void 0,ce))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const c=this._player;c.triggerCallback&&u.onStart(()=>c.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,c){_t(this._queuedCallbacks,u,[]).push(c)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const c=this._player;c.triggerCallback&&c.triggerCallback(u)}}function wt(N){return N&&1===N.nodeType}function Wt(N,u){const c=N.style.display;return N.style.display=u??"none",c}function On(N,u,c,E,ce){const Ne=[];c.forEach(vt=>Ne.push(Wt(vt)));const ot=[];E.forEach((vt,Ot)=>{const Bt=new Map;vt.forEach(Gt=>{const bn=u.computeStyle(Ot,Gt,ce);Bt.set(Gt,bn),(!bn||0==bn.length)&&(Ot[gn]=Bo,ot.push(Ot))}),N.set(Ot,Bt)});let dt=0;return c.forEach(vt=>Wt(vt,Ne[dt++])),ot}function Sn(N,u){const c=new Map;if(N.forEach(dt=>c.set(dt,[])),0==u.length)return c;const ce=new Set(u),Ne=new Map;function ot(dt){if(!dt)return 1;let vt=Ne.get(dt);if(vt)return vt;const Ot=dt.parentNode;return vt=c.has(Ot)?Ot:ce.has(Ot)?1:ot(Ot),Ne.set(dt,vt),vt}return u.forEach(dt=>{const vt=ot(dt);1!==vt&&c.get(vt).push(dt)}),c}function yn(N,u){N.classList?.add(u)}function un(N,u){N.classList?.remove(u)}function jn(N,u,c){He(c).onDone(()=>N.processLeaveNode(u))}function Xt(N,u){for(let c=0;cce.add(Ne)):u.set(N,E),c.delete(N),!0}class Wi{constructor(u,c,E){this.bodyNode=u,this._driver=c,this._normalizer=E,this._triggerCache={},this.onRemovalComplete=(ce,Ne)=>{},this._transitionEngine=new je(u,c,E),this._timelineEngine=new ii(u,c,E),this._transitionEngine.onRemovalComplete=(ce,Ne)=>this.onRemovalComplete(ce,Ne)}registerTrigger(u,c,E,ce,Ne){const ot=u+"-"+ce;let dt=this._triggerCache[ot];if(!dt){const vt=[],Bt=ni(this._driver,Ne,vt,[]);if(vt.length)throw function V(N,u){return new r.vHH(3404,!1)}();dt=function kr(N,u,c){return new po(N,u,c)}(ce,Bt,this._normalizer),this._triggerCache[ot]=dt}this._transitionEngine.registerTrigger(c,ce,dt)}register(u,c){this._transitionEngine.register(u,c)}destroy(u,c){this._transitionEngine.destroy(u,c)}onInsert(u,c,E,ce){this._transitionEngine.insertNode(u,c,E,ce)}onRemove(u,c,E,ce){this._transitionEngine.removeNode(u,c,ce||!1,E)}disableAnimations(u,c){this._transitionEngine.markElementAsDisabled(u,c)}process(u,c,E,ce){if("@"==E.charAt(0)){const[Ne,ot]=xt(E);this._timelineEngine.command(Ne,c,ot,ce)}else this._transitionEngine.trigger(u,c,E,ce)}listen(u,c,E,ce,Ne){if("@"==E.charAt(0)){const[ot,dt]=xt(E);return this._timelineEngine.listen(ot,c,dt,Ne)}return this._transitionEngine.listen(u,c,E,ce,Ne)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let _o=(()=>{class N{constructor(c,E,ce){this._element=c,this._startStyles=E,this._endStyles=ce,this._state=0;let Ne=N.initialStylesByElement.get(c);Ne||N.initialStylesByElement.set(c,Ne=new Map),this._initialStyles=Ne}start(){this._state<1&&(this._startStyles&&Ut(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ut(this._element,this._initialStyles),this._endStyles&&(Ut(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(en(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(en(this._element,this._endStyles),this._endStyles=null),Ut(this._element,this._initialStyles),this._state=3)}}return N.initialStylesByElement=new WeakMap,N})();function Gi(N){let u=null;return N.forEach((c,E)=>{(function yo(N){return"display"===N||"position"===N})(E)&&(u=u||new Map,u.set(E,c))}),u}class ne{constructor(u,c,E,ce){this.element=u,this.keyframes=c,this.options=E,this._specialStyles=ce,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=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const c=[];return u.forEach(E=>{c.push(Object.fromEntries(E))}),c}_triggerWebAnimation(u,c,E){return u.animate(this._convertKeyframesToObject(c),E)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,ce)=>{"offset"!==ce&&u.set(ce,this._finished?E:Kt(this.element,ce))}),this.currentSnapshot=u}triggerCallback(u){const c="start"===u?this._onStartFns:this._onDoneFns;c.forEach(E=>E()),c.length=0}}class k{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,c){return!1}containsElement(u,c){return Ze(u,c)}getParentElement(u){return nt(u)}query(u,c,E){return we(u,c,E)}computeStyle(u,c,E){return window.getComputedStyle(u)[c]}animate(u,c,E,ce,Ne,ot=[]){const vt={duration:E,delay:ce,fill:0==ce?"both":"forwards"};Ne&&(vt.easing=Ne);const Ot=new Map,Bt=ot.filter(mn=>mn instanceof ne);(function Et(N,u){return 0===N||0===u})(E,ce)&&Bt.forEach(mn=>{mn.currentSnapshot.forEach((fn,pn)=>Ot.set(pn,fn))});let Gt=function St(N){return N.length?N[0]instanceof Map?N:N.map(u=>Mt(u)):[]}(c).map(mn=>$t(mn));Gt=function Dt(N,u,c){if(c.size&&u.length){let E=u[0],ce=[];if(c.forEach((Ne,ot)=>{E.has(ot)||ce.push(ot),E.set(ot,Ne)}),ce.length)for(let Ne=1;Neot.set(dt,Kt(N,dt)))}}return u}(u,Gt,Ot);const bn=function Bi(N,u){let c=null,E=null;return Array.isArray(u)&&u.length?(c=Gi(u[0]),u.length>1&&(E=Gi(u[u.length-1]))):u instanceof Map&&(c=Gi(u)),c||E?new _o(N,c,E):null}(u,Gt);return new ne(u,Gt,vt,bn)}}var F=s(8692);let Ve=(()=>{class N extends f._j{constructor(c,E){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(E.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(c){const E=this._nextAnimationId.toString();this._nextAnimationId++;const ce=Array.isArray(c)?(0,f.vP)(c):c;return In(this._renderer,null,E,"register",[ce]),new Ct(E,this._renderer)}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(r.FYo),r.LFG(F.K0))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})();class Ct extends f.LC{constructor(u,c){super(),this._id=u,this._renderer=c}create(u,c){return new Vt(this._id,u,c||{},this._renderer)}}class Vt{constructor(u,c,E,ce){this.id=u,this.element=c,this._renderer=ce,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",E)}_listen(u,c){return this._renderer.listen(this.element,`@@${this.id}:${u}`,c)}_command(u,...c){return In(this._renderer,this.element,this.id,u,c)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function In(N,u,c,E,ce){return N.setProperty(u,`@@${c}:${E}`,ce)}const di="@.disabled";let Fr=(()=>{class N{constructor(c,E,ce){this.delegate=c,this.engine=E,this._zone=ce,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),E.onRemovalComplete=(Ne,ot)=>{const dt=ot?.parentNode(Ne);dt&&ot.removeChild(dt,Ne)}}createRenderer(c,E){const Ne=this.delegate.createRenderer(c,E);if(!(c&&E&&E.data&&E.data.animation)){let Bt=this._rendererCache.get(Ne);return Bt||(Bt=new wr("",Ne,this.engine),this._rendererCache.set(Ne,Bt)),Bt}const ot=E.id,dt=E.id+"-"+this._currentId;this._currentId++,this.engine.register(dt,c);const vt=Bt=>{Array.isArray(Bt)?Bt.forEach(vt):this.engine.registerTrigger(ot,dt,c,Bt.name,Bt)};return E.data.animation.forEach(vt),new Ka(this,dt,Ne,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,E,ce){c>=0&&cE(ce)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ne=>{const[ot,dt]=Ne;ot(dt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([E,ce]))}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 N.\u0275fac=function(c){return new(c||N)(r.LFG(r.FYo),r.LFG(Wi),r.LFG(r.R0b))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})();class wr{constructor(u,c,E){this.namespaceId=u,this.delegate=c,this.engine=E,this.destroyNode=this.delegate.destroyNode?ce=>c.destroyNode(ce):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(u,c){return this.delegate.createElement(u,c)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,c){this.delegate.appendChild(u,c),this.engine.onInsert(this.namespaceId,c,u,!1)}insertBefore(u,c,E,ce=!0){this.delegate.insertBefore(u,c,E),this.engine.onInsert(this.namespaceId,c,u,ce)}removeChild(u,c,E){this.engine.onRemove(this.namespaceId,c,this.delegate,E)}selectRootElement(u,c){return this.delegate.selectRootElement(u,c)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,c,E,ce){this.delegate.setAttribute(u,c,E,ce)}removeAttribute(u,c,E){this.delegate.removeAttribute(u,c,E)}addClass(u,c){this.delegate.addClass(u,c)}removeClass(u,c){this.delegate.removeClass(u,c)}setStyle(u,c,E,ce){this.delegate.setStyle(u,c,E,ce)}removeStyle(u,c,E){this.delegate.removeStyle(u,c,E)}setProperty(u,c,E){"@"==c.charAt(0)&&c==di?this.disableAnimations(u,!!E):this.delegate.setProperty(u,c,E)}setValue(u,c){this.delegate.setValue(u,c)}listen(u,c,E){return this.delegate.listen(u,c,E)}disableAnimations(u,c){this.engine.disableAnimations(u,c)}}class Ka extends wr{constructor(u,c,E,ce){super(c,E,ce),this.factory=u,this.namespaceId=c}setProperty(u,c,E){"@"==c.charAt(0)?"."==c.charAt(1)&&c==di?this.disableAnimations(u,E=void 0===E||!!E):this.engine.process(this.namespaceId,u,c.slice(1),E):this.delegate.setProperty(u,c,E)}listen(u,c,E){if("@"==c.charAt(0)){const ce=function la(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(u);let Ne=c.slice(1),ot="";return"@"!=Ne.charAt(0)&&([Ne,ot]=function Ya(N){const u=N.indexOf(".");return[N.substring(0,u),N.slice(u+1)]}(Ne)),this.engine.listen(this.namespaceId,ce,Ne,ot,dt=>{this.factory.scheduleListenerCallback(dt._data||-1,E,dt)})}return this.delegate.listen(u,c,E)}}const ns=[{provide:f._j,useClass:Ve},{provide:Ti,useFactory:function mi(){return new or}},{provide:Wi,useClass:(()=>{class N extends Wi{constructor(c,E,ce){super(c.body,E,ce)}ngOnDestroy(){this.flush()}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(F.K0),r.LFG(Ye),r.LFG(Ti))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})()},{provide:r.FYo,useFactory:function sr(N,u,c){return new Fr(N,u,c)},deps:[o.se,Wi,r.R0b]}],Lr=[{provide:Ye,useFactory:()=>new k},{provide:r.QbO,useValue:"BrowserAnimations"},...ns],Ki=[{provide:Ye,useClass:We},{provide:r.QbO,useValue:"NoopAnimations"},...ns];let ca=(()=>{class N{static withConfig(c){return{ngModule:N,providers:c.disableAnimations?Ki:Lr}}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({providers:Lr,imports:[o.b2]}),N})();var vo=s(8023),ua=s(3794),Nr=s(8399),Zr=s(1656),Ds=s(3212),Yi=s(3178),Qa=s(6527),Mr=s(9638),ar=s(3331);const is=function(N,u){return{hover:N,active:u}};let jo=(()=>{class N{constructor(c){this.router=c,this.hover=!1,this.active=!1}ngOnInit(){}onClick(){this.router.navigateByUrl("home")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Yi.F0))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-cogs-logo-text-button"]],decls:11,vars:4,consts:[[1,"app-cogs-logo-text-button","button",3,"click","mouseenter","mouseleave","mousedown","mouseup"],["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 512 512","enable-background","new 0 0 512 512",0,"xml","space","preserve",1,"app-cogs-logo-text-button","icon",3,"ngClass"],["fill","#FFFFFF","d","M487.032,293.276c1.942-12.141,2.968-24.59,2.968-37.277s-1.025-25.135-2.968-37.275l-69.876-15.356\n c-2.721-8.337-6.063-16.392-9.986-24.104l38.542-60.254c-14.653-20.256-32.466-38.069-52.722-52.722l-60.254,38.542\n c-7.713-3.923-15.768-7.266-24.105-9.986l-15.355-69.876c-12.141-1.943-24.588-2.968-37.275-2.968s-25.135,1.024-37.275,2.968\n l-15.356,69.876c-8.336,2.721-16.392,6.063-24.104,9.986L119.01,66.287C98.755,80.939,80.94,98.753,66.288,119.009l38.542,60.254\n c-3.923,7.712-7.265,15.768-9.986,24.104l-69.875,15.356C23.025,230.864,22,243.312,22,255.999s1.025,25.137,2.969,37.277\n l69.875,15.355c2.722,8.338,6.063,16.393,9.986,24.105l-38.542,60.254c14.652,20.256,32.467,38.068,52.722,52.721l60.254-38.541\n c7.713,3.922,15.769,7.266,24.104,9.986l15.356,69.875c12.141,1.943,24.588,2.969,37.275,2.969s25.135-1.025,37.275-2.969\n l15.355-69.875c8.338-2.721,16.393-6.064,24.105-9.986l60.253,38.541c20.255-14.652,38.069-32.467,52.723-52.723l-38.542-60.252\n c3.923-7.713,7.266-15.768,9.986-24.105L487.032,293.276z M374.68,289.9c-2.813,9.661-6.757,18.839-11.727,27.353l10.975,22.428\n c-9.094,12.617-20.178,23.703-32.797,32.797l-22.428-10.973c-8.909,5.198-18.54,9.282-28.695,12.113v0.479l-9.299,49.908\n c-8.067,1.18-16.316,1.801-24.709,1.801c-8.394,0-16.641-0.621-24.709-1.801l-9.19-49.325c-9.662-2.813-18.84-6.759-27.355-11.728\n l-22.427,10.975c-12.618-9.094-23.703-20.178-32.797-32.797l10.973-22.428c-5.198-8.908-9.283-18.539-12.113-28.693h-0.477\n l-49.908-9.299c-1.18-8.068-1.803-16.316-1.803-24.71s0.623-16.642,1.803-24.709l49.323-9.189\n c2.813-9.663,6.759-18.842,11.728-27.358l-10.975-22.428c9.094-12.617,20.178-23.702,32.797-32.796l22.429,10.973\n c8.908-5.198,18.539-9.283,28.694-12.113v-0.475l9.299-49.907c8.068-1.181,16.315-1.803,24.709-1.803\n c8.393,0,16.642,0.622,24.709,1.803l9.189,49.321c9.662,2.813,18.842,6.758,27.357,11.728l22.428-10.975\n c12.617,9.094,23.702,20.178,32.796,32.797l-10.974,22.428c5.199,8.909,9.284,18.541,12.115,28.696h0.475l49.908,9.299\n c1.18,8.067,1.802,16.315,1.802,24.709s-0.622,16.642-1.802,24.71L374.68,289.9z"],["fill","#FFFFFF","d","M273.602,162.068l-4.238-28.448c-4.39-0.475-8.847-0.725-13.363-0.725c-5.165,0-10.254,0.322-15.25,0.94\n l-4.262,28.604c6.299-1.308,12.824-1.997,19.512-1.997C262.014,160.443,267.896,161.005,273.602,162.068z"],["fill","#FFFFFF","d","M379.103,256.001c0-5.166-0.322-10.256-0.94-15.253l-28.604-4.261c1.307,6.298,1.996,12.826,1.996,19.514\n c0,6.014-0.563,11.896-1.624,17.602l28.448-4.236C378.853,264.974,379.103,260.519,379.103,256.001z"],["fill","#FFFFFF","d","M162.07,238.396l-28.448,4.239c-0.476,4.389-0.725,8.85-0.725,13.365c0,5.164,0.321,10.254,0.94,15.252\n l28.605,4.26c-1.308-6.299-1.998-12.826-1.998-19.512C160.445,249.985,161.008,244.104,162.07,238.396z"],["fill","#FFFFFF","d","M238.397,349.933l4.237,28.447c4.393,0.475,8.85,0.725,13.365,0.725c5.165,0,10.254-0.322,15.252-0.939\n l4.26-28.605c-6.301,1.309-12.824,1.996-19.512,1.996C249.985,351.556,244.104,350.995,238.397,349.933z"],["fill","#FFFFFF","cx","256","cy","256","r","68"],[1,"app-cogs-logo-text-button","cogs-title"]],template:function(c,E){1&c&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return E.onClick()})("mouseenter",function(){return E.hover=!0})("mouseleave",function(){return E.hover=!1})("mousedown",function(){return E.active=!0})("mouseup",function(){return E.active=!1}),r.O4$(),r.TgZ(1,"svg",1),r._UZ(2,"path",2),r.TgZ(3,"g"),r._UZ(4,"path",3)(5,"path",4)(6,"path",5)(7,"path",6),r.qZA(),r._UZ(8,"circle",7),r.qZA(),r.kcU(),r.TgZ(9,"h1",8),r._uU(10,"COGS"),r.qZA()()),2&c&&(r.xp6(1),r.Q6J("ngClass",r.WLB(1,is,E.hover,E.active)))},dependencies:[F.mk],styles:["[_nghost-%COMP%]{background-color:transparent}.icon[_ngcontent-%COMP%]{float:left;margin-right:6px}.button[_ngcontent-%COMP%]{position:relative;display:flex;flex:row;justify-content:left;background-color:transparent;border:0px;align-items:center}.button[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:none}.cogs-title[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}"]}),N})(),rs=(()=>{class N{setStyle(c,E){(function Cs(N){return Br(N)||function da(N){const u=document.createElement("link");return u.setAttribute("rel","stylesheet"),u.classList.add(ws(N)),document.head.appendChild(u),u}(N)})(c).setAttribute("href",E)}removeStyle(c){const E=Br(c);E&&document.head.removeChild(E)}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function Br(N){return document.head.querySelector(`link[rel="stylesheet"].${ws(N)}`)}function ws(N){return`style-manager-${N}`}let _i=(()=>{class N{constructor(c,E){this.document=c,this.platformId=E,this.documentIsAccessible=(0,F.NF)(this.platformId)}static getCookieRegExp(c){const E=c.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+E+"|;\\s*"+E+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(c){try{return decodeURIComponent(c)}catch{return c}}check(c){return!!this.documentIsAccessible&&(c=encodeURIComponent(c),N.getCookieRegExp(c).test(this.document.cookie))}get(c){if(this.documentIsAccessible&&this.check(c)){c=encodeURIComponent(c);const ce=N.getCookieRegExp(c).exec(this.document.cookie);return ce[1]?N.safeDecodeURIComponent(ce[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const c={},E=this.document;return E.cookie&&""!==E.cookie&&E.cookie.split(";").forEach(ce=>{const[Ne,ot]=ce.split("=");c[N.safeDecodeURIComponent(Ne.replace(/^ /,""))]=N.safeDecodeURIComponent(ot)}),c}set(c,E,ce,Ne,ot,dt,vt){if(!this.documentIsAccessible)return;if("number"==typeof ce||ce instanceof Date||Ne||ot||dt||vt)return void this.set(c,E,{expires:ce,path:Ne,domain:ot,secure:dt,sameSite:vt||"Lax"});let Ot=encodeURIComponent(c)+"="+encodeURIComponent(E)+";";const Bt=ce||{};Bt.expires&&(Ot+="number"==typeof Bt.expires?"expires="+new Date((new Date).getTime()+1e3*Bt.expires*60*60*24).toUTCString()+";":"expires="+Bt.expires.toUTCString()+";"),Bt.path&&(Ot+="path="+Bt.path+";"),Bt.domain&&(Ot+="domain="+Bt.domain+";"),!1===Bt.secure&&"None"===Bt.sameSite&&(Bt.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${c} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Bt.secure&&(Ot+="secure;"),Bt.sameSite||(Bt.sameSite="Lax"),Ot+="sameSite="+Bt.sameSite+";",this.document.cookie=Ot}delete(c,E,ce,Ne,ot="Lax"){if(!this.documentIsAccessible)return;const dt=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(c,"",{expires:dt,path:E,domain:ce,secure:Ne,sameSite:ot})}deleteAll(c,E,ce,Ne="Lax"){if(!this.documentIsAccessible)return;const ot=this.getAll();for(const dt in ot)ot.hasOwnProperty(dt)&&this.delete(dt,c,E,ce,Ne)}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(F.K0),r.LFG(r.Lbi))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Sr=(()=>{class N{constructor(c,E){this.styleManagerService=c,this.cookieService=E,this._currentTheme="light",this.currentTheme=E.check("theme")?E.get("theme"):"light"}set currentTheme(c){this._currentTheme=c,this.cookieService.set("theme",this._currentTheme),this.styleManagerService.setStyle("theme",this._currentTheme+".css")}get currentTheme(){return this._currentTheme}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(rs),r.LFG(_i))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Gn=s(4639);let Uo=(()=>{class N{constructor(c){this.themeManager=c,this.isDark=!1,this.isDark="dark"==this.themeManager.currentTheme}ngOnInit(){}onChange(c){this.isDark=c.checked,this.themeManager.currentTheme=this.isDark?"dark":"light"}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Sr))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-dark-mode-toggle"]],decls:3,vars:1,consts:[[1,"mr-8",3,"checked","change"],[1,"app-dark-mode-toggle","icon"]],template:function(c,E){1&c&&(r.TgZ(0,"mat-slide-toggle",0),r.NdJ("change",function(Ne){return E.onChange(Ne)}),r.qZA(),r.TgZ(1,"mat-icon",1),r._uU(2,"bedtime"),r.qZA()),2&c&&r.Q6J("checked",E.isDark)},dependencies:[ar.Hw,Gn.Rr],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}"]}),N})(),Ho=(()=>{class N{constructor(c){this.settings=c}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-header-social-media-buttons"]],decls:4,vars:2,consts:[["mat-icon-button","","target","_blank",1,"app-header-social-media-buttons","button",3,"href"],["size","1.5em","icon","discord",1,"app-header-social-media-buttons","icon","app-button","iconify","icon"],["size","1.5em","icon","mail",1,"app-header-social-media-buttons","icon","app-button","iconify","icon"]],template:function(c,E){1&c&&(r.TgZ(0,"a",0),r._UZ(1,"ic-icon",1),r.qZA(),r.TgZ(2,"a",0),r._UZ(3,"ic-icon",2),r.qZA()),2&c&&(r.Q6J("href",E.settings.General.discordLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.mailingListLink,r.LSH))},dependencies:[Mr.zs,Nr.ar],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center}.icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]}),N})();var Ms=s(8239),ha=s(3556),bo=s(3528),Ss=s(6440),Jr=s(9942),Xr=s(5208),$o=s(1241),os=s(2709),As=s(3223),Eo=s(8954),lr=s(4929),Ei=s(5436),zo=s(4813),hi=s(1860),qr=s(4945),Do=s(6401),Co=s(1927),wo=s(1528),ss=s(5598),as=s(4970),eo=s(5990),Os=s(8632),cr=s(1379),Wo=s(5875),to=s(8232),ls=s(6321),Ar=s(5531);const Za=["mat-menu-item",""];function xi(N,u){1&N&&(r.O4$(),r.TgZ(0,"svg",2),r._UZ(1,"polygon",3),r.qZA())}const Mo=["*"];function Go(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"div",0),r.NdJ("keydown",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._handleKeydown(ce))})("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.closed.emit("click"))})("@transformMenu.start",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._onAnimationStart(ce))})("@transformMenu.done",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._onAnimationDone(ce))}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()()}if(2&N){const c=r.oxw();r.Q6J("id",c.panelId)("ngClass",c._classList)("@transformMenu",c._panelAnimationState),r.uIk("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby||null)("aria-describedby",c.ariaDescribedby||null)}}const cs={transformMenu:(0,f.X$)("transformMenu",[(0,f.SB)("void",(0,f.oB)({opacity:0,transform:"scale(0.8)"})),(0,f.eR)("void => enter",(0,f.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,f.oB)({opacity:1,transform:"scale(1)"}))),(0,f.eR)("* => void",(0,f.jt)("100ms 25ms linear",(0,f.oB)({opacity:0})))]),fadeInItems:(0,f.X$)("fadeInItems",[(0,f.SB)("showing",(0,f.oB)({opacity:1})),(0,f.eR)("void => *",[(0,f.oB)({opacity:0}),(0,f.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ga=new r.OlP("MatMenuContent"),Or=new r.OlP("MAT_MENU_PANEL"),Yo=(0,cr.Kr)((0,cr.Id)(class{}));let Qo=(()=>{class N extends Yo{constructor(c,E,ce,Ne,ot){super(),this._elementRef=c,this._document=E,this._focusMonitor=ce,this._parentMenu=Ne,this._changeDetectorRef=ot,this.role="menuitem",this._hovered=new vo.x,this._focused=new vo.x,this._highlighted=!1,this._triggersSubmenu=!1,Ne?.addItem?.(this)}focus(c,E){this._focusMonitor&&c?this._focusMonitor.focusVia(this._getHostElement(),c,E):this._getHostElement().focus(E),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(c){this.disabled&&(c.preventDefault(),c.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const c=this._elementRef.nativeElement.cloneNode(!0),E=c.querySelectorAll("mat-icon, .material-icons");for(let ce=0;ce{class N{constructor(c,E,ce,Ne){this._elementRef=c,this._ngZone=E,this._defaultOptions=ce,this._changeDetectorRef=Ne,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new r.n_E,this._tabSubscription=zo.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new vo.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+_a++}get xPosition(){return this._xPosition}set xPosition(c){this._xPosition=c,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(c){this._yPosition=c,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(c){this._overlapTrigger=(0,lr.Ig)(c)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(c){this._hasBackdrop=(0,lr.Ig)(c)}set panelClass(c){const E=this._previousPanelClass;E&&E.length&&E.split(" ").forEach(ce=>{this._classList[ce]=!1}),this._previousPanelClass=c,c&&c.length&&(c.split(" ").forEach(ce=>{this._classList[ce]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(c){this.panelClass=c}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Eo.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Co.O)(this._directDescendantItems),(0,wo.w)(c=>(0,hi.T)(...c.map(E=>E._focused)))).subscribe(c=>this._keyManager.updateActiveItem(c)),this._directDescendantItems.changes.subscribe(c=>{const E=this._keyManager;if("enter"===this._panelAnimationState&&E.activeItem?._hasFocus()){const ce=c.toArray(),Ne=Math.max(0,Math.min(ce.length-1,E.activeItemIndex||0));ce[Ne]&&!ce[Ne].disabled?E.setActiveItem(Ne):E.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,Co.O)(this._directDescendantItems),(0,wo.w)(E=>(0,hi.T)(...E.map(ce=>ce._hovered))))}addItem(c){}removeItem(c){}_handleKeydown(c){const E=c.keyCode,ce=this._keyManager;switch(E){case Ei.hY:(0,Ei.Vb)(c)||(c.preventDefault(),this.closed.emit("keydown"));break;case Ei.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Ei.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(E===Ei.LH||E===Ei.JH)&&ce.setFocusOrigin("keyboard"),void ce.onKeydown(c)}c.stopPropagation()}focusFirstItem(c="program"){this._ngZone.onStable.pipe((0,ss.q)(1)).subscribe(()=>{let E=null;if(this._directDescendantItems.length&&(E=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!E||!E.contains(document.activeElement)){const ce=this._keyManager;ce.setFocusOrigin(c).setFirstItemActive(),!ce.activeItem&&E&&E.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(c){const E=Math.min(this._baseElevation+c,24),ce=`${this._elevationPrefix}${E}`,Ne=Object.keys(this._classList).find(ot=>ot.startsWith(this._elevationPrefix));(!Ne||Ne===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ce]=!0,this._previousElevation=ce)}setPositionClasses(c=this.xPosition,E=this.yPosition){const ce=this._classList;ce["mat-menu-before"]="before"===c,ce["mat-menu-after"]="after"===c,ce["mat-menu-above"]="above"===E,ce["mat-menu-below"]="below"===E,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(c){this._animationDone.next(c),this._isAnimating=!1}_onAnimationStart(c){this._isAnimating=!0,"enter"===c.toState&&0===this._keyManager.activeItemIndex&&(c.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Co.O)(this._allItems)).subscribe(c=>{this._directDescendantItems.reset(c.filter(E=>E._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Zo),r.Y36(r.sBO))},N.\u0275dir=r.lG2({type:N,contentQueries:function(c,E,ce){if(1&c&&(r.Suo(ce,ga,5),r.Suo(ce,Qo,5),r.Suo(ce,Qo,4)),2&c){let Ne;r.iGM(Ne=r.CRH())&&(E.lazyContent=Ne.first),r.iGM(Ne=r.CRH())&&(E._allItems=Ne),r.iGM(Ne=r.CRH())&&(E.items=Ne)}},viewQuery:function(c,E){if(1&c&&r.Gf(r.Rgc,5),2&c){let ce;r.iGM(ce=r.CRH())&&(E.templateRef=ce.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"}}),N})(),D=(()=>{class N extends M{constructor(c,E,ce,Ne){super(c,E,ce,Ne),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Zo),r.Y36(r.sBO))},N.\u0275cmp=r.Xpm({type:N,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(c,E){2&c&&r.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[r._Bn([{provide:Or,useExisting:N}]),r.qOj],ngContentSelectors:Mo,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(c,E){1&c&&(r.F$t(),r.YNc(0,Go,3,6,"ng-template"))},dependencies:[F.mk],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;position:relative}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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}'],encapsulation:2,data:{animation:[cs.transformMenu,cs.fadeInItems]},changeDetection:0}),N})();const y=new r.OlP("mat-menu-scroll-strategy"),ge={provide:y,deps:[to.aV],useFactory:function W(N){return()=>N.scrollStrategies.reposition()}},it=(0,ls.i$)({passive:!0});let ht=(()=>{class N{constructor(c,E,ce,Ne,ot,dt,vt,Ot,Bt){this._overlay=c,this._element=E,this._viewContainerRef=ce,this._menuItemInstance=dt,this._dir=vt,this._focusMonitor=Ot,this._ngZone=Bt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=zo.w0.EMPTY,this._hoverSubscription=zo.w0.EMPTY,this._menuCloseSubscription=zo.w0.EMPTY,this._handleTouchStart=Gt=>{(0,Eo.yG)(Gt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ne,this._parentMaterialMenu=ot instanceof M?ot:void 0,E.nativeElement.addEventListener("touchstart",this._handleTouchStart,it),dt&&(dt._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(c){this.menu=c}get menu(){return this._menu}set menu(c){c!==this._menu&&(this._menu=c,this._menuCloseSubscription.unsubscribe(),c&&(this._menuCloseSubscription=c.close.subscribe(E=>{this._destroyMenu(E),("click"===E||"tab"===E)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(E)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,it),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const c=this.menu;if(this._menuOpen||!c)return;const E=this._createOverlay(c),ce=E.getConfig(),Ne=ce.positionStrategy;this._setPosition(c,Ne),ce.hasBackdrop=c.hasBackdrop??!this.triggersSubmenu(),E.attach(this._getPortal(c)),c.lazyContent&&c.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(c),c instanceof M&&(c._startAnimation(),c._directDescendantItems.changes.pipe((0,bo.R)(c.close)).subscribe(()=>{Ne.withLockedPosition(!1).reapplyLastPosition(),Ne.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(c,E){this._focusMonitor&&c?this._focusMonitor.focusVia(this._element,c,E):this._element.nativeElement.focus(E)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(c){if(!this._overlayRef||!this.menuOpen)return;const E=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===c||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,E instanceof M?(E._resetAnimation(),E.lazyContent?E._animationDone.pipe((0,as.h)(ce=>"void"===ce.toState),(0,ss.q)(1),(0,bo.R)(E.lazyContent._attached)).subscribe({next:()=>E.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),E?.lazyContent?.detach())}_initMenu(c){c.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,c.direction=this.dir,this._setMenuElevation(c),c.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(c){if(c.setElevation){let E=0,ce=c.parentMenu;for(;ce;)E++,ce=ce.parentMenu;c.setElevation(E)}}_setIsMenuOpen(c){this._menuOpen=c,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(c)}_createOverlay(c){if(!this._overlayRef){const E=this._getOverlayConfig(c);this._subscribeToPositions(c,E.positionStrategy),this._overlayRef=this._overlay.create(E),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(c){return new to.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:c.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:c.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(c,E){c.setPositionClasses&&E.positionChanges.subscribe(ce=>{const Ne="start"===ce.connectionPair.overlayX?"after":"before",ot="top"===ce.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>c.setPositionClasses(Ne,ot)):c.setPositionClasses(Ne,ot)})}_setPosition(c,E){let[ce,Ne]="before"===c.xPosition?["end","start"]:["start","end"],[ot,dt]="above"===c.yPosition?["bottom","top"]:["top","bottom"],[vt,Ot]=[ot,dt],[Bt,Gt]=[ce,Ne],bn=0;if(this.triggersSubmenu()){if(Gt=ce="before"===c.xPosition?"start":"end",Ne=Bt="end"===ce?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const mn=this._parentMaterialMenu.items.first;this._parentInnerPadding=mn?mn._getHostElement().offsetTop:0}bn="bottom"===ot?this._parentInnerPadding:-this._parentInnerPadding}}else c.overlapTrigger||(vt="top"===ot?"bottom":"top",Ot="top"===dt?"bottom":"top");E.withPositions([{originX:ce,originY:vt,overlayX:Bt,overlayY:ot,offsetY:bn},{originX:Ne,originY:vt,overlayX:Gt,overlayY:ot,offsetY:bn},{originX:ce,originY:Ot,overlayX:Bt,overlayY:dt,offsetY:-bn},{originX:Ne,originY:Ot,overlayX:Gt,overlayY:dt,offsetY:-bn}])}_menuClosingActions(){const c=this._overlayRef.backdropClick(),E=this._overlayRef.detachments(),ce=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,qr.of)(),Ne=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,as.h)(ot=>ot!==this._menuItemInstance),(0,as.h)(()=>this._menuOpen)):(0,qr.of)();return(0,hi.T)(c,ce,Ne,E)}_handleMousedown(c){(0,Eo.X6)(c)||(this._openedBy=0===c.button?"mouse":void 0,this.triggersSubmenu()&&c.preventDefault())}_handleKeydown(c){const E=c.keyCode;(E===Ei.K5||E===Ei.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(E===Ei.SV&&"ltr"===this.dir||E===Ei.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(c){this.triggersSubmenu()?(c.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,as.h)(c=>c===this._menuItemInstance&&!c.disabled),(0,eo.g)(0,Do.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof M&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ss.q)(1),(0,eo.g)(0,Do.E),(0,bo.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(c){return(!this._portal||this._portal.templateRef!==c.templateRef)&&(this._portal=new Os.UE(c.templateRef,this._viewContainerRef)),this._portal}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(to.aV),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(y),r.Y36(Or,8),r.Y36(Qo,10),r.Y36(Wo.Is,8),r.Y36(Eo.tE),r.Y36(r.R0b))},N.\u0275dir=r.lG2({type:N,hostVars:3,hostBindings:function(c,E){1&c&&r.NdJ("click",function(Ne){return E._handleClick(Ne)})("mousedown",function(Ne){return E._handleMousedown(Ne)})("keydown",function(Ne){return E._handleKeydown(Ne)}),2&c&&r.uIk("aria-haspopup",E.menu?"menu":null)("aria-expanded",E.menuOpen||null)("aria-controls",E.menuOpen?E.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"}}),N})(),Tt=(()=>{class N extends ht{}return N.\u0275fac=function(){let u;return function(E){return(u||(u=r.n5z(N)))(E||N)}}(),N.\u0275dir=r.lG2({type:N,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[r.qOj]}),N})(),jt=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({providers:[ge],imports:[F.ez,cr.BQ,cr.si,to.U8,Ar.ZD,cr.BQ]}),N})();var vn=s(6438);function Qt(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.onLoginClick())}),r._uU(1,"\nLogin\n"),r.qZA()}}function Pn(N,u){if(1&N&&(r.TgZ(0,"div",12),r._UZ(1,"app-avatar",13),r.qZA()),2&N){const c=r.oxw(),E=r.MAs(3);r.Q6J("matMenuTriggerFor",E),r.xp6(1),r.Q6J("avatarSrc",c.cdn.getFileLink(null==c.user?null:c.user.avatarLink))}}function Un(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.onCreateProjectClick())}),r.TgZ(1,"mat-icon"),r._uU(2,"add"),r.qZA(),r.TgZ(3,"span"),r._uU(4,"Create Project"),r.qZA()()}}let ai=(()=>{class N{constructor(c,E,ce,Ne,ot){this.cdn=c,this.authService=E,this.router=ce,this.uiMessageService=Ne,this.security=ot,this.onDestroy$=new vo.x,this.isLoggedIn=!1,this.canCreateProject=!1}ngOnInit(){var c=this;return(0,Ms.Z)(function*(){yield c.security.waitUntilReady(),c.authService.payload$.pipe((0,bo.R)(c.onDestroy$)).subscribe(E=>{c.user=E?.user,c.isLoggedIn=void 0!==E}),c.security.dataFetched$.pipe((0,bo.R)(c.onDestroy$)).subscribe(E=>{c.canCreateProject=c.security.makePermCalc().hasPermission(ha.y3.CreateProject)})})()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}onLoginClick(){this.router.navigateByUrl("/login")}onLogoutClick(){this.authService.logout()}onProfileClick(){this.router.navigateByUrl(`/members/${this.user?.username}`)}onCreateProjectClick(){this.router.navigateByUrl("/projects/new")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Ss.U),r.Y36(Jr.e),r.Y36(Yi.F0),r.Y36(Xr.S),r.Y36($o.I))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-login-button"]],decls:21,vars:6,consts:[["mat-flat-button","","pill","","color","primary",3,"click",4,"ngIf"],["style","padding: 0.5em 0 0.5em 0;",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"menu"],[2,"padding","1em","width","12.5em","display","flex","flex-direction","column","gap","0.5em","align-items","center",3,"click"],["size","medium",3,"avatarSrc"],[2,"display","flex","flex-direction","column","align-items","center"],[1,"mb-0"],["mat-flat-button","","color","primary","pill","",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","pill","","color","primary",3,"click"],[2,"padding","0.5em 0 0.5em 0",3,"matMenuTriggerFor"],["size","input","border-width","0px","clickable-style","",3,"avatarSrc"]],template:function(c,E){1&c&&(r.YNc(0,Qt,2,0,"button",0),r.YNc(1,Pn,2,2,"div",1),r.TgZ(2,"mat-menu",null,2)(4,"div",3)(5,"div",4),r.NdJ("click",function(Ne){return Ne.stopPropagation()}),r._UZ(6,"app-avatar",5),r.TgZ(7,"div",6)(8,"h4",7),r._uU(9),r.qZA(),r.TgZ(10,"p",7),r._uU(11),r.qZA()(),r.TgZ(12,"button",8),r.NdJ("click",function(){return E.onLogoutClick()}),r._uU(13,"Logout"),r.qZA()(),r._UZ(14,"mat-divider"),r.TgZ(15,"button",9),r.NdJ("click",function(){return E.onProfileClick()}),r.TgZ(16,"mat-icon"),r._uU(17,"person"),r.qZA(),r.TgZ(18,"span"),r._uU(19,"Profile"),r.qZA()(),r.YNc(20,Un,5,0,"button",10),r.qZA()()),2&c&&(r.Q6J("ngIf",!E.isLoggedIn),r.xp6(1),r.Q6J("ngIf",E.isLoggedIn),r.xp6(5),r.Q6J("avatarSrc",E.cdn.getFileLink(null==E.user?null:E.user.avatarLink)),r.xp6(3),r.Oqu(null==E.user?null:E.user.displayName),r.xp6(2),r.hij("@",null==E.user?null:E.user.username,""),r.xp6(9),r.Q6J("ngIf",E.canCreateProject))},dependencies:[F.O5,os.v,Mr.lW,ar.Hw,As.A,D,Qo,Tt,vn.d]}),N})();var Qi=s(6779);const Tr=["*"];let Jo=(()=>{class N extends Qi.S{}return N.\u0275fac=function(){let u;return function(E){return(u||(u=r.n5z(N)))(E||N)}}(),N.\u0275cmp=r.Xpm({type:N,selectors:[["app-text-button"]],features:[r.qOj],ngContentSelectors:Tr,decls:3,vars:3,consts:[["type","button",3,"click"],[1,"app-text-button","text"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(){return E.onClick()}),r.TgZ(1,"span",1),r.Hsn(2),r.qZA()()),2&c&&r.Gre("app-text-button button ",E.color,"")},styles:[".button[_ngcontent-%COMP%]{border:none;background-color:transparent;text-align:center;text-decoration:none;display:inline-block;white-space:nowrap;height:2.5em;font-size:1.2em;width:100%;display:flex;align-items:center;justify-content:center;outline:0px}.text[_ngcontent-%COMP%]{margin:auto auto auto 0}"]}),N})();function Vr(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"div")(1,"app-text-button",10),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.expanded=!1)}),r._uU(2),r.qZA()()}if(2&N){const c=u.$implicit;r.xp6(1),r.Q6J("link",c.link),r.xp6(1),r.Oqu(c.name)}}function no(N,u){1&N&&(r.TgZ(0,"mat-icon",11),r._uU(1,"menu"),r.qZA())}function dd(N,u){1&N&&(r.TgZ(0,"mat-icon",11),r._uU(1,"close"),r.qZA())}const jl=["*"];let Nn=(()=>{class N{constructor(){this.pageLinks=[],this.expanded=!1}get openCloseTrigger(){return this.expanded?"open":"closed"}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-hamburger-menu"]],inputs:{pageLinks:"pageLinks"},ngContentSelectors:jl,decls:17,vars:4,consts:[[1,"app-hamburger-menu","bg"],[1,"app-hamburger-menu","content"],[1,"app-hamburger-menu","dropdown-bg"],[1,"app-hamburger-menu","dropdown-content"],[4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","height","50px","align-items","center"],[2,"margin-left","8px"],[2,"position","absolute","right","0","display","flex","flex-direction","row","gap","1em","align-items","center"],["mat-icon-button","",3,"click"],["class","app-hamburger-menu hamburger-icon",4,"ngIf"],["route","",3,"link","click"],[1,"app-hamburger-menu","hamburger-icon"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),r.YNc(4,Vr,3,2,"div",4),r.TgZ(5,"div"),r._UZ(6,"app-header-social-media-buttons"),r.qZA(),r.TgZ(7,"div",5),r._UZ(8,"div",6)(9,"app-dark-mode-toggle"),r.qZA()()(),r._UZ(10,"app-cogs-logo-text-button"),r.TgZ(11,"div",7),r._UZ(12,"app-login-button"),r.TgZ(13,"button",8),r.NdJ("click",function(){return E.expanded=!E.expanded}),r.YNc(14,no,2,0,"mat-icon",9),r.YNc(15,dd,2,0,"mat-icon",9),r.qZA()(),r.Hsn(16),r.qZA()()),2&c&&(r.xp6(2),r.Q6J("@openClose",E.openCloseTrigger),r.xp6(2),r.Q6J("ngForOf",E.pageLinks),r.xp6(10),r.Q6J("ngIf",!E.expanded),r.xp6(1),r.Q6J("ngIf",E.expanded))},dependencies:[F.sg,F.O5,Mr.lW,ar.Hw,jo,Uo,Ho,ai,Jo],styles:[".bg[_ngcontent-%COMP%]{z-index:200;width:100%;height:100%}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:left;margin:auto;height:100%;padding-left:20px}.dropdown-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:10}.dropdown-content[_ngcontent-%COMP%]{align-items:left;justify-content:top;flex-direction:column;width:100%;padding-left:20px;margin-top:4.5em;margin-left:auto;margin-right:auto}.content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:20px}app-cogs-logo-text-button[_ngcontent-%COMP%]{z-index:10}.hamburger-icon[_ngcontent-%COMP%]{position:relative;top:-2px;z-index:10}"],data:{animation:[(0,f.X$)("openClose",[(0,f.SB)("open",(0,f.oB)({opacity:1})),(0,f.SB)("closed",(0,f.oB)({opacity:0,pointerEvents:"none"})),(0,f.eR)("open => closed",[(0,f.jt)("100ms ease-in")]),(0,f.eR)("closed => open",[(0,f.ru)([(0,f.jt)("200ms ease-out"),(0,f.IO)(".dropdown-content>*",[(0,f.oB)({opacity:0,transform:"translateX(-100px)"}),(0,f.EY)(10,[(0,f.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)",(0,f.oB)({opacity:1,transform:"none"}))])])])])])]}}),N})();function Ul(N,u){if(1&N&&(r.TgZ(0,"app-text-button",5),r._uU(1),r.qZA()),2&N){const c=u.$implicit;r.Q6J("link",c.link),r.xp6(1),r.Oqu(c.name)}}const hd=["*"];let fd=(()=>{class N{constructor(){this.pageLinks=[]}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-horizontal-menu"]],inputs:{pageLinks:"pageLinks"},ngContentSelectors:hd,decls:10,vars:1,consts:[[1,"app-horizontal-menu","bg"],[1,"app-horizontal-menu","content"],[2,"position","absolute","left","1em","display","flex","flex-direction","row","gap","1.25em","justify-content","center"],["route","",3,"link",4,"ngFor","ngForOf"],[2,"position","absolute","right","0","display","flex","flex-direction","row","gap","1.25em","justify-content","center"],["route","",3,"link"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"div",2)(3,"app-cogs-logo-text-button"),r.YNc(4,Ul,2,2,"app-text-button",3),r.TgZ(5,"div",4),r._UZ(6,"app-header-social-media-buttons")(7,"app-dark-mode-toggle")(8,"app-login-button"),r.qZA(),r.Hsn(9),r.qZA()()),2&c&&(r.xp6(4),r.Q6J("ngForOf",E.pageLinks))},dependencies:[F.sg,jo,Uo,Ho,ai,Jo],styles:[".bg[_ngcontent-%COMP%]{align-items:center;width:100%;height:100%}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:left;margin:auto;height:100%;width:var(--main-width)}.content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:1.25em}.cogs-title[_ngcontent-%COMP%]{float:left;margin-top:auto;margin-bottom:auto;height:100%;vertical-align:middle}"]}),N})();function pd(N,u){if(1&N&&r._UZ(0,"app-horizontal-menu",2),2&N){const c=r.oxw();r.Q6J("pageLinks",c.settings.General.pageLinks)}}function gd(N,u){if(1&N&&r._UZ(0,"app-hamburger-menu",2),2&N){const c=r.oxw();r.Q6J("pageLinks",c.settings.General.pageLinks)}}const md=function(N){return{detached:N}};let _d=(()=>{class N{constructor(c,E){this.breakpointManager=c,this.settings=E,this.scrolled=!1}ngOnInit(){}onScroll(){this.scrolled=0!=window.pageYOffset}readProperty(){return window.getComputedStyle(document.body).getPropertyValue("--screen-type")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Qa.I),r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-site-header"]],hostBindings:function(c,E){1&c&&r.NdJ("scroll",function(Ne){return E.onScroll(Ne)},!1,r.Jf7)},decls:3,vars:5,consts:[[1,"container",3,"ngClass"],[3,"pageLinks",4,"ngIf"],[3,"pageLinks"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0),r.YNc(1,pd,1,1,"app-horizontal-menu",1),r.YNc(2,gd,1,1,"app-hamburger-menu",1),r.qZA()),2&c&&(r.Q6J("ngClass",r.VKq(3,md,E.scrolled)),r.xp6(1),r.Q6J("ngIf",!E.breakpointManager.matchedBreakpointOrBelow("MOBILE")),r.xp6(1),r.Q6J("ngIf",E.breakpointManager.matchedBreakpointOrBelow("MOBILE")))},dependencies:[F.mk,F.O5,Nn,fd],styles:["[_nghost-%COMP%]{height:var(--site-header-height);position:fixed;top:0;width:100%;z-index:100;flex:0 1 auto}.container[_ngcontent-%COMP%]{width:100%;height:100%;transition:.3s}.detached[_ngcontent-%COMP%]{transition:.3s;box-shadow:0 0 32px #000}"]}),N})(),us=(()=>{class N{constructor(c){this.settings=c}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-footer-social-media-buttons"]],decls:11,vars:4,consts:[[1,"mb-0",2,"text-align","center"],[2,"display","flex","flex-direction","row","gap","16px"],["mat-icon-button","","target","_blank",3,"href"],["size","24px","icon","instagram",1,"icon"],["size","24px","icon","twitter",1,"icon"],["size","24px","icon","discord",1,"icon"],["size","24px","icon","mail",1,"icon"]],template:function(c,E){1&c&&(r.TgZ(0,"p",0),r._uU(1,"Follow Us"),r.qZA(),r.TgZ(2,"div",1)(3,"a",2),r._UZ(4,"ic-icon",3),r.qZA(),r.TgZ(5,"a",2),r._UZ(6,"ic-icon",4),r.qZA(),r.TgZ(7,"a",2),r._UZ(8,"ic-icon",5),r.qZA(),r.TgZ(9,"a",2),r._UZ(10,"ic-icon",6),r.qZA()()),2&c&&(r.xp6(3),r.Q6J("href",E.settings.General.instagramLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.twitterLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.discordLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.mailingListLink,r.LSH))},dependencies:[Nr.ar],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.icon[_ngcontent-%COMP%]{position:relative;top:.5em}"]}),N})(),yd=(()=>{class N{constructor(){}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-site-footer"]],decls:7,vars:0,consts:[[1,"app-site-footer","bg"],[1,"app-site-footer","content"],[1,"mt-16"],["href","https://github.com/RUCOGS/angular-cogs.github.io/","target","_blank"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"app-footer-social-media-buttons"),r.TgZ(3,"div",2),r._uU(4,"Made using Angular and hosted on Github Pages. Check out "),r.TgZ(5,"a",3),r._uU(6,"our repo here"),r.qZA()()()())},dependencies:[us],styles:["[_nghost-%COMP%]{flex:0 1 auto;position:relative}.bg[_ngcontent-%COMP%]{align-items:center;width:100%;height:-moz-fit-content;height:fit-content;padding-top:20px;padding-bottom:20px;box-shadow:0 0 32px #000}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;margin:auto;height:100%;width:80%}"]}),N})(),vd=(()=>{class N{constructor(c,E,ce,Ne,ot){this.elementRef=c,this.seoService=E,this.title="cogs",this.showSidebars=!1,this.onDestroy$=new vo.x,ce.registerAll(Ne.General.icons),this.updateStyleVars()}ngOnInit(){this.seoService.ngOnInit()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}updateStyleVars(){this.showSidebars?(this.elementRef.nativeElement.style.setProperty("--main-width","min(80%, 1080px)"),this.elementRef.nativeElement.style.setProperty("--content-width","100%")):(this.elementRef.nativeElement.style.setProperty("--main-width","unset"),this.elementRef.nativeElement.style.setProperty("--content-width","unset"))}getOutletContainerStyle(){return this.showSidebars?{"flex-basis":"var(--main-width)"}:{width:"100%"}}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(ua.L),r.Y36(Nr.C6),r.Y36(Zr.g),r.Y36(Ds.n))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-root"]],decls:8,vars:1,consts:[[2,"position","relative","display","flex","flex-flow","column","width","100%"],[2,"display","flex","flex-direction","row","position","relative","min-height","100vh"],[1,"outlet-container",2,"display","flex",3,"ngStyle"],[2,"height","var(--site-header-height)"],[2,"flex","1"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0),r._UZ(1,"app-site-header"),r.TgZ(2,"div",1)(3,"div",2),r._UZ(4,"div",3),r.TgZ(5,"div",4),r._UZ(6,"router-outlet"),r.qZA(),r._UZ(7,"app-site-footer"),r.qZA()()()),2&c&&(r.xp6(3),r.Q6J("ngStyle",E.getOutletContainerStyle()))},dependencies:[F.PC,Yi.lC,_d,yd],styles:["div.outlet-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;position:relative;flex:1}"]}),N})();var li=s(5732),ya=s(7657),ds=s(5719),bd=s(5491),va=s(7763),Mi=s(7545);let xr=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,va.I,Nr.QX,ar.Ps,Gn.rP,Mr.ot,Yi.Bz,Mi.fF,bd.F,jt,vn.t,ds.g]}),N})(),ba=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Nr.QX]}),N})();var Ps=s(2940);let Xo=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Mr.ot,va.I,ar.Ps,Mi.fF,Ps.AV,Yi.Bz]}),N})(),Ea=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Mr.ot,va.I]}),N})(),Hl=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,xr,ba,Xo,Ea,xr,ba,Xo,Ea]}),N})();const $l=[{path:"discord",loadChildren:()=>s.e(938).then(s.bind(s,9938)).then(N=>N.DiscordPageModule)},{path:"home",loadChildren:()=>Promise.all([s.e(780),s.e(454)]).then(s.bind(s,5454)).then(N=>N.HomePageModule)},{path:"calendar",loadChildren:()=>Promise.all([s.e(592),s.e(210)]).then(s.bind(s,5210)).then(N=>N.CalendarPageModule)},{path:"projects",loadChildren:()=>s.e(657).then(s.bind(s,3657)).then(N=>N.ProjectsDirModule)},{path:"pictures",loadChildren:()=>Promise.all([s.e(592),s.e(418)]).then(s.bind(s,7418)).then(N=>N.PicturesPageModule)},{path:"resources",loadChildren:()=>Promise.all([s.e(592),s.e(715)]).then(s.bind(s,2900)).then(N=>N.ResourcesPageModule)},{path:"sgj",redirectTo:"scarlet-game-jam"},{path:"scarlet-game-jam",loadChildren:()=>Promise.all([s.e(780),s.e(592),s.e(341)]).then(s.bind(s,6212)).then(N=>N.ScarletGameJamPageModule)},{path:"ggj",redirectTo:"global-game-jam"},{path:"global-game-jam",loadChildren:()=>Promise.all([s.e(780),s.e(592),s.e(515)]).then(s.bind(s,8277)).then(N=>N.GlobalGameJamPageModule)},{path:"blog",loadChildren:()=>s.e(543).then(s.bind(s,3543)).then(N=>N.BlogDirModule)},{path:"login",loadChildren:()=>s.e(935).then(s.bind(s,2935)).then(N=>N.LoginPageModule)},{path:"signup",loadChildren:()=>s.e(446).then(s.bind(s,5446)).then(N=>N.SignupPageModule)},{path:"members",loadChildren:()=>s.e(965).then(s.bind(s,965)).then(N=>N.UsersDirModule)},{path:"test",loadChildren:()=>s.e(725).then(s.bind(s,4725)).then(N=>N.TestPageModule)},{path:"result",loadChildren:()=>s.e(451).then(s.bind(s,4451)).then(N=>N.ResultModule)},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",redirectTo:"/home",pathMatch:"full"}];let Ed=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[Yi.Bz.forRoot($l,{scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Yi.Bz]}),N})(),Dd=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N,bootstrap:[vd]}),N.\u0275inj=r.cJS({imports:[o.b2,ca,_.xu,li.JF,Ed,Hl,Mi.fF,ya.JP.forRoot({sanitize:r.q3G.NONE})]}),N})();(0,r.G48)(),o.q6().bootstrapModule(Dd).catch(N=>console.error(N))},3176:(Ue,J,s)=>{"use strict";s.d(J,{WL:()=>g,Kh:()=>S,GD:()=>b,o1:()=>T,BS:()=>ue,JP:()=>r,eb:()=>h});const o={};function r(V){return!0===V||Array.isArray(V)}function h(V){return V&&V.baseDomain&&r(V.crudDomain)}const _={permissions:{}};function f(V,j,X){return!(!X||!j)&&(r(j)?L(j,X):h(j)?function d(V,j,X){return!!L(j.baseDomain,X)&&w(V,j.extraData,X)}(V,j,X):w(V,j,X))}function w(V,j,X){if(o[V]){const Ie=o[V]?.isExtraDataValidForOpDomain;if(Ie)return Ie(j,X)}return!1}function L(V,j){if(void 0===V)return!1;if(1==V)return!0;const X=V;for(const Ie of X){let ke=!0;for(const tt in j)if(Ie.hasOwnProperty(tt)&&j[tt]!==Ie[tt]){ke=!1;break}if(ke)return!0}return!1}var A=s(4028);class g{constructor(j=_,X={}){this.securityContext=j,this.operationDomain=X}withContext(j){return this.securityContext=j,this}withDomains(j){return this.operationDomain=j,this}withDomain(j){return this.operationDomain=j,this}hasPermission(j){if(!this.securityContext)return!1;if(Array.isArray(this.operationDomain)){for(const X of this.operationDomain)if(f(j,this.securityContext.permissions[j],X))return!0;return!1}return f(j,this.securityContext.permissions[j],this.operationDomain)}hasAllPermissions(...j){for(const X of j)if(!this.hasPermission(X))return!1;return!0}hasSomePermission(...j){for(const X of j)if(this.hasPermission(X))return!0;return!1}assertAllPermissions(...j){if(!this.hasAllPermissions(...j))throw new A.oo(403,`Missing required permissions: "${j.toString()}".`)}assertSomePermissions(...j){if(!this.hasSomePermission(...j))throw new A.oo(403,`Must have at least one permission from "${j.toString()}".`)}assertPermission(j){if(!this.hasPermission(j))throw new A.oo(403,`Missing required permission "${j}".`)}}var m=s(3556),b=(()=>{return(V=b||(b={}))[V.User=0]="User",V[V.ProjectMember=1]="ProjectMember",V[V.EBoard=2]="EBoard",b;var V})();const S={[m.LO.User]:{type:[b.User],name:"\u{1f642} User",childRoles:[m.LO.Artist,m.LO.GameDesigner,m.LO.Musician,m.LO.SoundDesigner,m.LO.Programmer,m.LO.Writer]},[m.LO.Moderator]:{type:[b.User],name:"\u{1f6c2} Moderator",inheritPerms:[m.LO.User],childRoles:[m.LO.User,m.LO.President,m.LO.VicePresident,m.LO.Eboard,m.LO.EventCoordinator,m.LO.CommunityManager,m.LO.Webmaster,m.LO.Treasurer,m.LO.Outreach,m.LO.BotDeveloper,m.LO.ClubGraphicArtist,m.LO.CommunicationsSpecialist,m.LO.PromotionsManager,m.LO.MerchandiseManager,m.LO.ProjectOwner]},[m.LO.SuperAdmin]:{type:[b.User],name:"\u{1f60e} Super Admin",inheritPerms:[m.LO.Moderator],childRoles:[m.LO.Moderator]},[m.LO.Artist]:{type:[b.User,b.ProjectMember],name:"\u{1f3a8} Artist"},[m.LO.SoundDesigner]:{type:[b.User,b.ProjectMember],name:"\u{1f50a} Sound Designer"},[m.LO.Musician]:{type:[b.User,b.ProjectMember],name:"\u{1f3b7} Musician"},[m.LO.Programmer]:{type:[b.User,b.ProjectMember],name:"\u{1f4bb} Programmer"},[m.LO.GameDesigner]:{type:[b.User,b.ProjectMember],name:"\u{1f3d7}\ufe0f Game Designer"},[m.LO.Writer]:{type:[b.User,b.ProjectMember],name:"\u{1f4dd} Writer"},[m.LO.Eboard]:{type:[b.EBoard],name:"\u{1f4d8} E-Board"},[m.LO.President]:{name:"\u{1f451} President",type:[b.EBoard]},[m.LO.VicePresident]:{type:[b.EBoard],name:"\u{1f5dc}\ufe0f Vice President"},[m.LO.ClubGraphicArtist]:{type:[b.EBoard],name:"\u{1f3a8} Club Graphic Artist"},[m.LO.EventCoordinator]:{type:[b.EBoard],name:"\u{1f303} Event Coordinator"},[m.LO.CommunityManager]:{type:[b.EBoard],name:"\u{1f9d1}\u200d\u{1f91d}\u200d\u{1f9d1} Community Manager"},[m.LO.Outreach]:{type:[b.EBoard],name:"\u{1f4e4} Outreach"},[m.LO.BotDeveloper]:{type:[b.EBoard],name:"\u{1f916} Bot Developer"},[m.LO.Treasurer]:{type:[b.EBoard],name:"\u{1f3e6} Treasurer"},[m.LO.Webmaster]:{type:[b.EBoard],name:"\u{1f578}\ufe0f Webmaster"},[m.LO.CommunicationsSpecialist]:{type:[b.EBoard],name:"\u{1f5e3}\ufe0f Communications Specialist"},[m.LO.PromotionsManager]:{type:[b.EBoard],name:"\u{1faa7} Promotions Manager"},[m.LO.MerchandiseManager]:{type:[b.EBoard],name:"\u{1f455} Merch Manager"},[m.LO.ProjectMember]:{type:[b.ProjectMember],name:"\u{1f642} Project Member"},[m.LO.ProjectOfficer]:{type:[b.ProjectMember],name:"\u{1f46e} Project Officer",inheritPerms:[m.LO.ProjectMember],childRoles:[m.LO.ProjectMember]},[m.LO.ProjectOwner]:{type:[b.ProjectMember],name:"\u{1f607} Project Owner",inheritPerms:[m.LO.ProjectOfficer],childRoles:[m.LO.ProjectOfficer]}},v=[];for(const[V,j]of Object.entries(S))v.push({...j,roleCode:V});function T(V){const j=new Set(V);for(const X of V){if(!j.has(X))continue;const Ie=Se(X);for(const ke of V)!j.has(X)||Ie.includes(ke)&&j.delete(ke)}return Array.from(j.values())}function ue(V){const j=new Set;let X=[];for(const Ie of V){const ke=S[Ie].childRoles;if(ke)for(const tt of ke)X=X.concat(Me(tt,j))}return X}function Me(V,j){if(j.has(V))return[];j.add(V);let X=[];const Ie=S[V];if(Ie&&Ie.childRoles)for(const ke of Ie.childRoles)X=X.concat(Me(ke,j));return X.push(V),X}function Se(V){let j=[];const X=S[V];if(X&&X.childRoles)for(const Ie of X.childRoles)j=j.concat(ve(Ie));return j}function ve(V){let j=[];const X=S[V];if(X&&X.childRoles)for(const Ie of X.childRoles)j=j.concat(ve(Ie));return j.push(V),j}},4028:(Ue,J,s)=>{"use strict";function h(L,A){for(let g=0;gh,oo:()=>w}),s(2978);class w extends Error{constructor(A,g){super(g),this.statusCode=A,this.message=g}}},592:(Ue,J,s)=>{"use strict";s.d(J,{_p:()=>S,r8:()=>x,v:()=>d}),s(3556);var r=s(4028);function d(T,ue,Z){if((0,r.bs)(T,ue))throw new r.oo(400,Z)}const b=/^[a-z]*[0-9]+$/;function S(T){return!!T&&b.test(T)}function x(T){return function Ee(T){if(!T||T.length>254)return!1;if(!te.test(T))return!1;var Z=T.split("@");return!(Z[0].length>64||Z[1].split(".").some(function(Se){return Se.length>63}))}(T)&&T.endsWith("rutgers.edu")}const te=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/},4762:(Ue,J,s)=>{"use strict";s.d(J,{FC:()=>te,Jh:()=>A,KL:()=>T,ZT:()=>r,_T:()=>_,ev:()=>H,mG:()=>L,pi:()=>h,qq:()=>x});var o=function(z,Y){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(V,j){V.__proto__=j}||function(V,j){for(var X in j)Object.prototype.hasOwnProperty.call(j,X)&&(V[X]=j[X])})(z,Y)};function r(z,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");function V(){this.constructor=z}o(z,Y),z.prototype=null===Y?Object.create(Y):(V.prototype=Y.prototype,new V)}var h=function(){return h=Object.assign||function(Y){for(var V,j=1,X=arguments.length;j0&&Ie[Ie.length-1])&&(6===$[0]||2===$[0])){V=0;continue}if(3===$[0]&&(!Ie||$[1]>Ie[0]&&$[1]1||tt(xe,Ke)})})}function tt(xe,Ke){try{!function lt(xe){xe.value instanceof x?Promise.resolve(xe.value.v).then($,Re):re(Ie[0][2],xe)}(j[xe](Ke))}catch(me){re(Ie[0][3],me)}}function $(xe){tt("next",xe)}function Re(xe){tt("throw",xe)}function re(xe,Ke){xe(Ke),Ie.shift(),Ie.length&&tt(Ie[0][0],Ie[0][1])}}function T(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,Y=z[Symbol.asyncIterator];return Y?Y.call(z):(z=function m(z){var Y="function"==typeof Symbol&&Symbol.iterator,V=Y&&z[Y],j=0;if(V)return V.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&j>=z.length&&(z=void 0),{value:z&&z[j++],done:!z}}};throw new TypeError(Y?"Object is not iterable.":"Symbol.iterator is not defined.")}(z),V={},j("next"),j("throw"),j("return"),V[Symbol.asyncIterator]=function(){return this},V);function j(Ie){V[Ie]=z[Ie]&&function(ke){return new Promise(function(tt,lt){!function X(Ie,ke,tt,lt){Promise.resolve(lt).then(function($){Ie({value:$,done:tt})},ke)}(tt,lt,(ke=z[Ie](ke)).done,ke.value)})}}}},4654:()=>{},5127:Ue=>{"use strict";var J=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],s=typeof globalThis>"u"?global:globalThis;Ue.exports=function(){for(var r=[],h=0;h{"use strict";var r=s(8540)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}Ue.exports=r},4071:(Ue,J,s)=>{"use strict";var o=s(7316);if(s(9326)()||s(9045)()){var r=Symbol.iterator;Ue.exports=function(ye){return null!=ye&&typeof ye[r]<"u"?ye[r]():o(ye)?Array.prototype[r].call(ye):void 0}}else{var h=s(5105),_=s(9825),f=s(8540),d=f("%Map%",!0),w=f("%Set%",!0),L=s(9568),A=L("Array.prototype.push"),g=L("String.prototype.charCodeAt"),B=L("String.prototype.slice"),b=function(ye){var De=0;return{next:function(){var V,Y=De>=ye.length;return Y||(V=ye[De],De+=1),{done:Y,value:V}}}},S=function(ye,De){if(h(ye)||o(ye))return b(ye);if(_(ye)){var z=0;return{next:function(){var V=function(ye,De){if(De+1>=ye.length)return De+1;var Y=g(ye,De);if(Y<55296||Y>56319)return De+1;var V=g(ye,De+1);return V<56320||V>57343?De+1:De+2}(ye,z),j=B(ye,z,V);return z=V,{done:V>ye.length,value:j}}}}return De&&typeof ye["_es6-shim iterator_"]<"u"?ye["_es6-shim iterator_"]():void 0};if(d||w){var v=s(3926),H=s(5878),x=L("Map.prototype.forEach",!0),te=L("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Ee=L("Map.prototype.iterator",!0),T=L("Set.prototype.iterator",!0),ue=function(ve){var ye=!1;return{next:function(){try{return{done:ye,value:ye?void 0:ve.next()}}catch{return ye=!0,{done:!0,value:void 0}}}}};var Z=L("Map.prototype.@@iterator",!0)||L("Map.prototype._es6-shim iterator_",!0),Me=L("Set.prototype.@@iterator",!0)||L("Set.prototype._es6-shim iterator_",!0);Ue.exports=function(ye){return function(ye){if(v(ye)){if(Ee)return ue(Ee(ye));if(Z)return Z(ye);if(x){var De=[];return x(ye,function(Y,V){A(De,[V,Y])}),b(De)}}if(H(ye)){if(T)return ue(T(ye));if(Me)return Me(ye);if(te){var z=[];return te(ye,function(Y){A(z,Y)}),b(z)}}}(ye)||S(ye)}}else Ue.exports=function(ye){if(null!=ye)return S(ye,!0)}}},8456:(Ue,J,s)=>{"use strict";var o=s(3926),r=s(5878),h=s(8666),_=s(6363);Ue.exports=function(d){if(d&&"object"==typeof d){if(o(d))return"Map";if(r(d))return"Set";if(h(d))return"WeakMap";if(_(d))return"WeakSet"}return!1}},4091:(Ue,J,s)=>{"use strict";s.d(J,{EY:()=>H,F4:()=>g,IO:()=>v,LC:()=>r,SB:()=>A,X$:()=>_,ZE:()=>Ee,ZN:()=>te,_j:()=>o,eR:()=>B,jt:()=>f,k1:()=>T,l3:()=>h,oB:()=>L,pV:()=>b,ru:()=>d,vP:()=>w});class o{}class r{}const h="*";function _(ue,Z){return{type:7,name:ue,definitions:Z,options:{}}}function f(ue,Z=null){return{type:4,styles:Z,timings:ue}}function d(ue,Z=null){return{type:3,steps:ue,options:Z}}function w(ue,Z=null){return{type:2,steps:ue,options:Z}}function L(ue){return{type:6,styles:ue,offset:null}}function A(ue,Z,Me){return{type:0,name:ue,styles:Z,options:Me}}function g(ue){return{type:5,steps:ue}}function B(ue,Z,Me=null){return{type:1,expr:ue,animation:Z,options:Me}}function b(ue=null){return{type:9,options:ue}}function v(ue,Z,Me=null){return{type:11,selector:ue,animation:Z,options:Me}}function H(ue,Z){return{type:12,timings:ue,animation:Z}}function x(ue){Promise.resolve(null).then(ue)}class te{constructor(Z=0,Me=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=Z+Me}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){x(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const Me="start"==Z?this._onStartFns:this._onDoneFns;Me.forEach(Se=>Se()),Me.length=0}}class Ee{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let Me=0,Se=0,ve=0;const ye=this.players.length;0==ye?x(()=>this._onFinish()):this.players.forEach(De=>{De.onDone(()=>{++Me==ye&&this._onFinish()}),De.onDestroy(()=>{++Se==ye&&this._onDestroy()}),De.onStart(()=>{++ve==ye&&this._onStart()})}),this.totalTime=this.players.reduce((De,z)=>Math.max(De,z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const Me=Z*this.totalTime;this.players.forEach(Se=>{const ve=Se.totalTime?Math.min(1,Me/Se.totalTime):1;Se.setPosition(ve)})}getPosition(){const Z=this.players.reduce((Me,Se)=>null===Me||Se.totalTime>Me.totalTime?Se:Me,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const Me="start"==Z?this._onStartFns:this._onDoneFns;Me.forEach(Se=>Se()),Me.length=0}}const T="!"},8954:(Ue,J,s)=>{"use strict";s.d(J,{$s:()=>z,Em:()=>Ie,Kd:()=>Be,X6:()=>nt,ic:()=>tt,kH:()=>K,mK:()=>at,qV:()=>Ge,qm:()=>he,rt:()=>pe,s1:()=>X,tE:()=>de,yG:()=>ft});var o=s(8692),r=s(4537),h=s(6321),_=s(8023),f=s(4813),d=s(4121),w=s(4945),L=s(5436),A=s(8168),g=s(3151),B=s(4970),m=s(7969),b=s(5598),S=s(1588),v=s(2147),H=s(3528),x=s(4929),te=s(7723),Ee=s(1444);function Me(be,Oe){return(be.getAttribute(Oe)||"").match(/\S+/g)||[]}const ve="cdk-describedby-message",ye="cdk-describedby-host";let De=0,z=(()=>{class be{constructor(Ae,Je){this._platform=Je,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+De++,this._document=Ae,this._id=(0,r.f3M)(r.AFp)+"-"+De++}describe(Ae,Je,ct){if(!this._canBeDescribed(Ae,Je))return;const mt=Y(Je,ct);"string"!=typeof Je?(V(Je,this._id),this._messageRegistry.set(mt,{messageElement:Je,referenceCount:0})):this._messageRegistry.has(mt)||this._createMessageElement(Je,ct),this._isElementDescribedByMessage(Ae,mt)||this._addMessageReference(Ae,mt)}removeDescription(Ae,Je,ct){if(!Je||!this._isElementNode(Ae))return;const mt=Y(Je,ct);if(this._isElementDescribedByMessage(Ae,mt)&&this._removeMessageReference(Ae,mt),"string"==typeof Je){const Mt=this._messageRegistry.get(mt);Mt&&0===Mt.referenceCount&&this._deleteMessageElement(mt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ae=this._document.querySelectorAll(`[${ye}="${this._id}"]`);for(let Je=0;Je0!=ct.indexOf(ve));Ae.setAttribute("aria-describedby",Je.join(" "))}_addMessageReference(Ae,Je){const ct=this._messageRegistry.get(Je);(function ue(be,Oe,Ae){const Je=Me(be,Oe);Je.some(ct=>ct.trim()==Ae.trim())||(Je.push(Ae.trim()),be.setAttribute(Oe,Je.join(" ")))})(Ae,"aria-describedby",ct.messageElement.id),Ae.setAttribute(ye,this._id),ct.referenceCount++}_removeMessageReference(Ae,Je){const ct=this._messageRegistry.get(Je);ct.referenceCount--,function Z(be,Oe,Ae){const ct=Me(be,Oe).filter(mt=>mt!=Ae.trim());ct.length?be.setAttribute(Oe,ct.join(" ")):be.removeAttribute(Oe)}(Ae,"aria-describedby",ct.messageElement.id),Ae.removeAttribute(ye)}_isElementDescribedByMessage(Ae,Je){const ct=Me(Ae,"aria-describedby"),mt=this._messageRegistry.get(Je),Mt=mt&&mt.messageElement.id;return!!Mt&&-1!=ct.indexOf(Mt)}_canBeDescribed(Ae,Je){if(!this._isElementNode(Ae))return!1;if(Je&&"object"==typeof Je)return!0;const ct=null==Je?"":`${Je}`.trim(),mt=Ae.getAttribute("aria-label");return!(!ct||mt&&mt.trim()===ct)}_isElementNode(Ae){return Ae.nodeType===this._document.ELEMENT_NODE}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(o.K0),r.LFG(h.t4))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function Y(be,Oe){return"string"==typeof be?`${Oe||""}/${be}`:be}function V(be,Oe){be.id||(be.id=`${ve}-${Oe}-${De++}`)}class j{constructor(Oe){this._items=Oe,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new _.x,this._typeaheadSubscription=f.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Ae=>Ae.disabled,this._pressedLetters=[],this.tabOut=new _.x,this.change=new _.x,Oe instanceof r.n_E&&Oe.changes.subscribe(Ae=>{if(this._activeItem){const ct=Ae.toArray().indexOf(this._activeItem);ct>-1&&ct!==this._activeItemIndex&&(this._activeItemIndex=ct)}})}skipPredicate(Oe){return this._skipPredicateFn=Oe,this}withWrap(Oe=!0){return this._wrap=Oe,this}withVerticalOrientation(Oe=!0){return this._vertical=Oe,this}withHorizontalOrientation(Oe){return this._horizontal=Oe,this}withAllowedModifierKeys(Oe){return this._allowedModifierKeys=Oe,this}withTypeAhead(Oe=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,A.b)(Ae=>this._pressedLetters.push(Ae)),(0,g.b)(Oe),(0,B.h)(()=>this._pressedLetters.length>0),(0,m.U)(()=>this._pressedLetters.join(""))).subscribe(Ae=>{const Je=this._getItemsArray();for(let ct=1;ct!Oe[mt]||this._allowedModifierKeys.indexOf(mt)>-1);switch(Ae){case L.Mf:return void this.tabOut.next();case L.JH:if(this._vertical&&ct){this.setNextItemActive();break}return;case L.LH:if(this._vertical&&ct){this.setPreviousItemActive();break}return;case L.SV:if(this._horizontal&&ct){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case L.oh:if(this._horizontal&&ct){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case L.Sd:if(this._homeAndEnd&&ct){this.setFirstItemActive();break}return;case L.uR:if(this._homeAndEnd&&ct){this.setLastItemActive();break}return;default:return void((ct||(0,L.Vb)(Oe,"shiftKey"))&&(Oe.key&&1===Oe.key.length?this._letterKeyStream.next(Oe.key.toLocaleUpperCase()):(Ae>=L.A&&Ae<=L.Z||Ae>=L.xE&&Ae<=L.aO)&&this._letterKeyStream.next(String.fromCharCode(Ae))))}this._pressedLetters=[],Oe.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(Oe){const Ae=this._getItemsArray(),Je="number"==typeof Oe?Oe:Ae.indexOf(Oe);this._activeItem=Ae[Je]??null,this._activeItemIndex=Je}_setActiveItemByDelta(Oe){this._wrap?this._setActiveInWrapMode(Oe):this._setActiveInDefaultMode(Oe)}_setActiveInWrapMode(Oe){const Ae=this._getItemsArray();for(let Je=1;Je<=Ae.length;Je++){const ct=(this._activeItemIndex+Oe*Je+Ae.length)%Ae.length;if(!this._skipPredicateFn(Ae[ct]))return void this.setActiveItem(ct)}}_setActiveInDefaultMode(Oe){this._setActiveItemByIndex(this._activeItemIndex+Oe,Oe)}_setActiveItemByIndex(Oe,Ae){const Je=this._getItemsArray();if(Je[Oe]){for(;this._skipPredicateFn(Je[Oe]);)if(!Je[Oe+=Ae])return;this.setActiveItem(Oe)}}_getItemsArray(){return this._items instanceof r.n_E?this._items.toArray():this._items}}class X extends j{setActiveItem(Oe){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Oe),this.activeItem&&this.activeItem.setActiveStyles()}}class Ie extends j{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Oe){return this._origin=Oe,this}setActiveItem(Oe){super.setActiveItem(Oe),this.activeItem&&this.activeItem.focus(this._origin)}}let tt=(()=>{class be{constructor(Ae){this._platform=Ae}isDisabled(Ae){return Ae.hasAttribute("disabled")}isVisible(Ae){return function $(be){return!!(be.offsetWidth||be.offsetHeight||"function"==typeof be.getClientRects&&be.getClientRects().length)}(Ae)&&"visible"===getComputedStyle(Ae).visibility}isTabbable(Ae){if(!this._platform.isBrowser)return!1;const Je=function lt(be){try{return be.frameElement}catch{return null}}(function Qe(be){return be.ownerDocument&&be.ownerDocument.defaultView||window}(Ae));if(Je&&(-1===se(Je)||!this.isVisible(Je)))return!1;let ct=Ae.nodeName.toLowerCase(),mt=se(Ae);return Ae.hasAttribute("contenteditable")?-1!==mt:!("iframe"===ct||"object"===ct||this._platform.WEBKIT&&this._platform.IOS&&!function Ce(be){let Oe=be.nodeName.toLowerCase(),Ae="input"===Oe&&be.type;return"text"===Ae||"password"===Ae||"select"===Oe||"textarea"===Oe}(Ae))&&("audio"===ct?!!Ae.hasAttribute("controls")&&-1!==mt:"video"===ct?-1!==mt&&(null!==mt||this._platform.FIREFOX||Ae.hasAttribute("controls")):Ae.tabIndex>=0)}isFocusable(Ae,Je){return function He(be){return!function re(be){return function Ke(be){return"input"==be.nodeName.toLowerCase()}(be)&&"hidden"==be.type}(be)&&(function Re(be){let Oe=be.nodeName.toLowerCase();return"input"===Oe||"select"===Oe||"button"===Oe||"textarea"===Oe}(be)||function xe(be){return function me(be){return"a"==be.nodeName.toLowerCase()}(be)&&be.hasAttribute("href")}(be)||be.hasAttribute("contenteditable")||P(be))}(Ae)&&!this.isDisabled(Ae)&&(Je?.ignoreVisibility||this.isVisible(Ae))}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function P(be){if(!be.hasAttribute("tabindex")||void 0===be.tabIndex)return!1;let Oe=be.getAttribute("tabindex");return!(!Oe||isNaN(parseInt(Oe,10)))}function se(be){if(!P(be))return null;const Oe=parseInt(be.getAttribute("tabindex")||"",10);return isNaN(Oe)?-1:Oe}class st{constructor(Oe,Ae,Je,ct,mt=!1){this._element=Oe,this._checker=Ae,this._ngZone=Je,this._document=ct,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,mt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Oe){this._enabled=Oe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}destroy(){const Oe=this._startAnchor,Ae=this._endAnchor;Oe&&(Oe.removeEventListener("focus",this.startAnchorListener),Oe.remove()),Ae&&(Ae.removeEventListener("focus",this.endAnchorListener),Ae.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(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusInitialElement(Oe)))})}focusFirstTabbableElementWhenReady(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusFirstTabbableElement(Oe)))})}focusLastTabbableElementWhenReady(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusLastTabbableElement(Oe)))})}_getRegionBoundary(Oe){const Ae=this._element.querySelectorAll(`[cdk-focus-region-${Oe}], [cdkFocusRegion${Oe}], [cdk-focus-${Oe}]`);return"start"==Oe?Ae.length?Ae[0]:this._getFirstTabbableElement(this._element):Ae.length?Ae[Ae.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Oe){const Ae=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ae){if(!this._checker.isFocusable(Ae)){const Je=this._getFirstTabbableElement(Ae);return Je?.focus(Oe),!!Je}return Ae.focus(Oe),!0}return this.focusFirstTabbableElement(Oe)}focusFirstTabbableElement(Oe){const Ae=this._getRegionBoundary("start");return Ae&&Ae.focus(Oe),!!Ae}focusLastTabbableElement(Oe){const Ae=this._getRegionBoundary("end");return Ae&&Ae.focus(Oe),!!Ae}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Oe){if(this._checker.isFocusable(Oe)&&this._checker.isTabbable(Oe))return Oe;const Ae=Oe.children;for(let Je=0;Je=0;Je--){const ct=Ae[Je].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ae[Je]):null;if(ct)return ct}return null}_createAnchor(){const Oe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Oe),Oe.classList.add("cdk-visually-hidden"),Oe.classList.add("cdk-focus-trap-anchor"),Oe.setAttribute("aria-hidden","true"),Oe}_toggleAnchorTabIndex(Oe,Ae){Oe?Ae.setAttribute("tabindex","0"):Ae.removeAttribute("tabindex")}toggleAnchors(Oe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}_executeOnStable(Oe){this._ngZone.isStable?Oe():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(Oe)}}let Ge=(()=>{class be{constructor(Ae,Je,ct){this._checker=Ae,this._ngZone=Je,this._document=ct}create(Ae,Je=!1){return new st(Ae,this._checker,this._ngZone,this._document,Je)}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(tt),r.LFG(r.R0b),r.LFG(o.K0))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),at=(()=>{class be{constructor(Ae,Je,ct){this._elementRef=Ae,this._focusTrapFactory=Je,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Ae){this.focusTrap.enabled=(0,x.Ig)(Ae)}get autoCapture(){return this._autoCapture}set autoCapture(Ae){this._autoCapture=(0,x.Ig)(Ae)}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(Ae){const Je=Ae.autoCapture;Je&&!Je.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,h.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.Y36(r.SBq),r.Y36(Ge),r.Y36(o.K0))},be.\u0275dir=r.lG2({type:be,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),be})();function nt(be){return 0===be.buttons||0===be.offsetX&&0===be.offsetY}function ft(be){const Oe=be.touches&&be.touches[0]||be.changedTouches&&be.changedTouches[0];return!(!Oe||-1!==Oe.identifier||null!=Oe.radiusX&&1!==Oe.radiusX||null!=Oe.radiusY&&1!==Oe.radiusY)}const G=new r.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[L.zL,L.jx,L.b2,L.MW,L.JU]},oe=(0,h.i$)({passive:!0,capture:!0});let Te=(()=>{class be{constructor(Ae,Je,ct,mt){this._platform=Ae,this._mostRecentTarget=null,this._modality=new d.X(null),this._lastTouchMs=0,this._onKeydown=Mt=>{this._options?.ignoreKeys?.some(St=>St===Mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,h.sA)(Mt))},this._onMousedown=Mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(nt(Mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,h.sA)(Mt))},this._onTouchstart=Mt=>{ft(Mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,h.sA)(Mt))},this._options={...U,...mt},this.modalityDetected=this._modality.pipe((0,S.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,v.x)()),Ae.isBrowser&&Je.runOutsideAngular(()=>{ct.addEventListener("keydown",this._onKeydown,oe),ct.addEventListener("mousedown",this._onMousedown,oe),ct.addEventListener("touchstart",this._onTouchstart,oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oe),document.removeEventListener("mousedown",this._onMousedown,oe),document.removeEventListener("touchstart",this._onTouchstart,oe))}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4),r.LFG(r.R0b),r.LFG(o.K0),r.LFG(G,8))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const Xe=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ze(){return null}}),we=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Be=(()=>{class be{constructor(Ae,Je,ct,mt){this._ngZone=Je,this._defaultOptions=mt,this._document=ct,this._liveElement=Ae||this._createLiveElement()}announce(Ae,...Je){const ct=this._defaultOptions;let mt,Mt;return 1===Je.length&&"number"==typeof Je[0]?Mt=Je[0]:[mt,Mt]=Je,this.clear(),clearTimeout(this._previousTimeout),mt||(mt=ct&&ct.politeness?ct.politeness:"polite"),null==Mt&&ct&&(Mt=ct.duration),this._liveElement.setAttribute("aria-live",mt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(St=>this._currentResolve=St)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ae,"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(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ae="cdk-live-announcer-element",Je=this._document.getElementsByClassName(Ae),ct=this._document.createElement("div");for(let mt=0;mt{class be{constructor(Ae,Je,ct,mt,Mt){this._ngZone=Ae,this._platform=Je,this._inputModalityDetector=ct,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 _.x,this._rootNodeFocusAndBlurListener=St=>{const Zt=(0,h.sA)(St),$t="focus"===St.type?this._onFocus:this._onBlur;for(let nn=Zt;nn;nn=nn.parentElement)$t.call(this,St,nn)},this._document=mt,this._detectionMode=Mt?.detectionMode||0}monitor(Ae,Je=!1){const ct=(0,x.fI)(Ae);if(!this._platform.isBrowser||1!==ct.nodeType)return(0,w.of)(null);const mt=(0,h.kV)(ct)||this._getDocument(),Mt=this._elementInfo.get(ct);if(Mt)return Je&&(Mt.checkChildren=!0),Mt.subject;const St={checkChildren:Je,subject:new _.x,rootNode:mt};return this._elementInfo.set(ct,St),this._registerGlobalListeners(St),St.subject}stopMonitoring(Ae){const Je=(0,x.fI)(Ae),ct=this._elementInfo.get(Je);ct&&(ct.subject.complete(),this._setClasses(Je),this._elementInfo.delete(Je),this._removeGlobalListeners(ct))}focusVia(Ae,Je,ct){const mt=(0,x.fI)(Ae);mt===this._getDocument().activeElement?this._getClosestElementsInfo(mt).forEach(([St,Zt])=>this._originChanged(St,Je,Zt)):(this._setOrigin(Je),"function"==typeof mt.focus&&mt.focus(ct))}ngOnDestroy(){this._elementInfo.forEach((Ae,Je)=>this.stopMonitoring(Je))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ae){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ae)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Ae){return 1===this._detectionMode||!!Ae?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ae,Je){Ae.classList.toggle("cdk-focused",!!Je),Ae.classList.toggle("cdk-touch-focused","touch"===Je),Ae.classList.toggle("cdk-keyboard-focused","keyboard"===Je),Ae.classList.toggle("cdk-mouse-focused","mouse"===Je),Ae.classList.toggle("cdk-program-focused","program"===Je)}_setOrigin(Ae,Je=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ae,this._originFromTouchInteraction="touch"===Ae&&Je,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ae,Je){const ct=this._elementInfo.get(Je),mt=(0,h.sA)(Ae);!ct||!ct.checkChildren&&Je!==mt||this._originChanged(Je,this._getFocusOrigin(mt),ct)}_onBlur(Ae,Je){const ct=this._elementInfo.get(Je);!ct||ct.checkChildren&&Ae.relatedTarget instanceof Node&&Je.contains(Ae.relatedTarget)||(this._setClasses(Je),this._emitOrigin(ct,null))}_emitOrigin(Ae,Je){Ae.subject.observers.length&&this._ngZone.run(()=>Ae.subject.next(Je))}_registerGlobalListeners(Ae){if(!this._platform.isBrowser)return;const Je=Ae.rootNode,ct=this._rootNodeFocusListenerCount.get(Je)||0;ct||this._ngZone.runOutsideAngular(()=>{Je.addEventListener("focus",this._rootNodeFocusAndBlurListener,et),Je.addEventListener("blur",this._rootNodeFocusAndBlurListener,et)}),this._rootNodeFocusListenerCount.set(Je,ct+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,H.R)(this._stopInputModalityDetector)).subscribe(mt=>{this._setOrigin(mt,!0)}))}_removeGlobalListeners(Ae){const Je=Ae.rootNode;if(this._rootNodeFocusListenerCount.has(Je)){const ct=this._rootNodeFocusListenerCount.get(Je);ct>1?this._rootNodeFocusListenerCount.set(Je,ct-1):(Je.removeEventListener("focus",this._rootNodeFocusAndBlurListener,et),Je.removeEventListener("blur",this._rootNodeFocusAndBlurListener,et),this._rootNodeFocusListenerCount.delete(Je))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ae,Je,ct){this._setClasses(Ae,Je),this._emitOrigin(ct,Je),this._lastFocusOrigin=Je}_getClosestElementsInfo(Ae){const Je=[];return this._elementInfo.forEach((ct,mt)=>{(mt===Ae||ct.checkChildren&&mt.contains(Ae))&&Je.push([mt,ct])}),Je}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(r.R0b),r.LFG(h.t4),r.LFG(Te),r.LFG(o.K0,8),r.LFG(Ye,8))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),K=(()=>{class be{constructor(Ae,Je){this._elementRef=Ae,this._focusMonitor=Je,this.cdkFocusChange=new r.vpe}ngAfterViewInit(){const Ae=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ae,1===Ae.nodeType&&Ae.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Je=>this.cdkFocusChange.emit(Je))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.Y36(r.SBq),r.Y36(de))},be.\u0275dir=r.lG2({type:be,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),be})();const le="cdk-high-contrast-black-on-white",_e="cdk-high-contrast-white-on-black",ae="cdk-high-contrast-active";let he=(()=>{class be{constructor(Ae,Je){this._platform=Ae,this._document=Je,this._breakpointSubscription=(0,r.f3M)(Ee.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ae=this._document.createElement("div");Ae.style.backgroundColor="rgb(1,2,3)",Ae.style.position="absolute",this._document.body.appendChild(Ae);const Je=this._document.defaultView||window,ct=Je&&Je.getComputedStyle?Je.getComputedStyle(Ae):null,mt=(ct&&ct.backgroundColor||"").replace(/ /g,"");switch(Ae.remove(),mt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ae=this._document.body.classList;Ae.remove(ae,le,_e),this._hasCheckedHighContrastMode=!0;const Je=this.getHighContrastMode();1===Je?Ae.add(ae,le):2===Je&&Ae.add(ae,_e)}}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4),r.LFG(o.K0))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),pe=(()=>{class be{constructor(Ae){Ae._applyBodyHighContrastModeCssClasses()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(he))},be.\u0275mod=r.oAB({type:be}),be.\u0275inj=r.cJS({imports:[te.Q8]}),be})()},5875:(Ue,J,s)=>{"use strict";s.d(J,{Is:()=>w,vT:()=>A});var o=s(4537),r=s(8692);const h=new o.OlP("cdk-dir-doc",{providedIn:"root",factory:function _(){return(0,o.f3M)(r.K0)}}),f=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let w=(()=>{class g{constructor(m){if(this.value="ltr",this.change=new o.vpe,m){const S=m.documentElement?m.documentElement.dir:null;this.value=function d(g){const B=g?.toLowerCase()||"";return"auto"===B&&typeof navigator<"u"&&navigator?.language?f.test(navigator.language)?"rtl":"ltr":"rtl"===B?"rtl":"ltr"}((m.body?m.body.dir:null)||S||"ltr")}}ngOnDestroy(){this.change.complete()}}return g.\u0275fac=function(m){return new(m||g)(o.LFG(h,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})()},4929:(Ue,J,s)=>{"use strict";s.d(J,{Eq:()=>f,HM:()=>d,Ig:()=>r,du:()=>L,fI:()=>w,su:()=>h});var o=s(4537);function r(A){return null!=A&&"false"!=`${A}`}function h(A,g=0){return function _(A){return!isNaN(parseFloat(A))&&!isNaN(Number(A))}(A)?Number(A):g}function f(A){return Array.isArray(A)?A:[A]}function d(A){return null==A?"":"string"==typeof A?A:`${A}px`}function w(A){return A instanceof o.SBq?A.nativeElement:A}function L(A,g=/\s+/){const B=[];if(null!=A){const m=Array.isArray(A)?A:`${A}`.split(g);for(const b of m){const S=`${b}`.trim();S&&B.push(S)}}return B}},5834:(Ue,J,s)=>{"use strict";s.d(J,{A8:()=>g,Ov:()=>L,Z9:()=>_,eX:()=>w,k:()=>B,yy:()=>d});var o=s(8023),r=s(4537);function _(m){return m&&"function"==typeof m.connect}class d{applyChanges(b,S,v,H,x){b.forEachOperation((te,Ee,T)=>{let ue,Z;if(null==te.previousIndex){const Me=v(te,Ee,T);ue=S.createEmbeddedView(Me.templateRef,Me.context,Me.index),Z=1}else null==T?(S.remove(Ee),Z=3):(ue=S.get(Ee),S.move(ue,T),Z=2);x&&x({context:ue?.context,operation:Z,record:te})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,S,v,H,x){b.forEachOperation((te,Ee,T)=>{let ue,Z;null==te.previousIndex?(ue=this._insertView(()=>v(te,Ee,T),T,S,H(te)),Z=ue?1:0):null==T?(this._detachAndCacheView(Ee,S),Z=3):(ue=this._moveView(Ee,T,S,H(te)),Z=2),x&&x({context:ue?.context,operation:Z,record:te})})}detach(){for(const b of this._viewCache)b.destroy();this._viewCache=[]}_insertView(b,S,v,H){const x=this._insertViewFromCache(S,v);if(x)return void(x.context.$implicit=H);const te=b();return v.createEmbeddedView(te.templateRef,te.context,te.index)}_detachAndCacheView(b,S){const v=S.detach(b);this._maybeCacheView(v,S)}_moveView(b,S,v,H){const x=v.get(b);return v.move(x,S),x.context.$implicit=H,x}_maybeCacheView(b,S){if(this._viewCache.lengththis._markSelected(H)):this._markSelected(S[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...b){this._verifyValueAssignment(b),b.forEach(S=>this._markSelected(S)),this._emitChangeEvent()}deselect(...b){this._verifyValueAssignment(b),b.forEach(S=>this._unmarkSelected(S)),this._emitChangeEvent()}toggle(b){this.isSelected(b)?this.deselect(b):this.select(b)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(b){return this._selection.has(b)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(b){this._multiple&&this.selected&&this._selected.sort(b)}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(b){this.isSelected(b)||(this._multiple||this._unmarkAll(),this._selection.add(b),this._emitChanges&&this._selectedToEmit.push(b))}_unmarkSelected(b){this.isSelected(b)&&(this._selection.delete(b),this._emitChanges&&this._deselectedToEmit.push(b))}_unmarkAll(){this.isEmpty()||this._selection.forEach(b=>this._unmarkSelected(b))}_verifyValueAssignment(b){}}let g=(()=>{class m{constructor(){this._listeners=[]}notify(S,v){for(let H of this._listeners)H(S,v)}listen(S){return this._listeners.push(S),()=>{this._listeners=this._listeners.filter(v=>S!==v)}}ngOnDestroy(){this._listeners=[]}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275prov=r.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const B=new r.OlP("_ViewRepeater")},5436:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>re,JH:()=>T,JU:()=>d,K5:()=>f,Ku:()=>b,LH:()=>te,L_:()=>m,MW:()=>we,Mf:()=>h,OC:()=>Mn,SV:()=>Ee,Sd:()=>H,VM:()=>S,Vb:()=>Yn,Z:()=>Ze,ZH:()=>r,aO:()=>ke,b2:()=>ti,hY:()=>B,jx:()=>w,oh:()=>x,uR:()=>v,xE:()=>ve,yY:()=>Se,zL:()=>L});const r=8,h=9,f=13,d=16,w=17,L=18,B=27,m=32,b=33,S=34,v=35,H=36,x=37,te=38,Ee=39,T=40,Se=46,ve=48,ke=57,re=65,Ze=90,we=91,Mn=188,ti=224;function Yn(ni,...Kn){return Kn.length?Kn.some(ei=>ni[ei]):ni.altKey||ni.shiftKey||ni.ctrlKey||ni.metaKey}},1444:(Ue,J,s)=>{"use strict";s.d(J,{Yg:()=>T,u3:()=>Z,xu:()=>S});var o=s(4537),r=s(4929),h=s(8023),_=s(5696),f=s(3729),d=s(818),w=s(5598),L=s(1588),A=s(3151),g=s(7969),B=s(1927),m=s(3528),b=s(6321);let S=(()=>{class Me{}return Me.\u0275fac=function(ve){return new(ve||Me)},Me.\u0275mod=o.oAB({type:Me}),Me.\u0275inj=o.cJS({}),Me})();const v=new Set;let H,x=(()=>{class Me{constructor(ve){this._platform=ve,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ee}matchMedia(ve){return(this._platform.WEBKIT||this._platform.BLINK)&&function te(Me){if(!v.has(Me))try{H||(H=document.createElement("style"),H.setAttribute("type","text/css"),document.head.appendChild(H)),H.sheet&&(H.sheet.insertRule(`@media ${Me} {body{ }}`,0),v.add(Me))}catch(Se){console.error(Se)}}(ve),this._matchMedia(ve)}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.LFG(b.t4))},Me.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function Ee(Me){return{matches:"all"===Me||""===Me,media:Me,addListener:()=>{},removeListener:()=>{}}}let T=(()=>{class Me{constructor(ve,ye){this._mediaMatcher=ve,this._zone=ye,this._queries=new Map,this._destroySubject=new h.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ve){return ue((0,r.Eq)(ve)).some(De=>this._registerQuery(De).mql.matches)}observe(ve){const De=ue((0,r.Eq)(ve)).map(Y=>this._registerQuery(Y).observable);let z=(0,_.a)(De);return z=(0,f.z)(z.pipe((0,w.q)(1)),z.pipe((0,L.T)(1),(0,A.b)(0))),z.pipe((0,g.U)(Y=>{const V={matches:!1,breakpoints:{}};return Y.forEach(({matches:j,query:X})=>{V.matches=V.matches||j,V.breakpoints[X]=j}),V}))}_registerQuery(ve){if(this._queries.has(ve))return this._queries.get(ve);const ye=this._mediaMatcher.matchMedia(ve),z={observable:new d.y(Y=>{const V=j=>this._zone.run(()=>Y.next(j));return ye.addListener(V),()=>{ye.removeListener(V)}}).pipe((0,B.O)(ye),(0,g.U)(({matches:Y})=>({query:ve,matches:Y})),(0,m.R)(this._destroySubject)),mql:ye};return this._queries.set(ve,z),z}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.LFG(x),o.LFG(o.R0b))},Me.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function ue(Me){return Me.map(Se=>Se.split(",")).reduce((Se,ve)=>Se.concat(ve)).map(Se=>Se.trim())}const Z={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7723:(Ue,J,s)=>{"use strict";s.d(J,{Q8:()=>A,wD:()=>L});var o=s(4929),r=s(4537),h=s(818),_=s(8023),f=s(3151);let d=(()=>{class g{create(m){return typeof MutationObserver>"u"?null:new MutationObserver(m)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=r.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),w=(()=>{class g{constructor(m){this._mutationObserverFactory=m,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((m,b)=>this._cleanupObserver(b))}observe(m){const b=(0,o.fI)(m);return new h.y(S=>{const H=this._observeElement(b).subscribe(S);return()=>{H.unsubscribe(),this._unobserveElement(b)}})}_observeElement(m){if(this._observedElements.has(m))this._observedElements.get(m).count++;else{const b=new _.x,S=this._mutationObserverFactory.create(v=>b.next(v));S&&S.observe(m,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(m,{observer:S,stream:b,count:1})}return this._observedElements.get(m).stream}_unobserveElement(m){this._observedElements.has(m)&&(this._observedElements.get(m).count--,this._observedElements.get(m).count||this._cleanupObserver(m))}_cleanupObserver(m){if(this._observedElements.has(m)){const{observer:b,stream:S}=this._observedElements.get(m);b&&b.disconnect(),S.complete(),this._observedElements.delete(m)}}}return g.\u0275fac=function(m){return new(m||g)(r.LFG(d))},g.\u0275prov=r.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),L=(()=>{class g{constructor(m,b,S){this._contentObserver=m,this._elementRef=b,this._ngZone=S,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(m){this._disabled=(0,o.Ig)(m),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(m){this._debounce=(0,o.su)(m),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const m=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?m.pipe((0,f.b)(this.debounce)):m).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return g.\u0275fac=function(m){return new(m||g)(r.Y36(w),r.Y36(r.SBq),r.Y36(r.R0b))},g.\u0275dir=r.lG2({type:g,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=r.oAB({type:g}),g.\u0275inj=r.cJS({providers:[d]}),g})()},8232:(Ue,J,s)=>{"use strict";s.d(J,{pI:()=>yt,xu:()=>xt,tR:()=>De,_G:()=>re,aV:()=>Ge,X_:()=>ye,Xj:()=>tt,U8:()=>nt,Iu:()=>lt});var o=s(5531),r=s(8692),h=s(4537),_=s(4929),f=s(6321),d=s(5875),w=s(8632),L=s(8023),A=s(4813),g=s(1860),B=s(2085),m=s(8499),S=s(5598),v=s(3528),H=s(5436);const x=(0,f.Mq)();class te{constructor(U,ie){this._viewportRuler=U,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ie}attach(){}enable(){if(this._canBeEnabled()){const U=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=U.style.left||"",this._previousHTMLStyles.top=U.style.top||"",U.style.left=(0,_.HM)(-this._previousScrollPosition.left),U.style.top=(0,_.HM)(-this._previousScrollPosition.top),U.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const U=this._document.documentElement,oe=U.style,Te=this._document.body.style,Xe=oe.scrollBehavior||"",Ze=Te.scrollBehavior||"";this._isEnabled=!1,oe.left=this._previousHTMLStyles.left,oe.top=this._previousHTMLStyles.top,U.classList.remove("cdk-global-scrollblock"),x&&(oe.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),x&&(oe.scrollBehavior=Xe,Te.scrollBehavior=Ze)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ie=this._document.body,oe=this._viewportRuler.getViewportSize();return ie.scrollHeight>oe.height||ie.scrollWidth>oe.width}}class T{constructor(U,ie,oe,Te){this._scrollDispatcher=U,this._ngZone=ie,this._viewportRuler=oe,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(U){this._overlayRef=U}enable(){if(this._scrollSubscription)return;const U=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=U.subscribe(()=>{const ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=U.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ue{enable(){}disable(){}attach(){}}function Z(G,U){return U.some(ie=>G.bottomie.bottom||G.rightie.right)}function Me(G,U){return U.some(ie=>G.topie.bottom||G.leftie.right)}class Se{constructor(U,ie,oe,Te){this._scrollDispatcher=U,this._viewportRuler=ie,this._ngZone=oe,this._config=Te,this._scrollSubscription=null}attach(U){this._overlayRef=U}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 ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:oe,height:Te}=this._viewportRuler.getViewportSize();Z(ie,[{width:oe,height:Te,bottom:Te,right:oe,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 ve=(()=>{class G{constructor(ie,oe,Te,Xe){this._scrollDispatcher=ie,this._viewportRuler=oe,this._ngZone=Te,this.noop=()=>new ue,this.close=Ze=>new T(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ze),this.block=()=>new te(this._viewportRuler,this._document),this.reposition=Ze=>new Se(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ze),this._document=Xe}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(o.mF),h.LFG(o.rL),h.LFG(h.R0b),h.LFG(r.K0))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();class ye{constructor(U){if(this.scrollStrategy=new ue,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,U){const ie=Object.keys(U);for(const oe of ie)void 0!==U[oe]&&(this[oe]=U[oe])}}}class De{constructor(U,ie,oe,Te,Xe){this.offsetX=oe,this.offsetY=Te,this.panelClass=Xe,this.originX=U.originX,this.originY=U.originY,this.overlayX=ie.overlayX,this.overlayY=ie.overlayY}}class Y{constructor(U,ie){this.connectionPair=U,this.scrollableViewProperties=ie}}let X=(()=>{class G{constructor(ie){this._attachedOverlays=[],this._document=ie}ngOnDestroy(){this.detach()}add(ie){this.remove(ie),this._attachedOverlays.push(ie)}remove(ie){const oe=this._attachedOverlays.indexOf(ie);oe>-1&&this._attachedOverlays.splice(oe,1),0===this._attachedOverlays.length&&this.detach()}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Ie=(()=>{class G extends X{constructor(ie,oe){super(ie),this._ngZone=oe,this._keydownListener=Te=>{const Xe=this._attachedOverlays;for(let Ze=Xe.length-1;Ze>-1;Ze--)if(Xe[Ze]._keydownEvents.observers.length>0){const we=Xe[Ze]._keydownEvents;this._ngZone?this._ngZone.run(()=>we.next(Te)):we.next(Te);break}}}add(ie){super.add(ie),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 G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0),h.LFG(h.R0b,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),ke=(()=>{class G extends X{constructor(ie,oe,Te){super(ie),this._platform=oe,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=Xe=>{this._pointerDownEventTarget=(0,f.sA)(Xe)},this._clickListener=Xe=>{const Ze=(0,f.sA)(Xe),we="click"===Xe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ze;this._pointerDownEventTarget=null;const Be=this._attachedOverlays.slice();for(let We=Be.length-1;We>-1;We--){const Ye=Be[We];if(Ye._outsidePointerEvents.observers.length<1||!Ye.hasAttached())continue;if(Ye.overlayElement.contains(Ze)||Ye.overlayElement.contains(we))break;const et=Ye._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>et.next(Xe)):et.next(Xe)}}}add(ie){if(super.add(ie),!this._isAttached){const oe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(oe)):this._addEventListeners(oe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=oe.style.cursor,oe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ie=this._document.body;ie.removeEventListener("pointerdown",this._pointerDownListener,!0),ie.removeEventListener("click",this._clickListener,!0),ie.removeEventListener("auxclick",this._clickListener,!0),ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ie){ie.addEventListener("pointerdown",this._pointerDownListener,!0),ie.addEventListener("click",this._clickListener,!0),ie.addEventListener("auxclick",this._clickListener,!0),ie.addEventListener("contextmenu",this._clickListener,!0)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0),h.LFG(f.t4),h.LFG(h.R0b,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),tt=(()=>{class G{constructor(ie,oe){this._platform=oe,this._document=ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ie="cdk-overlay-container";if(this._platform.isBrowser||(0,f.Oy)()){const Te=this._document.querySelectorAll(`.${ie}[platform="server"], .${ie}[platform="test"]`);for(let Xe=0;Xethis._backdropClick.next(et),this._backdropTransitionendHandler=et=>{this._disposeBackdrop(et.target)},this._keydownEvents=new L.x,this._outsidePointerEvents=new L.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(U){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ie=this._portalOutlet.attach(U);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,S.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),ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const U=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),U}dispose(){const U=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,U&&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(U){U!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=U,this.hasAttached()&&(U.attach(this),this.updatePosition()))}updateSize(U){this._config={...this._config,...U},this._updateElementSize()}setDirection(U){this._config={...this._config,direction:U},this._updateElementDirection()}addPanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!0)}removePanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!1)}getDirection(){const U=this._config.direction;return U?"string"==typeof U?U:U.value:"ltr"}updateScrollStrategy(U){U!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=U,this.hasAttached()&&(U.attach(this),U.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const U=this._pane.style;U.width=(0,_.HM)(this._config.width),U.height=(0,_.HM)(this._config.height),U.minWidth=(0,_.HM)(this._config.minWidth),U.minHeight=(0,_.HM)(this._config.minHeight),U.maxWidth=(0,_.HM)(this._config.maxWidth),U.maxHeight=(0,_.HM)(this._config.maxHeight)}_togglePointerEvents(U){this._pane.style.pointerEvents=U?"":"none"}_attachBackdrop(){const U="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(U)})}):this._backdropElement.classList.add(U)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const U=this._backdropElement;if(U){if(this._animationsDisabled)return void this._disposeBackdrop(U);U.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{U.addEventListener("transitionend",this._backdropTransitionendHandler)}),U.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(U)},500))}}_toggleClasses(U,ie,oe){const Te=(0,_.Eq)(ie||[]).filter(Xe=>!!Xe);Te.length&&(oe?U.classList.add(...Te):U.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const U=this._ngZone.onStable.pipe((0,v.R)((0,g.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()),U.unsubscribe())})})}_disposeScrollStrategy(){const U=this._scrollStrategy;U&&(U.disable(),U.detach&&U.detach())}_disposeBackdrop(U){U&&(U.removeEventListener("click",this._backdropClickHandler),U.removeEventListener("transitionend",this._backdropTransitionendHandler),U.remove(),this._backdropElement===U&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",Re=/([A-Za-z%]+)$/;class re{constructor(U,ie,oe,Te,Xe){this._viewportRuler=ie,this._document=oe,this._platform=Te,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 L.x,this._resizeSubscription=A.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(U)}get positions(){return this._preferredPositions}attach(U){this._validatePositions(),U.hostElement.classList.add($),this._overlayRef=U,this._boundingBox=U.hostElement,this._pane=U.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 U=this._originRect,ie=this._overlayRect,oe=this._viewportRect,Te=this._containerRect,Xe=[];let Ze;for(let we of this._preferredPositions){let Be=this._getOriginPoint(U,Te,we),We=this._getOverlayPoint(Be,ie,we),Ye=this._getOverlayFit(We,ie,oe,we);if(Ye.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(we,Be);this._canFitWithFlexibleDimensions(Ye,We,oe)?Xe.push({position:we,origin:Be,overlayRect:ie,boundingBoxRect:this._calculateBoundingBoxRect(Be,we)}):(!Ze||Ze.overlayFit.visibleAreaBe&&(Be=Ye,we=We)}return this._isPushed=!1,void this._applyPosition(we.position,we.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ze.position,Ze.originPoint);this._applyPosition(Ze.position,Ze.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&xe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const U=this._lastPosition;if(U){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ie=this._getOriginPoint(this._originRect,this._containerRect,U);this._applyPosition(U,ie)}else this.apply()}withScrollableContainers(U){return this._scrollables=U,this}withPositions(U){return this._preferredPositions=U,-1===U.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(U){return this._viewportMargin=U,this}withFlexibleDimensions(U=!0){return this._hasFlexibleDimensions=U,this}withGrowAfterOpen(U=!0){return this._growAfterOpen=U,this}withPush(U=!0){return this._canPush=U,this}withLockedPosition(U=!0){return this._positionLocked=U,this}setOrigin(U){return this._origin=U,this}withDefaultOffsetX(U){return this._offsetX=U,this}withDefaultOffsetY(U){return this._offsetY=U,this}withTransformOriginOn(U){return this._transformOriginSelector=U,this}_getOriginPoint(U,ie,oe){let Te,Xe;if("center"==oe.originX)Te=U.left+U.width/2;else{const Ze=this._isRtl()?U.right:U.left,we=this._isRtl()?U.left:U.right;Te="start"==oe.originX?Ze:we}return ie.left<0&&(Te-=ie.left),Xe="center"==oe.originY?U.top+U.height/2:"top"==oe.originY?U.top:U.bottom,ie.top<0&&(Xe-=ie.top),{x:Te,y:Xe}}_getOverlayPoint(U,ie,oe){let Te,Xe;return Te="center"==oe.overlayX?-ie.width/2:"start"===oe.overlayX?this._isRtl()?-ie.width:0:this._isRtl()?0:-ie.width,Xe="center"==oe.overlayY?-ie.height/2:"top"==oe.overlayY?0:-ie.height,{x:U.x+Te,y:U.y+Xe}}_getOverlayFit(U,ie,oe,Te){const Xe=me(ie);let{x:Ze,y:we}=U,Be=this._getOffset(Te,"x"),We=this._getOffset(Te,"y");Be&&(Ze+=Be),We&&(we+=We);let de=0-we,K=we+Xe.height-oe.height,le=this._subtractOverflows(Xe.width,0-Ze,Ze+Xe.width-oe.width),_e=this._subtractOverflows(Xe.height,de,K),ae=le*_e;return{visibleArea:ae,isCompletelyWithinViewport:Xe.width*Xe.height===ae,fitsInViewportVertically:_e===Xe.height,fitsInViewportHorizontally:le==Xe.width}}_canFitWithFlexibleDimensions(U,ie,oe){if(this._hasFlexibleDimensions){const Te=oe.bottom-ie.y,Xe=oe.right-ie.x,Ze=Ke(this._overlayRef.getConfig().minHeight),we=Ke(this._overlayRef.getConfig().minWidth),We=U.fitsInViewportHorizontally||null!=we&&we<=Xe;return(U.fitsInViewportVertically||null!=Ze&&Ze<=Te)&&We}return!1}_pushOverlayOnScreen(U,ie,oe){if(this._previousPushAmount&&this._positionLocked)return{x:U.x+this._previousPushAmount.x,y:U.y+this._previousPushAmount.y};const Te=me(ie),Xe=this._viewportRect,Ze=Math.max(U.x+Te.width-Xe.width,0),we=Math.max(U.y+Te.height-Xe.height,0),Be=Math.max(Xe.top-oe.top-U.y,0),We=Math.max(Xe.left-oe.left-U.x,0);let Ye=0,et=0;return Ye=Te.width<=Xe.width?We||-Ze:U.xle&&!this._isInitialRender&&!this._growAfterOpen&&(Ze=U.y-le/2)}if("end"===ie.overlayX&&!Te||"start"===ie.overlayX&&Te)de=oe.width-U.x+this._viewportMargin,Ye=U.x-this._viewportMargin;else if("start"===ie.overlayX&&!Te||"end"===ie.overlayX&&Te)et=U.x,Ye=oe.right-U.x;else{const K=Math.min(oe.right-U.x+oe.left,U.x),le=this._lastBoundingBoxSize.width;Ye=2*K,et=U.x-K,Ye>le&&!this._isInitialRender&&!this._growAfterOpen&&(et=U.x-le/2)}return{top:Ze,left:et,bottom:we,right:de,width:Ye,height:Xe}}_setBoundingBoxStyles(U,ie){const oe=this._calculateBoundingBoxRect(U,ie);!this._isInitialRender&&!this._growAfterOpen&&(oe.height=Math.min(oe.height,this._lastBoundingBoxSize.height),oe.width=Math.min(oe.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const Xe=this._overlayRef.getConfig().maxHeight,Ze=this._overlayRef.getConfig().maxWidth;Te.height=(0,_.HM)(oe.height),Te.top=(0,_.HM)(oe.top),Te.bottom=(0,_.HM)(oe.bottom),Te.width=(0,_.HM)(oe.width),Te.left=(0,_.HM)(oe.left),Te.right=(0,_.HM)(oe.right),Te.alignItems="center"===ie.overlayX?"center":"end"===ie.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===ie.overlayY?"center":"bottom"===ie.overlayY?"flex-end":"flex-start",Xe&&(Te.maxHeight=(0,_.HM)(Xe)),Ze&&(Te.maxWidth=(0,_.HM)(Ze))}this._lastBoundingBoxSize=oe,xe(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){xe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){xe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(U,ie){const oe={},Te=this._hasExactPosition(),Xe=this._hasFlexibleDimensions,Ze=this._overlayRef.getConfig();if(Te){const Ye=this._viewportRuler.getViewportScrollPosition();xe(oe,this._getExactOverlayY(ie,U,Ye)),xe(oe,this._getExactOverlayX(ie,U,Ye))}else oe.position="static";let we="",Be=this._getOffset(ie,"x"),We=this._getOffset(ie,"y");Be&&(we+=`translateX(${Be}px) `),We&&(we+=`translateY(${We}px)`),oe.transform=we.trim(),Ze.maxHeight&&(Te?oe.maxHeight=(0,_.HM)(Ze.maxHeight):Xe&&(oe.maxHeight="")),Ze.maxWidth&&(Te?oe.maxWidth=(0,_.HM)(Ze.maxWidth):Xe&&(oe.maxWidth="")),xe(this._pane.style,oe)}_getExactOverlayY(U,ie,oe){let Te={top:"",bottom:""},Xe=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,oe)),"bottom"===U.overlayY?Te.bottom=this._document.documentElement.clientHeight-(Xe.y+this._overlayRect.height)+"px":Te.top=(0,_.HM)(Xe.y),Te}_getExactOverlayX(U,ie,oe){let Ze,Te={left:"",right:""},Xe=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,oe)),Ze=this._isRtl()?"end"===U.overlayX?"left":"right":"end"===U.overlayX?"right":"left","right"===Ze?Te.right=this._document.documentElement.clientWidth-(Xe.x+this._overlayRect.width)+"px":Te.left=(0,_.HM)(Xe.x),Te}_getScrollVisibility(){const U=this._getOriginRect(),ie=this._pane.getBoundingClientRect(),oe=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(U,oe),isOriginOutsideView:Z(U,oe),isOverlayClipped:Me(ie,oe),isOverlayOutsideView:Z(ie,oe)}}_subtractOverflows(U,...ie){return ie.reduce((oe,Te)=>oe-Math.max(Te,0),U)}_getNarrowedViewportRect(){const U=this._document.documentElement.clientWidth,ie=this._document.documentElement.clientHeight,oe=this._viewportRuler.getViewportScrollPosition();return{top:oe.top+this._viewportMargin,left:oe.left+this._viewportMargin,right:oe.left+U-this._viewportMargin,bottom:oe.top+ie-this._viewportMargin,width:U-2*this._viewportMargin,height:ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(U,ie){return"x"===ie?U.offsetX??this._offsetX:U.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(U){this._pane&&(0,_.Eq)(U).forEach(ie=>{""!==ie&&-1===this._appliedPanelClasses.indexOf(ie)&&(this._appliedPanelClasses.push(ie),this._pane.classList.add(ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(U=>{this._pane.classList.remove(U)}),this._appliedPanelClasses=[])}_getOriginRect(){const U=this._origin;if(U instanceof h.SBq)return U.nativeElement.getBoundingClientRect();if(U instanceof Element)return U.getBoundingClientRect();const ie=U.width||0,oe=U.height||0;return{top:U.y,bottom:U.y+oe,left:U.x,right:U.x+ie,height:oe,width:ie}}}function xe(G,U){for(let ie in U)U.hasOwnProperty(ie)&&(G[ie]=U[ie]);return G}function Ke(G){if("number"!=typeof G&&null!=G){const[U,ie]=G.split(Re);return ie&&"px"!==ie?null:parseFloat(U)}return G||null}function me(G){return{top:Math.floor(G.top),right:Math.floor(G.right),bottom:Math.floor(G.bottom),left:Math.floor(G.left),width:Math.floor(G.width),height:Math.floor(G.height)}}const Ce="cdk-global-overlay-wrapper";class He{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(U){const ie=U.getConfig();this._overlayRef=U,this._width&&!ie.width&&U.updateSize({width:this._width}),this._height&&!ie.height&&U.updateSize({height:this._height}),U.hostElement.classList.add(Ce),this._isDisposed=!1}top(U=""){return this._bottomOffset="",this._topOffset=U,this._alignItems="flex-start",this}left(U=""){return this._xOffset=U,this._xPosition="left",this}bottom(U=""){return this._topOffset="",this._bottomOffset=U,this._alignItems="flex-end",this}right(U=""){return this._xOffset=U,this._xPosition="right",this}start(U=""){return this._xOffset=U,this._xPosition="start",this}end(U=""){return this._xOffset=U,this._xPosition="end",this}width(U=""){return this._overlayRef?this._overlayRef.updateSize({width:U}):this._width=U,this}height(U=""){return this._overlayRef?this._overlayRef.updateSize({height:U}):this._height=U,this}centerHorizontally(U=""){return this.left(U),this._xPosition="center",this}centerVertically(U=""){return this.top(U),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement.style,oe=this._overlayRef.getConfig(),{width:Te,height:Xe,maxWidth:Ze,maxHeight:we}=oe,Be=!("100%"!==Te&&"100vw"!==Te||Ze&&"100%"!==Ze&&"100vw"!==Ze),We=!("100%"!==Xe&&"100vh"!==Xe||we&&"100%"!==we&&"100vh"!==we),Ye=this._xPosition,et=this._xOffset,de="rtl"===this._overlayRef.getConfig().direction;let K="",le="",_e="";Be?_e="flex-start":"center"===Ye?(_e="center",de?le=et:K=et):de?"left"===Ye||"end"===Ye?(_e="flex-end",K=et):("right"===Ye||"start"===Ye)&&(_e="flex-start",le=et):"left"===Ye||"start"===Ye?(_e="flex-start",K=et):("right"===Ye||"end"===Ye)&&(_e="flex-end",le=et),U.position=this._cssPosition,U.marginLeft=Be?"0":K,U.marginTop=We?"0":this._topOffset,U.marginBottom=this._bottomOffset,U.marginRight=Be?"0":le,ie.justifyContent=_e,ie.alignItems=We?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement,oe=ie.style;ie.classList.remove(Ce),oe.justifyContent=oe.alignItems=U.marginTop=U.marginBottom=U.marginLeft=U.marginRight=U.position="",this._overlayRef=null,this._isDisposed=!0}}let Qe=(()=>{class G{constructor(ie,oe,Te,Xe){this._viewportRuler=ie,this._document=oe,this._platform=Te,this._overlayContainer=Xe}global(){return new He}flexibleConnectedTo(ie){return new re(ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(o.rL),h.LFG(r.K0),h.LFG(f.t4),h.LFG(tt))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),st=0,Ge=(()=>{class G{constructor(ie,oe,Te,Xe,Ze,we,Be,We,Ye,et,de,K){this.scrollStrategies=ie,this._overlayContainer=oe,this._componentFactoryResolver=Te,this._positionBuilder=Xe,this._keyboardDispatcher=Ze,this._injector=we,this._ngZone=Be,this._document=We,this._directionality=Ye,this._location=et,this._outsideClickDispatcher=de,this._animationsModuleType=K}create(ie){const oe=this._createHostElement(),Te=this._createPaneElement(oe),Xe=this._createPortalOutlet(Te),Ze=new ye(ie);return Ze.direction=Ze.direction||this._directionality.value,new lt(Xe,oe,Te,Ze,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ie){const oe=this._document.createElement("div");return oe.id="cdk-overlay-"+st++,oe.classList.add("cdk-overlay-pane"),ie.appendChild(oe),oe}_createHostElement(){const ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ie),ie}_createPortalOutlet(ie){return this._appRef||(this._appRef=this._injector.get(h.z2F)),new w.u0(ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(ve),h.LFG(tt),h.LFG(h._Vd),h.LFG(Qe),h.LFG(Ie),h.LFG(h.zs3),h.LFG(h.R0b),h.LFG(r.K0),h.LFG(d.Is),h.LFG(r.Ye),h.LFG(ke),h.LFG(h.QbO,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac}),G})();const at=[{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"}],_t=new h.OlP("cdk-connected-overlay-scroll-strategy");let xt=(()=>{class G{constructor(ie){this.elementRef=ie}}return G.\u0275fac=function(ie){return new(ie||G)(h.Y36(h.SBq))},G.\u0275dir=h.lG2({type:G,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),G})(),yt=(()=>{class G{constructor(ie,oe,Te,Xe,Ze){this._overlay=ie,this._dir=Ze,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.w0.EMPTY,this._attachSubscription=A.w0.EMPTY,this._detachSubscription=A.w0.EMPTY,this._positionSubscription=A.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new h.vpe,this.positionChange=new h.vpe,this.attach=new h.vpe,this.detach=new h.vpe,this.overlayKeydown=new h.vpe,this.overlayOutsideClick=new h.vpe,this._templatePortal=new w.UE(oe,Te),this._scrollStrategyFactory=Xe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(ie){this._offsetX=ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ie){this._offsetY=ie,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ie){this._hasBackdrop=(0,_.Ig)(ie)}get lockPosition(){return this._lockPosition}set lockPosition(ie){this._lockPosition=(0,_.Ig)(ie)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ie){this._flexibleDimensions=(0,_.Ig)(ie)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ie){this._growAfterOpen=(0,_.Ig)(ie)}get push(){return this._push}set push(ie){this._push=(0,_.Ig)(ie)}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(ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ie.origin&&this.open&&this._position.apply()),ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=at);const ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ie.detachments().subscribe(()=>this.detach.emit()),ie.keydownEvents().subscribe(oe=>{this.overlayKeydown.next(oe),oe.keyCode===H.hY&&!this.disableClose&&!(0,H.Vb)(oe)&&(oe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(oe=>{this.overlayOutsideClick.next(oe)})}_buildConfig(){const ie=this._position=this.positionStrategy||this._createPositionStrategy(),oe=new ye({direction:this._dir,positionStrategy:ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(oe.width=this.width),(this.height||0===this.height)&&(oe.height=this.height),(this.minWidth||0===this.minWidth)&&(oe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(oe.minHeight=this.minHeight),this.backdropClass&&(oe.backdropClass=this.backdropClass),this.panelClass&&(oe.panelClass=this.panelClass),oe}_updatePositionStrategy(ie){const oe=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return ie.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(oe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ie=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ie),ie}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof xt?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(ie=>{this.backdropClick.emit(ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function b(G,U=!1){return(0,B.e)((ie,oe)=>{let Te=0;ie.subscribe((0,m.x)(oe,Xe=>{const Ze=G(Xe,Te++);(Ze||U)&&oe.next(Xe),!Ze&&oe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ie=>{this.positionChange.emit(ie),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return G.\u0275fac=function(ie){return new(ie||G)(h.Y36(Ge),h.Y36(h.Rgc),h.Y36(h.s_b),h.Y36(_t),h.Y36(d.Is,8))},G.\u0275dir=h.lG2({type:G,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"],features:[h.TTD]}),G})();const At={provide:_t,deps:[Ge],useFactory:function Pt(G){return()=>G.scrollStrategies.reposition()}};let nt=(()=>{class G{}return G.\u0275fac=function(ie){return new(ie||G)},G.\u0275mod=h.oAB({type:G}),G.\u0275inj=h.cJS({providers:[Ge,At],imports:[d.vT,w.eL,o.Cl,o.Cl]}),G})()},6321:(Ue,J,s)=>{"use strict";s.d(J,{Mq:()=>S,Oy:()=>ue,ht:()=>Ee,i$:()=>B,kV:()=>te,qK:()=>L,sA:()=>T,t4:()=>_});var o=s(4537),r=s(8692);let h;try{h=typeof Intl<"u"&&Intl.v8BreakIterator}catch{h=!1}let d,_=(()=>{class Z{constructor(Se){this._platformId=Se,this.isBrowser=this._platformId?(0,r.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&&!h)&&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 Z.\u0275fac=function(Se){return new(Se||Z)(o.LFG(o.Lbi))},Z.\u0275prov=o.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const w=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function L(){if(d)return d;if("object"!=typeof document||!document)return d=new Set(w),d;let Z=document.createElement("input");return d=new Set(w.filter(Me=>(Z.setAttribute("type",Me),Z.type===Me))),d}let A,b,H;function B(Z){return function g(){if(null==A&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>A=!0}))}finally{A=A||!1}return A}()?Z:!!Z.capture}function S(){if(null==b){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{const Z=Element.prototype.scrollTo;b=!!Z&&!/\{\s*\[native code\]\s*\}/.test(Z.toString())}}return b}function te(Z){if(function x(){if(null==H){const Z=typeof document<"u"?document.head:null;H=!(!Z||!Z.createShadowRoot&&!Z.attachShadow)}return H}()){const Me=Z.getRootNode?Z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function Ee(){let Z=typeof document<"u"&&document?document.activeElement:null;for(;Z&&Z.shadowRoot;){const Me=Z.shadowRoot.activeElement;if(Me===Z)break;Z=Me}return Z}function T(Z){return Z.composedPath?Z.composedPath()[0]:Z.target}function ue(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8632:(Ue,J,s)=>{"use strict";s.d(J,{C5:()=>g,Pl:()=>Ee,UE:()=>B,eL:()=>ue,en:()=>b,ig:()=>x,u0:()=>v});var o=s(4537),r=s(8692);class A{attach(Se){return this._attachedHost=Se,Se.attach(this)}detach(){let Se=this._attachedHost;null!=Se&&(this._attachedHost=null,Se.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Se){this._attachedHost=Se}}class g extends A{constructor(Se,ve,ye,De){super(),this.component=Se,this.viewContainerRef=ve,this.injector=ye,this.componentFactoryResolver=De}}class B extends A{constructor(Se,ve,ye,De){super(),this.templateRef=Se,this.viewContainerRef=ve,this.context=ye,this.injector=De}get origin(){return this.templateRef.elementRef}attach(Se,ve=this.context){return this.context=ve,super.attach(Se)}detach(){return this.context=void 0,super.detach()}}class m extends A{constructor(Se){super(),this.element=Se instanceof o.SBq?Se.nativeElement:Se}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Se){return Se instanceof g?(this._attachedPortal=Se,this.attachComponentPortal(Se)):Se instanceof B?(this._attachedPortal=Se,this.attachTemplatePortal(Se)):this.attachDomPortal&&Se instanceof m?(this._attachedPortal=Se,this.attachDomPortal(Se)):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(Se){this._disposeFn=Se}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class v extends b{constructor(Se,ve,ye,De,z){super(),this.outletElement=Se,this._componentFactoryResolver=ve,this._appRef=ye,this._defaultInjector=De,this.attachDomPortal=Y=>{const V=Y.element,j=this._document.createComment("dom-portal");V.parentNode.insertBefore(j,V),this.outletElement.appendChild(V),this._attachedPortal=Y,super.setDisposeFn(()=>{j.parentNode&&j.parentNode.replaceChild(V,j)})},this._document=z}attachComponentPortal(Se){const ye=(Se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Se.component);let De;return Se.viewContainerRef?(De=Se.viewContainerRef.createComponent(ye,Se.viewContainerRef.length,Se.injector||Se.viewContainerRef.injector),this.setDisposeFn(()=>De.destroy())):(De=ye.create(Se.injector||this._defaultInjector||o.zs3.NULL),this._appRef.attachView(De.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(De.hostView),De.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(De)),this._attachedPortal=Se,De}attachTemplatePortal(Se){let ve=Se.viewContainerRef,ye=ve.createEmbeddedView(Se.templateRef,Se.context,{injector:Se.injector});return ye.rootNodes.forEach(De=>this.outletElement.appendChild(De)),ye.detectChanges(),this.setDisposeFn(()=>{let De=ve.indexOf(ye);-1!==De&&ve.remove(De)}),this._attachedPortal=Se,ye}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Se){return Se.hostView.rootNodes[0]}}let x=(()=>{class Me extends B{constructor(ve,ye){super(ve,ye)}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.Y36(o.Rgc),o.Y36(o.s_b))},Me.\u0275dir=o.lG2({type:Me,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[o.qOj]}),Me})(),Ee=(()=>{class Me extends b{constructor(ve,ye,De){super(),this._componentFactoryResolver=ve,this._viewContainerRef=ye,this._isInitialized=!1,this.attached=new o.vpe,this.attachDomPortal=z=>{const Y=z.element,V=this._document.createComment("dom-portal");z.setAttachedHost(this),Y.parentNode.insertBefore(V,Y),this._getRootNode().appendChild(Y),this._attachedPortal=z,super.setDisposeFn(()=>{V.parentNode&&V.parentNode.replaceChild(Y,V)})},this._document=De}get portal(){return this._attachedPortal}set portal(ve){this.hasAttached()&&!ve&&!this._isInitialized||(this.hasAttached()&&super.detach(),ve&&super.attach(ve),this._attachedPortal=ve||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ve){ve.setAttachedHost(this);const ye=null!=ve.viewContainerRef?ve.viewContainerRef:this._viewContainerRef,z=(ve.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ve.component),Y=ye.createComponent(z,ye.length,ve.injector||ye.injector);return ye!==this._viewContainerRef&&this._getRootNode().appendChild(Y.hostView.rootNodes[0]),super.setDisposeFn(()=>Y.destroy()),this._attachedPortal=ve,this._attachedRef=Y,this.attached.emit(Y),Y}attachTemplatePortal(ve){ve.setAttachedHost(this);const ye=this._viewContainerRef.createEmbeddedView(ve.templateRef,ve.context,{injector:ve.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ve,this._attachedRef=ye,this.attached.emit(ye),ye}_getRootNode(){const ve=this._viewContainerRef.element.nativeElement;return ve.nodeType===ve.ELEMENT_NODE?ve:ve.parentNode}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36(r.K0))},Me.\u0275dir=o.lG2({type:Me,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.qOj]}),Me})(),ue=(()=>{class Me{}return Me.\u0275fac=function(ve){return new(ve||Me)},Me.\u0275mod=o.oAB({type:Me}),Me.\u0275inj=o.cJS({}),Me})()},5531:(Ue,J,s)=>{"use strict";s.d(J,{Cl:()=>j,ZD:()=>V,mF:()=>ue,rL:()=>Se});var o=s(4929),r=s(4537),h=s(8023),_=s(4945),f=s(818),d=s(4581),A=(s(9239),s(6401),s(9232)),g=s(4970),B=s(6321),m=s(8692),b=s(5875);let ue=(()=>{class X{constructor(ke,tt,lt){this._ngZone=ke,this._platform=tt,this._scrolled=new h.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=lt}register(ke){this.scrollContainers.has(ke)||this.scrollContainers.set(ke,ke.elementScrolled().subscribe(()=>this._scrolled.next(ke)))}deregister(ke){const tt=this.scrollContainers.get(ke);tt&&(tt.unsubscribe(),this.scrollContainers.delete(ke))}scrolled(ke=20){return this._platform.isBrowser?new f.y(tt=>{this._globalSubscription||this._addGlobalListener();const lt=ke>0?this._scrolled.pipe((0,A.e)(ke)).subscribe(tt):this._scrolled.subscribe(tt);return this._scrolledCount++,()=>{lt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,_.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ke,tt)=>this.deregister(tt)),this._scrolled.complete()}ancestorScrolled(ke,tt){const lt=this.getAncestorScrollContainers(ke);return this.scrolled(tt).pipe((0,g.h)($=>!$||lt.indexOf($)>-1))}getAncestorScrollContainers(ke){const tt=[];return this.scrollContainers.forEach((lt,$)=>{this._scrollableContainsElement($,ke)&&tt.push($)}),tt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ke,tt){let lt=(0,o.fI)(tt),$=ke.getElementRef().nativeElement;do{if(lt==$)return!0}while(lt=lt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ke=this._getWindow();return(0,d.R)(ke.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return X.\u0275fac=function(ke){return new(ke||X)(r.LFG(r.R0b),r.LFG(B.t4),r.LFG(m.K0,8))},X.\u0275prov=r.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),Se=(()=>{class X{constructor(ke,tt,lt){this._platform=ke,this._change=new h.x,this._changeListener=$=>{this._change.next($)},this._document=lt,tt.runOutsideAngular(()=>{if(ke.isBrowser){const $=this._getWindow();$.addEventListener("resize",this._changeListener),$.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ke=this._getWindow();ke.removeEventListener("resize",this._changeListener),ke.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ke={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ke}getViewportRect(){const ke=this.getViewportScrollPosition(),{width:tt,height:lt}=this.getViewportSize();return{top:ke.top,left:ke.left,bottom:ke.top+lt,right:ke.left+tt,height:lt,width:tt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ke=this._document,tt=this._getWindow(),lt=ke.documentElement,$=lt.getBoundingClientRect();return{top:-$.top||ke.body.scrollTop||tt.scrollY||lt.scrollTop||0,left:-$.left||ke.body.scrollLeft||tt.scrollX||lt.scrollLeft||0}}change(ke=20){return ke>0?this._change.pipe((0,A.e)(ke)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ke=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ke.innerWidth,height:ke.innerHeight}:{width:0,height:0}}}return X.\u0275fac=function(ke){return new(ke||X)(r.LFG(B.t4),r.LFG(r.R0b),r.LFG(m.K0,8))},X.\u0275prov=r.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),V=(()=>{class X{}return X.\u0275fac=function(ke){return new(ke||X)},X.\u0275mod=r.oAB({type:X}),X.\u0275inj=r.cJS({}),X})(),j=(()=>{class X{}return X.\u0275fac=function(ke){return new(ke||X)},X.\u0275mod=r.oAB({type:X}),X.\u0275inj=r.cJS({imports:[b.vT,V,b.vT,V]}),X})()},7025:(Ue,J,s)=>{"use strict";s.d(J,{IC:()=>b,Ky:()=>S,Lq:()=>B});var o=s(6321),r=s(4537),h=s(4929),_=s(9018),f=s(8023),d=s(4581),w=s(9232),L=s(3528),A=s(8692);const g=(0,o.i$)({passive:!0});let B=(()=>{class v{constructor(x,te){this._platform=x,this._ngZone=te,this._monitoredElements=new Map}monitor(x){if(!this._platform.isBrowser)return _.E;const te=(0,h.fI)(x),Ee=this._monitoredElements.get(te);if(Ee)return Ee.subject;const T=new f.x,ue="cdk-text-field-autofilled",Z=Me=>{"cdk-text-field-autofill-start"!==Me.animationName||te.classList.contains(ue)?"cdk-text-field-autofill-end"===Me.animationName&&te.classList.contains(ue)&&(te.classList.remove(ue),this._ngZone.run(()=>T.next({target:Me.target,isAutofilled:!1}))):(te.classList.add(ue),this._ngZone.run(()=>T.next({target:Me.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{te.addEventListener("animationstart",Z,g),te.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(te,{subject:T,unlisten:()=>{te.removeEventListener("animationstart",Z,g)}}),T}stopMonitoring(x){const te=(0,h.fI)(x),Ee=this._monitoredElements.get(te);Ee&&(Ee.unlisten(),Ee.subject.complete(),te.classList.remove("cdk-text-field-autofill-monitored"),te.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(te))}ngOnDestroy(){this._monitoredElements.forEach((x,te)=>this.stopMonitoring(te))}}return v.\u0275fac=function(x){return new(x||v)(r.LFG(o.t4),r.LFG(r.R0b))},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),b=(()=>{class v{constructor(x,te,Ee,T){this._elementRef=x,this._platform=te,this._ngZone=Ee,this._destroyed=new f.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=ue=>{this._hasFocus="focus"===ue.type},this._document=T,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(x){this._minRows=(0,h.su)(x),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(x){this._maxRows=(0,h.su)(x),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(x){x=(0,h.Ig)(x),this._enabled!==x&&((this._enabled=x)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(x){this._cachedPlaceholderHeight=void 0,x?this._textareaElement.setAttribute("placeholder",x):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const x=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.minHeight=x)}_setMaxHeight(){const x=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.maxHeight=x)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const x=this._getWindow();(0,d.R)(x,"resize").pipe((0,w.e)(16),(0,L.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let x=this._textareaElement.cloneNode(!1);x.rows=1,x.style.position="absolute",x.style.visibility="hidden",x.style.border="none",x.style.padding="0",x.style.height="",x.style.minHeight="",x.style.maxHeight="",x.style.overflow="hidden",this._textareaElement.parentNode.appendChild(x),this._cachedLineHeight=x.clientHeight,x.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const x=this._textareaElement,te=x.style.marginBottom||"",Ee=this._platform.FIREFOX,T=Ee&&this._hasFocus,ue=Ee?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";T&&(x.style.marginBottom=`${x.clientHeight}px`),x.classList.add(ue);const Z=x.scrollHeight-4;return x.classList.remove(ue),T&&(x.style.marginBottom=te),Z}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const x=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=x}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(x=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const te=this._elementRef.nativeElement,Ee=te.value;if(!x&&this._minRows===this._previousMinRows&&Ee===this._previousValue)return;const T=this._measureScrollHeight(),ue=Math.max(T,this._cachedPlaceholderHeight||0);te.style.height=`${ue}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(te)):setTimeout(()=>this._scrollToCaretPosition(te))}),this._previousValue=Ee,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(x){const{selectionStart:te,selectionEnd:Ee}=x;!this._destroyed.isStopped&&this._hasFocus&&x.setSelectionRange(te,Ee)}}return v.\u0275fac=function(x){return new(x||v)(r.Y36(r.SBq),r.Y36(o.t4),r.Y36(r.R0b),r.Y36(A.K0,8))},v.\u0275dir=r.lG2({type:v,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(x,te){1&x&&r.NdJ("input",function(){return te._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),v})(),S=(()=>{class v{}return v.\u0275fac=function(x){return new(x||v)},v.\u0275mod=r.oAB({type:v}),v.\u0275inj=r.cJS({}),v})()},8692:(Ue,J,s)=>{"use strict";s.d(J,{Do:()=>ue,ED:()=>oi,EM:()=>si,HT:()=>f,JF:()=>Ln,K0:()=>w,Mx:()=>Jn,NF:()=>Qn,Nd:()=>gi,O5:()=>ni,Ov:()=>uo,PC:()=>er,RF:()=>Ai,S$:()=>x,V_:()=>g,Ye:()=>Z,b0:()=>T,bD:()=>go,ez:()=>Hi,lw:()=>L,mk:()=>Bn,mr:()=>Ee,n9:()=>Fi,q:()=>h,sg:()=>xn,tP:()=>Li,w_:()=>d});var o=s(4537);let r=null;function h(){return r}function f(q){r||(r=q)}class d{}const w=new o.OlP("DocumentToken");let L=(()=>{class q{historyGo(ee){throw new Error("Not implemented")}}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275prov=o.Yz7({token:q,factory:function(){return function A(){return(0,o.LFG)(B)}()},providedIn:"platform"}),q})();const g=new o.OlP("Location Initialized");let B=(()=>{class q extends L{constructor(ee){super(),this._doc=ee,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(ee){const ze=h().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("popstate",ee,!1),()=>ze.removeEventListener("popstate",ee)}onHashChange(ee){const ze=h().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("hashchange",ee,!1),()=>ze.removeEventListener("hashchange",ee)}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(ee){this.location.pathname=ee}pushState(ee,ze,gt){m()?this._history.pushState(ee,ze,gt):this.location.hash=gt}replaceState(ee,ze,gt){m()?this._history.replaceState(ee,ze,gt):this.location.hash=gt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ee=0){this._history.go(ee)}getState(){return this._history.state}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(w))},q.\u0275prov=o.Yz7({token:q,factory:function(){return function b(){return new B((0,o.LFG)(w))}()},providedIn:"platform"}),q})();function m(){return!!window.history.pushState}function S(q,je){if(0==q.length)return je;if(0==je.length)return q;let ee=0;return q.endsWith("/")&&ee++,je.startsWith("/")&&ee++,2==ee?q+je.substring(1):1==ee?q+je:q+"/"+je}function v(q){const je=q.match(/#|\?|$/),ee=je&&je.index||q.length;return q.slice(0,ee-("/"===q[ee-1]?1:0))+q.slice(ee)}function H(q){return q&&"?"!==q[0]?"?"+q:q}let x=(()=>{class q{historyGo(ee){throw new Error("Not implemented")}}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275prov=o.Yz7({token:q,factory:function(){return function te(){const q=(0,o.LFG)(w).location;return new T((0,o.LFG)(L),q&&q.origin||"")}()},providedIn:"root"}),q})();const Ee=new o.OlP("appBaseHref");let T=(()=>{class q extends x{constructor(ee,ze){if(super(),this._platformLocation=ee,this._removeListenerFns=[],null==ze&&(ze=this._platformLocation.getBaseHrefFromDOM()),null==ze)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.");this._baseHref=ze}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ee){this._removeListenerFns.push(this._platformLocation.onPopState(ee),this._platformLocation.onHashChange(ee))}getBaseHref(){return this._baseHref}prepareExternalUrl(ee){return S(this._baseHref,ee)}path(ee=!1){const ze=this._platformLocation.pathname+H(this._platformLocation.search),gt=this._platformLocation.hash;return gt&&ee?`${ze}${gt}`:ze}pushState(ee,ze,gt,wt){const kt=this.prepareExternalUrl(gt+H(wt));this._platformLocation.pushState(ee,ze,kt)}replaceState(ee,ze,gt,wt){const kt=this.prepareExternalUrl(gt+H(wt));this._platformLocation.replaceState(ee,ze,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ee=0){this._platformLocation.historyGo?.(ee)}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(L),o.LFG(Ee,8))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})(),ue=(()=>{class q extends x{constructor(ee,ze){super(),this._platformLocation=ee,this._baseHref="",this._removeListenerFns=[],null!=ze&&(this._baseHref=ze)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ee){this._removeListenerFns.push(this._platformLocation.onPopState(ee),this._platformLocation.onHashChange(ee))}getBaseHref(){return this._baseHref}path(ee=!1){let ze=this._platformLocation.hash;return null==ze&&(ze="#"),ze.length>0?ze.substring(1):ze}prepareExternalUrl(ee){const ze=S(this._baseHref,ee);return ze.length>0?"#"+ze:ze}pushState(ee,ze,gt,wt){let kt=this.prepareExternalUrl(gt+H(wt));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.pushState(ee,ze,kt)}replaceState(ee,ze,gt,wt){let kt=this.prepareExternalUrl(gt+H(wt));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.replaceState(ee,ze,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ee=0){this._platformLocation.historyGo?.(ee)}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(L),o.LFG(Ee,8))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})(),Z=(()=>{class q{constructor(ee){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ee;const ze=this._locationStrategy.getBaseHref();this._baseHref=v(ve(ze)),this._locationStrategy.onPopState(gt=>{this._subject.emit({url:this.path(!0),pop:!0,state:gt.state,type:gt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ee=!1){return this.normalize(this._locationStrategy.path(ee))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ee,ze=""){return this.path()==this.normalize(ee+H(ze))}normalize(ee){return q.stripTrailingSlash(function Se(q,je){return q&&je.startsWith(q)?je.substring(q.length):je}(this._baseHref,ve(ee)))}prepareExternalUrl(ee){return ee&&"/"!==ee[0]&&(ee="/"+ee),this._locationStrategy.prepareExternalUrl(ee)}go(ee,ze="",gt=null){this._locationStrategy.pushState(gt,"",ee,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(ee+H(ze)),gt)}replaceState(ee,ze="",gt=null){this._locationStrategy.replaceState(gt,"",ee,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(ee+H(ze)),gt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ee=0){this._locationStrategy.historyGo?.(ee)}onUrlChange(ee){return this._urlChangeListeners.push(ee),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ze=>{this._notifyUrlChangeListeners(ze.url,ze.state)})),()=>{const ze=this._urlChangeListeners.indexOf(ee);this._urlChangeListeners.splice(ze,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ee="",ze){this._urlChangeListeners.forEach(gt=>gt(ee,ze))}subscribe(ee,ze,gt){return this._subject.subscribe({next:ee,error:ze,complete:gt})}}return q.normalizeQueryParams=H,q.joinWithSlash=S,q.stripTrailingSlash=v,q.\u0275fac=function(ee){return new(ee||q)(o.LFG(x))},q.\u0275prov=o.Yz7({token:q,factory:function(){return function Me(){return new Z((0,o.LFG)(x))}()},providedIn:"root"}),q})();function ve(q){return q.replace(/\/index.html$/,"")}function Jn(q,je){je=encodeURIComponent(je);for(const ee of q.split(";")){const ze=ee.indexOf("="),[gt,wt]=-1==ze?[ee,""]:[ee.slice(0,ze),ee.slice(ze+1)];if(gt.trim()===je)return decodeURIComponent(wt)}return null}let Bn=(()=>{class q{constructor(ee,ze,gt,wt){this._iterableDiffers=ee,this._keyValueDiffers=ze,this._ngEl=gt,this._renderer=wt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ee){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ee?ee.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ee){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ee?ee.split(/\s+/):ee,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ee=this._iterableDiffer.diff(this._rawClass);ee&&this._applyIterableChanges(ee)}else if(this._keyValueDiffer){const ee=this._keyValueDiffer.diff(this._rawClass);ee&&this._applyKeyValueChanges(ee)}}_applyKeyValueChanges(ee){ee.forEachAddedItem(ze=>this._toggleClass(ze.key,ze.currentValue)),ee.forEachChangedItem(ze=>this._toggleClass(ze.key,ze.currentValue)),ee.forEachRemovedItem(ze=>{ze.previousValue&&this._toggleClass(ze.key,!1)})}_applyIterableChanges(ee){ee.forEachAddedItem(ze=>{if("string"!=typeof ze.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(ze.item)}`);this._toggleClass(ze.item,!0)}),ee.forEachRemovedItem(ze=>this._toggleClass(ze.item,!1))}_applyClasses(ee){ee&&(Array.isArray(ee)||ee instanceof Set?ee.forEach(ze=>this._toggleClass(ze,!0)):Object.keys(ee).forEach(ze=>this._toggleClass(ze,!!ee[ze])))}_removeClasses(ee){ee&&(Array.isArray(ee)||ee instanceof Set?ee.forEach(ze=>this._toggleClass(ze,!1)):Object.keys(ee).forEach(ze=>this._toggleClass(ze,!1)))}_toggleClass(ee,ze){(ee=ee.trim())&&ee.split(/\s+/g).forEach(gt=>{ze?this._renderer.addClass(this._ngEl.nativeElement,gt):this._renderer.removeClass(this._ngEl.nativeElement,gt)})}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),q})();class qn{constructor(je,ee,ze,gt){this.$implicit=je,this.ngForOf=ee,this.index=ze,this.count=gt}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 xn=(()=>{class q{constructor(ee,ze,gt){this._viewContainer=ee,this._template=ze,this._differs=gt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ee){this._ngForOf=ee,this._ngForOfDirty=!0}set ngForTrackBy(ee){this._trackByFn=ee}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ee){ee&&(this._template=ee)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ee=this._ngForOf;!this._differ&&ee&&(this._differ=this._differs.find(ee).create(this.ngForTrackBy))}if(this._differ){const ee=this._differ.diff(this._ngForOf);ee&&this._applyChanges(ee)}}_applyChanges(ee){const ze=this._viewContainer;ee.forEachOperation((gt,wt,kt)=>{if(null==gt.previousIndex)ze.createEmbeddedView(this._template,new qn(gt.item,this._ngForOf,-1,-1),null===kt?void 0:kt);else if(null==kt)ze.remove(null===wt?void 0:wt);else if(null!==wt){const Wt=ze.get(wt);ze.move(Wt,kt),ti(Wt,gt)}});for(let gt=0,wt=ze.length;gt{ti(ze.get(gt.currentIndex),gt)})}static ngTemplateContextGuard(ee,ze){return!0}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),q})();function ti(q,je){q.context.$implicit=je.item}let ni=(()=>{class q{constructor(ee,ze){this._viewContainer=ee,this._context=new Kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ze}set ngIf(ee){this._context.$implicit=this._context.ngIf=ee,this._updateView()}set ngIfThen(ee){ei("ngIfThen",ee),this._thenTemplateRef=ee,this._thenViewRef=null,this._updateView()}set ngIfElse(ee){ei("ngIfElse",ee),this._elseTemplateRef=ee,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(ee,ze){return!0}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),q})();class Kn{constructor(){this.$implicit=null,this.ngIf=null}}function ei(q,je){if(je&&!je.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,o.AaK)(je)}'.`)}class Xi{constructor(je,ee){this._viewContainerRef=je,this._templateRef=ee,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(je){je&&!this._created?this.create():!je&&this._created&&this.destroy()}}let Ai=(()=>{class q{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ee){this._ngSwitch=ee,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ee){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ee)}_matchCase(ee){const ze=ee==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ze,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ze}_updateDefaultCases(ee){if(this._defaultViews&&ee!==this._defaultUsed){this._defaultUsed=ee;for(let ze=0;ze{class q{constructor(ee,ze,gt){this.ngSwitch=gt,gt._addCase(),this._view=new Xi(ee,ze)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Ai,9))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),q})(),oi=(()=>{class q{constructor(ee,ze,gt){gt._addDefault(new Xi(ee,ze))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Ai,9))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngSwitchDefault",""]]}),q})(),er=(()=>{class q{constructor(ee,ze,gt){this._ngEl=ee,this._differs=ze,this._renderer=gt,this._ngStyle=null,this._differ=null}set ngStyle(ee){this._ngStyle=ee,!this._differ&&ee&&(this._differ=this._differs.find(ee).create())}ngDoCheck(){if(this._differ){const ee=this._differ.diff(this._ngStyle);ee&&this._applyChanges(ee)}}_setStyle(ee,ze){const[gt,wt]=ee.split(".");null!=(ze=null!=ze&&wt?`${ze}${wt}`:ze)?this._renderer.setStyle(this._ngEl.nativeElement,gt,ze):this._renderer.removeStyle(this._ngEl.nativeElement,gt)}_applyChanges(ee){ee.forEachRemovedItem(ze=>this._setStyle(ze.key,null)),ee.forEachAddedItem(ze=>this._setStyle(ze.key,ze.currentValue)),ee.forEachChangedItem(ze=>this._setStyle(ze.key,ze.currentValue))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),q})(),Li=(()=>{class q{constructor(ee){this._viewContainerRef=ee,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ee){if(ee.ngTemplateOutlet||ee.ngTemplateOutletInjector){const ze=this._viewContainerRef;if(this._viewRef&&ze.remove(ze.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:gt,ngTemplateOutletContext:wt,ngTemplateOutletInjector:kt}=this;this._viewRef=ze.createEmbeddedView(gt,wt,kt?{injector:kt}:void 0)}else this._viewRef=null}else this._viewRef&&ee.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[o.TTD]}),q})();class Ro{createSubscription(je,ee){return je.subscribe({next:ee,error:ze=>{throw ze}})}dispose(je){je.unsubscribe()}}class Kr{createSubscription(je,ee){return je.then(ee,ze=>{throw ze})}dispose(je){}}const ko=new Kr,nr=new Ro;let uo=(()=>{class q{constructor(ee){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ee}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ee){return this._obj?ee!==this._obj?(this._dispose(),this.transform(ee)):this._latestValue:(ee&&this._subscribe(ee),this._latestValue)}_subscribe(ee){this._obj=ee,this._strategy=this._selectStrategy(ee),this._subscription=this._strategy.createSubscription(ee,ze=>this._updateLatestValue(ee,ze))}_selectStrategy(ee){if((0,o.QGY)(ee))return ko;if((0,o.F4k)(ee))return nr;throw function ui(q,je){return new o.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ee,ze){ee===this._obj&&(this._latestValue=ze,this._ref.markForCheck())}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.sBO,16))},q.\u0275pipe=o.Yjl({name:"async",type:q,pure:!1}),q})(),gi=(()=>{class q{constructor(ee){this.differs=ee,this.keyValues=[],this.compareFn=Ui}transform(ee,ze=Ui){if(!ee||!(ee instanceof Map)&&"object"!=typeof ee)return null;this.differ||(this.differ=this.differs.find(ee).create());const gt=this.differ.diff(ee),wt=ze!==this.compareFn;return gt&&(this.keyValues=[],gt.forEachItem(kt=>{this.keyValues.push(function or(q,je){return{key:q,value:je}}(kt.key,kt.currentValue))})),(gt||wt)&&(this.keyValues.sort(ze),this.compareFn=ze),this.keyValues}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.aQg,16))},q.\u0275pipe=o.Yjl({name:"keyvalue",type:q,pure:!1}),q})();function Ui(q,je){const ee=q.key,ze=je.key;if(ee===ze)return 0;if(void 0===ee)return 1;if(void 0===ze)return-1;if(null===ee)return 1;if(null===ze)return-1;if("string"==typeof ee&&"string"==typeof ze)return ee{class q{}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275mod=o.oAB({type:q}),q.\u0275inj=o.cJS({}),q})();const go="browser";function Qn(q){return q===go}let si=(()=>{class q{}return q.\u0275prov=(0,o.Yz7)({token:q,providedIn:"root",factory:()=>new Bo((0,o.LFG)(w),window)}),q})();class Bo{constructor(je,ee){this.document=je,this.window=ee,this.offset=()=>[0,0]}setOffset(je){this.offset=Array.isArray(je)?()=>je:je}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(je){this.supportsScrolling()&&this.window.scrollTo(je[0],je[1])}scrollToAnchor(je){if(!this.supportsScrolling())return;const ee=function $i(q,je){const ee=q.getElementById(je)||q.getElementsByName(je)[0];if(ee)return ee;if("function"==typeof q.createTreeWalker&&q.body&&(q.body.createShadowRoot||q.body.attachShadow)){const ze=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let gt=ze.currentNode;for(;gt;){const wt=gt.shadowRoot;if(wt){const kt=wt.getElementById(je)||wt.querySelector(`[name="${je}"]`);if(kt)return kt}gt=ze.nextNode()}}return null}(this.document,je);ee&&(this.scrollToElement(ee),ee.focus())}setHistoryScrollRestoration(je){if(this.supportScrollRestoration()){const ee=this.window.history;ee&&ee.scrollRestoration&&(ee.scrollRestoration=je)}}scrollToElement(je){const ee=je.getBoundingClientRect(),ze=ee.left+this.window.pageXOffset,gt=ee.top+this.window.pageYOffset,wt=this.offset();this.window.scrollTo(ze-wt[0],gt-wt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const je=gn(this.window.history)||gn(Object.getPrototypeOf(this.window.history));return!(!je||!je.writable&&!je.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function gn(q){return Object.getOwnPropertyDescriptor(q,"scrollRestoration")}class Ln{}},5732:(Ue,J,s)=>{"use strict";s.d(J,{JF:()=>ft,WM:()=>g,eN:()=>X});var o=s(8692),r=s(4537),h=s(4945),_=s(818),f=s(4551),d=s(4970),w=s(7969);class L{}class A{}class g{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(Te=>{const Xe=Te.indexOf(":");if(Xe>0){const Ze=Te.slice(0,Xe),we=Ze.toLowerCase(),Be=Te.slice(Xe+1).trim();this.maybeSetNormalizedName(Ze,we),this.headers.has(we)?this.headers.get(we).push(Be):this.headers.set(we,[Be])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(Te=>{let Xe=oe[Te];const Ze=Te.toLowerCase();"string"==typeof Xe&&(Xe=[Xe]),Xe.length>0&&(this.headers.set(Ze,Xe),this.maybeSetNormalizedName(Te,Ze))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const Te=this.headers.get(oe.toLowerCase());return Te&&Te.length>0?Te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,Te){return this.clone({name:oe,value:Te,op:"a"})}set(oe,Te){return this.clone({name:oe,value:Te,op:"s"})}delete(oe,Te){return this.clone({name:oe,value:Te,op:"d"})}maybeSetNormalizedName(oe,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,oe)}init(){this.lazyInit&&(this.lazyInit instanceof g?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(Te=>{this.headers.set(Te,oe.headers.get(Te)),this.normalizedNames.set(Te,oe.normalizedNames.get(Te))})}clone(oe){const Te=new g;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof g?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),Te}applyUpdate(oe){const Te=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Xe=oe.value;if("string"==typeof Xe&&(Xe=[Xe]),0===Xe.length)return;this.maybeSetNormalizedName(oe.name,Te);const Ze=("a"===oe.op?this.headers.get(Te):void 0)||[];Ze.push(...Xe),this.headers.set(Te,Ze);break;case"d":const we=oe.value;if(we){let Be=this.headers.get(Te);if(!Be)return;Be=Be.filter(We=>-1===we.indexOf(We)),0===Be.length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,Be)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(Te=>oe(this.normalizedNames.get(Te),this.headers.get(Te)))}}class B{encodeKey(oe){return v(oe)}encodeValue(oe){return v(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const b=/%(\d[a-f0-9])/gi,S={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function v(ie){return encodeURIComponent(ie).replace(b,(oe,Te)=>S[Te]??oe)}function H(ie){return`${ie}`}class x{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new B,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function m(ie,oe){const Te=new Map;return ie.length>0&&ie.replace(/^\?/,"").split("&").forEach(Ze=>{const we=Ze.indexOf("="),[Be,We]=-1==we?[oe.decodeKey(Ze),""]:[oe.decodeKey(Ze.slice(0,we)),oe.decodeValue(Ze.slice(we+1))],Ye=Te.get(Be)||[];Ye.push(We),Te.set(Be,Ye)}),Te}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(Te=>{const Xe=oe.fromObject[Te],Ze=Array.isArray(Xe)?Xe.map(H):[H(Xe)];this.map.set(Te,Ze)})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const Te=this.map.get(oe);return Te?Te[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,Te){return this.clone({param:oe,value:Te,op:"a"})}appendAll(oe){const Te=[];return Object.keys(oe).forEach(Xe=>{const Ze=oe[Xe];Array.isArray(Ze)?Ze.forEach(we=>{Te.push({param:Xe,value:we,op:"a"})}):Te.push({param:Xe,value:Ze,op:"a"})}),this.clone(Te)}set(oe,Te){return this.clone({param:oe,value:Te,op:"s"})}delete(oe,Te){return this.clone({param:oe,value:Te,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const Te=this.encoder.encodeKey(oe);return this.map.get(oe).map(Xe=>Te+"="+this.encoder.encodeValue(Xe)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const Te=new x({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(oe),Te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const Te=("a"===oe.op?this.map.get(oe.param):void 0)||[];Te.push(H(oe.value)),this.map.set(oe.param,Te);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Xe=this.map.get(oe.param)||[];const Ze=Xe.indexOf(H(oe.value));-1!==Ze&&Xe.splice(Ze,1),Xe.length>0?this.map.set(oe.param,Xe):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class Ee{constructor(){this.map=new Map}set(oe,Te){return this.map.set(oe,Te),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function ue(ie){return typeof ArrayBuffer<"u"&&ie instanceof ArrayBuffer}function Z(ie){return typeof Blob<"u"&&ie instanceof Blob}function Me(ie){return typeof FormData<"u"&&ie instanceof FormData}class ve{constructor(oe,Te,Xe,Ze){let we;if(this.url=Te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function T(ie){switch(ie){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ze?(this.body=void 0!==Xe?Xe:null,we=Ze):we=Xe,we&&(this.reportProgress=!!we.reportProgress,this.withCredentials=!!we.withCredentials,we.responseType&&(this.responseType=we.responseType),we.headers&&(this.headers=we.headers),we.context&&(this.context=we.context),we.params&&(this.params=we.params)),this.headers||(this.headers=new g),this.context||(this.context=new Ee),this.params){const Be=this.params.toString();if(0===Be.length)this.urlWithParams=Te;else{const We=Te.indexOf("?");this.urlWithParams=Te+(-1===We?"?":WeK.set(le,oe.setHeaders[le]),Ye)),oe.setParams&&(et=Object.keys(oe.setParams).reduce((K,le)=>K.set(le,oe.setParams[le]),et)),new ve(Te,Xe,we,{params:et,headers:Ye,context:de,reportProgress:We,responseType:Ze,withCredentials:Be})}}var ye=(()=>((ye=ye||{})[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye))();class De{constructor(oe,Te=200,Xe="OK"){this.headers=oe.headers||new g,this.status=void 0!==oe.status?oe.status:Te,this.statusText=oe.statusText||Xe,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class z extends De{constructor(oe={}){super(oe),this.type=ye.ResponseHeader}clone(oe={}){return new z({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class Y extends De{constructor(oe={}){super(oe),this.type=ye.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new Y({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class V extends De{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function j(ie,oe){return{body:oe,headers:ie.headers,context:ie.context,observe:ie.observe,params:ie.params,reportProgress:ie.reportProgress,responseType:ie.responseType,withCredentials:ie.withCredentials}}let X=(()=>{class ie{constructor(Te){this.handler=Te}request(Te,Xe,Ze={}){let we;if(Te instanceof ve)we=Te;else{let Ye,et;Ye=Ze.headers instanceof g?Ze.headers:new g(Ze.headers),Ze.params&&(et=Ze.params instanceof x?Ze.params:new x({fromObject:Ze.params})),we=new ve(Te,Xe,void 0!==Ze.body?Ze.body:null,{headers:Ye,context:Ze.context,params:et,reportProgress:Ze.reportProgress,responseType:Ze.responseType||"json",withCredentials:Ze.withCredentials})}const Be=(0,h.of)(we).pipe((0,f.b)(Ye=>this.handler.handle(Ye)));if(Te instanceof ve||"events"===Ze.observe)return Be;const We=Be.pipe((0,d.h)(Ye=>Ye instanceof Y));switch(Ze.observe||"body"){case"body":switch(we.responseType){case"arraybuffer":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&!(Ye.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ye.body}));case"blob":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&!(Ye.body instanceof Blob))throw new Error("Response is not a Blob.");return Ye.body}));case"text":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&"string"!=typeof Ye.body)throw new Error("Response is not a string.");return Ye.body}));default:return We.pipe((0,w.U)(Ye=>Ye.body))}case"response":return We;default:throw new Error(`Unreachable: unhandled observe type ${Ze.observe}}`)}}delete(Te,Xe={}){return this.request("DELETE",Te,Xe)}get(Te,Xe={}){return this.request("GET",Te,Xe)}head(Te,Xe={}){return this.request("HEAD",Te,Xe)}jsonp(Te,Xe){return this.request("JSONP",Te,{params:(new x).append(Xe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Te,Xe={}){return this.request("OPTIONS",Te,Xe)}patch(Te,Xe,Ze={}){return this.request("PATCH",Te,j(Ze,Xe))}post(Te,Xe,Ze={}){return this.request("POST",Te,j(Ze,Xe))}put(Te,Xe,Ze={}){return this.request("PUT",Te,j(Ze,Xe))}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(L))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();class Ie{constructor(oe,Te){this.next=oe,this.interceptor=Te}handle(oe){return this.interceptor.intercept(oe,this.next)}}const ke=new r.OlP("HTTP_INTERCEPTORS");let tt=(()=>{class ie{intercept(Te,Xe){return Xe.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();const Ce=/^\)\]\}',?\n/;let Qe=(()=>{class ie{constructor(Te){this.xhrFactory=Te}handle(Te){if("JSONP"===Te.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _.y(Xe=>{const Ze=this.xhrFactory.build();if(Ze.open(Te.method,Te.urlWithParams),Te.withCredentials&&(Ze.withCredentials=!0),Te.headers.forEach((_e,ae)=>Ze.setRequestHeader(_e,ae.join(","))),Te.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!Te.headers.has("Content-Type")){const _e=Te.detectContentTypeHeader();null!==_e&&Ze.setRequestHeader("Content-Type",_e)}if(Te.responseType){const _e=Te.responseType.toLowerCase();Ze.responseType="json"!==_e?_e:"text"}const we=Te.serializeBody();let Be=null;const We=()=>{if(null!==Be)return Be;const _e=Ze.statusText||"OK",ae=new g(Ze.getAllResponseHeaders()),he=function He(ie){return"responseURL"in ie&&ie.responseURL?ie.responseURL:/^X-Request-URL:/m.test(ie.getAllResponseHeaders())?ie.getResponseHeader("X-Request-URL"):null}(Ze)||Te.url;return Be=new z({headers:ae,status:Ze.status,statusText:_e,url:he}),Be},Ye=()=>{let{headers:_e,status:ae,statusText:he,url:pe}=We(),be=null;204!==ae&&(be=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===ae&&(ae=be?200:0);let Oe=ae>=200&&ae<300;if("json"===Te.responseType&&"string"==typeof be){const Ae=be;be=be.replace(Ce,"");try{be=""!==be?JSON.parse(be):null}catch(Je){be=Ae,Oe&&(Oe=!1,be={error:Je,text:be})}}Oe?(Xe.next(new Y({body:be,headers:_e,status:ae,statusText:he,url:pe||void 0})),Xe.complete()):Xe.error(new V({error:be,headers:_e,status:ae,statusText:he,url:pe||void 0}))},et=_e=>{const{url:ae}=We(),he=new V({error:_e,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:ae||void 0});Xe.error(he)};let de=!1;const K=_e=>{de||(Xe.next(We()),de=!0);let ae={type:ye.DownloadProgress,loaded:_e.loaded};_e.lengthComputable&&(ae.total=_e.total),"text"===Te.responseType&&!!Ze.responseText&&(ae.partialText=Ze.responseText),Xe.next(ae)},le=_e=>{let ae={type:ye.UploadProgress,loaded:_e.loaded};_e.lengthComputable&&(ae.total=_e.total),Xe.next(ae)};return Ze.addEventListener("load",Ye),Ze.addEventListener("error",et),Ze.addEventListener("timeout",et),Ze.addEventListener("abort",et),Te.reportProgress&&(Ze.addEventListener("progress",K),null!==we&&Ze.upload&&Ze.upload.addEventListener("progress",le)),Ze.send(we),Xe.next({type:ye.Sent}),()=>{Ze.removeEventListener("error",et),Ze.removeEventListener("abort",et),Ze.removeEventListener("load",Ye),Ze.removeEventListener("timeout",et),Te.reportProgress&&(Ze.removeEventListener("progress",K),null!==we&&Ze.upload&&Ze.upload.removeEventListener("progress",le)),Ze.readyState!==Ze.DONE&&Ze.abort()}})}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(o.JF))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();const st=new r.OlP("XSRF_COOKIE_NAME"),Ge=new r.OlP("XSRF_HEADER_NAME");class at{}let _t=(()=>{class ie{constructor(Te,Xe,Ze){this.doc=Te,this.platform=Xe,this.cookieName=Ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(o.K0),r.LFG(r.Lbi),r.LFG(st))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),xt=(()=>{class ie{constructor(Te,Xe){this.tokenService=Te,this.headerName=Xe}intercept(Te,Xe){const Ze=Te.url.toLowerCase();if("GET"===Te.method||"HEAD"===Te.method||Ze.startsWith("http://")||Ze.startsWith("https://"))return Xe.handle(Te);const we=this.tokenService.getToken();return null!==we&&!Te.headers.has(this.headerName)&&(Te=Te.clone({headers:Te.headers.set(this.headerName,we)})),Xe.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(at),r.LFG(Ge))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),yt=(()=>{class ie{constructor(Te,Xe){this.backend=Te,this.injector=Xe,this.chain=null}handle(Te){if(null===this.chain){const Xe=this.injector.get(ke,[]);this.chain=Xe.reduceRight((Ze,we)=>new Ie(Ze,we),this.backend)}return this.chain.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(A),r.LFG(r.zs3))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),nt=(()=>{class ie{static disable(){return{ngModule:ie,providers:[{provide:xt,useClass:tt}]}}static withOptions(Te={}){return{ngModule:ie,providers:[Te.cookieName?{provide:st,useValue:Te.cookieName}:[],Te.headerName?{provide:Ge,useValue:Te.headerName}:[]]}}}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275mod=r.oAB({type:ie}),ie.\u0275inj=r.cJS({providers:[xt,{provide:ke,useExisting:xt,multi:!0},{provide:at,useClass:_t},{provide:st,useValue:"XSRF-TOKEN"},{provide:Ge,useValue:"X-XSRF-TOKEN"}]}),ie})(),ft=(()=>{class ie{}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275mod=r.oAB({type:ie}),ie.\u0275inj=r.cJS({providers:[X,{provide:L,useClass:yt},Qe,{provide:A,useExisting:Qe}],imports:[nt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ie})()},4537:(Ue,J,s)=>{"use strict";s.d(J,{$8M:()=>Un,$Z:()=>Uh,AFp:()=>fm,ALo:()=>Pg,AaK:()=>L,Akn:()=>zr,AsE:()=>yu,BQk:()=>bl,CHM:()=>Ve,CRH:()=>$g,CZH:()=>kl,CqO:()=>Yf,D6c:()=>LD,DdM:()=>Cg,EJc:()=>JE,EiD:()=>Bd,EpF:()=>Gf,F$t:()=>Xf,F4k:()=>Kf,FYo:()=>vg,FiY:()=>cn,G48:()=>yD,Gf:()=>Ug,GfV:()=>bg,GkF:()=>au,Gpc:()=>B,Gre:()=>Tp,Hsn:()=>qf,Ikx:()=>vu,JOm:()=>ro,JVY:()=>t_,Jf7:()=>Gd,Jzz:()=>Ip,KtG:()=>Ct,L6k:()=>n_,LAX:()=>r_,LFG:()=>kn,LSH:()=>Jl,Lbi:()=>KE,MAs:()=>Wf,MGl:()=>El,MMx:()=>Pu,MT6:()=>xp,NdJ:()=>cu,O4$:()=>Uo,OlP:()=>Nn,Oqu:()=>_u,PXZ:()=>dD,Q6J:()=>ru,QGY:()=>lu,QP$:()=>sa,QbO:()=>YE,Qsj:()=>Hb,R0b:()=>fr,RDi:()=>No,Rgc:()=>Wa,SBq:()=>Ua,Sil:()=>qE,Suo:()=>Hg,TTD:()=>yr,TgZ:()=>_l,Tol:()=>pp,Udp:()=>pu,VKq:()=>wg,W1O:()=>Kg,WFA:()=>uu,WLB:()=>Mg,X6Q:()=>_D,XFs:()=>yt,Xpm:()=>pe,Y36:()=>Us,YKP:()=>_g,YNc:()=>zf,Yjl:()=>Zt,Yz7:()=>Ke,ZZ4:()=>ed,_Bn:()=>gg,_UZ:()=>su,_Vd:()=>ja,_c5:()=>kD,_uU:()=>Ep,aQg:()=>td,c2e:()=>QE,cJS:()=>P,cg1:()=>Eu,d8E:()=>bu,dDg:()=>aD,deG:()=>Ul,dqk:()=>Ze,eBb:()=>i_,eFA:()=>Mm,ekj:()=>gu,eoX:()=>Em,f3M:()=>Da,g9A:()=>gm,h0i:()=>ys,hGG:()=>FD,hM9:()=>Xb,hYB:()=>fu,hij:()=>Cl,iGM:()=>jg,ifc:()=>Xe,ip1:()=>hm,kL8:()=>Up,kYT:()=>mt,kcU:()=>Ms,l5B:()=>Sg,lG2:()=>St,lcZ:()=>Rg,lqb:()=>Bs,lri:()=>vm,mCW:()=>wa,n5z:()=>jt,n_E:()=>Tl,oAB:()=>ct,oJD:()=>Vd,oxw:()=>Jf,pB0:()=>o_,q3G:()=>ci,qLn:()=>Aa,qOj:()=>eu,qZA:()=>yl,qzn:()=>Fs,rWj:()=>bm,s9C:()=>hu,sBO:()=>vD,sIi:()=>Ra,s_b:()=>Il,soG:()=>Fl,tBr:()=>on,tb:()=>mm,tp0:()=>Xn,uIk:()=>iu,uOi:()=>Xl,vHH:()=>v,vpe:()=>co,wAp:()=>dn,xi3:()=>kg,xp6:()=>vh,yhl:()=>xd,ynx:()=>vl,z2F:()=>Ll,z3N:()=>Oo,zSh:()=>bc,zs3:()=>oo});var o=s(8023),r=s(4813),h=s(818),_=s(1860),f=s(815);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function w(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function L(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(L).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 A(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const g=d({__forward_ref__:d});function B(e){return e.__forward_ref__=B,e.toString=function(){return L(this())},e}function m(e){return b(e)?e():e}function b(e){return"function"==typeof e&&e.hasOwnProperty(g)&&e.__forward_ref__===B}class v extends Error{constructor(t,n){super(function H(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function x(e){return"string"==typeof e?e:null==e?"":String(e)}function Z(e,t){throw new v(-201,!1)}function lt(e,t){null==e&&function $(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Ke(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function P(e){return{providers:e.providers||[],imports:e.imports||[]}}function se(e){return Ce(e,Ge)||Ce(e,_t)}function Ce(e,t){return e.hasOwnProperty(t)?e[t]:null}function st(e){return e&&(e.hasOwnProperty(at)||e.hasOwnProperty(xt))?e[at]:null}const Ge=d({\u0275prov:d}),at=d({\u0275inj:d}),_t=d({ngInjectableDef:d}),xt=d({ngInjectorDef:d});var yt=(()=>((yt=yt||{})[yt.Default=0]="Default",yt[yt.Host=1]="Host",yt[yt.Self=2]="Self",yt[yt.SkipSelf=4]="SkipSelf",yt[yt.Optional=8]="Optional",yt))();let Pt;function nt(e){const t=Pt;return Pt=e,t}function ft(e,t,n){const i=se(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&yt.Optional?null:void 0!==t?t:void Z(L(e))}function U(e){return{toString:e}.toString()}var ie=(()=>((ie=ie||{})[ie.OnPush=0]="OnPush",ie[ie.Default=1]="Default",ie))(),Xe=(()=>{return(e=Xe||(Xe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Xe;var e})();const Ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),We={},Ye=[],et=d({\u0275cmp:d}),de=d({\u0275dir:d}),K=d({\u0275pipe:d}),le=d({\u0275mod:d}),_e=d({\u0275fac:d}),ae=d({__NG_ELEMENT_ID__:d});let he=0;function pe(e){return U(()=>{const n=!0===e.standalone,i={},a={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===ie.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ye,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,id:"c"+he++,styles:e.styles||Ye,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.dependencies,p=e.features;return a.inputs=Mt(e.inputs,i),a.outputs=Mt(e.outputs),p&&p.forEach(C=>C(a)),a.directiveDefs=l?()=>("function"==typeof l?l():l).map(Oe).filter(Ae):null,a.pipeDefs=l?()=>("function"==typeof l?l():l).map(ln).filter(Ae):null,a})}function Oe(e){return $t(e)||nn(e)}function Ae(e){return null!==e}const Je={};function ct(e){return U(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ye,declarations:e.declarations||Ye,imports:e.imports||Ye,exports:e.exports||Ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Je[e.id]=e.type),t})}function mt(e,t){return U(()=>{const n=Ut(e,!0);n.declarations=t.declarations||Ye,n.imports=t.imports||Ye,n.exports=t.exports||Ye})}function Mt(e,t){if(null==e)return We;const n={};for(const i in e)if(e.hasOwnProperty(i)){let a=e[i],l=a;Array.isArray(a)&&(l=a[1],a=a[0]),n[a]=i,t&&(t[a]=l)}return n}const St=pe;function Zt(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 $t(e){return e[et]||null}function nn(e){return e[de]||null}function ln(e){return e[K]||null}function Ut(e,t){const n=e[le]||null;if(!n&&!0===t)throw new Error(`Type ${L(e)} does not have '\u0275mod' property.`);return n}function Kn(e){return Array.isArray(e)&&"object"==typeof e[1]}function ei(e){return Array.isArray(e)&&!0===e[1]}function Xi(e){return 0!=(8&e.flags)}function Ai(e){return 2==(2&e.flags)}function Fi(e){return 1==(1&e.flags)}function oi(e){return null!==e.template}function pr(e){return 0!=(256&e[2])}function gi(e,t){return e.hasOwnProperty(_e)?e[_e]:null}class Ui{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yr(){return vr}function vr(e){return e.type.prototype.ngOnChanges&&(e.setInput=br),Qr}function Qr(){const e=po(this),t=e?.current;if(t){const n=e.previous;if(n===We)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function br(e,t,n,i){const a=po(e)||function Lo(e,t){return e[kr]=t}(e,{previous:We,current:null}),l=a.current||(a.current={}),p=a.previous,C=this.declaredInputs[n],R=p[C];l[C]=new Ui(R&&R.currentValue,t,p===We),e[i]=t}yr.ngInherit=!0;const kr="__ngSimpleChanges__";function po(e){return e[kr]||null}let Cr;function No(e){Cr=e}function si(){return void 0!==Cr?Cr:typeof document<"u"?document:void 0}function gn(e){return!!e.listen}const $i={createRenderer:(e,t)=>si()};function Ln(e){for(;Array.isArray(e);)e=e[0];return e}function ee(e,t){return Ln(t[e])}function ze(e,t){return Ln(t[e.index])}function wt(e,t){return e.data[t]}function kt(e,t){return e[t]}function Wt(e,t){const n=t[e];return Kn(n)?n:n[0]}function On(e){return 4==(4&e[2])}function Sn(e){return 64==(64&e[2])}function un(e,t){return null==t?null:e[t]}function jn(e){e[18]=0}function Dn(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 Xt={lFrame:jo(null),bindingsEnabled:!0};function Gi(){return Xt.bindingsEnabled}function k(){return Xt.lFrame.lView}function F(){return Xt.lFrame.tView}function Ve(e){return Xt.lFrame.contextLView=e,e[8]}function Ct(e){return Xt.lFrame.contextLView=null,e}function Vt(){let e=In();for(;null!==e&&64===e.type;)e=e.parent;return e}function In(){return Xt.lFrame.currentTNode}function di(e,t){const n=Xt.lFrame;n.currentTNode=e,n.isParent=t}function Fr(){return Xt.lFrame.isParent}function wr(){Xt.lFrame.isParent=!1}function mi(){const e=Xt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lr(){return Xt.lFrame.bindingIndex++}function Ki(e){const t=Xt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vo(e,t){const n=Xt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Nr(t)}function Nr(e){Xt.lFrame.currentDirectiveIndex=e}function Zr(e){const t=Xt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ds(){return Xt.lFrame.currentQueryIndex}function Yi(e){Xt.lFrame.currentQueryIndex=e}function Qa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Mr(e,t,n){if(n&yt.SkipSelf){let a=t,l=e;for(;!(a=a.parent,null!==a||n&yt.Host||(a=Qa(l),null===a||(l=l[15],10&a.type))););if(null===a)return!1;t=a,e=l}const i=Xt.lFrame=is();return i.currentTNode=t,i.lView=e,!0}function ar(e){const t=is(),n=e[1];Xt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function is(){const e=Xt.lFrame,t=null===e?null:e.child;return null===t?jo(e):t}function jo(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 rs(){const e=Xt.lFrame;return Xt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cs=rs;function Br(){const e=rs();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 _i(){return Xt.lFrame.selectedIndex}function Sr(e){Xt.lFrame.selectedIndex=e}function Gn(){const e=Xt.lFrame;return wt(e.tView,e.selectedIndex)}function Uo(){Xt.lFrame.currentNamespace="svg"}function Ms(){!function ha(){Xt.lFrame.currentNamespace=null}()}function Jr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[R]<0&&(e[18]+=65536),(C>11>16&&(3&e[2])===t){e[2]+=2048;try{l.call(C)}finally{}}}else try{l.call(C)}finally{}}class Ei{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function eo(e,t,n){const i=gn(e);let a=0;for(;at){p=l-1;break}}}for(;l>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Mo=!0;function Go(e){const t=Mo;return Mo=e,t}let ga=0;const ur={};function Ko(e,t){const n=xs(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ts(i.data,e),Ts(t,null),Ts(i.blueprint,null));const a=Or(e,t),l=e.injectorIndex;if(ls(a)){const p=Ar(a),C=xi(a,t),R=C[1].data;for(let fe=0;fe<8;fe++)t[l+fe]=C[p+fe]|R[p+fe]}return t[l+8]=a,l}function Ts(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Or(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;null!==a;){if(i=Pn(a),null===i)return-1;if(n++,a=a[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Yo(e,t,n){!function ma(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ae)&&(i=n[ae]),null==i&&(i=n[ae]=ga++);const a=255&i;t.data[e+(a>>5)]|=1<=0?255&t:Tt:t}(n);if("function"==typeof l){if(!Mr(t,e,i))return i&yt.Host?Zo(a,0,i):Is(t,n,i,a);try{const p=l(i);if(null!=p||i&yt.Optional)return p;Z()}finally{Cs()}}else if("number"==typeof l){let p=null,C=xs(e,t),R=-1,fe=i&yt.Host?t[16][6]:null;for((-1===C||i&yt.SkipSelf)&&(R=-1===C?Or(e,t):t[C+8],-1!==R&&it(i,!1)?(p=t[1],C=Ar(R),t=xi(R,t)):C=-1);-1!==C;){const Le=t[1];if($e(l,C,Le.data)){const qe=D(C,t,n,p,i,fe);if(qe!==ur)return qe}R=t[C+8],-1!==R&&it(i,t[1].data[C+8]===fe)&&$e(l,C,t)?(p=Le,C=Ar(R),t=xi(R,t)):C=-1}}return a}function D(e,t,n,i,a,l){const p=t[1],C=p.data[e+8],Le=y(C,p,n,null==i?Ai(C)&&Mo:i!=p&&0!=(3&C.type),a&yt.Host&&l===C);return null!==Le?W(t,p,Le,C):ur}function y(e,t,n,i,a){const l=e.providerIndexes,p=t.data,C=1048575&l,R=e.directiveStart,Le=l>>20,pt=a?C+Le:e.directiveEnd;for(let bt=i?C:C+Le;bt=R&&It.type===n)return bt}if(a){const bt=p[R];if(bt&&oi(bt)&&bt.type===n)return R}return null}function W(e,t,n,i){let a=e[n];const l=t.data;if(function zo(e){return e instanceof Ei}(a)){const p=a;p.resolving&&function Ee(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():x(e)}(l[n]));const C=Go(p.canSeeViewProviders);p.resolving=!0;const R=p.injectImpl?nt(p.injectImpl):null;Mr(e,i,yt.Default);try{a=e[n]=p.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Ss(e,t,n){const{ngOnChanges:i,ngOnInit:a,ngDoCheck:l}=t.type.prototype;if(i){const p=vr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==R&&nt(R),Go(C),p.resolving=!1,Cs()}}return a}function $e(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_e]||vn(t),i=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){const l=a[_e]||vn(a);if(l&&l!==n)return l;a=Object.getPrototypeOf(a)}return l=>new l})}function vn(e){return b(e)?()=>{const t=vn(m(e));return t&&t()}:gi(e)}function Pn(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Un(e){return function Qo(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 a=0;for(;a{const i=function Vr(e){return function(...n){if(e){const i=e(...n);for(const a in i)this[a]=i[a]}}}(t);function a(...l){if(this instanceof a)return i.apply(this,l),this;const p=new a(...l);return C.annotation=p,C;function C(R,fe,Le){const qe=R.hasOwnProperty(Qi)?R[Qi]:Object.defineProperty(R,Qi,{value:[]})[Qi];for(;qe.length<=Le;)qe.push(null);return(qe[Le]=qe[Le]||[]).push(p),R}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class Nn{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=Ke({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ul=new Nn("AnalyzeForEntryComponents");function Mi(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?xr(n,t):t(n))}function ba(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ps(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xo(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function $l(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(1===a)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function c(e,t){const n=E(e,t);if(n>=0)return e[1|n]}function E(e,t){return function Ne(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){const l=i+(a-i>>1),p=e[l<t?a=l:i=l+1}return~(a<({token:e})),-1),cn=dr(no("Optional"),8),Xn=dr(no("SkipSelf"),4);let tl,nl;function ks(e){return function Wl(){if(void 0===tl&&(tl=null,Ze.trustedTypes))try{tl=Ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tl}()?.createHTML(e)||e}function Gl(){if(void 0===nl&&(nl=null,Ze.trustedTypes))try{nl=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nl}function Ad(e){return Gl()?.createHTML(e)||e}function Td(e){return Gl()?.createScriptURL(e)||e}class hs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Zm extends hs{getTypeName(){return"HTML"}}class Jm extends hs{getTypeName(){return"Style"}}class Xm extends hs{getTypeName(){return"Script"}}class qm extends hs{getTypeName(){return"URL"}}class e_ extends hs{getTypeName(){return"ResourceURL"}}function Oo(e){return e instanceof hs?e.changingThisBreaksApplicationSecurity:e}function Fs(e,t){const n=xd(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function xd(e){return e instanceof hs&&e.getTypeName()||null}function t_(e){return new Zm(e)}function n_(e){return new Jm(e)}function i_(e){return new Xm(e)}function r_(e){return new qm(e)}function o_(e){return new e_(e)}class s_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ks(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class a_{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=ks(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=ks(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let a=n.length-1;0wa(t.trim())).join(", ")),this.buf.push(" ",p,'="',Nd(R),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kl.hasOwnProperty(n)&&!Rd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Nd(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 f_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p_=/([^\#-~ |!])/g;function Nd(e){return e.replace(/&/g,"&").replace(f_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(p_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let il;function Bd(e,t){let n=null;try{il=il||function Id(e){const t=new a_(e);return function l_(){try{return!!(new window.DOMParser).parseFromString(ks(""),"text/html")}catch{return!1}}()?new s_(t):t}(e);let i=t?String(t):"";n=il.getInertBodyElement(i);let a=5,l=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=l,l=n.innerHTML,n=il.getInertBodyElement(i)}while(i!==l);return ks((new h_).sanitizeChildren(Zl(n)||n))}finally{if(n){const i=Zl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Zl(e){return"content"in e&&function g_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ci=(()=>((ci=ci||{})[ci.NONE=0]="NONE",ci[ci.HTML=1]="HTML",ci[ci.STYLE=2]="STYLE",ci[ci.SCRIPT=3]="SCRIPT",ci[ci.URL=4]="URL",ci[ci.RESOURCE_URL=5]="RESOURCE_URL",ci))();function Vd(e){const t=Sa();return t?Ad(t.sanitize(ci.HTML,e)||""):Fs(e,"HTML")?Ad(Oo(e)):Bd(si(),x(e))}function Jl(e){const t=Sa();return t?t.sanitize(ci.URL,e)||"":Fs(e,"URL")?Oo(e):wa(x(e))}function Xl(e){const t=Sa();if(t)return Td(t.sanitize(ci.RESOURCE_URL,e)||"");if(Fs(e,"ResourceURL"))return Td(Oo(e));throw new v(904,!1)}function Sa(){const e=k();return e&&e[12]}function ec(e){return e.ngOriginalError}class Aa{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&&ec(t);for(;n&&ec(n);)n=ec(n);return n||null}}const tc=new Map;let x_=0;const ic="__ngContext__";function Ri(e,t){Kn(t)?(e[ic]=t[20],function P_(e){tc.set(e[20],e)}(t)):e[ic]=t}function Oa(e){const t=e[ic];return"number"==typeof t?function Ud(e){return tc.get(e)||null}(t):t||null}function rc(e){const t=Oa(e);return t?Kn(t)?t:t.lView:null}const U_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Ze))();function Gd(e){return e.ownerDocument.defaultView}function To(e){return e instanceof Function?e():e}var ro=(()=>((ro=ro||{})[ro.Important=1]="Important",ro[ro.DashCase=2]="DashCase",ro))();function sc(e,t){return undefined(e,t)}function Ta(e){const t=e[3];return ei(t)?t[3]:t}function ac(e){return Jd(e[13])}function lc(e){return Jd(e[4])}function Jd(e){for(;null!==e&&!ei(e);)e=e[4];return e}function Ns(e,t,n,i,a){if(null!=i){let l,p=!1;ei(i)?l=i:Kn(i)&&(p=!0,i=i[0]);const C=Ln(i);0===e&&null!==n?null==a?ih(t,n,C):fs(t,n,C,a||null,!0):1===e&&null!==n?fs(t,n,C,a||null,!0):2===e?function dh(e,t,n){const i=rl(e,t);i&&function ty(e,t,n,i){gn(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,C,p):3===e&&t.destroyNode(C),null!=l&&function ry(e,t,n,i,a){const l=n[7];l!==Ln(n)&&Ns(t,e,i,l,a);for(let C=10;C0&&(e[n-1][4]=i[4]);const l=Ps(e,10+t);!function K_(e,t){xa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=l[19];null!==p&&p.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function eh(e,t){if(!(128&t[2])){const n=t[11];gn(n)&&n.destroyNode&&xa(e,t,n,3,null,null),function Z_(e){let t=e[13];if(!t)return hc(e[1],e);for(;t;){let n=null;if(Kn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Kn(t)&&hc(t[1],t),t=t[3];null===t&&(t=e),Kn(t)&&hc(t[1],t),n=t&&t[4]}t=n}}(t)}}function hc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function ey(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[a=fe]():i[a=-fe].unsubscribe(),l+=2}else{const p=i[a=n[l+1]];n[l].call(p)}if(null!==i){for(let l=a+1;ll?"":a[qe+1].toLowerCase();const bt=8&i?pt:null;if(bt&&-1!==ph(bt,fe,0)||2&i&&fe!==pt){if(Ur(i))return!1;p=!0}}}}else{if(!p&&!Ur(i)&&!Ur(R))return!1;if(p&&Ur(R))continue;p=!1,i=R|1&i}}return Ur(i)||p}function Ur(e){return 0==(1&e)}function cy(e,t,n,i){if(null===t)return-1;let a=0;if(i||!n){let l=!1;for(;a-1)for(n++;n0?'="'+C+'"':"")+"]"}else 8&i?a+="."+p:4&i&&(a+=" "+p);else""!==a&&!Ur(p)&&(t+=yh(l,a),a=""),i=p,l=l||!Ur(i);n++}return""!==a&&(t+=yh(l,a)),t}const En={};function vh(e){bh(F(),k(),_i()+e,!1)}function bh(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&Xr(t,l,n)}else{const l=e.preOrderHooks;null!==l&&$o(t,l,0,n)}Sr(n)}const wh=new Nn("ENVIRONMENT_INITIALIZER"),Mh=new Nn("INJECTOR_DEF_TYPES");function Dy(...e){return{\u0275providers:Sh(0,e)}}function Sh(e,...t){const n=[],i=new Set;let a;return xr(t,l=>{const p=l;_c(p,n,[],i)&&(a||(a=[]),a.push(p))}),void 0!==a&&Ah(a,n),n}function Ah(e,t){for(let n=0;n{t.push(l)})}}function _c(e,t,n,i){if(!(e=m(e)))return!1;let a=null,l=st(e);const p=!l&&$t(e);if(l||p){if(p&&!p.standalone)return!1;a=e}else{const R=e.ngModule;if(l=st(R),!l)return!1;a=R}const C=i.has(a);if(p){if(C)return!1;if(i.add(a),p.dependencies){const R="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const fe of R)_c(fe,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!C){let fe;i.add(a);try{xr(l.imports,Le=>{_c(Le,t,n,i)&&(fe||(fe=[]),fe.push(Le))})}finally{}void 0!==fe&&Ah(fe,t)}if(!C){const fe=gi(a)||(()=>new a);t.push({provide:a,useFactory:fe,deps:Ye},{provide:Mh,useValue:a,multi:!0},{provide:wh,useValue:()=>kn(a),multi:!0})}const R=l.providers;null==R||C||xr(R,Le=>{t.push(Le)})}}return a!==e&&void 0!==e.providers}const Cy=d({provide:String,useValue:d});function yc(e){return null!==e&&"object"==typeof e&&Cy in e}function ps(e){return"function"==typeof e}const vc=new Nn("INJECTOR",-1);class xh{get(t,n=pn){if(n===pn){const i=new Error(`NullInjectorError: No provider for ${L(t)}!`);throw i.name="NullInjectorError",i}return n}}const bc=new Nn("Set Injector scope."),al={},My={};let Ec;function Dc(){return void 0===Ec&&(Ec=new xh),Ec}class Bs{}class Ih extends Bs{constructor(t,n,i,a){super(),this.parent=n,this.source=i,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,p=>this.processProvider(p)),this.records.set(vc,Vs(void 0,this)),a.has("environment")&&this.records.set(Bs,Vs(void 0,this));const l=this.records.get(bc);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(Mh.multi,Ye,yt.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)}get(t,n=pn,i=yt.Default){this.assertNotDestroyed();const a=pi(this),l=nt(void 0);try{if(!(i&yt.SkipSelf)){let C=this.records.get(t);if(void 0===C){const R=function xy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nn}(t)&&se(t);C=R&&this.injectableDefInScope(R)?Vs(Cc(t),al):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(i&yt.Self?Dc():this.parent).get(t,n=i&yt.Optional&&n===pn?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[Rn]=p[Rn]||[]).unshift(L(t)),a)throw p;return function Xa(e,t,n,i){const a=e[Rn];throw t[So]&&a.unshift(t[So]),e.message=function tn(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=L(t);if(Array.isArray(t))a=t.map(L).join(" -> ");else if("object"==typeof t){let l=[];for(let p in t)if(t.hasOwnProperty(p)){let C=t[p];l.push(p+":"+("string"==typeof C?JSON.stringify(C):L(C)))}a=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(Si,"\n ")}`}("\n"+e.message,a,n,i),e.ngTokenPath=a,e[Rn]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{nt(l),pi(a)}}resolveInjectorInitializers(){const t=pi(this),n=nt(void 0);try{const i=this.get(wh.multi,Ye,yt.Self);for(const a of i)a()}finally{pi(t),nt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(L(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){let n=ps(t=m(t))?t:m(t&&t.provide);const i=function Ay(e){return yc(e)?Vs(void 0,e.useValue):Vs(Ph(e),al)}(t);if(ps(t)||!0!==t.multi)this.records.get(n);else{let a=this.records.get(n);a||(a=Vs(void 0,al,!0),a.factory=()=>Ao(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===al&&(n.value=My,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ty(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=m(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cc(e){const t=se(e),n=null!==t?t.factory:gi(e);if(null!==n)return n;if(e instanceof Nn)throw new v(204,!1);if(e instanceof Function)return function Sy(e){const t=e.length;if(t>0)throw Xo(t,"?"),new v(204,!1);const n=function He(e){const t=e&&(e[Ge]||e[_t]);if(t){const n=function Qe(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 v(204,!1)}function Ph(e,t,n){let i;if(ps(e)){const a=m(e);return gi(a)||Cc(a)}if(yc(e))i=()=>m(e.useValue);else if(function Th(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ao(e.deps||[]));else if(function Oh(e){return!(!e||!e.useExisting)}(e))i=()=>kn(m(e.useExisting));else{const a=m(e&&(e.useClass||e.provide));if(!function Oy(e){return!!e.deps}(e))return gi(a)||Cc(a);i=()=>new a(...Ao(e.deps))}return i}function Vs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Iy(e){return!!e.\u0275providers}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):Iy(n)?wc(n.\u0275providers,t):t(n)}function Rh(e,t=null,n=null,i){const a=kh(e,t,n,i);return a.resolveInjectorInitializers(),a}function kh(e,t=null,n=null,i,a=new Set){const l=[n||Ye,Dy(e)];return i=i||("object"==typeof e?void 0:L(e)),new Ih(l,t||Dc(),i||null,a)}let oo=(()=>{class e{static create(n,i){if(Array.isArray(n))return Rh({name:""},i,n,"");{const a=n.name??"";return Rh({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=pn,e.NULL=new xh,e.\u0275prov=Ke({token:e,providedIn:"any",factory:()=>kn(vc)}),e.__NG_ELEMENT_ID__=-1,e})();function Us(e,t=yt.Default){const n=k();return null===n?kn(e,t):_a(Vt(),n,m(e),t)}function Uh(){throw new Error("invalid")}function cl(e,t){return e<<17|t<<2}function Hr(e){return e>>17&32767}function Pc(e){return 2|e}function xo(e){return(131068&e)>>2}function Rc(e,t){return-131069&e|t<<2}function kc(e){return 1|e}function tf(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&bh(e,t,22,!1),n(i,a)}finally{Sr(l)}}function rf(e,t,n){if(Xi(t)){const a=t.directiveEnd;for(let l=t.directiveStart;l0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(C)!=R&&C.push(R),C.push(i,a,p)}}function hf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ff(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function bv(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Yc(n)}}function Yc(e){for(let i=ac(e);null!==i;i=lc(i))for(let a=10;a0&&Yc(l)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Yc(a)}}function Av(e,t){const n=Wt(t,e),i=n[1];(function Ov(e,t){for(let n=t.length;nPromise.resolve(null))();function yf(e){return e[7]||(e[7]=[])}function vf(e){return e.cleanup||(e.cleanup=[])}function bf(e,t,n){return(null===e||oi(e))&&(n=function q(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ef(e,t){const n=e[9],i=n?n.get(Aa,null):null;i&&i.handleError(t)}function Df(e,t,n,i,a){for(let l=0;l=0;i--){const a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=Wo(a.hostAttrs,n=Wo(n,a.hostAttrs))}}(i)}function tu(e){return e===We?{}:e===Ye?[]:e}function $v(e,t){const n=e.viewQuery;e.viewQuery=n?(i,a)=>{t(i,a),n(i,a)}:t}function zv(e,t){const n=e.contentQueries;e.contentQueries=n?(i,a,l)=>{t(i,a,l),n(i,a,l)}:t}function Wv(e,t){const n=e.hostBindings;e.hostBindings=n?(i,a)=>{t(i,a),n(i,a)}:t}let gl=null;function gs(){if(!gl){const e=Ze.Symbol;if(e&&e.iterator)gl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nC(Ln(sn[i.index])):i.index;if(gn(n)){let sn=null;if(!C&&R&&(sn=function n0(e,t,n,i){const a=e.cleanup;if(null!=a)for(let l=0;lR?C[R]:null}"string"==typeof p&&(l+=2)}return null}(e,t,a,i.index)),null!==sn)(sn.__ngLastListenerFn__||sn).__ngNextListenerFn__=l,sn.__ngLastListenerFn__=l,bt=!1;else{l=du(i,t,qe,l,!1);const An=n.listen(qt,a,l);pt.push(l,An),Le&&Le.push(a,Ft,hn,hn+1)}}else l=du(i,t,qe,l,!0),qt.addEventListener(a,l,p),pt.push(l),Le&&Le.push(a,Ft,hn,p)}else l=du(i,t,qe,l,!1);const It=i.outputs;let Nt;if(bt&&null!==It&&(Nt=It[a])){const zt=Nt.length;if(zt)for(let qt=0;qt0;)t=t[15],e--;return t}(e,Xt.lFrame.contextLView))[8]}(e)}function r0(e,t){let n=null;const i=function uy(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 a=0;a=0}const vi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lp(e){return e.substring(vi.key,vi.keyEnd)}function l0(e){return e.substring(vi.value,vi.valueEnd)}function cp(e,t){const n=vi.textEnd;return n===t?-1:(t=vi.keyEnd=function d0(e,t,n){for(;t32;)t++;return t}(e,vi.key=t,n),ea(e,t,n))}function up(e,t){const n=vi.textEnd;let i=vi.key=ea(e,t,n);return n===i?-1:(i=vi.keyEnd=function h0(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=hp(e,i,n),i=vi.value=ea(e,i,n),i=vi.valueEnd=function f0(e,t,n){let i=-1,a=-1,l=-1,p=t,C=p;for(;p32&&(C=p),l=a,a=i,i=-33&R}return C}(e,i,n),hp(e,i,n))}function dp(e){vi.key=0,vi.keyEnd=0,vi.value=0,vi.valueEnd=0,vi.textEnd=e.length}function ea(e,t,n){for(;t=0;n=up(t,n))_p(e,lp(t),l0(t))}function pp(e){Gr(u,lo,e,!0)}function lo(e,t){for(let n=function c0(e){return dp(e),cp(e,ea(e,0,vi.textEnd))}(t);n>=0;n=cp(t,n))u(e,lp(t),!0)}function Wr(e,t,n,i){const a=k(),l=F(),p=Ki(2);l.firstUpdatePass&&mp(l,e,p,i),t!==En&&ki(a,p,t)&&yp(l,l.data[_i()],a,a[11],e,a[p+1]=function E0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=L(Oo(e)))),e}(t,n),i,p)}function Gr(e,t,n,i){const a=F(),l=Ki(2);a.firstUpdatePass&&mp(a,null,l,i);const p=k();if(n!==En&&ki(p,l,n)){const C=a.data[_i()];if(bp(C,i)&&!gp(a,l)){let R=i?C.classesWithoutHost:C.stylesWithoutHost;null!==R&&(n=A(R,n||"")),ou(a,C,p,n,i)}else!function b0(e,t,n,i,a,l,p,C){a===En&&(a=Ye);let R=0,fe=0,Le=0=e.expandoStartIndex}function mp(e,t,n,i){const a=e.data;if(null===a[n+1]){const l=a[_i()],p=gp(e,n);bp(l,i)&&null===t&&!p&&(t=!1),t=function g0(e,t,n,i){const a=Zr(e);let l=i?t.residualClasses:t.residualStyles;if(null===a)0===(i?t.classBindings:t.styleBindings)&&(n=Fa(n=mu(null,e,t,n,i),t.attrs,i),l=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==a)if(n=mu(a,e,t,n,i),null===l){let R=function m0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==xo(i))return e[Hr(i)]}(e,t,i);void 0!==R&&Array.isArray(R)&&(R=mu(null,e,t,R[1],i),R=Fa(R,t.attrs,i),function _0(e,t,n,i){e[Hr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,R))}else l=function y0(e,t,n){let i;const a=t.directiveEnd;for(let l=1+t.directiveStylingLast;l0)&&(fe=!0)}else Le=n;if(a)if(0!==R){const pt=Hr(e[C+1]);e[i+1]=cl(pt,C),0!==pt&&(e[pt+1]=Rc(e[pt+1],i)),e[C+1]=function Yy(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=cl(C,0),0!==C&&(e[C+1]=Rc(e[C+1],i)),C=i;else e[i+1]=cl(R,0),0===C?C=i:e[R+1]=Rc(e[R+1],i),R=i;fe&&(e[i+1]=Pc(e[i+1])),ap(e,Le,i,!0),ap(e,Le,i,!1),function s0(e,t,n,i,a){const l=a?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&E(l,t)>=0&&(n[i+1]=kc(n[i+1]))}(t,Le,e,i,l),p=cl(C,R),l?t.classBindings=p:t.styleBindings=p}(a,l,t,n,p,i)}}function mu(e,t,n,i,a){let l=null;const p=n.directiveEnd;let C=n.directiveStylingLast;for(-1===C?C=n.directiveStart:C++;C0;){const R=e[a],fe=Array.isArray(R),Le=fe?R[1]:R,qe=null===Le;let pt=n[a+1];pt===En&&(pt=qe?Ye:void 0);let bt=qe?c(pt,i):Le===i?pt:void 0;if(fe&&!Dl(bt)&&(bt=c(R,i)),Dl(bt)&&(C=bt,p))return C;const It=e[a+1];a=p?Hr(It):xo(It)}if(null!==t){let R=l?t.residualClasses:t.residualStyles;null!=R&&(C=c(R,i))}return C}function Dl(e){return void 0!==e}function bp(e,t){return 0!=(e.flags&(t?16:32))}function Ep(e,t=""){const n=k(),i=F(),a=e+22,l=i.firstCreatePass?Hs(i,a,1,t,null):i.data[a],p=n[a]=function cc(e,t){return gn(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ol(i,n,p,l),di(l,!1)}function _u(e){return Cl("",e,""),_u}function Cl(e,t,n){const i=k(),a=Gs(i,e,t,n);return a!==En&&Io(i,_i(),a),Cl}function yu(e,t,n,i,a){const l=k(),p=Ks(l,e,t,n,i,a);return p!==En&&Io(l,_i(),p),yu}function Tp(e,t,n){Gr(u,lo,Gs(k(),e,t,n),!0)}function xp(e,t,n,i,a){Gr(u,lo,Ks(k(),e,t,n,i,a),!0)}function Ip(e,t,n){zr(Gs(k(),e,t,n))}function vu(e,t,n){const i=k();return ki(i,Lr(),t)&&hr(F(),Gn(),i,e,t,i[11],n,!0),vu}function bu(e,t,n){const i=k();if(ki(i,Lr(),t)){const l=F(),p=Gn();hr(l,p,i,e,t,bf(Zr(l.data),p,i),n,!0)}return bu}const _s=void 0;var B0=["en",[["a","p"],["AM","PM"],_s],[["AM","PM"],_s,_s],[["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"]],_s,[["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"]],_s,[["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}",_s,"{1} 'at' {0}",_s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function N0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ta={};function Eu(e){const t=function V0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Hp(t);if(n)return n;const i=t.split("-")[0];if(n=Hp(i),n)return n;if("en"===i)return B0;throw new Error(`Missing locale data for the locale "${e}".`)}function Up(e){return Eu(e)[dn.PluralCase]}function Hp(e){return e in ta||(ta[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),ta[e]}var dn=(()=>((dn=dn||{})[dn.LocaleId=0]="LocaleId",dn[dn.DayPeriodsFormat=1]="DayPeriodsFormat",dn[dn.DayPeriodsStandalone=2]="DayPeriodsStandalone",dn[dn.DaysFormat=3]="DaysFormat",dn[dn.DaysStandalone=4]="DaysStandalone",dn[dn.MonthsFormat=5]="MonthsFormat",dn[dn.MonthsStandalone=6]="MonthsStandalone",dn[dn.Eras=7]="Eras",dn[dn.FirstDayOfWeek=8]="FirstDayOfWeek",dn[dn.WeekendRange=9]="WeekendRange",dn[dn.DateFormat=10]="DateFormat",dn[dn.TimeFormat=11]="TimeFormat",dn[dn.DateTimeFormat=12]="DateTimeFormat",dn[dn.NumberSymbols=13]="NumberSymbols",dn[dn.NumberFormats=14]="NumberFormats",dn[dn.CurrencyCode=15]="CurrencyCode",dn[dn.CurrencySymbol=16]="CurrencySymbol",dn[dn.CurrencyName=17]="CurrencyName",dn[dn.Currencies=18]="Currencies",dn[dn.Directionality=19]="Directionality",dn[dn.PluralCase=20]="PluralCase",dn[dn.ExtraData=21]="ExtraData",dn))();const na="en-US";let $p=na;function wu(e,t,n,i,a){if(e=m(e),Array.isArray(e))for(let l=0;l>20;if(ps(e)||!e.multi){const bt=new Ei(R,a,Us),It=Su(C,t,a?Le:Le+pt,qe);-1===It?(Yo(Ko(fe,p),l,C),Mu(l,e,t.length),t.push(C),fe.directiveStart++,fe.directiveEnd++,a&&(fe.providerIndexes+=1048576),n.push(bt),p.push(bt)):(n[It]=bt,p[It]=bt)}else{const bt=Su(C,t,Le+pt,qe),It=Su(C,t,Le,Le+pt),Nt=bt>=0&&n[bt],zt=It>=0&&n[It];if(a&&!zt||!a&&!Nt){Yo(Ko(fe,p),l,C);const qt=function Lb(e,t,n,i,a){const l=new Ei(e,n,Us);return l.multi=[],l.index=t,l.componentProviders=0,pg(l,a,i&&!n),l}(a?Fb:kb,n.length,a,i,R);!a&&zt&&(n[It].providerFactory=qt),Mu(l,e,t.length,0),t.push(C),fe.directiveStart++,fe.directiveEnd++,a&&(fe.providerIndexes+=1048576),n.push(qt),p.push(qt)}else Mu(l,e,bt>-1?bt:It,pg(n[a?It:bt],R,!a&&i));!a&&i&&zt&&n[It].componentProviders++}}}function Mu(e,t,n,i){const a=ps(t),l=function wy(e){return!!e.useClass}(t);if(a||l){const R=(l?m(t.useClass):t).prototype.ngOnDestroy;if(R){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const Le=fe.indexOf(n);-1===Le?fe.push(n,[i,R]):fe[Le+1].push(i,R)}else fe.push(n,R)}}}function pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Su(e,t,n,i){for(let a=n;a{n.providersResolver=(i,a)=>function Rb(e,t,n){const i=F();if(i.firstCreatePass){const a=oi(e);wu(n,i.data,i.blueprint,a,!0),wu(t,i.data,i.blueprint,a,!1)}}(i,a?a(e):e,t)}}class Bb{resolveComponentFactory(t){throw function Nb(e){const t=Error(`No component factory found for ${L(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ja=(()=>{class e{}return e.NULL=new Bb,e})();class ys{}class _g{}class yg{}function jb(){return ra(Vt(),k())}function ra(e,t){return new Ua(ze(e,t))}let Ua=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Ub(e){return e instanceof Ua?e.nativeElement:e}class vg{}let Hb=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function zb(){const e=k(),n=Wt(Vt().index,e);return function $b(e){return e[11]}(Kn(n)?n:e)}(),e})(),Wb=(()=>{class e{}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:()=>null}),e})();class bg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gb=new bg("14.0.3"),Ou={};function Ol(e,t,n,i,a=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(Ln(l)),ei(l))for(let C=10;C-1&&(dc(t,i),Ps(n,i))}this._attachedToViewContainer=!1}eh(this._lView[1],this._lView)}onDestroy(t){cf(this._lView[1],this._lView,null,t)}markForCheck(){Qc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Jc(e,t,n){const i=t[10];i.begin&&i.begin();try{zs(e,t,e.template,n)}catch(a){throw Ef(t,a),a}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Q_(e,t){xa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t}}class Kb extends Ha{constructor(t){super(t),this._view=t}detectChanges(){_f(this._view)}checkNoChanges(){}get context(){return null}}class Tu extends ja{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$t(t);return new xu(n,this.ngModule)}}function Eg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const a=this.injector.get(t,Ou,i);return a!==Ou||n===Ou?a:this.parentInjector.get(t,n,i)}}class xu extends yg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function gy(e){return e.map(py).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Eg(this.componentDef.inputs)}get outputs(){return Eg(this.componentDef.outputs)}create(t,n,i,a){let l=(a=a||this.ngModule)instanceof Bs?a:a?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const p=l?new Qb(t,l):t,C=p.get(vg,$i),R=p.get(Wb,null),fe=C.createRenderer(null,this.componentDef),Le=this.componentDef.selectors[0][0]||"div",qe=i?function lf(e,t,n){if(gn(e))return e.selectRootElement(t,n===Xe.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(fe,i,this.componentDef.encapsulation):uc(C.createRenderer(null,this.componentDef),Le,function Yb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(Le)),pt=this.componentDef.onPush?288:272,bt=function Rf(e,t){return{components:[],scheduler:e||U_,clean:xv,playerHandler:t||null,flags:0}}(),It=hl(0,null,null,1,0,null,null,null,null,null),Nt=Ia(null,It,bt,pt,null,null,C,fe,R,p,null);let zt,qt;ar(Nt);try{const hn=function If(e,t,n,i,a,l){const p=n[1];n[22]=e;const R=Hs(p,22,2,"#host",null),fe=R.mergedAttrs=t.hostAttrs;null!==fe&&(pl(R,fe,!0),null!==e&&(eo(a,e,fe),null!==R.classes&&mc(a,e,R.classes),null!==R.styles&&fh(a,e,R.styles)));const Le=i.createRenderer(e,t),qe=Ia(n,sf(t),null,t.onPush?32:16,n[22],R,i,Le,l||null,null,null);return p.firstCreatePass&&(Yo(Ko(R,n),p,t.type),ff(p,R),pf(R,n.length,1)),fl(n,qe),n[22]=qe}(qe,this.componentDef,Nt,C,fe);if(qe)if(i)eo(fe,qe,["ng-version",Gb.full]);else{const{attrs:Ft,classes:sn}=function my(e){const t=[],n=[];let i=1,a=2;for(;i0&&mc(fe,qe,sn.join(" "))}if(qt=wt(It,22),void 0!==n){const Ft=qt.projection=[];for(let sn=0;snn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iu extends _g{constructor(t){super(),this.moduleType=t}create(t){return new Dg(this.moduleType,t)}}class qb extends ys{constructor(t,n,i){super(),this.componentFactoryResolver=new Tu(this),this.instance=null;const a=new Ih([...t,{provide:ys,useValue:this},{provide:ja,useValue:this.componentFactoryResolver}],n||Dc(),i,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Pu(e,t=null,n=null){return new qb(e,t,n).injector}function Cg(e,t,n){const i=mi()+e,a=k();return a[i]===En?ao(a,i,n?t.call(n):t()):function ka(e,t){return e[t]}(a,i)}function wg(e,t,n,i){return Ag(k(),mi(),e,t,n,i)}function Mg(e,t,n,i,a){return Og(k(),mi(),e,t,n,i,a)}function Sg(e,t,n,i,a,l,p){return function xg(e,t,n,i,a,l,p,C,R){const fe=t+n;return function Rr(e,t,n,i,a,l){const p=ms(e,t,n,i);return ms(e,t+2,a,l)||p}(e,fe,a,l,p,C)?ao(e,fe+4,R?i.call(R,a,l,p,C):i(a,l,p,C)):$a(e,fe+4)}(k(),mi(),e,t,n,i,a,l,p)}function $a(e,t){const n=e[t];return n===En?void 0:n}function Ag(e,t,n,i,a,l){const p=t+n;return ki(e,p,a)?ao(e,p+1,l?i.call(l,a):i(a)):$a(e,p+1)}function Og(e,t,n,i,a,l,p){const C=t+n;return ms(e,C,a,l)?ao(e,C+2,p?i.call(p,a,l):i(a,l)):$a(e,C+2)}function Pg(e,t){const n=F();let i;const a=e+22;n.firstCreatePass?(i=function cE(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[a]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];const l=i.factory||(i.factory=gi(i.type)),p=nt(Us);try{const C=Go(!1),R=l();return Go(C),function qv(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,k(),a,R),R}finally{nt(p)}}function Rg(e,t,n){const i=e+22,a=k(),l=kt(a,i);return za(a,i)?Ag(a,mi(),t,l.transform,n,l):l.transform(n)}function kg(e,t,n,i){const a=e+22,l=k(),p=kt(l,a);return za(l,a)?Og(l,mi(),t,p.transform,n,i,p):p.transform(n,i)}function za(e,t){return e[1].data[t].pure}function Ru(e){return t=>{setTimeout(e,void 0,t)}}const co=class fE extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let a=t,l=n||(()=>null),p=i;if(t&&"object"==typeof t){const R=t;a=R.next?.bind(R),l=R.error?.bind(R),p=R.complete?.bind(R)}this.__isAsync&&(l=Ru(l),a&&(a=Ru(a)),p&&(p=Ru(p)));const C=super.subscribe({next:a,error:l,complete:p});return t instanceof r.w0&&t.add(C),C}};function pE(){return this._results[gs()]()}class Tl{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=gs(),i=Tl.prototype;i[n]||(i[n]=pE)}get changes(){return this._changes||(this._changes=new co)}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 a=Mi(t);(this._changesDetected=!function va(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=_E,e})();const gE=Wa,mE=class extends gE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,a=Ia(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);a[17]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[19];return null!==p&&(a[19]=p.createEmbeddedView(i)),Pa(i,a,t),new Ha(a)}};function _E(){return xl(Vt(),k())}function xl(e,t){return 4&e.type?new mE(t,e,ra(e,t)):null}let Il=(()=>{class e{}return e.__NG_ELEMENT_ID__=yE,e})();function yE(){return Ng(Vt(),k())}const vE=Il,Fg=class extends vE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ra(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){const t=Or(this._hostTNode,this._hostLView);if(ls(t)){const n=xi(t,this._hostLView),i=Ar(t);return new ht(n[1].data[i+8],n)}return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Lg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let a,l;"number"==typeof i?a=i:null!=i&&(a=i.index,l=i.injector);const p=t.createEmbeddedView(n||{},l);return this.insert(p,a),p}createComponent(t,n,i,a,l){const p=t&&!function ds(e){return"function"==typeof e}(t);let C;if(p)C=n;else{const qe=n||{};C=qe.index,i=qe.injector,a=qe.projectableNodes,l=qe.environmentInjector||qe.ngModuleRef}const R=p?t:new xu($t(t)),fe=i||this.parentInjector;if(!l&&null==R.ngModule){const pt=(p?fe:this.parentInjector).get(Bs,null);pt&&(l=pt)}const Le=R.create(fe,a,void 0,l);return this.insert(Le.hostView,C),Le}insert(t,n){const i=t._lView,a=i[1];if(function yn(e){return ei(e[3])}(i)){const Le=this.indexOf(t);if(-1!==Le)this.detach(Le);else{const qe=i[3],pt=new Fg(qe,qe[6],qe[3]);pt.detach(pt.indexOf(t))}}const l=this._adjustIndex(n),p=this._lContainer;!function J_(e,t,n,i){const a=10+i,l=n.length;i>0&&(n[a-1][4]=t),i0)i.push(p[C/2]);else{const fe=l[C+1],Le=t[-R];for(let qe=10;qe{class e{constructor(n){this.appInits=n,this.resolve=Rl,this.reject=Rl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a{l.subscribe({complete:C,error:R})});n.push(p)}}Promise.all(n).then(()=>{i()}).catch(a=>{this.reject(a)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(kn(hm,8))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fm=new Nn("AppId",{providedIn:"root",factory:function pm(){return`${zu()}${zu()}${zu()}`}});function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const gm=new Nn("Platform Initializer"),KE=new Nn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),mm=new Nn("appBootstrapListener"),YE=new Nn("AnimationModuleType");let QE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Fl=new Nn("LocaleId",{providedIn:"root",factory:()=>Da(Fl,yt.Optional|yt.SkipSelf)||function ZE(){return typeof $localize<"u"&&$localize.locale||na}()}),JE=new Nn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class XE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qE=(()=>{class e{compileModuleSync(n){return new Iu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=To(Ut(n).declarations).reduce((p,C)=>{const R=$t(C);return R&&p.push(new xu(R)),p},[]);return new XE(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tD=(()=>Promise.resolve(0))();function Wu(e){typeof Zone>"u"?tD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new co(!1),this.onMicrotaskEmpty=new co(!1),this.onStable=new co(!1),this.onError=new co(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&n,a.shouldCoalesceRunChangeDetection=i,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function nD(){let e=Ze.requestAnimationFrame,t=Ze.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 oD(e){const t=()=>{!function rD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ku(e),e.isCheckStableRunning=!0,Gu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ku(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,a,l,p,C)=>{try{return _m(e),n.invokeTask(a,l,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),ym(e)}},onInvoke:(n,i,a,l,p,C,R)=>{try{return _m(e),n.invoke(a,l,p,C,R)}finally{e.shouldCoalesceRunChangeDetection&&t(),ym(e)}},onHasTask:(n,i,a,l)=>{n.hasTask(a,l),i===a&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Ku(e),Gu(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,a,l)=>(n.handleError(a,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){const l=this._inner,p=l.scheduleEventTask("NgZoneEvent: "+a,t,iD,Rl,Rl);try{return l.runTask(p,n,i)}finally{l.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const iD={};function Gu(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 Ku(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function _m(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ym(e){e._nesting--,Gu(e)}class sD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new co,this.onMicrotaskEmpty=new co,this.onStable=new co,this.onError=new co}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,a){return t.apply(n,i)}}const vm=new Nn(""),bm=new Nn("");let Yu,aD=(()=>{class e{constructor(n,i,a){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yu||(function lD(e){Yu=e}(a),a.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:()=>{fr.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{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,a){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:a})}whenStable(n,i,a){if(a&&!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,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,a){return[]}}return e.\u0275fac=function(n){return new(n||e)(kn(fr),kn(Em),kn(bm))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac}),e})(),Em=(()=>{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){return Yu?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),ts=null;const Dm=new Nn("AllowMultipleToken"),Cm=new Nn("PlatformOnDestroy");class dD{constructor(t,n){this.name=t,this.token=n}}function Mm(e,t,n=[]){const i=`Platform: ${t}`,a=new Nn(i);return(l=[])=>{let p=Qu();if(!p||p.injector.get(Dm,!1)){const C=[...n,...l,{provide:a,useValue:!0}];e?e(C):function hD(e){if(ts&&!ts.get(Dm,!1))throw new v(400,!1);ts=e;const t=e.get(Am);(function wm(e){const t=e.get(gm,null);t&&t.forEach(n=>n())})(e)}(function Sm(e=[],t){return oo.create({name:t,providers:[{provide:bc,useValue:"platform"},{provide:Cm,useValue:()=>ts=null},...e]})}(C,i))}return function pD(e){const t=Qu();if(!t)throw new v(401,!1);return t}()}}function Qu(){return ts?.get(Am)??null}let Am=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const a=function gD(e,t){let n;return n="noop"===e?new sD:("zone.js"===e?void 0:e)||new fr(t),n}(i?.ngZone,function Om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),l=[{provide:fr,useValue:a}];return a.run(()=>{const p=oo.create({providers:l,parent:this.injector,name:n.moduleType.name}),C=n.create(p),R=C.injector.get(Aa,null);if(!R)throw new v(402,!1);return a.runOutsideAngular(()=>{const fe=a.onError.subscribe({next:Le=>{R.handleError(Le)}});C.onDestroy(()=>{Nl(this._modules,C),fe.unsubscribe()})}),function Tm(e,t,n){try{const i=n();return lu(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(R,a,()=>{const fe=C.injector.get(kl);return fe.runInitializers(),fe.donePromise.then(()=>(function zp(e){lt(e,"Expected localeId to be defined"),"string"==typeof e&&($p=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Fl,na)||na),this._moduleDoBootstrap(C),C))})})}bootstrapModule(n,i=[]){const a=xm({},i);return function cD(e,t,n){const i=new Iu(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,a))}_moduleDoBootstrap(n){const i=n.injector.get(Ll);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>i.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new v(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 v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(Cm,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(kn(oo))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function xm(e,t){return Array.isArray(t)?t.reduce(xm,e):{...e,...t}}let Ll=(()=>{class e{constructor(n,i,a,l){this._zone=n,this._injector=i,this._exceptionHandler=a,this._initStatus=l,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 p=new h.y(R=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{R.next(this._stable),R.complete()})}),C=new h.y(R=>{let fe;this._zone.runOutsideAngular(()=>{fe=this._zone.onStable.subscribe(()=>{fr.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,R.next(!0))})})});const Le=this._zone.onUnstable.subscribe(()=>{fr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{R.next(!1)}))});return()=>{fe.unsubscribe(),Le.unsubscribe()}});this.isStable=(0,_.T)(p,C.pipe((0,f.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const a=n instanceof yg;if(!this._initStatus.done)throw!a&&sa(n),new v(405,false);let l;l=a?n:this._injector.get(ja).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const p=function uD(e){return e.isBoundToModule}(l)?void 0:this._injector.get(ys),R=l.create(oo.NULL,[],i||l.selector,p),fe=R.location.nativeElement,Le=R.injector.get(vm,null);return Le?.registerApplication(fe),R.onDestroy(()=>{this.detachView(R.hostView),Nl(this.components,R),Le?.unregisterApplication(fe)}),this._loadComponent(R),R}tick(){if(this._runningTick)throw new v(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;Nl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(mm,[]).concat(this._bootstrapListeners).forEach(a=>a(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),()=>Nl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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)(kn(fr),kn(oo),kn(Aa),kn(kl))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Nl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Pm=!0,Rm=!1;function _D(){return Rm=!0,Pm}function yD(){if(Rm)throw new Error("Cannot enable prod mode after platform setup.");Pm=!1}let vD=(()=>{class e{}return e.__NG_ELEMENT_ID__=bD,e})();function bD(e){return function ED(e,t,n){if(Ai(e)&&!n){const i=Wt(e.index,t);return new Ha(i,i)}return 47&e.type?new Ha(t[16],t):null}(Vt(),k(),16==(16&e))}class Nm{constructor(){}supports(t){return Ra(t)}create(t){return new AD(t)}}const SD=(e,t)=>t;class AD{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||SD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,a=0,l=null;for(;n||i;){const p=!i||n&&n.currentIndex{p=this._trackByFn(a,C),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,C,p,a)),Object.is(n.item,C)||this._addIdentityChange(n,C)):(n=this._mismatch(n,C,p,a),i=!0),n=n._next,a++}),this.length=a;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,a){let l;return null===t?l=this._itTail:(l=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,l,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,a)):t=this._addAfter(new OD(n,i),l,a),t}_verifyReinsertion(t,n,i,a){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),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 a=t._prevRemoved,l=t._nextRemoved;return null===a?this._removalsHead=l:a._nextRemoved=l,null===l?this._removalsTail=a:l._prevRemoved=a,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 a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Bm),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 Bm),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 OD{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 TD{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 Bm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new TD,this.map.set(n,i)),i.add(t)}get(t,n){const a=this.map.get(t);return a?a.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 Vm(e,t,n){const i=e.previousIndex;if(null===i)return i;let a=0;return n&&i{if(n&&n.key===a)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(a,i);n=this._insertBeforeOrAppend(n,l)}}),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 a=this._records.get(t);this._maybeAddToChanges(a,n);const l=a._prev,p=a._next;return l&&(l._next=p),p&&(p._prev=l),a._next=null,a._prev=null,a}const i=new ID(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 ID{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 Um(){return new ed([new Nm])}let ed=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Um()),deps:[[e,new Xn,new cn]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(null!=i)return i;throw new v(901,!1)}}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:Um}),e})();function Hm(){return new td([new jm])}let td=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Hm()),deps:[[e,new Xn,new cn]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(i)return i;throw new v(901,!1)}}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:Hm}),e})();const kD=Mm(null,"core",[]);let FD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(kn(Ll))},e.\u0275mod=ct({type:e}),e.\u0275inj=P({}),e})();function LD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},92:(Ue,J,s)=>{"use strict";s.d(J,{Cf:()=>x,F:()=>zn,Fd:()=>Cr,Fj:()=>S,JJ:()=>yt,JL:()=>Pt,JU:()=>L,On:()=>qi,QS:()=>Gi,UX:()=>jn,Zs:()=>zi,_Y:()=>er,a5:()=>Ge,kI:()=>T,nD:()=>gt,oH:()=>ir,p4:()=>ti,qQ:()=>si,qu:()=>Bi,sg:()=>rr,u:()=>Ui,u5:()=>un,wV:()=>tr});var o=s(4537),r=s(8692),h=s(7108),_=s(4967),f=s(7969);let d=(()=>{class ne{constructor(F,Ve){this._renderer=F,this._elementRef=Ve,this.onChange=Ct=>{},this.onTouched=()=>{}}setProperty(F,Ve){this._renderer.setProperty(this._elementRef.nativeElement,F,Ve)}registerOnTouched(F){this.onTouched=F}registerOnChange(F){this.onChange=F}setDisabledState(F){this.setProperty("disabled",F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(o.Qsj),o.Y36(o.SBq))},ne.\u0275dir=o.lG2({type:ne}),ne})(),w=(()=>{class ne extends d{}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,features:[o.qOj]}),ne})();const L=new o.OlP("NgValueAccessor"),B={provide:L,useExisting:(0,o.Gpc)(()=>S),multi:!0},b=new o.OlP("CompositionEventMode");let S=(()=>{class ne extends d{constructor(F,Ve,Ct){super(F,Ve),this._compositionMode=Ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function m(){const ne=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(ne.toLowerCase())}())}writeValue(F){this.setProperty("value",F??"")}_handleInput(F){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(F)}_compositionStart(){this._composing=!0}_compositionEnd(F){this._composing=!1,this._compositionMode&&this.onChange(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(b,8))},ne.\u0275dir=o.lG2({type:ne,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(F,Ve){1&F&&o.NdJ("input",function(Vt){return Ve._handleInput(Vt.target.value)})("blur",function(){return Ve.onTouched()})("compositionstart",function(){return Ve._compositionStart()})("compositionend",function(Vt){return Ve._compositionEnd(Vt.target.value)})},features:[o._Bn([B]),o.qOj]}),ne})();function v(ne){return null==ne||("string"==typeof ne||Array.isArray(ne))&&0===ne.length}function H(ne){return null!=ne&&"number"==typeof ne.length}const x=new o.OlP("NgValidators"),te=new o.OlP("NgAsyncValidators"),Ee=/^(?=.{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 T{static min(k){return ue(k)}static max(k){return Z(k)}static required(k){return Me(k)}static requiredTrue(k){return Se(k)}static email(k){return function ve(ne){return v(ne.value)||Ee.test(ne.value)?null:{email:!0}}(k)}static minLength(k){return function ye(ne){return k=>v(k.value)||!H(k.value)?null:k.value.length{if(v(Ve.value))return null;const Ct=Ve.value;return k.test(Ct)?null:{pattern:{requiredPattern:F,actualValue:Ct}}}}(k)}static nullValidator(k){return null}static compose(k){return lt(k)}static composeAsync(k){return Re(k)}}function ue(ne){return k=>{if(v(k.value)||v(ne))return null;const F=parseFloat(k.value);return!isNaN(F)&&F{if(v(k.value)||v(ne))return null;const F=parseFloat(k.value);return!isNaN(F)&&F>ne?{max:{max:ne,actual:k.value}}:null}}function Me(ne){return v(ne.value)?{required:!0}:null}function Se(ne){return!0===ne.value?null:{required:!0}}function De(ne){return k=>H(k.value)&&k.value.length>ne?{maxlength:{requiredLength:ne,actualLength:k.value.length}}:null}function Y(ne){return null}function V(ne){return null!=ne}function j(ne){const k=(0,o.QGY)(ne)?(0,h.D)(ne):ne;return(0,o.CqO)(k),k}function X(ne){let k={};return ne.forEach(F=>{k=null!=F?{...k,...F}:k}),0===Object.keys(k).length?null:k}function Ie(ne,k){return k.map(F=>F(ne))}function tt(ne){return ne.map(k=>function ke(ne){return!ne.validate}(k)?k:F=>k.validate(F))}function lt(ne){if(!ne)return null;const k=ne.filter(V);return 0==k.length?null:function(F){return X(Ie(F,k))}}function $(ne){return null!=ne?lt(tt(ne)):null}function Re(ne){if(!ne)return null;const k=ne.filter(V);return 0==k.length?null:function(F){const Ve=Ie(F,k).map(j);return(0,_.D)(Ve).pipe((0,f.U)(X))}}function re(ne){return null!=ne?Re(tt(ne)):null}function xe(ne,k){return null===ne?[k]:Array.isArray(ne)?[...ne,k]:[ne,k]}function Ke(ne){return ne._rawValidators}function me(ne){return ne._rawAsyncValidators}function P(ne){return ne?Array.isArray(ne)?ne:[ne]:[]}function se(ne,k){return Array.isArray(ne)?ne.includes(k):ne===k}function Ce(ne,k){const F=P(k);return P(ne).forEach(Ct=>{se(F,Ct)||F.push(Ct)}),F}function He(ne,k){return P(k).filter(F=>!se(ne,F))}class Qe{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(k){this._rawValidators=k||[],this._composedValidatorFn=$(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=re(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k){this.control&&this.control.reset(k)}hasError(k,F){return!!this.control&&this.control.hasError(k,F)}getError(k,F){return this.control?this.control.getError(k,F):null}}class st extends Qe{get formDirective(){return null}get path(){return null}}class Ge extends Qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class at{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let yt=(()=>{class ne extends at{constructor(F){super(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(Ge,2))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(F,Ve){2&F&&o.ekj("ng-untouched",Ve.isUntouched)("ng-touched",Ve.isTouched)("ng-pristine",Ve.isPristine)("ng-dirty",Ve.isDirty)("ng-valid",Ve.isValid)("ng-invalid",Ve.isInvalid)("ng-pending",Ve.isPending)},features:[o.qOj]}),ne})(),Pt=(()=>{class ne extends at{constructor(F){super(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(F,Ve){2&F&&o.ekj("ng-untouched",Ve.isUntouched)("ng-touched",Ve.isTouched)("ng-pristine",Ve.isPristine)("ng-dirty",Ve.isDirty)("ng-valid",Ve.isValid)("ng-invalid",Ve.isInvalid)("ng-pending",Ve.isPending)("ng-submitted",Ve.isSubmitted)},features:[o.qOj]}),ne})();const _e="VALID",ae="INVALID",he="PENDING",pe="DISABLED";function be(ne){return(ct(ne)?ne.validators:ne)||null}function Oe(ne){return Array.isArray(ne)?$(ne):ne||null}function Ae(ne,k){return(ct(k)?k.asyncValidators:ne)||null}function Je(ne){return Array.isArray(ne)?re(ne):ne||null}function ct(ne){return null!=ne&&!Array.isArray(ne)&&"object"==typeof ne}function mt(ne,k,F){const Ve=ne.controls;if(!(k?Object.keys(Ve):Ve).length)throw new o.vHH(1e3,"");if(!Ve[F])throw new o.vHH(1001,"")}function Mt(ne,k,F){ne._forEachChild((Ve,Ct)=>{if(void 0===F[Ct])throw new o.vHH(1002,"")})}class St{constructor(k,F){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=k,this._rawAsyncValidators=F,this._composedValidatorFn=Oe(this._rawValidators),this._composedAsyncValidatorFn=Je(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===_e}get invalid(){return this.status===ae}get pending(){return this.status==he}get disabled(){return this.status===pe}get enabled(){return this.status!==pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._rawValidators=k,this._composedValidatorFn=Oe(k)}setAsyncValidators(k){this._rawAsyncValidators=k,this._composedAsyncValidatorFn=Je(k)}addValidators(k){this.setValidators(Ce(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(Ce(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(He(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(He(k,this._rawAsyncValidators))}hasValidator(k){return se(this._rawValidators,k)}hasAsyncValidator(k){return se(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(F=>{F.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(F=>{F.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=he,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const F=this._parentMarkedDirty(k.onlySelf);this.status=pe,this.errors=null,this._forEachChild(Ve=>{Ve.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:F}),this._onDisabledChange.forEach(Ve=>Ve(!0))}enable(k={}){const F=this._parentMarkedDirty(k.onlySelf);this.status=_e,this._forEachChild(Ve=>{Ve.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:F}),this._onDisabledChange.forEach(Ve=>Ve(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_e||this.status===he)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(F=>F._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pe:_e}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=he,this._hasOwnPendingAsyncValidator=!0;const F=j(this.asyncValidator(this));this._asyncValidationSubscription=F.subscribe(Ve=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ve,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,F={}){this.errors=k,this._updateControlsErrors(!1!==F.emitEvent)}get(k){let F=k;return null==F||(Array.isArray(F)||(F=F.split(".")),0===F.length)?null:F.reduce((Ve,Ct)=>Ve&&Ve._find(Ct),this)}getError(k,F){const Ve=F?this.get(F):this;return Ve&&Ve.errors?Ve.errors[k]:null}hasError(k,F){return!!this.getError(k,F)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?pe:this.errors?ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(he)?he:this._anyControlsHaveStatus(ae)?ae:_e}_anyControlsHaveStatus(k){return this._anyControls(F=>F.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){ct(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}}class Zt extends St{constructor(k,F,Ve){super(be(F),Ae(Ve,F)),this.controls=k,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,F){return this.controls[k]?this.controls[k]:(this.controls[k]=F,F.setParent(this),F._registerOnCollectionChange(this._onCollectionChange),F)}addControl(k,F,Ve={}){this.registerControl(k,F),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}removeControl(k,F={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}setControl(k,F,Ve={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],F&&this.registerControl(k,F),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,F={}){Mt(this,0,k),Object.keys(k).forEach(Ve=>{mt(this,!0,Ve),this.controls[Ve].setValue(k[Ve],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(k,F={}){null!=k&&(Object.keys(k).forEach(Ve=>{const Ct=this.controls[Ve];Ct&&Ct.patchValue(k[Ve],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(k={},F={}){this._forEachChild((Ve,Ct)=>{Ve.reset(k[Ct],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this._reduceChildren({},(k,F,Ve)=>(k[Ve]=F.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(F,Ve)=>!!Ve._syncPendingControls()||F);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(F=>{const Ve=this.controls[F];Ve&&k(Ve,F)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[F,Ve]of Object.entries(this.controls))if(this.contains(F)&&k(Ve))return!0;return!1}_reduceValue(){return this._reduceChildren({},(F,Ve,Ct)=>((Ve.enabled||this.disabled)&&(F[Ct]=Ve.value),F))}_reduceChildren(k,F){let Ve=k;return this._forEachChild((Ct,Vt)=>{Ve=F(Ve,Ct,Vt)}),Ve}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}function en(ne,k){return[...k.path,ne]}function Rt(ne,k){I(ne,k),k.valueAccessor.writeValue(ne.value),ne.disabled&&k.valueAccessor.setDisabledState?.(!0),function Q(ne,k){k.valueAccessor.registerOnChange(F=>{ne._pendingValue=F,ne._pendingChange=!0,ne._pendingDirty=!0,"change"===ne.updateOn&&rt(ne,k)})}(ne,k),function Et(ne,k){const F=(Ve,Ct)=>{k.valueAccessor.writeValue(Ve),Ct&&k.viewToModelUpdate(Ve)};ne.registerOnChange(F),k._registerOnDestroy(()=>{ne._unregisterOnChange(F)})}(ne,k),function Fe(ne,k){k.valueAccessor.registerOnTouched(()=>{ne._pendingTouched=!0,"blur"===ne.updateOn&&ne._pendingChange&&rt(ne,k),"submit"!==ne.updateOn&&ne.markAsTouched()})}(ne,k),function Pe(ne,k){if(k.valueAccessor.setDisabledState){const F=Ve=>{k.valueAccessor.setDisabledState(Ve)};ne.registerOnDisabledChange(F),k._registerOnDestroy(()=>{ne._unregisterOnDisabledChange(F)})}}(ne,k)}function Ht(ne,k,F=!0){const Ve=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(Ve),k.valueAccessor.registerOnTouched(Ve)),O(ne,k),ne&&(k._invokeOnDestroyCallbacks(),ne._registerOnCollectionChange(()=>{}))}function ut(ne,k){ne.forEach(F=>{F.registerOnValidatorChange&&F.registerOnValidatorChange(k)})}function I(ne,k){const F=Ke(ne);null!==k.validator?ne.setValidators(xe(F,k.validator)):"function"==typeof F&&ne.setValidators([F]);const Ve=me(ne);null!==k.asyncValidator?ne.setAsyncValidators(xe(Ve,k.asyncValidator)):"function"==typeof Ve&&ne.setAsyncValidators([Ve]);const Ct=()=>ne.updateValueAndValidity();ut(k._rawValidators,Ct),ut(k._rawAsyncValidators,Ct)}function O(ne,k){let F=!1;if(null!==ne){if(null!==k.validator){const Ct=Ke(ne);if(Array.isArray(Ct)&&Ct.length>0){const Vt=Ct.filter(In=>In!==k.validator);Vt.length!==Ct.length&&(F=!0,ne.setValidators(Vt))}}if(null!==k.asyncValidator){const Ct=me(ne);if(Array.isArray(Ct)&&Ct.length>0){const Vt=Ct.filter(In=>In!==k.asyncValidator);Vt.length!==Ct.length&&(F=!0,ne.setAsyncValidators(Vt))}}}const Ve=()=>{};return ut(k._rawValidators,Ve),ut(k._rawAsyncValidators,Ve),F}function rt(ne,k){ne._pendingDirty&&ne.markAsDirty(),ne.setValue(ne._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(ne._pendingValue),ne._pendingChange=!1}function Dt(ne,k){I(ne,k)}function Jt(ne,k){if(!ne.hasOwnProperty("model"))return!1;const F=ne.model;return!!F.isFirstChange()||!Object.is(k,F.currentValue)}function Mn(ne,k){ne._syncPendingControls(),k.forEach(F=>{const Ve=F.control;"submit"===Ve.updateOn&&Ve._pendingChange&&(F.viewToModelUpdate(Ve._pendingValue),Ve._pendingChange=!1)})}function $n(ne,k){if(!k)return null;let F,Ve,Ct;return Array.isArray(k),k.forEach(Vt=>{Vt.constructor===S?F=Vt:function Fn(ne){return Object.getPrototypeOf(ne.constructor)===w}(Vt)?Ve=Vt:Ct=Vt}),Ct||Ve||F||null}const Jn={provide:st,useExisting:(0,o.Gpc)(()=>zn)},Bn=(()=>Promise.resolve(null))();let zn=(()=>{class ne extends st{constructor(F,Ve){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new Zt({},$(F),re(Ve))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(F){Bn.then(()=>{const Ve=this._findContainer(F.path);F.control=Ve.registerControl(F.name,F.control),Rt(F.control,F),F.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(F)})}getControl(F){return this.form.get(F.path)}removeControl(F){Bn.then(()=>{const Ve=this._findContainer(F.path);Ve&&Ve.removeControl(F.name),this._directives.delete(F)})}addFormGroup(F){Bn.then(()=>{const Ve=this._findContainer(F.path),Ct=new Zt({});Dt(Ct,F),Ve.registerControl(F.name,Ct),Ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(F){Bn.then(()=>{const Ve=this._findContainer(F.path);Ve&&Ve.removeControl(F.name)})}getFormGroup(F){return this.form.get(F.path)}updateModel(F,Ve){Bn.then(()=>{this.form.get(F.path).setValue(Ve)})}setValue(F){this.control.setValue(F)}onSubmit(F){return this.submitted=!0,Mn(this.form,this._directives),this.ngSubmit.emit(F),!1}onReset(){this.resetForm()}resetForm(F){this.form.reset(F),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(F){return F.pop(),F.length?this.form.get(F):this.form}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("submit",function(Vt){return Ve.onSubmit(Vt)})("reset",function(){return Ve.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Jn]),o.qOj]}),ne})();function Vn(ne,k){const F=ne.indexOf(k);F>-1&&ne.splice(F,1)}function qn(ne){return"object"==typeof ne&&null!==ne&&2===Object.keys(ne).length&&"value"in ne&&"disabled"in ne}const xn=class extends St{constructor(k=null,F,Ve){super(be(F),Ae(Ve,F)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(F),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ct(F)&&(F.nonNullable||F.initialValueIsDefault)&&(this.defaultValue=qn(k)?k.value:k)}setValue(k,F={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==F.emitModelToViewChange&&this._onChange.forEach(Ve=>Ve(this.value,!1!==F.emitViewToModelChange)),this.updateValueAndValidity(F)}patchValue(k,F={}){this.setValue(k,F)}reset(k=this.defaultValue,F={}){this._applyFormState(k),this.markAsPristine(F),this.markAsUntouched(F),this.setValue(this.value,F),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){Vn(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){Vn(this._onDisabledChange,k)}_forEachChild(k){}_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(k){qn(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}},ti=xn,pr={provide:Ge,useExisting:(0,o.Gpc)(()=>qi)},Oi=(()=>Promise.resolve(null))();let qi=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt,In){super(),this._changeDetectorRef=In,this.control=new xn,this._registered=!1,this.update=new o.vpe,this._parent=F,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=$n(0,Vt)}ngOnChanges(F){if(this._checkForErrors(),!this._registered||"name"in F){if(this._registered&&(this._checkName(),this.formDirective)){const Ve=F.name.previousValue;this.formDirective.removeControl({name:Ve,path:this._getPath(Ve)})}this._setUpControl()}"isDisabled"in F&&this._updateDisabled(F),Jt(F,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(F){this.viewModel=F,this.update.emit(F)}_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(){Rt(this.control,this),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(F){Oi.then(()=>{this.control.setValue(F,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(F){const Ve=F.isDisabled.currentValue,Ct=0!==Ve&&(0,o.D6c)(Ve);Oi.then(()=>{Ct&&!this.control.disabled?this.control.disable():!Ct&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(F){return this._parent?en(F,this._parent):[F]}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,9),o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(o.sBO,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([pr]),o.qOj,o.TTD]}),ne})(),er=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275dir=o.lG2({type:ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ne})();const Li={provide:L,useExisting:(0,o.Gpc)(()=>tr),multi:!0};let tr=(()=>{class ne extends w{writeValue(F){this.setProperty("value",F??"")}registerOnChange(F){this.onChange=Ve=>{F(""==Ve?null:parseFloat(Ve))}}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("input",function(Vt){return Ve.onChange(Vt.target.value)})("blur",function(){return Ve.onTouched()})},features:[o._Bn([Li]),o.qOj]}),ne})(),Kr=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({}),ne})();const mr=new o.OlP("NgModelWithFormControlWarning"),_r={provide:Ge,useExisting:(0,o.Gpc)(()=>ir)};let ir=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt){super(),this._ngModelWarningConfig=Vt,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(F),this._setAsyncValidators(Ve),this.valueAccessor=$n(0,Ct)}set isDisabled(F){}ngOnChanges(F){if(this._isControlChanged(F)){const Ve=F.form.previousValue;Ve&&Ht(Ve,this,!1),Rt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}Jt(F,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ht(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(F){this.viewModel=F,this.update.emit(F)}_isControlChanged(F){return F.hasOwnProperty("form")}}return ne._ngModelWarningSentOnce=!1,ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(mr,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([_r]),o.qOj,o.TTD]}),ne})();const ho={provide:st,useExisting:(0,o.Gpc)(()=>rr)};let rr=(()=>{class ne extends st{constructor(F,Ve){super(),this.validators=F,this.asyncValidators=Ve,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(F),this._setAsyncValidators(Ve)}ngOnChanges(F){this._checkFormPresent(),F.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(O(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(F){const Ve=this.form.get(F.path);return Rt(Ve,F),Ve.updateValueAndValidity({emitEvent:!1}),this.directives.push(F),Ve}getControl(F){return this.form.get(F.path)}removeControl(F){Ht(F.control||null,F,!1),function Cn(ne,k){const F=ne.indexOf(k);F>-1&&ne.splice(F,1)}(this.directives,F)}addFormGroup(F){this._setUpFormContainer(F)}removeFormGroup(F){this._cleanUpFormContainer(F)}getFormGroup(F){return this.form.get(F.path)}addFormArray(F){this._setUpFormContainer(F)}removeFormArray(F){this._cleanUpFormContainer(F)}getFormArray(F){return this.form.get(F.path)}updateModel(F,Ve){this.form.get(F.path).setValue(Ve)}onSubmit(F){return this.submitted=!0,Mn(this.form,this.directives),this.ngSubmit.emit(F),!1}onReset(){this.resetForm()}resetForm(F){this.form.reset(F),this.submitted=!1}_updateDomValue(){this.directives.forEach(F=>{const Ve=F.control,Ct=this.form.get(F.path);Ve!==Ct&&(Ht(Ve||null,F),(ne=>ne instanceof xn)(Ct)&&(Rt(Ct,F),F.control=Ct))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(F){const Ve=this.form.get(F.path);Dt(Ve,F),Ve.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(F){if(this.form){const Ve=this.form.get(F.path);Ve&&function Lt(ne,k){return O(ne,k)}(Ve,F)&&Ve.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){I(this.form,this),this._oldForm&&O(this._oldForm,this)}_checkFormPresent(){}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formGroup",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("submit",function(Vt){return Ve.onSubmit(Vt)})("reset",function(){return Ve.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ho]),o.qOj,o.TTD]}),ne})();const gi={provide:Ge,useExisting:(0,o.Gpc)(()=>Ui)};let Ui=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt,In){super(),this._ngModelWarningConfig=In,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=F,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=$n(0,Vt)}set isDisabled(F){}ngOnChanges(F){this._added||this._setUpControl(),Jt(F,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(F){this.viewModel=F,this.update.emit(F)}get path(){return en(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return ne._ngModelWarningSentOnce=!1,ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,13),o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(mr,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([gi]),o.qOj,o.TTD]}),ne})();function Qn(ne){return"number"==typeof ne?ne:parseFloat(ne)}let Ni=(()=>{class ne{constructor(){this._validator=Y}ngOnChanges(F){if(this.inputName in F){const Ve=this.normalizeInput(F[this.inputName].currentValue);this._enabled=this.enabled(Ve),this._validator=this._enabled?this.createValidator(Ve):Y,this._onChange&&this._onChange()}}validate(F){return this._validator(F)}registerOnValidatorChange(F){this._onChange=F}enabled(F){return null!=F}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275dir=o.lG2({type:ne,features:[o.TTD]}),ne})();const mo={provide:x,useExisting:(0,o.Gpc)(()=>Cr),multi:!0};let Cr=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=F=>Qn(F),this.createValidator=F=>Z(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("max",Ve._enabled?Ve.max:null)},inputs:{max:"max"},features:[o._Bn([mo]),o.qOj]}),ne})();const No={provide:x,useExisting:(0,o.Gpc)(()=>si),multi:!0};let si=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=F=>Qn(F),this.createValidator=F=>ue(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("min",Ve._enabled?Ve.min:null)},inputs:{min:"min"},features:[o._Bn([No]),o.qOj]}),ne})();const Bo={provide:x,useExisting:(0,o.Gpc)(()=>$i),multi:!0},gn={provide:x,useExisting:(0,o.Gpc)(()=>zi),multi:!0};let $i=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=F=>Me}enabled(F){return F}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("required",Ve._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Bo]),o.qOj]}),ne})(),zi=(()=>{class ne extends $i{constructor(){super(...arguments),this.createValidator=F=>Se}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("required",Ve._enabled?"":null)},features:[o._Bn([gn]),o.qOj]}),ne})();const ze={provide:x,useExisting:(0,o.Gpc)(()=>gt),multi:!0};let gt=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=F=>function Dr(ne){return"number"==typeof ne?ne:parseInt(ne,10)}(F),this.createValidator=F=>De(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("maxlength",Ve._enabled?Ve.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([ze]),o.qOj]}),ne})(),yn=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[Kr]}),ne})(),un=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[yn]}),ne})(),jn=(()=>{class ne{static withConfig(F){return{ngModule:ne,providers:[{provide:mr,useValue:F.warnOnNgModelWithFormControl}]}}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[yn]}),ne})();class Dn extends St{constructor(k,F,Ve){super(be(F),Ae(Ve,F)),this.controls=k,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,F={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}insert(k,F,Ve={}){this.controls.splice(k,0,F),this._registerControl(F),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}removeAt(k,F={}){let Ve=this._adjustIndex(k);Ve<0&&(Ve=0),this.controls[Ve]&&this.controls[Ve]._registerOnCollectionChange(()=>{}),this.controls.splice(Ve,1),this.updateValueAndValidity({emitEvent:F.emitEvent})}setControl(k,F,Ve={}){let Ct=this._adjustIndex(k);Ct<0&&(Ct=0),this.controls[Ct]&&this.controls[Ct]._registerOnCollectionChange(()=>{}),this.controls.splice(Ct,1),F&&(this.controls.splice(Ct,0,F),this._registerControl(F)),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,F={}){Mt(this,0,k),k.forEach((Ve,Ct)=>{mt(this,!1,Ct),this.at(Ct).setValue(Ve,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(k,F={}){null!=k&&(k.forEach((Ve,Ct)=>{this.at(Ct)&&this.at(Ct).patchValue(Ve,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(k=[],F={}){this._forEachChild((Ve,Ct)=>{Ve.reset(k[Ct],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(F=>F._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((F,Ve)=>!!Ve._syncPendingControls()||F,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((F,Ve)=>{k(F,Ve)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(F=>F.enabled&&k(F))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}function bi(ne){return!!ne&&(void 0!==ne.asyncValidators||void 0!==ne.validators||void 0!==ne.updateOn)}let Bi=(()=>{class ne{constructor(){this.useNonNullable=!1}get nonNullable(){const F=new ne;return F.useNonNullable=!0,F}group(F,Ve=null){const Ct=this._reduceControls(F);let Wn,Vt=null,In=null;return null!==Ve&&(bi(Ve)?(Vt=null!=Ve.validators?Ve.validators:null,In=null!=Ve.asyncValidators?Ve.asyncValidators:null,Wn=null!=Ve.updateOn?Ve.updateOn:void 0):(Vt=null!=Ve.validator?Ve.validator:null,In=null!=Ve.asyncValidator?Ve.asyncValidator:null)),new Zt(Ct,{asyncValidators:In,updateOn:Wn,validators:Vt})}control(F,Ve,Ct){let Vt={};return this.useNonNullable?(bi(Ve)?Vt=Ve:(Vt.validators=Ve,Vt.asyncValidators=Ct),new xn(F,{...Vt,nonNullable:!0})):new xn(F,Ve,Ct)}array(F,Ve,Ct){const Vt=F.map(In=>this._createControl(In));return new Dn(Vt,Ve,Ct)}_reduceControls(F){const Ve={};return Object.keys(F).forEach(Ct=>{Ve[Ct]=this._createControl(F[Ct])}),Ve}_createControl(F){return F instanceof xn||F instanceof St?F:Array.isArray(F)?this.control(F[0],F.length>1?F[1]:null,F.length>2?F[2]:null):this.control(F)}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275prov=o.Yz7({token:ne,factory:ne.\u0275fac,providedIn:jn}),ne})(),Gi=(()=>{class ne extends Bi{group(F,Ve=null){return super.group(F,Ve)}control(F,Ve,Ct){return super.control(F,Ve,Ct)}array(F,Ve,Ct){return super.array(F,Ve,Ct)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275prov=o.Yz7({token:ne,factory:ne.\u0275fac,providedIn:jn}),ne})()},5719:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>A,k:()=>L});var o=s(4537),r=s(1379),h=s(8954),_=s(4929);let f=0;const d=(0,r.Id)(class{}),w="mat-badge-content";let L=(()=>{class g extends d{constructor(m,b,S,v,H){super(),this._ngZone=m,this._elementRef=b,this._ariaDescriber=S,this._renderer=v,this._animationMode=H,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=f++,this._isInitialized=!1}get color(){return this._color}set color(m){this._setColor(m),this._color=m}get overlap(){return this._overlap}set overlap(m){this._overlap=(0,_.Ig)(m)}get content(){return this._content}set content(m){this._updateRenderedContent(m)}get description(){return this._description}set description(m){this._updateHostAriaDescription(m)}get hidden(){return this._hidden}set hidden(m){this._hidden=(0,_.Ig)(m)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const m=this._renderer.createElement("span"),b="mat-badge-active";return m.setAttribute("id",`mat-badge-content-${this._id}`),m.setAttribute("aria-hidden","true"),m.classList.add(w),"NoopAnimations"===this._animationMode&&m.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(m),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{m.classList.add(b)})}):m.classList.add(b),m}_updateRenderedContent(m){const b=`${m??""}`.trim();this._isInitialized&&b&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=b),this._content=b}_updateHostAriaDescription(m){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),m&&this._ariaDescriber.describe(this._elementRef.nativeElement,m),this._description=m}_setColor(m){const b=this._elementRef.nativeElement.classList;b.remove(`mat-badge-${this._color}`),m&&b.add(`mat-badge-${m}`)}_clearExistingBadges(){const m=this._elementRef.nativeElement.querySelectorAll(`:scope > .${w}`);for(const b of Array.from(m))b!==this._badgeElement&&b.remove()}}return g.\u0275fac=function(m){return new(m||g)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(h.$s),o.Y36(o.Qsj),o.Y36(o.QbO,8))},g.\u0275dir=o.lG2({type:g,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(m,b){2&m&&o.ekj("mat-badge-overlap",b.overlap)("mat-badge-above",b.isAbove())("mat-badge-below",!b.isAbove())("mat-badge-before",!b.isAfter())("mat-badge-after",b.isAfter())("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[o.qOj]}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[h.rt,r.BQ,r.BQ]}),g})()},108:(Ue,J,s)=>{"use strict";s.d(J,{A9:()=>S,Yi:()=>H,vV:()=>x});var o=s(8954),r=s(4929),h=s(5834),_=s(4537),f=s(92),d=s(1379);const w=["button"],L=["*"],A=new _.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),g=new _.OlP("MatButtonToggleGroup"),B={provide:f.JU,useExisting:(0,_.Gpc)(()=>S),multi:!0};let m=0;class b{constructor(Ee,T){this.source=Ee,this.value=T}}let S=(()=>{class te{constructor(T,ue){this._changeDetector=T,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+m++,this.valueChange=new _.vpe,this.change=new _.vpe,this.appearance=ue&&ue.appearance?ue.appearance:"standard"}get name(){return this._name}set name(T){this._name=T,this._buttonToggles&&this._buttonToggles.forEach(ue=>{ue.name=this._name,ue._markForCheck()})}get vertical(){return this._vertical}set vertical(T){this._vertical=(0,r.Ig)(T)}get value(){const T=this._selectionModel?this._selectionModel.selected:[];return this.multiple?T.map(ue=>ue.value):T[0]?T[0].value:void 0}set value(T){this._setSelectionByValue(T),this.valueChange.emit(this.value)}get selected(){const T=this._selectionModel?this._selectionModel.selected:[];return this.multiple?T:T[0]||null}get multiple(){return this._multiple}set multiple(T){this._multiple=(0,r.Ig)(T)}get disabled(){return this._disabled}set disabled(T){this._disabled=(0,r.Ig)(T),this._buttonToggles&&this._buttonToggles.forEach(ue=>ue._markForCheck())}ngOnInit(){this._selectionModel=new h.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(T=>T.checked))}writeValue(T){this.value=T,this._changeDetector.markForCheck()}registerOnChange(T){this._controlValueAccessorChangeFn=T}registerOnTouched(T){this._onTouched=T}setDisabledState(T){this.disabled=T}_emitChangeEvent(){const T=this.selected,ue=Array.isArray(T)?T[T.length-1]:T,Z=new b(ue,this.value);this._controlValueAccessorChangeFn(Z.value),this.change.emit(Z)}_syncButtonToggle(T,ue,Z=!1,Me=!1){!this.multiple&&this.selected&&!T.checked&&(this.selected.checked=!1),this._selectionModel?ue?this._selectionModel.select(T):this._selectionModel.deselect(T):Me=!0,Me?Promise.resolve().then(()=>this._updateModelValue(Z)):this._updateModelValue(Z)}_isSelected(T){return this._selectionModel&&this._selectionModel.isSelected(T)}_isPrechecked(T){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(ue=>null!=T.value&&ue===T.value):T.value===this._rawValue)}_setSelectionByValue(T){this._rawValue=T,this._buttonToggles&&(this.multiple&&T?(Array.isArray(T),this._clearSelection(),T.forEach(ue=>this._selectValue(ue))):(this._clearSelection(),this._selectValue(T)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(T=>T.checked=!1)}_selectValue(T){const ue=this._buttonToggles.find(Z=>null!=Z.value&&Z.value===T);ue&&(ue.checked=!0,this._selectionModel.select(ue))}_updateModelValue(T){T&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return te.\u0275fac=function(T){return new(T||te)(_.Y36(_.sBO),_.Y36(A,8))},te.\u0275dir=_.lG2({type:te,selectors:[["mat-button-toggle-group"]],contentQueries:function(T,ue,Z){if(1&T&&_.Suo(Z,H,5),2&T){let Me;_.iGM(Me=_.CRH())&&(ue._buttonToggles=Me)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(T,ue){2&T&&(_.uIk("aria-disabled",ue.disabled),_.ekj("mat-button-toggle-vertical",ue.vertical)("mat-button-toggle-group-appearance-standard","standard"===ue.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[_._Bn([B,{provide:g,useExisting:te}])]}),te})();const v=(0,d.Kr)(class{});let H=(()=>{class te extends v{constructor(T,ue,Z,Me,Se,ve){super(),this._changeDetectorRef=ue,this._elementRef=Z,this._focusMonitor=Me,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new _.vpe;const ye=Number(Se);this.tabIndex=ye||0===ye?ye:null,this.buttonToggleGroup=T,this.appearance=ve&&ve.appearance?ve.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(T){this._appearance=T}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(T){const ue=(0,r.Ig)(T);ue!==this._checked&&(this._checked=ue,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(T){this._disabled=(0,r.Ig)(T)}ngOnInit(){const T=this.buttonToggleGroup;this._isSingleSelector=T&&!T.multiple,this.id=this.id||"mat-button-toggle-"+m++,this._isSingleSelector&&(this.name=T.name),T&&(T._isPrechecked(this)?this.checked=!0:T._isSelected(this)!==this._checked&&T._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const T=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),T&&T._isSelected(this)&&T._syncButtonToggle(this,!1,!1,!0)}focus(T){this._buttonElement.nativeElement.focus(T)}_onButtonClick(){const T=!!this._isSingleSelector||!this._checked;T!==this._checked&&(this._checked=T,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new b(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return te.\u0275fac=function(T){return new(T||te)(_.Y36(g,8),_.Y36(_.sBO),_.Y36(_.SBq),_.Y36(o.tE),_.$8M("tabindex"),_.Y36(A,8))},te.\u0275cmp=_.Xpm({type:te,selectors:[["mat-button-toggle"]],viewQuery:function(T,ue){if(1&T&&_.Gf(w,5),2&T){let Z;_.iGM(Z=_.CRH())&&(ue._buttonElement=Z.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(T,ue){1&T&&_.NdJ("focus",function(){return ue.focus()}),2&T&&(_.uIk("aria-label",null)("aria-labelledby",null)("id",ue.id)("name",null),_.ekj("mat-button-toggle-standalone",!ue.buttonToggleGroup)("mat-button-toggle-checked",ue.checked)("mat-button-toggle-disabled",ue.disabled)("mat-button-toggle-appearance-standard","standard"===ue.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:[_.qOj],ngContentSelectors:L,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,ue){if(1&T&&(_.F$t(),_.TgZ(0,"button",0,1),_.NdJ("click",function(){return ue._onButtonClick()}),_.TgZ(2,"span",2),_.Hsn(3),_.qZA()(),_._UZ(4,"span",3)(5,"span",4)),2&T){const Z=_.MAs(1);_.Q6J("id",ue.buttonId)("disabled",ue.disabled||null),_.uIk("tabindex",ue.disabled?-1:ue.tabIndex)("aria-pressed",ue.checked)("name",ue.name||null)("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby),_.xp6(5),_.Q6J("matRippleTrigger",Z)("matRippleDisabled",ue.disableRipple||ue.disabled)}},dependencies:[d.wG],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}.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;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}),te})(),x=(()=>{class te{}return te.\u0275fac=function(T){return new(T||te)},te.\u0275mod=_.oAB({type:te}),te.\u0275inj=_.cJS({imports:[d.BQ,d.si,d.BQ]}),te})()},9638:(Ue,J,s)=>{"use strict";s.d(J,{lW:()=>g,ot:()=>m,zs:()=>B});var o=s(4537),r=s(1379),h=s(8954);const _=["mat-button",""],f=["*"],L=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],A=(0,r.pj)((0,r.Id)((0,r.Kr)(class{constructor(b){this._elementRef=b}})));let g=(()=>{class b extends A{constructor(v,H,x){super(v),this._focusMonitor=H,this._animationMode=x,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const te of L)this._hasHostAttributes(te)&&this._getHostElement().classList.add(te);v.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(v,H){v?this._focusMonitor.focusVia(this._getHostElement(),v,H):this._getHostElement().focus(H)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...v){return v.some(H=>this._getHostElement().hasAttribute(H))}}return b.\u0275fac=function(v){return new(v||b)(o.Y36(o.SBq),o.Y36(h.tE),o.Y36(o.QbO,8))},b.\u0275cmp=o.Xpm({type:b,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(v,H){if(1&v&&o.Gf(r.wG,5),2&v){let x;o.iGM(x=o.CRH())&&(H.ripple=x.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(v,H){2&v&&(o.uIk("disabled",H.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:_,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(v,H){1&v&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1)(3,"span",2)),2&v&&(o.xp6(2),o.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),o.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._getHostElement()))},dependencies:[r.wG],styles:[".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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2,changeDetection:0}),b})(),B=(()=>{class b extends g{constructor(v,H,x,te){super(H,v,x),this._ngZone=te,this._haltDisabledEvents=Ee=>{this.disabled&&(Ee.preventDefault(),Ee.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return b.\u0275fac=function(v){return new(v||b)(o.Y36(h.tE),o.Y36(o.SBq),o.Y36(o.QbO,8),o.Y36(o.R0b,8))},b.\u0275cmp=o.Xpm({type:b,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(v,H){2&v&&(o.uIk("tabindex",H.disabled?-1:H.tabIndex)("disabled",H.disabled||null)("aria-disabled",H.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:_,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(v,H){1&v&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1)(3,"span",2)),2&v&&(o.xp6(2),o.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),o.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._getHostElement()))},dependencies:[r.wG],styles:[".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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2,changeDetection:0}),b})(),m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=o.oAB({type:b}),b.\u0275inj=o.cJS({imports:[r.si,r.BQ,r.BQ]}),b})()},7084:(Ue,J,s)=>{"use strict";s.d(J,{HS:()=>ye,Hi:()=>lt,oH:()=>ke,qH:()=>De,qn:()=>X});var o=s(5436),r=s(4537),h=s(1379),_=s(4929),f=s(6321),d=s(8692),w=s(8023),L=s(1860),A=s(5598),g=s(3528),B=s(1927),m=s(8954),b=s(5875),S=s(5834),v=s(92),H=s(8659);const x=["*"],Ee=new r.OlP("MatChipRemove"),T=new r.OlP("MatChipAvatar"),ue=new r.OlP("MatChipTrailingIcon");class Z{constructor(Re){this._elementRef=Re}}const Me=(0,h.sb)((0,h.pj)((0,h.Kr)(Z),"primary"),-1);let ye=(()=>{class $ extends Me{constructor(re,xe,Ke,me,P,se,Ce,He){super(re),this._ngZone=xe,this._changeDetectorRef=P,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new w.x,this._onBlur=new w.x,this.selectionChange=new r.vpe,this.destroyed=new r.vpe,this.removed=new r.vpe,this._addHostClassName(),this._chipRippleTarget=se.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new h.IR(this,xe,this._chipRippleTarget,Ke),this._chipRipple.setupTriggerEvents(re),this.rippleConfig=me||{},this._animationsDisabled="NoopAnimations"===Ce,this.tabIndex=null!=He&&parseInt(He)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(re){const xe=(0,_.Ig)(re);xe!==this._selected&&(this._selected=xe,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(re){this._value=re}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(re){this._selectable=(0,_.Ig)(re)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(re){this._disabled=(0,_.Ig)(re)}get removable(){return this._removable}set removable(re){this._removable=(0,_.Ig)(re)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const re="mat-basic-chip",xe=this._elementRef.nativeElement;xe.hasAttribute(re)||xe.tagName.toLowerCase()===re?xe.classList.add(re):xe.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(re=!1){return this._selected=!this.selected,this._dispatchSelectionChange(re),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(re){this.disabled&&re.preventDefault()}_handleKeydown(re){if(!this.disabled)switch(re.keyCode){case o.yY:case o.ZH:this.remove(),re.preventDefault();break;case o.L_:this.selectable&&this.toggleSelected(!0),re.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(re=!1){this.selectionChange.emit({source:this,isUserInput:re,selected:this._selected})}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(f.t4),r.Y36(h.Y2,8),r.Y36(r.sBO),r.Y36(d.K0),r.Y36(r.QbO,8),r.$8M("tabindex"))},$.\u0275dir=r.lG2({type:$,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(re,xe,Ke){if(1&re&&(r.Suo(Ke,T,5),r.Suo(Ke,ue,5),r.Suo(Ke,Ee,5)),2&re){let me;r.iGM(me=r.CRH())&&(xe.avatar=me.first),r.iGM(me=r.CRH())&&(xe.trailingIcon=me.first),r.iGM(me=r.CRH())&&(xe.removeIcon=me.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(re,xe){1&re&&r.NdJ("click",function(me){return xe._handleClick(me)})("keydown",function(me){return xe._handleKeydown(me)})("focus",function(){return xe.focus()})("blur",function(){return xe._blur()}),2&re&&(r.uIk("tabindex",xe.disabled?null:xe.tabIndex)("role",xe.role)("disabled",xe.disabled||null)("aria-disabled",xe.disabled.toString())("aria-selected",xe.ariaSelected),r.ekj("mat-chip-selected",xe.selected)("mat-chip-with-avatar",xe.avatar)("mat-chip-with-trailing-icon",xe.trailingIcon||xe.removeIcon)("mat-chip-disabled",xe.disabled)("_mat-animation-noopable",xe._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[r.qOj]}),$})(),De=(()=>{class ${constructor(re,xe){this._parentChip=re,"BUTTON"===xe.nativeElement.nodeName&&xe.nativeElement.setAttribute("type","button")}_handleClick(re){const xe=this._parentChip;xe.removable&&!xe.disabled&&xe.remove(),re.stopPropagation(),re.preventDefault()}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(ye),r.Y36(r.SBq))},$.\u0275dir=r.lG2({type:$,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(re,xe){1&re&&r.NdJ("click",function(me){return xe._handleClick(me)})},features:[r._Bn([{provide:Ee,useExisting:$}])]}),$})();const z=new r.OlP("mat-chips-default-options"),Y=(0,h.FD)(class{constructor($,Re,re,xe){this._defaultErrorStateMatcher=$,this._parentForm=Re,this._parentFormGroup=re,this.ngControl=xe,this.stateChanges=new w.x}});let V=0;class j{constructor(Re,re){this.source=Re,this.value=re}}let X=(()=>{class $ extends Y{constructor(re,xe,Ke,me,P,se,Ce){super(se,me,P,Ce),this._elementRef=re,this._changeDetectorRef=xe,this._dir=Ke,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new w.x,this._uid="mat-chip-list-"+V++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(He,Qe)=>He===Qe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(re){this._explicitRole=re}get multiple(){return this._multiple}set multiple(re){this._multiple=(0,_.Ig)(re),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(re){this._compareWith=re,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(re){this.writeValue(re),this._value=re}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(v.kI.required)??!1}set required(re){this._required=(0,_.Ig)(re),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(re){this._placeholder=re,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(re){this._disabled=(0,_.Ig)(re),this._syncChipsState()}get selectable(){return this._selectable}set selectable(re){this._selectable=(0,_.Ig)(re),this.chips&&this.chips.forEach(xe=>xe.chipListSelectable=this._selectable)}set tabIndex(re){this._userTabIndex=re,this._tabIndex=re}get chipSelectionChanges(){return(0,L.T)(...this.chips.map(re=>re.selectionChange))}get chipFocusChanges(){return(0,L.T)(...this.chips.map(re=>re._onFocus))}get chipBlurChanges(){return(0,L.T)(...this.chips.map(re=>re._onBlur))}get chipRemoveChanges(){return(0,L.T)(...this.chips.map(re=>re.destroyed))}ngAfterContentInit(){this._keyManager=new m.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,g.R)(this._destroyed)).subscribe(re=>this._keyManager.withHorizontalOrientation(re)),this._keyManager.tabOut.pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,B.O)(null),(0,g.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new S.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(re){this._chipInput=re,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",re.id)}setDescribedByIds(re){re.length?this._elementRef.nativeElement.setAttribute("aria-describedby",re.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(re){this.chips&&this._setSelectionByValue(re,!1)}registerOnChange(re){this._onChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re,this.stateChanges.next()}onContainerClick(re){this._originatesFromChip(re)||this.focus()}focus(re){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(re),this.stateChanges.next()))}_focusInput(re){this._chipInput&&this._chipInput.focus(re)}_keydown(re){const xe=re.target;xe&&xe.classList.contains("mat-chip")&&(this._keyManager.onKeydown(re),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const re=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(re)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(re){return re>=0&&reKe.deselect()),Array.isArray(re))re.forEach(Ke=>this._selectValue(Ke,xe)),this._sortValues();else{const Ke=this._selectValue(re,xe);Ke&&xe&&this._keyManager.setActiveItem(Ke)}}_selectValue(re,xe=!0){const Ke=this.chips.find(me=>null!=me.value&&this._compareWith(me.value,re));return Ke&&(xe?Ke.selectViaInteraction():Ke.select(),this._selectionModel.select(Ke)),Ke}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(re){this._selectionModel.clear(),this.chips.forEach(xe=>{xe!==re&&xe.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(re=>{re.selected&&this._selectionModel.select(re)}),this.stateChanges.next())}_propagateChanges(re){let xe=null;xe=Array.isArray(this.selected)?this.selected.map(Ke=>Ke.value):this.selected?this.selected.value:re,this._value=xe,this.change.emit(new j(this,xe)),this.valueChange.emit(xe),this._onChange(xe),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){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)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(re=>{re.source.selected?this._selectionModel.select(re.source):this._selectionModel.deselect(re.source),this.multiple||this.chips.forEach(xe=>{!this._selectionModel.isSelected(xe)&&xe.selected&&xe.deselect()}),re.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(re=>{let xe=this.chips.toArray().indexOf(re.chip);this._isValidIndex(xe)&&this._keyManager.updateActiveItem(xe),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(re=>{const xe=re.chip,Ke=this.chips.toArray().indexOf(re.chip);this._isValidIndex(Ke)&&xe._hasFocus&&(this._lastDestroyedChipIndex=Ke)})}_originatesFromChip(re){let xe=re.target;for(;xe&&xe!==this._elementRef.nativeElement;){if(xe.classList.contains("mat-chip"))return!0;xe=xe.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(re=>re._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(re=>{re._chipListDisabled=this._disabled,re._chipListMultiple=this.multiple})}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(b.Is,8),r.Y36(v.F,8),r.Y36(v.sg,8),r.Y36(h.rD),r.Y36(v.a5,10))},$.\u0275cmp=r.Xpm({type:$,selectors:[["mat-chip-list"]],contentQueries:function(re,xe,Ke){if(1&re&&r.Suo(Ke,ye,5),2&re){let me;r.iGM(me=r.CRH())&&(xe.chips=me)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(re,xe){1&re&&r.NdJ("focus",function(){return xe.focus()})("blur",function(){return xe._blur()})("keydown",function(me){return xe._keydown(me)}),2&re&&(r.Ikx("id",xe._uid),r.uIk("tabindex",xe.disabled?null:xe._tabIndex)("aria-required",xe.role?xe.required:null)("aria-disabled",xe.disabled.toString())("aria-invalid",xe.errorState)("aria-multiselectable",xe.multiple)("role",xe.role)("aria-orientation",xe.ariaOrientation),r.ekj("mat-chip-list-disabled",xe.disabled)("mat-chip-list-invalid",xe.errorState)("mat-chip-list-required",xe.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:H.Eo,useExisting:$}]),r.qOj],ngContentSelectors:x,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(re,xe){1&re&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,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-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.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}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.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;transform:translateZ(0)}.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}'],encapsulation:2,changeDetection:0}),$})(),Ie=0,ke=(()=>{class ${constructor(re,xe){this._elementRef=re,this._defaultOptions=xe,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.vpe,this.placeholder="",this.id="mat-chip-list-input-"+Ie++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(re){re&&(this._chipList=re,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(re){this._addOnBlur=(0,_.Ig)(re)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(re){this._disabled=(0,_.Ig)(re)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(re){if(re){if(re.keyCode===o.Mf&&!(0,o.Vb)(re,"shiftKey")&&this._chipList._allowFocusEscape(),re.keyCode===o.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void re.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(re)}_keyup(re){!this._focusLastChipOnBackspace&&re.keyCode===o.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,re.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(re){!this.inputElement.value&&!!re&&this._chipList._keydown(re),(!re||this._isSeparatorKey(re))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),re?.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(re){this.inputElement.focus(re)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(re){return!(0,o.Vb)(re)&&new Set(this.separatorKeyCodes).has(re.keyCode)}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(z))},$.\u0275dir=r.lG2({type:$,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(re,xe){1&re&&r.NdJ("keydown",function(me){return xe._keydown(me)})("keyup",function(me){return xe._keyup(me)})("blur",function(){return xe._blur()})("focus",function(){return xe._focus()})("input",function(){return xe._onInput()}),2&re&&(r.Ikx("id",xe.id),r.uIk("disabled",xe.disabled||null)("placeholder",xe.placeholder||null)("aria-invalid",xe._chipList&&xe._chipList.ngControl?xe._chipList.ngControl.invalid:null)("aria-required",xe._chipList&&xe._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.TTD]}),$})(),lt=(()=>{class ${}return $.\u0275fac=function(re){return new(re||$)},$.\u0275mod=r.oAB({type:$}),$.\u0275inj=r.cJS({providers:[h.rD,{provide:z,useValue:{separatorKeyCodes:[o.K5]}}],imports:[h.BQ]}),$})()},1379:(Ue,J,s)=>{"use strict";s.d(J,{yN:()=>te,mZ:()=>Ee,_A:()=>ke,rD:()=>P,sG:()=>tt,K7:()=>we,HF:()=>oe,Y2:()=>nt,BQ:()=>Z,X2:()=>se,uc:()=>Qe,XK:()=>Ke,ey:()=>de,Ng:()=>_e,rN:()=>Ye,nP:()=>U,us:()=>ie,wG:()=>ft,si:()=>G,IR:()=>Pt,CB:()=>K,jH:()=>le,pj:()=>De,Kr:()=>z,Id:()=>ye,FD:()=>V,dB:()=>j,sb:()=>Y,E0:()=>Ce});var o=s(4537),r=s(8954),h=s(5875),f=s(8692),d=s(6321),w=s(4929),L=s(818),A=s(8023),g=s(1927),B=s(5436);function S(ae,he){if(1&ae&&o._UZ(0,"mat-pseudo-checkbox",4),2&ae){const pe=o.oxw();o.Q6J("state",pe.selected?"checked":"unchecked")("disabled",pe.disabled)}}function v(ae,he){if(1&ae&&(o.TgZ(0,"span",5),o._uU(1),o.qZA()),2&ae){const pe=o.oxw();o.xp6(1),o.hij("(",pe.group.label,")")}}const H=["*"];let te=(()=>{class ae{}return ae.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ae.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ae.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ae.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ae})(),Ee=(()=>{class ae{}return ae.COMPLEX="375ms",ae.ENTERING="225ms",ae.EXITING="195ms",ae})();const ue=new o.OlP("mat-sanity-checks",{providedIn:"root",factory:function T(){return!0}});let Z=(()=>{class ae{constructor(pe,be,Oe){this._sanityChecks=be,this._document=Oe,this._hasDoneGlobalChecks=!1,pe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(pe){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[pe])}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.LFG(r.qm),o.LFG(ue,8),o.LFG(f.K0))},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[h.vT,h.vT]}),ae})();function ye(ae){return class extends ae{constructor(...he){super(...he),this._disabled=!1}get disabled(){return this._disabled}set disabled(he){this._disabled=(0,w.Ig)(he)}}}function De(ae,he){return class extends ae{constructor(...pe){super(...pe),this.defaultColor=he,this.color=he}get color(){return this._color}set color(pe){const be=pe||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}}}function z(ae){return class extends ae{constructor(...he){super(...he),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(he){this._disableRipple=(0,w.Ig)(he)}}}function Y(ae,he=0){return class extends ae{constructor(...pe){super(...pe),this._tabIndex=he,this.defaultTabIndex=he}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(pe){this._tabIndex=null!=pe?(0,w.su)(pe):this.defaultTabIndex}}}function V(ae){return class extends ae{constructor(...he){super(...he),this.errorState=!1}updateErrorState(){const he=this.errorState,Ae=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Ae!==he&&(this.errorState=Ae,this.stateChanges.next())}}}function j(ae){return class extends ae{constructor(...he){super(...he),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new L.y(pe=>{this._isInitialized?this._notifySubscriber(pe):this._pendingSubscribers.push(pe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(he){he.next(),he.complete()}}}const X=new o.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ie(){return(0,o.f3M)(o.soG)}});class ke{constructor(){this._localeChanges=new A.x,this.localeChanges=this._localeChanges}getValidDateOrNull(he){return this.isDateInstance(he)&&this.isValid(he)?he:null}deserialize(he){return null==he||this.isDateInstance(he)&&this.isValid(he)?he:this.invalid()}setLocale(he){this.locale=he,this._localeChanges.next()}compareDate(he,pe){return this.getYear(he)-this.getYear(pe)||this.getMonth(he)-this.getMonth(pe)||this.getDate(he)-this.getDate(pe)}sameDate(he,pe){if(he&&pe){let be=this.isValid(he),Oe=this.isValid(pe);return be&&Oe?!this.compareDate(he,pe):be==Oe}return he==pe}clampDate(he,pe,be){return pe&&this.compareDate(he,pe)<0?pe:be&&this.compareDate(he,be)>0?be:he}}const tt=new o.OlP("mat-date-formats"),lt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $(ae,he){const pe=Array(ae);for(let be=0;be{class ae extends ke{constructor(pe,be){super(),this.useUtcForDisplay=!1,super.setLocale(pe)}getYear(pe){return pe.getFullYear()}getMonth(pe){return pe.getMonth()}getDate(pe){return pe.getDate()}getDayOfWeek(pe){return pe.getDay()}getMonthNames(pe){const be=new Intl.DateTimeFormat(this.locale,{month:pe,timeZone:"utc"});return $(12,Oe=>this._format(be,new Date(2017,Oe,1)))}getDateNames(){const pe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $(31,be=>this._format(pe,new Date(2017,0,be+1)))}getDayOfWeekNames(pe){const be=new Intl.DateTimeFormat(this.locale,{weekday:pe,timeZone:"utc"});return $(7,Oe=>this._format(be,new Date(2017,0,Oe+1)))}getYearName(pe){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,pe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(pe){return this.getDate(this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe)+1,0))}clone(pe){return new Date(pe.getTime())}createDate(pe,be,Oe){let Ae=this._createDateWithOverflow(pe,be,Oe);return Ae.getMonth(),Ae}today(){return new Date}parse(pe){return"number"==typeof pe?new Date(pe):pe?new Date(Date.parse(pe)):null}format(pe,be){if(!this.isValid(pe))throw Error("NativeDateAdapter: Cannot format invalid date.");const Oe=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(Oe,pe)}addCalendarYears(pe,be){return this.addCalendarMonths(pe,12*be)}addCalendarMonths(pe,be){let Oe=this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe)+be,this.getDate(pe));return this.getMonth(Oe)!=((this.getMonth(pe)+be)%12+12)%12&&(Oe=this._createDateWithOverflow(this.getYear(Oe),this.getMonth(Oe),0)),Oe}addCalendarDays(pe,be){return this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe),this.getDate(pe)+be)}toIso8601(pe){return[pe.getUTCFullYear(),this._2digit(pe.getUTCMonth()+1),this._2digit(pe.getUTCDate())].join("-")}deserialize(pe){if("string"==typeof pe){if(!pe)return null;if(lt.test(pe)){let be=new Date(pe);if(this.isValid(be))return be}}return super.deserialize(pe)}isDateInstance(pe){return pe instanceof Date}isValid(pe){return!isNaN(pe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(pe,be,Oe){const Ae=new Date;return Ae.setFullYear(pe,be,Oe),Ae.setHours(0,0,0,0),Ae}_2digit(pe){return("00"+pe).slice(-2)}_format(pe,be){const Oe=new Date;return Oe.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),Oe.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),pe.format(Oe)}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.LFG(X,8),o.LFG(d.t4))},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac}),ae})();const re={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 xe=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({providers:[{provide:ke,useClass:Re}]}),ae})(),Ke=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({providers:[{provide:tt,useValue:re}],imports:[xe]}),ae})(),P=(()=>{class ae{isErrorState(pe,be){return!!(pe&&pe.invalid&&(pe.touched||be&&be.submitted))}}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),se=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275dir=o.lG2({type:ae,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ae})();function Ce(ae,he,pe="mat"){ae.changes.pipe((0,g.O)(ae)).subscribe(({length:be})=>{He(he,`${pe}-2-line`,!1),He(he,`${pe}-3-line`,!1),He(he,`${pe}-multi-line`,!1),2===be||3===be?He(he,`${pe}-${be}-line`,!0):be>3&&He(he,`${pe}-multi-line`,!0)})}function He(ae,he,pe){ae.nativeElement.classList.toggle(he,pe)}let Qe=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z,Z]}),ae})();class st{constructor(he,pe,be,Oe=!1){this._renderer=he,this.element=pe,this.config=be,this._animationForciblyDisabledThroughCss=Oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ge={enterDuration:225,exitDuration:150},_t=(0,d.i$)({passive:!0}),xt=["mousedown","touchstart"],yt=["mouseup","mouseleave","touchend","touchcancel"];class Pt{constructor(he,pe,be,Oe){this._target=he,this._ngZone=pe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Oe.isBrowser&&(this._containerElement=(0,w.fI)(be))}fadeInRipple(he,pe,be={}){const Oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ae={...Ge,...be.animation};be.centered&&(he=Oe.left+Oe.width/2,pe=Oe.top+Oe.height/2);const Je=be.radius||function At(ae,he,pe){const be=Math.max(Math.abs(ae-pe.left),Math.abs(ae-pe.right)),Oe=Math.max(Math.abs(he-pe.top),Math.abs(he-pe.bottom));return Math.sqrt(be*be+Oe*Oe)}(he,pe,Oe),ct=he-Oe.left,mt=pe-Oe.top,Mt=Ae.enterDuration,St=document.createElement("div");St.classList.add("mat-ripple-element"),St.style.left=ct-Je+"px",St.style.top=mt-Je+"px",St.style.height=2*Je+"px",St.style.width=2*Je+"px",null!=be.color&&(St.style.backgroundColor=be.color),St.style.transitionDuration=`${Mt}ms`,this._containerElement.appendChild(St);const Zt=window.getComputedStyle(St),nn=Zt.transitionDuration,ln="none"===Zt.transitionProperty||"0s"===nn||"0s, 0s"===nn,Ut=new st(this,St,be,ln);St.style.transform="scale3d(1, 1, 1)",Ut.state=0,be.persistent||(this._mostRecentTransientRipple=Ut);let en=null;return!ln&&(Mt||Ae.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Rt=()=>this._finishRippleTransition(Ut),Ht=()=>this._destroyRipple(Ut);St.addEventListener("transitionend",Rt),St.addEventListener("transitioncancel",Ht),en={onTransitionEnd:Rt,onTransitionCancel:Ht}}),this._activeRipples.set(Ut,en),(ln||!Mt)&&this._finishRippleTransition(Ut),Ut}fadeOutRipple(he){if(2===he.state||3===he.state)return;const pe=he.element,be={...Ge,...he.config.animation};pe.style.transitionDuration=`${be.exitDuration}ms`,pe.style.opacity="0",he.state=2,(he._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(he)}fadeOutAll(){this._getActiveRipples().forEach(he=>he.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(he=>{he.config.persistent||he.fadeOut()})}setupTriggerEvents(he){const pe=(0,w.fI)(he);!pe||pe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=pe,this._registerEvents(xt))}handleEvent(he){"mousedown"===he.type?this._onMousedown(he):"touchstart"===he.type?this._onTouchStart(he):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(yt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(he){0===he.state?this._startFadeOutTransition(he):2===he.state&&this._destroyRipple(he)}_startFadeOutTransition(he){const pe=he===this._mostRecentTransientRipple,{persistent:be}=he.config;he.state=1,!be&&(!pe||!this._isPointerDown)&&he.fadeOut()}_destroyRipple(he){const pe=this._activeRipples.get(he)??null;this._activeRipples.delete(he),this._activeRipples.size||(this._containerRect=null),he===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),he.state=3,null!==pe&&(he.element.removeEventListener("transitionend",pe.onTransitionEnd),he.element.removeEventListener("transitioncancel",pe.onTransitionCancel)),he.element.remove()}_onMousedown(he){const pe=(0,r.X6)(he),be=this._lastTouchStartEvent&&Date.now(){!he.config.persistent&&(1===he.state||he.config.terminateOnPointerUp&&0===he.state)&&he.fadeOut()}))}_registerEvents(he){this._ngZone.runOutsideAngular(()=>{he.forEach(pe=>{this._triggerElement.addEventListener(pe,this,_t)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(xt.forEach(he=>{this._triggerElement.removeEventListener(he,this,_t)}),this._pointerUpEventsRegistered&&yt.forEach(he=>{this._triggerElement.removeEventListener(he,this,_t)}))}}const nt=new o.OlP("mat-ripple-global-options");let ft=(()=>{class ae{constructor(pe,be,Oe,Ae,Je){this._elementRef=pe,this._animationMode=Je,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ae||{},this._rippleRenderer=new Pt(this,be,pe,Oe)}get disabled(){return this._disabled}set disabled(pe){pe&&this.fadeOutAllNonPersistent(),this._disabled=pe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(pe){this._trigger=pe,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(pe,be=0,Oe){return"number"==typeof pe?this._rippleRenderer.fadeInRipple(pe,be,{...this.rippleConfig,...Oe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...pe})}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(d.t4),o.Y36(nt,8),o.Y36(o.QbO,8))},ae.\u0275dir=o.lG2({type:ae,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(pe,be){2&pe&&o.ekj("mat-ripple-unbounded",be.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"]}),ae})(),G=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z,Z]}),ae})(),U=(()=>{class ae{constructor(pe){this._animationMode=pe,this.state="unchecked",this.disabled=!1}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.QbO,8))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(pe,be){2&pe&&o.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(pe,be){},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: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{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}'],encapsulation:2,changeDetection:0}),ae})(),ie=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z]}),ae})();const oe=new o.OlP("MAT_OPTION_PARENT_COMPONENT"),we=new o.OlP("MatOptgroup");let We=0;class Ye{constructor(he,pe=!1){this.source=he,this.isUserInput=pe}}let et=(()=>{class ae{constructor(pe,be,Oe,Ae){this._element=pe,this._changeDetectorRef=be,this._parent=Oe,this.group=Ae,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+We++,this.onSelectionChange=new o.vpe,this._stateChanges=new A.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(pe){this._disabled=(0,w.Ig)(pe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().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(pe,be){const Oe=this._getHostElement();"function"==typeof Oe.focus&&Oe.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(pe){(pe.keyCode===B.K5||pe.keyCode===B.L_)&&!(0,B.Vb)(pe)&&(this._selectViaInteraction(),pe.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 pe=this.viewValue;pe!==this._mostRecentViewValue&&(this._mostRecentViewValue=pe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(pe=!1){this.onSelectionChange.emit(new Ye(this,pe))}}return ae.\u0275fac=function(pe){o.$Z()},ae.\u0275dir=o.lG2({type:ae,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ae})(),de=(()=>{class ae extends et{constructor(pe,be,Oe,Ae){super(pe,be,Oe,Ae)}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(oe,8),o.Y36(we,8))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(pe,be){1&pe&&o.NdJ("click",function(){return be._selectViaInteraction()})("keydown",function(Ae){return be._handleKeydown(Ae)}),2&pe&&(o.Ikx("id",be.id),o.uIk("tabindex",be._getTabIndex())("aria-selected",be._getAriaSelected())("aria-disabled",be.disabled.toString()),o.ekj("mat-selected",be.selected)("mat-option-multiple",be.multiple)("mat-active",be.active)("mat-option-disabled",be.disabled))},exportAs:["matOption"],features:[o.qOj],ngContentSelectors:H,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(pe,be){1&pe&&(o.F$t(),o.YNc(0,S,1,2,"mat-pseudo-checkbox",0),o.TgZ(1,"span",1),o.Hsn(2),o.qZA(),o.YNc(3,v,2,1,"span",2),o._UZ(4,"div",3)),2&pe&&(o.Q6J("ngIf",be.multiple),o.xp6(3),o.Q6J("ngIf",be.group&&be.group._inert),o.xp6(1),o.Q6J("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[ft,f.O5,U],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:rgba(0,0,0,0)}.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;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}"],encapsulation:2,changeDetection:0}),ae})();function K(ae,he,pe){if(pe.length){let be=he.toArray(),Oe=pe.toArray(),Ae=0;for(let Je=0;Jepe+be?Math.max(0,ae-be+he):pe}let _e=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[G,f.ez,Z,ie]}),ae})()},4536:(Ue,J,s)=>{"use strict";s.d(J,{WI:()=>xe,uw:()=>st,H8:()=>yt,ZT:()=>at,xY:()=>xt,Is:()=>At,so:()=>Re,uh:()=>_t});var o=s(8954),r=s(8232),h=s(6321),_=s(8632),f=s(8692),d=s(4537),w=s(5436),L=s(8023),A=s(3072),g=s(4945),B=s(5875),m=s(1927);function b(nt,ft){}class S{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 H=(()=>{class nt extends _.en{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(),this._elementRef=G,this._focusTrapFactory=U,this._config=oe,this._interactivityChecker=Te,this._ngZone=Xe,this._overlayRef=Ze,this._focusMonitor=we,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Be=>{this._portalOutlet.hasAttached();const We=this._portalOutlet.attachDomPortal(Be);return this._contentAttached(),We},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ie}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(G){this._portalOutlet.hasAttached();const U=this._portalOutlet.attachComponentPortal(G);return this._contentAttached(),U}attachTemplatePortal(G){this._portalOutlet.hasAttached();const U=this._portalOutlet.attachTemplatePortal(G);return this._contentAttached(),U}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(G,U){this._interactivityChecker.isFocusable(G)||(G.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ie=()=>{G.removeEventListener("blur",ie),G.removeEventListener("mousedown",ie),G.removeAttribute("tabindex")};G.addEventListener("blur",ie),G.addEventListener("mousedown",ie)})),G.focus(U)}_focusByCssSelector(G,U){let ie=this._elementRef.nativeElement.querySelector(G);ie&&this._forceFocus(ie,U)}_trapFocus(){const G=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||G.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(U=>{U||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 G=this._config.restoreFocus;let U=null;if("string"==typeof G?U=this._document.querySelector(G):"boolean"==typeof G?U=G?this._elementFocusedBeforeDialogWasOpened:null:G&&(U=G),this._config.restoreFocus&&U&&"function"==typeof U.focus){const ie=(0,h.ht)(),oe=this._elementRef.nativeElement;(!ie||ie===this._document.body||ie===oe||oe.contains(ie))&&(this._focusMonitor?(this._focusMonitor.focusVia(U,this._closeInteractionType),this._closeInteractionType=null):U.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const G=this._elementRef.nativeElement,U=(0,h.ht)();return G===U||G.contains(U)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,h.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(S),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["cdk-dialog-container"]],viewQuery:function(G,U){if(1&G&&d.Gf(_.Pl,7),2&G){let ie;d.iGM(ie=d.CRH())&&(U._portalOutlet=ie.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(G,U){2&G&&d.uIk("id",U._config.id||null)("role",U._config.role)("aria-modal",U._config.ariaModal)("aria-labelledby",U._config.ariaLabel?null:U._ariaLabelledBy)("aria-label",U._config.ariaLabel)("aria-describedby",U._config.ariaDescribedBy||null)},features:[d.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(G,U){1&G&&d.YNc(0,b,0,0,"ng-template",0)},dependencies:[_.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),nt})();class x{constructor(ft,G){this.overlayRef=ft,this.config=G,this.closed=new L.x,this.disableClose=G.disableClose,this.backdropClick=ft.backdropClick(),this.keydownEvents=ft.keydownEvents(),this.outsidePointerEvents=ft.outsidePointerEvents(),this.id=G.id,this.keydownEvents.subscribe(U=>{U.keyCode===w.hY&&!this.disableClose&&!(0,w.Vb)(U)&&(U.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(ft,G){if(this.containerInstance){const U=this.closed;this.containerInstance._closeInteractionType=G?.focusOrigin||"program",this.overlayRef.dispose(),U.next(ft),U.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ft="",G=""){return this.overlayRef.updateSize({width:ft,height:G}),this}addPanelClass(ft){return this.overlayRef.addPanelClass(ft),this}removePanelClass(ft){return this.overlayRef.removePanelClass(ft),this}}const te=new d.OlP("DialogScrollStrategy"),Ee=new d.OlP("DialogData"),T=new d.OlP("DefaultDialogConfig"),Z={provide:te,deps:[r.aV],useFactory:function ue(nt){return()=>nt.scrollStrategies.block()}};let Me=0,Se=(()=>{class nt{constructor(G,U,ie,oe,Te,Xe){this._overlay=G,this._injector=U,this._defaultOptions=ie,this._parentDialog=oe,this._overlayContainer=Te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L.x,this._afterOpenedAtThisLevel=new L.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.O)(void 0))),this._scrollStrategy=Xe}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(G,U){(U={...this._defaultOptions||new S,...U}).id=U.id||"cdk-dialog-"+Me++,U.id&&this.getDialogById(U.id);const oe=this._getOverlayConfig(U),Te=this._overlay.create(oe),Xe=new x(Te,U),Ze=this._attachContainer(Te,Xe,U);return Xe.containerInstance=Ze,this._attachDialogContent(G,Xe,Ze,U),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Xe),Xe.closed.subscribe(()=>this._removeOpenDialog(Xe,!0)),this.afterOpened.next(Xe),Xe}closeAll(){ve(this.openDialogs,G=>G.close())}getDialogById(G){return this.openDialogs.find(U=>U.id===G)}ngOnDestroy(){ve(this._openDialogsAtThisLevel,G=>{!1===G.config.closeOnDestroy&&this._removeOpenDialog(G,!1)}),ve(this._openDialogsAtThisLevel,G=>G.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(G){const U=new r.X_({positionStrategy:G.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:G.scrollStrategy||this._scrollStrategy(),panelClass:G.panelClass,hasBackdrop:G.hasBackdrop,direction:G.direction,minWidth:G.minWidth,minHeight:G.minHeight,maxWidth:G.maxWidth,maxHeight:G.maxHeight,width:G.width,height:G.height,disposeOnNavigation:G.closeOnNavigation});return G.backdropClass&&(U.backdropClass=G.backdropClass),U}_attachContainer(G,U,ie){const oe=ie.injector??ie.viewContainerRef?.injector,Te=[{provide:S,useValue:ie},{provide:x,useValue:U},{provide:r.Iu,useValue:G}];let Xe;ie.container?"function"==typeof ie.container?Xe=ie.container:(Xe=ie.container.type,Te.push(...ie.container.providers(ie))):Xe=H;const Ze=new _.C5(Xe,ie.viewContainerRef,d.zs3.create({parent:oe||this._injector,providers:Te}),ie.componentFactoryResolver);return G.attach(Ze).instance}_attachDialogContent(G,U,ie,oe){const Te=this._createInjector(oe,U,ie);if(G instanceof d.Rgc){let Xe={$implicit:oe.data,dialogRef:U};oe.templateContext&&(Xe={...Xe,..."function"==typeof oe.templateContext?oe.templateContext():oe.templateContext}),ie.attachTemplatePortal(new _.UE(G,null,Xe,Te))}else{const Xe=ie.attachComponentPortal(new _.C5(G,oe.viewContainerRef,Te,oe.componentFactoryResolver));U.componentInstance=Xe.instance}}_createInjector(G,U,ie){const oe=G&&G.viewContainerRef&&G.viewContainerRef.injector,Te=[{provide:Ee,useValue:G.data},{provide:x,useValue:U}];return G.providers&&("function"==typeof G.providers?Te.push(...G.providers(U,G,ie)):Te.push(...G.providers)),G.direction&&(!oe||!oe.get(B.Is,null,d.XFs.Optional))&&Te.push({provide:B.Is,useValue:{value:G.direction,change:(0,g.of)()}}),d.zs3.create({parent:oe||this._injector,providers:Te})}_removeOpenDialog(G,U){const ie=this.openDialogs.indexOf(G);ie>-1&&(this.openDialogs.splice(ie,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((oe,Te)=>{oe?Te.setAttribute("aria-hidden",oe):Te.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),U&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const G=this._overlayContainer.getContainerElement();if(G.parentElement){const U=G.parentElement.children;for(let ie=U.length-1;ie>-1;ie--){const oe=U[ie];oe!==G&&"SCRIPT"!==oe.nodeName&&"STYLE"!==oe.nodeName&&!oe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(oe,oe.getAttribute("aria-hidden")),oe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const G=this._parentDialog;return G?G._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return nt.\u0275fac=function(G){return new(G||nt)(d.LFG(r.aV),d.LFG(d.zs3),d.LFG(T,8),d.LFG(nt,12),d.LFG(r.Xj),d.LFG(te))},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})();function ve(nt,ft){let G=nt.length;for(;G--;)ft(nt[G])}let ye=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=d.oAB({type:nt}),nt.\u0275inj=d.cJS({providers:[Se,Z],imports:[r.U8,_.eL,o.rt,_.eL]}),nt})();var De=s(1379),z=s(1860),Y=s(4970),V=s(5598),j=s(4091);function X(nt,ft){}const Ie={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},ke={dialogContainer:(0,j.X$)("dialogContainer",[(0,j.SB)("void, exit",(0,j.oB)({opacity:0,transform:"scale(0.7)"})),(0,j.SB)("enter",(0,j.oB)({transform:"none"})),(0,j.eR)("* => enter",(0,j.ru)([(0,j.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,j.oB)({transform:"none",opacity:1})),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),Ie),(0,j.eR)("* => void, * => exit",(0,j.ru)([(0,j.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,j.oB)({opacity:0})),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),Ie)])};class tt{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.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Ie.params.enterAnimationDuration,this.exitAnimationDuration=Ie.params.exitAnimationDuration}}let lt=(()=>{class nt extends H{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(G,U,ie,oe,Te,Xe,Ze,we),this._animationStateChanged=new d.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(G){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:G})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(tt),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["ng-component"]],features:[d.qOj],decls:0,vars:0,template:function(G,U){},encapsulation:2}),nt})(),$=(()=>{class nt extends lt{constructor(G,U,ie,oe,Te,Xe,Ze,we,Be){super(G,U,ie,oe,Te,Xe,Ze,Be),this._changeDetectorRef=we,this._state="enter"}_onAnimationDone({toState:G,totalTime:U}){"enter"===G?this._openAnimationDone(U):"exit"===G&&this._animationStateChanged.next({state:"closed",totalTime:U})}_onAnimationStart({toState:G,totalTime:U}){"enter"===G?this._animationStateChanged.next({state:"opening",totalTime:U}):("exit"===G||"void"===G)&&this._animationStateChanged.next({state:"closing",totalTime:U})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ie.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ie.params.exitAnimationDuration}}}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(tt),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(d.sBO),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(G,U){1&G&&d.WFA("@dialogContainer.start",function(oe){return U._onAnimationStart(oe)})("@dialogContainer.done",function(oe){return U._onAnimationDone(oe)}),2&G&&(d.Ikx("id",U._config.id),d.uIk("aria-modal",U._config.ariaModal)("role",U._config.role)("aria-labelledby",U._config.ariaLabel?null:U._ariaLabelledBy)("aria-label",U._config.ariaLabel)("aria-describedby",U._config.ariaDescribedBy||null),d.d8E("@dialogContainer",U._getAnimationState()))},features:[d.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(G,U){1&G&&d.YNc(0,X,0,0,"ng-template",0)},dependencies:[_.Pl],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[ke.dialogContainer]}}),nt})();class Re{constructor(ft,G,U){this._ref=ft,this._containerInstance=U,this._afterOpened=new L.x,this._beforeClosed=new L.x,this._state=0,this.disableClose=G.disableClose,this.id=ft.id,U._animationStateChanged.pipe((0,Y.h)(ie=>"opened"===ie.state),(0,V.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),U._animationStateChanged.pipe((0,Y.h)(ie=>"closed"===ie.state),(0,V.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ft.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,z.T)(this.backdropClick(),this.keydownEvents().pipe((0,Y.h)(ie=>ie.keyCode===w.hY&&!this.disableClose&&!(0,w.Vb)(ie)))).subscribe(ie=>{this.disableClose||(ie.preventDefault(),re(this,"keydown"===ie.type?"keyboard":"mouse"))})}close(ft){this._result=ft,this._containerInstance._animationStateChanged.pipe((0,Y.h)(G=>"closing"===G.state),(0,V.q)(1)).subscribe(G=>{this._beforeClosed.next(ft),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),G.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(ft){let G=this._ref.config.positionStrategy;return ft&&(ft.left||ft.right)?ft.left?G.left(ft.left):G.right(ft.right):G.centerHorizontally(),ft&&(ft.top||ft.bottom)?ft.top?G.top(ft.top):G.bottom(ft.bottom):G.centerVertically(),this._ref.updatePosition(),this}updateSize(ft="",G=""){return this._ref.updateSize(ft,G),this}addPanelClass(ft){return this._ref.addPanelClass(ft),this}removePanelClass(ft){return this._ref.removePanelClass(ft),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function re(nt,ft,G){return nt._closeInteractionType=ft,nt.close(G)}const xe=new d.OlP("MatDialogData"),Ke=new d.OlP("mat-dialog-default-options"),me=new d.OlP("mat-dialog-scroll-strategy"),Ce={provide:me,deps:[r.aV],useFactory:function se(nt){return()=>nt.scrollStrategies.block()}};let He=0,Qe=(()=>{class nt{constructor(G,U,ie,oe,Te,Xe,Ze,we,Be,We){this._overlay=G,this._defaultOptions=ie,this._parentDialog=oe,this._dialogRefConstructor=Ze,this._dialogContainerType=we,this._dialogDataToken=Be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L.x,this._afterOpenedAtThisLevel=new L.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.O)(void 0))),this._scrollStrategy=Xe,this._dialog=U.get(Se)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const G=this._parentDialog;return G?G._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(G,U){let ie;(U={...this._defaultOptions||new tt,...U}).id=U.id||`${this._idPrefix}${He++}`,U.scrollStrategy=U.scrollStrategy||this._scrollStrategy();const oe=this._dialog.open(G,{...U,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:tt,useValue:U},{provide:S,useValue:U}]},templateContext:()=>({dialogRef:ie}),providers:(Te,Xe,Ze)=>(ie=new this._dialogRefConstructor(Te,U,Ze),ie.updatePosition(U?.position),[{provide:this._dialogContainerType,useValue:Ze},{provide:this._dialogDataToken,useValue:Xe.data},{provide:this._dialogRefConstructor,useValue:ie}])});return ie.componentInstance=oe.componentInstance,this.openDialogs.push(ie),this.afterOpened.next(ie),ie.afterClosed().subscribe(()=>{const Te=this.openDialogs.indexOf(ie);Te>-1&&(this.openDialogs.splice(Te,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ie}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(G){return this.openDialogs.find(U=>U.id===G)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(G){let U=G.length;for(;U--;)G[U].close()}}return nt.\u0275fac=function(G){d.$Z()},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),st=(()=>{class nt extends Qe{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(G,U,oe,Xe,Ze,Te,Re,$,xe,we)}}return nt.\u0275fac=function(G){return new(G||nt)(d.LFG(r.aV),d.LFG(d.zs3),d.LFG(f.Ye,8),d.LFG(Ke,8),d.LFG(me),d.LFG(nt,12),d.LFG(r.Xj),d.LFG(d.QbO,8))},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),Ge=0,at=(()=>{class nt{constructor(G,U,ie){this.dialogRef=G,this._elementRef=U,this._dialog=ie,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Pt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(G){const U=G._matDialogClose||G._matDialogCloseResult;U&&(this.dialogResult=U.currentValue)}_onButtonClick(G){re(this.dialogRef,0===G.screenX&&0===G.screenY?"keyboard":"mouse",this.dialogResult)}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(Re,8),d.Y36(d.SBq),d.Y36(st))},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(G,U){1&G&&d.NdJ("click",function(oe){return U._onButtonClick(oe)}),2&G&&d.uIk("aria-label",U.ariaLabel||null)("type",U.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[d.TTD]}),nt})(),_t=(()=>{class nt{constructor(G,U,ie){this._dialogRef=G,this._elementRef=U,this._dialog=ie,this.id="mat-dialog-title-"+Ge++}ngOnInit(){this._dialogRef||(this._dialogRef=Pt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const G=this._dialogRef._containerInstance;G&&!G._ariaLabelledBy&&(G._ariaLabelledBy=this.id)})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(Re,8),d.Y36(d.SBq),d.Y36(st))},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(G,U){2&G&&d.Ikx("id",U.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),nt})(),xt=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),nt})(),yt=(()=>{class nt{constructor(){this.align="start"}}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(G,U){2&G&&d.ekj("mat-dialog-actions-align-center","center"===U.align)("mat-dialog-actions-align-end","end"===U.align)},inputs:{align:"align"}}),nt})();function Pt(nt,ft){let G=nt.nativeElement.parentElement;for(;G&&!G.classList.contains("mat-dialog-container");)G=G.parentElement;return G?ft.find(U=>U.id===G.id):null}let At=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=d.oAB({type:nt}),nt.\u0275inj=d.cJS({providers:[st,Ce],imports:[ye,r.U8,_.eL,De.BQ,De.BQ]}),nt})()},6438:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>_,t:()=>f});var o=s(4537),r=s(4929),h=s(1379);let _=(()=>{class d{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(L){this._vertical=(0,r.Ig)(L)}get inset(){return this._inset}set inset(L){this._inset=(0,r.Ig)(L)}}return d.\u0275fac=function(L){return new(L||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(L,A){2&L&&(o.uIk("aria-orientation",A.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",A.vertical)("mat-divider-horizontal",!A.vertical)("mat-divider-inset",A.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(L,A){},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}),d})(),f=(()=>{class d{}return d.\u0275fac=function(L){return new(L||d)},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({imports:[h.BQ,h.BQ]}),d})()},7914:(Ue,J,s)=>{"use strict";s.d(J,{pp:()=>Ce,To:()=>He,ib:()=>Re,yz:()=>me,yK:()=>se});var o=s(4537),r=s(5834),h=s(4929),_=s(8023),f=s(4813);let d=0;const w=new o.OlP("CdkAccordion");let L=(()=>{class Qe{constructor(){this._stateChanges=new _.x,this._openCloseAllActions=new _.x,this.id="cdk-accordion-"+d++,this._multi=!1}get multi(){return this._multi}set multi(Ge){this._multi=(0,h.Ig)(Ge)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Ge){this._stateChanges.next(Ge)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:w,useExisting:Qe}]),o.TTD]}),Qe})(),A=0,g=(()=>{class Qe{constructor(Ge,at,_t){this.accordion=Ge,this._changeDetectorRef=at,this._expansionDispatcher=_t,this._openCloseAllSubscription=f.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-"+A++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=_t.listen((xt,yt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===yt&&this.id!==xt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Ge){Ge=(0,h.Ig)(Ge),this._expanded!==Ge&&(this._expanded=Ge,this.expandedChange.emit(Ge),Ge?(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(Ge){this._disabled=(0,h.Ig)(Ge)}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(Ge=>{this.disabled||(this.expanded=Ge)})}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(w,12),o.Y36(o.sBO),o.Y36(r.A8))},Qe.\u0275dir=o.lG2({type:Qe,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:w,useValue:void 0}])]}),Qe})(),B=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({}),Qe})();var m=s(8632),b=s(8692),S=s(1379),v=s(8954),H=s(2147),x=s(1927),te=s(4970),Ee=s(5598),T=s(5436),ue=s(9018),Z=s(1860),Me=s(4091);const Se=["body"];function ve(Qe,st){}const ye=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],De=["mat-expansion-panel-header","*","mat-action-row"];function z(Qe,st){if(1&Qe&&o._UZ(0,"span",2),2&Qe){const Ge=o.oxw();o.Q6J("@indicatorRotate",Ge._getExpandedState())}}const Y=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],V=["mat-panel-title","mat-panel-description","*"],j=new o.OlP("MAT_ACCORDION"),X="225ms cubic-bezier(0.4,0.0,0.2,1)",Ie={indicatorRotate:(0,Me.X$)("indicatorRotate",[(0,Me.SB)("collapsed, void",(0,Me.oB)({transform:"rotate(0deg)"})),(0,Me.SB)("expanded",(0,Me.oB)({transform:"rotate(180deg)"})),(0,Me.eR)("expanded <=> collapsed, void => collapsed",(0,Me.jt)(X))]),bodyExpansion:(0,Me.X$)("bodyExpansion",[(0,Me.SB)("collapsed, void",(0,Me.oB)({height:"0px",visibility:"hidden"})),(0,Me.SB)("expanded",(0,Me.oB)({height:"*",visibility:"visible"})),(0,Me.eR)("expanded <=> collapsed, void => collapsed",(0,Me.jt)(X))])},ke=new o.OlP("MAT_EXPANSION_PANEL");let tt=(()=>{class Qe{constructor(Ge,at){this._template=Ge,this._expansionPanel=at}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(o.Rgc),o.Y36(ke,8))},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["ng-template","matExpansionPanelContent",""]]}),Qe})(),lt=0;const $=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Re=(()=>{class Qe extends g{constructor(Ge,at,_t,xt,yt,Pt,At){super(Ge,at,_t),this._viewContainerRef=xt,this._animationMode=Pt,this._hideToggle=!1,this.afterExpand=new o.vpe,this.afterCollapse=new o.vpe,this._inputChanges=new _.x,this._headerId="mat-expansion-panel-header-"+lt++,this._bodyAnimationDone=new _.x,this.accordion=Ge,this._document=yt,this._bodyAnimationDone.pipe((0,H.x)((nt,ft)=>nt.fromState===ft.fromState&&nt.toState===ft.toState)).subscribe(nt=>{"void"!==nt.fromState&&("expanded"===nt.toState?this.afterExpand.emit():"collapsed"===nt.toState&&this.afterCollapse.emit())}),At&&(this.hideToggle=At.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Ge){this._hideToggle=(0,h.Ig)(Ge)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Ge){this._togglePosition=Ge}_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,x.O)(null),(0,te.h)(()=>this.expanded&&!this._portal),(0,Ee.q)(1)).subscribe(()=>{this._portal=new m.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Ge){this._inputChanges.next(Ge)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Ge=this._document.activeElement,at=this._body.nativeElement;return Ge===at||at.contains(Ge)}return!1}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(j,12),o.Y36(o.sBO),o.Y36(r.A8),o.Y36(o.s_b),o.Y36(b.K0),o.Y36(o.QbO,8),o.Y36($,8))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-expansion-panel"]],contentQueries:function(Ge,at,_t){if(1&Ge&&o.Suo(_t,tt,5),2&Ge){let xt;o.iGM(xt=o.CRH())&&(at._lazyContent=xt.first)}},viewQuery:function(Ge,at){if(1&Ge&&o.Gf(Se,5),2&Ge){let _t;o.iGM(_t=o.CRH())&&(at._body=_t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Ge,at){2&Ge&&o.ekj("mat-expanded",at.expanded)("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-expansion-panel-spacing",at._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:j,useValue:void 0},{provide:ke,useExisting:Qe}]),o.qOj,o.TTD],ngContentSelectors:De,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Ge,at){1&Ge&&(o.F$t(ye),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(xt){return at._bodyAnimationDone.next(xt)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,ve,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&Ge&&(o.xp6(1),o.Q6J("@bodyExpansion",at._getExpandedState())("id",at.id),o.uIk("aria-labelledby",at._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",at._portal))},dependencies:[m.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:[Ie.bodyExpansion]},changeDetection:0}),Qe})();class xe{}const Ke=(0,S.sb)(xe);let me=(()=>{class Qe extends Ke{constructor(Ge,at,_t,xt,yt,Pt,At){super(),this.panel=Ge,this._element=at,this._focusMonitor=_t,this._changeDetectorRef=xt,this._animationMode=Pt,this._parentChangeSubscription=f.w0.EMPTY;const nt=Ge.accordion?Ge.accordion._stateChanges.pipe((0,te.h)(ft=>!(!ft.hideToggle&&!ft.togglePosition))):ue.E;this.tabIndex=parseInt(At||"")||0,this._parentChangeSubscription=(0,Z.T)(Ge.opened,Ge.closed,nt,Ge._inputChanges.pipe((0,te.h)(ft=>!!(ft.hideToggle||ft.disabled||ft.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Ge.closed.pipe((0,te.h)(()=>Ge._containsFocus())).subscribe(()=>_t.focusVia(at,"program")),yt&&(this.expandedHeight=yt.expandedHeight,this.collapsedHeight=yt.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 Ge=this._isExpanded();return Ge&&this.expandedHeight?this.expandedHeight:!Ge&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Ge){switch(Ge.keyCode){case T.L_:case T.K5:(0,T.Vb)(Ge)||(Ge.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Ge))}}focus(Ge,at){Ge?this._focusMonitor.focusVia(this._element,Ge,at):this._element.nativeElement.focus(at)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Ge=>{Ge&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(Re,1),o.Y36(o.SBq),o.Y36(v.tE),o.Y36(o.sBO),o.Y36($,8),o.Y36(o.QbO,8),o.$8M("tabindex"))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Ge,at){1&Ge&&o.NdJ("click",function(){return at._toggle()})("keydown",function(xt){return at._keydown(xt)}),2&Ge&&(o.uIk("id",at.panel._headerId)("tabindex",at.tabIndex)("aria-controls",at._getPanelId())("aria-expanded",at._isExpanded())("aria-disabled",at.panel.disabled),o.Udp("height",at._getHeaderHeight()),o.ekj("mat-expanded",at._isExpanded())("mat-expansion-toggle-indicator-after","after"===at._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===at._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===at._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:V,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Ge,at){1&Ge&&(o.F$t(Y),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,z,1,1,"span",1)),2&Ge&&(o.xp6(4),o.Q6J("ngIf",at._showToggle()))},dependencies:[b.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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.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:[Ie.indicatorRotate]},changeDetection:0}),Qe})(),se=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Qe})(),Ce=(()=>{class Qe extends L{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(Ge){this._hideToggle=(0,h.Ig)(Ge)}ngAfterContentInit(){this._headers.changes.pipe((0,x.O)(this._headers)).subscribe(Ge=>{this._ownHeaders.reset(Ge.filter(at=>at.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new v.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Ge){this._keyManager.onKeydown(Ge)}_handleHeaderFocus(Ge){this._keyManager.updateActiveItem(Ge)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return Qe.\u0275fac=function(){let st;return function(at){return(st||(st=o.n5z(Qe)))(at||Qe)}}(),Qe.\u0275dir=o.lG2({type:Qe,selectors:[["mat-accordion"]],contentQueries:function(Ge,at,_t){if(1&Ge&&o.Suo(_t,me,5),2&Ge){let xt;o.iGM(xt=o.CRH())&&(at._headers=xt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Ge,at){2&Ge&&o.ekj("mat-accordion-multi",at.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o._Bn([{provide:j,useExisting:Qe}]),o.qOj]}),Qe})(),He=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({imports:[b.ez,S.BQ,B,m.eL]}),Qe})()},8659:(Ue,J,s)=>{"use strict";s.d(J,{Eo:()=>tt,G_:()=>yt,KE:()=>Pt,R9:()=>Qe,TO:()=>Ie,bx:()=>Ke,hX:()=>me,lN:()=>At});var o=s(7723),r=s(8692),h=s(4537),_=s(1379),f=s(5875),d=s(4929),w=s(8023),L=s(1860),A=s(4581),g=s(1927),B=s(3528),m=s(5598),b=s(4091),S=s(6321);const v=["connectionContainer"],H=["inputContainer"],x=["label"];function te(nt,ft){1&nt&&(h.ynx(0),h.TgZ(1,"div",14),h._UZ(2,"div",15)(3,"div",16)(4,"div",17),h.qZA(),h.TgZ(5,"div",18),h._UZ(6,"div",15)(7,"div",16)(8,"div",17),h.qZA(),h.BQk())}function Ee(nt,ft){if(1&nt){const G=h.EpF();h.TgZ(0,"div",19),h.NdJ("cdkObserveContent",function(){h.CHM(G);const ie=h.oxw();return h.KtG(ie.updateOutlineGap())}),h.Hsn(1,1),h.qZA()}if(2&nt){const G=h.oxw();h.Q6J("cdkObserveContentDisabled","outline"!=G.appearance)}}function T(nt,ft){if(1&nt&&(h.ynx(0),h.Hsn(1,2),h.TgZ(2,"span"),h._uU(3),h.qZA(),h.BQk()),2&nt){const G=h.oxw(2);h.xp6(3),h.Oqu(G._control.placeholder)}}function ue(nt,ft){1&nt&&h.Hsn(0,3,["*ngSwitchCase","true"])}function Z(nt,ft){1&nt&&(h.TgZ(0,"span",23),h._uU(1," *"),h.qZA())}function Me(nt,ft){if(1&nt){const G=h.EpF();h.TgZ(0,"label",20,21),h.NdJ("cdkObserveContent",function(){h.CHM(G);const ie=h.oxw();return h.KtG(ie.updateOutlineGap())}),h.YNc(2,T,4,1,"ng-container",12),h.YNc(3,ue,1,0,"ng-content",12),h.YNc(4,Z,2,0,"span",22),h.qZA()}if(2&nt){const G=h.oxw();h.ekj("mat-empty",G._control.empty&&!G._shouldAlwaysFloat())("mat-form-field-empty",G._control.empty&&!G._shouldAlwaysFloat())("mat-accent","accent"==G.color)("mat-warn","warn"==G.color),h.Q6J("cdkObserveContentDisabled","outline"!=G.appearance)("id",G._labelId)("ngSwitch",G._hasLabel()),h.uIk("for",G._control.id)("aria-owns",G._control.id),h.xp6(2),h.Q6J("ngSwitchCase",!1),h.xp6(1),h.Q6J("ngSwitchCase",!0),h.xp6(1),h.Q6J("ngIf",!G.hideRequiredMarker&&G._control.required&&!G._control.disabled)}}function Se(nt,ft){1&nt&&(h.TgZ(0,"div",24),h.Hsn(1,4),h.qZA())}function ve(nt,ft){if(1&nt&&(h.TgZ(0,"div",25),h._UZ(1,"span",26),h.qZA()),2&nt){const G=h.oxw();h.xp6(1),h.ekj("mat-accent","accent"==G.color)("mat-warn","warn"==G.color)}}function ye(nt,ft){if(1&nt&&(h.TgZ(0,"div"),h.Hsn(1,5),h.qZA()),2&nt){const G=h.oxw();h.Q6J("@transitionMessages",G._subscriptAnimationState)}}function De(nt,ft){if(1&nt&&(h.TgZ(0,"div",30),h._uU(1),h.qZA()),2&nt){const G=h.oxw(2);h.Q6J("id",G._hintLabelId),h.xp6(1),h.Oqu(G.hintLabel)}}function z(nt,ft){if(1&nt&&(h.TgZ(0,"div",27),h.YNc(1,De,2,2,"div",28),h.Hsn(2,6),h._UZ(3,"div",29),h.Hsn(4,7),h.qZA()),2&nt){const G=h.oxw();h.Q6J("@transitionMessages",G._subscriptAnimationState),h.xp6(1),h.Q6J("ngIf",G.hintLabel)}}const Y=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],V=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let j=0;const X=new h.OlP("MatError");let Ie=(()=>{class nt{constructor(G,U){this.id="mat-error-"+j++,G||U.nativeElement.setAttribute("aria-live","polite")}}return nt.\u0275fac=function(G){return new(G||nt)(h.$8M("aria-live"),h.Y36(h.SBq))},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(G,U){2&G&&h.uIk("id",U.id)},inputs:{id:"id"},features:[h._Bn([{provide:X,useExisting:nt}])]}),nt})();const ke={transitionMessages:(0,b.X$)("transitionMessages",[(0,b.SB)("enter",(0,b.oB)({opacity:1,transform:"translateY(0%)"})),(0,b.eR)("void => enter",[(0,b.oB)({opacity:0,transform:"translateY(-5px)"}),(0,b.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let tt=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt}),nt})(),re=0;const xe=new h.OlP("MatHint");let Ke=(()=>{class nt{constructor(){this.align="start",this.id="mat-hint-"+re++}}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(G,U){2&G&&(h.uIk("id",U.id)("align",null),h.ekj("mat-form-field-hint-end","end"===U.align))},inputs:{align:"align",id:"id"},features:[h._Bn([{provide:xe,useExisting:nt}])]}),nt})(),me=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-label"]]}),nt})(),P=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-placeholder"]]}),nt})();const se=new h.OlP("MatPrefix"),He=new h.OlP("MatSuffix");let Qe=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["","matSuffix",""]],features:[h._Bn([{provide:He,useExisting:nt}])]}),nt})(),st=0;const _t=(0,_.pj)(class{constructor(nt){this._elementRef=nt}},"primary"),xt=new h.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yt=new h.OlP("MatFormField");let Pt=(()=>{class nt extends _t{constructor(G,U,ie,oe,Te,Xe,Ze){super(G),this._changeDetectorRef=U,this._dir=ie,this._defaults=oe,this._platform=Te,this._ngZone=Xe,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new w.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+st++,this._labelId="mat-form-field-label-"+st++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Ze,this.appearance=oe?.appearance||"legacy",oe&&(this._hideRequiredMarker=Boolean(oe.hideRequiredMarker),oe.color&&(this.color=this.defaultColor=oe.color))}get appearance(){return this._appearance}set appearance(G){const U=this._appearance;this._appearance=G||this._defaults?.appearance||"legacy","outline"===this._appearance&&U!==G&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(G){this._hideRequiredMarker=(0,d.Ig)(G)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(G){this._hintLabel=G,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(G){G!==this._floatLabel&&(this._floatLabel=G||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(G){this._explicitFormFieldControl=G}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const G=this._control;G.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${G.controlType}`),G.stateChanges.pipe((0,g.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),G.ngControl&&G.ngControl.valueChanges&&G.ngControl.valueChanges.pipe((0,B.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,B.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,L.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,g.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,g.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,B.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(G){const U=this._control?this._control.ngControl:null;return U&&U[G]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,A.R)(this._label.nativeElement,"transitionend").pipe((0,m.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let G=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&G.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const U=this._hintChildren?this._hintChildren.find(oe=>"start"===oe.align):null,ie=this._hintChildren?this._hintChildren.find(oe=>"end"===oe.align):null;U?G.push(U.id):this._hintLabel&&G.push(this._hintLabelId),ie&&G.push(ie.id)}else this._errorChildren&&G.push(...this._errorChildren.map(U=>U.id));this._control.setDescribedByIds(G)}}_validateControlChild(){}updateOutlineGap(){const G=this._label?this._label.nativeElement:null,U=this._connectionContainerRef.nativeElement,ie=".mat-form-field-outline-start",oe=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!G||!G.children.length||!G.textContent.trim()){const Be=U.querySelectorAll(`${ie}, ${oe}`);for(let We=0;We0?.75*de+10:0}for(let Be=0;Be{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=h.oAB({type:nt}),nt.\u0275inj=h.cJS({imports:[r.ez,_.BQ,o.Q8,_.BQ]}),nt})()},3331:(Ue,J,s)=>{"use strict";s.d(J,{Hw:()=>re,Ps:()=>xe});var o=s(4537),r=s(1379),h=s(4929),_=s(8692),f=s(4945),d=s(3787),w=s(4967),L=s(4813),A=s(8168),g=s(7969),B=s(3568),m=s(5490),b=s(815),S=s(5598),v=s(5732),H=s(5998);const x=["*"];let te;function T(Ke){return function Ee(){if(void 0===te&&(te=null,typeof window<"u")){const Ke=window;void 0!==Ke.trustedTypes&&(te=Ke.trustedTypes.createPolicy("angular#components",{createHTML:me=>me}))}return te}()?.createHTML(Ke)||Ke}function ue(Ke){return Error(`Unable to find icon with the name "${Ke}"`)}function Me(Ke){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ke}".`)}function Se(Ke){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ke}".`)}class ve{constructor(me,P,se){this.url=me,this.svgText=P,this.options=se}}let ye=(()=>{class Ke{constructor(P,se,Ce,He){this._httpClient=P,this._sanitizer=se,this._errorHandler=He,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons"],this._document=Ce}addSvgIcon(P,se,Ce){return this.addSvgIconInNamespace("",P,se,Ce)}addSvgIconLiteral(P,se,Ce){return this.addSvgIconLiteralInNamespace("",P,se,Ce)}addSvgIconInNamespace(P,se,Ce,He){return this._addSvgIconConfig(P,se,new ve(Ce,null,He))}addSvgIconResolver(P){return this._resolvers.push(P),this}addSvgIconLiteralInNamespace(P,se,Ce,He){const Qe=this._sanitizer.sanitize(o.q3G.HTML,Ce);if(!Qe)throw Se(Ce);const st=T(Qe);return this._addSvgIconConfig(P,se,new ve("",st,He))}addSvgIconSet(P,se){return this.addSvgIconSetInNamespace("",P,se)}addSvgIconSetLiteral(P,se){return this.addSvgIconSetLiteralInNamespace("",P,se)}addSvgIconSetInNamespace(P,se,Ce){return this._addSvgIconSetConfig(P,new ve(se,null,Ce))}addSvgIconSetLiteralInNamespace(P,se,Ce){const He=this._sanitizer.sanitize(o.q3G.HTML,se);if(!He)throw Se(se);const Qe=T(He);return this._addSvgIconSetConfig(P,new ve("",Qe,Ce))}registerFontClassAlias(P,se=P){return this._fontCssClassesByAlias.set(P,se),this}classNameForFontAlias(P){return this._fontCssClassesByAlias.get(P)||P}setDefaultFontSetClass(...P){return this._defaultFontSetClass=P,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(P){const se=this._sanitizer.sanitize(o.q3G.RESOURCE_URL,P);if(!se)throw Me(P);const Ce=this._cachedIconsByUrl.get(se);return Ce?(0,f.of)(Y(Ce)):this._loadSvgIconFromConfig(new ve(P,null)).pipe((0,A.b)(He=>this._cachedIconsByUrl.set(se,He)),(0,g.U)(He=>Y(He)))}getNamedSvgIcon(P,se=""){const Ce=V(se,P);let He=this._svgIconConfigs.get(Ce);if(He)return this._getSvgFromConfig(He);if(He=this._getIconConfigFromResolvers(se,P),He)return this._svgIconConfigs.set(Ce,He),this._getSvgFromConfig(He);const Qe=this._iconSetConfigs.get(se);return Qe?this._getSvgFromIconSetConfigs(P,Qe):(0,d._)(ue(Ce))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(P){return P.svgText?(0,f.of)(Y(this._svgElementFromConfig(P))):this._loadSvgIconFromConfig(P).pipe((0,g.U)(se=>Y(se)))}_getSvgFromIconSetConfigs(P,se){const Ce=this._extractIconWithNameFromAnySet(P,se);if(Ce)return(0,f.of)(Ce);const He=se.filter(Qe=>!Qe.svgText).map(Qe=>this._loadSvgIconSetFromConfig(Qe).pipe((0,B.K)(st=>{const at=`Loading icon set URL: ${this._sanitizer.sanitize(o.q3G.RESOURCE_URL,Qe.url)} failed: ${st.message}`;return this._errorHandler.handleError(new Error(at)),(0,f.of)(null)})));return(0,w.D)(He).pipe((0,g.U)(()=>{const Qe=this._extractIconWithNameFromAnySet(P,se);if(!Qe)throw ue(P);return Qe}))}_extractIconWithNameFromAnySet(P,se){for(let Ce=se.length-1;Ce>=0;Ce--){const He=se[Ce];if(He.svgText&&He.svgText.toString().indexOf(P)>-1){const Qe=this._svgElementFromConfig(He),st=this._extractSvgIconFromSet(Qe,P,He.options);if(st)return st}}return null}_loadSvgIconFromConfig(P){return this._fetchIcon(P).pipe((0,A.b)(se=>P.svgText=se),(0,g.U)(()=>this._svgElementFromConfig(P)))}_loadSvgIconSetFromConfig(P){return P.svgText?(0,f.of)(null):this._fetchIcon(P).pipe((0,A.b)(se=>P.svgText=se))}_extractSvgIconFromSet(P,se,Ce){const He=P.querySelector(`[id="${se}"]`);if(!He)return null;const Qe=He.cloneNode(!0);if(Qe.removeAttribute("id"),"svg"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(Qe,Ce);if("symbol"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Qe),Ce);const st=this._svgElementFromString(T(""));return st.appendChild(Qe),this._setSvgAttributes(st,Ce)}_svgElementFromString(P){const se=this._document.createElement("DIV");se.innerHTML=P;const Ce=se.querySelector("svg");if(!Ce)throw Error(" tag not found");return Ce}_toSvgElement(P){const se=this._svgElementFromString(T("")),Ce=P.attributes;for(let He=0;HeT(at)),(0,m.x)(()=>this._inProgressUrlFetches.delete(Qe)),(0,b.B)());return this._inProgressUrlFetches.set(Qe,Ge),Ge}_addSvgIconConfig(P,se,Ce){return this._svgIconConfigs.set(V(P,se),Ce),this}_addSvgIconSetConfig(P,se){const Ce=this._iconSetConfigs.get(P);return Ce?Ce.push(se):this._iconSetConfigs.set(P,[se]),this}_svgElementFromConfig(P){if(!P.svgElement){const se=this._svgElementFromString(P.svgText);this._setSvgAttributes(se,P.options),P.svgElement=se}return P.svgElement}_getIconConfigFromResolvers(P,se){for(let Ce=0;Ceme?me.pathname+me.search:""}}}),lt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],$=lt.map(Ke=>`[${Ke}]`).join(", "),Re=/^url\(['"]?#(.*?)['"]?\)$/;let re=(()=>{class Ke extends X{constructor(P,se,Ce,He,Qe,st){super(P),this._iconRegistry=se,this._location=He,this._errorHandler=Qe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=L.w0.EMPTY,st&&(st.color&&(this.color=this.defaultColor=st.color),st.fontSet&&(this.fontSet=st.fontSet)),Ce||P.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(P){this._inline=(0,h.Ig)(P)}get svgIcon(){return this._svgIcon}set svgIcon(P){P!==this._svgIcon&&(P?this._updateSvgIcon(P):this._svgIcon&&this._clearSvgElement(),this._svgIcon=P)}get fontSet(){return this._fontSet}set fontSet(P){const se=this._cleanupFontValue(P);se!==this._fontSet&&(this._fontSet=se,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(P){const se=this._cleanupFontValue(P);se!==this._fontIcon&&(this._fontIcon=se,this._updateFontIconClasses())}_splitIconName(P){if(!P)return["",""];const se=P.split(":");switch(se.length){case 1:return["",se[0]];case 2:return se;default:throw Error(`Invalid icon name: "${P}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const P=this._elementsWithExternalReferences;if(P&&P.size){const se=this._location.getPathname();se!==this._previousPath&&(this._previousPath=se,this._prependPathToReferences(se))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(P){this._clearSvgElement();const se=this._location.getPathname();this._previousPath=se,this._cacheChildrenWithExternalReferences(P),this._prependPathToReferences(se),this._elementRef.nativeElement.appendChild(P)}_clearSvgElement(){const P=this._elementRef.nativeElement;let se=P.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();se--;){const Ce=P.childNodes[se];(1!==Ce.nodeType||"svg"===Ce.nodeName.toLowerCase())&&Ce.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const P=this._elementRef.nativeElement,se=(this.fontSet?[this._iconRegistry.classNameForFontAlias(this.fontSet)]:this._iconRegistry.getDefaultFontSetClass()).filter(Ce=>Ce.length>0);this._previousFontSetClass.forEach(Ce=>P.classList.remove(Ce)),se.forEach(Ce=>P.classList.add(Ce)),this._previousFontSetClass=se,this.fontIcon!==this._previousFontIconClass&&(this._previousFontIconClass&&P.classList.remove(this._previousFontIconClass),this.fontIcon&&P.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(P){return"string"==typeof P?P.trim().split(" ")[0]:P}_prependPathToReferences(P){const se=this._elementsWithExternalReferences;se&&se.forEach((Ce,He)=>{Ce.forEach(Qe=>{He.setAttribute(Qe.name,`url('${P}#${Qe.value}')`)})})}_cacheChildrenWithExternalReferences(P){const se=P.querySelectorAll($),Ce=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let He=0;He{const st=se[He],Ge=st.getAttribute(Qe),at=Ge?Ge.match(Re):null;if(at){let _t=Ce.get(st);_t||(_t=[],Ce.set(st,_t)),_t.push({name:Qe,value:at[1]})}})}_updateSvgIcon(P){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),P){const[se,Ce]=this._splitIconName(P);se&&(this._svgNamespace=se),Ce&&(this._svgName=Ce),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ce,se).pipe((0,S.q)(1)).subscribe(He=>this._setSvgElement(He),He=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${se}:${Ce}! ${He.message}`))})}}}return Ke.\u0275fac=function(P){return new(P||Ke)(o.Y36(o.SBq),o.Y36(ye),o.$8M("aria-hidden"),o.Y36(ke),o.Y36(o.qLn),o.Y36(Ie,8))},Ke.\u0275cmp=o.Xpm({type:Ke,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(P,se){2&P&&(o.uIk("data-mat-icon-type",se._usingFontIcon()?"font":"svg")("data-mat-icon-name",se._svgName||se.fontIcon)("data-mat-icon-namespace",se._svgNamespace||se.fontSet),o.ekj("mat-icon-inline",se.inline)("mat-icon-no-color","primary"!==se.color&&"accent"!==se.color&&"warn"!==se.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[o.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(P,se){1&P&&(o.F$t(),o.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Ke})(),xe=(()=>{class Ke{}return Ke.\u0275fac=function(P){return new(P||Ke)},Ke.\u0275mod=o.oAB({type:Ke}),Ke.\u0275inj=o.cJS({imports:[r.BQ,r.BQ]}),Ke})()},7406:(Ue,J,s)=>{"use strict";s.d(J,{Jk:()=>g,Nt:()=>S,c:()=>v});var o=s(4929),r=s(6321),h=s(7025),_=s(4537),f=s(92),d=s(1379),w=s(8659),L=s(8023);const g=new _.OlP("MAT_INPUT_VALUE_ACCESSOR"),B=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let m=0;const b=(0,d.FD)(class{constructor(H,x,te,Ee){this._defaultErrorStateMatcher=H,this._parentForm=x,this._parentFormGroup=te,this.ngControl=Ee,this.stateChanges=new L.x}});let S=(()=>{class H extends b{constructor(te,Ee,T,ue,Z,Me,Se,ve,ye,De){super(Me,ue,Z,T),this._elementRef=te,this._platform=Ee,this._autofillMonitor=ve,this._formField=De,this._uid="mat-input-"+m++,this.focused=!1,this.stateChanges=new L.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(V=>(0,r.qK)().has(V)),this._iOSKeyupListener=V=>{const j=V.target;!j.value&&0===j.selectionStart&&0===j.selectionEnd&&(j.setSelectionRange(1,1),j.setSelectionRange(0,0))};const z=this._elementRef.nativeElement,Y=z.nodeName.toLowerCase();this._inputValueAccessor=Se||z,this._previousNativeValue=this.value,this.id=this.id,Ee.IOS&&ye.runOutsideAngular(()=>{te.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Y,this._isTextarea="textarea"===Y,this._isInFormField=!!De,this._isNativeSelect&&(this.controlType=z.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(te){this._disabled=(0,o.Ig)(te),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(te){this._id=te||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(f.kI.required)??!1}set required(te){this._required=(0,o.Ig)(te)}get type(){return this._type}set type(te){this._type=te||"text",this._validateType(),!this._isTextarea&&(0,r.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(te){te!==this.value&&(this._inputValueAccessor.value=te,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(te){this._readonly=(0,o.Ig)(te)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(te=>{this.autofilled=te.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(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(te){this._elementRef.nativeElement.focus(te)}_focusChanged(te){te!==this.focused&&(this.focused=te,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const te=this._formField,Ee=te&&"legacy"===te.appearance&&!te._hasLabel?.()?null:this.placeholder;if(Ee!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=Ee,Ee?T.setAttribute("placeholder",Ee):T.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const te=this._elementRef.nativeElement.value;this._previousNativeValue!==te&&(this._previousNativeValue=te,this.stateChanges.next())}_validateType(){B.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let te=this._elementRef.nativeElement.validity;return te&&te.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const te=this._elementRef.nativeElement,Ee=te.options[0];return this.focused||te.multiple||!this.empty||!!(te.selectedIndex>-1&&Ee&&Ee.label)}return this.focused||!this.empty}setDescribedByIds(te){te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const te=this._elementRef.nativeElement;return this._isNativeSelect&&(te.multiple||te.size>1)}}return H.\u0275fac=function(te){return new(te||H)(_.Y36(_.SBq),_.Y36(r.t4),_.Y36(f.a5,10),_.Y36(f.F,8),_.Y36(f.sg,8),_.Y36(d.rD),_.Y36(g,10),_.Y36(h.Lq),_.Y36(_.R0b),_.Y36(w.G_,8))},H.\u0275dir=_.lG2({type:H,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(te,Ee){1&te&&_.NdJ("focus",function(){return Ee._focusChanged(!0)})("blur",function(){return Ee._focusChanged(!1)})("input",function(){return Ee._onInput()}),2&te&&(_.Ikx("disabled",Ee.disabled)("required",Ee.required),_.uIk("id",Ee.id)("data-placeholder",Ee.placeholder)("name",Ee.name||null)("readonly",Ee.readonly&&!Ee._isNativeSelect||null)("aria-invalid",Ee.empty&&Ee.required?null:Ee.errorState)("aria-required",Ee.required),_.ekj("mat-input-server",Ee._isServer)("mat-native-select-inline",Ee._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:[_._Bn([{provide:w.Eo,useExisting:H}]),_.qOj,_.TTD]}),H})(),v=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=_.oAB({type:H}),H.\u0275inj=_.cJS({providers:[d.rD],imports:[h.Ky,w.lN,d.BQ,h.Ky,w.lN]}),H})()},4639:(Ue,J,s)=>{"use strict";s.d(J,{Rr:()=>H,rP:()=>T});var o=s(7723),r=s(4537),h=s(1379),_=s(8954),f=s(4929),d=s(92);const w=["input"],L=function(ue){return{enterDuration:ue}},A=["*"],g=new r.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let B=0;const m={provide:d.JU,useExisting:(0,r.Gpc)(()=>H),multi:!0};class b{constructor(Z,Me){this.source=Z,this.checked=Me}}const S=(0,h.sb)((0,h.pj)((0,h.Kr)((0,h.Id)(class{constructor(ue){this._elementRef=ue}}))));let v=(()=>{class ue extends S{constructor(Me,Se,ve,ye,De,z,Y){super(Me),this._focusMonitor=Se,this._changeDetectorRef=ve,this.defaults=De,this._onChange=V=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.vpe,this.toggleChange=new r.vpe,this.tabIndex=parseInt(ye)||0,this.color=this.defaultColor=De.color||"accent",this._noopAnimations="NoopAnimations"===z,this.id=this._uniqueId=`${Y}${++B}`}get required(){return this._required}set required(Me){this._required=(0,f.Ig)(Me)}get checked(){return this._checked}set checked(Me){this._checked=(0,f.Ig)(Me),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Me=>{"keyboard"===Me||"program"===Me?this._focused=!0:Me||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Me){this.checked=!!Me}registerOnChange(Me){this._onChange=Me}registerOnTouched(Me){this._onTouched=Me}setDisabledState(Me){this.disabled=Me,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 ue.\u0275fac=function(Me){r.$Z()},ue.\u0275dir=r.lG2({type:ue,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:[r.qOj]}),ue})(),H=(()=>{class ue extends v{constructor(Me,Se,ve,ye,De,z){super(Me,Se,ve,ye,De,z,"mat-slide-toggle-")}_createChangeEvent(Me){return new b(this,Me)}_onChangeEvent(Me){Me.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Me){Me.stopPropagation()}focus(Me,Se){Se?this._focusMonitor.focusVia(this._inputElement,Se,Me):this._inputElement.nativeElement.focus(Me)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return ue.\u0275fac=function(Me){return new(Me||ue)(r.Y36(r.SBq),r.Y36(_.tE),r.Y36(r.sBO),r.$8M("tabindex"),r.Y36(g),r.Y36(r.QbO,8))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["mat-slide-toggle"]],viewQuery:function(Me,Se){if(1&Me&&r.Gf(w,5),2&Me){let ve;r.iGM(ve=r.CRH())&&(Se._inputElement=ve.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Me,Se){2&Me&&(r.Ikx("id",Se.id),r.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),r.ekj("mat-checked",Se.checked)("mat-disabled",Se.disabled)("mat-slide-toggle-label-before","before"==Se.labelPosition)("_mat-animation-noopable",Se._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[r._Bn([m]),r.qOj],ngContentSelectors:A,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["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"],[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(Me,Se){if(1&Me&&(r.F$t(),r.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),r.NdJ("change",function(ye){return Se._onChangeEvent(ye)})("click",function(ye){return Se._onInputClick(ye)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.TgZ(7,"span",7),r._UZ(8,"span",8),r.qZA()()(),r.TgZ(9,"span",9,10),r.NdJ("cdkObserveContent",function(){return Se._onLabelTextChange()}),r.TgZ(11,"span",11),r._uU(12,"\xa0"),r.qZA(),r.Hsn(13),r.qZA()()),2&Me){const ve=r.MAs(1),ye=r.MAs(10);r.uIk("for",Se.inputId),r.xp6(2),r.ekj("mat-slide-toggle-bar-no-side-margin",!ye.textContent||!ye.textContent.trim()),r.xp6(1),r.Q6J("id",Se.inputId)("required",Se.required)("tabIndex",Se.tabIndex)("checked",Se.checked)("disabled",Se.disabled),r.uIk("name",Se.name)("aria-checked",Se.checked)("aria-label",Se.ariaLabel)("aria-labelledby",Se.ariaLabelledby)("aria-describedby",Se.ariaDescribedby),r.xp6(4),r.Q6J("matRippleTrigger",ve)("matRippleDisabled",Se.disableRipple||Se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.VKq(18,L,Se._noopAnimations?0:150))}},dependencies:[h.wG,o.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.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;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%;display:block}.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}"],encapsulation:2,changeDetection:0}),ue})(),Ee=(()=>{class ue{}return ue.\u0275fac=function(Me){return new(Me||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({}),ue})(),T=(()=>{class ue{}return ue.\u0275fac=function(Me){return new(Me||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({imports:[Ee,h.si,h.BQ,o.Q8,Ee,h.BQ]}),ue})()},7666:(Ue,J,s)=>{"use strict";s.d(J,{ZX:()=>Se,ux:()=>z});var o=s(8232),r=s(8632),h=s(8692),_=s(4537),f=s(1379),d=s(9638),w=s(8023),L=s(6321),A=s(5598),g=s(3528),B=s(4091),m=s(8954),b=s(1444);function S(Y,V){if(1&Y){const j=_.EpF();_.TgZ(0,"div",2)(1,"button",3),_.NdJ("click",function(){_.CHM(j);const Ie=_.oxw();return _.KtG(Ie.action())}),_._uU(2),_.qZA()()}if(2&Y){const j=_.oxw();_.xp6(2),_.Oqu(j.data.action)}}function v(Y,V){}const H=new _.OlP("MatSnackBarData");class x{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const te=Math.pow(2,31)-1;class Ee{constructor(V,j){this._overlayRef=j,this._afterDismissed=new w.x,this._afterOpened=new w.x,this._onAction=new w.x,this._dismissedByAction=!1,this.containerInstance=V,V._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(V){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(V,te))}_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}}let T=(()=>{class Y{constructor(j,X){this.snackBarRef=j,this.data=X}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return Y.\u0275fac=function(j){return new(j||Y)(_.Y36(Ee),_.Y36(H))},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(j,X){1&j&&(_.TgZ(0,"span",0),_._uU(1),_.qZA(),_.YNc(2,S,3,1,"div",1)),2&j&&(_.xp6(1),_.Oqu(X.data.message),_.xp6(1),_.Q6J("ngIf",X.hasAction))},dependencies:[h.O5,d.lW],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}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),Y})();const ue={snackBarState:(0,B.X$)("state",[(0,B.SB)("void, hidden",(0,B.oB)({transform:"scale(0.8)",opacity:0})),(0,B.SB)("visible",(0,B.oB)({transform:"scale(1)",opacity:1})),(0,B.eR)("* => visible",(0,B.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,B.eR)("* => void, * => hidden",(0,B.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,B.oB)({opacity:0})))])};let Z=(()=>{class Y extends r.en{constructor(j,X,Ie,ke,tt){super(),this._ngZone=j,this._elementRef=X,this._changeDetectorRef=Ie,this._platform=ke,this.snackBarConfig=tt,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new w.x,this._onExit=new w.x,this._onEnter=new w.x,this._animationState="void",this.attachDomPortal=lt=>{this._assertNotAttached();const $=this._portalOutlet.attachDomPortal(lt);return this._afterPortalAttached(),$},this._live="assertive"!==tt.politeness||tt.announcementMessage?"off"===tt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(j){this._assertNotAttached();const X=this._portalOutlet.attachComponentPortal(j);return this._afterPortalAttached(),X}attachTemplatePortal(j){this._assertNotAttached();const X=this._portalOutlet.attachTemplatePortal(j);return this._afterPortalAttached(),X}onAnimationEnd(j){const{fromState:X,toState:Ie}=j;if(("void"===Ie&&"void"!==X||"hidden"===Ie)&&this._completeExit(),"visible"===Ie){const ke=this._onEnter;this._ngZone.run(()=>{ke.next(),ke.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((0,A.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const j=this._elementRef.nativeElement,X=this.snackBarConfig.panelClass;X&&(Array.isArray(X)?X.forEach(Ie=>j.classList.add(Ie)):j.classList.add(X))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const j=this._elementRef.nativeElement.querySelector("[aria-hidden]"),X=this._elementRef.nativeElement.querySelector("[aria-live]");if(j&&X){let Ie=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&j.contains(document.activeElement)&&(Ie=document.activeElement),j.removeAttribute("aria-hidden"),X.appendChild(j),Ie?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Y.\u0275fac=function(j){return new(j||Y)(_.Y36(_.R0b),_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(L.t4),_.Y36(x))},Y.\u0275dir=_.lG2({type:Y,viewQuery:function(j,X){if(1&j&&_.Gf(r.Pl,7),2&j){let Ie;_.iGM(Ie=_.CRH())&&(X._portalOutlet=Ie.first)}},features:[_.qOj]}),Y})(),Me=(()=>{class Y extends Z{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return Y.\u0275fac=function(){let V;return function(X){return(V||(V=_.n5z(Y)))(X||Y)}}(),Y.\u0275cmp=_.Xpm({type:Y,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(j,X){1&j&&_.WFA("@state.done",function(ke){return X.onAnimationEnd(ke)}),2&j&&_.d8E("@state",X._animationState)},features:[_.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(j,X){1&j&&(_.TgZ(0,"div",0),_.YNc(1,v,0,0,"ng-template",1),_.qZA(),_._UZ(2,"div")),2&j&&(_.xp6(2),_.uIk("aria-live",X._live)("role",X._role))},dependencies:[r.Pl],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%}"],encapsulation:2,data:{animation:[ue.snackBarState]}}),Y})(),Se=(()=>{class Y{}return Y.\u0275fac=function(j){return new(j||Y)},Y.\u0275mod=_.oAB({type:Y}),Y.\u0275inj=_.cJS({imports:[o.U8,r.eL,h.ez,d.ot,f.BQ,f.BQ]}),Y})();const ve=new _.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function ye(){return new x}});let De=(()=>{class Y{constructor(j,X,Ie,ke,tt,lt){this._overlay=j,this._live=X,this._injector=Ie,this._breakpointObserver=ke,this._parentSnackBar=tt,this._defaultConfig=lt,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const j=this._parentSnackBar;return j?j._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(j){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=j:this._snackBarRefAtThisLevel=j}openFromComponent(j,X){return this._attach(j,X)}openFromTemplate(j,X){return this._attach(j,X)}open(j,X="",Ie){const ke={...this._defaultConfig,...Ie};return ke.data={message:j,action:X},ke.announcementMessage===j&&(ke.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ke)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(j,X){const ke=_.zs3.create({parent:X&&X.viewContainerRef&&X.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:X}]}),tt=new r.C5(this.snackBarContainerComponent,X.viewContainerRef,ke),lt=j.attach(tt);return lt.instance.snackBarConfig=X,lt.instance}_attach(j,X){const Ie={...new x,...this._defaultConfig,...X},ke=this._createOverlay(Ie),tt=this._attachSnackBarContainer(ke,Ie),lt=new Ee(tt,ke);if(j instanceof _.Rgc){const $=new r.UE(j,null,{$implicit:Ie.data,snackBarRef:lt});lt.instance=tt.attachTemplatePortal($)}else{const $=this._createInjector(Ie,lt),Re=new r.C5(j,void 0,$),re=tt.attachComponentPortal(Re);lt.instance=re.instance}return this._breakpointObserver.observe(b.u3.HandsetPortrait).pipe((0,g.R)(ke.detachments())).subscribe($=>{ke.overlayElement.classList.toggle(this.handsetCssClass,$.matches)}),Ie.announcementMessage&&tt._onAnnounce.subscribe(()=>{this._live.announce(Ie.announcementMessage,Ie.politeness)}),this._animateSnackBar(lt,Ie),this._openedSnackBarRef=lt,this._openedSnackBarRef}_animateSnackBar(j,X){j.afterDismissed().subscribe(()=>{this._openedSnackBarRef==j&&(this._openedSnackBarRef=null),X.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{j.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):j.containerInstance.enter(),X.duration&&X.duration>0&&j.afterOpened().subscribe(()=>j._dismissAfter(X.duration))}_createOverlay(j){const X=new o.X_;X.direction=j.direction;let Ie=this._overlay.position().global();const ke="rtl"===j.direction,tt="left"===j.horizontalPosition||"start"===j.horizontalPosition&&!ke||"end"===j.horizontalPosition&&ke,lt=!tt&&"center"!==j.horizontalPosition;return tt?Ie.left("0"):lt?Ie.right("0"):Ie.centerHorizontally(),"top"===j.verticalPosition?Ie.top("0"):Ie.bottom("0"),X.positionStrategy=Ie,this._overlay.create(X)}_createInjector(j,X){return _.zs3.create({parent:j&&j.viewContainerRef&&j.viewContainerRef.injector||this._injector,providers:[{provide:Ee,useValue:X},{provide:H,useValue:j.data}]})}}return Y.\u0275fac=function(j){return new(j||Y)(_.LFG(o.aV),_.LFG(m.Kd),_.LFG(_.zs3),_.LFG(b.Yg),_.LFG(Y,12),_.LFG(ve))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),z=(()=>{class Y extends De{constructor(j,X,Ie,ke,tt,lt){super(j,X,Ie,ke,tt,lt),this.simpleSnackBarComponent=T,this.snackBarContainerComponent=Me,this.handsetCssClass="mat-snack-bar-handset"}}return Y.\u0275fac=function(j){return new(j||Y)(_.LFG(o.aV),_.LFG(m.Kd),_.LFG(_.zs3),_.LFG(b.Yg),_.LFG(Y,12),_.LFG(ve))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:Se}),Y})()},2940:(Ue,J,s)=>{"use strict";s.d(J,{AV:()=>Ie,gM:()=>V});var o=s(8232),r=s(8954),h=s(8692),_=s(4537),f=s(1379),d=s(5531),w=s(5875),L=s(4929),A=s(5436),g=s(1444),B=s(6321),m=s(8632),b=s(8023),S=s(3528),v=s(5598);s(4091);const x=["tooltip"],T="tooltip-panel",ue=(0,B.i$)({passive:!0}),Se=new _.OlP("mat-tooltip-scroll-strategy"),ye={provide:Se,deps:[o.aV],useFactory:function ve(tt){return()=>tt.scrollStrategies.reposition({scrollThrottle:20})}},De=new _.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function z(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Y=(()=>{class tt{constructor($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st){this._overlay=$,this._elementRef=Re,this._scrollDispatcher=re,this._viewContainerRef=xe,this._ngZone=Ke,this._platform=me,this._ariaDescriber=P,this._focusMonitor=se,this._dir=He,this._defaultOptions=Qe,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 b.x,this._scrollStrategy=Ce,this._document=st,Qe&&(Qe.position&&(this.position=Qe.position),Qe.touchGestures&&(this.touchGestures=Qe.touchGestures)),He.change.pipe((0,S.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position($){$!==this._position&&(this._position=$,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled($){this._disabled=(0,L.Ig)($),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay($){this._showDelay=(0,L.su)($)}get hideDelay(){return this._hideDelay}set hideDelay($){this._hideDelay=(0,L.su)($),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message($){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=$?String($).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($){this._tooltipClass=$,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,S.R)(this._destroyed)).subscribe($=>{$?"keyboard"===$&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const $=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Re,re])=>{$.removeEventListener(Re,re,ue)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription($,this.message,"tooltip"),this._focusMonitor.stopMonitoring($)}show($=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const Re=this._createOverlay();this._detach(),this._portal=this._portal||new m.C5(this._tooltipComponent,this._viewContainerRef);const re=this._tooltipInstance=Re.attach(this._portal).instance;re._triggerElement=this._elementRef.nativeElement,re._mouseLeaveHideDelay=this._hideDelay,re.afterHidden().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),re.show($)}hide($=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const $=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Re=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($);return Re.positionChanges.pipe((0,S.R)(this._destroyed)).subscribe(re=>{this._updateCurrentPositionClass(re.connectionPair),this._tooltipInstance&&re.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Re,panelClass:`${this._cssClassPrefix}-${T}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,S.R)(this._destroyed)).subscribe(re=>{this._isTooltipVisible()&&re.keyCode===A.hY&&!(0,A.Vb)(re)&&(re.preventDefault(),re.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.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($){const Re=$.getConfig().positionStrategy,re=this._getOrigin(),xe=this._getOverlayPosition();Re.withPositions([this._addOffset({...re.main,...xe.main}),this._addOffset({...re.fallback,...xe.fallback})])}_addOffset($){return $}_getOrigin(){const $=!this._dir||"ltr"==this._dir.value,Re=this.position;let re;"above"==Re||"below"==Re?re={originX:"center",originY:"above"==Re?"top":"bottom"}:"before"==Re||"left"==Re&&$||"right"==Re&&!$?re={originX:"start",originY:"center"}:("after"==Re||"right"==Re&&$||"left"==Re&&!$)&&(re={originX:"end",originY:"center"});const{x:xe,y:Ke}=this._invertPosition(re.originX,re.originY);return{main:re,fallback:{originX:xe,originY:Ke}}}_getOverlayPosition(){const $=!this._dir||"ltr"==this._dir.value,Re=this.position;let re;"above"==Re?re={overlayX:"center",overlayY:"bottom"}:"below"==Re?re={overlayX:"center",overlayY:"top"}:"before"==Re||"left"==Re&&$||"right"==Re&&!$?re={overlayX:"end",overlayY:"center"}:("after"==Re||"right"==Re&&$||"left"==Re&&!$)&&(re={overlayX:"start",overlayY:"center"});const{x:xe,y:Ke}=this._invertPosition(re.overlayX,re.overlayY);return{main:re,fallback:{overlayX:xe,overlayY:Ke}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.q)(1),(0,S.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass($){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=$,this._tooltipInstance._markForCheck())}_invertPosition($,Re){return"above"===this.position||"below"===this.position?"top"===Re?Re="bottom":"bottom"===Re&&(Re="top"):"end"===$?$="start":"start"===$&&($="end"),{x:$,y:Re}}_updateCurrentPositionClass($){const{overlayY:Re,originX:re,originY:xe}=$;let Ke;if(Ke="center"===Re?this._dir&&"rtl"===this._dir.value?"end"===re?"left":"right":"start"===re?"left":"right":"bottom"===Re&&"top"===xe?"above":"below",Ke!==this._currentPosition){const me=this._overlayRef;if(me){const P=`${this._cssClassPrefix}-${T}-`;me.removePanelClass(P+this._currentPosition),me.addPanelClass(P+Ke)}this._currentPosition=Ke}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $=[];if(this._platformSupportsMouseEvents())$.push(["mouseleave",Re=>{const re=Re.relatedTarget;(!re||!this._overlayRef?.overlayElement.contains(re))&&this.hide()}],["wheel",Re=>this._wheelListener(Re)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Re=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$.push(["touchend",Re],["touchcancel",Re])}this._addListeners($),this._passiveListeners.push(...$)}_addListeners($){$.forEach(([Re,re])=>{this._elementRef.nativeElement.addEventListener(Re,re,ue)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($){if(this._isTooltipVisible()){const Re=this._document.elementFromPoint($.clientX,$.clientY),re=this._elementRef.nativeElement;Re!==re&&!re.contains(Re)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $=this.touchGestures;if("off"!==$){const Re=this._elementRef.nativeElement,re=Re.style;("on"===$||"INPUT"!==Re.nodeName&&"TEXTAREA"!==Re.nodeName)&&(re.userSelect=re.msUserSelect=re.webkitUserSelect=re.MozUserSelect="none"),("on"===$||!Re.draggable)&&(re.webkitUserDrag="none"),re.touchAction="none",re.webkitTapHighlightColor="transparent"}}}return tt.\u0275fac=function($){_.$Z()},tt.\u0275dir=_.lG2({type:tt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),tt})(),V=(()=>{class tt extends Y{constructor($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st){super($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st),this._tooltipComponent=X}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(o.aV),_.Y36(_.SBq),_.Y36(d.mF),_.Y36(_.s_b),_.Y36(_.R0b),_.Y36(B.t4),_.Y36(r.$s),_.Y36(r.tE),_.Y36(Se),_.Y36(w.Is,8),_.Y36(De,8),_.Y36(h.K0))},tt.\u0275dir=_.lG2({type:tt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[_.qOj]}),tt})(),j=(()=>{class tt{constructor($,Re){this._changeDetectorRef=$,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===Re}show($){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},$)}hide($){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},$)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:$}){(!$||!this._triggerElement.contains($))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:$}){($===this._showAnimation||$===this._hideAnimation)&&this._finalizeAnimation($===this._showAnimation)}_finalizeAnimation($){$?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility($){const Re=this._tooltip.nativeElement,re=this._showAnimation,xe=this._hideAnimation;if(Re.classList.remove($?xe:re),Re.classList.add($?re:xe),this._isVisible=$,$&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ke=getComputedStyle(Re);("0s"===Ke.getPropertyValue("animation-duration")||"none"===Ke.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}$&&this._onShow(),this._animationsDisabled&&(Re.classList.add("_mat-animation-noopable"),this._finalizeAnimation($))}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(_.sBO),_.Y36(_.QbO,8))},tt.\u0275dir=_.lG2({type:tt}),tt})(),X=(()=>{class tt extends j{constructor($,Re,re){super($,re),this._breakpointObserver=Re,this._isHandset=this._breakpointObserver.observe(g.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(_.sBO),_.Y36(g.Yg),_.Y36(_.QbO,8))},tt.\u0275cmp=_.Xpm({type:tt,selectors:[["mat-tooltip-component"]],viewQuery:function($,Re){if(1&$&&_.Gf(x,7),2&$){let re;_.iGM(re=_.CRH())&&(Re._tooltip=re.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($,Re){1&$&&_.NdJ("mouseleave",function(xe){return Re._handleMouseLeave(xe)}),2&$&&_.Udp("zoom",Re.isVisible()?1:null)},features:[_.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function($,Re){if(1&$&&(_.TgZ(0,"div",0,1),_.NdJ("animationend",function(xe){return Re._handleAnimationEnd(xe)}),_.ALo(2,"async"),_._uU(3),_.qZA()),2&$){let re;_.ekj("mat-tooltip-handset",null==(re=_.lcZ(2,4,Re._isHandset))?null:re.matches),_.Q6J("ngClass",Re.tooltipClass),_.xp6(3),_.Oqu(Re.message)}},dependencies:[h.mk,h.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),tt})(),Ie=(()=>{class tt{}return tt.\u0275fac=function($){return new($||tt)},tt.\u0275mod=_.oAB({type:tt}),tt.\u0275inj=_.cJS({providers:[ye],imports:[r.rt,h.ez,o.U8,f.BQ,f.BQ,d.ZD]}),tt})()},5998:(Ue,J,s)=>{"use strict";s.d(J,{Dx:()=>Te,H7:()=>Ut,b2:()=>ft,h_:()=>U,q6:()=>yt,se:()=>j});var o=s(8692),r=s(4537);class h extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class _ extends h{static makeCurrent(){(0,o.HT)(new _)}onAndCancel(Pe,I,O){return Pe.addEventListener(I,O,!1),()=>{Pe.removeEventListener(I,O,!1)}}dispatchEvent(Pe,I){Pe.dispatchEvent(I)}remove(Pe){Pe.parentNode&&Pe.parentNode.removeChild(Pe)}createElement(Pe,I){return(I=I||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,I){return"window"===I?window:"document"===I?Pe:"body"===I?Pe.body:null}getBaseHref(Pe){const I=function d(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==I?null:function L(ut){w=w||document.createElement("a"),w.setAttribute("href",ut);const Pe=w.pathname;return"/"===Pe.charAt(0)?Pe:`/${Pe}`}(I)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(Pe){return(0,o.Mx)(document.cookie,Pe)}}let w,f=null;const A=new r.OlP("TRANSITION_ID"),B=[{provide:r.ip1,useFactory:function g(ut,Pe,I){return()=>{I.get(r.CZH).donePromise.then(()=>{const O=(0,o.q)(),Q=Pe.querySelectorAll(`style[ng-transition="${ut}"]`);for(let Fe=0;Fe{class ut{build(){return new XMLHttpRequest}}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const S=new r.OlP("EventManagerPlugins");let v=(()=>{class ut{constructor(I,O){this._zone=O,this._eventNameToPlugin=new Map,I.forEach(Q=>Q.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,O,Q){return this._findPluginFor(O).addEventListener(I,O,Q)}addGlobalEventListener(I,O,Q){return this._findPluginFor(O).addGlobalEventListener(I,O,Q)}getZone(){return this._zone}_findPluginFor(I){const O=this._eventNameToPlugin.get(I);if(O)return O;const Q=this._plugins;for(let Fe=0;Fe{class ut{constructor(){this._stylesSet=new Set}addStyles(I){const O=new Set;I.forEach(Q=>{this._stylesSet.has(Q)||(this._stylesSet.add(Q),O.add(Q))}),this.onStylesAdded(O)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})(),te=(()=>{class ut extends x{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,O,Q){I.forEach(Fe=>{const rt=this._doc.createElement("style");rt.textContent=Fe,Q.push(O.appendChild(rt))})}addHost(I){const O=[];this._addStylesToHost(this._stylesSet,I,O),this._hostNodes.set(I,O)}removeHost(I){const O=this._hostNodes.get(I);O&&O.forEach(Ee),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach((O,Q)=>{this._addStylesToHost(I,Q,O)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(Ee))}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();function Ee(ut){(0,o.q)().remove(ut)}const T={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ue=/%COMP%/g;function z(ut,Pe,I){for(let O=0;O{if("__ngUnwrap__"===Pe)return ut;!1===ut(Pe)&&(Pe.preventDefault(),Pe.returnValue=!1)}}let j=(()=>{class ut{constructor(I,O,Q){this.eventManager=I,this.sharedStylesHost=O,this.appId=Q,this.rendererByCompId=new Map,this.defaultRenderer=new X(I)}createRenderer(I,O){if(!I||!O)return this.defaultRenderer;switch(O.encapsulation){case r.ifc.Emulated:{let Q=this.rendererByCompId.get(O.id);return Q||(Q=new lt(this.eventManager,this.sharedStylesHost,O,this.appId),this.rendererByCompId.set(O.id,Q)),Q.applyToHost(I),Q}case 1:case r.ifc.ShadowDom:return new $(this.eventManager,this.sharedStylesHost,I,O);default:if(!this.rendererByCompId.has(O.id)){const Q=z(O.id,O.styles,[]);this.sharedStylesHost.addStyles(Q),this.rendererByCompId.set(O.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(v),r.LFG(te),r.LFG(r.AFp))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();class X{constructor(Pe){this.eventManager=Pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Pe,I){return I?document.createElementNS(T[I]||I,Pe):document.createElement(Pe)}createComment(Pe){return document.createComment(Pe)}createText(Pe){return document.createTextNode(Pe)}appendChild(Pe,I){(tt(Pe)?Pe.content:Pe).appendChild(I)}insertBefore(Pe,I,O){Pe&&(tt(Pe)?Pe.content:Pe).insertBefore(I,O)}removeChild(Pe,I){Pe&&Pe.removeChild(I)}selectRootElement(Pe,I){let O="string"==typeof Pe?document.querySelector(Pe):Pe;if(!O)throw new Error(`The selector "${Pe}" did not match any elements`);return I||(O.textContent=""),O}parentNode(Pe){return Pe.parentNode}nextSibling(Pe){return Pe.nextSibling}setAttribute(Pe,I,O,Q){if(Q){I=Q+":"+I;const Fe=T[Q];Fe?Pe.setAttributeNS(Fe,I,O):Pe.setAttribute(I,O)}else Pe.setAttribute(I,O)}removeAttribute(Pe,I,O){if(O){const Q=T[O];Q?Pe.removeAttributeNS(Q,I):Pe.removeAttribute(`${O}:${I}`)}else Pe.removeAttribute(I)}addClass(Pe,I){Pe.classList.add(I)}removeClass(Pe,I){Pe.classList.remove(I)}setStyle(Pe,I,O,Q){Q&(r.JOm.DashCase|r.JOm.Important)?Pe.style.setProperty(I,O,Q&r.JOm.Important?"important":""):Pe.style[I]=O}removeStyle(Pe,I,O){O&r.JOm.DashCase?Pe.style.removeProperty(I):Pe.style[I]=""}setProperty(Pe,I,O){Pe[I]=O}setValue(Pe,I){Pe.nodeValue=I}listen(Pe,I,O){return"string"==typeof Pe?this.eventManager.addGlobalEventListener(Pe,I,Y(O)):this.eventManager.addEventListener(Pe,I,Y(O))}}function tt(ut){return"TEMPLATE"===ut.tagName&&void 0!==ut.content}class lt extends X{constructor(Pe,I,O,Q){super(Pe),this.component=O;const Fe=z(Q+"-"+O.id,O.styles,[]);I.addStyles(Fe),this.contentAttr=function ye(ut){return"_ngcontent-%COMP%".replace(ue,ut)}(Q+"-"+O.id),this.hostAttr=function De(ut){return"_nghost-%COMP%".replace(ue,ut)}(Q+"-"+O.id)}applyToHost(Pe){super.setAttribute(Pe,this.hostAttr,"")}createElement(Pe,I){const O=super.createElement(Pe,I);return super.setAttribute(O,this.contentAttr,""),O}}class $ extends X{constructor(Pe,I,O,Q){super(Pe),this.sharedStylesHost=I,this.hostEl=O,this.shadowRoot=O.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=z(Q.id,Q.styles,[]);for(let rt=0;rt{class ut extends H{constructor(I){super(I)}supports(I){return!0}addEventListener(I,O,Q){return I.addEventListener(O,Q,!1),()=>this.removeEventListener(I,O,Q)}removeEventListener(I,O,Q){return I.removeEventListener(O,Q)}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const re=["alt","control","meta","shift"],Ke={"\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"},me={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:ut=>ut.altKey,control:ut=>ut.ctrlKey,meta:ut=>ut.metaKey,shift:ut=>ut.shiftKey};let se=(()=>{class ut extends H{constructor(I){super(I)}supports(I){return null!=ut.parseEventName(I)}addEventListener(I,O,Q){const Fe=ut.parseEventName(O),rt=ut.eventCallback(Fe.fullKey,Q,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(I,Fe.domEventName,rt))}static parseEventName(I){const O=I.toLowerCase().split("."),Q=O.shift();if(0===O.length||"keydown"!==Q&&"keyup"!==Q)return null;const Fe=ut._normalizeKey(O.pop());let rt="";if(re.forEach(Dt=>{const Lt=O.indexOf(Dt);Lt>-1&&(O.splice(Lt,1),rt+=Dt+".")}),rt+=Fe,0!=O.length||0===Fe.length)return null;const Et={};return Et.domEventName=Q,Et.fullKey=rt,Et}static getEventFullKey(I){let O="",Q=function Ce(ut){let Pe=ut.key;if(null==Pe){if(Pe=ut.keyIdentifier,null==Pe)return"Unidentified";Pe.startsWith("U+")&&(Pe=String.fromCharCode(parseInt(Pe.substring(2),16)),3===ut.location&&me.hasOwnProperty(Pe)&&(Pe=me[Pe]))}return Ke[Pe]||Pe}(I);return Q=Q.toLowerCase()," "===Q?Q="space":"."===Q&&(Q="dot"),re.forEach(Fe=>{Fe!=Q&&P[Fe](I)&&(O+=Fe+".")}),O+=Q,O}static eventCallback(I,O,Q){return Fe=>{ut.getEventFullKey(Fe)===I&&Q.runGuarded(()=>O(Fe))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const yt=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:o.bD},{provide:r.g9A,useValue:function Ge(){_.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function _t(){return(0,r.RDi)(document),document},deps:[]}]),Pt=new r.OlP(""),At=[{provide:r.rWj,useClass:class m{addToWindow(Pe){r.dqk.getAngularTestability=(O,Q=!0)=>{const Fe=Pe.findTestabilityInTree(O,Q);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},r.dqk.getAllAngularTestabilities=()=>Pe.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>Pe.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(O=>{const Q=r.dqk.getAllAngularTestabilities();let Fe=Q.length,rt=!1;const Et=function(Dt){rt=rt||Dt,Fe--,0==Fe&&O(rt)};Q.forEach(function(Dt){Dt.whenStable(Et)})})}findTestabilityInTree(Pe,I,O){return null==I?null:Pe.getTestability(I)??(O?(0,o.q)().isShadowRoot(I)?this.findTestabilityInTree(Pe,I.host,!0):this.findTestabilityInTree(Pe,I.parentElement,!0):null)}},deps:[]},{provide:r.lri,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]}],nt=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function at(){return new r.qLn},deps:[]},{provide:S,useClass:Re,multi:!0,deps:[o.K0,r.R0b,r.Lbi]},{provide:S,useClass:se,multi:!0,deps:[o.K0]},{provide:j,useClass:j,deps:[v,te,r.AFp]},{provide:r.FYo,useExisting:j},{provide:x,useExisting:te},{provide:te,useClass:te,deps:[o.K0]},{provide:v,useClass:v,deps:[S,r.R0b]},{provide:o.JF,useClass:b,deps:[]},[]];let ft=(()=>{class ut{constructor(I){}static withServerTransition(I){return{ngModule:ut,providers:[{provide:r.AFp,useValue:I.appId},{provide:A,useExisting:r.AFp},B]}}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(Pt,12))},ut.\u0275mod=r.oAB({type:ut}),ut.\u0275inj=r.cJS({providers:[...nt,...At],imports:[o.ez,r.hGG]}),ut})(),U=(()=>{class ut{constructor(I){this._doc=I,this._dom=(0,o.q)()}addTag(I,O=!1){return I?this._getOrCreateElement(I,O):null}addTags(I,O=!1){return I?I.reduce((Q,Fe)=>(Fe&&Q.push(this._getOrCreateElement(Fe,O)),Q),[]):[]}getTag(I){return I&&this._doc.querySelector(`meta[${I}]`)||null}getTags(I){if(!I)return[];const O=this._doc.querySelectorAll(`meta[${I}]`);return O?[].slice.call(O):[]}updateTag(I,O){if(!I)return null;O=O||this._parseSelector(I);const Q=this.getTag(O);return Q?this._setMetaElementAttributes(I,Q):this._getOrCreateElement(I,!0)}removeTag(I){this.removeTagElement(this.getTag(I))}removeTagElement(I){I&&this._dom.remove(I)}_getOrCreateElement(I,O=!1){if(!O){const rt=this._parseSelector(I),Et=this.getTags(rt).filter(Dt=>this._containsAttributes(I,Dt))[0];if(void 0!==Et)return Et}const Q=this._dom.createElement("meta");return this._setMetaElementAttributes(I,Q),this._doc.getElementsByTagName("head")[0].appendChild(Q),Q}_setMetaElementAttributes(I,O){return Object.keys(I).forEach(Q=>O.setAttribute(this._getMetaKeyMap(Q),I[Q])),O}_parseSelector(I){const O=I.name?"name":"property";return`${O}="${I[O]}"`}_containsAttributes(I,O){return Object.keys(I).every(Q=>O.getAttribute(this._getMetaKeyMap(Q))===I[Q])}_getMetaKeyMap(I){return ie[I]||I}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function G(){return new U((0,r.LFG)(o.K0))}(),O},providedIn:"root"}),ut})();const ie={httpEquiv:"http-equiv"};let Te=(()=>{class ut{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function oe(){return new Te((0,r.LFG)(o.K0))}(),O},providedIn:"root"}),ut})();typeof window<"u"&&window;let Ut=(()=>{class ut{}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new(I||ut):r.LFG(Rt),O},providedIn:"root"}),ut})(),Rt=(()=>{class ut extends Ut{constructor(I){super(),this._doc=I}sanitize(I,O){if(null==O)return null;switch(I){case r.q3G.NONE:return O;case r.q3G.HTML:return(0,r.qzn)(O,"HTML")?(0,r.z3N)(O):(0,r.EiD)(this._doc,String(O)).toString();case r.q3G.STYLE:return(0,r.qzn)(O,"Style")?(0,r.z3N)(O):O;case r.q3G.SCRIPT:if((0,r.qzn)(O,"Script"))return(0,r.z3N)(O);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(O),(0,r.qzn)(O,"URL")?(0,r.z3N)(O):(0,r.mCW)(String(O));case r.q3G.RESOURCE_URL:if((0,r.qzn)(O,"ResourceURL"))return(0,r.z3N)(O);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${I} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(I){return(0,r.JVY)(I)}bypassSecurityTrustStyle(I){return(0,r.L6k)(I)}bypassSecurityTrustScript(I){return(0,r.eBb)(I)}bypassSecurityTrustUrl(I){return(0,r.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,r.pB0)(I)}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function en(ut){return new Rt(ut.get(o.K0))}(r.LFG(r.zs3)),O},providedIn:"root"}),ut})()},3178:(Ue,J,s)=>{"use strict";s.d(J,{gz:()=>xn,m2:()=>me,F0:()=>hi,Od:()=>ss,yS:()=>wo,Bz:()=>fa,lC:()=>gi,bq:()=>Zt});var o=s(8692),r=s(4537),h=s(818),_=s(4813),f=s(2085),d=s(8499);function w(){return(0,f.e)((M,D)=>{let y=null;M._refCount++;const W=(0,d.x)(D,void 0,void 0,void 0,()=>{if(!M||M._refCount<=0||0<--M._refCount)return void(y=null);const ge=M._connection,$e=y;y=null,ge&&(!$e||ge===$e)&&ge.unsubscribe(),D.unsubscribe()});M.subscribe(W),W.closed||(y=M.connect())})}class L extends h.y{constructor(D,y){super(),this.source=D,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,f.A)(D)&&(this.lift=D.lift)}_subscribe(D){return this.getSubject().subscribe(D)}getSubject(){const D=this._subject;return(!D||D.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:D}=this;this._subject=this._connection=null,D?.unsubscribe()}connect(){let D=this._connection;if(!D){D=this._connection=new _.w0;const y=this.getSubject();D.add(this.source.subscribe((0,d.x)(y,void 0,()=>{this._teardown(),y.complete()},W=>{this._teardown(),y.error(W)},()=>this._teardown()))),D.closed&&(this._connection=null,D=_.w0.EMPTY)}return D}refCount(){return w()(this)}}var A=s(7108),g=s(4945),B=s(4121),m=s(5696),b=s(3787),S=s(7472),v=s(3729),H=s(3072),x=s(9018),te=s(8023);function Ee(M,D,y,W,ge){return($e,it)=>{let ht=y,Tt=D,jt=0;$e.subscribe((0,d.x)(it,vn=>{const Qt=jt++;Tt=ht?M(Tt,vn,Qt):(ht=!0,vn),W&&it.next(Tt)},ge&&(()=>{ht&&it.next(Tt),it.complete()})))}}function T(M,D){return(0,f.e)(Ee(M,D,arguments.length>=2,!0))}var ue=s(4970);function Z(M){return M<=0?()=>x.E:(0,f.e)((D,y)=>{let W=[];D.subscribe((0,d.x)(y,ge=>{W.push(ge),M{for(const ge of W)y.next(ge);y.complete()},void 0,()=>{W=null}))})}var Me=s(8623),Se=s(2686),ve=s(8330),De=s(7969),z=s(1528),Y=s(5598),V=s(1927),j=s(3568),X=s(4551),Ie=s(9676),ke=s(4882),tt=s(8168),lt=s(116),$=s(5490),Re=s(549),re=s(5998);class xe{constructor(D,y){this.id=D,this.url=y}}class Ke extends xe{constructor(D,y,W="imperative",ge=null){super(D,y),this.type=0,this.navigationTrigger=W,this.restoredState=ge}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class me extends xe{constructor(D,y,W){super(D,y),this.urlAfterRedirects=W,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class P extends xe{constructor(D,y,W){super(D,y),this.reason=W,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class se extends xe{constructor(D,y,W){super(D,y),this.error=W,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class He extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends xe{constructor(D,y,W,ge,$e){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.shouldActivate=$e,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ge extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class at{constructor(D){this.route=D,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _t{constructor(D){this.route=D,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xt{constructor(D){this.snapshot=D,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(D){this.snapshot=D,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pt{constructor(D){this.snapshot=D,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(D){this.snapshot=D,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(D,y,W){this.routerEvent=D,this.position=y,this.anchor=W,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const G="primary";class U{constructor(D){this.params=D||{}}has(D){return Object.prototype.hasOwnProperty.call(this.params,D)}get(D){if(this.has(D)){const y=this.params[D];return Array.isArray(y)?y[0]:y}return null}getAll(D){if(this.has(D)){const y=this.params[D];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function ie(M){return new U(M)}const oe="ngNavigationCancelingError";function Te(M){const D=Error("NavigationCancelingError: "+M);return D[oe]=!0,D}function Ze(M,D,y){const W=y.path.split("/");if(W.length>M.length||"full"===y.pathMatch&&(D.hasChildren()||W.lengthW[$e]===ge)}return M===D}function Ye(M){return Array.prototype.concat.apply([],M)}function et(M){return M.length>0?M[M.length-1]:null}function K(M,D){for(const y in M)M.hasOwnProperty(y)&&D(M[y],y)}function le(M){return(0,r.CqO)(M)?M:(0,r.QGY)(M)?(0,A.D)(Promise.resolve(M)):(0,g.of)(M)}const ae={exact:function Oe(M,D,y){if(!nn(M.segments,D.segments)||!mt(M.segments,D.segments,y)||M.numberOfChildren!==D.numberOfChildren)return!1;for(const W in D.children)if(!M.children[W]||!Oe(M.children[W],D.children[W],y))return!1;return!0},subset:Je},he={exact:function be(M,D){return Be(M,D)},subset:function Ae(M,D){return Object.keys(D).length<=Object.keys(M).length&&Object.keys(D).every(y=>We(M[y],D[y]))},ignored:()=>!0};function pe(M,D,y){return ae[y.paths](M.root,D.root,y.matrixParams)&&he[y.queryParams](M.queryParams,D.queryParams)&&!("exact"===y.fragment&&M.fragment!==D.fragment)}function Je(M,D,y){return ct(M,D,D.segments,y)}function ct(M,D,y,W){if(M.segments.length>y.length){const ge=M.segments.slice(0,y.length);return!(!nn(ge,y)||D.hasChildren()||!mt(ge,y,W))}if(M.segments.length===y.length){if(!nn(M.segments,y)||!mt(M.segments,y,W))return!1;for(const ge in D.children)if(!M.children[ge]||!Je(M.children[ge],D.children[ge],W))return!1;return!0}{const ge=y.slice(0,M.segments.length),$e=y.slice(M.segments.length);return!!(nn(M.segments,ge)&&mt(M.segments,ge,W)&&M.children[G])&&ct(M.children[G],D,$e,W)}}function mt(M,D,y){return D.every((W,ge)=>he[y](M[ge].parameters,W.parameters))}class Mt{constructor(D,y,W){this.root=D,this.queryParams=y,this.fragment=W}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return Rt.serialize(this)}}class St{constructor(D,y){this.segments=D,this.children=y,this.parent=null,K(y,(W,ge)=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ht(this)}}class Zt{constructor(D,y){this.path=D,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=ie(this.parameters)),this._parameterMap}toString(){return Et(this)}}function nn(M,D){return M.length===D.length&&M.every((y,W)=>y.path===D[W].path)}class Ut{}class en{parse(D){const y=new Mn(D);return new Mt(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(D){const y=`/${ut(D.root,!0)}`,W=function Lt(M){const D=Object.keys(M).map(y=>{const W=M[y];return Array.isArray(W)?W.map(ge=>`${I(y)}=${I(ge)}`).join("&"):`${I(y)}=${I(W)}`}).filter(y=>!!y);return D.length?`?${D.join("&")}`:""}(D.queryParams);return`${y}${W}${"string"==typeof D.fragment?`#${function O(M){return encodeURI(M)}(D.fragment)}`:""}`}}const Rt=new en;function Ht(M){return M.segments.map(D=>Et(D)).join("/")}function ut(M,D){if(!M.hasChildren())return Ht(M);if(D){const y=M.children[G]?ut(M.children[G],!1):"",W=[];return K(M.children,(ge,$e)=>{$e!==G&&W.push(`${$e}:${ut(ge,!1)}`)}),W.length>0?`${y}(${W.join("//")})`:y}{const y=function ln(M,D){let y=[];return K(M.children,(W,ge)=>{ge===G&&(y=y.concat(D(W,ge)))}),K(M.children,(W,ge)=>{ge!==G&&(y=y.concat(D(W,ge)))}),y}(M,(W,ge)=>ge===G?[ut(M.children[G],!1)]:[`${ge}:${ut(W,!1)}`]);return 1===Object.keys(M.children).length&&null!=M.children[G]?`${Ht(M)}/${y[0]}`:`${Ht(M)}/(${y.join("//")})`}}function Pe(M){return encodeURIComponent(M).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function I(M){return Pe(M).replace(/%3B/gi,";")}function Q(M){return Pe(M).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fe(M){return decodeURIComponent(M)}function rt(M){return Fe(M.replace(/\+/g,"%20"))}function Et(M){return`${Q(M.path)}${function Dt(M){return Object.keys(M).map(D=>`;${Q(D)}=${Q(M[D])}`).join("")}(M.parameters)}`}const Kt=/^[^\/()?;=#]+/;function Yt(M){const D=M.match(Kt);return D?D[0]:""}const _n=/^[^=?&#]+/,Jt=/^[^&#]+/;class Mn{constructor(D){this.url=D,this.remaining=D}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const D={};if(this.consumeOptional("?"))do{this.parseQueryParam(D)}while(this.consumeOptional("&"));return D}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const D=[];for(this.peekStartsWith("(")||D.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),D.push(this.parseSegment());let y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(D.length>0||Object.keys(y).length>0)&&(W[G]=new St(D,y)),W}parseSegment(){const D=Yt(this.remaining);if(""===D&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(D),new Zt(Fe(D),this.parseMatrixParams())}parseMatrixParams(){const D={};for(;this.consumeOptional(";");)this.parseParam(D);return D}parseParam(D){const y=Yt(this.remaining);if(!y)return;this.capture(y);let W="";if(this.consumeOptional("=")){const ge=Yt(this.remaining);ge&&(W=ge,this.capture(W))}D[Fe(y)]=Fe(W)}parseQueryParam(D){const y=function rn(M){const D=M.match(_n);return D?D[0]:""}(this.remaining);if(!y)return;this.capture(y);let W="";if(this.consumeOptional("=")){const it=function Fn(M){const D=M.match(Jt);return D?D[0]:""}(this.remaining);it&&(W=it,this.capture(W))}const ge=rt(y),$e=rt(W);if(D.hasOwnProperty(ge)){let it=D[ge];Array.isArray(it)||(it=[it],D[ge]=it),it.push($e)}else D[ge]=$e}parseParens(D){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=Yt(this.remaining),ge=this.remaining[W.length];if("/"!==ge&&")"!==ge&&";"!==ge)throw new Error(`Cannot parse url '${this.url}'`);let $e;W.indexOf(":")>-1?($e=W.slice(0,W.indexOf(":")),this.capture($e),this.capture(":")):D&&($e=G);const it=this.parseChildren();y[$e]=1===Object.keys(it).length?it[G]:new St([],it),this.consumeOptional("//")}return y}peekStartsWith(D){return this.remaining.startsWith(D)}consumeOptional(D){return!!this.peekStartsWith(D)&&(this.remaining=this.remaining.substring(D.length),!0)}capture(D){if(!this.consumeOptional(D))throw new Error(`Expected "${D}".`)}}class $n{constructor(D){this._root=D}get root(){return this._root.value}parent(D){const y=this.pathFromRoot(D);return y.length>1?y[y.length-2]:null}children(D){const y=Cn(D,this._root);return y?y.children.map(W=>W.value):[]}firstChild(D){const y=Cn(D,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(D){const y=an(D,this._root);return y.length<2?[]:y[y.length-2].children.map(ge=>ge.value).filter(ge=>ge!==D)}pathFromRoot(D){return an(D,this._root).map(y=>y.value)}}function Cn(M,D){if(M===D.value)return D;for(const y of D.children){const W=Cn(M,y);if(W)return W}return null}function an(M,D){if(M===D.value)return[D];for(const y of D.children){const W=an(M,y);if(W.length)return W.unshift(D),W}return[]}class Jn{constructor(D,y){this.value=D,this.children=y}toString(){return`TreeNode(${this.value})`}}function Bn(M){const D={};return M&&M.children.forEach(y=>D[y.value.outlet]=y),D}class zn extends $n{constructor(D,y){super(D),this.snapshot=y,ei(this,D)}toString(){return this.snapshot.toString()}}function Vn(M,D){const y=function qn(M,D){const it=new ni([],{},{},"",{},G,D,null,M.root,-1,{});return new Kn("",new Jn(it,[]))}(M,D),W=new B.X([new Zt("",{})]),ge=new B.X({}),$e=new B.X({}),it=new B.X({}),ht=new B.X(""),Tt=new xn(W,ge,it,ht,$e,G,D,y.root);return Tt.snapshot=y.root,new zn(new Jn(Tt,[]),y)}class xn{constructor(D,y,W,ge,$e,it,ht,Tt){this.url=D,this.params=y,this.queryParams=W,this.fragment=ge,this.data=$e,this.outlet=it,this.component=ht,this._futureSnapshot=Tt}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,De.U)(D=>ie(D)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(D=>ie(D)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ti(M,D="emptyOnly"){const y=M.pathFromRoot;let W=0;if("always"!==D)for(W=y.length-1;W>=1;){const ge=y[W],$e=y[W-1];if(ge.routeConfig&&""===ge.routeConfig.path)W--;else{if($e.component)break;W--}}return function Yn(M){return M.reduce((D,y)=>({params:{...D.params,...y.params},data:{...D.data,...y.data},resolve:{...y.data,...D.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(W))}class ni{constructor(D,y,W,ge,$e,it,ht,Tt,jt,vn,Qt,Pn){this.url=D,this.params=y,this.queryParams=W,this.fragment=ge,this.data=$e,this.outlet=it,this.component=ht,this.routeConfig=Tt,this._urlSegment=jt,this._lastPathIndex=vn,this._correctedLastPathIndex=Pn??vn,this._resolve=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=ie(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kn extends $n{constructor(D,y){super(y),this.url=D,ei(this,y)}toString(){return Xi(this._root)}}function ei(M,D){D.value._routerState=M,D.children.forEach(y=>ei(M,y))}function Xi(M){const D=M.children.length>0?` { ${M.children.map(Xi).join(", ")} } `:"";return`${M.value}${D}`}function Ai(M){if(M.snapshot){const D=M.snapshot,y=M._futureSnapshot;M.snapshot=y,Be(D.queryParams,y.queryParams)||M.queryParams.next(y.queryParams),D.fragment!==y.fragment&&M.fragment.next(y.fragment),Be(D.params,y.params)||M.params.next(y.params),function we(M,D){if(M.length!==D.length)return!1;for(let y=0;yBe(y.parameters,D[W].parameters))}(M.url,D.url);return y&&!(!M.parent!=!D.parent)&&(!M.parent||Fi(M.parent,D.parent))}function pr(M,D,y){if(y&&M.shouldReuseRoute(D.value,y.value.snapshot)){const W=y.value;W._futureSnapshot=D.value;const ge=function Oi(M,D,y){return D.children.map(W=>{for(const ge of y.children)if(M.shouldReuseRoute(W.value,ge.value.snapshot))return pr(M,W,ge);return pr(M,W)})}(M,D,y);return new Jn(W,ge)}{if(M.shouldAttach(D.value)){const $e=M.retrieve(D.value);if(null!==$e){const it=$e.route;return it.value._futureSnapshot=D.value,it.children=D.children.map(ht=>pr(M,ht)),it}}const W=function qi(M){return new xn(new B.X(M.url),new B.X(M.params),new B.X(M.queryParams),new B.X(M.fragment),new B.X(M.data),M.outlet,M.component,M)}(D.value),ge=D.children.map($e=>pr(M,$e));return new Jn(W,ge)}}function Li(M){return"object"==typeof M&&null!=M&&!M.outlets&&!M.segmentPath}function tr(M){return"object"==typeof M&&null!=M&&M.outlets}function ui(M,D,y,W,ge){let $e={};if(W&&K(W,(ht,Tt)=>{$e[Tt]=Array.isArray(ht)?ht.map(jt=>`${jt}`):`${ht}`}),M===D)return new Mt(y,$e,ge);const it=Ro(M,D,y);return new Mt(it,$e,ge)}function Ro(M,D,y){const W={};return K(M.children,(ge,$e)=>{W[$e]=ge===D?y:Ro(ge,D,y)}),new St(M.segments,W)}class Kr{constructor(D,y,W){if(this.isAbsolute=D,this.numberOfDoubleDots=y,this.commands=W,D&&W.length>0&&Li(W[0]))throw new Error("Root segment cannot have matrix parameters");const ge=W.find(tr);if(ge&&ge!==et(W))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nr{constructor(D,y,W){this.segmentGroup=D,this.processChildren=y,this.index=W}}function _r(M,D,y){if(M||(M=new St([],{})),0===M.segments.length&&M.hasChildren())return ir(M,D,y);const W=function ho(M,D,y){let W=0,ge=D;const $e={match:!1,pathIndex:0,commandIndex:0};for(;ge=y.length)return $e;const it=M.segments[ge],ht=y[W];if(tr(ht))break;const Tt=`${ht}`,jt=W0&&void 0===Tt)break;if(Tt&&jt&&"object"==typeof jt&&void 0===jt.outlets){if(!Fo(Tt,jt,it))return $e;W+=2}else{if(!Fo(Tt,{},it))return $e;W++}ge++}return{match:!0,pathIndex:ge,commandIndex:W}}(M,D,y),ge=y.slice(W.commandIndex);if(W.match&&W.pathIndex{"string"==typeof $e&&($e=[$e]),null!==$e&&(ge[it]=_r(M.children[it],D,$e))}),K(M.children,($e,it)=>{void 0===W[it]&&(ge[it]=$e)}),new St(M.segments,ge)}}function rr(M,D,y){const W=M.segments.slice(0,D);let ge=0;for(;ge{"string"==typeof y&&(y=[y]),null!==y&&(D[W]=rr(new St([],{}),0,y))}),D}function Ti(M){const D={};return K(M,(y,W)=>D[W]=`${y}`),D}function Fo(M,D,y){return M==y.path&&Be(D,y.parameters)}class Yr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new or,this.attachRef=null}}class or{constructor(){this.contexts=new Map}onChildOutletCreated(D,y){const W=this.getOrCreateContext(D);W.outlet=y,this.contexts.set(D,W)}onChildOutletDestroyed(D){const y=this.getContext(D);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const D=this.contexts;return this.contexts=new Map,D}onOutletReAttached(D){this.contexts=D}getOrCreateContext(D){let y=this.getContext(D);return y||(y=new Yr,this.contexts.set(D,y)),y}getContext(D){return this.contexts.get(D)||null}}let gi=(()=>{class M{constructor(y,W,ge,$e,it){this.parentContexts=y,this.location=W,this.changeDetector=$e,this.environmentInjector=it,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=ge||G,y.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const y=this.parentContexts.getContext(this.name);y&&y.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,W){this.activated=y,this._activatedRoute=W,this.location.insert(y.hostView),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,W){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=y;const ge=this.location,it=y._futureSnapshot.component,ht=this.parentContexts.getOrCreateContext(this.name).children,Tt=new Ui(y,ht,ge.injector);if(W&&function yr(M){return!!M.resolveComponentFactory}(W)){const jt=W.resolveComponentFactory(it);this.activated=ge.createComponent(jt,ge.length,Tt)}else this.activated=ge.createComponent(it,{index:ge.length,injector:Tt,environmentInjector:W??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(or),r.Y36(r.s_b),r.$8M("name"),r.Y36(r.sBO),r.Y36(r.lqb))},M.\u0275dir=r.lG2({type:M,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),M})();class Ui{constructor(D,y,W){this.route=D,this.childContexts=y,this.parent=W}get(D,y){return D===xn?this.route:D===or?this.childContexts:this.parent.get(D,y)}}let vr=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275cmp=r.Xpm({type:M,selectors:[["ng-component"]],decls:1,vars:0,template:function(y,W){1&y&&r._UZ(0,"router-outlet")},dependencies:[gi],encapsulation:2}),M})();function Qr(M,D){return M.providers&&!M._injector&&(M._injector=(0,r.MMx)(M.providers,D,`Route: ${M.path}`)),M._injector??D}function Dr(M){const D=M.children&&M.children.map(Dr),y=D?{...M,children:D}:{...M};return!y.component&&!y.loadComponent&&(D||y.loadChildren)&&y.outlet&&y.outlet!==G&&(y.component=vr),y}function Qn(M){return M.outlet||G}function Ni(M,D){const y=M.filter(W=>Qn(W)===D);return y.push(...M.filter(W=>Qn(W)!==D)),y}function mo(M){if(!M)return null;if(M.routeConfig?._injector)return M.routeConfig._injector;for(let D=M.parent;D;D=D.parent){const y=D.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class No{constructor(D,y,W,ge){this.routeReuseStrategy=D,this.futureState=y,this.currState=W,this.forwardEvent=ge}activate(D){const y=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,W,D),Ai(this.futureState.root),this.activateChildRoutes(y,W,D)}deactivateChildRoutes(D,y,W){const ge=Bn(y);D.children.forEach($e=>{const it=$e.value.outlet;this.deactivateRoutes($e,ge[it],W),delete ge[it]}),K(ge,($e,it)=>{this.deactivateRouteAndItsChildren($e,W)})}deactivateRoutes(D,y,W){const ge=D.value,$e=y?y.value:null;if(ge===$e)if(ge.component){const it=W.getContext(ge.outlet);it&&this.deactivateChildRoutes(D,y,it.children)}else this.deactivateChildRoutes(D,y,W);else $e&&this.deactivateRouteAndItsChildren(y,W)}deactivateRouteAndItsChildren(D,y){D.value.component&&this.routeReuseStrategy.shouldDetach(D.value.snapshot)?this.detachAndStoreRouteSubtree(D,y):this.deactivateRouteAndOutlet(D,y)}detachAndStoreRouteSubtree(D,y){const W=y.getContext(D.value.outlet),ge=W&&D.value.component?W.children:y,$e=Bn(D);for(const it of Object.keys($e))this.deactivateRouteAndItsChildren($e[it],ge);if(W&&W.outlet){const it=W.outlet.detach(),ht=W.children.onOutletDeactivated();this.routeReuseStrategy.store(D.value.snapshot,{componentRef:it,route:D,contexts:ht})}}deactivateRouteAndOutlet(D,y){const W=y.getContext(D.value.outlet),ge=W&&D.value.component?W.children:y,$e=Bn(D);for(const it of Object.keys($e))this.deactivateRouteAndItsChildren($e[it],ge);W&&W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated(),W.attachRef=null,W.resolver=null,W.route=null)}activateChildRoutes(D,y,W){const ge=Bn(y);D.children.forEach($e=>{this.activateRoutes($e,ge[$e.value.outlet],W),this.forwardEvent(new At($e.value.snapshot))}),D.children.length&&this.forwardEvent(new yt(D.value.snapshot))}activateRoutes(D,y,W){const ge=D.value,$e=y?y.value:null;if(Ai(ge),ge===$e)if(ge.component){const it=W.getOrCreateContext(ge.outlet);this.activateChildRoutes(D,y,it.children)}else this.activateChildRoutes(D,y,W);else if(ge.component){const it=W.getOrCreateContext(ge.outlet);if(this.routeReuseStrategy.shouldAttach(ge.snapshot)){const ht=this.routeReuseStrategy.retrieve(ge.snapshot);this.routeReuseStrategy.store(ge.snapshot,null),it.children.onOutletReAttached(ht.contexts),it.attachRef=ht.componentRef,it.route=ht.route.value,it.outlet&&it.outlet.attach(ht.componentRef,ht.route.value),Ai(ht.route.value),this.activateChildRoutes(D,null,it.children)}else{const ht=mo(ge.snapshot),Tt=ht?.get(r._Vd)??null;it.attachRef=null,it.route=ge,it.resolver=Tt,it.injector=ht,it.outlet&&it.outlet.activateWith(ge,it.injector),this.activateChildRoutes(D,null,it.children)}}else this.activateChildRoutes(D,null,W)}}function si(M){return"function"==typeof M}function gn(M){return M instanceof Mt}const je=Symbol("INITIAL_VALUE");function ee(){return(0,z.w)(M=>(0,m.a)(M.map(D=>D.pipe((0,Y.q)(1),(0,V.O)(je)))).pipe(T((D,y)=>{let W=!1;return y.reduce((ge,$e,it)=>ge!==je?ge:($e===je&&(W=!0),W||!1!==$e&&it!==y.length-1&&!gn($e)?ge:$e),D)},je),(0,ue.h)(D=>D!==je),(0,De.U)(D=>gn(D)?D:!0===D),(0,Y.q)(1)))}const ze={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gt(M,D,y){if(""===D.path)return"full"===D.pathMatch&&(M.hasChildren()||y.length>0)?{...ze}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const ge=(D.matcher||Ze)(y,M,D);if(!ge)return{...ze};const $e={};K(ge.posParams,(ht,Tt)=>{$e[Tt]=ht.path});const it=ge.consumed.length>0?{...$e,...ge.consumed[ge.consumed.length-1].parameters}:$e;return{matched:!0,consumedSegments:ge.consumed,remainingSegments:y.slice(ge.consumed.length),parameters:it,positionalParamSegments:ge.posParams??{}}}function wt(M,D,y,W,ge="corrected"){if(y.length>0&&function On(M,D,y){return y.some(W=>yn(M,D,W)&&Qn(W)!==G)}(M,y,W)){const it=new St(D,function Wt(M,D,y,W){const ge={};ge[G]=W,W._sourceSegment=M,W._segmentIndexShift=D.length;for(const $e of y)if(""===$e.path&&Qn($e)!==G){const it=new St([],{});it._sourceSegment=M,it._segmentIndexShift=D.length,ge[Qn($e)]=it}return ge}(M,D,W,new St(y,M.children)));return it._sourceSegment=M,it._segmentIndexShift=D.length,{segmentGroup:it,slicedSegments:[]}}if(0===y.length&&function Sn(M,D,y){return y.some(W=>yn(M,D,W))}(M,y,W)){const it=new St(M.segments,function kt(M,D,y,W,ge,$e){const it={};for(const ht of W)if(yn(M,y,ht)&&!ge[Qn(ht)]){const Tt=new St([],{});Tt._sourceSegment=M,Tt._segmentIndexShift="legacy"===$e?M.segments.length:D.length,it[Qn(ht)]=Tt}return{...ge,...it}}(M,D,y,W,M.children,ge));return it._sourceSegment=M,it._segmentIndexShift=D.length,{segmentGroup:it,slicedSegments:y}}const $e=new St(M.segments,M.children);return $e._sourceSegment=M,$e._segmentIndexShift=D.length,{segmentGroup:$e,slicedSegments:y}}function yn(M,D,y){return(!(M.hasChildren()||D.length>0)||"full"!==y.pathMatch)&&""===y.path}function un(M,D,y,W){return!!(Qn(M)===W||W!==G&&yn(D,y,M))&&("**"===M.path||gt(D,M,y).matched)}function jn(M,D,y){return 0===D.length&&!M.children[y]}class Dn{constructor(D){this.segmentGroup=D||null}}class Xt{constructor(D){this.urlTree=D}}function wi(M){return(0,b._)(new Dn(M))}function bi(M){return(0,b._)(new Xt(M))}class Gi{constructor(D,y,W,ge,$e){this.injector=D,this.configLoader=y,this.urlSerializer=W,this.urlTree=ge,this.config=$e,this.allowRedirects=!0}apply(){const D=wt(this.urlTree.root,[],[],this.config).segmentGroup,y=new St(D.segments,D.children);return this.expandSegmentGroup(this.injector,this.config,y,G).pipe((0,De.U)($e=>this.createUrlTree(ne($e),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,j.K)($e=>{if($e instanceof Xt)return this.allowRedirects=!1,this.match($e.urlTree);throw $e instanceof Dn?this.noMatchError($e):$e}))}match(D){return this.expandSegmentGroup(this.injector,this.config,D.root,G).pipe((0,De.U)(ge=>this.createUrlTree(ne(ge),D.queryParams,D.fragment))).pipe((0,j.K)(ge=>{throw ge instanceof Dn?this.noMatchError(ge):ge}))}noMatchError(D){return new Error(`Cannot match any routes. URL Segment: '${D.segmentGroup}'`)}createUrlTree(D,y,W){const ge=D.segments.length>0?new St([],{[G]:D}):D;return new Mt(ge,y,W)}expandSegmentGroup(D,y,W,ge){return 0===W.segments.length&&W.hasChildren()?this.expandChildren(D,y,W).pipe((0,De.U)($e=>new St([],$e))):this.expandSegment(D,W,y,W.segments,ge,!0)}expandChildren(D,y,W){const ge=[];for(const $e of Object.keys(W.children))"primary"===$e?ge.unshift($e):ge.push($e);return(0,A.D)(ge).pipe((0,X.b)($e=>{const it=W.children[$e],ht=Ni(y,$e);return this.expandSegmentGroup(D,ht,it,$e).pipe((0,De.U)(Tt=>({segment:Tt,outlet:$e})))}),T(($e,it)=>($e[it.outlet]=it.segment,$e),{}),function ye(M,D){const y=arguments.length>=2;return W=>W.pipe(M?(0,ue.h)((ge,$e)=>M(ge,$e,W)):ve.y,Z(1),y?(0,Se.d)(D):(0,Me.T)(()=>new S.K))}())}expandSegment(D,y,W,ge,$e,it){return(0,A.D)(W).pipe((0,X.b)(ht=>this.expandSegmentAgainstRoute(D,y,W,ht,ge,$e,it).pipe((0,j.K)(jt=>{if(jt instanceof Dn)return(0,g.of)(null);throw jt}))),(0,Ie.P)(ht=>!!ht),(0,j.K)((ht,Tt)=>{if(ht instanceof S.K||"EmptyError"===ht.name)return jn(y,ge,$e)?(0,g.of)(new St([],{})):wi(y);throw ht}))}expandSegmentAgainstRoute(D,y,W,ge,$e,it,ht){return un(ge,y,$e,it)?void 0===ge.redirectTo?this.matchSegmentAgainstRoute(D,y,ge,$e,it):ht&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it):wi(y):wi(y)}expandSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it){return"**"===ge.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(D,W,ge,it):this.expandRegularSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it)}expandWildCardWithParamsAgainstRouteUsingRedirect(D,y,W,ge){const $e=this.applyRedirectCommands([],W.redirectTo,{});return W.redirectTo.startsWith("/")?bi($e):this.lineralizeSegments(W,$e).pipe((0,ke.z)(it=>{const ht=new St(it,{});return this.expandSegment(D,ht,y,it,ge,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it){const{matched:ht,consumedSegments:Tt,remainingSegments:jt,positionalParamSegments:vn}=gt(y,ge,$e);if(!ht)return wi(y);const Qt=this.applyRedirectCommands(Tt,ge.redirectTo,vn);return ge.redirectTo.startsWith("/")?bi(Qt):this.lineralizeSegments(ge,Qt).pipe((0,ke.z)(Pn=>this.expandSegment(D,y,W,Pn.concat(jt),it,!1)))}matchSegmentAgainstRoute(D,y,W,ge,$e){if("**"===W.path)return D=Qr(W,D),W.loadChildren?(W._loadedRoutes?(0,g.of)({routes:W._loadedRoutes,injector:W._loadedInjector}):this.configLoader.loadChildren(D,W)).pipe((0,De.U)(Qt=>(W._loadedRoutes=Qt.routes,W._loadedInjector=Qt.injector,new St(ge,{})))):(0,g.of)(new St(ge,{}));const{matched:it,consumedSegments:ht,remainingSegments:Tt}=gt(y,W,ge);return it?(D=Qr(W,D),this.getChildConfig(D,W,ge).pipe((0,ke.z)(vn=>{const Qt=vn.injector??D,Pn=vn.routes,{segmentGroup:Un,slicedSegments:ai}=wt(y,ht,Tt,Pn),Qi=new St(Un.segments,Un.children);if(0===ai.length&&Qi.hasChildren())return this.expandChildren(Qt,Pn,Qi).pipe((0,De.U)(no=>new St(ht,no)));if(0===Pn.length&&0===ai.length)return(0,g.of)(new St(ht,{}));const Tr=Qn(W)===$e;return this.expandSegment(Qt,Qi,Pn,ai,Tr?G:$e,!0).pipe((0,De.U)(Vr=>new St(ht.concat(Vr.segments),Vr.children)))}))):wi(y)}getChildConfig(D,y,W){return y.children?(0,g.of)({routes:y.children,injector:D}):y.loadChildren?void 0!==y._loadedRoutes?(0,g.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.runCanLoadGuards(D,y,W).pipe((0,ke.z)(ge=>ge?this.configLoader.loadChildren(D,y).pipe((0,tt.b)($e=>{y._loadedRoutes=$e.routes,y._loadedInjector=$e.injector})):function Bi(M){return(0,b._)(Te(`Cannot load children because the guard of the route "path: '${M.path}'" returned false`))}(y))):(0,g.of)({routes:[],injector:D})}runCanLoadGuards(D,y,W){const ge=y.canLoad;if(!ge||0===ge.length)return(0,g.of)(!0);const $e=ge.map(it=>{const ht=D.get(it);let Tt;if(function $i(M){return M&&si(M.canLoad)}(ht))Tt=ht.canLoad(y,W);else{if(!si(ht))throw new Error("Invalid CanLoad guard");Tt=ht(y,W)}return le(Tt)});return(0,g.of)($e).pipe(ee(),(0,tt.b)(it=>{if(!gn(it))return;const ht=Te(`Redirecting to "${this.urlSerializer.serialize(it)}"`);throw ht.url=it,ht}),(0,De.U)(it=>!0===it))}lineralizeSegments(D,y){let W=[],ge=y.root;for(;;){if(W=W.concat(ge.segments),0===ge.numberOfChildren)return(0,g.of)(W);if(ge.numberOfChildren>1||!ge.children[G])return(0,b._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${D.redirectTo}'`));ge=ge.children[G]}}applyRedirectCommands(D,y,W){return this.applyRedirectCreatreUrlTree(y,this.urlSerializer.parse(y),D,W)}applyRedirectCreatreUrlTree(D,y,W,ge){const $e=this.createSegmentGroup(D,y.root,W,ge);return new Mt($e,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(D,y){const W={};return K(D,(ge,$e)=>{if("string"==typeof ge&&ge.startsWith(":")){const ht=ge.substring(1);W[$e]=y[ht]}else W[$e]=ge}),W}createSegmentGroup(D,y,W,ge){const $e=this.createSegments(D,y.segments,W,ge);let it={};return K(y.children,(ht,Tt)=>{it[Tt]=this.createSegmentGroup(D,ht,W,ge)}),new St($e,it)}createSegments(D,y,W,ge){return y.map($e=>$e.path.startsWith(":")?this.findPosParam(D,$e,ge):this.findOrReturn($e,W))}findPosParam(D,y,W){const ge=W[y.path.substring(1)];if(!ge)throw new Error(`Cannot redirect to '${D}'. Cannot find '${y.path}'.`);return ge}findOrReturn(D,y){let W=0;for(const ge of y){if(ge.path===D.path)return y.splice(W),ge;W++}return D}}function ne(M){const D={};for(const W of Object.keys(M.children)){const $e=ne(M.children[W]);($e.segments.length>0||$e.hasChildren())&&(D[W]=$e)}return function yo(M){if(1===M.numberOfChildren&&M.children[G]){const D=M.children[G];return new St(M.segments.concat(D.segments),D.children)}return M}(new St(M.segments,D))}class F{constructor(D){this.path=D,this.route=this.path[this.path.length-1]}}class Ve{constructor(D,y){this.component=D,this.route=y}}function Ct(M,D,y){const W=M._root;return Wn(W,D?D._root:null,y,[W.value])}function In(M,D,y){return(mo(D)??y).get(M)}function Wn(M,D,y,W,ge={canDeactivateChecks:[],canActivateChecks:[]}){const $e=Bn(D);return M.children.forEach(it=>{(function di(M,D,y,W,ge={canDeactivateChecks:[],canActivateChecks:[]}){const $e=M.value,it=D?D.value:null,ht=y?y.getContext(M.value.outlet):null;if(it&&$e.routeConfig===it.routeConfig){const Tt=function Fr(M,D,y){if("function"==typeof y)return y(M,D);switch(y){case"pathParamsChange":return!nn(M.url,D.url);case"pathParamsOrQueryParamsChange":return!nn(M.url,D.url)||!Be(M.queryParams,D.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fi(M,D)||!Be(M.queryParams,D.queryParams);default:return!Fi(M,D)}}(it,$e,$e.routeConfig.runGuardsAndResolvers);Tt?ge.canActivateChecks.push(new F(W)):($e.data=it.data,$e._resolvedData=it._resolvedData),Wn(M,D,$e.component?ht?ht.children:null:y,W,ge),Tt&&ht&&ht.outlet&&ht.outlet.isActivated&&ge.canDeactivateChecks.push(new Ve(ht.outlet.component,it))}else it&&wr(D,ht,ge),ge.canActivateChecks.push(new F(W)),Wn(M,null,$e.component?ht?ht.children:null:y,W,ge)})(it,$e[it.value.outlet],y,W.concat([it.value]),ge),delete $e[it.value.outlet]}),K($e,(it,ht)=>wr(it,y.getContext(ht),ge)),ge}function wr(M,D,y){const W=Bn(M),ge=M.value;K(W,($e,it)=>{wr($e,ge.component?D?D.children.getContext(it):null:D,y)}),y.canDeactivateChecks.push(new Ve(ge.component&&D&&D.outlet&&D.outlet.isActivated?D.outlet.component:null,ge))}class ca{}function Es(M){return new h.y(D=>D.error(M))}class ua{constructor(D,y,W,ge,$e,it){this.rootComponentType=D,this.config=y,this.urlTree=W,this.url=ge,this.paramsInheritanceStrategy=$e,this.relativeLinkResolution=it}recognize(){const D=wt(this.urlTree.root,[],[],this.config.filter(it=>void 0===it.redirectTo),this.relativeLinkResolution).segmentGroup,y=this.processSegmentGroup(this.config,D,G);if(null===y)return null;const W=new ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),ge=new Jn(W,y),$e=new Kn(this.url,ge);return this.inheritParamsAndData($e._root),$e}inheritParamsAndData(D){const y=D.value,W=ti(y,this.paramsInheritanceStrategy);y.params=Object.freeze(W.params),y.data=Object.freeze(W.data),D.children.forEach(ge=>this.inheritParamsAndData(ge))}processSegmentGroup(D,y,W){return 0===y.segments.length&&y.hasChildren()?this.processChildren(D,y):this.processSegment(D,y,y.segments,W)}processChildren(D,y){const W=[];for(const $e of Object.keys(y.children)){const it=y.children[$e],ht=Ni(D,$e),Tt=this.processSegmentGroup(ht,it,$e);if(null===Tt)return null;W.push(...Tt)}const ge=Yi(W);return function Nr(M){M.sort((D,y)=>D.value.outlet===G?-1:y.value.outlet===G?1:D.value.outlet.localeCompare(y.value.outlet))}(ge),ge}processSegment(D,y,W,ge){for(const $e of D){const it=this.processSegmentAgainstRoute($e,y,W,ge);if(null!==it)return it}return jn(y,W,ge)?[]:null}processSegmentAgainstRoute(D,y,W,ge){if(D.redirectTo||!un(D,y,W,ge))return null;let $e,it=[],ht=[];if("**"===D.path){const Un=W.length>0?et(W).parameters:{},ai=ar(y)+W.length;$e=new ni(W,Un,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jo(D),Qn(D),D.component??D._loadedComponent??null,D,Mr(y),ai,rs(D),ai)}else{const Un=gt(y,D,W);if(!Un.matched)return null;it=Un.consumedSegments,ht=Un.remainingSegments;const ai=ar(y)+it.length;$e=new ni(it,Un.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jo(D),Qn(D),D.component??D._loadedComponent??null,D,Mr(y),ai,rs(D),ai)}const Tt=function Zr(M){return M.children?M.children:M.loadChildren?M._loadedRoutes:[]}(D),{segmentGroup:jt,slicedSegments:vn}=wt(y,it,ht,Tt.filter(Un=>void 0===Un.redirectTo),this.relativeLinkResolution);if(0===vn.length&&jt.hasChildren()){const Un=this.processChildren(Tt,jt);return null===Un?null:[new Jn($e,Un)]}if(0===Tt.length&&0===vn.length)return[new Jn($e,[])];const Qt=Qn(D)===ge,Pn=this.processSegment(Tt,jt,vn,Qt?G:ge);return null===Pn?null:[new Jn($e,Pn)]}}function Ds(M){const D=M.value.routeConfig;return D&&""===D.path&&void 0===D.redirectTo}function Yi(M){const D=[],y=new Set;for(const W of M){if(!Ds(W)){D.push(W);continue}const ge=D.find($e=>W.value.routeConfig===$e.value.routeConfig);void 0!==ge?(ge.children.push(...W.children),y.add(ge)):D.push(W)}for(const W of y){const ge=Yi(W.children);D.push(new Jn(W.value,ge))}return D.filter(W=>!y.has(W))}function Mr(M){let D=M;for(;D._sourceSegment;)D=D._sourceSegment;return D}function ar(M){let D=M,y=D._segmentIndexShift??0;for(;D._sourceSegment;)D=D._sourceSegment,y+=D._segmentIndexShift??0;return y-1}function jo(M){return M.data||{}}function rs(M){return M.resolve||{}}const Br=Symbol("RouteTitle");function Uo(M){return"string"==typeof M.title||null===M.title}function Ho(M){return(0,z.w)(D=>{const y=M(D);return y?(0,A.D)(y).pipe((0,De.U)(()=>D)):(0,g.of)(D)})}class bo extends class ha{shouldDetach(D){return!1}store(D,y){}shouldAttach(D){return!1}retrieve(D){return null}shouldReuseRoute(D,y){return D.routeConfig===y.routeConfig}}{}const Jr=new r.OlP("ROUTES");let Xr=(()=>{class M{constructor(y,W){this.injector=y,this.compiler=W,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,g.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);const W=le(y.loadComponent()).pipe((0,tt.b)($e=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=$e}),(0,$.x)(()=>{this.componentLoaders.delete(y)})),ge=new L(W,()=>new te.x).pipe(w());return this.componentLoaders.set(y,ge),ge}loadChildren(y,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,g.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const $e=this.loadModuleFactoryOrRoutes(W.loadChildren).pipe((0,De.U)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(W);let Tt,jt,vn=!1;Array.isArray(ht)?jt=ht:(Tt=ht.create(y).injector,jt=Ye(Tt.get(Jr,[],r.XFs.Self|r.XFs.Optional)));return{routes:jt.map(Dr),injector:Tt}}),(0,$.x)(()=>{this.childrenLoaders.delete(W)})),it=new L($e,()=>new te.x).pipe(w());return this.childrenLoaders.set(W,it),it}loadModuleFactoryOrRoutes(y){return le(y()).pipe((0,ke.z)(W=>W instanceof r.YKP||Array.isArray(W)?(0,g.of)(W):(0,A.D)(this.compiler.compileModuleAsync(W))))}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(r.zs3),r.LFG(r.Sil))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();class os{shouldProcessUrl(D){return!0}extract(D){return D}merge(D,y){return D}}function Eo(M){throw M}function lr(M,D,y){return D.parse("/")}const Ei={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hi=(()=>{class M{constructor(y,W,ge,$e,it,ht,Tt){this.rootComponentType=y,this.urlSerializer=W,this.rootContexts=ge,this.location=$e,this.config=Tt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new te.x,this.errorHandler=Eo,this.malformedUriErrorHandler=lr,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,g.of)(void 0),this.urlHandlingStrategy=new os,this.routeReuseStrategy=new bo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=it.get(Xr),this.configLoader.onLoadEndListener=Pn=>this.triggerEvent(new _t(Pn)),this.configLoader.onLoadStartListener=Pn=>this.triggerEvent(new at(Pn)),this.ngModule=it.get(r.h0i),this.console=it.get(r.c2e);const Qt=it.get(r.R0b);this.isNgZoneEnabled=Qt instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(Tt),this.currentUrlTree=function _e(){return new Mt(new St([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Vn(this.currentUrlTree,this.rootComponentType),this.transitions=new B.X({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()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(y){const W=this.events;return y.pipe((0,ue.h)(ge=>0!==ge.id),(0,De.U)(ge=>({...ge,extractedUrl:this.urlHandlingStrategy.extract(ge.rawUrl)})),(0,z.w)(ge=>{let $e=!1,it=!1;return(0,g.of)(ge).pipe((0,tt.b)(ht=>{this.currentNavigation={id:ht.id,initialUrl:ht.rawUrl,extractedUrl:ht.extractedUrl,trigger:ht.source,extras:ht.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,z.w)(ht=>{const Tt=this.browserUrlTree.toString(),jt=!this.navigated||ht.extractedUrl.toString()!==Tt||Tt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||jt)&&this.urlHandlingStrategy.shouldProcessUrl(ht.rawUrl))return Do(ht.source)&&(this.browserUrlTree=ht.extractedUrl),(0,g.of)(ht).pipe((0,z.w)(Qt=>{const Pn=this.transitions.getValue();return W.next(new Ke(Qt.id,this.serializeUrl(Qt.extractedUrl),Qt.source,Qt.restoredState)),Pn!==this.transitions.getValue()?x.E:Promise.resolve(Qt)}),function k(M,D,y,W){return(0,z.w)(ge=>function _o(M,D,y,W,ge){return new Gi(M,D,y,W,ge).apply()}(M,D,y,ge.extractedUrl,W).pipe((0,De.U)($e=>({...ge,urlAfterRedirects:$e}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,tt.b)(Qt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Qt.urlAfterRedirects}}),function Cs(M,D,y,W,ge){return(0,ke.z)($e=>function vo(M,D,y,W,ge="emptyOnly",$e="legacy"){try{const it=new ua(M,D,y,W,ge,$e).recognize();return null===it?Es(new ca):(0,g.of)(it)}catch(it){return Es(it)}}(M,D,$e.urlAfterRedirects,y($e.urlAfterRedirects),W,ge).pipe((0,De.U)(it=>({...$e,targetSnapshot:it}))))}(this.rootComponentType,this.config,Qt=>this.serializeUrl(Qt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,tt.b)(Qt=>{if("eager"===this.urlUpdateStrategy){if(!Qt.extras.skipLocationChange){const Un=this.urlHandlingStrategy.merge(Qt.urlAfterRedirects,Qt.rawUrl);this.setBrowserUrl(Un,Qt)}this.browserUrlTree=Qt.urlAfterRedirects}const Pn=new Ce(Qt.id,this.serializeUrl(Qt.extractedUrl),this.serializeUrl(Qt.urlAfterRedirects),Qt.targetSnapshot);W.next(Pn)}));if(jt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Pn,extractedUrl:Un,source:ai,restoredState:Qi,extras:Tr}=ht,Jo=new Ke(Pn,this.serializeUrl(Un),ai,Qi);W.next(Jo);const Vr=Vn(Un,this.rootComponentType).snapshot;return(0,g.of)({...ht,targetSnapshot:Vr,urlAfterRedirects:Un,extras:{...Tr,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=ht.rawUrl,ht.resolve(null),x.E}),(0,tt.b)(ht=>{const Tt=new He(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot);this.triggerEvent(Tt)}),(0,De.U)(ht=>({...ht,guards:Ct(ht.targetSnapshot,ht.currentSnapshot,this.rootContexts)})),function Ka(M,D){return(0,ke.z)(y=>{const{targetSnapshot:W,currentSnapshot:ge,guards:{canActivateChecks:$e,canDeactivateChecks:it}}=y;return 0===it.length&&0===$e.length?(0,g.of)({...y,guardsResult:!0}):function la(M,D,y,W){return(0,A.D)(M).pipe((0,ke.z)(ge=>function Lr(M,D,y,W,ge){const $e=D&&D.routeConfig?D.routeConfig.canDeactivate:null;if(!$e||0===$e.length)return(0,g.of)(!0);const it=$e.map(ht=>{const Tt=In(ht,D,ge);let jt;if(function q(M){return M&&si(M.canDeactivate)}(Tt))jt=le(Tt.canDeactivate(M,D,y,W));else{if(!si(Tt))throw new Error("Invalid CanDeactivate guard");jt=le(Tt(M,D,y,W))}return jt.pipe((0,Ie.P)())});return(0,g.of)(it).pipe(ee())}(ge.component,ge.route,y,D,W)),(0,Ie.P)(ge=>!0!==ge,!0))}(it,W,ge,M).pipe((0,ke.z)(ht=>ht&&function Bo(M){return"boolean"==typeof M}(ht)?function Ya(M,D,y,W){return(0,A.D)(D).pipe((0,X.b)(ge=>(0,v.z)(function mi(M,D){return null!==M&&D&&D(new xt(M)),(0,g.of)(!0)}(ge.route.parent,W),function Vo(M,D){return null!==M&&D&&D(new Pt(M)),(0,g.of)(!0)}(ge.route,W),function ns(M,D,y){const W=D[D.length-1],$e=D.slice(0,D.length-1).reverse().map(it=>function Vt(M){const D=M.routeConfig?M.routeConfig.canActivateChild:null;return D&&0!==D.length?{node:M,guards:D}:null}(it)).filter(it=>null!==it).map(it=>(0,H.P)(()=>{const ht=it.guards.map(Tt=>{const jt=In(Tt,it.node,y);let vn;if(function Ln(M){return M&&si(M.canActivateChild)}(jt))vn=le(jt.canActivateChild(W,M));else{if(!si(jt))throw new Error("Invalid CanActivateChild guard");vn=le(jt(W,M))}return vn.pipe((0,Ie.P)())});return(0,g.of)(ht).pipe(ee())}));return(0,g.of)($e).pipe(ee())}(M,ge.path,y),function sr(M,D,y){const W=D.routeConfig?D.routeConfig.canActivate:null;if(!W||0===W.length)return(0,g.of)(!0);const ge=W.map($e=>(0,H.P)(()=>{const it=In($e,D,y);let ht;if(function zi(M){return M&&si(M.canActivate)}(it))ht=le(it.canActivate(D,M));else{if(!si(it))throw new Error("Invalid CanActivate guard");ht=le(it(D,M))}return ht.pipe((0,Ie.P)())}));return(0,g.of)(ge).pipe(ee())}(M,ge.route,y))),(0,Ie.P)(ge=>!0!==ge,!0))}(W,$e,M,D):(0,g.of)(ht)),(0,De.U)(ht=>({...y,guardsResult:ht})))})}(this.ngModule.injector,ht=>this.triggerEvent(ht)),(0,tt.b)(ht=>{if(gn(ht.guardsResult)){const jt=Te(`Redirecting to "${this.serializeUrl(ht.guardsResult)}"`);throw jt.url=ht.guardsResult,jt}const Tt=new Qe(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot,!!ht.guardsResult);this.triggerEvent(Tt)}),(0,ue.h)(ht=>!!ht.guardsResult||(this.restoreHistory(ht),this.cancelNavigationTransition(ht,""),!1)),Ho(ht=>{if(ht.guards.canActivateChecks.length)return(0,g.of)(ht).pipe((0,tt.b)(Tt=>{const jt=new st(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot);this.triggerEvent(jt)}),(0,z.w)(Tt=>{let jt=!1;return(0,g.of)(Tt).pipe(function da(M,D){return(0,ke.z)(y=>{const{targetSnapshot:W,guards:{canActivateChecks:ge}}=y;if(!ge.length)return(0,g.of)(y);let $e=0;return(0,A.D)(ge).pipe((0,X.b)(it=>function ws(M,D,y,W){const ge=M.routeConfig,$e=M._resolve;return void 0!==ge?.title&&!Uo(ge)&&($e[Br]=ge.title),function _i(M,D,y,W){const ge=function Sr(M){return[...Object.keys(M),...Object.getOwnPropertySymbols(M)]}(M);if(0===ge.length)return(0,g.of)({});const $e={};return(0,A.D)(ge).pipe((0,ke.z)(it=>function Gn(M,D,y,W){const ge=In(M,D,W);return le(ge.resolve?ge.resolve(D,y):ge(D,y))}(M[it],D,y,W).pipe((0,Ie.P)(),(0,tt.b)(ht=>{$e[it]=ht}))),Z(1),(0,lt.h)($e),(0,j.K)(it=>it instanceof S.K?x.E:(0,b._)(it)))}($e,M,D,W).pipe((0,De.U)(it=>(M._resolvedData=it,M.data=ti(M,y).resolve,ge&&Uo(ge)&&(M.data[Br]=ge.title),null)))}(it.route,W,M,D)),(0,tt.b)(()=>$e++),Z(1),(0,ke.z)(it=>$e===ge.length?(0,g.of)(y):x.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,tt.b)({next:()=>jt=!0,complete:()=>{jt||(this.restoreHistory(Tt),this.cancelNavigationTransition(Tt,"At least one route resolver didn't emit any value."))}}))}),(0,tt.b)(Tt=>{const jt=new Ge(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot);this.triggerEvent(jt)}))}),Ho(()=>this.afterPreactivation()),Ho(ht=>{const Tt=jt=>{const vn=[];jt.routeConfig?.loadComponent&&!jt.routeConfig._loadedComponent&&vn.push(this.configLoader.loadComponent(jt.routeConfig).pipe((0,tt.b)(Qt=>{jt.component=Qt}),(0,De.U)(()=>{})));for(const Qt of jt.children)vn.push(...Tt(Qt));return vn};return(0,m.a)(Tt(ht.targetSnapshot.root)).pipe((0,Se.d)(),(0,Y.q)(1))}),(0,De.U)(ht=>{const Tt=function oi(M,D,y){const W=pr(M,D._root,y?y._root:void 0);return new zn(W,D)}(this.routeReuseStrategy,ht.targetSnapshot,ht.currentRouterState);return{...ht,targetRouterState:Tt}}),(0,tt.b)(ht=>{this.currentUrlTree=ht.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ht.urlAfterRedirects,ht.rawUrl),this.routerState=ht.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ht.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ht),this.browserUrlTree=ht.urlAfterRedirects)}),((M,D,y)=>(0,De.U)(W=>(new No(D,W.targetRouterState,W.currentRouterState,y).activate(M),W)))(this.rootContexts,this.routeReuseStrategy,ht=>this.triggerEvent(ht)),(0,tt.b)({next(){$e=!0},complete(){$e=!0}}),(0,$.x)(()=>{$e||it||this.cancelNavigationTransition(ge,`Navigation ID ${ge.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===ge.id&&(this.currentNavigation=null)}),(0,j.K)(ht=>{if(it=!0,function Xe(M){return M&&M[oe]}(ht)){const Tt=gn(ht.url);Tt||(this.navigated=!0,this.restoreHistory(ge,!0));const jt=new P(ge.id,this.serializeUrl(ge.extractedUrl),ht.message);if(W.next(jt),Tt){const vn=this.urlHandlingStrategy.merge(ht.url,this.rawUrlTree),Qt={skipLocationChange:ge.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Do(ge.source)};this.scheduleNavigation(vn,"imperative",null,Qt,{resolve:ge.resolve,reject:ge.reject,promise:ge.promise})}else ge.resolve(!1)}else{this.restoreHistory(ge,!0);const Tt=new se(ge.id,this.serializeUrl(ge.extractedUrl),ht);W.next(Tt);try{ge.resolve(this.errorHandler(ht))}catch(jt){ge.reject(jt)}}return x.E}))}))}resetRootComponentType(y){this.rootComponentType=y,this.routerState.root.component=this.rootComponentType}setTransition(y){this.transitions.next({...this.transitions.value,...y})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(y=>{const W="popstate"===y.type?"popstate":"hashchange";"popstate"===W&&setTimeout(()=>{const ge={replaceUrl:!0},$e=y.state?.navigationId?y.state:null;if($e){const ht={...$e};delete ht.navigationId,delete ht.\u0275routerPageId,0!==Object.keys(ht).length&&(ge.state=ht)}const it=this.parseUrl(y.url);this.scheduleNavigation(it,W,$e,ge)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(y){this.events.next(y)}resetConfig(y){this.config=y.map(Dr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(y,W={}){const{relativeTo:ge,queryParams:$e,fragment:it,queryParamsHandling:ht,preserveFragment:Tt}=W,jt=ge||this.routerState.root,vn=Tt?this.currentUrlTree.fragment:it;let Qt=null;switch(ht){case"merge":Qt={...this.currentUrlTree.queryParams,...$e};break;case"preserve":Qt=this.currentUrlTree.queryParams;break;default:Qt=$e||null}return null!==Qt&&(Qt=this.removeEmptyProps(Qt)),function er(M,D,y,W,ge){if(0===y.length)return ui(D.root,D.root,D.root,W,ge);const $e=function ko(M){if("string"==typeof M[0]&&1===M.length&&"/"===M[0])return new Kr(!0,0,M);let D=0,y=!1;const W=M.reduce((ge,$e,it)=>{if("object"==typeof $e&&null!=$e){if($e.outlets){const ht={};return K($e.outlets,(Tt,jt)=>{ht[jt]="string"==typeof Tt?Tt.split("/"):Tt}),[...ge,{outlets:ht}]}if($e.segmentPath)return[...ge,$e.segmentPath]}return"string"!=typeof $e?[...ge,$e]:0===it?($e.split("/").forEach((ht,Tt)=>{0==Tt&&"."===ht||(0==Tt&&""===ht?y=!0:".."===ht?D++:""!=ht&&ge.push(ht))}),ge):[...ge,$e]},[]);return new Kr(y,D,W)}(y);return $e.toRoot()?ui(D.root,D.root,new St([],{}),W,ge):function it(Tt){const jt=function uo(M,D,y,W){return M.isAbsolute?new nr(D.root,!0,0):-1===W?new nr(y,y===D.root,0):function gr(M,D,y){let W=M,ge=D,$e=y;for(;$e>ge;){if($e-=ge,W=W.parent,!W)throw new Error("Invalid number of '../'");ge=W.segments.length}return new nr(W,!1,ge-$e)}(y,W+(Li(M.commands[0])?0:1),M.numberOfDoubleDots)}($e,D,M.snapshot?._urlSegment,Tt),vn=jt.processChildren?ir(jt.segmentGroup,jt.index,$e.commands):_r(jt.segmentGroup,jt.index,$e.commands);return ui(D.root,jt.segmentGroup,vn,W,ge)}(M.snapshot?._lastPathIndex)}(jt,this.currentUrlTree,y,Qt,vn??null)}navigateByUrl(y,W={skipLocationChange:!1}){const ge=gn(y)?y:this.parseUrl(y),$e=this.urlHandlingStrategy.merge(ge,this.rawUrlTree);return this.scheduleNavigation($e,"imperative",null,W)}navigate(y,W={skipLocationChange:!1}){return function qr(M){for(let D=0;D{const $e=y[ge];return null!=$e&&(W[ge]=$e),W},{})}processNavigations(){this.navigations.subscribe(y=>{this.navigated=!0,this.lastSuccessfulId=y.id,this.currentPageId=y.targetPageId,this.events.next(new me(y.id,this.serializeUrl(y.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),y.resolve(!0)},y=>{this.console.warn(`Unhandled Navigation Error: ${y}`)})}scheduleNavigation(y,W,ge,$e,it){if(this.disposed)return Promise.resolve(!1);let ht,Tt,jt;it?(ht=it.resolve,Tt=it.reject,jt=it.promise):jt=new Promise((Pn,Un)=>{ht=Pn,Tt=Un});const vn=++this.navigationId;let Qt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ge=this.location.getState()),Qt=ge&&ge.\u0275routerPageId?ge.\u0275routerPageId:$e.replaceUrl||$e.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Qt=0,this.setTransition({id:vn,targetPageId:Qt,source:W,restoredState:ge,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:y,extras:$e,resolve:ht,reject:Tt,promise:jt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),jt.catch(Pn=>Promise.reject(Pn))}setBrowserUrl(y,W){const ge=this.urlSerializer.serialize(y),$e={...W.extras.state,...this.generateNgRouterState(W.id,W.targetPageId)};this.location.isCurrentPathEqualTo(ge)||W.extras.replaceUrl?this.location.replaceState(ge,"",$e):this.location.go(ge,"",$e)}restoreHistory(y,W=!1){if("computed"===this.canceledNavigationResolution){const ge=this.currentPageId-y.targetPageId;"popstate"!==y.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===ge?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===ge&&(this.resetState(y),this.browserUrlTree=y.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ge)}else"replace"===this.canceledNavigationResolution&&(W&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=y.currentRouterState,this.currentUrlTree=y.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(y,W){const ge=new P(y.id,this.serializeUrl(y.extractedUrl),W);this.triggerEvent(ge),y.resolve(!1)}generateNgRouterState(y,W){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:W}:{navigationId:y}}}return M.\u0275fac=function(y){r.$Z()},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();function Do(M){return"imperative"!==M}let Co=(()=>{class M{constructor(y,W,ge,$e,it){this.router=y,this.route=W,this.tabIndexAttribute=ge,this.renderer=$e,this.el=it,this.commands=null,this.onChanges=new te.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(y){if(null!=this.tabIndexAttribute)return;const W=this.renderer,ge=this.el.nativeElement;null!==y?W.setAttribute(ge,"tabindex",y):W.removeAttribute(ge,"tabindex")}ngOnChanges(y){this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const y={skipLocationChange:(0,r.D6c)(this.skipLocationChange),replaceUrl:(0,r.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,y),!0}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:(0,r.D6c)(this.preserveFragment)})}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(xn),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},M.\u0275dir=r.lG2({type:M,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(y,W){1&y&&r.NdJ("click",function(){return W.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),M})(),wo=(()=>{class M{constructor(y,W,ge){this.router=y,this.route=W,this.locationStrategy=ge,this.commands=null,this.href=null,this.onChanges=new te.x,this.subscription=y.events.subscribe($e=>{$e instanceof me&&this.updateTargetUrlAndHref()})}set routerLink(y){this.commands=null!=y?Array.isArray(y)?y:[y]:null}ngOnChanges(y){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(y,W,ge,$e,it){if(0!==y||W||ge||$e||it||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ht={skipLocationChange:(0,r.D6c)(this.skipLocationChange),replaceUrl:(0,r.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ht),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:(0,r.D6c)(this.preserveFragment)})}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(xn),r.Y36(o.S$))},M.\u0275dir=r.lG2({type:M,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(y,W){1&y&&r.NdJ("click",function($e){return W.onClick($e.button,$e.ctrlKey,$e.shiftKey,$e.altKey,$e.metaKey)}),2&y&&r.uIk("target",W.target)("href",W.href,r.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),M})(),ss=(()=>{class M{constructor(y,W,ge,$e,it,ht){this.router=y,this.element=W,this.renderer=ge,this.cdr=$e,this.link=it,this.linkWithHref=ht,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=y.events.subscribe(Tt=>{Tt instanceof me&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,this.linksWithHrefs.changes,(0,g.of)(null)).pipe((0,Re.J)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,A.D)(y).pipe((0,Re.J)()).subscribe(W=>{this.isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(y){const W=Array.isArray(y)?y:y.split(" ");this.classes=W.filter(ge=>!!ge)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const y=this.hasActiveLinks();this.isActive!==y&&(this.isActive=y,this.cdr.markForCheck(),this.classes.forEach(W=>{y?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),y&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(y))})}isLinkActive(y){const W=function as(M){return!!M.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ge=>!!ge.urlTree&&y.isActive(ge.urlTree,W)}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.linkWithHref&&y(this.linkWithHref)||this.links.some(y)||this.linksWithHrefs.some(y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(Co,8),r.Y36(wo,8))},M.\u0275dir=r.lG2({type:M,selectors:[["","routerLinkActive",""]],contentQueries:function(y,W,ge){if(1&y&&(r.Suo(ge,Co,5),r.Suo(ge,wo,5)),2&y){let $e;r.iGM($e=r.CRH())&&(W.links=$e),r.iGM($e=r.CRH())&&(W.linksWithHrefs=$e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[r.TTD]}),M})();class eo{buildTitle(D){let y,W=D.root;for(;void 0!==W;)y=this.getResolvedTitleForRoute(W)??y,W=W.children.find(ge=>ge.outlet===G);return y}getResolvedTitleForRoute(D){return D.data[Br]}}let Os=(()=>{class M extends eo{constructor(y){super(),this.title=y}updateTitle(y){const W=this.buildTitle(y);void 0!==W&&this.title.setTitle(W)}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(re.Dx))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();class cr{}class to{preload(D,y){return(0,g.of)(null)}}let ls=(()=>{class M{constructor(y,W,ge,$e,it){this.router=y,this.injector=ge,this.preloadingStrategy=$e,this.loader=it}setUpPreloading(){this.subscription=this.router.events.pipe((0,ue.h)(y=>y instanceof me),(0,X.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,W){const ge=[];for(const $e of W){$e.providers&&!$e._injector&&($e._injector=(0,r.MMx)($e.providers,y,`Route: ${$e.path}`));const it=$e._injector??y,ht=$e._loadedInjector??it;$e.loadChildren&&!$e._loadedRoutes||$e.loadComponent&&!$e._loadedComponent?ge.push(this.preloadConfig(it,$e)):($e.children||$e._loadedRoutes)&&ge.push(this.processRoutes(ht,$e.children??$e._loadedRoutes))}return(0,A.D)(ge).pipe((0,Re.J)())}preloadConfig(y,W){return this.preloadingStrategy.preload(W,()=>{let ge;ge=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(y,W):(0,g.of)(null);const $e=ge.pipe((0,ke.z)(it=>null===it?(0,g.of)(void 0):(W._loadedRoutes=it.routes,W._loadedInjector=it.injector,this.processRoutes(it.injector??y,it.routes))));if(W.loadComponent&&!W._loadedComponent){const it=this.loader.loadComponent(W);return(0,A.D)([$e,it]).pipe((0,Re.J)())}return $e})}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(hi),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(cr),r.LFG(Xr))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})(),Ar=(()=>{class M{constructor(y,W,ge={}){this.router=y,this.viewportScroller=W,this.options=ge,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ge.scrollPositionRestoration=ge.scrollPositionRestoration||"disabled",ge.anchorScrolling=ge.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(y=>{y instanceof Ke?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof me&&(this.lastId=y.id,this.scheduleScrollEvent(y,this.router.parseUrl(y.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(y=>{y instanceof nt&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,W){this.router.triggerEvent(new nt(y,"popstate"===this.lastSource?this.store[this.restoredId]:null,W))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return M.\u0275fac=function(y){r.$Z()},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();const xi=new r.OlP("ROUTER_CONFIGURATION"),Mo=new r.OlP("ROUTER_FORROOT_GUARD"),Go=[o.Ye,{provide:Ut,useClass:en},{provide:hi,useFactory:function Ko(M,D,y,W,ge,$e,it={},ht,Tt,jt,vn){const Qt=new hi(null,M,D,y,W,ge,Ye($e));return jt&&(Qt.urlHandlingStrategy=jt),vn&&(Qt.routeReuseStrategy=vn),Qt.titleStrategy=Tt??ht,function Ts(M,D){M.errorHandler&&(D.errorHandler=M.errorHandler),M.malformedUriErrorHandler&&(D.malformedUriErrorHandler=M.malformedUriErrorHandler),M.onSameUrlNavigation&&(D.onSameUrlNavigation=M.onSameUrlNavigation),M.paramsInheritanceStrategy&&(D.paramsInheritanceStrategy=M.paramsInheritanceStrategy),M.relativeLinkResolution&&(D.relativeLinkResolution=M.relativeLinkResolution),M.urlUpdateStrategy&&(D.urlUpdateStrategy=M.urlUpdateStrategy),M.canceledNavigationResolution&&(D.canceledNavigationResolution=M.canceledNavigationResolution)}(it,Qt),Qt},deps:[Ut,or,o.Ye,r.zs3,r.Sil,Jr,xi,Os,[eo,new r.FiY],[class $o{},new r.FiY],[class Ms{},new r.FiY]]},or,{provide:xn,useFactory:function xs(M){return M.routerState.root},deps:[hi]},ls,to,class Wo{preload(D,y){return y().pipe((0,j.K)(()=>(0,g.of)(null)))}},{provide:xi,useValue:{enableTracing:!1}},Xr];function cs(){return new r.PXZ("Router",hi)}let fa=(()=>{class M{constructor(y,W){}static forRoot(y,W){return{ngModule:M,providers:[Go,ma(y),{provide:Mo,useFactory:ur,deps:[[hi,new r.FiY,new r.tp0]]},{provide:xi,useValue:W||{}},{provide:o.S$,useFactory:ga,deps:[o.lw,[new r.tBr(o.mr),new r.FiY],xi]},{provide:Ar,useFactory:pa,deps:[hi,o.EM,xi]},{provide:cr,useExisting:W&&W.preloadingStrategy?W.preloadingStrategy:to},{provide:r.PXZ,multi:!0,useFactory:cs},[Or,{provide:r.ip1,multi:!0,useFactory:Yo,deps:[Or]},{provide:Zo,useFactory:Qo,deps:[Or]},{provide:r.tb,multi:!0,useExisting:Zo}]]}}static forChild(y){return{ngModule:M,providers:[ma(y)]}}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(Mo,8),r.LFG(hi,8))},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({}),M})();function pa(M,D,y){return y.scrollOffset&&D.setOffset(y.scrollOffset),new Ar(M,D,y)}function ga(M,D,y={}){return y.useHash?new o.Do(M,D):new o.b0(M,D)}function ur(M){return"guarded"}function ma(M){return[{provide:r.deG,multi:!0,useValue:M},{provide:Jr,multi:!0,useValue:M}]}let Or=(()=>{class M{constructor(y){this.injector=y,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new te.x}appInitializer(){return this.injector.get(o.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let W=null;const ge=new Promise(ht=>W=ht),$e=this.injector.get(hi),it=this.injector.get(xi);return"disabled"===it.initialNavigation?($e.setUpLocationChangeListener(),W(!0)):"enabledBlocking"===it.initialNavigation?($e.afterPreactivation=()=>this.initNavigation?(0,g.of)(void 0):(this.initNavigation=!0,W(!0),this.resultOfPreactivationDone),$e.initialNavigation()):W(!0),ge})}bootstrapListener(y){const W=this.injector.get(xi),ge=this.injector.get(ls),$e=this.injector.get(Ar),it=this.injector.get(hi),ht=this.injector.get(r.z2F);y===ht.components[0]&&(("enabledNonBlocking"===W.initialNavigation||void 0===W.initialNavigation)&&it.initialNavigation(),ge.setUpPreloading(),$e.init(),it.resetRootComponentType(ht.componentTypes[0]),this.resultOfPreactivationDone.next(void 0),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(r.zs3))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();function Yo(M){return M.appInitializer.bind(M)}function Qo(M){return M.bootstrapListener.bind(M)}const Zo=new r.OlP("Router Initializer")},6835:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>_});var o=s(4762),r=s(1747),h=s(1598),_=function(){function f(){this.getFragmentDoc=(0,r.re)(h.Yk)}return f.prototype.batch=function(d){var A,w=this;return this.performTransaction(function(){return A=d.update(w)},"string"==typeof d.optimistic?d.optimistic:!1===d.optimistic?null:void 0),A},f.prototype.recordOptimisticTransaction=function(d,w){this.performTransaction(d,w)},f.prototype.transformDocument=function(d){return d},f.prototype.identify=function(d){},f.prototype.gc=function(){return[]},f.prototype.modify=function(d){return!1},f.prototype.transformForLink=function(d){return d},f.prototype.readQuery=function(d,w){return void 0===w&&(w=!!d.optimistic),this.read((0,o.pi)((0,o.pi)({},d),{rootId:d.id||"ROOT_QUERY",optimistic:w}))},f.prototype.readFragment=function(d,w){return void 0===w&&(w=!!d.optimistic),this.read((0,o.pi)((0,o.pi)({},d),{query:this.getFragmentDoc(d.fragment,d.fragmentName),rootId:d.id,optimistic:w}))},f.prototype.writeQuery=function(d){var w=d.id,L=d.data,A=(0,o._T)(d,["id","data"]);return this.write(Object.assign(A,{dataId:w||"ROOT_QUERY",result:L}))},f.prototype.writeFragment=function(d){var w=d.id,L=d.data,A=d.fragment,g=d.fragmentName,B=(0,o._T)(d,["id","data","fragment","fragmentName"]);return this.write(Object.assign(B,{query:this.getFragmentDoc(A,g),dataId:w,result:L}))},f.prototype.updateQuery=function(d,w){return this.batch({update:function(L){var A=L.readQuery(d),g=w(A);return null==g?A:(L.writeQuery((0,o.pi)((0,o.pi)({},d),{data:g})),g)}})},f.prototype.updateFragment=function(d,w){return this.batch({update:function(L){var A=L.readFragment(d),g=w(A);return null==g?A:(L.writeFragment((0,o.pi)((0,o.pi)({},d),{data:g})),g)}})},f}()},4699:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>o});var o=function r(h,_,f,d){this.message=h,this.path=_,this.query=f,this.variables=d}},460:(Ue,J,s)=>{"use strict";s.d(J,{$O:()=>m,E_:()=>b,RC:()=>S,RI:()=>d,ig:()=>H,j:()=>v,jS:()=>A,jp:()=>B,kJ:()=>x,lg:()=>g,uG:()=>w});var o=s(4155),r=s(9737),h=s(9231),_=s(443),f=s(6216),d=Object.prototype.hasOwnProperty;function w(te,Ee){var T=te.__typename,ue=te.id,Z=te._id;if("string"==typeof T&&(Ee&&(Ee.keyObject=void 0!==ue?{id:ue}:void 0!==Z?{_id:Z}:void 0),void 0===ue&&(ue=Z),void 0!==ue))return"".concat(T,":").concat("number"==typeof ue||"string"==typeof ue?ue:JSON.stringify(ue))}var L={dataIdFromObject:w,addTypename:!0,resultCaching:!0,canonizeResults:!1};function A(te){return(0,o.o)(L,te)}function g(te){var Ee=te.canonizeResults;return void 0===Ee?L.canonizeResults:Ee}function B(te,Ee){return(0,r.Yk)(Ee)?te.get(Ee.__ref,"__typename"):Ee&&Ee.__typename}var m=/^[_a-z][_0-9a-z]*/i;function b(te){var Ee=te.match(m);return Ee?Ee[0]:te}function S(te,Ee,T){return!!(0,h.s)(Ee)&&(x(Ee)?Ee.every(function(ue){return S(te,ue,T)}):te.selections.every(function(ue){if((0,r.My)(ue)&&(0,_.LZ)(ue,T)){var Z=(0,r.u2)(ue);return d.call(Ee,Z)&&(!ue.selectionSet||S(ue.selectionSet,Ee[Z],T))}return!0}))}function v(te){return(0,h.s)(te)&&!(0,r.Yk)(te)&&!x(te)}function H(){return new f.w0}var x=function(te){return Array.isArray(te)}},1132:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>et});var o=s(4762),r=s(138),h=s(1747),_=s(1913),f=s(6835),d=s(4699),w=s(9737),L=s(8234),A=s(7289),g=s(4155),B=s(1144),m=s(1598),b=s(6216),S=s(443),v=s(9231);function te(de){return __DEV__&&function H(de){var K=new Set([de]);return K.forEach(function(le){(0,v.s)(le)&&function x(de){if(__DEV__&&!Object.isFrozen(de))try{Object.freeze(de)}catch(K){if(K instanceof TypeError)return null;throw K}return de}(le)===le&&Object.getOwnPropertyNames(le).forEach(function(_e){(0,v.s)(le[_e])&&K.add(le[_e])})}),de}(de),de}var de,K,Ee=s(2844),T=s(460),ue=Object.create(null),Z=function(){return ue},Me=Object.create(null),Se=function(){function de(K,le){var _e=this;this.policies=K,this.group=le,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(ae,he){return te((0,w.Yk)(ae)?_e.get(ae.__ref,he):ae&&ae[he])},this.canRead=function(ae){return(0,w.Yk)(ae)?_e.has(ae.__ref):"object"==typeof ae},this.toReference=function(ae,he){if("string"==typeof ae)return(0,w.kQ)(ae);if((0,w.Yk)(ae))return ae;var pe=_e.policies.identify(ae)[0];if(pe){var be=(0,w.kQ)(pe);return he&&_e.merge(pe,ae),be}}}return de.prototype.toObject=function(){return(0,o.pi)({},this.data)},de.prototype.has=function(K){return void 0!==this.lookup(K,!0)},de.prototype.get=function(K,le){if(this.group.depend(K,le),T.RI.call(this.data,K)){var _e=this.data[K];if(_e&&T.RI.call(_e,le))return _e[le]}return"__typename"===le&&T.RI.call(this.policies.rootTypenamesById,K)?this.policies.rootTypenamesById[K]:this instanceof z?this.parent.get(K,le):void 0},de.prototype.lookup=function(K,le){return le&&this.group.depend(K,"__exists"),T.RI.call(this.data,K)?this.data[K]:this instanceof z?this.parent.lookup(K,le):this.policies.rootTypenamesById[K]?Object.create(null):void 0},de.prototype.merge=function(K,le){var ae,_e=this;(0,w.Yk)(K)&&(K=K.__ref),(0,w.Yk)(le)&&(le=le.__ref);var he="string"==typeof K?this.lookup(ae=K):K,pe="string"==typeof le?this.lookup(ae=le):le;if(pe){__DEV__?(0,r.kG)("string"==typeof ae,"store.merge expects a string ID"):(0,r.kG)("string"==typeof ae,1);var be=new b.w0(V).merge(he,pe);if(this.data[ae]=be,be!==he&&(delete this.refs[ae],this.group.caching)){var Oe=Object.create(null);he||(Oe.__exists=1),Object.keys(pe).forEach(function(Ae){if(!he||he[Ae]!==be[Ae]){Oe[Ae]=1;var Je=(0,T.E_)(Ae);Je!==Ae&&!_e.policies.hasKeyArgs(be.__typename,Je)&&(Oe[Je]=1),void 0===be[Ae]&&!(_e instanceof z)&&delete be[Ae]}}),Oe.__typename&&!(he&&he.__typename)&&this.policies.rootTypenamesById[ae]===be.__typename&&delete Oe.__typename,Object.keys(Oe).forEach(function(Ae){return _e.group.dirty(ae,Ae)})}}},de.prototype.modify=function(K,le){var _e=this,ae=this.lookup(K);if(ae){var he=Object.create(null),pe=!1,be=!0,Oe={DELETE:ue,INVALIDATE:Me,isReference:w.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(Ae,Je){return _e.policies.readField("string"==typeof Ae?{fieldName:Ae,from:Je||(0,w.kQ)(K)}:Ae,{store:_e})}};if(Object.keys(ae).forEach(function(Ae){var Je=(0,T.E_)(Ae),ct=ae[Ae];if(void 0!==ct){var mt="function"==typeof le?le:le[Ae]||le[Je];if(mt){var Mt=mt===Z?ue:mt(te(ct),(0,o.pi)((0,o.pi)({},Oe),{fieldName:Je,storeFieldName:Ae,storage:_e.getStorage(K,Ae)}));Mt===Me?_e.group.dirty(K,Ae):(Mt===ue&&(Mt=void 0),Mt!==ct&&(he[Ae]=Mt,pe=!0,ct=Mt))}void 0!==ct&&(be=!1)}}),pe)return this.merge(K,he),be&&(this instanceof z?this.data[K]=void 0:delete this.data[K],this.group.dirty(K,"__exists")),!0}return!1},de.prototype.delete=function(K,le,_e){var ae,he=this.lookup(K);if(he){var pe=this.getFieldValue(he,"__typename"),be=le&&_e?this.policies.getStoreFieldName({typename:pe,fieldName:le,args:_e}):le;return this.modify(K,be?((ae={})[be]=Z,ae):Z)}return!1},de.prototype.evict=function(K,le){var _e=!1;return K.id&&(T.RI.call(this.data,K.id)&&(_e=this.delete(K.id,K.fieldName,K.args)),this instanceof z&&this!==le&&(_e=this.parent.evict(K,le)||_e),(K.fieldName||_e)&&this.group.dirty(K.id,K.fieldName||"__exists")),_e},de.prototype.clear=function(){this.replace(null)},de.prototype.extract=function(){var K=this,le=this.toObject(),_e=[];return this.getRootIdSet().forEach(function(ae){T.RI.call(K.policies.rootTypenamesById,ae)||_e.push(ae)}),_e.length&&(le.__META={extraRootIds:_e.sort()}),le},de.prototype.replace=function(K){var le=this;if(Object.keys(this.data).forEach(function(he){K&&T.RI.call(K,he)||le.delete(he)}),K){var _e=K.__META,ae=(0,o._T)(K,["__META"]);Object.keys(ae).forEach(function(he){le.merge(he,ae[he])}),_e&&_e.extraRootIds.forEach(this.retain,this)}},de.prototype.retain=function(K){return this.rootIds[K]=(this.rootIds[K]||0)+1},de.prototype.release=function(K){if(this.rootIds[K]>0){var le=--this.rootIds[K];return le||delete this.rootIds[K],le}return 0},de.prototype.getRootIdSet=function(K){return void 0===K&&(K=new Set),Object.keys(this.rootIds).forEach(K.add,K),this instanceof z?this.parent.getRootIdSet(K):Object.keys(this.policies.rootTypenamesById).forEach(K.add,K),K},de.prototype.gc=function(){var K=this,le=this.getRootIdSet(),_e=this.toObject();le.forEach(function(pe){T.RI.call(_e,pe)&&(Object.keys(K.findChildRefIds(pe)).forEach(le.add,le),delete _e[pe])});var ae=Object.keys(_e);if(ae.length){for(var he=this;he instanceof z;)he=he.parent;ae.forEach(function(pe){return he.delete(pe)})}return ae},de.prototype.findChildRefIds=function(K){if(!T.RI.call(this.refs,K)){var le=this.refs[K]=Object.create(null),_e=this.data[K];if(!_e)return le;var ae=new Set([_e]);ae.forEach(function(he){(0,w.Yk)(he)&&(le[he.__ref]=!0),(0,v.s)(he)&&Object.keys(he).forEach(function(pe){var be=he[pe];(0,v.s)(be)&&ae.add(be)})})}return this.refs[K]},de.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},de}(),ve=function(){function de(K,le){void 0===le&&(le=null),this.caching=K,this.parent=le,this.d=null,this.resetCaching()}return de.prototype.resetCaching=function(){this.d=this.caching?(0,h.dP)():null,this.keyMaker=new Ee.B(A.mr)},de.prototype.depend=function(K,le){if(this.d){this.d(ye(K,le));var _e=(0,T.E_)(le);_e!==le&&this.d(ye(K,_e)),this.parent&&this.parent.depend(K,le)}},de.prototype.dirty=function(K,le){this.d&&this.d.dirty(ye(K,le),"__exists"===le?"forget":"setDirty")},de}();function ye(de,K){return K+"#"+de}function De(de,K){j(de)&&de.group.depend(K,"__exists")}K=function(le){function _e(ae){var pe=ae.resultCaching,Oe=ae.seed,Ae=le.call(this,ae.policies,new ve(void 0===pe||pe))||this;return Ae.stump=new Y(Ae),Ae.storageTrie=new Ee.B(A.mr),Oe&&Ae.replace(Oe),Ae}return(0,o.ZT)(_e,le),_e.prototype.addLayer=function(ae,he){return this.stump.addLayer(ae,he)},_e.prototype.removeLayer=function(){return this},_e.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},_e}(de=Se||(Se={})),de.Root=K;var z=function(de){function K(le,_e,ae,he){var pe=de.call(this,_e.policies,he)||this;return pe.id=le,pe.parent=_e,pe.replay=ae,pe.group=he,ae(pe),pe}return(0,o.ZT)(K,de),K.prototype.addLayer=function(le,_e){return new K(le,this,_e,this.group)},K.prototype.removeLayer=function(le){var _e=this,ae=this.parent.removeLayer(le);return le===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(he){var pe=_e.data[he],be=ae.lookup(he);be?pe?pe!==be&&Object.keys(pe).forEach(function(Oe){(0,_.D)(pe[Oe],be[Oe])||_e.group.dirty(he,Oe)}):(_e.group.dirty(he,"__exists"),Object.keys(be).forEach(function(Oe){_e.group.dirty(he,Oe)})):_e.delete(he)}),ae):ae===this.parent?this:ae.addLayer(this.id,this.replay)},K.prototype.toObject=function(){return(0,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},K.prototype.findChildRefIds=function(le){var _e=this.parent.findChildRefIds(le);return T.RI.call(this.data,le)?(0,o.pi)((0,o.pi)({},_e),de.prototype.findChildRefIds.call(this,le)):_e},K.prototype.getStorage=function(){for(var le=this.parent;le.parent;)le=le.parent;return le.getStorage.apply(le,arguments)},K}(Se),Y=function(de){function K(le){return de.call(this,"EntityStore.Stump",le,function(){},new ve(le.group.caching,le.group))||this}return(0,o.ZT)(K,de),K.prototype.removeLayer=function(){return this},K.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},K}(z);function V(de,K,le){var _e=de[le],ae=K[le];return(0,_.D)(_e,ae)?_e:ae}function j(de){return!!(de instanceof Se&&de.group.caching)}var X=s(7149);function Ie(de){return[de.selectionSet,de.objectOrReference,de.context,de.context.canonizeResults]}var ke=function(){function de(K){var le=this;this.knownResults=new(A.mr?WeakMap:Map),this.config=(0,g.o)(K,{addTypename:!1!==K.addTypename,canonizeResults:(0,T.lg)(K)}),this.canon=K.canon||new X.h,this.executeSelectionSet=(0,h.re)(function(_e){var ae,he=_e.context.canonizeResults,pe=Ie(_e);pe[3]=!he;var be=(ae=le.executeSelectionSet).peek.apply(ae,pe);return be?he?(0,o.pi)((0,o.pi)({},be),{result:le.canon.admit(be.result)}):be:(De(_e.context.store,_e.enclosingRef.__ref),le.execSelectionSetImpl(_e))},{max:this.config.resultCacheMaxSize,keyArgs:Ie,makeCacheKey:function(_e,ae,he,pe){if(j(he.store))return he.store.makeCacheKey(_e,(0,w.Yk)(ae)?ae.__ref:ae,he.varString,pe)}}),this.executeSubSelectedArray=(0,h.re)(function(_e){return De(_e.context.store,_e.enclosingRef.__ref),le.execSubSelectedArrayImpl(_e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(_e){var ae=_e.field,he=_e.array,pe=_e.context;if(j(pe.store))return pe.store.makeCacheKey(ae,he,pe.varString)}})}return de.prototype.resetCanon=function(){this.canon=new X.h},de.prototype.diffQueryAgainstStore=function(K){var le=K.store,_e=K.query,ae=K.rootId,he=void 0===ae?"ROOT_QUERY":ae,pe=K.variables,be=K.returnPartialData,Oe=void 0===be||be,Ae=K.canonizeResults,Je=void 0===Ae?this.config.canonizeResults:Ae,ct=this.config.cache.policies;pe=(0,o.pi)((0,o.pi)({},(0,B.O4)((0,B.iW)(_e))),pe);var St,mt=(0,w.kQ)(he),Mt=this.executeSelectionSet({selectionSet:(0,B.p$)(_e).selectionSet,objectOrReference:mt,enclosingRef:mt,context:{store:le,query:_e,policies:ct,variables:pe,varString:(0,X.B)(pe),canonizeResults:Je,fragmentMap:(0,m.F)((0,B.kU)(_e))}});if(Mt.missing&&(St=[new d.y(tt(Mt.missing),Mt.missing,_e,pe)],!Oe))throw St[0];return{result:Mt.result,complete:!St,missing:St}},de.prototype.isFresh=function(K,le,_e,ae){if(j(ae.store)&&this.knownResults.get(K)===_e){var he=this.executeSelectionSet.peek(_e,le,ae,this.canon.isKnown(K));if(he&&K===he.result)return!0}return!1},de.prototype.execSelectionSetImpl=function(K){var le=this,_e=K.selectionSet,ae=K.objectOrReference,he=K.enclosingRef,pe=K.context;if((0,w.Yk)(ae)&&!pe.policies.rootTypenamesById[ae.__ref]&&!pe.store.has(ae.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(ae.__ref," object")};var mt,be=pe.variables,Oe=pe.policies,Je=pe.store.getFieldValue(ae,"__typename"),ct=[],Mt=new b.w0;function St(Ut,en){var Rt;return Ut.missing&&(mt=Mt.merge(mt,((Rt={})[en]=Ut.missing,Rt))),Ut.result}this.config.addTypename&&"string"==typeof Je&&!Oe.rootIdsByTypename[Je]&&ct.push({__typename:Je});var Zt=new Set(_e.selections);Zt.forEach(function(Ut){var en,Rt;if((0,S.LZ)(Ut,be))if((0,w.My)(Ut)){var Ht=Oe.readField({fieldName:Ut.name.value,field:Ut,variables:pe.variables,from:ae},pe),ut=(0,w.u2)(Ut);void 0===Ht?L.Gw.added(Ut)||(mt=Mt.merge(mt,((en={})[ut]="Can't find field '".concat(Ut.name.value,"' on ").concat((0,w.Yk)(ae)?ae.__ref+" object":"object "+JSON.stringify(ae,null,2)),en))):(0,T.kJ)(Ht)?Ht=St(le.executeSubSelectedArray({field:Ut,array:Ht,enclosingRef:he,context:pe}),ut):Ut.selectionSet?null!=Ht&&(Ht=St(le.executeSelectionSet({selectionSet:Ut.selectionSet,objectOrReference:Ht,enclosingRef:(0,w.Yk)(Ht)?Ht:he,context:pe}),ut)):pe.canonizeResults&&(Ht=le.canon.pass(Ht)),void 0!==Ht&&ct.push(((Rt={})[ut]=Ht,Rt))}else{var Pe=(0,m.hi)(Ut,pe.fragmentMap);Pe&&Oe.fragmentMatches(Pe,Je)&&Pe.selectionSet.selections.forEach(Zt.add,Zt)}});var nn={result:(0,b.bw)(ct),missing:mt},ln=pe.canonizeResults?this.canon.admit(nn):te(nn);return ln.result&&this.knownResults.set(ln.result,_e),ln},de.prototype.execSubSelectedArrayImpl=function(K){var be,le=this,_e=K.field,ae=K.array,he=K.enclosingRef,pe=K.context,Oe=new b.w0;function Ae(Je,ct){var mt;return Je.missing&&(be=Oe.merge(be,((mt={})[ct]=Je.missing,mt))),Je.result}return _e.selectionSet&&(ae=ae.filter(pe.store.canRead)),ae=ae.map(function(Je,ct){return null===Je?null:(0,T.kJ)(Je)?Ae(le.executeSubSelectedArray({field:_e,array:Je,enclosingRef:he,context:pe}),ct):_e.selectionSet?Ae(le.executeSelectionSet({selectionSet:_e.selectionSet,objectOrReference:Je,enclosingRef:(0,w.Yk)(Je)?Je:he,context:pe}),ct):(__DEV__&&function lt(de,K,le){if(!K.selectionSet){var _e=new Set([le]);_e.forEach(function(ae){(0,v.s)(ae)&&(__DEV__?(0,r.kG)(!(0,w.Yk)(ae),"Missing selection set for object of type ".concat((0,T.jp)(de,ae)," returned for query field ").concat(K.name.value)):(0,r.kG)(!(0,w.Yk)(ae),5),Object.values(ae).forEach(_e.add,_e))})}}(pe.store,_e,Je),Je)}),{result:pe.canonizeResults?this.canon.admit(ae):ae,missing:be}},de}();function tt(de){try{JSON.stringify(de,function(K,le){if("string"==typeof le)throw le;return le})}catch(K){return K}}var $=s(3107),Re=s(8779),re=s(5801),Ke=s(4350),me=Object.create(null);function P(de){var K=JSON.stringify(de);return me[K]||(me[K]=Object.create(null))}function se(de){var K=P(de);return K.keyFieldsFn||(K.keyFieldsFn=function(le,_e){var ae=function(pe,be){return _e.readField(be,pe)},he=_e.keyObject=He(de,function(pe){var be=Ge(_e.storeObject,pe,ae);return void 0===be&&le!==_e.storeObject&&T.RI.call(le,pe[0])&&(be=Ge(le,pe,st)),__DEV__?(0,r.kG)(void 0!==be,"Missing field '".concat(pe.join("."),"' while extracting keyFields from ").concat(JSON.stringify(le))):(0,r.kG)(void 0!==be,2),be});return"".concat(_e.typename,":").concat(JSON.stringify(he))})}function Ce(de){var K=P(de);return K.keyArgsFn||(K.keyArgsFn=function(le,_e){var ae=_e.field,he=_e.variables,pe=_e.fieldName,be=He(de,function(Ae){var Je=Ae[0],ct=Je.charAt(0);if("@"!==ct)if("$"!==ct){if(le)return Ge(le,Ae)}else{var Zt=Je.slice(1);if(he&&T.RI.call(he,Zt)){var $t=Ae.slice(0);return $t[0]=Zt,Ge(he,$t)}}else if(ae&&(0,Re.O)(ae.directives)){var mt=Je.slice(1),Mt=ae.directives.find(function(nn){return nn.name.value===mt}),St=Mt&&(0,w.NC)(Mt,he);return St&&Ge(St,Ae.slice(1))}}),Oe=JSON.stringify(be);return(le||"{}"!==Oe)&&(pe+=":"+Oe),pe})}function He(de,K){var le=new b.w0;return Qe(de).reduce(function(_e,ae){var he,pe=K(ae);if(void 0!==pe){for(var be=ae.length-1;be>=0;--be)(he={})[ae[be]]=pe,pe=he;_e=le.merge(_e,pe)}return _e},Object.create(null))}function Qe(de){var K=P(de);if(!K.paths){var le=K.paths=[],_e=[];de.forEach(function(ae,he){(0,T.kJ)(ae)?(Qe(ae).forEach(function(pe){return le.push(_e.concat(pe))}),_e.length=0):(_e.push(ae),(0,T.kJ)(de[he+1])||(le.push(_e.slice(0)),_e.length=0))})}return K.paths}function st(de,K){return de[K]}function Ge(de,K,le){return le=le||st,at(K.reduce(function _e(ae,he){return(0,T.kJ)(ae)?ae.map(function(pe){return _e(pe,he)}):ae&&le(ae,he)},de))}function at(de){return(0,v.s)(de)?(0,T.kJ)(de)?de.map(at):He(Object.keys(de).sort(),function(K){return Ge(de,K)}):de}function _t(de){return void 0!==de.args?de.args:de.field?(0,w.NC)(de.field,de.variables):null}w.PT.setStringify(X.B);var xt=function(){},yt=function(de,K){return K.fieldName},Pt=function(de,K,le){return(0,le.mergeObjects)(de,K)},At=function(de,K){return K},nt=function(){function de(K){this.config=K,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,o.pi)({dataIdFromObject:T.uG},K),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),K.possibleTypes&&this.addPossibleTypes(K.possibleTypes),K.typePolicies&&this.addTypePolicies(K.typePolicies)}return de.prototype.identify=function(K,le){var _e,ae=this,he=le&&(le.typename||(null===(_e=le.storeObject)||void 0===_e?void 0:_e.__typename))||K.__typename;if(he===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var Oe,pe=le&&le.storeObject||K,be=(0,o.pi)((0,o.pi)({},le),{typename:he,storeObject:pe,readField:le&&le.readField||function(){var mt=G(arguments,pe);return ae.readField(mt,{store:ae.cache.data,variables:mt.variables})}}),Ae=he&&this.getTypePolicy(he),Je=Ae&&Ae.keyFn||this.config.dataIdFromObject;Je;){var ct=Je(K,be);if(!(0,T.kJ)(ct)){Oe=ct;break}Je=se(ct)}return Oe=Oe?String(Oe):void 0,be.keyObject?[Oe,be.keyObject]:[Oe]},de.prototype.addTypePolicies=function(K){var le=this;Object.keys(K).forEach(function(_e){var ae=K[_e],he=ae.queryType,pe=ae.mutationType,be=ae.subscriptionType,Oe=(0,o._T)(ae,["queryType","mutationType","subscriptionType"]);he&&le.setRootTypename("Query",_e),pe&&le.setRootTypename("Mutation",_e),be&&le.setRootTypename("Subscription",_e),T.RI.call(le.toBeAdded,_e)?le.toBeAdded[_e].push(Oe):le.toBeAdded[_e]=[Oe]})},de.prototype.updateTypePolicy=function(K,le){var _e=this,ae=this.getTypePolicy(K),he=le.keyFields,pe=le.fields;function be(Oe,Ae){Oe.merge="function"==typeof Ae?Ae:!0===Ae?Pt:!1===Ae?At:Oe.merge}be(ae,le.merge),ae.keyFn=!1===he?xt:(0,T.kJ)(he)?se(he):"function"==typeof he?he:ae.keyFn,pe&&Object.keys(pe).forEach(function(Oe){var Ae=_e.getFieldPolicy(K,Oe,!0),Je=pe[Oe];if("function"==typeof Je)Ae.read=Je;else{var ct=Je.keyArgs,mt=Je.read,Mt=Je.merge;Ae.keyFn=!1===ct?yt:(0,T.kJ)(ct)?Ce(ct):"function"==typeof ct?ct:Ae.keyFn,"function"==typeof mt&&(Ae.read=mt),be(Ae,Mt)}Ae.read&&Ae.merge&&(Ae.keyFn=Ae.keyFn||yt)})},de.prototype.setRootTypename=function(K,le){void 0===le&&(le=K);var _e="ROOT_"+K.toUpperCase(),ae=this.rootTypenamesById[_e];le!==ae&&(__DEV__?(0,r.kG)(!ae||ae===K,"Cannot change root ".concat(K," __typename more than once")):(0,r.kG)(!ae||ae===K,3),ae&&delete this.rootIdsByTypename[ae],this.rootIdsByTypename[le]=_e,this.rootTypenamesById[_e]=le)},de.prototype.addPossibleTypes=function(K){var le=this;this.usingPossibleTypes=!0,Object.keys(K).forEach(function(_e){le.getSupertypeSet(_e,!0),K[_e].forEach(function(ae){le.getSupertypeSet(ae,!0).add(_e);var he=ae.match(T.$O);(!he||he[0]!==ae)&&le.fuzzySubtypes.set(ae,new RegExp(ae))})})},de.prototype.getTypePolicy=function(K){var le=this;if(!T.RI.call(this.typePolicies,K)){var _e=this.typePolicies[K]=Object.create(null);_e.fields=Object.create(null);var ae=this.supertypeMap.get(K);ae&&ae.size&&ae.forEach(function(pe){var be=le.getTypePolicy(pe),Oe=be.fields,Ae=(0,o._T)(be,["fields"]);Object.assign(_e,Ae),Object.assign(_e.fields,Oe)})}var he=this.toBeAdded[K];return he&&he.length&&he.splice(0).forEach(function(pe){le.updateTypePolicy(K,pe)}),this.typePolicies[K]},de.prototype.getFieldPolicy=function(K,le,_e){if(K){var ae=this.getTypePolicy(K).fields;return ae[le]||_e&&(ae[le]=Object.create(null))}},de.prototype.getSupertypeSet=function(K,le){var _e=this.supertypeMap.get(K);return!_e&&le&&this.supertypeMap.set(K,_e=new Set),_e},de.prototype.fragmentMatches=function(K,le,_e,ae){var he=this;if(!K.typeCondition)return!0;if(!le)return!1;var pe=K.typeCondition.name.value;if(le===pe)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(pe))for(var be=this.getSupertypeSet(le,!0),Oe=[be],Ae=function(St){var Zt=he.getSupertypeSet(St,!1);Zt&&Zt.size&&Oe.indexOf(Zt)<0&&Oe.push(Zt)},Je=!(!_e||!this.fuzzySubtypes.size),ct=!1,mt=0;mt1?de[1]:K}:(pe=(0,o.pi)({},_e),T.RI.call(pe,"from")||(pe.from=K)),__DEV__&&void 0===pe.from&&__DEV__&&r.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function xe(de){var K=(0,re.X)("stringifyForDisplay");return JSON.stringify(de,function(le,_e){return void 0===_e?K:_e}).split(JSON.stringify(K)).join("")}(Array.from(de)))),void 0===pe.variables&&(pe.variables=le),pe}function U(de){return function(le,_e){if((0,T.kJ)(le)||(0,T.kJ)(_e))throw __DEV__?new r.ej("Cannot automatically merge arrays"):new r.ej(4);if((0,v.s)(le)&&(0,v.s)(_e)){var ae=de.getFieldValue(le,"__typename"),he=de.getFieldValue(_e,"__typename");if(ae&&he&&ae!==he)return _e;if((0,w.Yk)(le)&&(0,T.j)(_e))return de.merge(le.__ref,_e),le;if((0,T.j)(le)&&(0,w.Yk)(_e))return de.merge(le,_e.__ref),_e;if((0,T.j)(le)&&(0,T.j)(_e))return(0,o.pi)((0,o.pi)({},le),_e)}return _e}}function ie(de,K,le){var _e="".concat(K).concat(le),ae=de.flavors.get(_e);return ae||de.flavors.set(_e,ae=de.clientOnly===K&&de.deferred===le?de:(0,o.pi)((0,o.pi)({},de),{clientOnly:K,deferred:le})),ae}var oe=function(){function de(K,le){this.cache=K,this.reader=le}return de.prototype.writeToStore=function(K,le){var _e=this,ae=le.query,he=le.result,pe=le.dataId,be=le.variables,Oe=le.overwrite,Ae=(0,B.$H)(ae),Je=(0,T.ig)();be=(0,o.pi)((0,o.pi)({},(0,B.O4)(Ae)),be);var ct={store:K,written:Object.create(null),merge:function(Mt,St){return Je.merge(Mt,St)},variables:be,varString:(0,X.B)(be),fragmentMap:(0,m.F)((0,B.kU)(ae)),overwrite:!!Oe,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},mt=this.processSelectionSet({result:he||Object.create(null),dataId:pe,selectionSet:Ae.selectionSet,mergeTree:{map:new Map},context:ct});if(!(0,w.Yk)(mt))throw __DEV__?new r.ej("Could not identify object ".concat(JSON.stringify(he))):new r.ej(6);return ct.incomingById.forEach(function(Mt,St){var Zt=Mt.storeObject,$t=Mt.mergeTree,nn=Mt.fieldNodeSet,ln=(0,w.kQ)(St);if($t&&$t.map.size){var Ut=_e.applyMerges($t,ln,Zt,ct);if((0,w.Yk)(Ut))return;Zt=Ut}if(__DEV__&&!ct.overwrite){var en=Object.create(null);nn.forEach(function(ut){ut.selectionSet&&(en[ut.name.value]=!0)}),Object.keys(Zt).forEach(function(ut){(function(ut){return!0===en[(0,T.E_)(ut)]})(ut)&&!function(ut){var Pe=$t&&$t.map.get(ut);return Boolean(Pe&&Pe.info&&Pe.info.merge)}(ut)&&function Ye(de,K,le,_e){var ae=function(ct){var mt=_e.getFieldValue(ct,le);return"object"==typeof mt&&mt},he=ae(de);if(he){var pe=ae(K);if(pe&&!(0,w.Yk)(he)&&!(0,_.D)(he,pe)&&!Object.keys(he).every(function(ct){return void 0!==_e.getFieldValue(pe,ct)})){var be=_e.getFieldValue(de,"__typename")||_e.getFieldValue(K,"__typename"),Oe=(0,T.E_)(le),Ae="".concat(be,".").concat(Oe);if(!We.has(Ae)){We.add(Ae);var Je=[];!(0,T.kJ)(he)&&!(0,T.kJ)(pe)&&[he,pe].forEach(function(ct){var mt=_e.getFieldValue(ct,"__typename");"string"==typeof mt&&!Je.includes(mt)&&Je.push(mt)}),__DEV__&&r.kG.warn("Cache data may be lost when replacing the ".concat(Oe," field of a ").concat(be," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(Je.length?"either ensure all objects of type "+Je.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(Ae," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(he).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(pe).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(ln,Zt,ut,ct.store)})}K.merge(St,Zt)}),K.retain(mt.__ref),mt},de.prototype.processSelectionSet=function(K){var le=this,_e=K.dataId,ae=K.result,he=K.selectionSet,pe=K.context,be=K.mergeTree,Oe=this.cache.policies,Ae=Object.create(null),Je=_e&&Oe.rootTypenamesById[_e]||(0,w.qw)(ae,he,pe.fragmentMap)||_e&&pe.store.get(_e,"__typename");"string"==typeof Je&&(Ae.__typename=Je);var ct=function(){var Ut=G(arguments,Ae,pe.variables);if((0,w.Yk)(Ut.from)){var en=pe.incomingById.get(Ut.from.__ref);if(en){var Rt=Oe.readField((0,o.pi)((0,o.pi)({},Ut),{from:en.storeObject}),pe);if(void 0!==Rt)return Rt}}return Oe.readField(Ut,pe)},mt=new Set;this.flattenFields(he,ae,pe,Je).forEach(function(Ut,en){var Rt,Ht=(0,w.u2)(en),ut=ae[Ht];if(mt.add(en),void 0!==ut){var Pe=Oe.getStoreFieldName({typename:Je,fieldName:en.name.value,field:en,variables:Ut.variables}),I=Xe(be,Pe),O=le.processFieldValue(ut,en,en.selectionSet?ie(Ut,!1,!1):Ut,I),Q=void 0;en.selectionSet&&((0,w.Yk)(O)||(0,T.j)(O))&&(Q=ct("__typename",O));var Fe=Oe.getMergeFunction(Je,en.name.value,Q);Fe?I.info={field:en,typename:Je,merge:Fe}:Be(be,Pe),Ae=Ut.merge(Ae,((Rt={})[Pe]=O,Rt))}else __DEV__&&!Ut.clientOnly&&!Ut.deferred&&!L.Gw.added(en)&&!Oe.getReadFunction(Je,en.name.value)&&__DEV__&&r.kG.error("Missing field '".concat((0,w.u2)(en),"' while writing result ").concat(JSON.stringify(ae,null,2)).substring(0,1e3))});try{var Mt=Oe.identify(ae,{typename:Je,selectionSet:he,fragmentMap:pe.fragmentMap,storeObject:Ae,readField:ct}),Zt=Mt[1];_e=_e||Mt[0],Zt&&(Ae=pe.merge(Ae,Zt))}catch(Ut){if(!_e)throw Ut}if("string"==typeof _e){var $t=(0,w.kQ)(_e),nn=pe.written[_e]||(pe.written[_e]=[]);if(nn.indexOf(he)>=0||(nn.push(he),this.reader&&this.reader.isFresh(ae,$t,he,pe)))return $t;var ln=pe.incomingById.get(_e);return ln?(ln.storeObject=pe.merge(ln.storeObject,Ae),ln.mergeTree=Ze(ln.mergeTree,be),mt.forEach(function(Ut){return ln.fieldNodeSet.add(Ut)})):pe.incomingById.set(_e,{storeObject:Ae,mergeTree:we(be)?void 0:be,fieldNodeSet:mt}),$t}return Ae},de.prototype.processFieldValue=function(K,le,_e,ae){var he=this;return le.selectionSet&&null!==K?(0,T.kJ)(K)?K.map(function(pe,be){var Oe=he.processFieldValue(pe,le,_e,Xe(ae,be));return Be(ae,be),Oe}):this.processSelectionSet({result:K,selectionSet:le.selectionSet,context:_e,mergeTree:ae}):__DEV__?(0,$.X)(K):K},de.prototype.flattenFields=function(K,le,_e,ae){void 0===ae&&(ae=(0,w.qw)(le,K,_e.fragmentMap));var he=new Map,pe=this.cache.policies,be=new Ee.B(!1);return function Oe(Ae,Je){var ct=be.lookup(Ae,Je.clientOnly,Je.deferred);ct.visited||(ct.visited=!0,Ae.selections.forEach(function(mt){if((0,S.LZ)(mt,_e.variables)){var Mt=Je.clientOnly,St=Je.deferred;if(!(Mt&&St)&&(0,Re.O)(mt.directives)&&mt.directives.forEach(function(nn){var ln=nn.name.value;if("client"===ln&&(Mt=!0),"defer"===ln){var Ut=(0,w.NC)(nn,_e.variables);(!Ut||!1!==Ut.if)&&(St=!0)}}),(0,w.My)(mt)){var Zt=he.get(mt);Zt&&(Mt=Mt&&Zt.clientOnly,St=St&&Zt.deferred),he.set(mt,ie(_e,Mt,St))}else{var $t=(0,m.hi)(mt,_e.fragmentMap);$t&&pe.fragmentMatches($t,ae,le,_e.variables)&&Oe($t.selectionSet,ie(_e,Mt,St))}}}))}(K,_e),he},de.prototype.applyMerges=function(K,le,_e,ae,he){var pe,be=this;if(K.map.size&&!(0,w.Yk)(_e)){var Oe=(0,T.kJ)(_e)||!(0,w.Yk)(le)&&!(0,T.j)(le)?void 0:le,Ae=_e;Oe&&!he&&(he=[(0,w.Yk)(Oe)?Oe.__ref:Oe]);var Je,ct=function(mt,Mt){return(0,T.kJ)(mt)?"number"==typeof Mt?mt[Mt]:void 0:ae.store.getFieldValue(mt,String(Mt))};K.map.forEach(function(mt,Mt){var St=ct(Oe,Mt),Zt=ct(Ae,Mt);if(void 0!==Zt){he&&he.push(Mt);var $t=be.applyMerges(mt,St,Zt,ae,he);$t!==Zt&&(Je=Je||new Map).set(Mt,$t),he&&(0,r.kG)(he.pop()===Mt)}}),Je&&(_e=(0,T.kJ)(Ae)?Ae.slice(0):(0,o.pi)({},Ae),Je.forEach(function(mt,Mt){_e[Mt]=mt}))}return K.info?this.cache.policies.runMergeFunction(le,_e,K.info,ae,he&&(pe=ae.store).getStorage.apply(pe,he)):_e},de}(),Te=[];function Xe(de,K){var le=de.map;return le.has(K)||le.set(K,Te.pop()||{map:new Map}),le.get(K)}function Ze(de,K){if(de===K||!K||we(K))return de;if(!de||we(de))return K;var le=de.info&&K.info?(0,o.pi)((0,o.pi)({},de.info),K.info):de.info||K.info,_e=de.map.size&&K.map.size,he={info:le,map:_e?new Map:de.map.size?de.map:K.map};if(_e){var pe=new Set(K.map.keys());de.map.forEach(function(be,Oe){he.map.set(Oe,Ze(be,K.map.get(Oe))),pe.delete(Oe)}),pe.forEach(function(be){he.map.set(be,Ze(K.map.get(be),de.map.get(be)))})}return he}function we(de){return!de||!(de.info||de.map.size)}function Be(de,K){var le=de.map,_e=le.get(K);_e&&we(_e)&&(Te.push(_e),le.delete(K))}var We=new Set,et=function(de){function K(le){void 0===le&&(le={});var _e=de.call(this)||this;return _e.watches=new Set,_e.typenameDocumentCache=new Map,_e.makeVar=Ke.QS,_e.txCount=0,_e.config=(0,T.jS)(le),_e.addTypename=!!_e.config.addTypename,_e.policies=new nt({cache:_e,dataIdFromObject:_e.config.dataIdFromObject,possibleTypes:_e.config.possibleTypes,typePolicies:_e.config.typePolicies}),_e.init(),_e}return(0,o.ZT)(K,de),K.prototype.init=function(){var le=this.data=new Se.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=le.stump,this.resetResultCache()},K.prototype.resetResultCache=function(le){var _e=this,ae=this.storeReader;this.storeWriter=new oe(this,this.storeReader=new ke({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,T.lg)(this.config),canon:le?void 0:ae&&ae.canon})),this.maybeBroadcastWatch=(0,h.re)(function(he,pe){return _e.broadcastWatch(he,pe)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(he){var pe=he.optimistic?_e.optimisticData:_e.data;if(j(pe))return pe.makeCacheKey(he.query,he.callback,(0,X.B)({optimistic:he.optimistic,rootId:he.rootId,variables:he.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(he){return he.resetCaching()})},K.prototype.restore=function(le){return this.init(),le&&this.data.replace(le),this},K.prototype.extract=function(le){return void 0===le&&(le=!1),(le?this.optimisticData:this.data).extract()},K.prototype.read=function(le){var _e=le.returnPartialData,ae=void 0!==_e&&_e;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},le),{store:le.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:ae})).result||null}catch(he){if(he instanceof d.y)return null;throw he}},K.prototype.write=function(le){try{return++this.txCount,this.storeWriter.writeToStore(this.data,le)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.modify=function(le){if(T.RI.call(le,"id")&&!le.id)return!1;var _e=le.optimistic?this.optimisticData:this.data;try{return++this.txCount,_e.modify(le.id||"ROOT_QUERY",le.fields)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.diff=function(le){return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},le),{store:le.optimistic?this.optimisticData:this.data,rootId:le.id||"ROOT_QUERY",config:this.config}))},K.prototype.watch=function(le){var _e=this;return this.watches.size||(0,Ke._v)(this),this.watches.add(le),le.immediate&&this.maybeBroadcastWatch(le),function(){_e.watches.delete(le)&&!_e.watches.size&&(0,Ke.li)(_e),_e.maybeBroadcastWatch.forget(le)}},K.prototype.gc=function(le){X.B.reset();var _e=this.optimisticData.gc();return le&&!this.txCount&&(le.resetResultCache?this.resetResultCache(le.resetResultIdentities):le.resetResultIdentities&&this.storeReader.resetCanon()),_e},K.prototype.retain=function(le,_e){return(_e?this.optimisticData:this.data).retain(le)},K.prototype.release=function(le,_e){return(_e?this.optimisticData:this.data).release(le)},K.prototype.identify=function(le){if((0,w.Yk)(le))return le.__ref;try{return this.policies.identify(le)[0]}catch(_e){__DEV__&&r.kG.warn(_e)}},K.prototype.evict=function(le){if(!le.id){if(T.RI.call(le,"id"))return!1;le=(0,o.pi)((0,o.pi)({},le),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(le,this.data)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.reset=function(le){var _e=this;return this.init(),X.B.reset(),le&&le.discardWatches?(this.watches.forEach(function(ae){return _e.maybeBroadcastWatch.forget(ae)}),this.watches.clear(),(0,Ke.li)(this)):this.broadcastWatches(),Promise.resolve()},K.prototype.removeOptimistic=function(le){var _e=this.optimisticData.removeLayer(le);_e!==this.optimisticData&&(this.optimisticData=_e,this.broadcastWatches())},K.prototype.batch=function(le){var Ae,_e=this,ae=le.update,he=le.optimistic,pe=void 0===he||he,be=le.removeOptimistic,Oe=le.onWatchUpdated,Je=function(mt){var St=_e.data,Zt=_e.optimisticData;++_e.txCount,mt&&(_e.data=_e.optimisticData=mt);try{return Ae=ae(_e)}finally{--_e.txCount,_e.data=St,_e.optimisticData=Zt}},ct=new Set;return Oe&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},le),{onWatchUpdated:function(mt){return ct.add(mt),!1}})),"string"==typeof pe?this.optimisticData=this.optimisticData.addLayer(pe,Je):!1===pe?Je(this.data):Je(),"string"==typeof be&&(this.optimisticData=this.optimisticData.removeLayer(be)),Oe&&ct.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},le),{onWatchUpdated:function(mt,Mt){var St=Oe.call(this,mt,Mt);return!1!==St&&ct.delete(mt),St}})),ct.size&&ct.forEach(function(mt){return _e.maybeBroadcastWatch.dirty(mt)})):this.broadcastWatches(le),Ae},K.prototype.performTransaction=function(le,_e){return this.batch({update:le,optimistic:_e||null!==_e})},K.prototype.transformDocument=function(le){if(this.addTypename){var _e=this.typenameDocumentCache.get(le);return _e||(_e=(0,L.Gw)(le),this.typenameDocumentCache.set(le,_e),this.typenameDocumentCache.set(_e,_e)),_e}return le},K.prototype.broadcastWatches=function(le){var _e=this;this.txCount||this.watches.forEach(function(ae){return _e.maybeBroadcastWatch(ae,le)})},K.prototype.broadcastWatch=function(le,_e){var ae=le.lastDiff,he=this.diff(le);_e&&(le.optimistic&&"string"==typeof _e.optimistic&&(he.fromOptimisticTransaction=!0),_e.onWatchUpdated&&!1===_e.onWatchUpdated.call(this,le,he,ae))||(!ae||!(0,_.D)(ae.result,he.result))&&le.callback(le.lastDiff=he,ae)},K}(f.R)},7149:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>A,h:()=>L});var g,B,o=s(4762),h=(s(138),s(2844)),_=s(9231),f=s(7289),d=s(460),L=function(){function b(){this.known=new(f.sy?WeakSet:Set),this.pool=new h.B(f.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return b.prototype.isKnown=function(S){return(0,_.s)(S)&&this.known.has(S)},b.prototype.pass=function(S){if((0,_.s)(S)){var v=function w(b){return(0,_.s)(b)?(0,d.kJ)(b)?b.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(b)},b):b}(S);return this.passes.set(v,S),v}return S},b.prototype.admit=function(S){var v=this;if((0,_.s)(S)){var H=this.passes.get(S);if(H)return H;switch(Object.getPrototypeOf(S)){case Array.prototype:if(this.known.has(S))return S;var te=S.map(this.admit,this);return(Ee=this.pool.lookupArray(te)).array||(this.known.add(Ee.array=te),__DEV__&&Object.freeze(te)),Ee.array;case null:case Object.prototype:if(this.known.has(S))return S;var T=Object.getPrototypeOf(S),ue=[T],Z=this.sortedKeys(S);ue.push(Z.json);var Ee,Me=ue.length;if(Z.sorted.forEach(function(ye){ue.push(v.admit(S[ye]))}),!(Ee=this.pool.lookupArray(ue)).object){var Se=Ee.object=Object.create(T);this.known.add(Se),Z.sorted.forEach(function(ye,De){Se[ye]=ue[Me+De]}),__DEV__&&Object.freeze(Se)}return Ee.object}}return S},b.prototype.sortedKeys=function(S){var v=Object.keys(S),H=this.pool.lookupArray(v);if(!H.keys){v.sort();var x=JSON.stringify(v);(H.keys=this.keysByJSON.get(x))||this.keysByJSON.set(x,H.keys={sorted:v,json:x})}return H.keys},b}(),A=Object.assign(function(b){if((0,_.s)(b)){void 0===g&&m();var S=g.admit(b),v=B.get(S);return void 0===v&&B.set(S,v=JSON.stringify(S)),v}return JSON.stringify(b)},{reset:m});function m(){g=new L,B=new(f.mr?WeakMap:Map)}},4350:(Ue,J,s)=>{"use strict";s.d(J,{QS:()=>L,_v:()=>w,ab:()=>h,li:()=>d});var o=s(1747),h=new(s(1558).g7),_=new WeakMap;function f(g){var B=_.get(g);return B||_.set(g,B={vars:new Set,dep:(0,o.dP)()}),B}function d(g){f(g).vars.forEach(function(B){return B.forgetCache(g)})}function w(g){f(g).vars.forEach(function(B){return B.attachCache(g)})}function L(g){var B=new Set,m=new Set,b=function(v){if(arguments.length>0){if(g!==v){g=v,B.forEach(function(te){f(te).dep.dirty(b),A(te)});var H=Array.from(m);m.clear(),H.forEach(function(te){return te(g)})}}else{var x=h.getValue();x&&(S(x),f(x).dep(b))}return g};b.onNextChange=function(v){return m.add(v),function(){m.delete(v)}};var S=b.attachCache=function(v){return B.add(v),f(v).vars.add(b),b};return b.forgetCache=function(v){return B.delete(v)},b}function A(g){g.broadcastWatches&&g.broadcastWatches()}},5447:(Ue,J,s)=>{"use strict";s.d(J,{f:()=>Ke});var o=s(4762),r=s(138),h=s(56),_=s(8498),d=s(3111),w=s(1913),L=s(7149),A=s(7289),g=s(4854);function B(me,P,se){return new g.y(function(Ce){var He=Ce.next,Qe=Ce.error,st=Ce.complete,Ge=0,at=!1,_t={then:function(At){return new Promise(function(nt){return nt(At())})}};function xt(At,nt){return At?function(ft){++Ge;var G=function(){return At(ft)};_t=_t.then(G,G).then(function(U){--Ge,He&&He.call(Ce,U),at&&yt.complete()},function(U){throw--Ge,U}).catch(function(U){Qe&&Qe.call(Ce,U)})}:function(ft){return nt&&nt.call(Ce,ft)}}var yt={next:xt(P,He),error:xt(se,Qe),complete:function(){at=!0,Ge||st&&st.call(Ce)}},Pt=me.subscribe(yt);return function(){return Pt.unsubscribe()}})}function m(me){return me.errors&&me.errors.length>0||!1}var b=s(1144),S=s(8234),v=s(443),H=s(9737),x=s(9231),te=s(5801),Ee=s(1194),T=s(2652);function ue(me){return me&&"function"==typeof me.then}var Z=function(me){function P(se){var Ce=me.call(this,function(He){return Ce.addObserver(He),function(){return Ce.removeObserver(He)}})||this;return Ce.observers=new Set,Ce.addCount=0,Ce.promise=new Promise(function(He,Qe){Ce.resolve=He,Ce.reject=Qe}),Ce.handlers={next:function(He){null!==Ce.sub&&(Ce.latest=["next",He],(0,Ee.p)(Ce.observers,"next",He))},error:function(He){var Qe=Ce.sub;null!==Qe&&(Qe&&setTimeout(function(){return Qe.unsubscribe()}),Ce.sub=null,Ce.latest=["error",He],Ce.reject(He),(0,Ee.p)(Ce.observers,"error",He))},complete:function(){var He=Ce.sub;if(null!==He){var Qe=Ce.sources.shift();Qe?ue(Qe)?Qe.then(function(st){return Ce.sub=st.subscribe(Ce.handlers)}):Ce.sub=Qe.subscribe(Ce.handlers):(He&&setTimeout(function(){return He.unsubscribe()}),Ce.sub=null,Ce.latest&&"next"===Ce.latest[0]?Ce.resolve(Ce.latest[1]):Ce.resolve(),(0,Ee.p)(Ce.observers,"complete"))}}},Ce.cancel=function(He){Ce.reject(He),Ce.sources=[],Ce.handlers.complete()},Ce.promise.catch(function(He){}),"function"==typeof se&&(se=[new g.y(se)]),ue(se)?se.then(function(He){return Ce.start(He)},Ce.handlers.error):Ce.start(se),Ce}return(0,o.ZT)(P,me),P.prototype.start=function(se){void 0===this.sub&&(this.sources=Array.from(se),this.handlers.complete())},P.prototype.deliverLastMessage=function(se){if(this.latest){var Ce=this.latest[0],He=se[Ce];He&&He.call(se,this.latest[1]),null===this.sub&&"next"===Ce&&se.complete&&se.complete()}},P.prototype.addObserver=function(se){this.observers.has(se)||(this.deliverLastMessage(se),this.observers.add(se),++this.addCount)},P.prototype.removeObserver=function(se,Ce){this.observers.delete(se)&&--this.addCount<1&&!Ce&&this.handlers.complete()},P.prototype.cleanup=function(se){var Ce=this,He=!1,Qe=function(){He||(He=!0,Ce.observers.delete(st),se())},st={next:Qe,error:Qe,complete:Qe},Ge=this.addCount;this.addObserver(st),this.addCount=Ge},P}(g.y);(0,T.D)(Z);var Me=s(8779),Se=s(709),ve=s(4167),ye=s(3135),De=s(9098),z=s(6216),Y=s(1598),V=s(4350),j=function(){function me(P){var Ce=P.client,He=P.resolvers,Qe=P.fragmentMatcher;this.cache=P.cache,Ce&&(this.client=Ce),He&&this.addResolvers(He),Qe&&this.setFragmentMatcher(Qe)}return me.prototype.addResolvers=function(P){var se=this;this.resolvers=this.resolvers||{},Array.isArray(P)?P.forEach(function(Ce){se.resolvers=(0,z.Ee)(se.resolvers,Ce)}):this.resolvers=(0,z.Ee)(this.resolvers,P)},me.prototype.setResolvers=function(P){this.resolvers={},this.addResolvers(P)},me.prototype.getResolvers=function(){return this.resolvers||{}},me.prototype.runResolvers=function(P){var se=P.document,Ce=P.remoteResult,He=P.context,Qe=P.variables,st=P.onlyRunForcedResolvers,Ge=void 0!==st&&st;return(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(at){return se?[2,this.resolveDocument(se,Ce.data,He,Qe,this.fragmentMatcher,Ge).then(function(_t){return(0,o.pi)((0,o.pi)({},Ce),{data:_t.result})})]:[2,Ce]})})},me.prototype.setFragmentMatcher=function(P){this.fragmentMatcher=P},me.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},me.prototype.clientQuery=function(P){return(0,v.FS)(["client"],P)&&this.resolvers?P:null},me.prototype.serverQuery=function(P){return(0,S.ob)(P)},me.prototype.prepareContext=function(P){var se=this.cache;return(0,o.pi)((0,o.pi)({},P),{cache:se,getCacheKey:function(Ce){return se.identify(Ce)}})},me.prototype.addExportedVariables=function(P,se,Ce){return void 0===se&&(se={}),void 0===Ce&&(Ce={}),(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(He){return P?[2,this.resolveDocument(P,this.buildRootValueFromCache(P,se)||{},this.prepareContext(Ce),se).then(function(Qe){return(0,o.pi)((0,o.pi)({},se),Qe.exportedVariables)})]:[2,(0,o.pi)({},se)]})})},me.prototype.shouldForceResolvers=function(P){var se=!1;return(0,De.Vn)(P,{Directive:{enter:function(Ce){if("client"===Ce.name.value&&Ce.arguments&&(se=Ce.arguments.some(function(He){return"always"===He.name.value&&"BooleanValue"===He.value.kind&&!0===He.value.value})))return De.$_}}}),se},me.prototype.buildRootValueFromCache=function(P,se){return this.cache.diff({query:(0,S.aL)(P),variables:se,returnPartialData:!0,optimistic:!1}).result},me.prototype.resolveDocument=function(P,se,Ce,He,Qe,st){return void 0===Ce&&(Ce={}),void 0===He&&(He={}),void 0===Qe&&(Qe=function(){return!0}),void 0===st&&(st=!1),(0,o.mG)(this,void 0,void 0,function(){var Ge,at,_t,xt,yt,Pt,At,nt,ft;return(0,o.Jh)(this,function(G){return Ge=(0,b.p$)(P),at=(0,b.kU)(P),_t=(0,Y.F)(at),yt=(xt=Ge.operation)?xt.charAt(0).toUpperCase()+xt.slice(1):"Query",At=(Pt=this).cache,nt=Pt.client,ft={fragmentMap:_t,context:(0,o.pi)((0,o.pi)({},Ce),{cache:At,client:nt}),variables:He,fragmentMatcher:Qe,defaultOperationType:yt,exportedVariables:{},onlyRunForcedResolvers:st},[2,this.resolveSelectionSet(Ge.selectionSet,se,ft).then(function(U){return{result:U,exportedVariables:ft.exportedVariables}})]})})},me.prototype.resolveSelectionSet=function(P,se,Ce){return(0,o.mG)(this,void 0,void 0,function(){var He,Qe,st,Ge,_t=this;return(0,o.Jh)(this,function(xt){return He=Ce.fragmentMap,Qe=Ce.context,st=Ce.variables,Ge=[se],[2,Promise.all(P.selections.map(function(yt){return(0,o.mG)(_t,void 0,void 0,function(){var Pt;return(0,o.Jh)(this,function(nt){return(0,v.LZ)(yt,st)?(0,H.My)(yt)?[2,this.resolveField(yt,se,Ce).then(function(ft){var G;typeof ft<"u"&&Ge.push(((G={})[(0,H.u2)(yt)]=ft,G))})]:((0,H.Ao)(yt)?Pt=yt:(Pt=He[yt.name.value],__DEV__?(0,r.kG)(Pt,"No fragment named ".concat(yt.name.value)):(0,r.kG)(Pt,9)),Pt&&Pt.typeCondition&&Ce.fragmentMatcher(se,Pt.typeCondition.name.value,Qe)?[2,this.resolveSelectionSet(Pt.selectionSet,se,Ce).then(function(ft){Ge.push(ft)})]:[2]):[2]})})})).then(function(){return(0,z.bw)(Ge)})]})})},me.prototype.resolveField=function(P,se,Ce){return(0,o.mG)(this,void 0,void 0,function(){var He,Qe,st,Ge,at,_t,xt,yt,Pt,At=this;return(0,o.Jh)(this,function(nt){return He=Ce.variables,Qe=P.name.value,st=(0,H.u2)(P),Ge=Qe!==st,at=se[st]||se[Qe],_t=Promise.resolve(at),(!Ce.onlyRunForcedResolvers||this.shouldForceResolvers(P))&&(xt=se.__typename||Ce.defaultOperationType,(yt=this.resolvers&&this.resolvers[xt])&&(Pt=yt[Ge?Qe:st])&&(_t=Promise.resolve(V.ab.withValue(this.cache,Pt,[se,(0,H.NC)(P,He),Ce.context,{field:P,fragmentMap:Ce.fragmentMap}])))),[2,_t.then(function(ft){return void 0===ft&&(ft=at),P.directives&&P.directives.forEach(function(G){"export"===G.name.value&&G.arguments&&G.arguments.forEach(function(U){"as"===U.name.value&&"StringValue"===U.value.kind&&(Ce.exportedVariables[U.value.value]=ft)})}),P.selectionSet&&null!=ft?Array.isArray(ft)?At.resolveSubSelectedArray(P,ft,Ce):P.selectionSet?At.resolveSelectionSet(P.selectionSet,ft,Ce):void 0:ft})]})})},me.prototype.resolveSubSelectedArray=function(P,se,Ce){var He=this;return Promise.all(se.map(function(Qe){return null===Qe?null:Array.isArray(Qe)?He.resolveSubSelectedArray(P,Qe,Ce):P.selectionSet?He.resolveSelectionSet(P.selectionSet,Qe,Ce):void 0}))},me}(),X=new(A.mr?WeakMap:Map);function Ie(me,P){var se=me[P];"function"==typeof se&&(me[P]=function(){return X.set(me,(X.get(me)+1)%1e15),se.apply(this,arguments)})}function ke(me){me.notifyTimeout&&(clearTimeout(me.notifyTimeout),me.notifyTimeout=void 0)}var tt=function(){function me(P,se){void 0===se&&(se=P.generateQueryId()),this.queryId=se,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var Ce=this.cache=P.cache;X.has(Ce)||(X.set(Ce,0),Ie(Ce,"evict"),Ie(Ce,"modify"),Ie(Ce,"reset"))}return me.prototype.init=function(P){var se=P.networkStatus||ye.I.loading;return this.variables&&this.networkStatus!==ye.I.loading&&!(0,w.D)(this.variables,P.variables)&&(se=ye.I.setVariables),(0,w.D)(P.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:P.document,variables:P.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:se}),P.observableQuery&&this.setObservableQuery(P.observableQuery),P.lastRequestId&&(this.lastRequestId=P.lastRequestId),this},me.prototype.reset=function(){ke(this),this.lastDiff=void 0,this.dirty=!1},me.prototype.getDiff=function(P){void 0===P&&(P=this.variables);var se=this.getDiffOptions(P);if(this.lastDiff&&(0,w.D)(se,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=P);var Ce=this.observableQuery;if(Ce&&"no-cache"===Ce.options.fetchPolicy)return{complete:!1};var He=this.cache.diff(se);return this.updateLastDiff(He,se),He},me.prototype.updateLastDiff=function(P,se){this.lastDiff=P?{diff:P,options:se||this.getDiffOptions()}:void 0},me.prototype.getDiffOptions=function(P){var se;return void 0===P&&(P=this.variables),{query:this.document,variables:P,returnPartialData:!0,optimistic:!0,canonizeResults:null===(se=this.observableQuery)||void 0===se?void 0:se.options.canonizeResults}},me.prototype.setDiff=function(P){var se=this,Ce=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(P),!this.dirty&&!(0,w.D)(Ce&&Ce.result,P&&P.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return se.notify()},0)))},me.prototype.setObservableQuery=function(P){var se=this;P!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=P,P?(P.queryInfo=this,this.listeners.add(this.oqListener=function(){se.getDiff().fromOptimisticTransaction?P.observe():(0,ve.vj)(P)})):delete this.oqListener)},me.prototype.notify=function(){var P=this;ke(this),this.shouldNotify()&&this.listeners.forEach(function(se){return se(P)}),this.dirty=!1},me.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,ye.O)(this.networkStatus)&&this.observableQuery){var P=this.observableQuery.options.fetchPolicy;if("cache-only"!==P&&"cache-and-network"!==P)return!1}return!0},me.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=me.prototype.cancel,this.subscriptions.forEach(function(se){return se.unsubscribe()});var P=this.observableQuery;P&&P.stopPolling()}},me.prototype.cancel=function(){},me.prototype.updateWatch=function(P){var se=this;void 0===P&&(P=this.variables);var Ce=this.observableQuery;if(!Ce||"no-cache"!==Ce.options.fetchPolicy){var He=(0,o.pi)((0,o.pi)({},this.getDiffOptions(P)),{watcher:this,callback:function(Qe){return se.setDiff(Qe)}});(!this.lastWatch||!(0,w.D)(He,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=He))}},me.prototype.resetLastWrite=function(){this.lastWrite=void 0},me.prototype.shouldWrite=function(P,se){var Ce=this.lastWrite;return!(Ce&&Ce.dmCount===X.get(this.cache)&&(0,w.D)(se,Ce.variables)&&(0,w.D)(P.data,Ce.result.data))},me.prototype.markResult=function(P,se,Ce){var He=this;this.graphQLErrors=(0,Me.O)(P.errors)?P.errors:[],this.reset(),"no-cache"===se.fetchPolicy?this.updateLastDiff({result:P.data,complete:!0},this.getDiffOptions(se.variables)):0!==Ce&&(lt(P,se.errorPolicy)?this.cache.performTransaction(function(Qe){if(He.shouldWrite(P,se.variables))Qe.writeQuery({query:He.document,data:P.data,variables:se.variables,overwrite:1===Ce}),He.lastWrite={result:P,variables:se.variables,dmCount:X.get(He.cache)};else if(He.lastDiff&&He.lastDiff.diff.complete)return void(P.data=He.lastDiff.diff.result);var st=He.getDiffOptions(se.variables),Ge=Qe.diff(st);He.stopped||He.updateWatch(se.variables),He.updateLastDiff(Ge,st),Ge.complete&&(P.data=Ge.result)}):this.lastWrite=void 0)},me.prototype.markReady=function(){return this.networkError=null,this.networkStatus=ye.I.ready},me.prototype.markError=function(P){return this.networkStatus=ye.I.error,this.lastWrite=void 0,this.reset(),P.graphQLErrors&&(this.graphQLErrors=P.graphQLErrors),P.networkError&&(this.networkError=P.networkError),P},me}();function lt(me,P){void 0===P&&(P="none");var se="ignore"===P||"all"===P,Ce=!m(me);return!Ce&&se&&me.data&&(Ce=!0),Ce}var $=Object.prototype.hasOwnProperty,Re=function(){function me(P){var se=P.cache,Ce=P.link,He=P.defaultOptions,Qe=P.queryDeduplication,st=void 0!==Qe&&Qe,Ge=P.onBroadcast,at=P.ssrMode,_t=void 0!==at&&at,xt=P.clientAwareness,yt=void 0===xt?{}:xt,Pt=P.localState,At=P.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(A.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=se,this.link=Ce,this.defaultOptions=He||Object.create(null),this.queryDeduplication=st,this.clientAwareness=yt,this.localState=Pt||new j({cache:se}),this.ssrMode=_t,this.assumeImmutableResults=!!At,(this.onBroadcast=Ge)&&(this.mutationStore=Object.create(null))}return me.prototype.stop=function(){var P=this;this.queries.forEach(function(se,Ce){P.stopQueryNoBroadcast(Ce)}),this.cancelPendingFetches(__DEV__?new r.ej("QueryManager stopped while query was in flight"):new r.ej(11))},me.prototype.cancelPendingFetches=function(P){this.fetchCancelFns.forEach(function(se){return se(P)}),this.fetchCancelFns.clear()},me.prototype.mutate=function(P){var se,Ce,He=P.mutation,Qe=P.variables,st=P.optimisticResponse,Ge=P.updateQueries,at=P.refetchQueries,_t=void 0===at?[]:at,xt=P.awaitRefetchQueries,yt=void 0!==xt&&xt,Pt=P.update,At=P.onQueryUpdated,nt=P.fetchPolicy,ft=void 0===nt?(null===(se=this.defaultOptions.mutate)||void 0===se?void 0:se.fetchPolicy)||"network-only":nt,G=P.errorPolicy,U=void 0===G?(null===(Ce=this.defaultOptions.mutate)||void 0===Ce?void 0:Ce.errorPolicy)||"none":G,ie=P.keepRootFields,oe=P.context;return(0,o.mG)(this,void 0,void 0,function(){var Te,Xe,Ze;return(0,o.Jh)(this,function(we){switch(we.label){case 0:return __DEV__?(0,r.kG)(He,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,r.kG)(He,12),__DEV__?(0,r.kG)("network-only"===ft||"no-cache"===ft,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,r.kG)("network-only"===ft||"no-cache"===ft,13),Te=this.generateMutationId(),He=this.transform(He).document,Qe=this.getVariables(He,Qe),this.transform(He).hasClientExports?[4,this.localState.addExportedVariables(He,Qe,oe)]:[3,2];case 1:Qe=we.sent(),we.label=2;case 2:return Xe=this.mutationStore&&(this.mutationStore[Te]={mutation:He,variables:Qe,loading:!0,error:null}),st&&this.markMutationOptimistic(st,{mutationId:Te,document:He,variables:Qe,fetchPolicy:ft,errorPolicy:U,context:oe,updateQueries:Ge,update:Pt,keepRootFields:ie}),this.broadcastQueries(),Ze=this,[2,new Promise(function(Be,We){return B(Ze.getObservableFromLink(He,(0,o.pi)((0,o.pi)({},oe),{optimisticResponse:st}),Qe,!1),function(Ye){if(m(Ye)&&"none"===U)throw new Se.c({graphQLErrors:Ye.errors});Xe&&(Xe.loading=!1,Xe.error=null);var et=(0,o.pi)({},Ye);return"function"==typeof _t&&(_t=_t(et)),"ignore"===U&&m(et)&&delete et.errors,Ze.markMutationResult({mutationId:Te,result:et,document:He,variables:Qe,fetchPolicy:ft,errorPolicy:U,context:oe,update:Pt,updateQueries:Ge,awaitRefetchQueries:yt,refetchQueries:_t,removeOptimistic:st?Te:void 0,onQueryUpdated:At,keepRootFields:ie})}).subscribe({next:function(Ye){Ze.broadcastQueries(),Be(Ye)},error:function(Ye){Xe&&(Xe.loading=!1,Xe.error=Ye),st&&Ze.cache.removeOptimistic(Te),Ze.broadcastQueries(),We(Ye instanceof Se.c?Ye:new Se.c({networkError:Ye}))}})})]}})})},me.prototype.markMutationResult=function(P,se){var Ce=this;void 0===se&&(se=this.cache);var He=P.result,Qe=[],st="no-cache"===P.fetchPolicy;if(!st&<(He,P.errorPolicy)){Qe.push({result:He.data,dataId:"ROOT_MUTATION",query:P.document,variables:P.variables});var Ge=P.updateQueries;Ge&&this.queries.forEach(function(_t,xt){var yt=_t.observableQuery,Pt=yt&&yt.queryName;if(Pt&&$.call(Ge,Pt)){var At=Ge[Pt],nt=Ce.queries.get(xt),ft=nt.document,G=nt.variables,U=se.diff({query:ft,variables:G,returnPartialData:!0,optimistic:!1}),ie=U.result;if(U.complete&&ie){var Te=At(ie,{mutationResult:He,queryName:ft&&(0,b.rY)(ft)||void 0,queryVariables:G});Te&&Qe.push({result:Te,dataId:"ROOT_QUERY",query:ft,variables:G})}}})}if(Qe.length>0||P.refetchQueries||P.update||P.onQueryUpdated||P.removeOptimistic){var at=[];if(this.refetchQueries({updateCache:function(_t){st||Qe.forEach(function(Pt){return _t.write(Pt)});var xt=P.update;if(xt){if(!st){var yt=_t.diff({id:"ROOT_MUTATION",query:Ce.transform(P.document).asQuery,variables:P.variables,optimistic:!1,returnPartialData:!0});yt.complete&&(He=(0,o.pi)((0,o.pi)({},He),{data:yt.result}))}xt(_t,He,{context:P.context,variables:P.variables})}!st&&!P.keepRootFields&&_t.modify({id:"ROOT_MUTATION",fields:function(Pt,At){return"__typename"===At.fieldName?Pt:At.DELETE}})},include:P.refetchQueries,optimistic:!1,removeOptimistic:P.removeOptimistic,onQueryUpdated:P.onQueryUpdated||null}).forEach(function(_t){return at.push(_t)}),P.awaitRefetchQueries||P.onQueryUpdated)return Promise.all(at).then(function(){return He})}return Promise.resolve(He)},me.prototype.markMutationOptimistic=function(P,se){var Ce=this,He="function"==typeof P?P(se.variables):P;return this.cache.recordOptimisticTransaction(function(Qe){try{Ce.markMutationResult((0,o.pi)((0,o.pi)({},se),{result:{data:He}}),Qe)}catch(st){__DEV__&&r.kG.error(st)}},se.mutationId)},me.prototype.fetchQuery=function(P,se,Ce){return this.fetchQueryObservable(P,se,Ce).promise},me.prototype.getQueryStore=function(){var P=Object.create(null);return this.queries.forEach(function(se,Ce){P[Ce]={variables:se.variables,networkStatus:se.networkStatus,networkError:se.networkError,graphQLErrors:se.graphQLErrors}}),P},me.prototype.resetErrors=function(P){var se=this.queries.get(P);se&&(se.networkError=void 0,se.graphQLErrors=[])},me.prototype.transform=function(P){var se=this.transformCache;if(!se.has(P)){var Ce=this.cache.transformDocument(P),He=(0,S.Fo)(this.cache.transformForLink(Ce)),Qe=this.localState.clientQuery(Ce),st=He&&this.localState.serverQuery(He),Ge={document:Ce,hasClientExports:(0,v.mj)(Ce),hasForcedResolvers:this.localState.shouldForceResolvers(Ce),clientQuery:Qe,serverQuery:st,defaultVars:(0,b.O4)((0,b.$H)(Ce)),asQuery:(0,o.pi)((0,o.pi)({},Ce),{definitions:Ce.definitions.map(function(_t){return"OperationDefinition"===_t.kind&&"query"!==_t.operation?(0,o.pi)((0,o.pi)({},_t),{operation:"query"}):_t})})},at=function(_t){_t&&!se.has(_t)&&se.set(_t,Ge)};at(P),at(Ce),at(Qe),at(st)}return se.get(P)},me.prototype.getVariables=function(P,se){return(0,o.pi)((0,o.pi)({},this.transform(P).defaultVars),se)},me.prototype.watchQuery=function(P){typeof(P=(0,o.pi)((0,o.pi)({},P),{variables:this.getVariables(P.query,P.variables)})).notifyOnNetworkStatusChange>"u"&&(P.notifyOnNetworkStatusChange=!1);var se=new tt(this),Ce=new ve.ue({queryManager:this,queryInfo:se,options:P});return this.queries.set(Ce.queryId,se),se.init({document:Ce.query,observableQuery:Ce,variables:Ce.variables}),Ce},me.prototype.query=function(P,se){var Ce=this;return void 0===se&&(se=this.generateQueryId()),__DEV__?(0,r.kG)(P.query,"query option is required. You must specify your GraphQL document in the query option."):(0,r.kG)(P.query,14),__DEV__?(0,r.kG)("Document"===P.query.kind,'You must wrap the query string in a "gql" tag.'):(0,r.kG)("Document"===P.query.kind,15),__DEV__?(0,r.kG)(!P.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,r.kG)(!P.returnPartialData,16),__DEV__?(0,r.kG)(!P.pollInterval,"pollInterval option only supported on watchQuery."):(0,r.kG)(!P.pollInterval,17),this.fetchQuery(se,P).finally(function(){return Ce.stopQuery(se)})},me.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},me.prototype.generateRequestId=function(){return this.requestIdCounter++},me.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},me.prototype.stopQueryInStore=function(P){this.stopQueryInStoreNoBroadcast(P),this.broadcastQueries()},me.prototype.stopQueryInStoreNoBroadcast=function(P){var se=this.queries.get(P);se&&se.stop()},me.prototype.clearStore=function(P){return void 0===P&&(P={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new r.ej("Store reset while query was in flight (not completed in link chain)"):new r.ej(18)),this.queries.forEach(function(se){se.observableQuery?se.networkStatus=ye.I.loading:se.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(P)},me.prototype.getObservableQueries=function(P){var se=this;void 0===P&&(P="active");var Ce=new Map,He=new Map,Qe=new Set;return Array.isArray(P)&&P.forEach(function(st){"string"==typeof st?He.set(st,!1):(0,H.JW)(st)?He.set(se.transform(st).document,!1):(0,x.s)(st)&&st.query&&Qe.add(st)}),this.queries.forEach(function(st,Ge){var at=st.observableQuery,_t=st.document;if(at){if("all"===P)return void Ce.set(Ge,at);var xt=at.queryName;if("standby"===at.options.fetchPolicy||"active"===P&&!at.hasObservers())return;("active"===P||xt&&He.has(xt)||_t&&He.has(_t))&&(Ce.set(Ge,at),xt&&He.set(xt,!0),_t&&He.set(_t,!0))}}),Qe.size&&Qe.forEach(function(st){var Ge=(0,te.X)("legacyOneTimeQuery"),at=se.getQuery(Ge).init({document:st.query,variables:st.variables}),_t=new ve.ue({queryManager:se,queryInfo:at,options:(0,o.pi)((0,o.pi)({},st),{fetchPolicy:"network-only"})});(0,r.kG)(_t.queryId===Ge),at.setObservableQuery(_t),Ce.set(Ge,_t)}),__DEV__&&He.size&&He.forEach(function(st,Ge){st||__DEV__&&r.kG.warn("Unknown query ".concat("string"==typeof Ge?"named ":"").concat(JSON.stringify(Ge,null,2)," requested in refetchQueries options.include array"))}),Ce},me.prototype.reFetchObservableQueries=function(P){var se=this;void 0===P&&(P=!1);var Ce=[];return this.getObservableQueries(P?"all":"active").forEach(function(He,Qe){var st=He.options.fetchPolicy;He.resetLastResults(),(P||"standby"!==st&&"cache-only"!==st)&&Ce.push(He.refetch()),se.getQuery(Qe).setDiff(null)}),this.broadcastQueries(),Promise.all(Ce)},me.prototype.setObservableQuery=function(P){this.getQuery(P.queryId).setObservableQuery(P)},me.prototype.startGraphQLSubscription=function(P){var se=this,Ce=P.query,He=P.fetchPolicy,Qe=P.errorPolicy,st=P.variables,Ge=P.context,at=void 0===Ge?{}:Ge;Ce=this.transform(Ce).document,st=this.getVariables(Ce,st);var _t=function(yt){return se.getObservableFromLink(Ce,at,yt).map(function(Pt){if("no-cache"!==He&&(lt(Pt,Qe)&&se.cache.write({query:Ce,result:Pt.data,dataId:"ROOT_SUBSCRIPTION",variables:yt}),se.broadcastQueries()),m(Pt))throw new Se.c({graphQLErrors:Pt.errors});return Pt})};if(this.transform(Ce).hasClientExports){var xt=this.localState.addExportedVariables(Ce,st,at).then(_t);return new g.y(function(yt){var Pt=null;return xt.then(function(At){return Pt=At.subscribe(yt)},yt.error),function(){return Pt&&Pt.unsubscribe()}})}return _t(st)},me.prototype.stopQuery=function(P){this.stopQueryNoBroadcast(P),this.broadcastQueries()},me.prototype.stopQueryNoBroadcast=function(P){this.stopQueryInStoreNoBroadcast(P),this.removeQuery(P)},me.prototype.removeQuery=function(P){this.fetchCancelFns.delete(P),this.queries.has(P)&&(this.getQuery(P).stop(),this.queries.delete(P))},me.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(P){return P.notify()})},me.prototype.getLocalState=function(){return this.localState},me.prototype.getObservableFromLink=function(P,se,Ce,He){var st,Qe=this;void 0===He&&(He=null!==(st=se?.queryDeduplication)&&void 0!==st?st:this.queryDeduplication);var Ge,at=this.transform(P).serverQuery;if(at){var xt=this.inFlightLinkObservables,yt=this.link,Pt={query:at,variables:Ce,operationName:(0,b.rY)(at)||void 0,context:this.prepareContext((0,o.pi)((0,o.pi)({},se),{forceFetch:!He}))};if(se=Pt.context,He){var At=xt.get(at)||new Map;xt.set(at,At);var nt=(0,L.B)(Ce);if(!(Ge=At.get(nt))){var ft=new Z([(0,_.h)(yt,Pt)]);At.set(nt,Ge=ft),ft.cleanup(function(){At.delete(nt)&&At.size<1&&xt.delete(at)})}}else Ge=new Z([(0,_.h)(yt,Pt)])}else Ge=new Z([g.y.of({data:{}})]),se=this.prepareContext(se);var G=this.transform(P).clientQuery;return G&&(Ge=B(Ge,function(U){return Qe.localState.runResolvers({document:G,remoteResult:U,context:se,variables:Ce})})),Ge},me.prototype.getResultsFromLink=function(P,se,Ce){var He=P.lastRequestId=this.generateRequestId();return B(this.getObservableFromLink(P.document,Ce.context,Ce.variables),function(Qe){var st=(0,Me.O)(Qe.errors);if(He>=P.lastRequestId){if(st&&"none"===Ce.errorPolicy)throw P.markError(new Se.c({graphQLErrors:Qe.errors}));P.markResult(Qe,Ce,se),P.markReady()}var Ge={data:Qe.data,loading:!1,networkStatus:ye.I.ready};return st&&"ignore"!==Ce.errorPolicy&&(Ge.errors=Qe.errors,Ge.networkStatus=ye.I.error),Ge},function(Qe){var st=(0,Se.M)(Qe)?Qe:new Se.c({networkError:Qe});throw He>=P.lastRequestId&&P.markError(st),st})},me.prototype.fetchQueryObservable=function(P,se,Ce){var He=this;void 0===Ce&&(Ce=ye.I.loading);var Qe=this.transform(se.query).document,st=this.getVariables(Qe,se.variables),Ge=this.getQuery(P),at=this.defaultOptions.watchQuery,_t=se.fetchPolicy,yt=se.errorPolicy,At=se.returnPartialData,ft=se.notifyOnNetworkStatusChange,U=se.context,oe=Object.assign({},se,{query:Qe,variables:st,fetchPolicy:void 0===_t?at&&at.fetchPolicy||"cache-first":_t,errorPolicy:void 0===yt?at&&at.errorPolicy||"none":yt,returnPartialData:void 0!==At&&At,notifyOnNetworkStatusChange:void 0!==ft&&ft,context:void 0===U?{}:U}),Te=function(we){oe.variables=we;var Be=He.fetchQueryByPolicy(Ge,oe,Ce);return"standby"!==oe.fetchPolicy&&Be.length>0&&Ge.observableQuery&&Ge.observableQuery.applyNextFetchPolicy("after-fetch",se),Be},Xe=function(){return He.fetchCancelFns.delete(P)};this.fetchCancelFns.set(P,function(we){Xe(),setTimeout(function(){return Ze.cancel(we)})});var Ze=new Z(this.transform(oe.query).hasClientExports?this.localState.addExportedVariables(oe.query,oe.variables,oe.context).then(Te):Te(oe.variables));return Ze.promise.then(Xe,Xe),Ze},me.prototype.refetchQueries=function(P){var se=this,Ce=P.updateCache,He=P.include,Qe=P.optimistic,st=void 0!==Qe&&Qe,Ge=P.removeOptimistic,at=void 0===Ge?st?(0,te.X)("refetchQueries"):void 0:Ge,_t=P.onQueryUpdated,xt=new Map;He&&this.getObservableQueries(He).forEach(function(Pt,At){xt.set(At,{oq:Pt,lastDiff:se.getQuery(At).getDiff()})});var yt=new Map;return Ce&&this.cache.batch({update:Ce,optimistic:st&&at||!1,removeOptimistic:at,onWatchUpdated:function(Pt,At,nt){var ft=Pt.watcher instanceof tt&&Pt.watcher.observableQuery;if(ft){if(_t){xt.delete(ft.queryId);var G=_t(ft,At,nt);return!0===G&&(G=ft.refetch()),!1!==G&&yt.set(ft,G),G}null!==_t&&xt.set(ft.queryId,{oq:ft,lastDiff:nt,diff:At})}}}),xt.size&&xt.forEach(function(Pt,At){var U,nt=Pt.oq,ft=Pt.lastDiff,G=Pt.diff;if(_t){if(!G){var ie=nt.queryInfo;ie.reset(),G=ie.getDiff()}U=_t(nt,G,ft)}(!_t||!0===U)&&(U=nt.refetch()),!1!==U&&yt.set(nt,U),At.indexOf("legacyOneTimeQuery")>=0&&se.stopQueryNoBroadcast(At)}),at&&this.cache.removeOptimistic(at),yt},me.prototype.fetchQueryByPolicy=function(P,se,Ce){var He=this,Qe=se.query,st=se.variables,Ge=se.fetchPolicy,at=se.refetchWritePolicy,_t=se.errorPolicy,xt=se.returnPartialData,yt=se.context,Pt=se.notifyOnNetworkStatusChange,At=P.networkStatus;P.init({document:this.transform(Qe).document,variables:st,networkStatus:Ce});var nt=function(){return P.getDiff(st)},ft=function(Te,Xe){void 0===Xe&&(Xe=P.networkStatus||ye.I.loading);var Ze=Te.result;__DEV__&&!xt&&!(0,w.D)(Ze,{})&&(0,ve.DC)(Te.missing);var we=function(Be){return g.y.of((0,o.pi)({data:Be,loading:(0,ye.O)(Xe),networkStatus:Xe},Te.complete?null:{partial:!0}))};return Ze&&He.transform(Qe).hasForcedResolvers?He.localState.runResolvers({document:Qe,remoteResult:{data:Ze},context:yt,variables:st,onlyRunForcedResolvers:!0}).then(function(Be){return we(Be.data||void 0)}):we(Ze)},G="no-cache"===Ge?0:Ce===ye.I.refetch&&"merge"!==at?1:2,U=function(){return He.getResultsFromLink(P,G,{variables:st,context:yt,fetchPolicy:Ge,errorPolicy:_t})},ie=Pt&&"number"==typeof At&&At!==Ce&&(0,ye.O)(Ce);switch(Ge){default:case"cache-first":return(oe=nt()).complete?[ft(oe,P.markReady())]:xt||ie?[ft(oe),U()]:[U()];case"cache-and-network":var oe;return(oe=nt()).complete||xt||ie?[ft(oe),U()]:[U()];case"cache-only":return[ft(nt(),P.markReady())];case"network-only":return ie?[ft(nt()),U()]:[U()];case"no-cache":return ie?[ft(P.getDiff()),U()]:[U()];case"standby":return[]}},me.prototype.getQuery=function(P){return P&&!this.queries.has(P)&&this.queries.set(P,new tt(this,P)),this.queries.get(P)},me.prototype.prepareContext=function(P){void 0===P&&(P={});var se=this.localState.prepareContext(P);return(0,o.pi)((0,o.pi)({},se),{clientAwareness:this.clientAwareness})},me}(),re=s(9190),xe=!1,Ke=function(){function me(P){var se=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var Ce=P.uri,st=P.cache,Ge=P.ssrMode,at=void 0!==Ge&&Ge,_t=P.ssrForceFetchDelay,xt=void 0===_t?0:_t,yt=P.connectToDevTools,Pt=void 0===yt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:yt,At=P.queryDeduplication,nt=void 0===At||At,ft=P.defaultOptions,G=P.assumeImmutableResults,U=void 0!==G&&G,ie=P.resolvers,oe=P.typeDefs,Te=P.fragmentMatcher,Xe=P.name,Ze=P.version,we=P.link;if(we||(we=Ce?new d.u({uri:Ce,credentials:P.credentials,headers:P.headers}):h.i.empty()),!st)throw __DEV__?new r.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new r.ej(7);if(this.link=we,this.cache=st,this.disableNetworkFetches=at||xt>0,this.queryDeduplication=nt,this.defaultOptions=ft||Object.create(null),this.typeDefs=oe,xt&&setTimeout(function(){return se.disableNetworkFetches=!1},xt),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),Pt&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!xe&&__DEV__&&(xe=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var Be=window.navigator,We=Be&&Be.userAgent,Ye=void 0;"string"==typeof We&&(We.indexOf("Chrome/")>-1?Ye="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":We.indexOf("Firefox/")>-1&&(Ye="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Ye&&__DEV__&&r.kG.log("Download the Apollo DevTools for a better development experience: "+Ye)}this.version="3.6.9",this.localState=new j({cache:st,client:this,resolvers:ie,fragmentMatcher:Te}),this.queryManager=new Re({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:nt,ssrMode:at,clientAwareness:{name:Xe,version:Ze},localState:this.localState,assumeImmutableResults:U,onBroadcast:Pt?function(){se.devToolsHookCb&&se.devToolsHookCb({action:{},state:{queries:se.queryManager.getQueryStore(),mutations:se.queryManager.mutationStore||{}},dataWithOptimisticResults:se.cache.extract(!0)})}:void 0})}return me.prototype.stop=function(){this.queryManager.stop()},me.prototype.watchQuery=function(P){return this.defaultOptions.watchQuery&&(P=(0,re.J)(this.defaultOptions.watchQuery,P)),this.disableNetworkFetches&&("network-only"===P.fetchPolicy||"cache-and-network"===P.fetchPolicy)&&(P=(0,o.pi)((0,o.pi)({},P),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(P)},me.prototype.query=function(P){return this.defaultOptions.query&&(P=(0,re.J)(this.defaultOptions.query,P)),__DEV__?(0,r.kG)("cache-and-network"!==P.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,r.kG)("cache-and-network"!==P.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===P.fetchPolicy&&(P=(0,o.pi)((0,o.pi)({},P),{fetchPolicy:"cache-first"})),this.queryManager.query(P)},me.prototype.mutate=function(P){return this.defaultOptions.mutate&&(P=(0,re.J)(this.defaultOptions.mutate,P)),this.queryManager.mutate(P)},me.prototype.subscribe=function(P){return this.queryManager.startGraphQLSubscription(P)},me.prototype.readQuery=function(P,se){return void 0===se&&(se=!1),this.cache.readQuery(P,se)},me.prototype.readFragment=function(P,se){return void 0===se&&(se=!1),this.cache.readFragment(P,se)},me.prototype.writeQuery=function(P){this.cache.writeQuery(P),this.queryManager.broadcastQueries()},me.prototype.writeFragment=function(P){this.cache.writeFragment(P),this.queryManager.broadcastQueries()},me.prototype.__actionHookForDevTools=function(P){this.devToolsHookCb=P},me.prototype.__requestRaw=function(P){return(0,_.h)(this.link,P)},me.prototype.resetStore=function(){var P=this;return Promise.resolve().then(function(){return P.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(P.resetStoreCallbacks.map(function(se){return se()}))}).then(function(){return P.reFetchObservableQueries()})},me.prototype.clearStore=function(){var P=this;return Promise.resolve().then(function(){return P.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(P.clearStoreCallbacks.map(function(se){return se()}))})},me.prototype.onResetStore=function(P){var se=this;return this.resetStoreCallbacks.push(P),function(){se.resetStoreCallbacks=se.resetStoreCallbacks.filter(function(Ce){return Ce!==P})}},me.prototype.onClearStore=function(P){var se=this;return this.clearStoreCallbacks.push(P),function(){se.clearStoreCallbacks=se.clearStoreCallbacks.filter(function(Ce){return Ce!==P})}},me.prototype.reFetchObservableQueries=function(P){return this.queryManager.reFetchObservableQueries(P)},me.prototype.refetchQueries=function(P){var se=this.queryManager.refetchQueries(P),Ce=[],He=[];se.forEach(function(st,Ge){Ce.push(Ge),He.push(st)});var Qe=Promise.all(He);return Qe.queries=Ce,Qe.results=He,Qe.catch(function(st){__DEV__&&r.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(st))}),Qe},me.prototype.getObservableQueries=function(P){return void 0===P&&(P="active"),this.queryManager.getObservableQueries(P)},me.prototype.extract=function(P){return this.cache.extract(P)},me.prototype.restore=function(P){return this.cache.restore(P)},me.prototype.addResolvers=function(P){this.localState.addResolvers(P)},me.prototype.setResolvers=function(P){this.localState.setResolvers(P)},me.prototype.getResolvers=function(){return this.localState.getResolvers()},me.prototype.setLocalStateFragmentMatcher=function(P){this.localState.setFragmentMatcher(P)},me.prototype.setLink=function(P){this.link=this.queryManager.link=P},me}()},4167:(Ue,J,s)=>{"use strict";s.d(J,{DC:()=>x,ue:()=>S,vj:()=>v});var o=s(4762),r=s(138),h=s(1913),_=s(3135),f=s(1144),d=s(3107),w=s(8779),L=s(4155),A=s(1194),g=s(4854),B=s(2652),m=Object.assign,b=Object.hasOwnProperty,S=function(te){function Ee(T){var ue=T.queryManager,Z=T.queryInfo,Me=T.options,Se=te.call(this,function(ke){try{var tt=ke._subscription._observer;tt&&!tt.error&&(tt.error=H)}catch{}var lt=!Se.observers.size;Se.observers.add(ke);var $=Se.last;return $&&$.error?ke.error&&ke.error($.error):$&&$.result&&ke.next&&ke.next($.result),lt&&Se.reobserve().catch(function(){}),function(){Se.observers.delete(ke)&&!Se.observers.size&&Se.tearDownQuery()}})||this;Se.observers=new Set,Se.subscriptions=new Set,Se.queryInfo=Z,Se.queryManager=ue,Se.isTornDown=!1;var ve=ue.defaultOptions.watchQuery,De=(void 0===ve?{}:ve).fetchPolicy,z=void 0===De?"cache-first":De,Y=Me.fetchPolicy,V=void 0===Y?z:Y,j=Me.initialFetchPolicy,X=void 0===j?"standby"===V?z:V:j;Se.options=(0,o.pi)((0,o.pi)({},Me),{initialFetchPolicy:X,fetchPolicy:V}),Se.queryId=Z.queryId||ue.generateQueryId();var Ie=(0,f.$H)(Se.query);return Se.queryName=Ie&&Ie.name&&Ie.name.value,Se}return(0,o.ZT)(Ee,te),Object.defineProperty(Ee.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),Ee.prototype.result=function(){var T=this;return new Promise(function(ue,Z){var Me={next:function(ve){ue(ve),T.observers.delete(Me),T.observers.size||T.queryManager.removeQuery(T.queryId),setTimeout(function(){Se.unsubscribe()},0)},error:Z},Se=T.subscribe(Me)})},Ee.prototype.getCurrentResult=function(T){void 0===T&&(T=!0);var ue=this.getLastResult(!0),Z=this.queryInfo.networkStatus||ue&&ue.networkStatus||_.I.ready,Me=(0,o.pi)((0,o.pi)({},ue),{loading:(0,_.O)(Z),networkStatus:Z}),Se=this.options.fetchPolicy,ve=void 0===Se?"cache-first":Se;if("network-only"!==ve&&"no-cache"!==ve&&"standby"!==ve&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var ye=this.queryInfo.getDiff();(ye.complete||this.options.returnPartialData)&&(Me.data=ye.result),(0,h.D)(Me.data,{})&&(Me.data=void 0),ye.complete?(delete Me.partial,ye.complete&&Me.networkStatus===_.I.loading&&("cache-first"===ve||"cache-only"===ve)&&(Me.networkStatus=_.I.ready,Me.loading=!1)):Me.partial=!0,__DEV__&&!ye.complete&&!this.options.partialRefetch&&!Me.loading&&!Me.data&&!Me.error&&x(ye.missing)}return T&&this.updateLastResult(Me),Me},Ee.prototype.isDifferentFromLastResult=function(T){return!this.last||!(0,h.D)(this.last.result,T)},Ee.prototype.getLast=function(T,ue){var Z=this.last;if(Z&&Z[T]&&(!ue||(0,h.D)(Z.variables,this.variables)))return Z[T]},Ee.prototype.getLastResult=function(T){return this.getLast("result",T)},Ee.prototype.getLastError=function(T){return this.getLast("error",T)},Ee.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},Ee.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},Ee.prototype.refetch=function(T){var ue,Z={pollInterval:0},Me=this.options.fetchPolicy;if(Z.fetchPolicy="cache-and-network"===Me?Me:"no-cache"===Me?"no-cache":"network-only",__DEV__&&T&&b.call(T,"variables")){var Se=(0,f.iW)(this.query),ve=Se.variableDefinitions;(!ve||!ve.some(function(ye){return"variables"===ye.variable.name.value}))&&__DEV__&&r.kG.warn("Called refetch(".concat(JSON.stringify(T),") for query ").concat((null===(ue=Se.name)||void 0===ue?void 0:ue.value)||JSON.stringify(Se),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return T&&!(0,h.D)(this.options.variables,T)&&(Z.variables=this.options.variables=(0,o.pi)((0,o.pi)({},this.options.variables),T)),this.queryInfo.resetLastWrite(),this.reobserve(Z,_.I.refetch)},Ee.prototype.fetchMore=function(T){var ue=this,Z=(0,o.pi)((0,o.pi)({},T.query?T:(0,o.pi)((0,o.pi)((0,o.pi)((0,o.pi)({},this.options),{query:this.query}),T),{variables:(0,o.pi)((0,o.pi)({},this.options.variables),T.variables)})),{fetchPolicy:"no-cache"}),Me=this.queryManager.generateQueryId(),Se=this.queryInfo,ve=Se.networkStatus;Se.networkStatus=_.I.fetchMore,Z.notifyOnNetworkStatusChange&&this.observe();var ye=new Set;return this.queryManager.fetchQuery(Me,Z,_.I.fetchMore).then(function(De){return ue.queryManager.removeQuery(Me),Se.networkStatus===_.I.fetchMore&&(Se.networkStatus=ve),ue.queryManager.cache.batch({update:function(z){var Y=T.updateQuery;Y?z.updateQuery({query:ue.query,variables:ue.variables,returnPartialData:!0,optimistic:!1},function(V){return Y(V,{fetchMoreResult:De.data,variables:Z.variables})}):z.writeQuery({query:Z.query,variables:Z.variables,data:De.data})},onWatchUpdated:function(z){ye.add(z.query)}}),De}).finally(function(){ye.has(ue.query)||v(ue)})},Ee.prototype.subscribeToMore=function(T){var ue=this,Z=this.queryManager.startGraphQLSubscription({query:T.document,variables:T.variables,context:T.context}).subscribe({next:function(Me){var Se=T.updateQuery;Se&&ue.updateQuery(function(ve,ye){return Se(ve,{subscriptionData:Me,variables:ye.variables})})},error:function(Me){T.onError?T.onError(Me):__DEV__&&r.kG.error("Unhandled GraphQL subscription error",Me)}});return this.subscriptions.add(Z),function(){ue.subscriptions.delete(Z)&&Z.unsubscribe()}},Ee.prototype.setOptions=function(T){return this.reobserve(T)},Ee.prototype.setVariables=function(T){return(0,h.D)(this.variables,T)?this.observers.size?this.result():Promise.resolve():(this.options.variables=T,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:T},_.I.setVariables):Promise.resolve())},Ee.prototype.updateQuery=function(T){var ue=this.queryManager,Me=T(ue.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Me&&(ue.cache.writeQuery({query:this.options.query,data:Me,variables:this.variables}),ue.broadcastQueries())},Ee.prototype.startPolling=function(T){this.options.pollInterval=T,this.updatePolling()},Ee.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},Ee.prototype.applyNextFetchPolicy=function(T,ue){if(ue.nextFetchPolicy){var Z=ue.fetchPolicy,Me=void 0===Z?"cache-first":Z,Se=ue.initialFetchPolicy,ve=void 0===Se?Me:Se;"standby"===Me||(ue.fetchPolicy="function"==typeof ue.nextFetchPolicy?ue.nextFetchPolicy(Me,{reason:T,options:ue,observable:this,initialFetchPolicy:ve}):"variables-changed"===T?ve:ue.nextFetchPolicy)}return ue.fetchPolicy},Ee.prototype.fetch=function(T,ue){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,T,ue)},Ee.prototype.updatePolling=function(){var T=this;if(!this.queryManager.ssrMode){var Z=this.pollingInfo,Me=this.options.pollInterval;if(!Me)return void(Z&&(clearTimeout(Z.timeout),delete this.pollingInfo));if(!Z||Z.interval!==Me){__DEV__?(0,r.kG)(Me,"Attempted to start a polling query without a polling interval."):(0,r.kG)(Me,10),(Z||(this.pollingInfo={})).interval=Me;var ve=function(){T.pollingInfo&&((0,_.O)(T.queryInfo.networkStatus)?ye():T.reobserve({fetchPolicy:"network-only"},_.I.poll).then(ye,ye))},ye=function(){var De=T.pollingInfo;De&&(clearTimeout(De.timeout),De.timeout=setTimeout(ve,De.interval))};ye()}}},Ee.prototype.updateLastResult=function(T,ue){return void 0===ue&&(ue=this.variables),this.last=(0,o.pi)((0,o.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?T:(0,d.X)(T),variables:ue}),(0,w.O)(T.errors)||delete this.last.error,this.last},Ee.prototype.reobserve=function(T,ue){var Z=this;this.isTornDown=!1;var Me=ue===_.I.refetch||ue===_.I.fetchMore||ue===_.I.poll,Se=this.options.variables,ve=this.options.fetchPolicy,ye=(0,L.o)(this.options,T||{}),De=Me?ye:m(this.options,ye);Me||(this.updatePolling(),T&&T.variables&&!(0,h.D)(T.variables,Se)&&"standby"!==De.fetchPolicy&&De.fetchPolicy===ve&&(this.applyNextFetchPolicy("variables-changed",De),void 0===ue&&(ue=_.I.setVariables)));var z=De.variables&&(0,o.pi)({},De.variables),Y=this.fetch(De,ue),V={next:function(j){Z.reportResult(j,z)},error:function(j){Z.reportError(j,z)}};return Me||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=Y,this.observer=V),Y.addObserver(V),Y.promise},Ee.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},Ee.prototype.reportResult=function(T,ue){var Z=this.getLastError();(Z||this.isDifferentFromLastResult(T))&&((Z||!T.partial||this.options.returnPartialData)&&this.updateLastResult(T,ue),(0,A.p)(this.observers,"next",T))},Ee.prototype.reportError=function(T,ue){var Z=(0,o.pi)((0,o.pi)({},this.getLastResult()),{error:T,errors:T.graphQLErrors,networkStatus:_.I.error,loading:!1});this.updateLastResult(Z,ue),(0,A.p)(this.observers,"error",this.last.error=T)},Ee.prototype.hasObservers=function(){return this.observers.size>0},Ee.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(T){return T.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},Ee}(g.y);function v(te){var Ee=te.options,T=Ee.fetchPolicy,ue=Ee.nextFetchPolicy;return"cache-and-network"===T||"network-only"===T?te.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=ue,"function"==typeof ue?ue.apply(this,arguments):T}}):te.reobserve()}function H(te){__DEV__&&r.kG.error("Unhandled error",te.message,te.stack)}function x(te){__DEV__&&te&&__DEV__&&r.kG.debug("Missing cache result fields: ".concat(JSON.stringify(te)),te)}(0,B.D)(S)},5149:(Ue,J,s)=>{"use strict";s.r(J),s.d(J,{ApolloCache:()=>L.R,ApolloClient:()=>r.f,ApolloError:()=>d.c,ApolloLink:()=>b.i,Cache:()=>w,HttpLink:()=>Ee.HttpLink,InMemoryCache:()=>A.h,MissingFieldError:()=>g.y,NetworkStatus:()=>f.I,Observable:()=>ue.y,ObservableQuery:()=>_.ue,checkFetcher:()=>Ee.checkFetcher,concat:()=>x,createHttpLink:()=>Ee.createHttpLink,createSignalIfSupported:()=>Ee.createSignalIfSupported,defaultDataIdFromObject:()=>B.uG,defaultPrinter:()=>Ee.defaultPrinter,disableExperimentalFragmentVariables:()=>De.J9,disableFragmentWarnings:()=>De._t,empty:()=>S,enableExperimentalFragmentVariables:()=>De.wO,execute:()=>te.h,fallbackHttpConfig:()=>Ee.fallbackHttpConfig,from:()=>v,fromError:()=>Me.Q,fromPromise:()=>Z,gql:()=>De.Ps,isApolloError:()=>d.M,isReference:()=>ve.Yk,makeReference:()=>ve.kQ,makeVar:()=>m.QS,mergeOptions:()=>h.J,parseAndCheckHttpResponse:()=>Ee.parseAndCheckHttpResponse,resetCaches:()=>De.HW,rewriteURIForGET:()=>Ee.rewriteURIForGET,selectHttpOptionsAndBody:()=>Ee.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>Ee.selectHttpOptionsAndBodyInternal,selectURI:()=>Ee.selectURI,serializeFetchParameter:()=>Ee.serializeFetchParameter,setLogVerbosity:()=>ye.U6,split:()=>H.V,throwServerError:()=>Se.P,toPromise:()=>T});var w,o=s(138),r=s(5447),h=s(9190),_=s(4167),f=s(3135),d=s(709);w||(w={});var L=s(6835),A=s(1132),g=s(4699),B=s(460),m=s(4350),b=s(56),S=b.i.empty,v=b.i.from,H=s(8862),x=b.i.concat,te=s(8498),Ee=s(426);function T(z){var Y=!1;return new Promise(function(V,j){z.subscribe({next:function(X){Y?__DEV__&&o.kG.warn("Promise Wrapper does not support multiple results from Observable"):(Y=!0,V(X))},error:j})})}var ue=s(4854);function Z(z){return new ue.y(function(Y){z.then(function(V){Y.next(V),Y.complete()}).catch(Y.error.bind(Y))})}var Me=s(2929),Se=s(7139),ve=s(9737),ye=s(2269),De=s(9139);(0,ye.U6)(o.Rk?"log":"silent")},3135:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>o,O:()=>r});var o=(()=>{return(h=o||(o={}))[h.loading=1]="loading",h[h.setVariables=2]="setVariables",h[h.fetchMore=3]="fetchMore",h[h.refetch=4]="refetch",h[h.poll=6]="poll",h[h.ready=7]="ready",h[h.error=8]="error",o;var h})();function r(h){return!!h&&h<7}},709:(Ue,J,s)=>{"use strict";s.d(J,{M:()=>_,c:()=>d});var o=s(4762),h=(s(138),s(8779));function _(w){return w.hasOwnProperty("graphQLErrors")}var d=function(w){function L(A){var g=A.graphQLErrors,B=A.clientErrors,m=A.networkError,b=A.errorMessage,S=A.extraInfo,v=w.call(this,b)||this;return v.graphQLErrors=g||[],v.clientErrors=B||[],v.networkError=m||null,v.message=b||function(w){var L="";return((0,h.O)(w.graphQLErrors)||(0,h.O)(w.clientErrors))&&(w.graphQLErrors||[]).concat(w.clientErrors||[]).forEach(function(g){L+="".concat(g?g.message:"Error message not found.","\n")}),w.networkError&&(L+="".concat(w.networkError.message,"\n")),L=L.replace(/\n$/,"")}(v),v.extraInfo=S,v.__proto__=L.prototype,v}return(0,o.ZT)(L,w),L}(Error)},56:(Ue,J,s)=>{"use strict";s.d(J,{i:()=>m});var o=s(4762),r=s(138),h=s(4854),f=s(1144);function L(b,S){return S?S(b):h.y.of()}function A(b){return"function"==typeof b?new m(b):b}function g(b){return b.request.length<=1}var B=function(b){function S(v,H){var x=b.call(this,v)||this;return x.link=H,x}return(0,o.ZT)(S,b),S}(Error),m=function(){function b(S){S&&(this.request=S)}return b.empty=function(){return new b(function(){return h.y.of()})},b.from=function(S){return 0===S.length?b.empty():S.map(A).reduce(function(v,H){return v.concat(H)})},b.split=function(S,v,H){var x=A(v),te=A(H||new b(L));return g(x)&&g(te)?new b(function(Ee){return S(Ee)?x.request(Ee)||h.y.of():te.request(Ee)||h.y.of()}):new b(function(Ee,T){return S(Ee)?x.request(Ee,T)||h.y.of():te.request(Ee,T)||h.y.of()})},b.execute=function(S,v){return S.request(function _(b,S){var v=(0,o.pi)({},b);return Object.defineProperty(S,"setContext",{enumerable:!1,value:function(te){v=(0,o.pi)((0,o.pi)({},v),"function"==typeof te?te(v):te)}}),Object.defineProperty(S,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},v)}}),S}(v.context,function d(b){var S={variables:b.variables||{},extensions:b.extensions||{},operationName:b.operationName,query:b.query};return S.operationName||(S.operationName="string"!=typeof S.query?(0,f.rY)(S.query)||void 0:""),S}(function w(b){for(var S=["query","operationName","variables","extensions","context"],v=0,H=Object.keys(b);v{"use strict";s.d(J,{h:()=>r});var r=s(56).i.execute},8862:(Ue,J,s)=>{"use strict";s.d(J,{V:()=>r});var r=s(56).i.split},3111:(Ue,J,s)=>{"use strict";s.d(J,{u:()=>_});var o=s(4762),r=s(56),h=s(4923),_=function(f){function d(w){void 0===w&&(w={});var L=f.call(this,(0,h.L)(w).request)||this;return L.options=w,L}return(0,o.ZT)(d,f),d}(r.i)},3079:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>r});var o=s(138),r=function(h){if(!h&&typeof fetch>"u")throw __DEV__?new o.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new o.ej(20)}},4923:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>v});var o=s(4762),r=s(138),h=s(9098),_=s(56),f=s(4854),d=s(6329),w=s(9361),L=s(309),A=s(3079),g=s(7122),B=s(9456),m=s(5523),b=s(2929),S=(0,r.wY)(function(){return fetch}),v=function(H){void 0===H&&(H={});var x=H.uri,te=void 0===x?"/graphql":x,Ee=H.fetch,T=H.print,ue=void 0===T?g.sb:T,Z=H.includeExtensions,Me=H.useGETForQueries,Se=H.includeUnusedVariables,ve=void 0!==Se&&Se,ye=(0,o._T)(H,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&(0,A.U)(Ee||S);var De={http:{includeExtensions:Z},options:ye.fetchOptions,credentials:ye.credentials,headers:ye.headers};return new _.i(function(z){var Y=(0,w.r)(z,te),V=z.getContext(),j={};if(V.clientAwareness){var X=V.clientAwareness,Ie=X.name,ke=X.version;Ie&&(j["apollographql-client-name"]=Ie),ke&&(j["apollographql-client-version"]=ke)}var Ke,tt=(0,o.pi)((0,o.pi)({},j),V.headers),$=(0,g.ve)(z,ue,g.SC,De,{http:V.http,options:V.fetchOptions,credentials:V.credentials,headers:tt}),Re=$.options,re=$.body;if(re.variables&&!ve){var xe=new Set(Object.keys(re.variables));(0,h.Vn)(z.query,{Variable:function(Ge,at,_t){_t&&"VariableDefinition"!==_t.kind&&xe.delete(Ge.name.value)}}),xe.size&&(re.variables=(0,o.pi)({},re.variables),xe.forEach(function(Ge){delete re.variables[Ge]}))}if(!Re.signal){var me=(0,B.$)();(Ke=me.controller)&&(Re.signal=me.signal)}if(Me&&!z.query.definitions.some(function(Ge){return"OperationDefinition"===Ge.kind&&"mutation"===Ge.operation})&&(Re.method="GET"),"GET"===Re.method){var He=(0,m.H)(Y,re),Qe=He.newURI,st=He.parseError;if(st)return(0,b.Q)(st);Y=Qe}else try{Re.body=(0,d.g)(re,"Payload")}catch(Ge){return(0,b.Q)(Ge)}return new f.y(function(Ge){return(Ee||(0,r.wY)(function(){return fetch})||S)(Y,Re).then(function(_t){return z.setContext({response:_t}),_t}).then((0,L.d)(z)).then(function(_t){return Ge.next(_t),Ge.complete(),_t}).catch(function(_t){"AbortError"!==_t.name&&(_t.result&&_t.result.errors&&_t.result.data&&Ge.next(_t.result),Ge.error(_t))}),function(){Ke&&Ke.abort()}})})}},9456:(Ue,J,s)=>{"use strict";s.d(J,{$:()=>o});var o=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var r=new AbortController;return{controller:r,signal:r.signal}}},426:(Ue,J,s)=>{"use strict";s.r(J),s.d(J,{HttpLink:()=>A.u,checkFetcher:()=>f.U,createHttpLink:()=>L.L,createSignalIfSupported:()=>d.$,defaultPrinter:()=>_.sb,fallbackHttpConfig:()=>_.SC,parseAndCheckHttpResponse:()=>r.d,rewriteURIForGET:()=>g.H,selectHttpOptionsAndBody:()=>_.E4,selectHttpOptionsAndBodyInternal:()=>_.ve,selectURI:()=>w.r,serializeFetchParameter:()=>h.g}),s(138);var r=s(309),h=s(6329),_=s(7122),f=s(3079),d=s(9456),w=s(9361),L=s(4923),A=s(3111),g=s(5523)},309:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>h});var o=s(7139),r=Object.prototype.hasOwnProperty;function h(_){return function(f){return f.text().then(function(d){try{return JSON.parse(d)}catch(L){var w=L;throw w.name="ServerParseError",w.response=f,w.statusCode=f.status,w.bodyText=d,w}}).then(function(d){return f.status>=300&&(0,o.P)(f,d,"Response not successful: Received status code ".concat(f.status)),!Array.isArray(d)&&!r.call(d,"data")&&!r.call(d,"errors")&&(0,o.P)(f,d,"Server response was missing for query '".concat(Array.isArray(_)?_.map(function(w){return w.operationName}):_.operationName,"'.")),d})}}},5523:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>r});var o=s(6329);function r(h,_){var f=[],d=function(S,v){f.push("".concat(S,"=").concat(encodeURIComponent(v)))};if("query"in _&&d("query",_.query),_.operationName&&d("operationName",_.operationName),_.variables){var w=void 0;try{w=(0,o.g)(_.variables,"Variables map")}catch(S){return{parseError:S}}d("variables",w)}if(_.extensions){var L=void 0;try{L=(0,o.g)(_.extensions,"Extensions map")}catch(S){return{parseError:S}}d("extensions",L)}var A="",g=h,B=h.indexOf("#");-1!==B&&(A=h.substr(B),g=h.substr(0,B));var m=-1===g.indexOf("?")?"?":"&";return{newURI:g+m+f.join("&")+A}}},7122:(Ue,J,s)=>{"use strict";s.d(J,{E4:()=>L,SC:()=>d,sb:()=>w,ve:()=>A});var o=s(4762),r=s(4145),d={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},w=function(B,m){return m(B)};function L(B,m){for(var b=[],S=2;S{"use strict";s.d(J,{r:()=>o});var o=function(r,h){return r.getContext().uri||("function"==typeof h?h(r):h||"/graphql")}},6329:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>r});var o=s(138),r=function(h,_){var f;try{f=JSON.stringify(h)}catch(w){var d=__DEV__?new o.ej("Network request failed. ".concat(_," is not serializable: ").concat(w.message)):new o.ej(21);throw d.parseError=w,d}return f}},2929:(Ue,J,s)=>{"use strict";s.d(J,{Q:()=>r});var o=s(4854);function r(h){return new o.y(function(_){_.error(h)})}},7139:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>o});var o=function(r,h,_){var f=new Error(_);throw f.name="ServerError",f.response=r,f.statusCode=r.status,f.result=h,f}},8779:(Ue,J,s)=>{"use strict";function o(r){return Array.isArray(r)&&r.length>0}s.d(J,{O:()=>o})},7289:(Ue,J,s)=>{"use strict";s.d(J,{aS:()=>_,mr:()=>r,sy:()=>h});var o=s(138),r="function"==typeof WeakMap&&"ReactNative"!==(0,o.wY)(function(){return navigator.product}),h="function"==typeof WeakSet,_="function"==typeof Symbol&&"function"==typeof Symbol.for;(0,o.wY)(function(){return window.document.createElement}),(0,o.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},3107:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=Object.prototype.toString;function r(_){return h(_)}function h(_,f){switch(o.call(_)){case"[object Array]":if((f=f||new Map).has(_))return f.get(_);var d=_.slice(0);return f.set(_,d),d.forEach(function(L,A){d[A]=h(L,f)}),d;case"[object Object]":if((f=f||new Map).has(_))return f.get(_);var w=Object.create(Object.getPrototypeOf(_));return f.set(_,w),Object.keys(_).forEach(function(L){w[L]=h(_[L],f)}),w;default:return _}}},4155:(Ue,J,s)=>{"use strict";function o(){for(var r=[],h=0;ho})},5801:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=new Map;function r(h){var _=o.get(h)||1;return o.set(h,_+1),"".concat(h,":").concat(_,":").concat(Math.random().toString(36).slice(2))}},6216:(Ue,J,s)=>{"use strict";s.d(J,{Ee:()=>_,bw:()=>f,w0:()=>w});var o=s(4762),r=s(9231),h=Object.prototype.hasOwnProperty;function _(){for(var L=[],A=0;A1)for(var B=new w,m=1;m{"use strict";s.d(J,{J:()=>h});var o=s(4762),r=s(4155);function h(_,f){return(0,r.o)(_,f,f.variables&&{variables:(0,o.pi)((0,o.pi)({},_&&_.variables),f.variables)})}},9231:(Ue,J,s)=>{"use strict";function o(r){return null!==r&&"object"==typeof r}s.d(J,{s:()=>o})},138:(Ue,J,s)=>{"use strict";s.d(J,{Rk:()=>w,ej:()=>o.ej,kG:()=>o.kG,wY:()=>r});var o=s(2269);function r(H){try{return H()}catch{}}const h=r(function(){return globalThis})||r(function(){return window})||r(function(){return self})||r(function(){return global})||r(function(){return r.constructor("return this")()});var _="__",f=[_,_].join("DEV");const w=function d(){try{return Boolean(__DEV__)}catch{return Object.defineProperty(h,f,{value:"production"!==r(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),h[f]}}();function L(H){try{return H()}catch{}}var A=L(function(){return globalThis})||L(function(){return window})||L(function(){return self})||L(function(){return global})||L(function(){return L.constructor("return this")()}),g=!1;!function B(){A&&!L(function(){return"production"})&&!L(function(){return process})&&(Object.defineProperty(A,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),g=!0)}(),s(3075),function S(){(function m(){g&&(delete A.process,g=!1)})()}(),function v(){__DEV__?(0,o.kG)("boolean"==typeof w,w):(0,o.kG)("boolean"==typeof w,36)}()},443:(Ue,J,s)=>{"use strict";s.d(J,{FS:()=>f,LZ:()=>h,mj:()=>d});var o=s(138),r=s(9098);function h(A,g){var B=A.directives;return!B||!B.length||function L(A){var g=[];return A&&A.length&&A.forEach(function(B){if(function w(A){var g=A.name.value;return"skip"===g||"include"===g}(B)){var m=B.arguments,b=B.name.value;__DEV__?(0,o.kG)(m&&1===m.length,"Incorrect number of arguments for the @".concat(b," directive.")):(0,o.kG)(m&&1===m.length,38);var S=m[0];__DEV__?(0,o.kG)(S.name&&"if"===S.name.value,"Invalid argument for the @".concat(b," directive.")):(0,o.kG)(S.name&&"if"===S.name.value,39);var v=S.value;__DEV__?(0,o.kG)(v&&("Variable"===v.kind||"BooleanValue"===v.kind),"Argument for the @".concat(b," directive must be a variable or a boolean value.")):(0,o.kG)(v&&("Variable"===v.kind||"BooleanValue"===v.kind),40),g.push({directive:B,ifArgument:S})}}),g}(B).every(function(m){var b=m.directive,S=m.ifArgument,v=!1;return"Variable"===S.value.kind?(v=g&&g[S.value.name.value],__DEV__?(0,o.kG)(void 0!==v,"Invalid variable referenced in @".concat(b.name.value," directive.")):(0,o.kG)(void 0!==v,37)):v=S.value.value,"skip"===b.name.value?!v:v})}function f(A,g){return function _(A){var g=[];return(0,r.Vn)(A,{Directive:function(B){g.push(B.name.value)}}),g}(g).some(function(B){return A.indexOf(B)>-1})}function d(A){return A&&f(["client"],A)&&f(["export"],A)}},1598:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>_,Yk:()=>h,hi:()=>f});var o=s(4762),r=s(138);function h(d,w){var L=w,A=[];return d.definitions.forEach(function(B){if("OperationDefinition"===B.kind)throw __DEV__?new r.ej("Found a ".concat(B.operation," operation").concat(B.name?" named '".concat(B.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new r.ej(41);"FragmentDefinition"===B.kind&&A.push(B)}),typeof L>"u"&&(__DEV__?(0,r.kG)(1===A.length,"Found ".concat(A.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,r.kG)(1===A.length,42),L=A[0].name.value),(0,o.pi)((0,o.pi)({},d),{definitions:(0,o.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:L}}]}}],d.definitions,!0)})}function _(d){void 0===d&&(d=[]);var w={};return d.forEach(function(L){w[L.name.value]=L}),w}function f(d,w){switch(d.kind){case"InlineFragment":return d;case"FragmentSpread":var L=w&&w[d.name.value];return __DEV__?(0,r.kG)(L,"No fragment named ".concat(d.name.value,".")):(0,r.kG)(L,43),L;default:return null}}},1144:(Ue,J,s)=>{"use strict";s.d(J,{$H:()=>_,A$:()=>h,O4:()=>g,iW:()=>w,kU:()=>d,p$:()=>A,pD:()=>L,rY:()=>f});var o=s(138),r=s(9737);function h(B){__DEV__?(0,o.kG)(B&&"Document"===B.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,o.kG)(B&&"Document"===B.kind,44);var m=B.definitions.filter(function(b){return"FragmentDefinition"!==b.kind}).map(function(b){if("OperationDefinition"!==b.kind)throw __DEV__?new o.ej('Schema type definitions not allowed in queries. Found: "'.concat(b.kind,'"')):new o.ej(45);return b});return __DEV__?(0,o.kG)(m.length<=1,"Ambiguous GraphQL document: contains ".concat(m.length," operations")):(0,o.kG)(m.length<=1,46),B}function _(B){return h(B),B.definitions.filter(function(m){return"OperationDefinition"===m.kind})[0]}function f(B){return B.definitions.filter(function(m){return"OperationDefinition"===m.kind&&m.name}).map(function(m){return m.name.value})[0]||null}function d(B){return B.definitions.filter(function(m){return"FragmentDefinition"===m.kind})}function w(B){var m=_(B);return __DEV__?(0,o.kG)(m&&"query"===m.operation,"Must contain a query definition."):(0,o.kG)(m&&"query"===m.operation,47),m}function L(B){__DEV__?(0,o.kG)("Document"===B.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,o.kG)("Document"===B.kind,48),__DEV__?(0,o.kG)(B.definitions.length<=1,"Fragment must have exactly one definition."):(0,o.kG)(B.definitions.length<=1,49);var m=B.definitions[0];return __DEV__?(0,o.kG)("FragmentDefinition"===m.kind,"Must be a fragment definition."):(0,o.kG)("FragmentDefinition"===m.kind,50),m}function A(B){h(B);for(var m,b=0,S=B.definitions;b{"use strict";s.d(J,{Ao:()=>ye,JW:()=>d,My:()=>ve,NC:()=>Z,PT:()=>Ee,Yk:()=>f,kQ:()=>_,qw:()=>Se,u2:()=>Me,vb:()=>H,vf:()=>x});var o=s(138),r=s(9231),h=s(1598);function _(De){return{__ref:String(De)}}function f(De){return Boolean(De&&"object"==typeof De&&"string"==typeof De.__ref)}function d(De){return(0,r.s)(De)&&"Document"===De.kind&&Array.isArray(De.definitions)}function H(De,z,Y,V){if(function A(De){return"IntValue"===De.kind}(Y)||function g(De){return"FloatValue"===De.kind}(Y))De[z.value]=Number(Y.value);else if(function L(De){return"BooleanValue"===De.kind}(Y)||function w(De){return"StringValue"===De.kind}(Y))De[z.value]=Y.value;else if(function m(De){return"ObjectValue"===De.kind}(Y)){var j={};Y.fields.map(function(Ie){return H(j,Ie.name,Ie.value,V)}),De[z.value]=j}else if(function B(De){return"Variable"===De.kind}(Y))De[z.value]=(V||{})[Y.name.value];else if(function b(De){return"ListValue"===De.kind}(Y))De[z.value]=Y.values.map(function(Ie){var ke={};return H(ke,z,Ie,V),ke[z.value]});else if(function S(De){return"EnumValue"===De.kind}(Y))De[z.value]=Y.value;else{if(!function v(De){return"NullValue"===De.kind}(Y))throw __DEV__?new o.ej('The inline argument "'.concat(z.value,'" of kind "').concat(Y.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new o.ej(52);De[z.value]=null}}function x(De,z){var Y=null;De.directives&&(Y={},De.directives.forEach(function(j){Y[j.name.value]={},j.arguments&&j.arguments.forEach(function(X){return H(Y[j.name.value],X.name,X.value,z)})}));var V=null;return De.arguments&&De.arguments.length&&(V={},De.arguments.forEach(function(j){return H(V,j.name,j.value,z)})),Ee(De.name.value,V,Y)}var te=["connection","include","skip","client","rest","export"],Ee=Object.assign(function(De,z,Y){if(z&&Y&&Y.connection&&Y.connection.key){if(Y.connection.filter&&Y.connection.filter.length>0){var V=Y.connection.filter?Y.connection.filter:[];V.sort();var j={};return V.forEach(function(ke){j[ke]=z[ke]}),"".concat(Y.connection.key,"(").concat(T(j),")")}return Y.connection.key}var X=De;if(z){var Ie=T(z);X+="(".concat(Ie,")")}return Y&&Object.keys(Y).forEach(function(ke){-1===te.indexOf(ke)&&(Y[ke]&&Object.keys(Y[ke]).length?X+="@".concat(ke,"(").concat(T(Y[ke]),")"):X+="@".concat(ke))}),X},{setStringify:function(De){var z=T;return T=De,z}}),T=function(z){return JSON.stringify(z,ue)};function ue(De,z){return(0,r.s)(z)&&!Array.isArray(z)&&(z=Object.keys(z).sort().reduce(function(Y,V){return Y[V]=z[V],Y},{})),z}function Z(De,z){if(De.arguments&&De.arguments.length){var Y={};return De.arguments.forEach(function(V){return H(Y,V.name,V.value,z)}),Y}return null}function Me(De){return De.alias?De.alias.value:De.name.value}function Se(De,z,Y){if("string"==typeof De.__typename)return De.__typename;for(var V=0,j=z.selections;V{"use strict";s.d(J,{Gw:()=>b,aL:()=>Z,ob:()=>Me,Fo:()=>v});var o=s(4762),r=s(138),h=s(9098),_=s(1144);function f(Se,ve,ye){var De=0;return Se.forEach(function(z,Y){ve.call(this,z,Y,Se)&&(Se[De++]=z)},ye),Se.length=De,Se}var d=s(9737),w=s(1598),L={kind:"Field",name:{kind:"Name",value:"__typename"}};function A(Se,ve){return Se.selectionSet.selections.every(function(ye){return"FragmentSpread"===ye.kind&&A(ve[ye.name.value],ve)})}function g(Se){return A((0,_.$H)(Se)||(0,_.pD)(Se),(0,w.F)((0,_.kU)(Se)))?null:Se}function B(Se){return function(ye){return Se.some(function(De){return De.name&&De.name===ye.name.value||De.test&&De.test(ye)})}}function m(Se,ve){var ye=Object.create(null),De=[],z=Object.create(null),Y=[],V=g((0,h.Vn)(ve,{Variable:{enter:function(j,X,Ie){"VariableDefinition"!==Ie.kind&&(ye[j.name.value]=!0)}},Field:{enter:function(j){if(Se&&j.directives&&Se.some(function(Ie){return Ie.remove})&&j.directives&&j.directives.some(B(Se)))return j.arguments&&j.arguments.forEach(function(Ie){"Variable"===Ie.value.kind&&De.push({name:Ie.value.name.value})}),j.selectionSet&&ue(j.selectionSet).forEach(function(Ie){Y.push({name:Ie.name.value})}),null}},FragmentSpread:{enter:function(j){z[j.name.value]=!0}},Directive:{enter:function(j){if(B(Se)(j))return null}}}));return V&&f(De,function(j){return!!j.name&&!ye[j.name]}).length&&(V=function Ee(Se,ve){var ye=function te(Se){return function(ye){return Se.some(function(De){return ye.value&&"Variable"===ye.value.kind&&ye.value.name&&(De.name===ye.value.name.value||De.test&&De.test(ye))})}}(Se);return g((0,h.Vn)(ve,{OperationDefinition:{enter:function(De){return(0,o.pi)((0,o.pi)({},De),{variableDefinitions:De.variableDefinitions?De.variableDefinitions.filter(function(z){return!Se.some(function(Y){return Y.name===z.variable.name.value})}):[]})}},Field:{enter:function(De){var z=Se.some(function(V){return V.remove});if(z){var Y=0;if(De.arguments&&De.arguments.forEach(function(V){ye(V)&&(Y+=1)}),1===Y)return null}}},Argument:{enter:function(De){if(ye(De))return null}}}))}(De,V)),V&&f(Y,function(j){return!!j.name&&!z[j.name]}).length&&(V=function T(Se,ve){function ye(De){if(Se.some(function(z){return z.name===De.name.value}))return null}return g((0,h.Vn)(ve,{FragmentSpread:{enter:ye},FragmentDefinition:{enter:ye}}))}(Y,V)),V}var b=Object.assign(function(Se){return(0,h.Vn)(Se,{SelectionSet:{enter:function(ve,ye,De){if(!De||"OperationDefinition"!==De.kind){var z=ve.selections;if(z&&!z.some(function(j){return(0,d.My)(j)&&("__typename"===j.name.value||0===j.name.value.lastIndexOf("__",0))})){var V=De;if(!((0,d.My)(V)&&V.directives&&V.directives.some(function(j){return"export"===j.name.value})))return(0,o.pi)((0,o.pi)({},ve),{selections:(0,o.ev)((0,o.ev)([],z,!0),[L],!1)})}}}}})},{added:function(Se){return Se===L}}),S={test:function(Se){var ve="connection"===Se.name.value;return ve&&(!Se.arguments||!Se.arguments.some(function(ye){return"key"===ye.name.value}))&&__DEV__&&r.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),ve}};function v(Se){return m([S],(0,_.A$)(Se))}function ue(Se){var ve=[];return Se.selections.forEach(function(ye){((0,d.My)(ye)||(0,d.Ao)(ye))&&ye.selectionSet?ue(ye.selectionSet).forEach(function(De){return ve.push(De)}):"FragmentSpread"===ye.kind&&ve.push(ye)}),ve}function Z(Se){return"query"===(0,_.p$)(Se).operation?Se:(0,h.Vn)(Se,{OperationDefinition:{enter:function(z){return(0,o.pi)((0,o.pi)({},z),{operation:"query"})}}})}function Me(Se){(0,_.A$)(Se);var ve=m([{test:function(ye){return"client"===ye.name.value},remove:!0}],Se);return ve&&(ve=(0,h.Vn)(ve,{FragmentDefinition:{enter:function(ye){if(ye.selectionSet&&ye.selectionSet.selections.every(function(z){return(0,d.My)(z)&&"__typename"===z.name.value}))return null}}})),ve}},1194:(Ue,J,s)=>{"use strict";function o(r,h,_){var f=[];r.forEach(function(d){return d[h]&&f.push(d)}),f.forEach(function(d){return d[h](_)})}s.d(J,{p:()=>o})},2652:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>h});var o=s(4854),r=s(7289);function h(_){function f(d){Object.defineProperty(_,d,{value:o.y})}return r.aS&&Symbol.species&&f(Symbol.species),f("@@species"),_}},274:(Ue,J,s)=>{"use strict";s.d(J,{_M:()=>Y,VG:()=>X,Ps:()=>$});var o=s(4537),r=s(3135),h=s(5447),_=s(9139),f=s(3466),w=s(474);const A=new class L extends w.v{}(class d extends f.o{constructor(xe,Ke){super(xe,Ke),this.scheduler=xe,this.work=Ke}schedule(xe,Ke=0){return Ke>0?super.schedule(xe,Ke):(this.delay=Ke,this.state=xe,this.scheduler.flush(this),this)}execute(xe,Ke){return Ke>0||this.closed?super.execute(xe,Ke):this._execute(xe,Ke)}requestAsyncId(xe,Ke,me=0){return null!=me&&me>0||null==me&&this.delay>0?super.requestAsyncId(xe,Ke,me):xe.flush(this)}});var B=s(818),m=s(3122),b=s(7108),S=s(7969),v=s(1927),H=s(7513);function x(re){return new B.y(xe=>(re().then(Ke=>{xe.closed||(xe.next(Ke),xe.complete())},Ke=>{xe.closed||xe.error(Ke)}),()=>xe.unsubscribe()))}class Ee{constructor(xe){this.zone=xe,this.now=Date.now?Date.now:()=>+new Date}schedule(xe,Ke=0,me){return this.zone.run(()=>A.schedule(xe,Ke,me))}}function T(re){return re[m.L]=()=>re,re}function ue(re,xe){return re.pipe((0,H.Q)(new Ee(xe)))}function Z(re,xe,Ke){return re&&typeof re[xe]<"u"?re[xe]:Ke}class Se{constructor(xe,Ke,me){this.obsQuery=xe;const P=ue((0,b.D)(T(this.obsQuery)),Ke);this.valueChanges=me.useInitialLoading?P.pipe(function Me(re){return function(Ke){return new B.y(function(P){const se=re.getCurrentResult(),{loading:Ce,errors:He,error:Qe,partial:st,data:Ge}=se,{partialRefetch:at,fetchPolicy:_t}=re.options,xt=He||Qe;return at&&st&&(!Ge||0===Object.keys(Ge).length)&&"cache-only"!==_t&&!Ce&&!xt&&P.next({...se,loading:!0,networkStatus:r.I.loading}),Ke.subscribe(P)})}}(this.obsQuery)):P,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(xe){return this.obsQuery.refetch(xe)}fetchMore(xe){return this.obsQuery.fetchMore(xe)}subscribeToMore(xe){return this.obsQuery.subscribeToMore(xe)}updateQuery(xe){return this.obsQuery.updateQuery(xe)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(xe){return this.obsQuery.startPolling(xe)}setOptions(xe){return this.obsQuery.setOptions(xe)}setVariables(xe){return this.obsQuery.setVariables(xe)}}const ve=new o.OlP("APOLLO_FLAGS"),ye=new o.OlP("APOLLO_OPTIONS"),De=new o.OlP("APOLLO_NAMED_OPTIONS");class z{constructor(xe,Ke,me){this.ngZone=xe,this.flags=Ke,this._client=me,this.useInitialLoading=Z(Ke,"useInitialLoading",!1),this.useMutationLoading=Z(Ke,"useMutationLoading",!1)}watchQuery(xe){return new Se(this.ensureClient().watchQuery({...xe}),this.ngZone,{useInitialLoading:this.useInitialLoading,...xe})}query(xe){return x(()=>this.ensureClient().query({...xe}))}mutate(xe){return function te(re,xe){return xe?re.pipe((0,v.O)({loading:!0}),(0,S.U)(Ke=>({...Ke,loading:!!Ke.loading}))):re.pipe((0,S.U)(Ke=>({...Ke,loading:!1})))}(x(()=>this.ensureClient().mutate({...xe})),xe.useMutationLoading??this.useMutationLoading)}subscribe(xe,Ke){const me=(0,b.D)(T(this.ensureClient().subscribe({...xe})));return Ke&&!0!==Ke.useZone?me:ue(me,this.ngZone)}getClient(){return this.client}setClient(xe){this.client=xe}get client(){return this._client}set client(xe){if(this._client)throw new Error("Client has been already defined");this._client=xe}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Y=(()=>{class re extends z{constructor(Ke,me,P,se){if(super(Ke,se),this._ngZone=Ke,this.map=new Map,me&&this.createDefault(me),P&&"object"==typeof P)for(let Ce in P)P.hasOwnProperty(Ce)&&this.createNamed(Ce,P[Ce])}create(Ke,me){V(me)?this.createDefault(Ke):this.createNamed(me,Ke)}default(){return this}use(Ke){return V(Ke)?this.default():this.map.get(Ke)}createDefault(Ke){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new h.f(Ke))}createNamed(Ke,me){if(this.map.has(Ke))throw new Error(`Client ${Ke} has been already created`);this.map.set(Ke,new z(this._ngZone,this.flags,new h.f(me)))}removeClient(Ke){V(Ke)?this._client=void 0:this.map.delete(Ke)}}return re.\u0275fac=function(Ke){return new(Ke||re)(o.LFG(o.R0b),o.LFG(ye,8),o.LFG(De,8),o.LFG(ve,8))},re.\u0275prov=o.Yz7({token:re,factory:re.\u0275fac}),re})();function V(re){return!re||"default"===re}const j=[Y];let X=(()=>{class re{}return re.\u0275fac=function(Ke){return new(Ke||re)},re.\u0275mod=o.oAB({type:re}),re.\u0275inj=o.cJS({providers:j}),re})();const $=function lt(re,...xe){return(0,_.Ps)(re,...xe)}},4153:(Ue,J,s)=>{"use strict";function o(r,h){if(!Boolean(r))throw new Error(h)}s.d(J,{a:()=>o})},596:(Ue,J,s)=>{"use strict";function h(g){return _(g,[])}function _(g,B){switch(typeof g){case"string":return JSON.stringify(g);case"function":return g.name?`[function ${g.name}]`:"[function]";case"object":return function f(g,B){if(null===g)return"null";if(B.includes(g))return"[Circular]";const m=[...B,g];if(function d(g){return"function"==typeof g.toJSON}(g)){const b=g.toJSON();if(b!==g)return"string"==typeof b?b:_(b,m)}else if(Array.isArray(g))return function L(g,B){if(0===g.length)return"[]";if(B.length>2)return"[Array]";const m=Math.min(10,g.length),b=g.length-m,S=[];for(let v=0;v1&&S.push(`... ${b} more items`),"["+S.join(", ")+"]"}(g,m);return function w(g,B){const m=Object.entries(g);return 0===m.length?"{}":B.length>2?"["+function A(g){const B=Object.prototype.toString.call(g).replace(/^\[object /,"").replace(/]$/,"");if("Object"===B&&"function"==typeof g.constructor){const m=g.constructor.name;if("string"==typeof m&&""!==m)return m}return B}(g)+"]":"{ "+m.map(([S,v])=>S+": "+_(v,B)).join(", ")+" }"}(g,m)}(g,B);default:return String(g)}}s.d(J,{X:()=>h})},484:(Ue,J,s)=>{"use strict";s.d(J,{UG:()=>f,WU:()=>r,Ye:()=>o,h8:()=>h,ku:()=>d});class o{constructor(L,A,g){this.start=L.start,this.end=A.end,this.startToken=L,this.endToken=A,this.source=g}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class r{constructor(L,A,g,B,m,b){this.kind=L,this.start=A,this.end=g,this.line=B,this.column=m,this.value=b,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const h={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},_=new Set(Object.keys(h));function f(w){const L=w?.kind;return"string"==typeof L&&_.has(L)}var d=(()=>{return(w=d||(d={})).QUERY="query",w.MUTATION="mutation",w.SUBSCRIPTION="subscription",d;var w})()},1797:(Ue,J,s)=>{"use strict";s.d(J,{LZ:()=>f,wv:()=>r});var o=s(1777);function r(d){var w;let L=Number.MAX_SAFE_INTEGER,A=null,g=-1;for(let m=0;m0===b?m:m.slice(L)).slice(null!==(w=A)&&void 0!==w?w:0,g+1)}function h(d){let w=0;for(;w1&&A.slice(1).every(Ee=>0===Ee.length||(0,o.FD)(Ee.charCodeAt(0))),m=L.endsWith('\\"""'),b=d.endsWith('"')&&!m,S=d.endsWith("\\"),v=b||S,H=!(null!=w&&w.minimize)&&(!g||d.length>70||v||B||m);let x="";const te=g&&(0,o.FD)(d.charCodeAt(0));return(H&&!te||B)&&(x+="\n"),x+=L,(H||v)&&(x+="\n"),'"""'+x+'"""'}},1777:(Ue,J,s)=>{"use strict";function o(d){return 9===d||32===d}function r(d){return d>=48&&d<=57}function h(d){return d>=97&&d<=122||d>=65&&d<=90}function _(d){return h(d)||95===d}function f(d){return h(d)||r(d)||95===d}s.d(J,{FD:()=>o,HQ:()=>f,LQ:()=>_,X1:()=>r})},1605:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>o});var o=(()=>{return(r=o||(o={})).NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",o;var r})()},4145:(Ue,J,s)=>{"use strict";s.d(J,{S:()=>w});var o=s(1797);const h=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function _(v){return f[v.charCodeAt(0)]}const f=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var d=s(9098);function w(v){return(0,d.Vn)(v,A)}const A={Name:{leave:v=>v.value},Variable:{leave:v=>"$"+v.name},Document:{leave:v=>g(v.definitions,"\n\n")},OperationDefinition:{leave(v){const H=m("(",g(v.variableDefinitions,", "),")"),x=g([v.operation,g([v.name,H]),g(v.directives," ")]," ");return("query"===x?"":x+" ")+v.selectionSet}},VariableDefinition:{leave:({variable:v,type:H,defaultValue:x,directives:te})=>v+": "+H+m(" = ",x)+m(" ",g(te," "))},SelectionSet:{leave:({selections:v})=>B(v)},Field:{leave({alias:v,name:H,arguments:x,directives:te,selectionSet:Ee}){const T=m("",v,": ")+H;let ue=T+m("(",g(x,", "),")");return ue.length>80&&(ue=T+m("(\n",b(g(x,"\n")),"\n)")),g([ue,g(te," "),Ee]," ")}},Argument:{leave:({name:v,value:H})=>v+": "+H},FragmentSpread:{leave:({name:v,directives:H})=>"..."+v+m(" ",g(H," "))},InlineFragment:{leave:({typeCondition:v,directives:H,selectionSet:x})=>g(["...",m("on ",v),g(H," "),x]," ")},FragmentDefinition:{leave:({name:v,typeCondition:H,variableDefinitions:x,directives:te,selectionSet:Ee})=>`fragment ${v}${m("(",g(x,", "),")")} on ${H} ${m("",g(te," ")," ")}`+Ee},IntValue:{leave:({value:v})=>v},FloatValue:{leave:({value:v})=>v},StringValue:{leave:({value:v,block:H})=>H?(0,o.LZ)(v):function r(v){return`"${v.replace(h,_)}"`}(v)},BooleanValue:{leave:({value:v})=>v?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:v})=>v},ListValue:{leave:({values:v})=>"["+g(v,", ")+"]"},ObjectValue:{leave:({fields:v})=>"{"+g(v,", ")+"}"},ObjectField:{leave:({name:v,value:H})=>v+": "+H},Directive:{leave:({name:v,arguments:H})=>"@"+v+m("(",g(H,", "),")")},NamedType:{leave:({name:v})=>v},ListType:{leave:({type:v})=>"["+v+"]"},NonNullType:{leave:({type:v})=>v+"!"},SchemaDefinition:{leave:({description:v,directives:H,operationTypes:x})=>m("",v,"\n")+g(["schema",g(H," "),B(x)]," ")},OperationTypeDefinition:{leave:({operation:v,type:H})=>v+": "+H},ScalarTypeDefinition:{leave:({description:v,name:H,directives:x})=>m("",v,"\n")+g(["scalar",H,g(x," ")]," ")},ObjectTypeDefinition:{leave:({description:v,name:H,interfaces:x,directives:te,fields:Ee})=>m("",v,"\n")+g(["type",H,m("implements ",g(x," & ")),g(te," "),B(Ee)]," ")},FieldDefinition:{leave:({description:v,name:H,arguments:x,type:te,directives:Ee})=>m("",v,"\n")+H+(S(x)?m("(\n",b(g(x,"\n")),"\n)"):m("(",g(x,", "),")"))+": "+te+m(" ",g(Ee," "))},InputValueDefinition:{leave:({description:v,name:H,type:x,defaultValue:te,directives:Ee})=>m("",v,"\n")+g([H+": "+x,m("= ",te),g(Ee," ")]," ")},InterfaceTypeDefinition:{leave:({description:v,name:H,interfaces:x,directives:te,fields:Ee})=>m("",v,"\n")+g(["interface",H,m("implements ",g(x," & ")),g(te," "),B(Ee)]," ")},UnionTypeDefinition:{leave:({description:v,name:H,directives:x,types:te})=>m("",v,"\n")+g(["union",H,g(x," "),m("= ",g(te," | "))]," ")},EnumTypeDefinition:{leave:({description:v,name:H,directives:x,values:te})=>m("",v,"\n")+g(["enum",H,g(x," "),B(te)]," ")},EnumValueDefinition:{leave:({description:v,name:H,directives:x})=>m("",v,"\n")+g([H,g(x," ")]," ")},InputObjectTypeDefinition:{leave:({description:v,name:H,directives:x,fields:te})=>m("",v,"\n")+g(["input",H,g(x," "),B(te)]," ")},DirectiveDefinition:{leave:({description:v,name:H,arguments:x,repeatable:te,locations:Ee})=>m("",v,"\n")+"directive @"+H+(S(x)?m("(\n",b(g(x,"\n")),"\n)"):m("(",g(x,", "),")"))+(te?" repeatable":"")+" on "+g(Ee," | ")},SchemaExtension:{leave:({directives:v,operationTypes:H})=>g(["extend schema",g(v," "),B(H)]," ")},ScalarTypeExtension:{leave:({name:v,directives:H})=>g(["extend scalar",v,g(H," ")]," ")},ObjectTypeExtension:{leave:({name:v,interfaces:H,directives:x,fields:te})=>g(["extend type",v,m("implements ",g(H," & ")),g(x," "),B(te)]," ")},InterfaceTypeExtension:{leave:({name:v,interfaces:H,directives:x,fields:te})=>g(["extend interface",v,m("implements ",g(H," & ")),g(x," "),B(te)]," ")},UnionTypeExtension:{leave:({name:v,directives:H,types:x})=>g(["extend union",v,g(H," "),m("= ",g(x," | "))]," ")},EnumTypeExtension:{leave:({name:v,directives:H,values:x})=>g(["extend enum",v,g(H," "),B(x)]," ")},InputObjectTypeExtension:{leave:({name:v,directives:H,fields:x})=>g(["extend input",v,g(H," "),B(x)]," ")}};function g(v,H=""){var x;return null!==(x=v?.filter(te=>te).join(H))&&void 0!==x?x:""}function B(v){return m("{\n",b(g(v,"\n")),"\n}")}function m(v,H,x=""){return null!=H&&""!==H?v+H+x:""}function b(v){return m(" ",v.replace(/\n/g,"\n "))}function S(v){var H;return null!==(H=v?.some(x=>x.includes("\n")))&&void 0!==H&&H}},3075:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>f,T:()=>d});var o=s(4153),r=s(596);const _=globalThis.process?function(L,A){return L instanceof A}:function(L,A){if(L instanceof A)return!0;if("object"==typeof L&&null!==L){var g;const B=A.prototype[Symbol.toStringTag];if(B===(Symbol.toStringTag in L?L[Symbol.toStringTag]:null===(g=L.constructor)||void 0===g?void 0:g.name)){const b=(0,r.X)(L);throw new Error(`Cannot use ${B} "${b}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class f{constructor(L,A="GraphQL request",g={line:1,column:1}){"string"==typeof L||(0,o.a)(!1,`Body must be a string. Received: ${(0,r.X)(L)}.`),this.body=L,this.name=A,this.locationOffset=g,this.locationOffset.line>0||(0,o.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function d(w){return _(w,f)}},9098:(Ue,J,s)=>{"use strict";s.d(J,{$_:()=>f,Vn:()=>d});var o=s(4153),r=s(596),h=s(484),_=s(1605);const f=Object.freeze({});function d(g,B,m=h.h8){const b=new Map;for(const De of Object.values(_.h))b.set(De,L(B,De));let S,T,ue,v=Array.isArray(g),H=[g],x=-1,te=[],Ee=g;const Z=[],Me=[];do{x++;const De=x===H.length,z=De&&0!==te.length;if(De){if(T=0===Me.length?void 0:Z[Z.length-1],Ee=ue,ue=Me.pop(),z)if(v){Ee=Ee.slice();let V=0;for(const[j,X]of te){const Ie=j-V;null===X?(Ee.splice(Ie,1),V++):Ee[Ie]=X}}else{Ee=Object.defineProperties({},Object.getOwnPropertyDescriptors(Ee));for(const[V,j]of te)Ee[V]=j}x=S.index,H=S.keys,te=S.edits,v=S.inArray,S=S.prev}else if(ue){if(T=v?x:H[x],Ee=ue[T],null==Ee)continue;Z.push(T)}let Y;if(!Array.isArray(Ee)){var Se,ve;if((0,h.UG)(Ee)||(0,o.a)(!1,`Invalid AST Node: ${(0,r.X)(Ee)}.`),Y=(De?null===(Se=b.get(Ee.kind))||void 0===Se?void 0:Se.leave:null===(ve=b.get(Ee.kind))||void 0===ve?void 0:ve.enter)?.call(B,Ee,T,ue,Z,Me),Y===f)break;if(!1===Y){if(!De){Z.pop();continue}}else if(void 0!==Y&&(te.push([T,Y]),!De)){if(!(0,h.UG)(Y)){Z.pop();continue}Ee=Y}}var ye;void 0===Y&&z&&te.push([T,Ee]),De?Z.pop():(S={inArray:v,index:x,keys:H,edits:te,prev:S},v=Array.isArray(Ee),H=v?Ee:null!==(ye=m[Ee.kind])&&void 0!==ye?ye:[],x=-1,te=[],ue&&Me.push(ue),ue=Ee)}while(void 0!==S);return 0!==te.length?te[te.length-1][1]:g}function L(g,B){const m=g[B];return"object"==typeof m?m:"function"==typeof m?{enter:m,leave:void 0}:{enter:g.enter,leave:g.leave}}},7657:(Ue,J,s)=>{"use strict";s.d(J,{lF:()=>ln,JP:()=>Ht,Zy:()=>nn});var o=s(4537),r=s(8023),h=s(1860),_=s(4945),f=s(7878),d=s(5557),w=s(815),A=s(1528),g=s(116),B=s(2147),m=s(1927),b=s(7969),S=s(3528),H=(s(9676),s(8692));let te={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const T=/[&<>"']/,ue=/[&<>"']/g,Z=/[<>"']|&(?!#?\w+;)/,Me=/[<>"']|&(?!#?\w+;)/g,Se={"&":"&","<":"<",">":">",'"':""","'":"'"},ve=Pe=>Se[Pe];function ye(Pe,I){if(I){if(T.test(Pe))return Pe.replace(ue,ve)}else if(Z.test(Pe))return Pe.replace(Me,ve);return Pe}const De=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function z(Pe){return Pe.replace(De,(I,O)=>"colon"===(O=O.toLowerCase())?":":"#"===O.charAt(0)?"x"===O.charAt(1)?String.fromCharCode(parseInt(O.substring(2),16)):String.fromCharCode(+O.substring(1)):"")}const Y=/(^|[^\[])\^/g;function V(Pe,I){Pe="string"==typeof Pe?Pe:Pe.source,I=I||"";const O={replace:(Q,Fe)=>(Fe=(Fe=Fe.source||Fe).replace(Y,"$1"),Pe=Pe.replace(Q,Fe),O),getRegex:()=>new RegExp(Pe,I)};return O}const j=/[^\w:]/g,X=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ie(Pe,I,O){if(Pe){let Q;try{Q=decodeURIComponent(z(O)).replace(j,"").toLowerCase()}catch{return null}if(0===Q.indexOf("javascript:")||0===Q.indexOf("vbscript:")||0===Q.indexOf("data:"))return null}I&&!X.test(O)&&(O=function Re(Pe,I){ke[" "+Pe]||(ke[" "+Pe]=tt.test(Pe)?Pe+"/":me(Pe,"/",!0));const O=-1===(Pe=ke[" "+Pe]).indexOf(":");return"//"===I.substring(0,2)?O?I:Pe.replace(lt,"$1")+I:"/"===I.charAt(0)?O?I:Pe.replace($,"$1")+I:Pe+I}(I,O));try{O=encodeURI(O).replace(/%25/g,"%")}catch{return null}return O}const ke={},tt=/^[^:]+:\/*[^/]*$/,lt=/^([^:]+:)[\s\S]*$/,$=/^([^:]+:\/*[^/]*)[\s\S]*$/,re={exec:function(){}};function xe(Pe){let O,Q,I=1;for(;I{let Lt=!1,Kt=Et;for(;--Kt>=0&&"\\"===Dt[Kt];)Lt=!Lt;return Lt?"|":" |"}).split(/ \|/);let Fe=0;if(Q[0].trim()||Q.shift(),Q.length>0&&!Q[Q.length-1].trim()&&Q.pop(),Q.length>I)Q.splice(I);else for(;Q.length1;)1&I&&(O+=Pe),I>>=1,Pe+=Pe;return O+Pe}function He(Pe,I,O,Q){const Fe=I.href,rt=I.title?ye(I.title):null,Et=Pe[1].replace(/\\([\[\]])/g,"$1");if("!"!==Pe[0].charAt(0)){Q.state.inLink=!0;const Dt={type:"link",raw:O,href:Fe,title:rt,text:Et,tokens:Q.inlineTokens(Et,[])};return Q.state.inLink=!1,Dt}return{type:"image",raw:O,href:Fe,title:rt,text:ye(Et)}}class st{constructor(I){this.options=I||te}space(I){const O=this.rules.block.newline.exec(I);if(O&&O[0].length>0)return{type:"space",raw:O[0]}}code(I){const O=this.rules.block.code.exec(I);if(O){const Q=O[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:O[0],codeBlockStyle:"indented",text:this.options.pedantic?Q:me(Q,"\n")}}}fences(I){const O=this.rules.block.fences.exec(I);if(O){const Q=O[0],Fe=function Qe(Pe,I){const O=Pe.match(/^(\s+)(?:```)/);if(null===O)return I;const Q=O[1];return I.split("\n").map(Fe=>{const rt=Fe.match(/^\s+/);if(null===rt)return Fe;const[Et]=rt;return Et.length>=Q.length?Fe.slice(Q.length):Fe}).join("\n")}(Q,O[3]||"");return{type:"code",raw:Q,lang:O[2]?O[2].trim():O[2],text:Fe}}}heading(I){const O=this.rules.block.heading.exec(I);if(O){let Q=O[2].trim();if(/#$/.test(Q)){const rt=me(Q,"#");(this.options.pedantic||!rt||/ $/.test(rt))&&(Q=rt.trim())}const Fe={type:"heading",raw:O[0],depth:O[1].length,text:Q,tokens:[]};return this.lexer.inline(Fe.text,Fe.tokens),Fe}}hr(I){const O=this.rules.block.hr.exec(I);if(O)return{type:"hr",raw:O[0]}}blockquote(I){const O=this.rules.block.blockquote.exec(I);if(O){const Q=O[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:O[0],tokens:this.lexer.blockTokens(Q,[]),text:Q}}}list(I){let O=this.rules.block.list.exec(I);if(O){let Q,Fe,rt,Et,Dt,Lt,Kt,Yt,_n,rn,Jt,Fn,Mn=O[1].trim();const $n=Mn.length>1,Cn={type:"list",raw:"",ordered:$n,start:$n?+Mn.slice(0,-1):"",loose:!1,items:[]};Mn=$n?`\\d{1,9}\\${Mn.slice(-1)}`:`\\${Mn}`,this.options.pedantic&&(Mn=$n?Mn:"[*+-]");const an=new RegExp(`^( {0,3}${Mn})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;I&&(Fn=!1,(O=an.exec(I))&&!this.rules.block.hr.test(I));){if(Q=O[0],I=I.substring(Q.length),Yt=O[2].split("\n",1)[0],_n=I.split("\n",1)[0],this.options.pedantic?(Et=2,Jt=Yt.trimLeft()):(Et=O[2].search(/[^ ]/),Et=Et>4?1:Et,Jt=Yt.slice(Et),Et+=O[1].length),Lt=!1,!Yt&&/^ *$/.test(_n)&&(Q+=_n+"\n",I=I.substring(_n.length+1),Fn=!0),!Fn){const Bn=new RegExp(`^ {0,${Math.min(3,Et-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),zn=new RegExp(`^ {0,${Math.min(3,Et-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Vn=new RegExp(`^( {0,${Math.min(3,Et-1)}})(\`\`\`|~~~)`);for(;I&&(rn=I.split("\n",1)[0],Yt=rn,this.options.pedantic&&(Yt=Yt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Vn.test(Yt)||this.rules.block.heading.test(Yt)||Bn.test(Yt)||zn.test(I)));){if(Yt.search(/[^ ]/)>=Et||!Yt.trim())Jt+="\n"+Yt.slice(Et);else{if(Lt)break;Jt+="\n"+Yt}!Lt&&!Yt.trim()&&(Lt=!0),Q+=rn+"\n",I=I.substring(rn.length+1)}}Cn.loose||(Kt?Cn.loose=!0:/\n *\n *$/.test(Q)&&(Kt=!0)),this.options.gfm&&(Fe=/^\[[ xX]\] /.exec(Jt),Fe&&(rt="[ ] "!==Fe[0],Jt=Jt.replace(/^\[[ xX]\] +/,""))),Cn.items.push({type:"list_item",raw:Q,task:!!Fe,checked:rt,loose:!1,text:Jt}),Cn.raw+=Q}Cn.items[Cn.items.length-1].raw=Q.trimRight(),Cn.items[Cn.items.length-1].text=Jt.trimRight(),Cn.raw=Cn.raw.trimRight();const Jn=Cn.items.length;for(Dt=0;Dt"space"===Vn.type),zn=Bn.every(Vn=>{const qn=Vn.raw.split("");let xn=0;for(const ti of qn)if("\n"===ti&&(xn+=1),xn>1)return!0;return!1});!Cn.loose&&Bn.length&&zn&&(Cn.loose=!0,Cn.items[Dt].loose=!0)}return Cn}}html(I){const O=this.rules.block.html.exec(I);if(O){const Q={type:"html",raw:O[0],pre:!this.options.sanitizer&&("pre"===O[1]||"script"===O[1]||"style"===O[1]),text:O[0]};return this.options.sanitize&&(Q.type="paragraph",Q.text=this.options.sanitizer?this.options.sanitizer(O[0]):ye(O[0]),Q.tokens=[],this.lexer.inline(Q.text,Q.tokens)),Q}}def(I){const O=this.rules.block.def.exec(I);if(O)return O[3]&&(O[3]=O[3].substring(1,O[3].length-1)),{type:"def",tag:O[1].toLowerCase().replace(/\s+/g," "),raw:O[0],href:O[2],title:O[3]}}table(I){const O=this.rules.block.table.exec(I);if(O){const Q={type:"table",header:Ke(O[1]).map(Fe=>({text:Fe})),align:O[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:O[3]&&O[3].trim()?O[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(Q.header.length===Q.align.length){Q.raw=O[0];let rt,Et,Dt,Lt,Fe=Q.align.length;for(rt=0;rt({text:Kt}));for(Fe=Q.header.length,Et=0;Et/i.test(O[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(O[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(O[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:O[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(O[0]):ye(O[0]):O[0]}}link(I){const O=this.rules.inline.link.exec(I);if(O){const Q=O[2].trim();if(!this.options.pedantic&&/^$/.test(Q))return;const Et=me(Q.slice(0,-1),"\\");if((Q.length-Et.length)%2==0)return}else{const Et=function P(Pe,I){if(-1===Pe.indexOf(I[1]))return-1;const O=Pe.length;let Q=0,Fe=0;for(;Fe-1){const Lt=(0===O[0].indexOf("!")?5:4)+O[1].length+Et;O[2]=O[2].substring(0,Et),O[0]=O[0].substring(0,Lt).trim(),O[3]=""}}let Fe=O[2],rt="";if(this.options.pedantic){const Et=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Fe);Et&&(Fe=Et[1],rt=Et[3])}else rt=O[3]?O[3].slice(1,-1):"";return Fe=Fe.trim(),/^$/.test(Q)?Fe.slice(1):Fe.slice(1,-1)),He(O,{href:Fe&&Fe.replace(this.rules.inline._escapes,"$1"),title:rt&&rt.replace(this.rules.inline._escapes,"$1")},O[0],this.lexer)}}reflink(I,O){let Q;if((Q=this.rules.inline.reflink.exec(I))||(Q=this.rules.inline.nolink.exec(I))){let Fe=(Q[2]||Q[1]).replace(/\s+/g," ");if(Fe=O[Fe.toLowerCase()],!Fe||!Fe.href){const rt=Q[0].charAt(0);return{type:"text",raw:rt,text:rt}}return He(Q,Fe,Q[0],this.lexer)}}emStrong(I,O,Q=""){let Fe=this.rules.inline.emStrong.lDelim.exec(I);if(!Fe||Fe[3]&&Q.match(/[\p{L}\p{N}]/u))return;const rt=Fe[1]||Fe[2]||"";if(!rt||rt&&(""===Q||this.rules.inline.punctuation.exec(Q))){const Et=Fe[0].length-1;let Dt,Lt,Kt=Et,Yt=0;const _n="*"===Fe[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(_n.lastIndex=0,O=O.slice(-1*I.length+Et);null!=(Fe=_n.exec(O));){if(Dt=Fe[1]||Fe[2]||Fe[3]||Fe[4]||Fe[5]||Fe[6],!Dt)continue;if(Lt=Dt.length,Fe[3]||Fe[4]){Kt+=Lt;continue}if((Fe[5]||Fe[6])&&Et%3&&!((Et+Lt)%3)){Yt+=Lt;continue}if(Kt-=Lt,Kt>0)continue;if(Lt=Math.min(Lt,Lt+Kt+Yt),Math.min(Et,Lt)%2){const Jt=I.slice(1,Et+Fe.index+Lt);return{type:"em",raw:I.slice(0,Et+Fe.index+Lt+1),text:Jt,tokens:this.lexer.inlineTokens(Jt,[])}}const rn=I.slice(2,Et+Fe.index+Lt-1);return{type:"strong",raw:I.slice(0,Et+Fe.index+Lt+1),text:rn,tokens:this.lexer.inlineTokens(rn,[])}}}}codespan(I){const O=this.rules.inline.code.exec(I);if(O){let Q=O[2].replace(/\n/g," ");const Fe=/[^ ]/.test(Q),rt=/^ /.test(Q)&&/ $/.test(Q);return Fe&&rt&&(Q=Q.substring(1,Q.length-1)),Q=ye(Q,!0),{type:"codespan",raw:O[0],text:Q}}}br(I){const O=this.rules.inline.br.exec(I);if(O)return{type:"br",raw:O[0]}}del(I){const O=this.rules.inline.del.exec(I);if(O)return{type:"del",raw:O[0],text:O[2],tokens:this.lexer.inlineTokens(O[2],[])}}autolink(I,O){const Q=this.rules.inline.autolink.exec(I);if(Q){let Fe,rt;return"@"===Q[2]?(Fe=ye(this.options.mangle?O(Q[1]):Q[1]),rt="mailto:"+Fe):(Fe=ye(Q[1]),rt=Fe),{type:"link",raw:Q[0],text:Fe,href:rt,tokens:[{type:"text",raw:Fe,text:Fe}]}}}url(I,O){let Q;if(Q=this.rules.inline.url.exec(I)){let Fe,rt;if("@"===Q[2])Fe=ye(this.options.mangle?O(Q[0]):Q[0]),rt="mailto:"+Fe;else{let Et;do{Et=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])[0]}while(Et!==Q[0]);Fe=ye(Q[0]),rt="www."===Q[1]?"http://"+Fe:Fe}return{type:"link",raw:Q[0],text:Fe,href:rt,tokens:[{type:"text",raw:Fe,text:Fe}]}}}inlineText(I,O){const Q=this.rules.inline.text.exec(I);if(Q){let Fe;return Fe=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Q[0]):ye(Q[0]):Q[0]:ye(this.options.smartypants?O(Q[0]):Q[0]),{type:"text",raw:Q[0],text:Fe}}}}const Ge={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:re,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Ge.def=V(Ge.def).replace("label",Ge._label).replace("title",Ge._title).getRegex(),Ge.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ge.listItemStart=V(/^( *)(bull) */).replace("bull",Ge.bullet).getRegex(),Ge.list=V(Ge.list).replace(/bull/g,Ge.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ge.def.source+")").getRegex(),Ge._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ge._comment=/|$)/,Ge.html=V(Ge.html,"i").replace("comment",Ge._comment).replace("tag",Ge._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ge.paragraph=V(Ge._paragraph).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.blockquote=V(Ge.blockquote).replace("paragraph",Ge.paragraph).getRegex(),Ge.normal=xe({},Ge),Ge.gfm=xe({},Ge.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Ge.gfm.table=V(Ge.gfm.table).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.gfm.paragraph=V(Ge._paragraph).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ge.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.pedantic=xe({},Ge.normal,{html:V("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ge._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:re,paragraph:V(Ge.normal._paragraph).replace("hr",Ge.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ge.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const at={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:re,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:re,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(Q="x"+Q.toString(16)),I+="&#"+Q+";";return I}at._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",at.punctuation=V(at.punctuation).replace(/punctuation/g,at._punctuation).getRegex(),at.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,at.escapedEmSt=/\\\*|\\_/g,at._comment=V(Ge._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),at.emStrong.lDelim=V(at.emStrong.lDelim).replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimAst=V(at.emStrong.rDelimAst,"g").replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimUnd=V(at.emStrong.rDelimUnd,"g").replace(/punct/g,at._punctuation).getRegex(),at._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,at._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,at._email=/[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])?)+(?![-_])/,at.autolink=V(at.autolink).replace("scheme",at._scheme).replace("email",at._email).getRegex(),at._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,at.tag=V(at.tag).replace("comment",at._comment).replace("attribute",at._attribute).getRegex(),at._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,at._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,at._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,at.link=V(at.link).replace("label",at._label).replace("href",at._href).replace("title",at._title).getRegex(),at.reflink=V(at.reflink).replace("label",at._label).replace("ref",Ge._label).getRegex(),at.nolink=V(at.nolink).replace("ref",Ge._label).getRegex(),at.reflinkSearch=V(at.reflinkSearch,"g").replace("reflink",at.reflink).replace("nolink",at.nolink).getRegex(),at.normal=xe({},at),at.pedantic=xe({},at.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",at._label).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",at._label).getRegex()}),at.gfm=xe({},at.normal,{escape:V(at.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\Lt+" ".repeat(Kt.length));I;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(Dt=>!!(Q=Dt.call({lexer:this},I,O))&&(I=I.substring(Q.raw.length),O.push(Q),!0)))){if(Q=this.tokenizer.space(I)){I=I.substring(Q.raw.length),1===Q.raw.length&&O.length>0?O[O.length-1].raw+="\n":O.push(Q);continue}if(Q=this.tokenizer.code(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],!Fe||"paragraph"!==Fe.type&&"text"!==Fe.type?O.push(Q):(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue[this.inlineQueue.length-1].src=Fe.text);continue}if(Q=this.tokenizer.fences(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.heading(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.hr(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.blockquote(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.list(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.html(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.def(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],!Fe||"paragraph"!==Fe.type&&"text"!==Fe.type?this.tokens.links[Q.tag]||(this.tokens.links[Q.tag]={href:Q.href,title:Q.title}):(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.raw,this.inlineQueue[this.inlineQueue.length-1].src=Fe.text);continue}if(Q=this.tokenizer.table(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.lheading(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(rt=I,this.options.extensions&&this.options.extensions.startBlock){let Dt=1/0;const Lt=I.slice(1);let Kt;this.options.extensions.startBlock.forEach(function(Yt){Kt=Yt.call({lexer:this},Lt),"number"==typeof Kt&&Kt>=0&&(Dt=Math.min(Dt,Kt))}),Dt<1/0&&Dt>=0&&(rt=I.substring(0,Dt+1))}if(this.state.top&&(Q=this.tokenizer.paragraph(rt))){Fe=O[O.length-1],Et&&"paragraph"===Fe.type?(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Fe.text):O.push(Q),Et=rt.length!==I.length,I=I.substring(Q.raw.length);continue}if(Q=this.tokenizer.text(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Fe.type?(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Fe.text):O.push(Q);continue}if(I){const Dt="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(Dt);break}throw new Error(Dt)}}return this.state.top=!0,O}inline(I,O){this.inlineQueue.push({src:I,tokens:O})}inlineTokens(I,O=[]){let Q,Fe,rt,Dt,Lt,Kt,Et=I;if(this.tokens.links){const Yt=Object.keys(this.tokens.links);if(Yt.length>0)for(;null!=(Dt=this.tokenizer.rules.inline.reflinkSearch.exec(Et));)Yt.includes(Dt[0].slice(Dt[0].lastIndexOf("[")+1,-1))&&(Et=Et.slice(0,Dt.index)+"["+Ce("a",Dt[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(Dt=this.tokenizer.rules.inline.blockSkip.exec(Et));)Et=Et.slice(0,Dt.index)+"["+Ce("a",Dt[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(Dt=this.tokenizer.rules.inline.escapedEmSt.exec(Et));)Et=Et.slice(0,Dt.index)+"++"+Et.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;I;)if(Lt||(Kt=""),Lt=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Yt=>!!(Q=Yt.call({lexer:this},I,O))&&(I=I.substring(Q.raw.length),O.push(Q),!0)))){if(Q=this.tokenizer.escape(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.tag(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Q.type&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(Q=this.tokenizer.link(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.reflink(I,this.tokens.links)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Q.type&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(Q=this.tokenizer.emStrong(I,Et,Kt)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.codespan(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.br(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.del(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.autolink(I,xt)){I=I.substring(Q.raw.length),O.push(Q);continue}if(!this.state.inLink&&(Q=this.tokenizer.url(I,xt))){I=I.substring(Q.raw.length),O.push(Q);continue}if(rt=I,this.options.extensions&&this.options.extensions.startInline){let Yt=1/0;const _n=I.slice(1);let rn;this.options.extensions.startInline.forEach(function(Jt){rn=Jt.call({lexer:this},_n),"number"==typeof rn&&rn>=0&&(Yt=Math.min(Yt,rn))}),Yt<1/0&&Yt>=0&&(rt=I.substring(0,Yt+1))}if(Q=this.tokenizer.inlineText(rt,_t)){I=I.substring(Q.raw.length),"_"!==Q.raw.slice(-1)&&(Kt=Q.raw.slice(-1)),Lt=!0,Fe=O[O.length-1],Fe&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(I){const Yt="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(Yt);break}throw new Error(Yt)}}return O}}class Pt{constructor(I){this.options=I||te}code(I,O,Q){const Fe=(O||"").match(/\S*/)[0];if(this.options.highlight){const rt=this.options.highlight(I,Fe);null!=rt&&rt!==I&&(Q=!0,I=rt)}return I=I.replace(/\n$/,"")+"\n",Fe?'
'+(Q?I:ye(I,!0))+"
\n":"
"+(Q?I:ye(I,!0))+"
\n"}blockquote(I){return`
\n${I}
\n`}html(I){return I}heading(I,O,Q,Fe){return this.options.headerIds?`${I}\n`:`${I}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(I,O,Q){const Fe=O?"ol":"ul";return"<"+Fe+(O&&1!==Q?' start="'+Q+'"':"")+">\n"+I+"\n"}listitem(I){return`
  • ${I}
  • \n`}checkbox(I){return" "}paragraph(I){return`

    ${I}

    \n`}table(I,O){return O&&(O=`${O}`),"\n\n"+I+"\n"+O+"
    \n"}tablerow(I){return`\n${I}\n`}tablecell(I,O){const Q=O.header?"th":"td";return(O.align?`<${Q} align="${O.align}">`:`<${Q}>`)+I+`\n`}strong(I){return`${I}`}em(I){return`${I}`}codespan(I){return`${I}`}br(){return this.options.xhtml?"
    ":"
    "}del(I){return`${I}`}link(I,O,Q){if(null===(I=Ie(this.options.sanitize,this.options.baseUrl,I)))return Q;let Fe='",Fe}image(I,O,Q){if(null===(I=Ie(this.options.sanitize,this.options.baseUrl,I)))return Q;let Fe=`${Q}":">",Fe}text(I){return I}}class At{strong(I){return I}em(I){return I}codespan(I){return I}del(I){return I}html(I){return I}text(I){return I}link(I,O,Q){return""+Q}image(I,O,Q){return""+Q}br(){return""}}class nt{constructor(){this.seen={}}serialize(I){return I.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(I,O){let Q=I,Fe=0;if(this.seen.hasOwnProperty(Q)){Fe=this.seen[I];do{Fe++,Q=I+"-"+Fe}while(this.seen.hasOwnProperty(Q))}return O||(this.seen[I]=Fe,this.seen[Q]=0),Q}slug(I,O={}){const Q=this.serialize(I);return this.getNextSafeSlug(Q,O.dryrun)}}class ft{constructor(I){this.options=I||te,this.options.renderer=this.options.renderer||new Pt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new At,this.slugger=new nt}static parse(I,O){return new ft(O).parse(I)}static parseInline(I,O){return new ft(O).parseInline(I)}parse(I,O=!0){let Fe,rt,Et,Dt,Lt,Kt,Yt,_n,rn,Jt,Fn,Mn,$n,Cn,an,Jn,Bn,zn,Vn,Q="";const qn=I.length;for(Fe=0;Fe0&&"paragraph"===an.tokens[0].type?(an.tokens[0].text=zn+" "+an.tokens[0].text,an.tokens[0].tokens&&an.tokens[0].tokens.length>0&&"text"===an.tokens[0].tokens[0].type&&(an.tokens[0].tokens[0].text=zn+" "+an.tokens[0].tokens[0].text)):an.tokens.unshift({type:"text",text:zn}):Cn+=zn),Cn+=this.parse(an.tokens,$n),rn+=this.renderer.listitem(Cn,Bn,Jn);Q+=this.renderer.list(rn,Fn,Mn);continue;case"html":Q+=this.renderer.html(Jt.text);continue;case"paragraph":Q+=this.renderer.paragraph(this.parseInline(Jt.tokens));continue;case"text":for(rn=Jt.tokens?this.parseInline(Jt.tokens):Jt.text;Fe+1"u"||null===Pe)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof Pe)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Pe)+", string expected");if("function"==typeof I&&(O=I,I=null),se(I=xe({},G.defaults,I||{})),O){const Q=I.highlight;let Fe;try{Fe=yt.lex(Pe,I)}catch(Dt){return O(Dt)}const rt=function(Dt){let Lt;if(!Dt)try{I.walkTokens&&G.walkTokens(Fe,I.walkTokens),Lt=ft.parse(Fe,I)}catch(Kt){Dt=Kt}return I.highlight=Q,Dt?O(Dt):O(null,Lt)};if(!Q||Q.length<3||(delete I.highlight,!Fe.length))return rt();let Et=0;return G.walkTokens(Fe,function(Dt){"code"===Dt.type&&(Et++,setTimeout(()=>{Q(Dt.text,Dt.lang,function(Lt,Kt){if(Lt)return rt(Lt);null!=Kt&&Kt!==Dt.text&&(Dt.text=Kt,Dt.escaped=!0),Et--,0===Et&&rt()})},0))}),void(0===Et&&rt())}try{const Q=yt.lex(Pe,I);return I.walkTokens&&G.walkTokens(Q,I.walkTokens),ft.parse(Q,I)}catch(Q){if(Q.message+="\nPlease report this to https://github.com/markedjs/marked.",I.silent)return"

    An error occurred:

    "+ye(Q.message+"",!0)+"
    ";throw Q}}G.options=G.setOptions=function(Pe){return xe(G.defaults,Pe),function Ee(Pe){te=Pe}(G.defaults),G},G.getDefaults=function x(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},G.defaults=te,G.use=function(...Pe){const I=xe({},...Pe),O=G.defaults.extensions||{renderers:{},childTokens:{}};let Q;Pe.forEach(Fe=>{if(Fe.extensions&&(Q=!0,Fe.extensions.forEach(rt=>{if(!rt.name)throw new Error("extension name required");if(rt.renderer){const Et=O.renderers?O.renderers[rt.name]:null;O.renderers[rt.name]=Et?function(...Dt){let Lt=rt.renderer.apply(this,Dt);return!1===Lt&&(Lt=Et.apply(this,Dt)),Lt}:rt.renderer}if(rt.tokenizer){if(!rt.level||"block"!==rt.level&&"inline"!==rt.level)throw new Error("extension level must be 'block' or 'inline'");O[rt.level]?O[rt.level].unshift(rt.tokenizer):O[rt.level]=[rt.tokenizer],rt.start&&("block"===rt.level?O.startBlock?O.startBlock.push(rt.start):O.startBlock=[rt.start]:"inline"===rt.level&&(O.startInline?O.startInline.push(rt.start):O.startInline=[rt.start]))}rt.childTokens&&(O.childTokens[rt.name]=rt.childTokens)})),Fe.renderer){const rt=G.defaults.renderer||new Pt;for(const Et in Fe.renderer){const Dt=rt[Et];rt[Et]=(...Lt)=>{let Kt=Fe.renderer[Et].apply(rt,Lt);return!1===Kt&&(Kt=Dt.apply(rt,Lt)),Kt}}I.renderer=rt}if(Fe.tokenizer){const rt=G.defaults.tokenizer||new st;for(const Et in Fe.tokenizer){const Dt=rt[Et];rt[Et]=(...Lt)=>{let Kt=Fe.tokenizer[Et].apply(rt,Lt);return!1===Kt&&(Kt=Dt.apply(rt,Lt)),Kt}}I.tokenizer=rt}if(Fe.walkTokens){const rt=G.defaults.walkTokens;I.walkTokens=function(Et){Fe.walkTokens.call(this,Et),rt&&rt.call(this,Et)}}Q&&(I.extensions=O),G.setOptions(I)})},G.walkTokens=function(Pe,I){for(const O of Pe)switch(I.call(G,O),O.type){case"table":for(const Q of O.header)G.walkTokens(Q.tokens,I);for(const Q of O.rows)for(const Fe of Q)G.walkTokens(Fe.tokens,I);break;case"list":G.walkTokens(O.items,I);break;default:G.defaults.extensions&&G.defaults.extensions.childTokens&&G.defaults.extensions.childTokens[O.type]?G.defaults.extensions.childTokens[O.type].forEach(function(Q){G.walkTokens(O[Q],I)}):O.tokens&&G.walkTokens(O.tokens,I)}},G.parseInline=function(Pe,I){if(typeof Pe>"u"||null===Pe)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof Pe)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Pe)+", string expected");se(I=xe({},G.defaults,I||{}));try{const O=yt.lexInline(Pe,I);return I.walkTokens&&G.walkTokens(O,I.walkTokens),ft.parseInline(O,I)}catch(O){if(O.message+="\nPlease report this to https://github.com/markedjs/marked.",I.silent)return"

    An error occurred:

    "+ye(O.message+"",!0)+"
    ";throw O}},G.Parser=ft,G.parser=ft.parse,G.Renderer=Pt,G.TextRenderer=At,G.Lexer=yt,G.lexer=yt.lex,G.Tokenizer=st,G.Slugger=nt,G.parse=G;var We=s(5732),Ye=s(5998);const et=["*"];let le=(()=>{class Pe{constructor(){this._buttonClick$=new r.x,this.copied$=this._buttonClick$.pipe((0,A.w)(()=>(0,h.T)((0,_.of)(!0),(0,f.H)(3e3).pipe((0,g.h)(!1)))),(0,B.x)(),function L(Pe,I,O){let Q,Fe=!1;return Pe&&"object"==typeof Pe?({bufferSize:Q=1/0,windowTime:I=1/0,refCount:Fe=!1,scheduler:O}=Pe):Q=Pe??1/0,(0,w.B)({connector:()=>new d.t(Q,I,O),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Fe})}(1)),this.copiedText$=this.copied$.pipe((0,m.O)(!1),(0,b.U)(O=>O?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}}return Pe.\u0275fac=function(O){return new(O||Pe)},Pe.\u0275cmp=o.Xpm({type:Pe,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(O,Q){1&O&&(o.TgZ(0,"button",0),o.NdJ("click",function(){return Q.onCopyToClipboardClick()}),o.ALo(1,"async"),o._uU(2),o.ALo(3,"async"),o.qZA()),2&O&&(o.ekj("copied",o.lcZ(1,3,Q.copied$)),o.xp6(2),o.Oqu(o.lcZ(3,5,Q.copiedText$)))},dependencies:[H.Ov],encapsulation:2,changeDetection:0}),Pe})();class _e{}var be=(()=>{return(Pe=be||(be={})).CommandLine="command-line",Pe.LineHighlight="line-highlight",Pe.LineNumbers="line-numbers",be;var Pe})();class Oe{}const Zt=new o.OlP("SECURITY_CONTEXT");let nn=(()=>{class Pe{constructor(O,Q,Fe,rt,Et,Dt){this.platform=O,this.securityContext=Q,this.http=Fe,this.clipboardOptions=rt,this.sanitizer=Dt,this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this.DEFAULT_MARKED_OPTIONS={renderer:new Pt},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this._reload$=new r.x,this.reload$=this._reload$.asObservable(),this.options=Et}get options(){return this._options}set options(O){this._options={...this.DEFAULT_MARKED_OPTIONS,...O}}get renderer(){return this.options.renderer}set renderer(O){this.options.renderer=O}parse(O,Q=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:Fe,inline:rt,emoji:Et,mermaid:Dt,markedOptions:Lt=this.options}=Q;Dt&&(this.renderer=this.extendRenderer(Lt.renderer||new Pt));const Kt=this.trimIndentation(O),Yt=Fe?this.decodeHtml(Kt):Kt,_n=Et?this.parseEmoji(Yt):Yt,rn=this.parseMarked(_n,Lt,rt);return this.sanitizer.sanitize(this.securityContext,rn)||""}render(O,Q=this.DEFAULT_RENDER_OPTIONS,Fe){const{clipboard:rt,clipboardOptions:Et,katex:Dt,katexOptions:Lt,mermaid:Kt,mermaidOptions:Yt}=Q;rt&&this.renderClipboard(O,Fe,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...Et}),Dt&&this.renderKatex(O,{...this.DEFAULT_KATEX_OPTIONS,...Lt}),Kt&&this.renderMermaid(O,{...this.DEFAULT_MERMAID_OPTIONS,...Yt}),this.highlight(O)}reload(){this._reload$.next()}getSource(O){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(O,{responseType:"text"}).pipe((0,b.U)(Q=>this.handleExtension(O,Q)))}highlight(O){if(!(0,H.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;O||(O=document);const Q=O.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(Q,Fe=>Fe.classList.add("language-none")),Prism.highlightAllUnder(O)}decodeHtml(O){if(!(0,H.NF)(this.platform))return O;const Q=document.createElement("textarea");return Q.innerHTML=O,Q.value}extendRenderer(O){const Q=O;if(!0===Q.\u0275NgxMarkdownRendererExtended)return O;const Fe=O.code;return O.code=function(rt,Et,Dt){return"mermaid"===Et?`
    ${rt}
    `:Fe.call(this,rt,Et,Dt)},Q.\u0275NgxMarkdownRendererExtended=!0,O}handleExtension(O,Q){const Fe=O.lastIndexOf("://"),rt=Fe>-1?O.substring(Fe+4):O,Et=rt.lastIndexOf("/"),Dt=Et>-1?rt.substring(Et+1).split("?")[0]:"",Lt=Dt.lastIndexOf("."),Kt=Lt>-1?Dt.substring(Lt+1):"";return Kt&&"md"!==Kt?"```"+Kt+"\n"+Q+"\n```":Q}parseMarked(O,Q,Fe=!1){return(0,H.NF)(this.platform)?Fe?G.parseInline(O,Q):G.parse(O,Q):O}parseEmoji(O){if(!(0,H.NF)(this.platform))return O;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(O)}renderKatex(O,Q){if((0,H.NF)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(O,Q)}}renderClipboard(O,Q,Fe){if(!(0,H.NF)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!Q)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:rt,buttonTemplate:Et}=Fe,Dt=O.querySelectorAll("pre");for(let Lt=0;Lt_n.style.opacity="1",Kt.onmouseout=()=>_n.style.opacity="0",rn=rt?Q.createComponent(rt).hostView:Et?Q.createEmbeddedView(Et):Q.createComponent(le).hostView,rn.rootNodes.forEach(Fn=>{Fn.onmouseover=()=>_n.style.opacity="1",_n.appendChild(Fn),Jt=new ClipboardJS(Fn,{text:()=>Kt.innerText})}),rn.onDestroy(()=>Jt.destroy())}}renderMermaid(O,Q=this.DEFAULT_MERMAID_OPTIONS){if(!(0,H.NF)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const Fe=O.querySelectorAll(".mermaid");0!==Fe.length&&(mermaid.initialize(Q),mermaid.init(Fe))}trimIndentation(O){if(!O)return"";let Q;return O.split("\n").map(Fe=>{let rt=Q;return Fe.length>0&&(rt=isNaN(rt)?Fe.search(/\S|$/):Math.min(Fe.search(/\S|$/),rt)),isNaN(Q)&&(Q=rt),rt?Fe.substring(rt):Fe}).join("\n")}}return Pe.\u0275fac=function(O){return new(O||Pe)(o.LFG(o.Lbi),o.LFG(Zt),o.LFG(We.eN,8),o.LFG(_e,8),o.LFG(Oe,8),o.LFG(Ye.H7))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),ln=(()=>{class Pe{constructor(O,Q,Fe){this.element=O,this.markdownService=Q,this.viewContainerRef=Fe,this.error=new o.vpe,this.load=new o.vpe,this.ready=new o.vpe,this._commandLine=!1,this._clipboard=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new r.x}get inline(){return this._inline}set inline(O){this._inline=this.coerceBooleanProperty(O)}get clipboard(){return this._clipboard}set clipboard(O){this._clipboard=this.coerceBooleanProperty(O)}get emoji(){return this._emoji}set emoji(O){this._emoji=this.coerceBooleanProperty(O)}get katex(){return this._katex}set katex(O){this._katex=this.coerceBooleanProperty(O)}get mermaid(){return this._mermaid}set mermaid(O){this._mermaid=this.coerceBooleanProperty(O)}get lineHighlight(){return this._lineHighlight}set lineHighlight(O){this._lineHighlight=this.coerceBooleanProperty(O)}get lineNumbers(){return this._lineNumbers}set lineNumbers(O){this._lineNumbers=this.coerceBooleanProperty(O)}get commandLine(){return this._commandLine}set commandLine(O){this._commandLine=this.coerceBooleanProperty(O)}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,S.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(O,Q=!1){const rt={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},Et=this.markdownService.parse(O,{decodeHtml:Q,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid});this.element.nativeElement.innerHTML=Et,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,rt,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(O){return null!=O&&"false"!=`${String(O)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:O=>{this.render(O),this.load.emit(O)},error:O=>this.error.emit(O)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,be.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,be.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(O,Q){const Fe=O.querySelectorAll("pre");for(let rt=0;rt{const Dt=Q[Et];if(Dt){const Lt=this.toLispCase(Et);Fe.item(rt).setAttribute(Lt,Dt.toString())}})}toLispCase(O){const Q=O.match(/([A-Z])/g);if(!Q)return O;let Fe=O.toString();for(let rt=0,Et=Q.length;rt{class Pe{static forRoot(O){return{ngModule:Pe,providers:[nn,O&&O.loader||[],O&&O.clipboardOptions||[],O&&O.markedOptions||[],{provide:Zt,useValue:O&&null!=O.sanitize?O.sanitize:o.q3G.HTML}]}}static forChild(){return{ngModule:Pe}}}return Pe.\u0275fac=function(O){return new(O||Pe)},Pe.\u0275mod=o.oAB({type:Pe}),Pe.\u0275inj=o.cJS({imports:[H.ez]}),Pe})();var ut;!function(Pe){let I;var Fe;let O,Q;(Fe=I=Pe.SecurityLevel||(Pe.SecurityLevel={})).Strict="strict",Fe.Loose="loose",Fe.Antiscript="antiscript",Fe.Sandbox="sandbox",function(Fe){Fe.Base="base",Fe.Forest="forest",Fe.Dark="dark",Fe.Default="default",Fe.Neutral="neutral"}(O=Pe.Theme||(Pe.Theme={})),function(Fe){Fe[Fe.Debug=1]="Debug",Fe[Fe.Info=2]="Info",Fe[Fe.Warn=3]="Warn",Fe[Fe.Error=4]="Error",Fe[Fe.Fatal=5]="Fatal"}(Q=Pe.LogLevel||(Pe.LogLevel={}))}(ut||(ut={}))},2269:(Ue,J,s)=>{"use strict";s.d(J,{U6:()=>g,ej:()=>f,kG:()=>d});var o=s(4762),r="Invariant Violation",h=Object.setPrototypeOf,_=void 0===h?function(m,b){return m.__proto__=b,m}:h,f=function(m){function b(S){void 0===S&&(S=r);var v=m.call(this,"number"==typeof S?r+": "+S+" (see https://github.com/apollographql/invariant-packages)":S)||this;return v.framesToPop=1,v.name=r,_(v,b.prototype),v}return(0,o.ZT)(b,m),b}(Error);function d(m,b){if(!m)throw new f(b)}var m,w=["debug","log","warn","error","silent"],L=w.indexOf("log");function A(m){return function(){if(w.indexOf(m)>=L){var b=console[m]||console.log;return b.apply(console,arguments)}}}function g(m){var b=w[L];return L=Math.max(0,w.indexOf(m)),b}(m=d||(d={})).debug=A("debug"),m.log=A("log"),m.warn=A("warn"),m.error=A("error")},4854:(Ue,J,s)=>{"use strict";function h(ve,ye){(null==ye||ye>ve.length)&&(ye=ve.length);for(var De=0,z=new Array(ye);DeSe});var d=function(){return"function"==typeof Symbol},w=function(ve){return d()&&Boolean(Symbol[ve])},L=function(ve){return w(ve)?Symbol[ve]:"@@"+ve};d()&&!w("observable")&&(Symbol.observable=Symbol("observable"));var A=L("iterator"),g=L("observable"),B=L("species");function m(ve,ye){var De=ve[ye];if(null!=De){if("function"!=typeof De)throw new TypeError(De+" is not a function");return De}}function b(ve){var ye=ve.constructor;return void 0!==ye&&null===(ye=ye[B])&&(ye=void 0),void 0!==ye?ye:Se}function v(ve){v.log?v.log(ve):setTimeout(function(){throw ve})}function H(ve){Promise.resolve().then(function(){try{ve()}catch(ye){v(ye)}})}function x(ve){var ye=ve._cleanup;if(void 0!==ye&&(ve._cleanup=void 0,ye))try{if("function"==typeof ye)ye();else{var De=m(ye,"unsubscribe");De&&De.call(ye)}}catch(z){v(z)}}function te(ve){ve._observer=void 0,ve._queue=void 0,ve._state="closed"}function T(ve,ye,De){ve._state="running";var z=ve._observer;try{var Y=m(z,ye);switch(ye){case"next":Y&&Y.call(z,De);break;case"error":if(te(ve),!Y)throw De;Y.call(z,De);break;case"complete":te(ve),Y&&Y.call(z)}}catch(V){v(V)}"closed"===ve._state?x(ve):"running"===ve._state&&(ve._state="ready")}function ue(ve,ye,De){if("closed"!==ve._state){if("buffering"===ve._state)return void ve._queue.push({type:ye,value:De});if("ready"!==ve._state)return ve._state="buffering",ve._queue=[{type:ye,value:De}],void H(function(){return function Ee(ve){var ye=ve._queue;if(ye){ve._queue=void 0,ve._state="ready";for(var De=0;De1,X=!1,Ie=arguments[1],ke=Ie;return new V(function(tt){return Y.subscribe({next:function(lt){var $=!X;if(X=!0,!$||j)try{ke=z(ke,lt)}catch(Re){return tt.error(Re)}else ke=lt},error:function(lt){tt.error(lt)},complete:function(){if(!X&&!j)return tt.error(new TypeError("Cannot reduce an empty sequence"));tt.next(ke),tt.complete()}})})},ye.concat=function(){for(var z=this,Y=arguments.length,V=new Array(Y),j=0;j=0&&X.splice($,1),ke()}});X.push(lt)},error:function(tt){j.error(tt)},complete:function(){ke()}});function ke(){Ie.closed&&0===X.length&&j.complete()}return function(){X.forEach(function(tt){return tt.unsubscribe()}),Ie.unsubscribe()}})},ye[g]=function(){return this},ve.from=function(z){var Y="function"==typeof this?this:ve;if(null==z)throw new TypeError(z+" is not an object");var V=m(z,g);if(V){var j=V.call(z);if(Object(j)!==j)throw new TypeError(j+" is not an object");return function S(ve){return ve instanceof Se}(j)&&j.constructor===Y?j:new Y(function(X){return j.subscribe(X)})}if(w("iterator")&&(V=m(z,A)))return new Y(function(X){H(function(){if(!X.closed){for(var ke,Ie=function o(ve,ye){var De=typeof Symbol<"u"&&ve[Symbol.iterator]||ve["@@iterator"];if(De)return(De=De.call(ve)).next.bind(De);if(Array.isArray(ve)||(De=function r(ve,ye){if(ve){if("string"==typeof ve)return h(ve,ye);var De=Object.prototype.toString.call(ve).slice(8,-1);if("Object"===De&&ve.constructor&&(De=ve.constructor.name),"Map"===De||"Set"===De)return Array.from(ve);if("Arguments"===De||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return h(ve,ye)}}(ve))||ye&&ve&&"number"==typeof ve.length){De&&(ve=De);var z=0;return function(){return z>=ve.length?{done:!0}:{done:!1,value:ve[z++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(V.call(z));!(ke=Ie()).done;)if(X.next(ke.value),X.closed)return;X.complete()}})});if(Array.isArray(z))return new Y(function(X){H(function(){if(!X.closed){for(var Ie=0;Ie{"use strict";function o(h,_,f,d,w,L,A){try{var g=h[L](A),B=g.value}catch(m){return void f(m)}g.done?_(B):Promise.resolve(B).then(d,w)}function r(h){return function(){var _=this,f=arguments;return new Promise(function(d,w){var L=h.apply(_,f);function A(B){o(L,d,w,A,g,"next",B)}function g(B){o(L,d,w,A,g,"throw",B)}A(void 0)})}}s.d(J,{Z:()=>r})}},Ue=>{Ue(Ue.s=9630)}]); \ No newline at end of file diff --git a/main.f96299b3ab3982d6.js b/main.f96299b3ab3982d6.js new file mode 100644 index 0000000..9a16529 --- /dev/null +++ b/main.f96299b3ab3982d6.js @@ -0,0 +1,50 @@ +(self.webpackChunkrucogs_website=self.webpackChunkrucogs_website||[]).push([[179],{9096:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},3600:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},2027:(Ue,J)=>{J.Z={body:'',width:1024,height:1024}},9658:(Ue,J)=>{J.Z={body:''}},2474:(Ue,J)=>{J.Z={body:'',width:24,height:24}},7235:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5564:(Ue,J)=>{J.Z={body:'',width:20,height:20}},6306:(Ue,J)=>{J.Z={body:''}},8472:(Ue,J)=>{J.Z={body:''}},5340:(Ue,J)=>{J.Z={body:''}},6:(Ue,J)=>{J.Z={body:''}},1417:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5951:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8942:(Ue,J)=>{J.Z={body:'',width:24,height:24}},345:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8312:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8142:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5741:(Ue,J)=>{J.Z={body:'',width:24,height:24}},1995:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5715:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8252:(Ue,J)=>{J.Z={body:'',width:24,height:24}},3669:(Ue,J)=>{J.Z={body:'',width:24,height:24}},4769:(Ue,J)=>{J.Z={body:'',width:24,height:24}},6882:(Ue,J)=>{J.Z={body:'',width:24,height:24}},4366:(Ue,J)=>{J.Z={body:'',width:24,height:24}},1032:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5068:(Ue,J)=>{J.Z={body:'',width:24,height:24}},5349:(Ue,J)=>{J.Z={body:'',width:24,height:24}},2061:(Ue,J)=>{J.Z={body:'',width:24,height:24}},3652:(Ue,J)=>{J.Z={body:'',width:24,height:24}},2975:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8650:(Ue,J)=>{J.Z={body:'',width:24,height:24}},8399:(Ue,J,s)=>{"use strict";s.d(J,{C6:()=>h,QX:()=>b,ar:()=>m});var o=s(4537),r=s(5998);let h=(()=>{class S{constructor(){this.iconsByName={}}register(H,x){this.iconsByName[H]=x}registerAll(H){Object.assign(this.iconsByName,H)}get(H){const x=this.iconsByName[H];if(!x)throw new Error(`[Iconify]: No icon registered for name '${H}'. Use 'IconService' to register icons.`);return x}}return S.\u0275fac=function(H){return new(H||S)},S.\u0275prov=(0,o.Yz7)({factory:function(){return new S},token:S,providedIn:"root"}),S})(),_=0;const f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,d=/^-?[0-9.]*[0-9]+[0-9.]*$/g,L={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1};class B{constructor(v){this._icon=v}static calculateDimension(v,H,x=100){if(1===H)return v;if("number"==typeof v)return Math.ceil(v*H*x)/x;const te=v.split(f);if(null===te||!te.length)return null;const Ee=[];let Z,T=te.shift(),ue=d.test(T);for(;;){if(ue?(Z=parseFloat(T),isNaN(Z)?Ee.push(T):Ee.push(Math.ceil(Z*H*x)/x)):Ee.push(T),T=te.shift(),void 0===T)return Ee.join("");ue=!ue}}static replaceIDs(v){const H=/\sid="(\S+)"/g,x=[];let te,Ee;function T(ue,Z,Me){let Se=0;for(;-1!==(Se=Me.indexOf(ue,Se));)Me=Me.slice(0,Se)+Z+Me.slice(Se+ue.length),Se+=Z.length;return Me}for(;te=H.exec(v);)x.push(te[1]);return x.length&&(Ee="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",x.forEach(ue=>{const Z=Ee+_;_++,v=T('="'+ue+'"','="'+Z+'"',v),v=T('="#'+ue+'"','="#'+Z+'"',v),v=T("(#"+ue+")","(#"+Z+")",v)})),v}getAttributes(v){const H=this._icon;"object"!=typeof v&&(v=Object.create(null));const x={horizontal:"center",vertical:"middle",slice:!1},te={rotate:H.rotate,hFlip:H.hFlip,vFlip:H.vFlip},Ee=Object.create(null),T=Object.create(null),ue=!0===v.inline||"true"===v.inline||"1"===v.inline,Z={left:H.left,top:ue?H.inlineTop:H.top,width:H.width,height:ue?H.inlineHeight:H.height};if(["hFlip","vFlip"].forEach(V=>{void 0!==v[V]&&(!0===v[V]||"true"===v[V]||"1"===v[V])&&(te[V]=!te[V])}),void 0!==v.flip&&v.flip.toLowerCase().split(/[\s,]+/).forEach(V=>{switch(V){case"horizontal":te.hFlip=!te.hFlip;break;case"vertical":te.vFlip=!te.vFlip}}),void 0!==v.rotate){let V=v.rotate;if("number"==typeof V)te.rotate+=V;else if("string"==typeof V){const j=V.replace(/^-?[0-9.]*/,"");if(""===j)V=parseInt(V,10),isNaN(V)||(te.rotate+=V);else if(j!==V){let X=!1;switch(j){case"%":X=25;break;case"deg":X=90}X&&(V=parseInt(V.slice(0,V.length-j.length),10),isNaN(V)||(te.rotate+=Math.round(V/X)))}}}const Me=[];let Se;switch(te.hFlip?te.vFlip?te.rotate+=2:(Me.push("translate("+(Z.width+Z.left)+" "+(0-Z.top)+")"),Me.push("scale(-1 1)"),Z.top=Z.left=0):te.vFlip&&(Me.push("translate("+(0-Z.left)+" "+(Z.height+Z.top)+")"),Me.push("scale(1 -1)"),Z.top=Z.left=0),te.rotate%4){case 1:Se=Z.height/2+Z.top,Me.unshift("rotate(90 "+Se+" "+Se+")"),(0!==Z.left||0!==Z.top)&&(Se=Z.left,Z.left=Z.top,Z.top=Se),Z.width!==Z.height&&(Se=Z.width,Z.width=Z.height,Z.height=Se);break;case 2:Me.unshift("rotate(180 "+(Z.width/2+Z.left)+" "+(Z.height/2+Z.top)+")");break;case 3:Se=Z.width/2+Z.left,Me.unshift("rotate(-90 "+Se+" "+Se+")"),(0!==Z.left||0!==Z.top)&&(Se=Z.left,Z.left=Z.top,Z.top=Se),Z.width!==Z.height&&(Se=Z.width,Z.width=Z.height,Z.height=Se)}const ve=v.width?v.width:null;let De,z,ye=v.height?v.height:null;null===ve&&null===ye&&(ye="1em"),null!==ve&&null!==ye?(De=ve,z=ye):null!==ve?(De=ve,z=B.calculateDimension(De,Z.height/Z.width)):(z=ye,De=B.calculateDimension(z,Z.width/Z.height)),!1!==De&&(T.width="auto"===De?Z.width:De),!1!==z&&(T.height="auto"===z?Z.height:z),ue&&0!==H.verticalAlign&&(Ee["vertical-align"]=H.verticalAlign+"em"),void 0!==v.align&&v.align.toLowerCase().split(/[\s,]+/).forEach(V=>{switch(V){case"left":case"right":case"center":x.horizontal=V;break;case"top":case"bottom":case"middle":x.vertical=V;break;case"crop":x.slice=!0;break;case"meet":x.slice=!1}}),T.preserveAspectRatio=function g(S){let v;switch(S.horizontal){case"left":v="xMin";break;case"right":v="xMax";break;default:v="xMid"}switch(S.vertical){case"top":v+="YMin";break;case"bottom":v+="YMax";break;default:v+="YMid"}return v+=S.slice?" slice":" meet",v}(x),T.viewBox=Z.left+" "+Z.top+" "+Z.width+" "+Z.height;let Y=B.replaceIDs(H.body);return void 0!==v.color&&(Y=Y.replace(/currentColor/g,v.color)),Me.length&&(Y=''+Y+""),(!0===v.box||"true"===v.box||"1"===v.box)&&(Y+=''),{attributes:T,body:Y,style:Ee}}getSVG(v){const H=this.getAttributes(v);let x='{x+=" "+te+'="'+H.attributes[te]+'"'}),x+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(H.style).forEach(te=>{x+=" "+te+": "+H.style[te]+";"}),x+='">',x+=H.body+"",x}}let m=(()=>{class S{constructor(H,x){this.domSanitizer=H,this.iconService=x,this.width="1em",this.height="1em",this.rotate=0}ngOnInit(){}ngOnChanges(H){H&&this.updateIcon()}updateIcon(){const H=this.getIcon(),x=new B(function A(S){const v=Object.assign(Object.create(null),L,S);return void 0===v.inlineTop&&(v.inlineTop=v.top),void 0===v.inlineHeight&&(v.inlineHeight=v.height),void 0===v.verticalAlign&&(v.verticalAlign=v.height%7==0&&v.height%8!=0?-.143:-.125),v}(H));this.iconHTML=this.generateSvgHtml(x)}getIcon(){const H=this.icon||this.icIcon;if("object"!=typeof H&&"string"!=typeof H)throw new Error("[Iconify]: No icon provided");return"object"==typeof H?H:this.iconService.get(H)}generateSvgHtml(H){return this.domSanitizer.bypassSecurityTrustHtml(H.getSVG({width:this.size||this.width,height:this.size||this.height,color:this.color,inline:this.inline,box:this.box,align:this.align,hFlip:this.hFlip,vFlip:this.vFlip,flip:this.flip,rotate:this.rotate}))}}return S.\u0275fac=function(H){return new(H||S)(o.Y36(r.H7),o.Y36(h))},S.\u0275dir=o.lG2({type:S,selectors:[["ic-icon"],["","icIcon",""]],hostVars:3,hostBindings:function(H,x){2&H&&(o.Ikx("innerHTML",x.iconHTML,o.oJD),o.ekj("ic-inline",x.inline))},inputs:{width:"width",height:"height",rotate:"rotate",icIcon:"icIcon",icon:"icon",color:"color",inline:"inline",box:"box",size:"size",align:"align",hFlip:"hFlip",vFlip:"vFlip",flip:"flip"},features:[o.TTD]}),S})(),b=(()=>{class S{}return S.\u0275fac=function(H){return new(H||S)},S.\u0275mod=o.oAB({type:S}),S.\u0275inj=o.cJS({}),S})()},1558:(Ue,J,s)=>{"use strict";s.d(J,{g7:()=>w});var o=null,r={},h=1,f="@wry/context:Slot",d=Array,w=d[f]||function(){var v=function(){function v(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return v.prototype.hasValue=function(){for(var H=o;H;H=H.parent)if(this.id in H.slots){var x=H.slots[this.id];if(x===r)break;return H!==o&&(o.slots[this.id]=x),!0}return o&&(o.slots[this.id]=r),!1},v.prototype.getValue=function(){if(this.hasValue())return o.slots[this.id]},v.prototype.withValue=function(H,x,te,Ee){var T,ue=((T={__proto__:null})[this.id]=H,T),Z=o;o={parent:Z,slots:ue};try{return x.apply(Ee,te)}finally{o=Z}},v.bind=function(H){var x=o;return function(){var te=o;try{return o=x,H.apply(this,arguments)}finally{o=te}}},v.noContext=function(H,x,te){if(!o)return H.apply(te,x);var Ee=o;try{return o=null,H.apply(te,x)}finally{o=Ee}},v}();try{Object.defineProperty(d,f,{value:d[f]=v,enumerable:!1,writable:!1,configurable:!1})}finally{return v}}()},1913:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>d});var o=Object.prototype,r=o.toString,h=o.hasOwnProperty,_=Function.prototype.toString,f=new Map;function d(b,S){try{return w(b,S)}finally{f.clear()}}function w(b,S){if(b===S)return!0;var v=r.call(b);if(v!==r.call(S))return!1;switch(v){case"[object Array]":if(b.length!==S.length)return!1;case"[object Object]":if(m(b,S))return!0;var x=L(b),te=L(S),Ee=x.length;if(Ee!==te.length)return!1;for(var T=0;T=0&&b.indexOf(S,v)===v}(Y,g)}return!1}function L(b){return Object.keys(b).filter(A,b)}function A(b){return void 0!==this[b]}var g="{ [native code] }";function m(b,S){var v=f.get(b);if(v){if(v.has(S))return!0}else f.set(b,v=new Set);return v.add(S),!1}},2844:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>f});var o=function(){return Object.create(null)},r=Array.prototype,h=r.forEach,_=r.slice,f=function(){function w(L,A){void 0===L&&(L=!0),void 0===A&&(A=o),this.weakness=L,this.makeData=A}return w.prototype.lookup=function(){for(var L=[],A=0;A{"use strict";const{ApolloLink:o,Observable:r}=s(5149),{createSignalIfSupported:h,fallbackHttpConfig:_,parseAndCheckHttpResponse:f,rewriteURIForGET:d,selectHttpOptionsAndBody:w,selectURI:L,serializeFetchParameter:A}=s(426),g=s(6795),B=s(1061),m=s(1654);Ue.exports=function({uri:S="/graphql",useGETForQueries:v,isExtractableFile:H=m,FormData:x,formDataAppendFile:te=B,fetch:Ee,fetchOptions:T,credentials:ue,headers:Z,includeExtensions:Me}={}){const Se={http:{includeExtensions:Me},options:T,credentials:ue,headers:Z};return new o(ve=>{const ye=ve.getContext(),{clientAwareness:{name:De,version:z}={},headers:Y}=ye,V={http:ye.http,options:ye.fetchOptions,credentials:ye.credentials,headers:{...De&&{"apollographql-client-name":De},...z&&{"apollographql-client-version":z},...Y}},{options:j,body:X}=w(ve,_,Se,V),{clone:Ie,files:ke}=g(X,"",H);let tt=L(ve,S);if(ke.size){delete j.headers["content-type"];const re=new(x||FormData);re.append("operations",A(Ie,"Payload"));const xe={};let Ke=0;ke.forEach(me=>{xe[++Ke]=me}),re.append("map",JSON.stringify(xe)),Ke=0,ke.forEach((me,P)=>{te(re,++Ke,P)}),j.body=re}else if(v&&!ve.query.definitions.some(Re=>"OperationDefinition"===Re.kind&&"mutation"===Re.operation)&&(j.method="GET"),"GET"===j.method){const{newURI:Re,parseError:re}=d(tt,X);if(re)return new r(xe=>{xe.error(re)});tt=Re}else j.body=A(Ie,"Payload");const{controller:lt}=h();lt&&(j.signal&&(j.signal.aborted?lt.abort():j.signal.addEventListener("abort",()=>{lt.abort()},{once:!0})),j.signal=lt.signal);const $=Ee||fetch;return new r(Re=>{let re;return $(tt,j).then(xe=>(ve.setContext({response:xe}),xe)).then(f(ve)).then(xe=>{Re.next(xe),Re.complete()}).catch(xe=>{re||(xe.result&&xe.result.errors&&xe.result.data&&Re.next(xe.result),Re.error(xe))}),()=>{re=!0,lt&<.abort()}})})}},1061:Ue=>{"use strict";Ue.exports=function(s,o,r){s.append(o,r,r.name)}},1654:(Ue,J,s)=>{"use strict";Ue.exports=s(6046)},9568:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(44),h=r(o("String.prototype.indexOf"));Ue.exports=function(f,d){var w=o(f,!!d);return"function"==typeof w&&h(f,".prototype.")>-1?r(w):w}},44:(Ue,J,s)=>{"use strict";var o=s(5396),r=s(8540),h=r("%Function.prototype.apply%"),_=r("%Function.prototype.call%"),f=r("%Reflect.apply%",!0)||o.call(_,h),d=r("%Object.getOwnPropertyDescriptor%",!0),w=r("%Object.defineProperty%",!0),L=r("%Math.max%");if(w)try{w({},"a",{value:1})}catch{w=null}Ue.exports=function(B){var m=f(o,_,arguments);if(d&&w){var b=d(m,"length");b.configurable&&w(m,"length",{value:1+L(0,B.length-(arguments.length-1))})}return m};var A=function(){return f(o,h,arguments)};w?w(Ue.exports,"apply",{value:A}):Ue.exports.apply=A},2978:(Ue,J,s)=>{"use strict";var o=s(8507),r=s(7316),h=s(4269),_=s(5544),f=s(437),d=s(5105),w=s(3105),L=s(6566),A=s(8540),g=s(9568),B=s(8456),m=s(4071),b=s(2284),S=s(3446),v=s(9406),H=g("Date.prototype.getTime"),x=Object.getPrototypeOf,te=g("Object.prototype.toString"),Ee=A("%Set%",!0),T=g("Map.prototype.has",!0),ue=g("Map.prototype.get",!0),Z=g("Map.prototype.size",!0),Me=g("Set.prototype.add",!0),Se=g("Set.prototype.delete",!0),ve=g("Set.prototype.has",!0),ye=g("Set.prototype.size",!0);function De($,Re,re,xe){for(var me,Ke=m($);(me=Ke.next())&&!me.done;)if(X(Re,me.value,re,xe))return Se($,me.value),!0;return!1}function z($){return typeof $>"u"?null:"object"!=typeof $?"symbol"!=typeof $&&("string"!=typeof $&&"number"!=typeof $||+$==+$):void 0}function Y($,Re,re,xe,Ke,me){var P=z(re);if(null!=P)return P;var se=ue(Re,P),Ce=v({},Ke,{strict:!1});return!(typeof se>"u"&&!T(Re,P)||!X(xe,se,Ce,me))&&!T($,P)&&X(xe,se,Ce,me)}function V($,Re,re){var xe=z(re);return xe??(ve(Re,xe)&&!ve($,xe))}function j($,Re,re,xe,Ke,me){for(var se,Ce,P=m($);(se=P.next())&&!se.done;)if(X(re,Ce=se.value,Ke,me)&&X(xe,ue(Re,Ce),Ke,me))return Se($,Ce),!0;return!1}function X($,Re,re,xe){var Ke=re||{};if(Ke.strict?h($,Re):$===Re)return!0;if(L($)!==L(Re))return!1;if(!$||!Re||"object"!=typeof $&&"object"!=typeof Re)return Ke.strict?h($,Re):$==Re;var He,se=xe.has($),Ce=xe.has(Re);if(se&&Ce){if(xe.get($)===xe.get(Re))return!0}else He={};return se||xe.set($,He),Ce||xe.set(Re,He),function lt($,Re,re,xe){var Ke,me;if(typeof $!=typeof Re||null==$||null==Re||te($)!==te(Re)||r($)!==r(Re))return!1;if(d($)!==d(Re))return!1;var Ce=$ instanceof Error,He=Re instanceof Error;if(Ce!==He||(Ce||He)&&($.name!==Re.name||$.message!==Re.message))return!1;var Qe=_($),st=_(Re);if(Qe!==st||(Qe||st)&&($.source!==Re.source||f($)!==f(Re)))return!1;var Ge=w($),at=w(Re);if(Ge!==at||(Ge||at)&&H($)!==H(Re)||re.strict&&x&&x($)!==x(Re)||S($)!==S(Re))return!1;var _t=Ie($),xt=Ie(Re);if(_t!==xt)return!1;if(_t||xt){if($.length!==Re.length)return!1;for(Ke=0;Ke<$.length;Ke++)if($[Ke]!==Re[Ke])return!1;return!0}if(typeof $!=typeof Re)return!1;var yt=o($),Pt=o(Re);if(yt.length!==Pt.length)return!1;for(yt.sort(),Pt.sort(),Ke=yt.length-1;Ke>=0;Ke--)if(yt[Ke]!=Pt[Ke])return!1;for(Ke=yt.length-1;Ke>=0;Ke--)if(!X($[me=yt[Ke]],Re[me],re,xe))return!1;var At=B($),nt=B(Re);return At===nt&&("Set"===At||"Set"===nt?function ke($,Re,re,xe){if(ye($)!==ye(Re))return!1;for(var P,se,Ce,Ke=m($),me=m(Re);(P=Ke.next())&&!P.done;)if(P.value&&"object"==typeof P.value)Ce||(Ce=new Ee),Me(Ce,P.value);else if(!ve(Re,P.value)){if(re.strict||!V($,Re,P.value))return!1;Ce||(Ce=new Ee),Me(Ce,P.value)}if(Ce){for(;(se=me.next())&&!se.done;)if(se.value&&"object"==typeof se.value){if(!De(Ce,se.value,re.strict,xe))return!1}else if(!re.strict&&!ve($,se.value)&&!De(Ce,se.value,re.strict,xe))return!1;return 0===ye(Ce)}return!0}($,Re,re,xe):"Map"!==At||function tt($,Re,re,xe){if(Z($)!==Z(Re))return!1;for(var P,se,Ce,He,Qe,st,Ke=m($),me=m(Re);(P=Ke.next())&&!P.done;)if(Qe=P.value[1],(He=P.value[0])&&"object"==typeof He)Ce||(Ce=new Ee),Me(Ce,He);else if(typeof(st=ue(Re,He))>"u"&&!T(Re,He)||!X(Qe,st,re,xe)){if(re.strict||!Y($,Re,He,Qe,re,xe))return!1;Ce||(Ce=new Ee),Me(Ce,He)}if(Ce){for(;(se=me.next())&&!se.done;)if(st=se.value[1],(He=se.value[0])&&"object"==typeof He){if(!j(Ce,$,He,st,re,xe))return!1}else if(!(re.strict||$.has(He)&&X(ue($,He),st,re,xe)||j(Ce,$,He,st,v({},re,{strict:!1}),xe)))return!1;return 0===ye(Ce)}return!0}($,Re,re,xe))}($,Re,Ke,xe)}function Ie($){return!(!$||"object"!=typeof $||"number"!=typeof $.length||"function"!=typeof $.copy||"function"!=typeof $.slice||$.length>0&&"number"!=typeof $[0]||!($.constructor&&$.constructor.isBuffer&&$.constructor.isBuffer($)))}Ue.exports=function(Re,re,xe){return X(Re,re,xe,b())}},6886:(Ue,J,s)=>{"use strict";var o=s(8507),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),h=Object.prototype.toString,_=Array.prototype.concat,f=Object.defineProperty,w=s(5898)(),L=f&&w,A=function(B,m,b,S){m in B&&(!function(B){return"function"==typeof B&&"[object Function]"===h.call(B)}(S)||!S())||(L?f(B,m,{configurable:!0,enumerable:!1,value:b,writable:!0}):B[m]=b)},g=function(B,m){var b=arguments.length>2?arguments[2]:{},S=o(m);r&&(S=_.call(S,Object.getOwnPropertySymbols(m)));for(var v=0;v{"use strict";Ue.exports=class{constructor({uri:s,name:o,type:r}){this.uri=s,this.name=o,this.type=r}}},6795:(Ue,J,s)=>{"use strict";const o=s(6046);Ue.exports=function(h,_="",f=o){const d=new Map,w=new Map;return{clone:function L(A,g,B){let m=A;if(f(A)){m=null;const b=d.get(A);b?b.push(g):d.set(A,[g])}else{const b=Array.isArray(A)||typeof FileList<"u"&&A instanceof FileList,S=A&&A.constructor===Object;if(b||S){const v=w.has(A);if(v?m=w.get(A):(m=b?[]:{},w.set(A,m)),!B.has(A)){const H=g?`${g}.`:"",x=new Set(B).add(A);if(b){let te=0;for(const Ee of A){const T=L(Ee,H+te++,x);v||m.push(T)}}else for(const te in A){const Ee=L(A[te],H+te,x);v||(m[te]=Ee)}}}}return m}(h,_,new Set),files:d}}},6046:(Ue,J,s)=>{"use strict";const o=s(1669);Ue.exports=function(h){return typeof File<"u"&&h instanceof File||typeof Blob<"u"&&h instanceof Blob||h instanceof o}},2208:(Ue,J,s)=>{"use strict";var o=s(7701),r=Object.prototype.toString,h=Object.prototype.hasOwnProperty,_=function(A,g,B){for(var m=0,b=A.length;m=3&&(m=B),"[object Array]"===r.call(A)?_(A,g,m):"string"==typeof A?f(A,g,m):d(A,g,m)}},1609:Ue=>{"use strict";var J="Function.prototype.bind called on incompatible ",s=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";Ue.exports=function(_){var f=this;if("function"!=typeof f||o.call(f)!==r)throw new TypeError(J+f);for(var w,d=s.call(arguments,1),L=function(){if(this instanceof w){var b=f.apply(this,d.concat(s.call(arguments)));return Object(b)===b?b:this}return f.apply(_,d.concat(s.call(arguments)))},A=Math.max(0,f.length-d.length),g=[],B=0;B{"use strict";var o=s(1609);Ue.exports=Function.prototype.bind||o},3413:Ue=>{"use strict";var J=function(){return"string"==typeof function(){}.name},s=Object.getOwnPropertyDescriptor;if(s)try{s([],"length")}catch{s=null}J.functionsHaveConfigurableNames=function(){if(!J()||!s)return!1;var h=s(function(){},"name");return!!h&&!!h.configurable};var o=Function.prototype.bind;J.boundFunctionsHaveNames=function(){return J()&&"function"==typeof o&&""!==function(){}.bind().name},Ue.exports=J},8540:(Ue,J,s)=>{"use strict";var o,r=SyntaxError,h=Function,_=TypeError,f=function(De){try{return h('"use strict"; return ('+De+").constructor;")()}catch{}},d=Object.getOwnPropertyDescriptor;if(d)try{d({},"")}catch{d=null}var w=function(){throw new _},L=d?function(){try{return w}catch{try{return d(arguments,"callee").get}catch{return w}}}():w,A=s(9326)(),g=Object.getPrototypeOf||function(De){return De.__proto__},B={},m=typeof Uint8Array>"u"?o:g(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?o:ArrayBuffer,"%ArrayIteratorPrototype%":A?g([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?o:Atomics,"%BigInt%":typeof BigInt>"u"?o:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?o:Float32Array,"%Float64Array%":typeof Float64Array>"u"?o:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?o:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?o:Int8Array,"%Int16Array%":typeof Int16Array>"u"?o:Int16Array,"%Int32Array%":typeof Int32Array>"u"?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A?g(g([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":typeof Map>"u"?o:Map,"%MapIteratorPrototype%":typeof Map>"u"||!A?o:g((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?o:Promise,"%Proxy%":typeof Proxy>"u"?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?o:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?o:Set,"%SetIteratorPrototype%":typeof Set>"u"||!A?o:g((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A?g(""[Symbol.iterator]()):o,"%Symbol%":A?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":L,"%TypedArray%":m,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?o:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?o:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?o:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?o:WeakMap,"%WeakRef%":typeof WeakRef>"u"?o:WeakRef,"%WeakSet%":typeof WeakSet>"u"?o:WeakSet},S=function De(z){var Y;if("%AsyncFunction%"===z)Y=f("async function () {}");else if("%GeneratorFunction%"===z)Y=f("function* () {}");else if("%AsyncGeneratorFunction%"===z)Y=f("async function* () {}");else if("%AsyncGenerator%"===z){var V=De("%AsyncGeneratorFunction%");V&&(Y=V.prototype)}else if("%AsyncIteratorPrototype%"===z){var j=De("%AsyncGenerator%");j&&(Y=g(j.prototype))}return b[z]=Y,Y},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=s(5396),x=s(7709),te=H.call(Function.call,Array.prototype.concat),Ee=H.call(Function.apply,Array.prototype.splice),T=H.call(Function.call,String.prototype.replace),ue=H.call(Function.call,String.prototype.slice),Z=H.call(Function.call,RegExp.prototype.exec),Me=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Se=/\\(\\)?/g,ve=function(z){var Y=ue(z,0,1),V=ue(z,-1);if("%"===Y&&"%"!==V)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===V&&"%"!==Y)throw new r("invalid intrinsic syntax, expected opening `%`");var j=[];return T(z,Me,function(X,Ie,ke,tt){j[j.length]=ke?T(tt,Se,"$1"):Ie||X}),j},ye=function(z,Y){var j,V=z;if(x(v,V)&&(V="%"+(j=v[V])[0]+"%"),x(b,V)){var X=b[V];if(X===B&&(X=S(V)),typeof X>"u"&&!Y)throw new _("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:j,name:V,value:X}}throw new r("intrinsic "+z+" does not exist!")};Ue.exports=function(z,Y){if("string"!=typeof z||0===z.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Y)throw new _('"allowMissing" argument must be a boolean');if(null===Z(/^%?[^%]*%?$/g,z))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var V=ve(z),j=V.length>0?V[0]:"",X=ye("%"+j+"%",Y),Ie=X.name,ke=X.value,tt=!1,lt=X.alias;lt&&(j=lt[0],Ee(V,te([0,1],lt)));for(var $=1,Re=!0;$=V.length){var me=d(ke,re);ke=(Re=!!me)&&"get"in me&&!("originalValue"in me.get)?me.get:ke[re]}else Re=x(ke,re),ke=ke[re];Re&&!tt&&(b[Ie]=ke)}}return ke}},9139:(Ue,J,s)=>{"use strict";s.d(J,{J9:()=>Te,_t:()=>ie,wO:()=>oe,Ps:()=>G,HW:()=>U});var o=s(4762);function h(we,Be){if(!Boolean(we))throw new Error(Be??"Unexpected invariant triggered.")}const _=/\r\n|[\n\r]/g;function f(we,Be){let We=0,Ye=1;for(const et of we.body.matchAll(_)){if("number"==typeof et.index||h(!1),et.index>=Be)break;We=et.index+et[0].length,Ye+=1}return{line:Ye,column:Be+1-We}}function w(we,Be){const We=we.locationOffset.column-1,Ye="".padStart(We)+we.body,et=Be.line-1,K=Be.line+(we.locationOffset.line-1),_e=Be.column+(1===Be.line?We:0),ae=`${we.name}:${K}:${_e}\n`,he=Ye.split(/\r\n|[\n\r]/g),pe=he[et];if(pe.length>120){const be=Math.floor(_e/80),Oe=_e%80,Ae=[];for(let Je=0;Je["|",Je]),["|","^".padStart(Oe)],["|",Ae[be+1]]])}return ae+L([[K-1+" |",he[et-1]],[`${K} |`,pe],["|","^".padStart(_e)],[`${K+1} |`,he[et+1]]])}function L(we){const Be=we.filter(([Ye,et])=>void 0!==et),We=Math.max(...Be.map(([Ye])=>Ye.length));return Be.map(([Ye,et])=>Ye.padStart(We)+(et?" "+et:"")).join("\n")}class g extends Error{constructor(Be,...We){var Ye,et,de;const{nodes:K,source:le,positions:_e,path:ae,originalError:he,extensions:pe}=function A(we){const Be=we[0];return null==Be||"kind"in Be||"length"in Be?{nodes:Be,source:we[1],positions:we[2],path:we[3],originalError:we[4],extensions:we[5]}:Be}(We);super(Be),this.name="GraphQLError",this.path=ae??void 0,this.originalError=he??void 0,this.nodes=B(Array.isArray(K)?K:K?[K]:void 0);const be=B(null===(Ye=this.nodes)||void 0===Ye?void 0:Ye.map(Ae=>Ae.loc).filter(Ae=>null!=Ae));this.source=le??(null==be||null===(et=be[0])||void 0===et?void 0:et.source),this.positions=_e??be?.map(Ae=>Ae.start),this.locations=_e&&le?_e.map(Ae=>f(le,Ae)):be?.map(Ae=>f(Ae.source,Ae.start));const Oe=function r(we){return"object"==typeof we&&null!==we}(he?.extensions)?he?.extensions:void 0;this.extensions=null!==(de=pe??Oe)&&void 0!==de?de:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=he&&he.stack?Object.defineProperty(this,"stack",{value:he.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,g):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let Be=this.message;if(this.nodes)for(const We of this.nodes)We.loc&&(Be+="\n\n"+w((we=We.loc).source,f(we.source,we.start)));else if(this.source&&this.locations)for(const We of this.locations)Be+="\n\n"+w(this.source,We);var we;return Be}toJSON(){const Be={message:this.message};return null!=this.locations&&(Be.locations=this.locations),null!=this.path&&(Be.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(Be.extensions=this.extensions),Be}}function B(we){return void 0===we||0===we.length?void 0:we}function S(we,Be,We){return new g(`Syntax Error: ${We}`,{source:we,positions:[Be]})}var v=s(484),H=(()=>{return(we=H||(H={})).QUERY="QUERY",we.MUTATION="MUTATION",we.SUBSCRIPTION="SUBSCRIPTION",we.FIELD="FIELD",we.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",we.FRAGMENT_SPREAD="FRAGMENT_SPREAD",we.INLINE_FRAGMENT="INLINE_FRAGMENT",we.VARIABLE_DEFINITION="VARIABLE_DEFINITION",we.SCHEMA="SCHEMA",we.SCALAR="SCALAR",we.OBJECT="OBJECT",we.FIELD_DEFINITION="FIELD_DEFINITION",we.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",we.INTERFACE="INTERFACE",we.UNION="UNION",we.ENUM="ENUM",we.ENUM_VALUE="ENUM_VALUE",we.INPUT_OBJECT="INPUT_OBJECT",we.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",H;var we})(),x=s(1605),te=s(1797),Ee=s(1777),T=(()=>{return(we=T||(T={})).SOF="",we.EOF="",we.BANG="!",we.DOLLAR="$",we.AMP="&",we.PAREN_L="(",we.PAREN_R=")",we.SPREAD="...",we.COLON=":",we.EQUALS="=",we.AT="@",we.BRACKET_L="[",we.BRACKET_R="]",we.BRACE_L="{",we.PIPE="|",we.BRACE_R="}",we.NAME="Name",we.INT="Int",we.FLOAT="Float",we.STRING="String",we.BLOCK_STRING="BlockString",we.COMMENT="Comment",T;var we})();class ue{constructor(Be){const We=new v.WU(T.SOF,0,0,0,0);this.source=Be,this.lastToken=We,this.token=We,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let Be=this.token;if(Be.kind!==T.EOF)do{if(Be.next)Be=Be.next;else{const We=Y(this,Be.end);Be.next=We,We.prev=Be,Be=We}}while(Be.kind===T.COMMENT);return Be}}function Me(we){return we>=0&&we<=55295||we>=57344&&we<=1114111}function Se(we,Be){return ve(we.charCodeAt(Be))&&ye(we.charCodeAt(Be+1))}function ve(we){return we>=55296&&we<=56319}function ye(we){return we>=56320&&we<=57343}function De(we,Be){const We=we.source.body.codePointAt(Be);if(void 0===We)return T.EOF;if(We>=32&&We<=126){const Ye=String.fromCodePoint(We);return'"'===Ye?"'\"'":`"${Ye}"`}return"U+"+We.toString(16).toUpperCase().padStart(4,"0")}function z(we,Be,We,Ye,et){return new v.WU(Be,We,Ye,we.line,1+We-we.lineStart,et)}function Y(we,Be){const We=we.source.body,Ye=We.length;let et=Be;for(;et=48&&we<=57?we-48:we>=65&&we<=70?we-55:we>=97&&we<=102?we-87:-1}function Re(we,Be){const We=we.source.body;switch(We.charCodeAt(Be+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw S(we.source,Be,`Invalid character escape sequence: "${We.slice(Be,Be+2)}".`)}function re(we,Be){const We=we.source.body,Ye=We.length;let et=we.lineStart,de=Be+3,K=de,le="";const _e=[];for(;dethis.parseValueLiteral(Be),T.BRACKET_R)})}parseObject(Be){return this.node(this._lexer.token,{kind:x.h.OBJECT,fields:this.any(T.BRACE_L,()=>this.parseObjectField(Be),T.BRACE_R)})}parseObjectField(Be){const We=this._lexer.token,Ye=this.parseName();return this.expectToken(T.COLON),this.node(We,{kind:x.h.OBJECT_FIELD,name:Ye,value:this.parseValueLiteral(Be)})}parseDirectives(Be){const We=[];for(;this.peek(T.AT);)We.push(this.parseDirective(Be));return We}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(Be){const We=this._lexer.token;return this.expectToken(T.AT),this.node(We,{kind:x.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(Be)})}parseTypeReference(){const Be=this._lexer.token;let We;if(this.expectOptionalToken(T.BRACKET_L)){const Ye=this.parseTypeReference();this.expectToken(T.BRACKET_R),We=this.node(Be,{kind:x.h.LIST_TYPE,type:Ye})}else We=this.parseNamedType();return this.expectOptionalToken(T.BANG)?this.node(Be,{kind:x.h.NON_NULL_TYPE,type:We}):We}parseNamedType(){return this.node(this._lexer.token,{kind:x.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("schema");const Ye=this.parseConstDirectives(),et=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return this.node(Be,{kind:x.h.SCHEMA_DEFINITION,description:We,directives:Ye,operationTypes:et})}parseOperationTypeDefinition(){const Be=this._lexer.token,We=this.parseOperationType();this.expectToken(T.COLON);const Ye=this.parseNamedType();return this.node(Be,{kind:x.h.OPERATION_TYPE_DEFINITION,operation:We,type:Ye})}parseScalarTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("scalar");const Ye=this.parseName(),et=this.parseConstDirectives();return this.node(Be,{kind:x.h.SCALAR_TYPE_DEFINITION,description:We,name:Ye,directives:et})}parseObjectTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("type");const Ye=this.parseName(),et=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),K=this.parseFieldsDefinition();return this.node(Be,{kind:x.h.OBJECT_TYPE_DEFINITION,description:We,name:Ye,interfaces:et,directives:de,fields:K})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)}parseFieldDefinition(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseName(),et=this.parseArgumentDefs();this.expectToken(T.COLON);const de=this.parseTypeReference(),K=this.parseConstDirectives();return this.node(Be,{kind:x.h.FIELD_DEFINITION,description:We,name:Ye,arguments:et,type:de,directives:K})}parseArgumentDefs(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)}parseInputValueDef(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseName();this.expectToken(T.COLON);const et=this.parseTypeReference();let de;this.expectOptionalToken(T.EQUALS)&&(de=this.parseConstValueLiteral());const K=this.parseConstDirectives();return this.node(Be,{kind:x.h.INPUT_VALUE_DEFINITION,description:We,name:Ye,type:et,defaultValue:de,directives:K})}parseInterfaceTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("interface");const Ye=this.parseName(),et=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),K=this.parseFieldsDefinition();return this.node(Be,{kind:x.h.INTERFACE_TYPE_DEFINITION,description:We,name:Ye,interfaces:et,directives:de,fields:K})}parseUnionTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("union");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseUnionMemberTypes();return this.node(Be,{kind:x.h.UNION_TYPE_DEFINITION,description:We,name:Ye,directives:et,types:de})}parseUnionMemberTypes(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("enum");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseEnumValuesDefinition();return this.node(Be,{kind:x.h.ENUM_TYPE_DEFINITION,description:We,name:Ye,directives:et,values:de})}parseEnumValuesDefinition(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)}parseEnumValueDefinition(){const Be=this._lexer.token,We=this.parseDescription(),Ye=this.parseEnumValueName(),et=this.parseConstDirectives();return this.node(Be,{kind:x.h.ENUM_VALUE_DEFINITION,description:We,name:Ye,directives:et})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw S(this._lexer.source,this._lexer.token.start,`${Qe(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("input");const Ye=this.parseName(),et=this.parseConstDirectives(),de=this.parseInputFieldsDefinition();return this.node(Be,{kind:x.h.INPUT_OBJECT_TYPE_DEFINITION,description:We,name:Ye,directives:et,fields:de})}parseInputFieldsDefinition(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)}parseTypeSystemExtension(){const Be=this._lexer.lookahead();if(Be.kind===T.NAME)switch(Be.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(Be)}parseSchemaExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const We=this.parseConstDirectives(),Ye=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(0===We.length&&0===Ye.length)throw this.unexpected();return this.node(Be,{kind:x.h.SCHEMA_EXTENSION,directives:We,operationTypes:Ye})}parseScalarTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const We=this.parseName(),Ye=this.parseConstDirectives();if(0===Ye.length)throw this.unexpected();return this.node(Be,{kind:x.h.SCALAR_TYPE_EXTENSION,name:We,directives:Ye})}parseObjectTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const We=this.parseName(),Ye=this.parseImplementsInterfaces(),et=this.parseConstDirectives(),de=this.parseFieldsDefinition();if(0===Ye.length&&0===et.length&&0===de.length)throw this.unexpected();return this.node(Be,{kind:x.h.OBJECT_TYPE_EXTENSION,name:We,interfaces:Ye,directives:et,fields:de})}parseInterfaceTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const We=this.parseName(),Ye=this.parseImplementsInterfaces(),et=this.parseConstDirectives(),de=this.parseFieldsDefinition();if(0===Ye.length&&0===et.length&&0===de.length)throw this.unexpected();return this.node(Be,{kind:x.h.INTERFACE_TYPE_EXTENSION,name:We,interfaces:Ye,directives:et,fields:de})}parseUnionTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseUnionMemberTypes();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.UNION_TYPE_EXTENSION,name:We,directives:Ye,types:et})}parseEnumTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseEnumValuesDefinition();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.ENUM_TYPE_EXTENSION,name:We,directives:Ye,values:et})}parseInputObjectTypeExtension(){const Be=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const We=this.parseName(),Ye=this.parseConstDirectives(),et=this.parseInputFieldsDefinition();if(0===Ye.length&&0===et.length)throw this.unexpected();return this.node(Be,{kind:x.h.INPUT_OBJECT_TYPE_EXTENSION,name:We,directives:Ye,fields:et})}parseDirectiveDefinition(){const Be=this._lexer.token,We=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);const Ye=this.parseName(),et=this.parseArgumentDefs(),de=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const K=this.parseDirectiveLocations();return this.node(Be,{kind:x.h.DIRECTIVE_DEFINITION,description:We,name:Ye,arguments:et,repeatable:de,locations:K})}parseDirectiveLocations(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const Be=this._lexer.token,We=this.parseName();if(Object.prototype.hasOwnProperty.call(H,We.value))return We;throw this.unexpected(Be)}node(Be,We){return!0!==this._options.noLocation&&(We.loc=new v.Ye(Be,this._lexer.lastToken,this._lexer.source)),We}peek(Be){return this._lexer.token.kind===Be}expectToken(Be){const We=this._lexer.token;if(We.kind===Be)return this.advanceLexer(),We;throw S(this._lexer.source,We.start,`Expected ${st(Be)}, found ${Qe(We)}.`)}expectOptionalToken(Be){return this._lexer.token.kind===Be&&(this.advanceLexer(),!0)}expectKeyword(Be){const We=this._lexer.token;if(We.kind!==T.NAME||We.value!==Be)throw S(this._lexer.source,We.start,`Expected "${Be}", found ${Qe(We)}.`);this.advanceLexer()}expectOptionalKeyword(Be){const We=this._lexer.token;return We.kind===T.NAME&&We.value===Be&&(this.advanceLexer(),!0)}unexpected(Be){const We=Be??this._lexer.token;return S(this._lexer.source,We.start,`Unexpected ${Qe(We)}.`)}any(Be,We,Ye){this.expectToken(Be);const et=[];for(;!this.expectOptionalToken(Ye);)et.push(We.call(this));return et}optionalMany(Be,We,Ye){if(this.expectOptionalToken(Be)){const et=[];do{et.push(We.call(this))}while(!this.expectOptionalToken(Ye));return et}return[]}many(Be,We,Ye){this.expectToken(Be);const et=[];do{et.push(We.call(this))}while(!this.expectOptionalToken(Ye));return et}delimitedMany(Be,We){this.expectOptionalToken(Be);const Ye=[];do{Ye.push(We.call(this))}while(this.expectOptionalToken(Be));return Ye}advanceLexer(){const{maxTokens:Be}=this._options,We=this._lexer.advance();if(void 0!==Be&&We.kind!==T.EOF&&(++this._tokenCounter,this._tokenCounter>Be))throw S(this._lexer.source,We.start,`Document contains more that ${Be} tokens. Parsing aborted.`)}}function Qe(we){const Be=we.value;return st(we.kind)+(null!=Be?` "${Be}"`:"")}function st(we){return function Z(we){return we===T.BANG||we===T.DOLLAR||we===T.AMP||we===T.PAREN_L||we===T.PAREN_R||we===T.SPREAD||we===T.COLON||we===T.EQUALS||we===T.AT||we===T.BRACKET_L||we===T.BRACKET_R||we===T.BRACE_L||we===T.PIPE||we===T.BRACE_R}(we)?`"${we}"`:we}var Ge=new Map,at=new Map,_t=!0,xt=!1;function yt(we){return we.replace(/[\s,]+/g," ").trim()}function ft(we){var Be=yt(we);if(!Ge.has(Be)){var We=function me(we,Be){return new He(we,Be).parseDocument()}(we,{experimentalFragmentVariables:xt,allowLegacyFragmentVariables:xt});if(!We||"Document"!==We.kind)throw new Error("Not a valid GraphQL document.");Ge.set(Be,function nt(we){var Be=new Set(we.definitions);Be.forEach(function(Ye){Ye.loc&&delete Ye.loc,Object.keys(Ye).forEach(function(et){var de=Ye[et];de&&"object"==typeof de&&Be.add(de)})});var We=we.loc;return We&&(delete We.startToken,delete We.endToken),we}(function At(we){var Be=new Set,We=[];return we.definitions.forEach(function(Ye){if("FragmentDefinition"===Ye.kind){var et=Ye.name.value,de=function Pt(we){return yt(we.source.body.substring(we.start,we.end))}(Ye.loc),K=at.get(et);K&&!K.has(de)?_t&&console.warn("Warning: fragment with name "+et+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):K||at.set(et,K=new Set),K.add(de),Be.has(de)||(Be.add(de),We.push(Ye))}else We.push(Ye)}),(0,o.pi)((0,o.pi)({},we),{definitions:We})}(We)))}return Ge.get(Be)}function G(we){for(var Be=[],We=1;We{"use strict";var J=typeof BigInt<"u"&&BigInt;Ue.exports=function(){return"function"==typeof J&&"function"==typeof BigInt&&"bigint"==typeof J(42)&&"bigint"==typeof BigInt(42)}},5898:(Ue,J,s)=>{"use strict";var r=s(8540)("%Object.defineProperty%",!0),h=function(){if(r)try{return r({},"a",{value:1}),!0}catch{return!1}return!1};h.hasArrayLengthDefineBug=function(){if(!h())return null;try{return 1!==r([],"length",{value:1}).length}catch{return!0}},Ue.exports=h},9326:(Ue,J,s)=>{"use strict";var o=typeof Symbol<"u"&&Symbol,r=s(9045);Ue.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},9045:Ue=>{"use strict";Ue.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var s={},o=Symbol("test"),r=Object(o);if("string"==typeof o||"[object Symbol]"!==Object.prototype.toString.call(o)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(o in s[o]=42,s)return!1;if("function"==typeof Object.keys&&0!==Object.keys(s).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(s).length)return!1;var _=Object.getOwnPropertySymbols(s);if(1!==_.length||_[0]!==o||!Object.prototype.propertyIsEnumerable.call(s,o))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var f=Object.getOwnPropertyDescriptor(s,o);if(42!==f.value||!0!==f.enumerable)return!1}return!0}},1407:(Ue,J,s)=>{"use strict";var o=s(9045);Ue.exports=function(){return o()&&!!Symbol.toStringTag}},7709:(Ue,J,s)=>{"use strict";var o=s(5396);Ue.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},7316:(Ue,J,s)=>{"use strict";var o=s(1407)(),h=s(9568)("Object.prototype.toString"),_=function(L){return!(o&&L&&"object"==typeof L&&Symbol.toStringTag in L)&&"[object Arguments]"===h(L)},f=function(L){return!!_(L)||null!==L&&"object"==typeof L&&"number"==typeof L.length&&L.length>=0&&"[object Array]"!==h(L)&&"[object Function]"===h(L.callee)},d=function(){return _(arguments)}();_.isLegacyArguments=f,Ue.exports=d?_:f},2629:(Ue,J,s)=>{"use strict";if(s(3768)()){var r=BigInt.prototype.valueOf;Ue.exports=function(f){return!(null===f||typeof f>"u"||"boolean"==typeof f||"string"==typeof f||"number"==typeof f||"symbol"==typeof f||"function"==typeof f)&&("bigint"==typeof f||function(f){try{return r.call(f),!0}catch{}return!1}(f))}}else Ue.exports=function(f){return!1}},5963:(Ue,J,s)=>{"use strict";var o=s(9568),r=o("Boolean.prototype.toString"),h=o("Object.prototype.toString"),d=s(1407)();Ue.exports=function(L){return"boolean"==typeof L||null!==L&&"object"==typeof L&&(d&&Symbol.toStringTag in L?function(L){try{return r(L),!0}catch{return!1}}(L):"[object Boolean]"===h(L))}},7701:Ue=>{"use strict";var o,r,J=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{o=Object.defineProperty({},"length",{get:function(){throw r}}),r={},s(function(){throw 42},null,o)}catch(B){B!==r&&(s=null)}else s=null;var h=/^\s*class\b/,_=function(m){try{var b=J.call(m);return h.test(b)}catch{return!1}},d=Object.prototype.toString,A="function"==typeof Symbol&&!!Symbol.toStringTag,g="object"==typeof document&&typeof document.all>"u"&&void 0!==document.all?document.all:{};Ue.exports=s?function(m){if(m===g)return!0;if(!m||"function"!=typeof m&&"object"!=typeof m)return!1;if("function"==typeof m&&!m.prototype)return!0;try{s(m,null,o)}catch(b){if(b!==r)return!1}return!_(m)}:function(m){if(m===g)return!0;if(!m||"function"!=typeof m&&"object"!=typeof m)return!1;if("function"==typeof m&&!m.prototype)return!0;if(A)return function(m){try{return!_(m)&&(J.call(m),!0)}catch{return!1}}(m);if(_(m))return!1;var b=d.call(m);return"[object Function]"===b||"[object GeneratorFunction]"===b}},3105:(Ue,J,s)=>{"use strict";var o=Date.prototype.getDay,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"object"==typeof w&&null!==w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object Date]"===h.call(w))}},3926:Ue=>{"use strict";var o,J="function"==typeof Map&&Map.prototype?Map:null,s="function"==typeof Set&&Set.prototype?Set:null;J||(o=function(f){return!1});var r=J?Map.prototype.has:null,h=s?Set.prototype.has:null;!o&&!r&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(r.call(f),h)try{h.call(f)}catch{return!0}return f instanceof J}catch{}return!1}},635:(Ue,J,s)=>{"use strict";var o=Number.prototype.toString,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"number"==typeof w||"object"==typeof w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object Number]"===h.call(w))}},5544:(Ue,J,s)=>{"use strict";var h,_,f,d,o=s(9568),r=s(1407)();if(r){h=o("Object.prototype.hasOwnProperty"),_=o("RegExp.prototype.exec"),f={};var w=function(){throw f};d={toString:w,valueOf:w},"symbol"==typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=w)}var L=o("Object.prototype.toString"),A=Object.getOwnPropertyDescriptor;Ue.exports=r?function(m){if(!m||"object"!=typeof m)return!1;var b=A(m,"lastIndex");if(!b||!h(b,"value"))return!1;try{_(m,d)}catch(v){return v===f}}:function(m){return!(!m||"object"!=typeof m&&"function"!=typeof m)&&"[object RegExp]"===L(m)}},5878:Ue=>{"use strict";var o,J="function"==typeof Map&&Map.prototype?Map:null,s="function"==typeof Set&&Set.prototype?Set:null;s||(o=function(f){return!1});var r=J?Map.prototype.has:null,h=s?Set.prototype.has:null;!o&&!h&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(h.call(f),r)try{r.call(f)}catch{return!0}return f instanceof s}catch{}return!1}},9825:(Ue,J,s)=>{"use strict";var o=String.prototype.valueOf,h=Object.prototype.toString,f=s(1407)();Ue.exports=function(w){return"string"==typeof w||"object"==typeof w&&(f?function(w){try{return o.call(w),!0}catch{return!1}}(w):"[object String]"===h.call(w))}},8037:(Ue,J,s)=>{"use strict";var o=Object.prototype.toString;if(s(9326)()){var h=Symbol.prototype.toString,_=/^Symbol\(.*\)$/;Ue.exports=function(w){if("symbol"==typeof w)return!0;if("[object Symbol]"!==o.call(w))return!1;try{return function(w){return"symbol"==typeof w.valueOf()&&_.test(h.call(w))}(w)}catch{return!1}}}else Ue.exports=function(w){return!1}},7579:(Ue,J,s)=>{"use strict";var o=s(2208),r=s(5127),h=s(9568),_=h("Object.prototype.toString"),f=s(1407)(),d=typeof globalThis>"u"?global:globalThis,w=r(),L=h("Array.prototype.indexOf",!0)||function(v,H){for(var x=0;x-1}return!!B&&function(v){var H=!1;return o(g,function(x,te){if(!H)try{H=x.call(v)===te}catch{}}),H}(v)}},8666:Ue=>{"use strict";var o,J="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,s="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;J||(o=function(f){return!1});var r=J?J.prototype.has:null,h=s?s.prototype.has:null;!o&&!r&&(o=function(f){return!1}),Ue.exports=o||function(f){if(!f||"object"!=typeof f)return!1;try{if(r.call(f,r),h)try{h.call(f,h)}catch{return!0}return f instanceof J}catch{}return!1}},6363:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(9568),h=o("%WeakSet%",!0),_=r("WeakSet.prototype.has",!0);if(_){var f=r("WeakMap.prototype.has",!0);Ue.exports=function(w){if(!w||"object"!=typeof w)return!1;try{if(_(w,_),f)try{f(w,f)}catch{return!0}return w instanceof h}catch{}return!1}}else Ue.exports=function(w){return!1}},5105:Ue=>{var J={}.toString;Ue.exports=Array.isArray||function(s){return"[object Array]"==J.call(s)}},1380:(Ue,J,s)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,h=o&&r&&"function"==typeof r.get?r.get:null,_=o&&Map.prototype.forEach,f="function"==typeof Set&&Set.prototype,d=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,w=f&&d&&"function"==typeof d.get?d.get:null,L=f&&Set.prototype.forEach,g="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,S="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,H=Object.prototype.toString,x=Function.prototype.toString,te=String.prototype.match,Ee=String.prototype.slice,T=String.prototype.replace,ue=String.prototype.toUpperCase,Z=String.prototype.toLowerCase,Me=RegExp.prototype.test,Se=Array.prototype.concat,ve=Array.prototype.join,ye=Array.prototype.slice,De=Math.floor,z="function"==typeof BigInt?BigInt.prototype.valueOf:null,Y=Object.getOwnPropertySymbols,V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,X="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Ie=Object.prototype.propertyIsEnumerable,ke=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(de){return de.__proto__}:null);function tt(de,K){if(de===1/0||de===-1/0||de!=de||de&&de>-1e3&&de<1e3||Me.call(/e/,K))return K;var le=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof de){var _e=de<0?-De(-de):De(de);if(_e!==de){var ae=String(_e),he=Ee.call(K,ae.length+1);return T.call(ae,le,"$&_")+"."+T.call(T.call(he,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(K,le,"$&_")}var lt=s(4654),$=lt.custom,Re=st($)?$:null;function re(de,K,le){var _e="double"===(le.quoteStyle||K)?'"':"'";return _e+de+_e}function xe(de){return T.call(String(de),/"/g,""")}function Ke(de){return!("[object Array]"!==xt(de)||X&&"object"==typeof de&&X in de)}function P(de){return!("[object RegExp]"!==xt(de)||X&&"object"==typeof de&&X in de)}function st(de){if(j)return de&&"object"==typeof de&&de instanceof Symbol;if("symbol"==typeof de)return!0;if(!de||"object"!=typeof de||!V)return!1;try{return V.call(de),!0}catch{}return!1}Ue.exports=function de(K,le,_e,ae){var he=le||{};if(_t(he,"quoteStyle")&&"single"!==he.quoteStyle&&"double"!==he.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(_t(he,"maxStringLength")&&("number"==typeof he.maxStringLength?he.maxStringLength<0&&he.maxStringLength!==1/0:null!==he.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pe=!_t(he,"customInspect")||he.customInspect;if("boolean"!=typeof pe&&"symbol"!==pe)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(_t(he,"indent")&&null!==he.indent&&"\t"!==he.indent&&!(parseInt(he.indent,10)===he.indent&&he.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(_t(he,"numericSeparator")&&"boolean"!=typeof he.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var be=he.numericSeparator;if(typeof K>"u")return"undefined";if(null===K)return"null";if("boolean"==typeof K)return K?"true":"false";if("string"==typeof K)return oe(K,he);if("number"==typeof K){if(0===K)return 1/0/K>0?"0":"-0";var Oe=String(K);return be?tt(K,Oe):Oe}if("bigint"==typeof K){var Ae=String(K)+"n";return be?tt(K,Ae):Ae}var Je=typeof he.depth>"u"?5:he.depth;if(typeof _e>"u"&&(_e=0),_e>=Je&&Je>0&&"object"==typeof K)return Ke(K)?"[Array]":"[Object]";var ct=function We(de,K){var le;if("\t"===de.indent)le="\t";else{if(!("number"==typeof de.indent&&de.indent>0))return null;le=ve.call(Array(de.indent+1)," ")}return{base:le,prev:ve.call(Array(K+1),le)}}(he,_e);if(typeof ae>"u")ae=[];else if(Pt(ae,K)>=0)return"[Circular]";function mt(rt,Et,Dt){if(Et&&(ae=ye.call(ae)).push(Et),Dt){var Lt={depth:he.depth};return _t(he,"quoteStyle")&&(Lt.quoteStyle=he.quoteStyle),de(rt,Lt,_e+1,ae)}return de(rt,he,_e+1,ae)}if("function"==typeof K&&!P(K)){var Mt=function yt(de){if(de.name)return de.name;var K=te.call(x.call(de),/^function\s*([\w$]+)/);return K?K[1]:null}(K),St=et(K,mt);return"[Function"+(Mt?": "+Mt:" (anonymous)")+"]"+(St.length>0?" { "+ve.call(St,", ")+" }":"")}if(st(K)){var Zt=j?T.call(String(K),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(K);return"object"!=typeof K||j?Zt:Xe(Zt)}if(function ie(de){return!(!de||"object"!=typeof de)&&(typeof HTMLElement<"u"&&de instanceof HTMLElement||"string"==typeof de.nodeName&&"function"==typeof de.getAttribute)}(K)){for(var $t="<"+Z.call(String(K.nodeName)),nn=K.attributes||[],ln=0;ln"}if(Ke(K)){if(0===K.length)return"[]";var Ut=et(K,mt);return ct&&!function Be(de){for(var K=0;K=0)return!1;return!0}(Ut)?"["+Ye(Ut,ct)+"]":"[ "+ve.call(Ut,", ")+" ]"}if(function se(de){return!("[object Error]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K)){var en=et(K,mt);return"cause"in Error.prototype||!("cause"in K)||Ie.call(K,"cause")?0===en.length?"["+String(K)+"]":"{ ["+String(K)+"] "+ve.call(en,", ")+" }":"{ ["+String(K)+"] "+ve.call(Se.call("[cause]: "+mt(K.cause),en),", ")+" }"}if("object"==typeof K&&pe){if(Re&&"function"==typeof K[Re]&<)return lt(K,{depth:Je-_e});if("symbol"!==pe&&"function"==typeof K.inspect)return K.inspect()}if(function At(de){if(!h||!de||"object"!=typeof de)return!1;try{h.call(de);try{w.call(de)}catch{return!0}return de instanceof Map}catch{}return!1}(K)){var Rt=[];return _.call(K,function(rt,Et){Rt.push(mt(Et,K,!0)+" => "+mt(rt,K))}),we("Map",h.call(K),Rt,ct)}if(function G(de){if(!w||!de||"object"!=typeof de)return!1;try{w.call(de);try{h.call(de)}catch{return!0}return de instanceof Set}catch{}return!1}(K)){var Ht=[];return L.call(K,function(rt){Ht.push(mt(rt,K))}),we("Set",w.call(K),Ht,ct)}if(function nt(de){if(!g||!de||"object"!=typeof de)return!1;try{g.call(de,g);try{m.call(de,m)}catch{return!0}return de instanceof WeakMap}catch{}return!1}(K))return Ze("WeakMap");if(function U(de){if(!m||!de||"object"!=typeof de)return!1;try{m.call(de,m);try{g.call(de,g)}catch{return!0}return de instanceof WeakSet}catch{}return!1}(K))return Ze("WeakSet");if(function ft(de){if(!S||!de||"object"!=typeof de)return!1;try{return S.call(de),!0}catch{}return!1}(K))return Ze("WeakRef");if(function He(de){return!("[object Number]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(mt(Number(K)));if(function Ge(de){if(!de||"object"!=typeof de||!z)return!1;try{return z.call(de),!0}catch{}return!1}(K))return Xe(mt(z.call(K)));if(function Qe(de){return!("[object Boolean]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(v.call(K));if(function Ce(de){return!("[object String]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K))return Xe(mt(String(K)));if(!function me(de){return!("[object Date]"!==xt(de)||X&&"object"==typeof de&&X in de)}(K)&&!P(K)){var ut=et(K,mt),Pe=ke?ke(K)===Object.prototype:K instanceof Object||K.constructor===Object,I=K instanceof Object?"":"null prototype",O=!Pe&&X&&Object(K)===K&&X in K?Ee.call(xt(K),8,-1):I?"Object":"",Fe=(Pe||"function"!=typeof K.constructor?"":K.constructor.name?K.constructor.name+" ":"")+(O||I?"["+ve.call(Se.call([],O||[],I||[]),": ")+"] ":"");return 0===ut.length?Fe+"{}":ct?Fe+"{"+Ye(ut,ct)+"}":Fe+"{ "+ve.call(ut,", ")+" }"}return String(K)};var at=Object.prototype.hasOwnProperty||function(de){return de in this};function _t(de,K){return at.call(de,K)}function xt(de){return H.call(de)}function Pt(de,K){if(de.indexOf)return de.indexOf(K);for(var le=0,_e=de.length;le<_e;le++)if(de[le]===K)return le;return-1}function oe(de,K){if(de.length>K.maxStringLength){var le=de.length-K.maxStringLength,_e="... "+le+" more character"+(le>1?"s":"");return oe(Ee.call(de,0,K.maxStringLength),K)+_e}return re(T.call(T.call(de,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Te),"single",K)}function Te(de){var K=de.charCodeAt(0),le={8:"b",9:"t",10:"n",12:"f",13:"r"}[K];return le?"\\"+le:"\\x"+(K<16?"0":"")+ue.call(K.toString(16))}function Xe(de){return"Object("+de+")"}function Ze(de){return de+" { ? }"}function we(de,K,le,_e){return de+" ("+K+") {"+(_e?Ye(le,_e):ve.call(le,", "))+"}"}function Ye(de,K){if(0===de.length)return"";var le="\n"+K.prev+K.base;return le+ve.call(de,","+le)+"\n"+K.prev}function et(de,K){var le=Ke(de),_e=[];if(le){_e.length=de.length;for(var ae=0;ae{"use strict";var J=function(s){return s!=s};Ue.exports=function(o,r){return 0===o&&0===r?1/o==1/r:!!(o===r||J(o)&&J(r))}},4269:(Ue,J,s)=>{"use strict";var o=s(6886),r=s(44),h=s(7859),_=s(8593),f=s(6343),d=r(_(),Object);o(d,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=d},8593:(Ue,J,s)=>{"use strict";var o=s(7859);Ue.exports=function(){return"function"==typeof Object.is?Object.is:o}},6343:(Ue,J,s)=>{"use strict";var o=s(8593),r=s(6886);Ue.exports=function(){var _=o();return r(Object,{is:_},{is:function(){return Object.is!==_}}),_}},6068:(Ue,J,s)=>{"use strict";var o;if(!Object.keys){var r=Object.prototype.hasOwnProperty,h=Object.prototype.toString,_=s(2666),f=Object.prototype.propertyIsEnumerable,d=!f.call({toString:null},"toString"),w=f.call(function(){},"prototype"),L=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],A=function(b){var S=b.constructor;return S&&S.prototype===b},g={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},B=function(){if(typeof window>"u")return!1;for(var b in window)try{if(!g["$"+b]&&r.call(window,b)&&null!==window[b]&&"object"==typeof window[b])try{A(window[b])}catch{return!0}}catch{return!0}return!1}();o=function(S){var v=null!==S&&"object"==typeof S,H="[object Function]"===h.call(S),x=_(S),te=v&&"[object String]"===h.call(S),Ee=[];if(!v&&!H&&!x)throw new TypeError("Object.keys called on a non-object");var T=w&&H;if(te&&S.length>0&&!r.call(S,0))for(var ue=0;ue0)for(var Z=0;Z"u"||!B)return A(b);try{return A(b)}catch{return!1}}(S),ve=0;ve{"use strict";var o=Array.prototype.slice,r=s(2666),h=Object.keys,_=h?function(w){return h(w)}:s(6068),f=Object.keys;_.shim=function(){if(Object.keys){var w=function(){var L=Object.keys(arguments);return L&&L.length===arguments.length}(1,2);w||(Object.keys=function(A){return r(A)?f(o.call(A)):f(A)})}else Object.keys=_;return Object.keys||_},Ue.exports=_},2666:Ue=>{"use strict";var J=Object.prototype.toString;Ue.exports=function(o){var r=J.call(o),h="[object Arguments]"===r;return h||(h="[object Array]"!==r&&null!==o&&"object"==typeof o&&"number"==typeof o.length&&o.length>=0&&"[object Function]"===J.call(o.callee)),h}},5073:(Ue,J,s)=>{"use strict";var o=s(8507),r=function(A){return typeof A<"u"&&null!==A},h=s(9045)(),_=s(9568),f=Object,d=_("Array.prototype.push"),w=_("Object.prototype.propertyIsEnumerable"),L=h?Object.getOwnPropertySymbols:null;Ue.exports=function(g,B){if(!r(g))throw new TypeError("target must be an object");var b,S,v,H,x,te,Ee,m=f(g);for(b=1;b{"use strict";var o=s(6886),r=s(44),h=s(5073),_=s(6406),f=s(362),d=r.apply(_()),w=function(A,g){return d(Object,arguments)};o(w,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=w},6406:(Ue,J,s)=>{"use strict";var o=s(5073);Ue.exports=function(){return!Object.assign||function(){if(!Object.assign)return!1;for(var _="abcdefghijklmnopqrst",f=_.split(""),d={},w=0;w{"use strict";var o=s(6886),r=s(6406);Ue.exports=function(){var _=r();return o(Object,{assign:_},{assign:function(){return Object.assign!==_}}),_}},1747:(Ue,J,s)=>{"use strict";s.d(J,{dP:()=>X,re:()=>lt});var o=s(2844),r=s(1558);function h(){}var d,_=function(){function $(Re,re){void 0===Re&&(Re=1/0),void 0===re&&(re=h),this.max=Re,this.dispose=re,this.map=new Map,this.newest=null,this.oldest=null}return $.prototype.has=function(Re){return this.map.has(Re)},$.prototype.get=function(Re){var re=this.getNode(Re);return re&&re.value},$.prototype.getNode=function(Re){var re=this.map.get(Re);if(re&&re!==this.newest){var xe=re.older,Ke=re.newer;Ke&&(Ke.older=xe),xe&&(xe.newer=Ke),re.older=this.newest,re.older.newer=re,re.newer=null,this.newest=re,re===this.oldest&&(this.oldest=Ke)}return re},$.prototype.set=function(Re,re){var xe=this.getNode(Re);return xe?xe.value=re:(xe={key:Re,value:re,newer:null,older:this.newest},this.newest&&(this.newest.newer=xe),this.newest=xe,this.oldest=this.oldest||xe,this.map.set(Re,xe),xe.value)},$.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},$.prototype.delete=function(Re){var re=this.map.get(Re);return!!re&&(re===this.newest&&(this.newest=re.older),re===this.oldest&&(this.oldest=re.newer),re.newer&&(re.newer.older=re.older),re.older&&(re.older.newer=re.newer),this.map.delete(Re),this.dispose(re.value,Re),!0)},$}(),f=new r.g7,w=Object.prototype.hasOwnProperty,L=void 0===(d=Array.from)?function($){var Re=[];return $.forEach(function(re){return Re.push(re)}),Re}:d;function A($){var Re=$.unsubscribe;"function"==typeof Re&&($.unsubscribe=void 0,Re())}var g=[];function m($,Re){if(!$)throw new Error(Re||"assertion failure")}function S($){switch($.length){case 0:throw new Error("unknown value");case 1:return $[0];case 2:throw $[1]}}var H=function(){function $(Re){this.fn=Re,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++$.count}return $.prototype.peek=function(){if(1===this.value.length&&!T(this))return x(this),this.value[0]},$.prototype.recompute=function(Re){return m(!this.recomputing,"already recomputing"),x(this),T(this)?function te($,Re){return z($),f.withValue($,Ee,[$,Re]),function V($,Re){if("function"==typeof $.subscribe)try{A($),$.unsubscribe=$.subscribe.apply(null,Re)}catch{return $.setDirty(),!1}return!0}($,Re)&&function ue($){$.dirty=!1,!T($)&&Me($)}($),S($.value)}(this,Re):S(this.value)},$.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Z(this),A(this))},$.prototype.dispose=function(){var Re=this;this.setDirty(),z(this),Se(this,function(re,xe){re.setDirty(),Y(re,Re)})},$.prototype.forget=function(){this.dispose()},$.prototype.dependOn=function(Re){Re.add(this),this.deps||(this.deps=g.pop()||new Set),this.deps.add(Re)},$.prototype.forgetDeps=function(){var Re=this;this.deps&&(L(this.deps).forEach(function(re){return re.delete(Re)}),this.deps.clear(),g.push(this.deps),this.deps=null)},$.count=0,$}();function x($){var Re=f.getValue();if(Re)return $.parents.add(Re),Re.childValues.has($)||Re.childValues.set($,[]),T($)?ve(Re,$):ye(Re,$),Re}function Ee($,Re){$.recomputing=!0,$.value.length=0;try{$.value[0]=$.fn.apply(null,Re)}catch(re){$.value[1]=re}$.recomputing=!1}function T($){return $.dirty||!(!$.dirtyChildren||!$.dirtyChildren.size)}function Z($){Se($,ve)}function Me($){Se($,ye)}function Se($,Re){var re=$.parents.size;if(re)for(var xe=L($.parents),Ke=0;Ke0&&re===Re.length&&$[re-1]===Re[re-1]}(re,Re.value)||$.setDirty(),De($,Re),!T($)&&Me($)}function De($,Re){var re=$.dirtyChildren;re&&(re.delete(Re),0===re.size&&(g.length<100&&g.push(re),$.dirtyChildren=null))}function z($){$.childValues.size>0&&$.childValues.forEach(function(Re,re){Y($,re)}),$.forgetDeps(),m(null===$.dirtyChildren)}function Y($,Re){Re.parents.delete($),$.childValues.delete(Re),De($,Re)}var j={setDirty:!0,dispose:!0,forget:!0};function X($){var Re=new Map,re=$&&$.subscribe;function xe(Ke){var me=f.getValue();if(me){var P=Re.get(Ke);P||Re.set(Ke,P=new Set),me.dependOn(P),"function"==typeof re&&(A(P),P.unsubscribe=re(Ke))}}return xe.dirty=function(me,P){var se=Re.get(me);if(se){var Ce=P&&w.call(j,P)?P:"setDirty";L(se).forEach(function(He){return He[Ce]()}),Re.delete(me),A(se)}},xe}function Ie(){var $=new o.B("function"==typeof WeakMap);return function(){return $.lookupArray(arguments)}}Ie();var tt=new Set;function lt($,Re){void 0===Re&&(Re=Object.create(null));var re=new _(Re.max||Math.pow(2,16),function(He){return He.dispose()}),xe=Re.keyArgs,Ke=Re.makeCacheKey||Ie(),me=function(){var He=Ke.apply(null,xe?xe.apply(null,arguments):arguments);if(void 0===He)return $.apply(null,arguments);var Qe=re.get(He);Qe||(re.set(He,Qe=new H($)),Qe.subscribe=Re.subscribe,Qe.forget=function(){return re.delete(He)});var st=Qe.recompute(Array.prototype.slice.call(arguments));return re.set(He,Qe),tt.add(re),f.hasValue()||(tt.forEach(function(Ge){return Ge.clean()}),tt.clear()),st};function P(He){var Qe=re.get(He);Qe&&Qe.setDirty()}function se(He){var Qe=re.get(He);if(Qe)return Qe.peek()}function Ce(He){return re.delete(He)}return Object.defineProperty(me,"size",{get:function(){return re.map.size},configurable:!1,enumerable:!1}),me.dirtyKey=P,me.dirty=function(){P(Ke.apply(null,arguments))},me.peekKey=se,me.peek=function(){return se(Ke.apply(null,arguments))},me.forgetKey=Ce,me.forget=function(){return Ce(Ke.apply(null,arguments))},me.makeCacheKey=Ke,me.getKey=xe?function(){return Ke.apply(null,xe.apply(null,arguments))}:Ke,Object.freeze(me)}},565:(Ue,J,s)=>{"use strict";var o=s(3413).functionsHaveConfigurableNames(),r=Object,h=TypeError;Ue.exports=function(){if(null!=this&&this!==r(this))throw new h("RegExp.prototype.flags getter called on non-object");var f="";return this.hasIndices&&(f+="d"),this.global&&(f+="g"),this.ignoreCase&&(f+="i"),this.multiline&&(f+="m"),this.dotAll&&(f+="s"),this.unicode&&(f+="u"),this.sticky&&(f+="y"),f},o&&Object.defineProperty&&Object.defineProperty(Ue.exports,"name",{value:"get flags"})},437:(Ue,J,s)=>{"use strict";var o=s(6886),r=s(44),h=s(565),_=s(3880),f=s(9129),d=r(_());o(d,{getPolyfill:_,implementation:h,shim:f}),Ue.exports=d},3880:(Ue,J,s)=>{"use strict";var o=s(565),r=s(6886).supportsDescriptors,h=Object.getOwnPropertyDescriptor;Ue.exports=function(){if(r&&"gim"===/a/gim.flags){var f=h(RegExp.prototype,"flags");if(f&&"function"==typeof f.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var d="",w={};if(Object.defineProperty(w,"hasIndices",{get:function(){d+="d"}}),Object.defineProperty(w,"sticky",{get:function(){d+="y"}}),"dy"===d)return f.get}}return o}},9129:(Ue,J,s)=>{"use strict";var o=s(6886).supportsDescriptors,r=s(3880),h=Object.getOwnPropertyDescriptor,_=Object.defineProperty,f=TypeError,d=Object.getPrototypeOf,w=/a/;Ue.exports=function(){if(!o||!d)throw new f("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var A=r(),g=d(w),B=h(g,"flags");return(!B||B.get!==A)&&_(g,"flags",{configurable:!0,enumerable:!1,get:A}),A}},4121:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=s(8023);class r extends o.x{constructor(_){super(),this._value=_}get value(){return this.getValue()}_subscribe(_){const f=super._subscribe(_);return!f.closed&&_.next(this._value),f}getValue(){const{hasError:_,thrownError:f,_value:d}=this;if(_)throw f;return this._throwIfClosed(),d}next(_){super.next(this._value=_)}}},818:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>g});var o=s(4021),r=s(4813),h=s(3122),_=s(8330);var w=s(2046),L=s(5975),A=s(1519);let g=(()=>{class S{constructor(H){H&&(this._subscribe=H)}lift(H){const x=new S;return x.source=this,x.operator=H,x}subscribe(H,x,te){const Ee=function b(S){return S&&S instanceof o.Lv||function m(S){return S&&(0,L.m)(S.next)&&(0,L.m)(S.error)&&(0,L.m)(S.complete)}(S)&&(0,r.Nn)(S)}(H)?H:new o.Hp(H,x,te);return(0,A.x)(()=>{const{operator:T,source:ue}=this;Ee.add(T?T.call(Ee,ue):ue?this._subscribe(Ee):this._trySubscribe(Ee))}),Ee}_trySubscribe(H){try{return this._subscribe(H)}catch(x){H.error(x)}}forEach(H,x){return new(x=B(x))((te,Ee)=>{const T=new o.Hp({next:ue=>{try{H(ue)}catch(Z){Ee(Z),T.unsubscribe()}},error:Ee,complete:te});this.subscribe(T)})}_subscribe(H){var x;return null===(x=this.source)||void 0===x?void 0:x.subscribe(H)}[h.L](){return this}pipe(...H){return function d(S){return 0===S.length?_.y:1===S.length?S[0]:function(H){return S.reduce((x,te)=>te(x),H)}}(H)(this)}toPromise(H){return new(H=B(H))((x,te)=>{let Ee;this.subscribe(T=>Ee=T,T=>te(T),()=>x(Ee))})}}return S.create=v=>new S(v),S})();function B(S){var v;return null!==(v=S??w.v.Promise)&&void 0!==v?v:Promise}},5557:(Ue,J,s)=>{"use strict";s.d(J,{t:()=>h});var o=s(8023),r=s(2069);class h extends o.x{constructor(f=1/0,d=1/0,w=r.l){super(),this._bufferSize=f,this._windowTime=d,this._timestampProvider=w,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=d===1/0,this._bufferSize=Math.max(1,f),this._windowTime=Math.max(1,d)}next(f){const{isStopped:d,_buffer:w,_infiniteTimeWindow:L,_timestampProvider:A,_windowTime:g}=this;d||(w.push(f),!L&&w.push(A.now()+g)),this._trimBuffer(),super.next(f)}_subscribe(f){this._throwIfClosed(),this._trimBuffer();const d=this._innerSubscribe(f),{_infiniteTimeWindow:w,_buffer:L}=this,A=L.slice();for(let g=0;g{"use strict";s.d(J,{x:()=>w});var o=s(818),r=s(4813);const _=(0,s(5776).d)(A=>function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var f=s(8308),d=s(1519);let w=(()=>{class A extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const m=new L(this,this);return m.operator=B,m}_throwIfClosed(){if(this.closed)throw new _}next(B){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const m of this.currentObservers)m.next(B)}})}error(B){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:m}=this;for(;m.length;)m.shift().error(B)}})}complete(){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:m,isStopped:b,observers:S}=this;return m||b?r.Lc:(this.currentObservers=null,S.push(B),new r.w0(()=>{this.currentObservers=null,(0,f.P)(S,B)}))}_checkFinalizedStatuses(B){const{hasError:m,thrownError:b,isStopped:S}=this;m?B.error(b):S&&B.complete()}asObservable(){const B=new o.y;return B.source=this,B}}return A.create=(g,B)=>new L(g,B),A})();class L extends w{constructor(g,B){super(),this.destination=g,this.source=B}next(g){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===m||m.call(B,g)}error(g){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===m||m.call(B,g)}complete(){var g,B;null===(B=null===(g=this.destination)||void 0===g?void 0:g.complete)||void 0===B||B.call(g)}_subscribe(g){var B,m;return null!==(m=null===(B=this.source)||void 0===B?void 0:B.subscribe(g))&&void 0!==m?m:r.Lc}}},4021:(Ue,J,s)=>{"use strict";s.d(J,{Hp:()=>H,Lv:()=>m});var o=s(5975),r=s(4813),h=s(2046),_=s(4922),f=s(408);const d=A("C",void 0,void 0);function A(ue,Z,Me){return{kind:ue,value:Z,error:Me}}var g=s(4146),B=s(1519);class m extends r.w0{constructor(Z){super(),this.isStopped=!1,Z?(this.destination=Z,(0,r.Nn)(Z)&&Z.add(this)):this.destination=T}static create(Z,Me,Se){return new H(Z,Me,Se)}next(Z){this.isStopped?Ee(function L(ue){return A("N",ue,void 0)}(Z),this):this._next(Z)}error(Z){this.isStopped?Ee(function w(ue){return A("E",void 0,ue)}(Z),this):(this.isStopped=!0,this._error(Z))}complete(){this.isStopped?Ee(d,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Z){this.destination.next(Z)}_error(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function S(ue,Z){return b.call(ue,Z)}class v{constructor(Z){this.partialObserver=Z}next(Z){const{partialObserver:Me}=this;if(Me.next)try{Me.next(Z)}catch(Se){x(Se)}}error(Z){const{partialObserver:Me}=this;if(Me.error)try{Me.error(Z)}catch(Se){x(Se)}else x(Z)}complete(){const{partialObserver:Z}=this;if(Z.complete)try{Z.complete()}catch(Me){x(Me)}}}class H extends m{constructor(Z,Me,Se){let ve;if(super(),(0,o.m)(Z)||!Z)ve={next:Z??void 0,error:Me??void 0,complete:Se??void 0};else{let ye;this&&h.v.useDeprecatedNextContext?(ye=Object.create(Z),ye.unsubscribe=()=>this.unsubscribe(),ve={next:Z.next&&S(Z.next,ye),error:Z.error&&S(Z.error,ye),complete:Z.complete&&S(Z.complete,ye)}):ve=Z}this.destination=new v(ve)}}function x(ue){h.v.useDeprecatedSynchronousErrorHandling?(0,B.O)(ue):(0,_.h)(ue)}function Ee(ue,Z){const{onStoppedNotification:Me}=h.v;Me&&g.z.setTimeout(()=>Me(ue,Z))}const T={closed:!0,next:f.Z,error:function te(ue){throw ue},complete:f.Z}},4813:(Ue,J,s)=>{"use strict";s.d(J,{Lc:()=>d,w0:()=>f,Nn:()=>w});var o=s(5975);const h=(0,s(5776).d)(A=>function(B){A(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((m,b)=>`${b+1}) ${m.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B});var _=s(8308);class f{constructor(g){this.initialTeardown=g,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let g;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const S of B)S.remove(this);else B.remove(this);const{initialTeardown:m}=this;if((0,o.m)(m))try{m()}catch(S){g=S instanceof h?S.errors:[S]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const S of b)try{L(S)}catch(v){g=g??[],v instanceof h?g=[...g,...v.errors]:g.push(v)}}if(g)throw new h(g)}}add(g){var B;if(g&&g!==this)if(this.closed)L(g);else{if(g instanceof f){if(g.closed||g._hasParent(this))return;g._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(g)}}_hasParent(g){const{_parentage:B}=this;return B===g||Array.isArray(B)&&B.includes(g)}_addParent(g){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(g),B):B?[B,g]:g}_removeParent(g){const{_parentage:B}=this;B===g?this._parentage=null:Array.isArray(B)&&(0,_.P)(B,g)}remove(g){const{_finalizers:B}=this;B&&(0,_.P)(B,g),g instanceof f&&g._removeParent(this)}}f.EMPTY=(()=>{const A=new f;return A.closed=!0,A})();const d=f.EMPTY;function w(A){return A instanceof f||A&&"closed"in A&&(0,o.m)(A.remove)&&(0,o.m)(A.add)&&(0,o.m)(A.unsubscribe)}function L(A){(0,o.m)(A)?A():A.unsubscribe()}},2046:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7445:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>h});var o=s(7472),r=s(4021);function h(_,f){const d="object"==typeof f;return new Promise((w,L)=>{const A=new r.Hp({next:g=>{w(g),A.unsubscribe()},error:L,complete:()=>{d?w(f.defaultValue):L(new o.K)}});_.subscribe(A)})}},5696:(Ue,J,s)=>{"use strict";s.d(J,{a:()=>g});var o=s(818),r=s(447),h=s(7108),_=s(8330),f=s(2692),d=s(6651),w=s(9299),L=s(8499),A=s(6903);function g(...b){const S=(0,d.yG)(b),v=(0,d.jO)(b),{args:H,keys:x}=(0,r.D)(b);if(0===H.length)return(0,h.D)([],S);const te=new o.y(function B(b,S,v=_.y){return H=>{m(S,()=>{const{length:x}=b,te=new Array(x);let Ee=x,T=x;for(let ue=0;ue{const Z=(0,h.D)(b[ue],S);let Me=!1;Z.subscribe((0,L.x)(H,Se=>{te[ue]=Se,Me||(Me=!0,T--),T||H.next(v(te.slice()))},()=>{--Ee||H.complete()}))},H)},H)}}(H,S,x?Ee=>(0,w.n)(x,Ee):_.y));return v?te.pipe((0,f.Z)(v)):te}function m(b,S,v){b?(0,A.f)(v,b,S):S()}},3729:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>f});var o=s(549),h=s(6651),_=s(7108);function f(...d){return function r(){return(0,o.J)(1)}()((0,_.D)(d,(0,h.yG)(d)))}},3072:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>h});var o=s(818),r=s(5955);function h(_){return new o.y(f=>{(0,r.Xf)(_()).subscribe(f)})}},9018:(Ue,J,s)=>{"use strict";s.d(J,{E:()=>r});const r=new(s(818).y)(f=>f.complete())},4967:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>L});var o=s(818),r=s(447),h=s(5955),_=s(6651),f=s(8499),d=s(2692),w=s(9299);function L(...A){const g=(0,_.jO)(A),{args:B,keys:m}=(0,r.D)(A),b=new o.y(S=>{const{length:v}=B;if(!v)return void S.complete();const H=new Array(v);let x=v,te=v;for(let Ee=0;Ee{T||(T=!0,te--),H[Ee]=ue},()=>x--,void 0,()=>{(!x||!T)&&(te||S.next(m?(0,w.n)(m,H):H),S.complete())}))}});return g?b.pipe((0,d.Z)(g)):b}},7108:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>Me});var o=s(5955),r=s(7513),h=s(2085);function _(Se,ve=0){return(0,h.e)((ye,De)=>{De.add(Se.schedule(()=>ye.subscribe(De),ve))})}var w=s(818),A=s(4565),g=s(5975),B=s(6903);function b(Se,ve){if(!Se)throw new Error("Iterable cannot be null");return new w.y(ye=>{(0,B.f)(ye,ve,()=>{const De=Se[Symbol.asyncIterator]();(0,B.f)(ye,ve,()=>{De.next().then(z=>{z.done?ye.complete():ye.next(z.value)})},0,!0)})})}var S=s(2021),v=s(9450),H=s(6602),x=s(6920),te=s(2604),Ee=s(5626),T=s(1559);function Me(Se,ve){return ve?function Z(Se,ve){if(null!=Se){if((0,S.c)(Se))return function f(Se,ve){return(0,o.Xf)(Se).pipe(_(ve),(0,r.Q)(ve))}(Se,ve);if((0,H.z)(Se))return function L(Se,ve){return new w.y(ye=>{let De=0;return ve.schedule(function(){De===Se.length?ye.complete():(ye.next(Se[De++]),ye.closed||this.schedule())})})}(Se,ve);if((0,v.t)(Se))return function d(Se,ve){return(0,o.Xf)(Se).pipe(_(ve),(0,r.Q)(ve))}(Se,ve);if((0,te.D)(Se))return b(Se,ve);if((0,x.T)(Se))return function m(Se,ve){return new w.y(ye=>{let De;return(0,B.f)(ye,ve,()=>{De=Se[A.h](),(0,B.f)(ye,ve,()=>{let z,Y;try{({value:z,done:Y}=De.next())}catch(V){return void ye.error(V)}Y?ye.complete():ye.next(z)},0,!0)}),()=>(0,g.m)(De?.return)&&De.return()})}(Se,ve);if((0,T.L)(Se))return function ue(Se,ve){return b((0,T.Q)(Se),ve)}(Se,ve)}throw(0,Ee.z)(Se)}(Se,ve):(0,o.Xf)(Se)}},4581:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>g});var o=s(5955),r=s(818),h=s(4882),_=s(6602),f=s(5975),d=s(2692);const w=["addListener","removeListener"],L=["addEventListener","removeEventListener"],A=["on","off"];function g(v,H,x,te){if((0,f.m)(x)&&(te=x,x=void 0),te)return g(v,H,x).pipe((0,d.Z)(te));const[Ee,T]=function S(v){return(0,f.m)(v.addEventListener)&&(0,f.m)(v.removeEventListener)}(v)?L.map(ue=>Z=>v[ue](H,Z,x)):function m(v){return(0,f.m)(v.addListener)&&(0,f.m)(v.removeListener)}(v)?w.map(B(v,H)):function b(v){return(0,f.m)(v.on)&&(0,f.m)(v.off)}(v)?A.map(B(v,H)):[];if(!Ee&&(0,_.z)(v))return(0,h.z)(ue=>g(ue,H,x))((0,o.Xf)(v));if(!Ee)throw new TypeError("Invalid event target");return new r.y(ue=>{const Z=(...Me)=>ue.next(1T(Z)})}function B(v,H){return x=>te=>v[x](H,te)}},5955:(Ue,J,s)=>{"use strict";s.d(J,{Xf:()=>b});var o=s(4762),r=s(6602),h=s(9450),_=s(818),f=s(2021),d=s(2604),w=s(5626),L=s(6920),A=s(1559),g=s(5975),B=s(4922),m=s(3122);function b(ue){if(ue instanceof _.y)return ue;if(null!=ue){if((0,f.c)(ue))return function S(ue){return new _.y(Z=>{const Me=ue[m.L]();if((0,g.m)(Me.subscribe))return Me.subscribe(Z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,r.z)(ue))return function v(ue){return new _.y(Z=>{for(let Me=0;Me{ue.then(Me=>{Z.closed||(Z.next(Me),Z.complete())},Me=>Z.error(Me)).then(null,B.h)})}(ue);if((0,d.D)(ue))return te(ue);if((0,L.T)(ue))return function x(ue){return new _.y(Z=>{for(const Me of ue)if(Z.next(Me),Z.closed)return;Z.complete()})}(ue);if((0,A.L)(ue))return function Ee(ue){return te((0,A.Q)(ue))}(ue)}throw(0,w.z)(ue)}function te(ue){return new _.y(Z=>{(function T(ue,Z){var Me,Se,ve,ye;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Me=(0,o.KL)(ue);!(Se=yield Me.next()).done;)if(Z.next(Se.value),Z.closed)return}catch(De){ve={error:De}}finally{try{Se&&!Se.done&&(ye=Me.return)&&(yield ye.call(Me))}finally{if(ve)throw ve.error}}Z.complete()})})(ue,Z).catch(Me=>Z.error(Me))})}},1860:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>d});var o=s(549),r=s(5955),h=s(9018),_=s(6651),f=s(7108);function d(...w){const L=(0,_.yG)(w),A=(0,_._6)(w,1/0),g=w;return g.length?1===g.length?(0,r.Xf)(g[0]):(0,o.J)(A)((0,f.D)(g,L)):h.E}},4945:(Ue,J,s)=>{"use strict";s.d(J,{of:()=>h});var o=s(6651),r=s(7108);function h(..._){const f=(0,o.yG)(_);return(0,r.D)(_,f)}},3787:(Ue,J,s)=>{"use strict";s.d(J,{_:()=>h});var o=s(818),r=s(5975);function h(_,f){const d=(0,r.m)(_)?_:()=>_,w=L=>L.error(d());return new o.y(f?L=>f.schedule(w,0,L):w)}},7878:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>f});var o=s(818),r=s(6523),h=s(1830);function f(d=0,w,L=r.P){let A=-1;return null!=w&&((0,h.K)(w)?L=w:A=w),new o.y(g=>{let B=function _(d){return d instanceof Date&&!isNaN(d)}(d)?+d-L.now():d;B<0&&(B=0);let m=0;return L.schedule(function(){g.closed||(g.next(m++),0<=A?this.schedule(void 0,A):g.complete())},B)})}},8499:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>r});var o=s(4021);function r(_,f,d,w,L){return new h(_,f,d,w,L)}class h extends o.Lv{constructor(f,d,w,L,A,g){super(f),this.onFinalize=A,this.shouldUnsubscribe=g,this._next=d?function(B){try{d(B)}catch(m){f.error(m)}}:super._next,this._error=L?function(B){try{L(B)}catch(m){f.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=w?function(){try{w()}catch(B){f.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}}}},9232:(Ue,J,s)=>{"use strict";s.d(J,{e:()=>w});var o=s(6523),r=s(2085),h=s(5955),_=s(8499),d=s(7878);function w(L,A=o.z){return function f(L){return(0,r.e)((A,g)=>{let B=!1,m=null,b=null,S=!1;const v=()=>{if(b?.unsubscribe(),b=null,B){B=!1;const x=m;m=null,g.next(x)}S&&g.complete()},H=()=>{b=null,S&&g.complete()};A.subscribe((0,_.x)(g,x=>{B=!0,m=x,b||(0,h.Xf)(L(x)).subscribe(b=(0,_.x)(g,v,H))},()=>{S=!0,(!B||!b||b.closed)&&g.complete()}))})}(()=>(0,d.H)(L,A))}},3568:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>_});var o=s(5955),r=s(8499),h=s(2085);function _(f){return(0,h.e)((d,w)=>{let g,L=null,A=!1;L=d.subscribe((0,r.x)(w,void 0,void 0,B=>{g=(0,o.Xf)(f(B,_(f)(d))),L?(L.unsubscribe(),L=null,g.subscribe(w)):A=!0})),A&&(L.unsubscribe(),L=null,g.subscribe(w))})}},4551:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>h});var o=s(4882),r=s(5975);function h(_,f){return(0,r.m)(f)?(0,o.z)(_,f,1):(0,o.z)(_,1)}},3151:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>_});var o=s(6523),r=s(2085),h=s(8499);function _(f,d=o.z){return(0,r.e)((w,L)=>{let A=null,g=null,B=null;const m=()=>{if(A){A.unsubscribe(),A=null;const S=g;g=null,L.next(S)}};function b(){const S=B+f,v=d.now();if(v{g=S,B=d.now(),A||(A=d.schedule(b,f),L.add(A))},()=>{m(),L.complete()},void 0,()=>{g=A=null}))})}},2686:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>h});var o=s(2085),r=s(8499);function h(_){return(0,o.e)((f,d)=>{let w=!1;f.subscribe((0,r.x)(d,L=>{w=!0,d.next(L)},()=>{w||d.next(_),d.complete()}))})}},5990:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>m});var o=s(6523),r=s(3729),h=s(5598),_=s(2085),f=s(8499),d=s(408),L=s(116),A=s(4882);function g(b,S){return S?v=>(0,r.z)(S.pipe((0,h.q)(1),function w(){return(0,_.e)((b,S)=>{b.subscribe((0,f.x)(S,d.Z))})}()),v.pipe(g(b))):(0,A.z)((v,H)=>b(v,H).pipe((0,h.q)(1),(0,L.h)(v)))}var B=s(7878);function m(b,S=o.z){const v=(0,B.H)(b,S);return g(()=>v)}},2147:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>_});var o=s(8330),r=s(2085),h=s(8499);function _(d,w=o.y){return d=d??f,(0,r.e)((L,A)=>{let g,B=!0;L.subscribe((0,h.x)(A,m=>{const b=w(m);(B||!d(g,b))&&(B=!1,g=b,A.next(m))}))})}function f(d,w){return d===w}},4970:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>h});var o=s(2085),r=s(8499);function h(_,f){return(0,o.e)((d,w)=>{let L=0;d.subscribe((0,r.x)(w,A=>_.call(f,A,L++)&&w.next(A)))})}},5490:(Ue,J,s)=>{"use strict";s.d(J,{x:()=>r});var o=s(2085);function r(h){return(0,o.e)((_,f)=>{try{_.subscribe(f)}finally{f.add(h)}})}},9676:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>w});var o=s(7472),r=s(4970),h=s(5598),_=s(2686),f=s(8623),d=s(8330);function w(L,A){const g=arguments.length>=2;return B=>B.pipe(L?(0,r.h)((m,b)=>L(m,b,B)):d.y,(0,h.q)(1),g?(0,_.d)(A):(0,f.T)(()=>new o.K))}},7969:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>h});var o=s(2085),r=s(8499);function h(_,f){return(0,o.e)((d,w)=>{let L=0;d.subscribe((0,r.x)(w,A=>{w.next(_.call(f,A,L++))}))})}},116:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>r});var o=s(7969);function r(h){return(0,o.U)(()=>h)}},549:(Ue,J,s)=>{"use strict";s.d(J,{J:()=>h});var o=s(4882),r=s(8330);function h(_=1/0){return(0,o.z)(r.y,_)}},4882:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>L});var o=s(7969),r=s(5955),h=s(2085),_=s(6903),f=s(8499),w=s(5975);function L(A,g,B=1/0){return(0,w.m)(g)?L((m,b)=>(0,o.U)((S,v)=>g(m,S,b,v))((0,r.Xf)(A(m,b))),B):("number"==typeof g&&(B=g),(0,h.e)((m,b)=>function d(A,g,B,m,b,S,v,H){const x=[];let te=0,Ee=0,T=!1;const ue=()=>{T&&!x.length&&!te&&g.complete()},Z=Se=>te{S&&g.next(Se),te++;let ve=!1;(0,r.Xf)(B(Se,Ee++)).subscribe((0,f.x)(g,ye=>{b?.(ye),S?Z(ye):g.next(ye)},()=>{ve=!0},void 0,()=>{if(ve)try{for(te--;x.length&&teMe(ye)):Me(ye)}ue()}catch(ye){g.error(ye)}}))};return A.subscribe((0,f.x)(g,Z,()=>{T=!0,ue()})),()=>{H?.()}}(m,b,A,B)))}},7513:(Ue,J,s)=>{"use strict";s.d(J,{Q:()=>_});var o=s(6903),r=s(2085),h=s(8499);function _(f,d=0){return(0,r.e)((w,L)=>{w.subscribe((0,h.x)(L,A=>(0,o.f)(L,f,()=>L.next(A),d),()=>(0,o.f)(L,f,()=>L.complete(),d),A=>(0,o.f)(L,f,()=>L.error(A),d)))})}},815:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>d});var o=s(7108),r=s(5598),h=s(8023),_=s(4021),f=s(2085);function d(L={}){const{connector:A=(()=>new h.x),resetOnError:g=!0,resetOnComplete:B=!0,resetOnRefCountZero:m=!0}=L;return b=>{let S=null,v=null,H=null,x=0,te=!1,Ee=!1;const T=()=>{v?.unsubscribe(),v=null},ue=()=>{T(),S=H=null,te=Ee=!1},Z=()=>{const Me=S;ue(),Me?.unsubscribe()};return(0,f.e)((Me,Se)=>{x++,!Ee&&!te&&T();const ve=H=H??A();Se.add(()=>{x--,0===x&&!Ee&&!te&&(v=w(Z,m))}),ve.subscribe(Se),S||(S=new _.Hp({next:ye=>ve.next(ye),error:ye=>{Ee=!0,T(),v=w(ue,g,ye),ve.error(ye)},complete:()=>{te=!0,T(),v=w(ue,B),ve.complete()}}),(0,o.D)(Me).subscribe(S))})(b)}}function w(L,A,...g){return!0===A?(L(),null):!1===A?null:A(...g).pipe((0,r.q)(1)).subscribe(()=>L())}},1588:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>r});var o=s(4970);function r(h){return(0,o.h)((_,f)=>h<=f)}},1927:(Ue,J,s)=>{"use strict";s.d(J,{O:()=>_});var o=s(3729),r=s(6651),h=s(2085);function _(...f){const d=(0,r.yG)(f);return(0,h.e)((w,L)=>{(d?(0,o.z)(f,w,d):(0,o.z)(f,w)).subscribe(L)})}},1528:(Ue,J,s)=>{"use strict";s.d(J,{w:()=>_});var o=s(5955),r=s(2085),h=s(8499);function _(f,d){return(0,r.e)((w,L)=>{let A=null,g=0,B=!1;const m=()=>B&&!A&&L.complete();w.subscribe((0,h.x)(L,b=>{A?.unsubscribe();let S=0;const v=g++;(0,o.Xf)(f(b,v)).subscribe(A=(0,h.x)(L,H=>L.next(d?d(b,H,v,S++):H),()=>{A=null,m()}))},()=>{B=!0,m()}))})}},5598:(Ue,J,s)=>{"use strict";s.d(J,{q:()=>_});var o=s(9018),r=s(2085),h=s(8499);function _(f){return f<=0?()=>o.E:(0,r.e)((d,w)=>{let L=0;d.subscribe((0,h.x)(w,A=>{++L<=f&&(w.next(A),f<=L&&w.complete())}))})}},3528:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>f});var o=s(2085),r=s(8499),h=s(5955),_=s(408);function f(d){return(0,o.e)((w,L)=>{(0,h.Xf)(d).subscribe((0,r.x)(L,()=>L.complete(),_.Z)),!L.closed&&w.subscribe(L)})}},8168:(Ue,J,s)=>{"use strict";s.d(J,{b:()=>f});var o=s(5975),r=s(2085),h=s(8499),_=s(8330);function f(d,w,L){const A=(0,o.m)(d)||w||L?{next:d,error:w,complete:L}:d;return A?(0,r.e)((g,B)=>{var m;null===(m=A.subscribe)||void 0===m||m.call(A);let b=!0;g.subscribe((0,h.x)(B,S=>{var v;null===(v=A.next)||void 0===v||v.call(A,S),B.next(S)},()=>{var S;b=!1,null===(S=A.complete)||void 0===S||S.call(A),B.complete()},S=>{var v;b=!1,null===(v=A.error)||void 0===v||v.call(A,S),B.error(S)},()=>{var S,v;b&&(null===(S=A.unsubscribe)||void 0===S||S.call(A)),null===(v=A.finalize)||void 0===v||v.call(A)}))}):_.y}},8623:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>_});var o=s(7472),r=s(2085),h=s(8499);function _(d=f){return(0,r.e)((w,L)=>{let A=!1;w.subscribe((0,h.x)(L,g=>{A=!0,L.next(g)},()=>A?L.complete():L.error(d())))})}function f(){return new o.K}},3466:(Ue,J,s)=>{"use strict";s.d(J,{o:()=>f});var o=s(4813);class r extends o.w0{constructor(w,L){super()}schedule(w,L=0){return this}}const h={setInterval(d,w,...L){const{delegate:A}=h;return A?.setInterval?A.setInterval(d,w,...L):setInterval(d,w,...L)},clearInterval(d){const{delegate:w}=h;return(w?.clearInterval||clearInterval)(d)},delegate:void 0};var _=s(8308);class f extends r{constructor(w,L){super(w,L),this.scheduler=w,this.work=L,this.pending=!1}schedule(w,L=0){if(this.closed)return this;this.state=w;const A=this.id,g=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(g,A,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(g,this.id,L),this}requestAsyncId(w,L,A=0){return h.setInterval(w.flush.bind(w,this),A)}recycleAsyncId(w,L,A=0){if(null!=A&&this.delay===A&&!1===this.pending)return L;h.clearInterval(L)}execute(w,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const A=this._execute(w,L);if(A)return A;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(w,L){let g,A=!1;try{this.work(w)}catch(B){A=!0,g=B||new Error("Scheduled action threw falsy error")}if(A)return this.unsubscribe(),g}unsubscribe(){if(!this.closed){const{id:w,scheduler:L}=this,{actions:A}=L;this.work=this.state=this.scheduler=null,this.pending=!1,(0,_.P)(A,this),null!=w&&(this.id=this.recycleAsyncId(L,w,null)),this.delay=null,super.unsubscribe()}}}},474:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>h});var o=s(2069);class r{constructor(f,d=r.now){this.schedulerActionCtor=f,this.now=d}schedule(f,d=0,w){return new this.schedulerActionCtor(this,f).schedule(w,d)}}r.now=o.l.now;class h extends r{constructor(f,d=r.now){super(f,d),this.actions=[],this._active=!1,this._scheduled=void 0}flush(f){const{actions:d}=this;if(this._active)return void d.push(f);let w;this._active=!0;do{if(w=f.execute(f.state,f.delay))break}while(f=d.shift());if(this._active=!1,w){for(;f=d.shift();)f.unsubscribe();throw w}}}},9239:(Ue,J,s)=>{"use strict";s.d(J,{Z:()=>w});var o=s(3466),r=s(4813);const h={schedule(A){let g=requestAnimationFrame,B=cancelAnimationFrame;const{delegate:m}=h;m&&(g=m.requestAnimationFrame,B=m.cancelAnimationFrame);const b=g(S=>{B=void 0,A(S)});return new r.w0(()=>B?.(b))},requestAnimationFrame(...A){const{delegate:g}=h;return(g?.requestAnimationFrame||requestAnimationFrame)(...A)},cancelAnimationFrame(...A){const{delegate:g}=h;return(g?.cancelAnimationFrame||cancelAnimationFrame)(...A)},delegate:void 0};var f=s(474);const w=new class d extends f.v{flush(g){this._active=!0;const B=this._scheduled;this._scheduled=void 0;const{actions:m}=this;let b;g=g||m.shift();do{if(b=g.execute(g.state,g.delay))break}while((g=m[0])&&g.id===B&&m.shift());if(this._active=!1,b){for(;(g=m[0])&&g.id===B&&m.shift();)g.unsubscribe();throw b}}}(class _ extends o.o{constructor(g,B){super(g,B),this.scheduler=g,this.work=B}requestAsyncId(g,B,m=0){return null!==m&&m>0?super.requestAsyncId(g,B,m):(g.actions.push(this),g._scheduled||(g._scheduled=h.requestAnimationFrame(()=>g.flush(void 0))))}recycleAsyncId(g,B,m=0){if(null!=m&&m>0||null==m&&this.delay>0)return super.recycleAsyncId(g,B,m);g.actions.some(b=>b.id===B)||(h.cancelAnimationFrame(B),g._scheduled=void 0)}})},6401:(Ue,J,s)=>{"use strict";s.d(J,{E:()=>S});var o=s(3466);let h,r=1;const _={};function f(H){return H in _&&(delete _[H],!0)}const d={setImmediate(H){const x=r++;return _[x]=!0,h||(h=Promise.resolve()),h.then(()=>f(x)&&H()),x},clearImmediate(H){f(H)}},{setImmediate:L,clearImmediate:A}=d,g={setImmediate(...H){const{delegate:x}=g;return(x?.setImmediate||L)(...H)},clearImmediate(H){const{delegate:x}=g;return(x?.clearImmediate||A)(H)},delegate:void 0};var m=s(474);const S=new class b extends m.v{flush(x){this._active=!0;const te=this._scheduled;this._scheduled=void 0;const{actions:Ee}=this;let T;x=x||Ee.shift();do{if(T=x.execute(x.state,x.delay))break}while((x=Ee[0])&&x.id===te&&Ee.shift());if(this._active=!1,T){for(;(x=Ee[0])&&x.id===te&&Ee.shift();)x.unsubscribe();throw T}}}(class B extends o.o{constructor(x,te){super(x,te),this.scheduler=x,this.work=te}requestAsyncId(x,te,Ee=0){return null!==Ee&&Ee>0?super.requestAsyncId(x,te,Ee):(x.actions.push(this),x._scheduled||(x._scheduled=g.setImmediate(x.flush.bind(x,void 0))))}recycleAsyncId(x,te,Ee=0){if(null!=Ee&&Ee>0||null==Ee&&this.delay>0)return super.recycleAsyncId(x,te,Ee);x.actions.some(T=>T.id===te)||(g.clearImmediate(te),x._scheduled=void 0)}})},6523:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>_,z:()=>h});var o=s(3466);const h=new(s(474).v)(o.o),_=h},2069:(Ue,J,s)=>{"use strict";s.d(J,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},4146:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>o});const o={setTimeout(r,h,..._){const{delegate:f}=o;return f?.setTimeout?f.setTimeout(r,h,..._):setTimeout(r,h,..._)},clearTimeout(r){const{delegate:h}=o;return(h?.clearTimeout||clearTimeout)(r)},delegate:void 0}},4565:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>r});const r=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3122:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},7472:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>r});const r=(0,s(5776).d)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},6651:(Ue,J,s)=>{"use strict";s.d(J,{_6:()=>d,jO:()=>_,yG:()=>f});var o=s(5975),r=s(1830);function h(w){return w[w.length-1]}function _(w){return(0,o.m)(h(w))?w.pop():void 0}function f(w){return(0,r.K)(h(w))?w.pop():void 0}function d(w,L){return"number"==typeof h(w)?w.pop():L}},447:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>f});const{isArray:o}=Array,{getPrototypeOf:r,prototype:h,keys:_}=Object;function f(w){if(1===w.length){const L=w[0];if(o(L))return{args:L,keys:null};if(function d(w){return w&&"object"==typeof w&&r(w)===h}(L)){const A=_(L);return{args:A.map(g=>L[g]),keys:A}}}return{args:w,keys:null}}},8308:(Ue,J,s)=>{"use strict";function o(r,h){if(r){const _=r.indexOf(h);0<=_&&r.splice(_,1)}}s.d(J,{P:()=>o})},5776:(Ue,J,s)=>{"use strict";function o(r){const _=r(f=>{Error.call(f),f.stack=(new Error).stack});return _.prototype=Object.create(Error.prototype),_.prototype.constructor=_,_}s.d(J,{d:()=>o})},9299:(Ue,J,s)=>{"use strict";function o(r,h){return r.reduce((_,f,d)=>(_[f]=h[d],_),{})}s.d(J,{n:()=>o})},1519:(Ue,J,s)=>{"use strict";s.d(J,{O:()=>_,x:()=>h});var o=s(2046);let r=null;function h(f){if(o.v.useDeprecatedSynchronousErrorHandling){const d=!r;if(d&&(r={errorThrown:!1,error:null}),f(),d){const{errorThrown:w,error:L}=r;if(r=null,w)throw L}}else f()}function _(f){o.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=f)}},6903:(Ue,J,s)=>{"use strict";function o(r,h,_,f=0,d=!1){const w=h.schedule(function(){_(),d?r.add(this.schedule(null,f)):this.unsubscribe()},f);if(r.add(w),!d)return w}s.d(J,{f:()=>o})},8330:(Ue,J,s)=>{"use strict";function o(r){return r}s.d(J,{y:()=>o})},6602:(Ue,J,s)=>{"use strict";s.d(J,{z:()=>o});const o=r=>r&&"number"==typeof r.length&&"function"!=typeof r},2604:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>r});var o=s(5975);function r(h){return Symbol.asyncIterator&&(0,o.m)(h?.[Symbol.asyncIterator])}},5975:(Ue,J,s)=>{"use strict";function o(r){return"function"==typeof r}s.d(J,{m:()=>o})},2021:(Ue,J,s)=>{"use strict";s.d(J,{c:()=>h});var o=s(3122),r=s(5975);function h(_){return(0,r.m)(_[o.L])}},6920:(Ue,J,s)=>{"use strict";s.d(J,{T:()=>h});var o=s(4565),r=s(5975);function h(_){return(0,r.m)(_?.[o.h])}},9450:(Ue,J,s)=>{"use strict";s.d(J,{t:()=>r});var o=s(5975);function r(h){return(0,o.m)(h?.then)}},1559:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>_,Q:()=>h});var o=s(4762),r=s(5975);function h(f){return(0,o.FC)(this,arguments,function*(){const w=f.getReader();try{for(;;){const{value:L,done:A}=yield(0,o.qq)(w.read());if(A)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(L)}}finally{w.releaseLock()}})}function _(f){return(0,r.m)(f?.getReader)}},1830:(Ue,J,s)=>{"use strict";s.d(J,{K:()=>r});var o=s(5975);function r(h){return h&&(0,o.m)(h.schedule)}},2085:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>r,e:()=>h});var o=s(5975);function r(_){return(0,o.m)(_?.lift)}function h(_){return f=>{if(r(f))return f.lift(function(d){try{return _(d,this)}catch(w){this.error(w)}});throw new TypeError("Unable to lift unknown Observable type")}}},2692:(Ue,J,s)=>{"use strict";s.d(J,{Z:()=>_});var o=s(7969);const{isArray:r}=Array;function _(f){return(0,o.U)(d=>function h(f,d){return r(d)?f(...d):f(d)}(f,d))}},408:(Ue,J,s)=>{"use strict";function o(){}s.d(J,{Z:()=>o})},4922:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>h});var o=s(2046),r=s(4146);function h(_){r.z.setTimeout(()=>{const{onUnhandledError:f}=o.v;if(!f)throw _;f(_)})}},5626:(Ue,J,s)=>{"use strict";function o(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d(J,{z:()=>o})},2284:(Ue,J,s)=>{"use strict";var o=s(8540),r=s(9568),h=s(1380),_=o("%TypeError%"),f=o("%WeakMap%",!0),d=o("%Map%",!0),w=r("WeakMap.prototype.get",!0),L=r("WeakMap.prototype.set",!0),A=r("WeakMap.prototype.has",!0),g=r("Map.prototype.get",!0),B=r("Map.prototype.set",!0),m=r("Map.prototype.has",!0),b=function(x,te){for(var T,Ee=x;null!==(T=Ee.next);Ee=T)if(T.key===te)return Ee.next=T.next,T.next=x.next,x.next=T,T};Ue.exports=function(){var te,Ee,T,ue={assert:function(Z){if(!ue.has(Z))throw new _("Side channel does not contain "+h(Z))},get:function(Z){if(f&&Z&&("object"==typeof Z||"function"==typeof Z)){if(te)return w(te,Z)}else if(d){if(Ee)return g(Ee,Z)}else if(T)return function(x,te){var Ee=b(x,te);return Ee&&Ee.value}(T,Z)},has:function(Z){if(f&&Z&&("object"==typeof Z||"function"==typeof Z)){if(te)return A(te,Z)}else if(d){if(Ee)return m(Ee,Z)}else if(T)return function(x,te){return!!b(x,te)}(T,Z);return!1},set:function(Z,Me){f&&Z&&("object"==typeof Z||"function"==typeof Z)?(te||(te=new f),L(te,Z,Me)):d?(Ee||(Ee=new d),B(Ee,Z,Me)):(T||(T={key:{},next:null}),function(x,te,Ee){var T=b(x,te);T?T.value=Ee:x.next={key:te,next:x.next,value:Ee}}(T,Z,Me))}};return ue}},8655:(Ue,J,s)=>{"use strict";s.d(J,{AF:()=>ve,Xd:()=>A});const o=(z,Y,V=[])=>{const j=Object.getOwnPropertyDescriptors(Y);for(let X of V)delete j[X];Object.defineProperties(z,j)},r=(z,Y=[z])=>{const V=Object.getPrototypeOf(z);return null===V?Y:r(V,[...Y,V])},_=(z,Y,V=[])=>{var j;const X=null!==(j=((...z)=>{if(0===z.length)return;let Y;const V=z.map(j=>r(j));for(;V.every(j=>j.length>0);){const j=V.map(Ie=>Ie.pop()),X=j[0];if(!j.every(Ie=>Ie===X))break;Y=X}return Y})(...z))&&void 0!==j?j:Object.prototype,Ie=Object.create(X),ke=r(X);for(let tt of z){let lt=r(tt);for(let $=lt.length-1;$>=0;$--){let Re=lt[$];-1===ke.indexOf(Re)&&(o(Ie,Re,["constructor",...V]),ke.push(Re))}}return Ie.constructor=Y,Ie},f=z=>z.filter((Y,V)=>z.indexOf(Y)==V),d=(z,Y)=>{const V=Y.map(Ie=>r(Ie));let j=0,X=!0;for(;X;){X=!1;for(let Ie=Y.length-1;Ie>=0;Ie--){const ke=V[Ie][j];if(null!=ke&&(X=!0,null!=Object.getOwnPropertyDescriptor(ke,z)))return V[Ie][0]}j++}},w=(z,Y=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>Y,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(V,j)=>Object.getOwnPropertyDescriptor(d(j,z)||{},j),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(V,j)=>void 0!==d(j,z)||void 0!==Y[j],get:(V,j)=>(d(j,z)||Y)[j],set(V,j,X){const Ie=d(j,z);if(void 0===Ie)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return Ie[j]=X,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>z.map(Object.getOwnPropertyNames).reduce((V,j)=>j.concat(V.filter(X=>j.indexOf(X)<0)))}),A={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"},g=new Map,B=z=>g.get(z),S=(z,Y)=>{var V,j;const X=f([...Object.getOwnPropertyNames(z),...Object.getOwnPropertyNames(Y)]),Ie={};for(let ke of X)Ie[ke]=f([...null!==(V=z?.[ke])&&void 0!==V?V:[],...null!==(j=Y?.[ke])&&void 0!==j?j:[]]);return Ie},v=(z,Y)=>{var V,j,X,Ie;return{property:S(null!==(V=z?.property)&&void 0!==V?V:{},null!==(j=Y?.property)&&void 0!==j?j:{}),method:S(null!==(X=z?.method)&&void 0!==X?X:{},null!==(Ie=Y?.method)&&void 0!==Ie?Ie:{})}},H=(z,Y)=>{var V,j,X,Ie,ke,tt;return{class:f([...null!==(V=z?.class)&&void 0!==V?V:[],...null!==(j=Y?.class)&&void 0!==j?j:[]]),static:v(null!==(X=z?.static)&&void 0!==X?X:{},null!==(Ie=Y?.static)&&void 0!==Ie?Ie:{}),instance:v(null!==(ke=z?.instance)&&void 0!==ke?ke:{},null!==(tt=Y?.instance)&&void 0!==tt?tt:{})}},x=new Map;function ve(...z){var Y,V,j;const X=z.map(lt=>lt.prototype),Ie=A.initFunction;if(null!==Ie){const lt=X.map(re=>re[Ie]).filter(re=>"function"==typeof re);X.push({[Ie]:function(...re){for(let xe of lt)xe.apply(this,re)}})}function ke(...lt){for(const $ of z)o(this,new $(...lt));null!==Ie&&"function"==typeof this[Ie]&&this[Ie].apply(this,lt)}ke.prototype="copy"===A.prototypeStrategy?_(X,ke):((z,Y)=>w([...z,{constructor:Y}]))(X,ke),Object.setPrototypeOf(ke,"copy"===A.staticsStrategy?_(z,null,["prototype"]):w(z,Function.prototype));let tt=ke;if("none"!==A.decoratorInheritance){const lt="deep"===A.decoratorInheritance?((...z)=>{const Y=((...z)=>{var Y;const V=new Set,j=new Set([...z]);for(;j.size>0;)for(let X of j){const lt=[...r(X.prototype).map($=>$.constructor),...null!==(Y=B(X))&&void 0!==Y?Y:[]].filter($=>!V.has($));for(let $ of lt)j.add($);V.add(X),j.delete(X)}return[...V]})(...z).map(V=>x.get(V)).filter(V=>!!V);return 0==Y.length?{}:1==Y.length?Y[0]:Y.reduce((V,j)=>H(V,j))})(...z):((...z)=>{const Y=z.map(V=>(z=>{let Y=x.get(z);return Y||(Y={},x.set(z,Y)),Y})(V));return 0===Y.length?{}:1===Y.length?Y[0]:Y.reduce((V,j)=>H(V,j))})(...z);for(let $ of null!==(Y=lt?.class)&&void 0!==Y?Y:[])tt=$(tt);ye(null!==(V=lt?.static)&&void 0!==V?V:{},tt),ye(null!==(j=lt?.instance)&&void 0!==j?j:{},tt.prototype)}return((z,Y)=>{g.set(z,Y)})(tt,z),tt}const ye=(z,Y)=>{const V=z.property,j=z.method;if(V)for(let X in V)for(let Ie of V[X])Ie(Y,X);if(j)for(let X in j)for(let Ie of j[X])Ie(Y,X,Object.getOwnPropertyDescriptor(Y,X))}},6566:(Ue,J,s)=>{"use strict";var o=s(9825),r=s(635),h=s(5963),_=s(8037),f=s(2629);Ue.exports=function(w){return null==w||"object"!=typeof w&&"function"!=typeof w?null:o(w)?"String":r(w)?"Number":h(w)?"Boolean":_(w)?"Symbol":f(w)?"BigInt":void 0}},3446:(Ue,J,s)=>{"use strict";var o=s(2208),r=s(5127),h=s(9568),_=h("Object.prototype.toString"),f=s(1407)(),d=typeof globalThis>"u"?global:globalThis,w=r(),L=h("String.prototype.slice"),A={},g=s(7168),B=Object.getPrototypeOf;f&&g&&B&&o(w,function(S){if("function"==typeof d[S]){var v=new d[S];if(Symbol.toStringTag in v){var H=B(v),x=g(H,Symbol.toStringTag);if(!x){var te=B(H);x=g(te,Symbol.toStringTag)}A[S]=x.get}}});var b=s(7579);Ue.exports=function(v){return!!b(v)&&(f&&Symbol.toStringTag in v?function(v){var H=!1;return o(A,function(x,te){if(!H)try{var Ee=x.call(v);Ee===te&&(H=Ee)}catch{}}),H}(v):L(_(v),8,-1))}},1656:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>tt});var o=s(4537),r=s(9096),h=s(3600),_=s(2027),f=s(9658),d=s(2474),w=s(7235),L=s(5564),A=s(6306),g=s(8472),B=s(5340),m=s(6),b=s(1417),S=s(5951),v=s(8942),H=s(345),x=s(8312),te=s(8142),Ee=s(5741),T=s(1995),ue=s(5715),Z=s(8252),Me=s(3669),Se=s(4769),ve=s(6882),ye=s(4366),De=s(1032),z=s(5068),Y=s(5349),V=s(2061),j=s(3652),X=s(2975),Ie=s(8650);class ke{constructor($,Re){this.name=$,this.link=Re}}let tt=(()=>{class lt{constructor(){this.General=new class{constructor(){this.pageLinks=[new ke("Home","home"),new ke("Members","members"),new ke("Projects","projects"),new ke("Pics","pictures"),new ke("Calendar","calendar"),new ke("Resources","resources"),new ke("Blog","blog")],this.instagramLink="https://www.instagram.com/rutgerscogs/",this.twitterLink="https://twitter.com/RutgersCOGS",this.discordLink="https://discord.gg/erTWnAhdwj",this.mailingListLink="http://eepurl.com/cgDAk5",this.icons={play:_.Z,discord:x.Z,twitter:V.Z,github:te.Z,soundCloud:ye.Z,appStore:v.Z,googlePlay:T.Z,itchdotio:Me.Z,pixiv:ve.Z,twitch:Y.Z,instagram:Z.Z,youtube:Ie.Z,steam:z.Z,spotify:De.Z,unity:j.Z,unrealEngine:X.Z,blender:H.Z,html5:ue.Z,link:w.Z,mail:h.Z,arrowExportRight:A.Z,arrowRight:m.Z,arrowExportLeft:g.Z,arrowLeft:B.Z,chevronUp:d.Z,arrowDownCircleFill:f.Z,article:b.Z,video:L.Z,tutorial:S.Z,google:Ee.Z,form:r.Z,linkedIn:Se.Z},this.defaultAvatarSrc="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png",this.defaultCardImageSrc="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png"}},this.Backend=new class{constructor(){this.backendDomain=(0,o.X6Q)()?"localhost:3000":"backend.cogs.club",this.backendRelativeBaseUrl=(0,o.X6Q)()?"":"/backend",this.graphQLRelativePath="/graphql",this.httpsPrefix=(0,o.X6Q)()?"http://":"https://",this.wssPrefix=(0,o.X6Q)()?"ws://":"wss://",this.selfHostedPrefix="cdn://",this.cdnRelativePath="/cdn"}get backendDomainPlusBaseUrl(){return this.backendDomain+this.backendRelativeBaseUrl}get backendHttpsURL(){return this.httpsPrefix+this.backendDomainPlusBaseUrl}get graphQLHttpsURL(){return this.httpsPrefix+this.backendDomainPlusBaseUrl+this.graphQLRelativePath}get graphQLWssURL(){return this.wssPrefix+this.backendDomainPlusBaseUrl+this.graphQLRelativePath}}}}return lt.\u0275fac=function(Re){return new(Re||lt)},lt.\u0275prov=o.Yz7({token:lt,factory:lt.\u0275fac,providedIn:"root"}),lt})()},3451:(Ue,J,s)=>{"use strict";s.d(J,{dg:()=>h,z9:()=>g,Il:()=>d,AE:()=>_,yv:()=>L.y,tA:()=>A.tA,ej:()=>A.ej});var f,o=s(8692),r=s(4537);class h{constructor(m,b="",S="",v="",H="",x=[],te){this.filePath=m,this.title=b,this.description=S,this.date=v,this.imagePath=H,this.authors=x,this.tags=te}toString(){return`[${this.title}, ${this.description}, ${this.authors}, ${this.date}]`}getAuthorsString(){return 0===this.authors.length?"":"By: "+this.authors.join(", ")}}class _{constructor(m,b="",S=[]){this.filePath=m,this.description=b,this.tags=S}}class d{constructor(m,b,S){this.r=0,this.g=0,this.b=0,this.r=m,this.g=b,this.b=S}hexString(){return"#"+this.num2Hex(this.r)+this.num2Hex(this.g)+this.num2Hex(this.b)}rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}copy(){return new d(this.r,this.g,this.b)}shade(m){if(m<-1||m>1)throw new Error("'light' must be between -1 and 1.");var b=this.r,S=this.g,v=this.b;return m<0?(b*=1+m,S*=1+m,v*=1+m):(b=(1-m)*b+255*m,S=(1-m)*S+255*m,v=(1-m)*v+255*m),new d(b,S,v)}num2Hex(m){(m=Math.round(m))<0&&(m=0),m>255&&(m=255);var b=m.toString(16);return b.length<2&&(b="0"+b),b}static fromRGB(m,b,S){return new d(m,b,S)}static fromRGBText(m){var b=this.cssRGBRegex.exec(m);if(null!==b){var S=parseInt(b[1]),v=parseInt(b[2]),H=parseInt(b[3]);return isNaN(S)||isNaN(v)||isNaN(H)?null:this.fromRGB(S,v,H)}return null}static fromRGBTextOrDefault(m,b=new d(0,0,0)){var S=this.fromRGBText(m);return null!==S?S:b}static fromHex(m){"#"==m.charAt(0)&&(m=m.substr(1,m.length-1));var b=parseInt(m.substr(0,2),16),S=parseInt(m.substr(2,2),16),v=parseInt(m.substr(4,2),16);return isNaN(b)||isNaN(S)||isNaN(v)?null:new d(b,S,v)}static fromHexOrDefault(m,b=new d(0,0,0)){var S=this.fromHex(m);return null!==S?S:b}static fromVar(m){var b=this.cssVarRegex.exec(m);if(null!==b){var S=window.getComputedStyle(document.body).getPropertyValue(b[1]).replace(/ /g,"");return this.fromText(S)}return null}static fromText(m){var b=this.fromHex(m);return null!==b||null!==(b=this.fromRGBText(m))||(b=this.fromVar(m)),b}static fromTextOrDefault(m,b=new d(0,0,0)){var S=this.fromText(m);return null!==S?S:b}static fromVarOrDefault(m,b=new d(0,0,0)){var S=this.fromVar(m);return null!==S?S:b}static useDarkColor(m){return.299*m.r+.587*m.g+.114*m.b>186}static getConstrastColor(m){return this.useDarkColor(m)?this.fromVarOrDefault("var(--dark)",this.Types.cyan):this.fromVarOrDefault("var(--light)",this.Types.cyan)}static getContrastColorFromText(m){var b=this.cssVarRegex.exec(m);if(null!==b){var S=this.fromVar(`var(${b[1]}-contrast)`);if(null!==S)return S}return this.getConstrastColor(this.fromTextOrDefault(m))}}d.cssRGBRegex=new RegExp(/rgb\( *(\d+), *(\d+), *(\d+) *\)/),d.cssVarRegex=new RegExp(/var\( *(--[\w-]*) *\)/),d.Types=((f=class{}).black=d.fromHexOrDefault("#000000"),f.silver=d.fromHexOrDefault("#c0c0c0"),f.gray=d.fromHexOrDefault("#808080"),f.white=d.fromHexOrDefault("#ffffff"),f.maroon=d.fromHexOrDefault("#800000"),f.red=d.fromHexOrDefault("#ff0000"),f.purple=d.fromHexOrDefault("#800080"),f.fuchsia=d.fromHexOrDefault("#ff00ff"),f.green=d.fromHexOrDefault("#008000"),f.lime=d.fromHexOrDefault("#00ff00"),f.olive=d.fromHexOrDefault("#808000"),f.yellow=d.fromHexOrDefault("#ffff00"),f.navy=d.fromHexOrDefault("#000080"),f.blue=d.fromHexOrDefault("#0000ff"),f.teal=d.fromHexOrDefault("#008080"),f.aqua=d.fromHexOrDefault("#00ffff"),f.orange=d.fromHexOrDefault("#ffa500"),f.aliceblue=d.fromHexOrDefault("#f0f8ff"),f.antiquewhite=d.fromHexOrDefault("#faebd7"),f.aquamarine=d.fromHexOrDefault("#7fffd4"),f.azure=d.fromHexOrDefault("#f0ffff"),f.beige=d.fromHexOrDefault("#f5f5dc"),f.bisque=d.fromHexOrDefault("#ffe4c4"),f.blanchedalmond=d.fromHexOrDefault("#ffebcd"),f.blueviolet=d.fromHexOrDefault("#8a2be2"),f.brown=d.fromHexOrDefault("#a52a2a"),f.burlywood=d.fromHexOrDefault("#deb887"),f.cadetblue=d.fromHexOrDefault("#5f9ea0"),f.chartreuse=d.fromHexOrDefault("#7fff00"),f.chocolate=d.fromHexOrDefault("#d2691e"),f.coral=d.fromHexOrDefault("#ff7f50"),f.cornflowerblue=d.fromHexOrDefault("#6495ed"),f.cornsilk=d.fromHexOrDefault("#fff8dc"),f.crimson=d.fromHexOrDefault("#dc143c"),f.cyan=d.fromHexOrDefault("#00ffff"),f.darkblue=d.fromHexOrDefault("#00008b"),f.darkcyan=d.fromHexOrDefault("#008b8b"),f.darkgoldenrod=d.fromHexOrDefault("#b8860b"),f.darkgray=d.fromHexOrDefault("#a9a9a9"),f.darkgreen=d.fromHexOrDefault("#006400"),f.darkgrey=d.fromHexOrDefault("#a9a9a9"),f.darkkhaki=d.fromHexOrDefault("#bdb76b"),f.darkmagenta=d.fromHexOrDefault("#8b008b"),f.darkolivegreen=d.fromHexOrDefault("#556b2f"),f.darkorange=d.fromHexOrDefault("#ff8c00"),f.darkorchid=d.fromHexOrDefault("#9932cc"),f.darkred=d.fromHexOrDefault("#8b0000"),f.darksalmon=d.fromHexOrDefault("#e9967a"),f.darkseagreen=d.fromHexOrDefault("#8fbc8f"),f.darkslateblue=d.fromHexOrDefault("#483d8b"),f.darkslategray=d.fromHexOrDefault("#2f4f4f"),f.darkslategrey=d.fromHexOrDefault("#2f4f4f"),f.darkturquoise=d.fromHexOrDefault("#00ced1"),f.darkviolet=d.fromHexOrDefault("#9400d3"),f.deeppink=d.fromHexOrDefault("#ff1493"),f.deepskyblue=d.fromHexOrDefault("#00bfff"),f.dimgray=d.fromHexOrDefault("#696969"),f.dimgrey=d.fromHexOrDefault("#696969"),f.dodgerblue=d.fromHexOrDefault("#1e90ff"),f.firebrick=d.fromHexOrDefault("#b22222"),f.floralwhite=d.fromHexOrDefault("#fffaf0"),f.forestgreen=d.fromHexOrDefault("#228b22"),f.gainsboro=d.fromHexOrDefault("#dcdcdc"),f.ghostwhite=d.fromHexOrDefault("#f8f8ff"),f.gold=d.fromHexOrDefault("#ffd700"),f.goldenrod=d.fromHexOrDefault("#daa520"),f.greenyellow=d.fromHexOrDefault("#adff2f"),f.grey=d.fromHexOrDefault("#808080"),f.honeydew=d.fromHexOrDefault("#f0fff0"),f.hotpink=d.fromHexOrDefault("#ff69b4"),f.indianred=d.fromHexOrDefault("#cd5c5c"),f.indigo=d.fromHexOrDefault("#4b0082"),f.ivory=d.fromHexOrDefault("#fffff0"),f.khaki=d.fromHexOrDefault("#f0e68c"),f.lavender=d.fromHexOrDefault("#e6e6fa"),f.lavenderblush=d.fromHexOrDefault("#fff0f5"),f.lawngreen=d.fromHexOrDefault("#7cfc00"),f.lemonchiffon=d.fromHexOrDefault("#fffacd"),f.lightblue=d.fromHexOrDefault("#add8e6"),f.lightcoral=d.fromHexOrDefault("#f08080"),f.lightcyan=d.fromHexOrDefault("#e0ffff"),f.lightgoldenrodyellow=d.fromHexOrDefault("#fafad2"),f.lightgray=d.fromHexOrDefault("#d3d3d3"),f.lightgreen=d.fromHexOrDefault("#90ee90"),f.lightgrey=d.fromHexOrDefault("#d3d3d3"),f.lightpink=d.fromHexOrDefault("#ffb6c1"),f.lightsalmon=d.fromHexOrDefault("#ffa07a"),f.lightseagreen=d.fromHexOrDefault("#20b2aa"),f.lightskyblue=d.fromHexOrDefault("#87cefa"),f.lightslategray=d.fromHexOrDefault("#778899"),f.lightslategrey=d.fromHexOrDefault("#778899"),f.lightsteelblue=d.fromHexOrDefault("#b0c4de"),f.lightyellow=d.fromHexOrDefault("#ffffe0"),f.limegreen=d.fromHexOrDefault("#32cd32"),f.linen=d.fromHexOrDefault("#faf0e6"),f.magenta=d.fromHexOrDefault("#ff00ff"),f.mediumaquamarine=d.fromHexOrDefault("#66cdaa"),f.mediumblue=d.fromHexOrDefault("#0000cd"),f.mediumorchid=d.fromHexOrDefault("#ba55d3"),f.mediumpurple=d.fromHexOrDefault("#9370db"),f.mediumseagreen=d.fromHexOrDefault("#3cb371"),f.mediumslateblue=d.fromHexOrDefault("#7b68ee"),f.mediumspringgreen=d.fromHexOrDefault("#00fa9a"),f.mediumturquoise=d.fromHexOrDefault("#48d1cc"),f.mediumvioletred=d.fromHexOrDefault("#c71585"),f.midnightblue=d.fromHexOrDefault("#191970"),f.mintcream=d.fromHexOrDefault("#f5fffa"),f.mistyrose=d.fromHexOrDefault("#ffe4e1"),f.moccasin=d.fromHexOrDefault("#ffe4b5"),f.navajowhite=d.fromHexOrDefault("#ffdead"),f.oldlace=d.fromHexOrDefault("#fdf5e6"),f.olivedrab=d.fromHexOrDefault("#6b8e23"),f.orangered=d.fromHexOrDefault("#ff4500"),f.orchid=d.fromHexOrDefault("#da70d6"),f.palegoldenrod=d.fromHexOrDefault("#eee8aa"),f.palegreen=d.fromHexOrDefault("#98fb98"),f.paleturquoise=d.fromHexOrDefault("#afeeee"),f.palevioletred=d.fromHexOrDefault("#db7093"),f.papayawhip=d.fromHexOrDefault("#ffefd5"),f.peachpuff=d.fromHexOrDefault("#ffdab9"),f.peru=d.fromHexOrDefault("#cd853f"),f.pink=d.fromHexOrDefault("#ffc0cb"),f.plum=d.fromHexOrDefault("#dda0dd"),f.powderblue=d.fromHexOrDefault("#b0e0e6"),f.rosybrown=d.fromHexOrDefault("#bc8f8f"),f.royalblue=d.fromHexOrDefault("#4169e1"),f.saddlebrown=d.fromHexOrDefault("#8b4513"),f.salmon=d.fromHexOrDefault("#fa8072"),f.sandybrown=d.fromHexOrDefault("#f4a460"),f.seagreen=d.fromHexOrDefault("#2e8b57"),f.seashell=d.fromHexOrDefault("#fff5ee"),f.sienna=d.fromHexOrDefault("#a0522d"),f.skyblue=d.fromHexOrDefault("#87ceeb"),f.slateblue=d.fromHexOrDefault("#6a5acd"),f.slategray=d.fromHexOrDefault("#708090"),f.slategrey=d.fromHexOrDefault("#708090"),f.snow=d.fromHexOrDefault("#fffafa"),f.springgreen=d.fromHexOrDefault("#00ff7f"),f.steelblue=d.fromHexOrDefault("#4682b4"),f.tan=d.fromHexOrDefault("#d2b48c"),f.thistle=d.fromHexOrDefault("#d8bfd8"),f.tomato=d.fromHexOrDefault("#ff6347"),f.turquoise=d.fromHexOrDefault("#40e0d0"),f.violet=d.fromHexOrDefault("#ee82ee"),f.wheat=d.fromHexOrDefault("#f5deb3"),f.whitesmoke=d.fromHexOrDefault("#f5f5f5"),f.yellowgreen=d.fromHexOrDefault("#9acd32"),f.rebeccapurple=d.fromHexOrDefault("#663399"),f),s(3288);var L=s(4583),A=s(8198);let g=(()=>{class B{}return B.\u0275fac=function(b){return new(b||B)},B.\u0275mod=r.oAB({type:B}),B.\u0275inj=r.cJS({imports:[o.ez]}),B})()},3288:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>r});var o=s(592);class r{static defined(_){return null!=_.value?null:{notDefined:!0}}static rutgersEmail(_){return(0,o.r8)(_.value)?null:{rutgersEmail:!0}}static netId(_){return(0,o._p)(_.value)?null:{netId:!0}}}},8198:(Ue,J,s)=>{"use strict";s.d(J,{ej:()=>f,tA:()=>_});var o=s(8023),r=s(8655),h=s(4537);r.Xd.initFunction="init";let _=(()=>{class m{constructor(){this.onDestroy$=new o.x}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275dir=h.lG2({type:m}),m})(),f=(()=>{class m{constructor(){this.onInit$=new o.x}ngOnInit(){this.onInit$.next(),this.onInit$.complete()}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275dir=h.lG2({type:m}),m})()},4583:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>o});class o{constructor(){this.processes=[]}get isProcessing(){return this.processes.length>0}addProcess(h=""){this.processes.push(h)}removeProcess(h=""){if(h){const _=this.processes.indexOf(h);_>-1&&(this.processes=this.processes.splice(_,1))}else this.processes.pop()}clearProcesses(){this.processes.length=0}}},6779:(Ue,J,s)=>{"use strict";s.d(J,{S:()=>h});var o=s(4537),r=s(3178);let h=(()=>{class _{constructor(d,w){this.router=d,this.width=-1,this.color="primary",this.link="",this.target="_blank",this.click=new o.vpe,this.route=!1,this.route=null!=w}ngOnInit(){}isValidUrl(d){try{return Boolean(new URL(d))}catch{return!1}}onClick(){!this.isValidUrl(this.link)&&this.route?this.router.navigateByUrl(this.link):window.open(this.link,this.target),this.click.emit()}}return _.\u0275fac=function(d){return new(d||_)(o.Y36(r.F0),o.$8M("route"))},_.\u0275dir=o.lG2({type:_,inputs:{width:"width",color:"color",link:"link",target:"target"},outputs:{click:"click"}}),_})()},7763:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>m});var o=s(8692),r=s(6438),h=s(108),_=s(9638),f=s(7914),d=s(8399),w=s(9518),L=s(6004),A=s(7950),B=(s(2933),s(4537));let m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=B.oAB({type:b}),b.\u0275inj=B.cJS({imports:[o.ez,r.t,h.vV,_.ot,r.t,f.To,d.QX,w.I,L.m,A.c,A.c,_.ot]}),b})()},2933:(Ue,J,s)=>{"use strict";s.d(J,{l:()=>_});var o=s(4537),r=s(5998);let _=(()=>{class f{constructor(w){this._sanitizer=w}transform(w,L){switch(L){case"html":default:return this._sanitizer.bypassSecurityTrustHtml(w);case"style":return this._sanitizer.bypassSecurityTrustStyle(w);case"script":return this._sanitizer.bypassSecurityTrustScript(w);case"url":return this._sanitizer.bypassSecurityTrustUrl(w);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(w)}}}return f.\u0275fac=function(w){return new(w||f)(o.Y36(r.H7,16))},f.\u0275pipe=o.Yjl({name:"safe",type:f,pure:!0}),f})()},5491:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>_});var o=s(8692),r=s(1769),h=s(4537);let _=(()=>{class f{}return f.\u0275fac=function(w){return new(w||f)},f.\u0275mod=h.oAB({type:f}),f.\u0275inj=h.cJS({imports:[o.ez,r.Mc]}),f})()},3223:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>d});var o=s(4537),r=s(1656),h=s(8692);function _(w,L){if(1&w&&o._UZ(0,"img",3),2&w){const A=o.oxw();o.Q6J("src",A.getAvatarSrc(),o.LSH)("ngClass",A.getAvatarClass())}}function f(w,L){if(1&w){const A=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",function(){o.CHM(A);const B=o.oxw();return o.KtG(B.onClick())}),o.qZA()}if(2&w){const A=o.oxw();o.Q6J("ngStyle",A.getButtonStyle())("ngClass",A.getAvatarClass())}}let d=(()=>{class w{constructor(A,g,B,m,b,S){this.elementRef=A,this.settings=g,this.click=new o.vpe,this.color="blank",this.size="large",this.avatarSrc="",this.borderWidth=B??"4px",this.elementRef.nativeElement.style.setProperty("--border-width",this.borderWidth),this.clickable=null!=m,this.clickableStyle=null!=b,this.square=null!=S}ngOnInit(){}getContainerClass(){return{[this.color]:!0,[this.size]:!0,square:this.square,clickable:this.clickable||this.clickableStyle}}getAvatarClass(){return{square:this.square,clickable:this.clickable||this.clickableStyle}}getAvatarSrc(){return this.avatarSrc?this.avatarSrc:this.settings.General.defaultAvatarSrc}getButtonStyle(){return{background:`url(${this.getAvatarSrc()})`,"background-size":"cover"}}onClick(){this.click.emit()}}return w.\u0275fac=function(A){return new(A||w)(o.Y36(o.SBq),o.Y36(r.g),o.$8M("border-width"),o.$8M("clickable"),o.$8M("clickable-style"),o.$8M("square"))},w.\u0275cmp=o.Xpm({type:w,selectors:[["app-avatar"]],inputs:{color:"color",size:"size",avatarSrc:"avatarSrc"},outputs:{click:"click"},decls:3,vars:3,consts:[[1,"app-avatar","avatar-container",3,"ngClass"],["class","app-avatar avatar",3,"src","ngClass",4,"ngIf"],["class","app-avatar avatar",3,"ngStyle","ngClass","click",4,"ngIf"],[1,"app-avatar","avatar",3,"src","ngClass"],[1,"app-avatar","avatar",3,"ngStyle","ngClass","click"]],template:function(A,g){1&A&&(o.TgZ(0,"div",0),o.YNc(1,_,1,2,"img",1),o.YNc(2,f,1,2,"button",2),o.qZA()),2&A&&(o.Q6J("ngClass",g.getContainerClass()),o.xp6(1),o.Q6J("ngIf",!g.clickable||g.clickableStyle),o.xp6(1),o.Q6J("ngIf",g.clickable))},dependencies:[h.mk,h.O5,h.PC],styles:["[_nghost-%COMP%]{--border-width: 4px}.avatar-container[_ngcontent-%COMP%]{width:calc(var(--length) + var(--border-width));height:calc(var(--length) + var(--border-width));position:relative;box-sizing:content-box;display:flex;justify-content:center;align-items:center;border-radius:50%}.avatar-container.clickable[_ngcontent-%COMP%]{transition:transform .1s ease-out}.avatar-container.clickable[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.avatar.clickable[_ngcontent-%COMP%]{cursor:pointer}.avatar[_ngcontent-%COMP%]{position:absolute;border-radius:50%;border-style:solid;border-width:var(--border-width);width:calc(100% - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));object-fit:cover;border-color:transparent}.huge[_ngcontent-%COMP%]{--length: 10em}.large[_ngcontent-%COMP%]{--length: 8em}.medium[_ngcontent-%COMP%]{--length: 4em}.small[_ngcontent-%COMP%]{--length: 2.625em}.input[_ngcontent-%COMP%]{--length: 2em}.square[_ngcontent-%COMP%]{border-radius:20%}"]}),w})()},7187:(Ue,J,s)=>{"use strict";s.d(J,{Y:()=>A,w:()=>g});var o=s(8692),r=s(4929),h=s(8198),_=s(8023),f=s(8655),d=s(4537),w=s(8954),L=s(92);let A=(()=>{class B extends((0,f.AF)(h.tA)){constructor(b,S,v){super(),this.focusMonitor=b,this.elementRef=S,this.ngControl=v,this.onChange=H=>{},this.onTouched=()=>{},this._value=null,this._placeholder="",this._required=!1,this._disabled=!1,this.focused=!1,this.touched=!1,this.stateChanges=new _.x,this.errorState=!1,this.onDestroy$=new _.x,this.controlType="",this.id="",null!=this.ngControl&&(this.ngControl.valueAccessor=this),this.focusMonitor.monitor(S,!0).subscribe(H=>{this.focused&&!H&&this.onTouched(),this.focused=!!H,this.stateChanges.next()})}get value(){return this._value}set value(b){const S=this._value;this._value=b,this.areValuesEqual(b,S)||(this.onChange&&this.onChange(b),this.markAsTouched())}areValuesEqual(b,S){return b===S}get placeholder(){return this._placeholder}set placeholder(b){this._placeholder=b,this.stateChanges.next()}get required(){return this._required}set required(b){this._required=(0,r.Ig)(b),this.stateChanges.next()}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,r.Ig)(b),this._onDisabled(this._disabled),this.stateChanges.next()}_onDisabled(b){}get empty(){return!this.value}get shouldLabelFloat(){return this.focused||!this.empty}get autofilled(){return!1}ngOnDestroy(){super.ngOnDestroy(),this.focusMonitor.stopMonitoring(this.elementRef)}setDescribedByIds(b){this.elementRef.nativeElement.setAttribute("aria-describedby",b.join(" "))}onContainerClick(b){"input"!=b.target.tagName.toLowerCase()&&this.elementRef.nativeElement.querySelector("input").focus()}writeValue(b){this.value=b}registerOnChange(b){this.onChange=b}registerOnTouched(b){this.onTouched=b}markAsTouched(){this.onTouched&&this.onTouched()}}return B.\u0275fac=function(b){return new(b||B)(d.Y36(w.tE),d.Y36(d.SBq),d.Y36(L.a5))},B.\u0275dir=d.lG2({type:B,inputs:{userAriaDescribedBy:["attr.aria-describedby","userAriaDescribedBy"],placeholder:"placeholder",required:"required",disabled:"disabled"},features:[d.qOj]}),B})(),g=(()=>{class B{}return B.\u0275fac=function(b){return new(b||B)},B.\u0275mod=d.oAB({type:B}),B.\u0275inj=d.cJS({imports:[o.ez]}),B})()},7950:(Ue,J,s)=>{"use strict";s.d(J,{c:()=>h});var o=s(8692),r=s(4537);let h=(()=>{class _{}return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[o.ez]}),_})()},2709:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>r});var o=s(4537);let r=(()=>{class h{constructor(f,d,w,L,A,g,B,m){this.el=f,this.color="",this.textColor="",this.tallButton=null!=L,this.fab=null!=w,this.pill=null!=d,this.roundTopLeft=null!=A,this.roundTopRight=null!=g,this.roundBottomLeft=null!=B,this.roundBottomRight=null!=m}ngOnInit(){this.tallButton=this.el.nativeElement.hasAttribute("tall-button"),this.pill=this.el.nativeElement.hasAttribute("pill"),["","basic","primary","accent","warn"].includes(this.color)||(this.el.nativeElement.style.backgroundColor=this.color,this.textColor&&(this.el.nativeElement.style.color=this.textColor)),this.tallButton&&(this.el.nativeElement.style.height="3em"),this.pill&&(this.el.nativeElement.style.borderRadius="100em"),this.fab&&(this.el.nativeElement.style.padding="0px",this.el.nativeElement.style.minWidth=this.el.nativeElement.style.width,this.el.nativeElement.style.borderRadius="100%"),this.roundTopLeft&&(this.el.nativeElement.style.borderTopLeftRadius="2em"),this.roundTopRight&&(this.el.nativeElement.style.borderTopRightRadius="2em"),this.roundBottomLeft&&(this.el.nativeElement.style.borderBottomLeftRadius="2em"),this.roundBottomLeft&&(this.el.nativeElement.style.borderBottomLeftRadius="2em")}}return h.\u0275fac=function(f){return new(f||h)(o.Y36(o.SBq),o.$8M("pill"),o.$8M("fab"),o.$8M("tall-button"),o.$8M("round-tl"),o.$8M("round-tr"),o.$8M("round-bl"),o.$8M("round-br"))},h.\u0275dir=o.lG2({type:h,selectors:[["","mat-button",""],["","mat-raised-button",""],["","mat-stroked-button",""],["","mat-flat-button",""]],inputs:{color:"color",textColor:["text-color","textColor"]}}),h})()},6004:(Ue,J,s)=>{"use strict";s.d(J,{m:()=>h});var o=s(8692),r=s(4537);let h=(()=>{class _{}return _.\u0275fac=function(d){return new(d||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[o.ez]}),_})()},9518:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>A});var o=s(8692),r=s(7084),h=s(3331),_=s(8659),f=s(92),d=s(7406),w=s(7187),L=s(4537);let A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=L.oAB({type:g}),g.\u0275inj=L.cJS({imports:[o.ez,r.Hi,h.Ps,_.lN,f.UX,f.u5,d.c,w.w]}),g})()},5208:(Ue,J,s)=>{"use strict";s.d(J,{o:()=>m,S:()=>g});var o=s(8692),r=s(9676),h=s(7969),_=s(4536),f=s(4537),d=s(9638),w=s(2709);let L=(()=>{class b{constructor(v,H){this.data=v,this.dialogRef=H}ngOnInit(){}}return b.\u0275fac=function(v){return new(v||b)(f.Y36(_.WI),f.Y36(_.so))},b.\u0275cmp=f.Xpm({type:b,selectors:[["app-confirm-dialog"]],decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"]],template:function(v,H){1&v&&(f.TgZ(0,"h1",0),f._uU(1,"Confirm"),f.qZA(),f.TgZ(2,"div",1)(3,"p"),f._uU(4),f.qZA()(),f.TgZ(5,"div",2)(6,"button",3),f._uU(7,"No"),f.qZA(),f.TgZ(8,"button",3),f._uU(9,"Yes"),f.qZA()()),2&v&&(f.xp6(4),f.Oqu(H.data.message),f.xp6(2),f.Q6J("mat-dialog-close",void 0),f.xp6(2),f.Q6J("mat-dialog-close",!0))},dependencies:[_.ZT,_.uh,_.xY,_.H8,d.lW,w.v]}),b})();var A=s(7666);let g=(()=>{class b{constructor(v,H){this.snackBar=v,this.dialog=H,this.perCharacterDuration=500}notifyInfo(v){this.snackBar.open("\u2754 "+v,void 0,{duration:this.perCharacterDuration*v.length})}notifyConfirmed(v){this.snackBar.open("\u2705 "+v,void 0,{duration:this.perCharacterDuration*v.length})}error(v){let H="";H=v instanceof Error?v.message:v,this.snackBar.open("\u{1f6d1} "+H,void 0,{duration:this.perCharacterDuration*H.length})}confirmDialog(v){return this.dialog.open(L,{data:{message:v}}).afterClosed().pipe((0,r.P)(),(0,h.U)(x=>void 0!==x))}}return b.\u0275fac=function(v){return new(v||b)(f.LFG(A.ux),f.LFG(_.uw))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();var B=s(7763);let m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({providers:[g],imports:[o.ez,A.ZX,_.Is,d.ot,B.I]}),b})()},7545:(Ue,J,s)=>{"use strict";s.d(J,{v$:()=>d.v,IW:()=>w.I,Ub:()=>L.U,fu:()=>g.f,al:()=>b,Il:()=>S.I,fF:()=>H});var o=s(8692),r=s(4536),h=s(7666),_=s(274),d=(s(9942),s(831)),w=s(6527),L=s(6440),g=(s(5596),s(9883)),B=s(4537),m=s(3178);let b=(()=>{class x{constructor(Ee){this.router=Ee,this.position=0,this.maxPosition=0,this.minPosition=0,this.scrolledToTop=new B.vpe,this.scrolledToBottom=new B.vpe,this.marginOfError=5,window.addEventListener("scroll",T=>{this.updateScrollData()})}updateScrollData(Ee=!0){this.position=window.innerHeight+window.scrollY,this.maxPosition=document.body.scrollHeight,this.minPosition=window.innerHeight,Ee&&(this.maxPosition-this.position<=this.marginOfError&&this.scrolledToBottom.emit(),this.position-this.minPosition<=this.marginOfError&&this.scrolledToTop.emit())}isAtBottom(){return this.position-this.maxPosition}isAtTop(){return this.position==this.minPosition}}return x.\u0275fac=function(Ee){return new(Ee||x)(B.LFG(m.F0))},x.\u0275prov=B.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();var S=s(1241);s(3212);let H=(()=>{class x{}return x.\u0275fac=function(Ee){return new(Ee||x)},x.\u0275mod=B.oAB({type:x}),x.\u0275inj=B.cJS({imports:[o.ez,_.VG,h.ZX,r.Is]}),x})()},3212:(Ue,J,s)=>{"use strict";s.d(J,{n:()=>L});var o=s(8239),r=s(3528),h=s(4537),_=s(9942),f=s(1241),d=s(831),w=s(3178);let L=(()=>{class A{constructor(B,m,b,S){var v;this.authService=B,this.securityService=m,this.backendService=b,this.router=S,B.payload$.pipe((0,r.R)(B.onDestroy$)).subscribe({next:(v=(0,o.Z)(function*(H){b.rebuildClient(),H&&m.fetchData()}),function(x){return v.apply(this,arguments)})})}}return A.\u0275fac=function(B){return new(B||A)(h.LFG(_.e),h.LFG(f.I),h.LFG(d.v),h.LFG(w.F0))},A.\u0275prov=h.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})()},9942:(Ue,J,s)=>{"use strict";s.d(J,{e:()=>De});var o=s(8239),r=s(5732),h=s(1132),_=s(274),f=s(8023),d=s(4121),w=s(7445),L=s(818),A=s(3528),g=s(4537),B=s(3178),m=s(56),b=s(4854),S=s(4145);class Ee extends m.i{constructor(Y,V){super(),this.httpClient=Y,this.options=V,this.print=S.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=j=>new b.y(X=>{const Ie=j.getContext(),ke=(He,Qe)=>function x(...z){const Y=z.find(V=>typeof V<"u");return typeof Y>"u"?z[z.length-1]:Y}(Ie[He],this.options[He],Qe);let tt=ke("method","POST");const lt=ke("includeQuery",!0),$=ke("includeExtensions",!1),Re=ke("uri","graphql"),re=ke("withCredentials"),xe=ke("useMultipart"),Ke=!0===this.options.useGETForQueries,me=j.query.definitions.some(He=>"OperationDefinition"===He.kind&&"query"===He.operation);Ke&&me&&(tt="GET");const P={method:tt,url:"function"==typeof Re?Re(j):Re,body:{operationName:j.operationName,variables:j.variables},options:{withCredentials:re,useMultipart:xe,headers:this.options.headers}};$&&(P.body.extensions=j.extensions),lt&&(P.body.query=this.print(j.query));const se=function te(z){let Y=z.headers&&z.headers instanceof r.WM?z.headers:new r.WM(z.headers);if(z.clientAwareness){const{name:V,version:j}=z.clientAwareness;V&&!Y.has("apollographql-client-name")&&(Y=Y.set("apollographql-client-name",V)),j&&!Y.has("apollographql-client-version")&&(Y=Y.set("apollographql-client-version",j))}return Y}(Ie);P.options.headers=((z,Y)=>z&&Y?Y.keys().reduce((j,X)=>j.set(X,Y.getAll(X)),z):Y||z)(P.options.headers,se);const Ce=((z,Y,V)=>{const j=-1!==["POST","PUT","PATCH"].indexOf(z.method.toUpperCase()),Ie=z.body.length;let tt,ke=z.options&&z.options.useMultipart;if(ke){if(Ie)return new L.y($=>$.error(new Error("File upload is not available when combined with Batching")));if(!j)return new L.y($=>$.error(new Error("File upload is not available when GET is used")));if(!V)return new L.y($=>$.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));tt=V(z.body),ke=!!tt.files.size}let lt={};if(Ie){if(!j)return new L.y($=>$.error(new Error("Batching is not available for GET requests")));lt={body:z.body}}else{const $=ke?tt.clone:z.body;lt=j?{body:$}:{params:Object.keys(z.body).reduce((re,xe)=>{const Ke=z.body[xe];return re[xe]=($=>-1!==["variables","extensions"].indexOf($.toLowerCase()))(xe)?JSON.stringify(Ke):Ke,re},{})}}if(ke&&j){const $=new FormData;$.append("operations",JSON.stringify(lt.body));const Re={},re=tt.files;let xe=0;re.forEach(Ke=>{Re[++xe]=Ke}),$.append("map",JSON.stringify(Re)),xe=0,re.forEach((Ke,me)=>{$.append(++xe+"",me,me.name)}),lt.body=$}return Y.request(z.method,z.url,{observe:"response",responseType:"json",reportProgress:!1,...lt,...z.options})})(P,this.httpClient,this.options.extractFiles).subscribe({next:He=>{j.setContext({response:He}),X.next(He.body)},error:He=>X.error(He),complete:()=>X.complete()});return()=>{Ce.closed||Ce.unsubscribe()}})}request(Y){return this.requester(Y)}}let T=(()=>{class z{constructor(V){this.httpClient=V}create(V){return new Ee(this.httpClient,V)}}return z.\u0275fac=function(V){return new(V||z)(g.LFG(r.eN))},z.\u0275prov=g.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();var Se=s(1656);const ve="auth-payload",ye={headers:new r.WM({"Content-Type":"application/json"})};let De=(()=>{class z{constructor(V,j,X,Ie,ke){this.apollo=V,this.router=j,this.http=X,this.settings=ke,this.onDestroy$=new f.x,this.apollo.createNamed("auth",{link:Ie.create({uri:this.settings.Backend.graphQLHttpsURL}),cache:new h.h});const tt=localStorage.getItem(ve);let lt=tt?JSON.parse(tt):void 0;this.payloadSubject=new d.X(lt),this.payload$=this.payloadSubject.asObservable(),this.validateAuth()}get authenticated(){return null!==this.getPayload()}get authLink(){return this.settings.Backend.backendHttpsURL+"/auth/"}get oAuthLink(){return this.settings.Backend.backendHttpsURL+"/auth/thirdparty/"}validateAuth(){var V=this;return(0,o.Z)(function*(){V.authenticated&&((yield(0,w.z)(V.apollo.use("auth").query({query:_.Ps` + query { + securityContext + } + `,fetchPolicy:"no-cache",context:{headers:{Authorization:"Bearer "+V.getToken()}}}))).data.securityContext.userId||V.logout())})()}updateUser(){var V=this;return(0,o.Z)(function*(){const j=V.getPayload()?.user.id;if(!j)return;const X=yield(0,w.z)(V.apollo.use("auth").query({query:_.Ps` + query { + users { + id + email + username + displayName + bio + avatarLink + bannerLink + } + } + `,fetchPolicy:"no-cache",context:{headers:{Authorization:"Bearer "+V.getToken(),"Operation-Metadata":JSON.stringify({securityDomains:[{userId:j}]})}}}));X.error||V.setPayload({accessToken:V.getToken(),user:X.data.users[0]})})()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}logout(){this.setPayload(void 0),window.location.reload()}setPayload(V){localStorage.removeItem(ve),V&&localStorage.setItem(ve,JSON.stringify(V)),this.payloadSubject.next(V)}getPayload(){const V=localStorage.getItem(ve);return V?JSON.parse(V):null}getToken(){return this.getPayload()?.accessToken??""}socialLogin(V){let j=this.oAuthLink+V;const X=new L.y(Ie=>{window.open(j,"myWindow","location=1,status=1,scrollbars=1,width=800,height=900"),window.addEventListener("message",lt=>{if(lt.origin===this.settings.Backend.httpsPrefix+this.settings.Backend.backendDomain){if(null==lt.data)return console.log("on cancelled"),Ie.next(void 0),void Ie.complete();lt.data.accessToken&<.data.user&&(console.log("on succeeded"),Ie.next(lt.data),Ie.complete())}})});return X.pipe((0,A.R)(this.onDestroy$)).subscribe({next:Ie=>{this.setPayload(Ie)}}),X}login(V,j){const X=this.http.post(this.authLink+"signin",{username:V,password:j},ye);return X.pipe((0,A.R)(this.onDestroy$)).subscribe({next:Ie=>{this.setPayload(Ie)}}),X}signup(V,j,X){const Ie=this.http.post(this.authLink+"signup",{username:V,email:j,password:X},ye);return Ie.pipe((0,A.R)(this.onDestroy$)).subscribe({next:ke=>{this.setPayload(ke)}}),Ie}}return z.\u0275fac=function(V){return new(V||z)(g.LFG(_._M),g.LFG(B.F0),g.LFG(r.eN),g.LFG(T),g.LFG(Se.g))},z.\u0275prov=g.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},831:(Ue,J,s)=>{"use strict";s.d(J,{v:()=>Ke});var o=s(8239),r=s(8862),h=s(1132),_=s(4762),f=s(4854),d=s(56);function w(me){return new d.i(function(P,se){return new f.y(function(Ce){var He,Qe,st;try{He=se(P).subscribe({next:function(Ge){Ge.errors&&(st=me({graphQLErrors:Ge.errors,response:Ge,operation:P,forward:se}))?Qe=st.subscribe({next:Ce.next.bind(Ce),error:Ce.error.bind(Ce),complete:Ce.complete.bind(Ce)}):Ce.next(Ge)},error:function(Ge){(st=me({operation:P,networkError:Ge,graphQLErrors:Ge&&Ge.result&&Ge.result.errors,forward:se}))?Qe=st.subscribe({next:Ce.next.bind(Ce),error:Ce.error.bind(Ce),complete:Ce.complete.bind(Ce)}):Ce.error(Ge)},complete:function(){st||Ce.complete.bind(Ce)()}})}catch(Ge){me({networkError:Ge,operation:P,forward:se}),Ce.error(Ge)}return function(){He&&He.unsubscribe(),Qe&&He.unsubscribe()}})})}!function(me){function P(se){var Ce=me.call(this)||this;return Ce.link=w(se),Ce}(0,_.ZT)(P,me),P.prototype.request=function(se,Ce){return this.link.request(se,Ce)}}(d.i);var A=s(4145),g=s(9231),B=s(709),b=function(me){function P(se){var Ce=me.call(this)||this;return Ce.client=se,Ce}return(0,_.ZT)(P,me),P.prototype.request=function(se){var Ce=this;return new f.y(function(He){return Ce.client.subscribe((0,_.pi)((0,_.pi)({},se),{query:(0,A.S)(se.query)}),{next:He.next.bind(He),complete:He.complete.bind(He),error:function(Qe){return Qe instanceof Error?He.error(Qe):function m(me){return(0,g.s)(me)&&"code"in me&&"reason"in me}(Qe)?He.error(new Error("Socket closed with event ".concat(Qe.code," ").concat(Qe.reason||""))):He.error(new B.c({graphQLErrors:Array.isArray(Qe)?Qe:[Qe]}))}})})},P}(d.i),S=s(1144),v=s(1141),H=s.n(v);function x(me){return null===me?"null":Array.isArray(me)?"array":typeof me}function te(me){return"object"===x(me)}function Z(me,P){return me.length<124?me:P}const Me="graphql-transport-ws";var ve=(()=>{return(me=ve||(ve={}))[me.InternalServerError=4500]="InternalServerError",me[me.InternalClientError=4005]="InternalClientError",me[me.BadRequest=4400]="BadRequest",me[me.BadResponse=4004]="BadResponse",me[me.Unauthorized=4401]="Unauthorized",me[me.Forbidden=4403]="Forbidden",me[me.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",me[me.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",me[me.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",me[me.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",me[me.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",ve;var me})(),ye=(()=>{return(me=ye||(ye={})).ConnectionInit="connection_init",me.ConnectionAck="connection_ack",me.Ping="ping",me.Pong="pong",me.Subscribe="subscribe",me.Next="next",me.Error="error",me.Complete="complete",ye;var me})();function De(me){if(!te(me))throw new Error(`Message is expected to be an object, but got ${x(me)}`);if(!me.type)throw new Error("Message is missing the 'type' property");if("string"!=typeof me.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${x(me.type)}`);switch(me.type){case ye.ConnectionInit:case ye.ConnectionAck:case ye.Ping:case ye.Pong:if("payload"in me&&!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object or missing, but got "${me.payload}"`);break;case ye.Subscribe:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object, but got ${x(me.payload)}`);if("string"!=typeof me.payload.query)throw new Error(`"${me.type}" message payload expects the 'query' property to be a string, but got ${x(me.payload.query)}`);if(null!=me.payload.variables&&!te(me.payload.variables))throw new Error(`"${me.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${x(me.payload.variables)}`);if(null!=me.payload.operationName&&"string"!==x(me.payload.operationName))throw new Error(`"${me.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${x(me.payload.operationName)}`);if(null!=me.payload.extensions&&!te(me.payload.extensions))throw new Error(`"${me.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${x(me.payload.extensions)}`);break;case ye.Next:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!te(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an object, but got ${x(me.payload)}`);break;case ye.Error:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);if(!function ue(me){return Array.isArray(me)&&me.length>0&&me.every(P=>"message"in P)}(me.payload))throw new Error(`"${me.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(me.payload)}`);break;case ye.Complete:if("string"!=typeof me.id)throw new Error(`"${me.type}" message expects the 'id' property to be a string, but got ${x(me.id)}`);if(!me.id)throw new Error(`"${me.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${me.type}"`)}return me}function Y(me,P){try{return De(me)}catch{if("string"!=typeof me)throw new Error("Only strings are parsable messages");return De(JSON.parse(me,P))}}function V(me,P){return De(me),JSON.stringify(me,P)}function X(me){return te(me)&&"code"in me&&"reason"in me}var tt=s(8023),lt=s(4537),$=s(274),Re=s(9942),re=s(5732),xe=s(1656);let Ke=(()=>{class me{constructor(se,Ce,He,Qe){this.apollo=se,this.authService=Ce,this.http=He,this.settings=Qe,this.onDestroy$=new tt.x,this.opSettings=this.defaultOpSettings(),this.rebuildClient()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}resetOpSettings(){this.opSettings=this.defaultOpSettings()}rebuildClient(){this.apollo.default().client&&(this.apollo.default().client.stop(),this.apollo.default().client.clearStore(),this.apollo.removeClient("default")),this.apollo.createDefault(this.configureApolloClientOptions(this.authService.getToken()))}defaultOpSettings(){return{useAuth:!1,operationDomains:void 0}}getHeaders(){return{Authorization:"Bearer "+this.authService.getToken(),...this.opSettings.operationDomains&&{"Operation-Metadata":JSON.stringify({securityDomains:this.opSettings.operationDomains})}}}configureApolloOperationOptions(se){return{...se,...this.opSettings.useAuth&&{context:{...se.context,headers:{...this.getHeaders(),...se.context?.headers}}}}}configureApolloClientOptions(se=""){const Ce=this.settings.Backend.backendDomainPlusBaseUrl+this.settings.Backend.graphQLRelativePath,He=this.settings.Backend.httpsPrefix,Qe=this.settings.Backend.wssPrefix,st=H()({uri:`${He}${Ce}`,headers:{"Apollo-Require-Preflight":"true"}});console.log(`graphql link: ${Qe}${Ce}`),this.graphQLWsClient&&this.graphQLWsClient.dispose(),this.graphQLWsClient=function j(me){const{url:P,connectionParams:se,lazy:Ce=!0,onNonLazyError:He=console.error,lazyCloseTimeout:Qe=0,keepAlive:st=0,disablePong:Ge,connectionAckWaitTimeout:at=0,retryAttempts:_t=5,retryWait:xt=function(){var le=(0,o.Z)(function*(ae){let he=1e3;for(let pe=0;pesetTimeout(pe,he+Math.floor(2700*Math.random()+300)))});return function _e(ae){return le.apply(this,arguments)}}(),shouldRetry:yt=X,isFatalConnectionProblem:Pt,on:At,webSocketImpl:nt,generateID:ft=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,_e=>{const ae=16*Math.random()|0;return("x"==_e?ae:3&ae|8).toString(16)})},jsonMessageReplacer:G,jsonMessageReviver:U}=me;let ie;if(nt){if(!function ke(me){return"function"==typeof me&&"constructor"in me&&"CLOSED"in me&&"CLOSING"in me&&"CONNECTING"in me&&"OPEN"in me}(nt))throw new Error("Invalid WebSocket implementation provided");ie=nt}else typeof WebSocket<"u"?ie=WebSocket:typeof global<"u"?ie=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(ie=window.WebSocket||window.MozWebSocket);if(!ie)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const oe=ie,Te=(()=>{const le=(()=>{const ae={};return{on:(he,pe)=>(ae[he]=pe,()=>{delete ae[he]}),emit(he){var pe;"id"in he&&(null===(pe=ae[he.id])||void 0===pe||pe.call(ae,he))}}})(),_e={connecting:At?.connecting?[At.connecting]:[],opened:At?.opened?[At.opened]:[],connected:At?.connected?[At.connected]:[],ping:At?.ping?[At.ping]:[],pong:At?.pong?[At.pong]:[],message:At?.message?[le.emit,At.message]:[le.emit],closed:At?.closed?[At.closed]:[],error:At?.error?[At.error]:[]};return{onMessage:le.on,on(ae,he){const pe=_e[ae];return pe.push(he),()=>{pe.splice(pe.indexOf(he),1)}},emit(ae,...he){for(const pe of[..._e[ae]])pe(...he)}}})();function Xe(le){const _e=[Te.on("error",ae=>{_e.forEach(he=>he()),le(ae)}),Te.on("closed",ae=>{_e.forEach(he=>he()),le(ae)})]}let Ze,we=0,Be=!1,We=0,Ye=!1;function et(){return de.apply(this,arguments)}function de(){return(de=(0,o.Z)(function*(){const[le,_e]=yield Ze??(Ze=new Promise((pe,be)=>(0,o.Z)(function*(){if(Be){if(yield xt(We),!we)return Ze=void 0,be({code:1e3,reason:"All Subscriptions Gone"});We++}Te.emit("connecting");const Oe=new oe("function"==typeof P?yield P():P,Me);let Ae,Je;function ct(){isFinite(st)&&st>0&&(clearTimeout(Je),Je=setTimeout(()=>{Oe.readyState===oe.OPEN&&(Oe.send(V({type:ye.Ping})),Te.emit("ping",!1,void 0))},st))}Xe(Mt=>{Ze=void 0,clearTimeout(Ae),clearTimeout(Je),be(Mt),X(Mt)&&4499===Mt.code&&(Oe.close(4499,"Terminated"),Oe.onerror=null,Oe.onclose=null)}),Oe.onerror=Mt=>Te.emit("error",Mt),Oe.onclose=Mt=>Te.emit("closed",Mt),Oe.onopen=(0,o.Z)(function*(){try{Te.emit("opened",Oe);const Mt="function"==typeof se?yield se():se;if(Oe.readyState!==oe.OPEN)return;Oe.send(V(Mt?{type:ye.ConnectionInit,payload:Mt}:{type:ye.ConnectionInit},G)),isFinite(at)&&at>0&&(Ae=setTimeout(()=>{Oe.close(ve.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},at)),ct()}catch(Mt){Te.emit("error",Mt),Oe.close(ve.InternalClientError,Z(Mt instanceof Error?Mt.message:new Error(Mt).message,"Internal client error"))}});let mt=!1;Oe.onmessage=({data:Mt})=>{try{const St=Y(Mt,U);if(Te.emit("message",St),"ping"===St.type||"pong"===St.type)return Te.emit(St.type,!0,St.payload),void("pong"===St.type?ct():Ge||(Oe.send(V(St.payload?{type:ye.Pong,payload:St.payload}:{type:ye.Pong})),Te.emit("pong",!1,St.payload)));if(mt)return;if(St.type!==ye.ConnectionAck)throw new Error(`First message cannot be of type ${St.type}`);clearTimeout(Ae),mt=!0,Te.emit("connected",Oe,St.payload),Be=!1,We=0,pe([Oe,new Promise((Zt,$t)=>Xe($t))])}catch(St){Oe.onmessage=null,Te.emit("error",St),Oe.close(ve.BadResponse,Z(St instanceof Error?St.message:new Error(St).message,"Bad response"))}}})()));le.readyState===oe.CLOSING&&(yield _e);let ae=()=>{};const he=new Promise(pe=>ae=pe);return[le,ae,Promise.race([he.then(()=>{if(!we){const pe=()=>le.close(1e3,"Normal Closure");isFinite(Qe)&&Qe>0?setTimeout(()=>{!we&&le.readyState===oe.OPEN&&pe()},Qe):pe()}}),_e])]})).apply(this,arguments)}function K(le){if(X(le)&&(function Ie(me){return![1e3,1001,1006,1005,1012,1013,1013].includes(me)&&me>=1e3&&me<=1999}(le.code)||[ve.InternalServerError,ve.InternalClientError,ve.BadRequest,ve.BadResponse,ve.Unauthorized,ve.SubprotocolNotAcceptable,ve.SubscriberAlreadyExists,ve.TooManyInitialisationRequests].includes(le.code)))throw le;if(Ye)return!1;if(X(le)&&1e3===le.code)return we>0;if(!_t||We>=_t||!yt(le)||Pt?.(le))throw le;return Be=!0}return Ce||(0,o.Z)(function*(){for(we++;;)try{const[,,le]=yield et();yield le}catch(le){try{if(!K(le))return}catch(_e){return He?.(_e)}}})(),{on:Te.on,subscribe(le,_e){const ae=ft();let he=!1,pe=!1,be=()=>{we--,he=!0};return(0,o.Z)(function*(){for(we++;;)try{const[Oe,Ae,Je]=yield et();if(he)return Ae();const ct=Te.onMessage(ae,mt=>{switch(mt.type){case ye.Next:return void _e.next(mt.payload);case ye.Error:return pe=!0,he=!0,_e.error(mt.payload),void be();case ye.Complete:return he=!0,void be()}});return Oe.send(V({id:ae,type:ye.Subscribe,payload:le},G)),be=()=>{!he&&Oe.readyState===oe.OPEN&&Oe.send(V({id:ae,type:ye.Complete},G)),we--,he=!0,Ae()},void(yield Je.finally(ct))}catch(Oe){if(!K(Oe))return}})().then(()=>{pe||_e.complete()}).catch(Oe=>{_e.error(Oe)}),()=>{he||be()}},dispose:()=>(0,o.Z)(function*(){if(Ye=!0,Ze){const[le]=yield Ze;le.close(1e3,"Normal Closure")}})(),terminate(){Ze&&Te.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:`${Qe}${Ce}`,connectionParams:{authentication:`Bearer ${se}`}});const Ge=new b(this.graphQLWsClient),at=(0,r.V)(({query:xt})=>{const yt=(0,S.p$)(xt);return"OperationDefinition"===yt.kind&&"subscription"===yt.operation},Ge,st);return{link:w(({networkError:xt})=>{xt&&((xt?.result?.errors[0]?.message??"").includes("Token unauthorized")&&this.authService.logout(),console.log("NetworkError: ",xt))}).concat(at),cache:new h.h}}configureHttpOptions(se){return se||(se={}),{...se,...this.opSettings.useAuth&&{headers:{...this.getHeaders(),...se.headers}}}}configureUrl(se){return se.startsWith("/")?this.settings.Backend.backendHttpsURL+se:se}cacheEvict(se){var Ce=this;return(0,o.Z)(function*(){Ce.apollo.client.cache.evict({broadcast:!0,...se})})()}clearCache(){var se=this;return(0,o.Z)(function*(){yield se.apollo.client.clearStore()})()}withOpDomain(se){return se&&(this.opSettings.operationDomains=[se]),this}withOpDomains(se){return this.opSettings.operationDomains=se,this}withAuth(){return this.authService.authenticated&&(this.opSettings.useAuth=!0),this}watchQuery(se){const Ce=this.apollo.default().watchQuery(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}query(se){let Ce=this.apollo.default().query(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}mutate(se){let Ce=this.apollo.default().mutate(this.configureApolloOperationOptions(se));return this.resetOpSettings(),Ce}subscribe(se,Ce){let He=this.apollo.default().subscribe(this.configureApolloOperationOptions(se),Ce);return this.resetOpSettings(),He}get(se,Ce,He){return this.http.get(this.configureUrl(se),this.configureHttpOptions(He))}head(se,Ce,He){return this.http.head(this.configureUrl(se),this.configureHttpOptions(He))}post(se,Ce,He){return this.http.post(this.configureUrl(se),Ce,this.configureHttpOptions(He))}put(se,Ce,He){return this.http.put(this.configureUrl(se),Ce,this.configureHttpOptions(He))}delete(se,Ce){return this.http.delete(this.configureUrl(se),this.configureHttpOptions(Ce))}patch(se,Ce,He){return this.http.patch(this.configureUrl(se),Ce,this.configureHttpOptions(He))}request(se,Ce,He){return this.http.request(se,Ce,this.configureHttpOptions(He))}}return me.\u0275fac=function(se){return new(se||me)(lt.LFG($._M),lt.LFG(Re.e),lt.LFG(re.eN),lt.LFG(xe.g))},me.\u0275prov=lt.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})()},6527:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>d});var o=s(1769),r=s(8023),h=s(3528),_=s(4537),f=s(1444);let d=(()=>{class w{constructor(A){this.breakpointObserver=A,this.breakpointsMatched=[],this.onDestroy$=new r.x;for(let g=0;g{this.breakpointsMatched[g]=B.matches});this.breakpointsMatched.push(!0)}get currentBreakpoint(){for(let A=0;AB.name===A);return this.breakpointsMatched[g]}matchedBreakpointRange(A,g){if(o.bt.findIndex(b=>b.name===A)>o.bt.findIndex(b=>b.name===g)){let b=A;A=g,g=b}return this.matchedBreakpointOrAbove(A)&&this.matchedBreakpointOrBelow(g)}matchedBreakpointOrAbove(A,g=""){const B=o.bt.findIndex(m=>m.name===A);return!(B>0&&this.breakpointsMatched[B-1])}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}}return w.\u0275fac=function(A){return new(A||w)(_.LFG(f.Yg))},w.\u0275prov=_.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},6440:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>h});var o=s(4537),r=s(1656);let h=(()=>{class _{constructor(d){this.settings=d}isSelfHostedFile(d){return d.startsWith(this.settings.Backend.selfHostedPrefix)&&d.length>this.settings.Backend.selfHostedPrefix.length}selfHostedToRelativeFilePath(d){if(!this.isSelfHostedFile(d))throw new Error("Cannot get self hosted filepath from filepath that isn't self hosted.");return d.substring(this.settings.Backend.selfHostedPrefix.length)}getFileLink(d){return d?this.isSelfHostedFile(d)?this.getSelfHostedFileLink(d):d:""}getSelfHostedFileLink(d){const w=this.selfHostedToRelativeFilePath(d);return this.settings.Backend.backendHttpsURL+this.settings.Backend.cdnRelativePath+"/"+w}}return _.\u0275fac=function(d){return new(d||_)(o.LFG(r.g))},_.\u0275prov=o.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},5596:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>d});var o=s(8692),r=s(8023),h=s(8655),_=s(8198),f=s(4537);let d=(()=>{class w extends((0,h.AF)(_.tA)){constructor(A){super(),this.document=A,this.onClick$=new r.x,this.clickEvent=g=>{this.onClick$.next(g)},this.document.addEventListener("click",this.clickEvent)}ngOnDestroy(){super.ngOnDestroy(),this.document.removeEventListener("click",this.clickEvent)}}return w.\u0275fac=function(A){return new(A||w)(f.LFG(o.K0))},w.\u0275prov=f.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},9883:(Ue,J,s)=>{"use strict";s.d(J,{f:()=>A});var o=s(8239),r=s(3556),h=s(3176),_=s(274),f=s(8023),d=s(7445),w=s(4537),L=s(7545);let A=(()=>{class g{constructor(m,b){this.securityService=m,this.backend=b,this.onDestroy$=new f.x}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}getAddableUserRoles(){var m=this;return(0,o.Z)(function*(){const b=yield m.getUserRoles();let S=(0,h.BS)(b).filter(v=>h.Kh[v].type.includes(h.GD.User));return b.includes(r.LO.SuperAdmin)&&S.push(r.LO.SuperAdmin),S})()}getDisabledUserRoles(){var m=this;return(0,o.Z)(function*(){const b=yield m.getUserRoles();let S=(0,h.o1)(b);return b.includes(r.LO.SuperAdmin)&&(S=S.filter(v=>v!=r.LO.SuperAdmin)),S.includes(r.LO.User)||S.push(r.LO.User),S})()}getUserRoles(){var m=this;return(0,o.Z)(function*(){if(!m.securityService.securityContext?.userId)return[];const b=yield(0,d.z)(m.backend.withAuth().query({query:_.Ps` + query GetUserRoles($filter: UserFilterInput!) { + users(filter: $filter) { + roles { + roleCode + } + } + } + `,variables:{filter:{id:{eq:m.securityService.securityContext.userId}}},fetchPolicy:"cache-first"}));return b.error||0===b.data.users.length?[]:b.data.users[0].roles.map(v=>v.roleCode)})()}getAddableProjectRoles(m){var b=this;return(0,o.Z)(function*(){const[S,v]=yield Promise.all([b.getUserRoles(),b.getProjectRoles(m)]),H=[...S,...v];return(0,h.BS)(H).filter(x=>h.Kh[x].type.includes(h.GD.ProjectMember))})()}getDisabledProjectRoles(m){var b=this;return(0,o.Z)(function*(){const[S,v]=yield Promise.all([b.getUserRoles(),b.getProjectRoles(m)]),H=[...S,...v],x=(0,h.o1)(H).filter(te=>h.Kh[te].type.includes(h.GD.ProjectMember));return x.includes(r.LO.ProjectMember)||x.push(r.LO.ProjectMember),x})()}getProjectRoles(m){var b=this;return(0,o.Z)(function*(){if(!b.securityService.securityContext?.userId)return[];const S=yield(0,d.z)(b.backend.withAuth().query({query:_.Ps` + query GetProjectRoles($filter: ProjectMemberFilterInput!) { + projectMembers(filter: $filter) { + roles { + roleCode + } + } + } + `,variables:{filter:{userId:{eq:b.securityService.securityContext.userId},projectId:{eq:m}}},fetchPolicy:"cache-first"}));return S.error||0==S.data.projectMembers.length?[]:S.data.projectMembers[0].roles.map(H=>H.roleCode)})()}getAddableEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const[b,S]=yield Promise.all([m.getUserRoles(),m.getEBoardTermRoles()]),v=[...b,...S];return(0,h.BS)(v).filter(H=>h.Kh[H].type.includes(h.GD.EBoard))})()}getDisabledEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const[b,S]=yield Promise.all([m.getUserRoles(),m.getEBoardTermRoles()]),v=[...b,...S],H=(0,h.o1)(v).filter(x=>h.Kh[x].type.includes(h.GD.EBoard));return H.includes(r.LO.Eboard)||H.push(r.LO.Eboard),H})()}getEBoardTermRoles(){var m=this;return(0,o.Z)(function*(){const b=yield(0,d.z)(m.backend.withAuth().query({query:_.Ps` + query GetUserEBoardTermRoles($filter: UserFilterInput!) { + users(filter: $filter) { + eBoard { + terms { + roles { + roleCode + } + } + } + } + } + `,variables:{filter:{id:{eq:m.securityService.securityContext?.userId}}},fetchPolicy:"cache-first"}));if(b.error||0===b.data.users.length||!b.data.users[0].eBoard)return[];let S=[];for(const v of b.data.users[0].eBoard.terms)S=S.concat(v.roles.map(H=>H.roleCode));return S})()}}return g.\u0275fac=function(m){return new(m||g)(w.LFG(L.Il),w.LFG(L.v$))},g.\u0275prov=w.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},1241:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>B});var o=s(8239),r=s(3176),h=s(274),_=s(8023),f=s(4121),d=s(9676),w=s(3528),L=s(7445),A=s(4537),g=s(831);let B=(()=>{class m{constructor(S){this.backend=S,this.onDestroy$=new _.x,this.dataFetchedSubject=new f.X(void 0),this.dataFetched$=this.dataFetchedSubject.asObservable(),this.fetchData()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}clearCache(){var S=this;return(0,o.Z)(function*(){yield S.fetchData(!0)})()}fetchData(S=!1){var v=this;return(0,o.Z)(function*(){v.fetchQuery=v.backend.withAuth().query({query:h.Ps` + query GetSecurityContextAndPolicy($clearCache: Boolean) { + securityContext(clearCache: $clearCache) + securityPolicy + } + `,variables:{clearCache:S},fetchPolicy:"no-cache"}).pipe((0,d.P)(),(0,w.R)(v.onDestroy$));const H=yield(0,L.z)(v.fetchQuery);H.error||(v.securityContext=H.data.securityContext,v.securityPolicy=H.data.securityPolicy,v.fetchQuery=void 0,v.dataFetchedSubject.next(H.data))})()}waitUntilReady(){var S=this;return(0,o.Z)(function*(){S.fetchQuery&&(yield(0,L.z)(S.fetchQuery))})()}makePermCalc(){return new r.WL(this.securityContext)}get permissions(){return this.securityContext?.permissions}hasCompletePermission(S){const v=this.securityContext?.permissions[S];return(0,r.JP)(v)?!0===v:!!(0,r.eb)(v)&&!0===v.baseDomain}getOpDomainsFromPermissionHelper(S){return(0,r.JP)(S)?!0===S?[]:S:(0,r.eb)(S)?this.getOpDomainsFromPermissionHelper(S.baseDomain):[]}getOpDomainsFromPermission(S){if(!this.hasCompletePermission(S))try{return this.getOpDomainsFromPermissionHelper(this.securityContext?.permissions[S])}catch(v){throw v instanceof Error&&(v.message+=` Permission: "${S}".`),v}}}return m.\u0275fac=function(S){return new(S||m)(A.LFG(g.v))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},3794:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>w});var o=s(3178),r=s(4970),h=s(7969),_=s(4882),f=s(4537),d=s(5998);let w=(()=>{class L{constructor(g,B,m,b){this.title=g,this.meta=B,this.router=m,this.activatedRoute=b}ngOnInit(){this.router.events.pipe((0,r.h)(g=>g instanceof o.m2),(0,h.U)(()=>this.activatedRoute),(0,h.U)(g=>{for(;g.firstChild;)g=g.firstChild;return g}),(0,r.h)(g=>"primary"===g.outlet),(0,_.z)(g=>g.data)).subscribe(g=>{this.update(g)})}updateTitle(g){this.title.setTitle(g)}updateDescription(g){this.meta.updateTag({name:"description",content:g})}updateTwitterCard(g){this.meta.updateTag({name:"twitter:card",content:g})}updateOgTitle(g){this.meta.updateTag({name:"og:url",content:g})}updateOgType(g){this.meta.updateTag({name:"og:type",content:g})}updateOgUrl(g){this.meta.updateTag({name:"og:url",content:g})}updateOgImage(g){this.meta.updateTag({name:"og:image",content:g})}updateOgDescription(g){this.meta.updateTag({name:"description",content:g})}updateAllDescription(g){this.updateDescription(g),this.updateOgDescription(g)}updateAllTitle(g){this.updateTitle(g),this.updateOgTitle(g)}update(g){g.titleAll?this.updateAllTitle(g.titleAll):(this.updateTitle(g.title??"RUCOGS"),this.updateOgTitle(g.ogTitle??"RUCOGS")),g.descriptionAll?this.updateAllDescription(g.descriptionAll):(this.updateDescription(g.description??"Creation of Game Society at Rutgers"),this.updateOgDescription(g.ogDescription??"Creation of Game Society at Rutgers")),this.updateOgUrl(g.ogUrl??window.location.href),g.ogImage?(g.ogImage.includes("://")||(g.ogImage=window.location.origin+"/"+g.ogImage),this.updateOgImage(g.ogImage)):this.updateOgImage(""),this.updateOgType(g.ogType??"website"),this.updateTwitterCard(g.twitterCard??"summary")}}return L.\u0275fac=function(g){return new(g||L)(f.LFG(d.Dx),f.LFG(d.h_),f.LFG(o.F0),f.LFG(o.gz))},L.\u0275prov=f.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})()},1769:(Ue,J,s)=>{"use strict";s.d(J,{Fd:()=>f,Fp:()=>_,bt:()=>d.b,TL:()=>L,$8:()=>A,by:()=>w,VB:()=>g,Mc:()=>B});var o=s(8692),r=s(3451),h=s(4537);const _="assets/blog-page-articles/",f=[new r.dg("2022/alexander-farewell","Alexander Xie - Presidental Farewell","It's been a pleasure being the president of COGS.","May 9, 2022","assets/images/banner.png",["Alexander Xie"],["Club","Article"]),new r.dg("2022/sgj-fall-2022","Scarlet Game Jam Fall 2022","Recounting how scarlet game jam went.","Nov 20, 2022","assets/blog-page-articles/2022/assets/sgj-fall.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2022/sgj-spring-2022","Scarlet Game Jam Spring 2022","Recounting how scarlet game jam went.","April 20, 2022","assets/blog-page-articles/2022/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2023/sgj-fall-2023","Scarlet Game Jam Fall 2023","Recounting how scarlet game jam went.","December 28, 2023","assets/blog-page-articles/2023/assets/sgj-fall.png",["Alan Tong"],["SGJ","event","fall"]),new r.dg("2023/sgj-spring-2023","Scarlet Game Jam Spring 2023","Recounting how scarlet game jam went.","April 22, 2023","assets/blog-page-articles/2023/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"]),new r.dg("2024/sgj-spring-2024","Scarlet Game Jam Spring 2024","Recounting how scarlet game jam went.","April 17, 2024","assets/blog-page-articles/2024/assets/sgj-spring.png",["Alan Tong"],["SGJ","event","spring"])];var d=s(8505);const w="assets/pictures-page-images/",L="assets/pictures-page-images/previews/",A=[new r.AE("2021/2_fall/1_first-meeting-1.png","",[]),new r.AE("2021/2_fall/1_first-meeting-11.png","",[]),new r.AE("2021/2_fall/1_first-meeting-12.png","",[]),new r.AE("2021/2_fall/1_first-meeting-13.png","",[]),new r.AE("2021/2_fall/1_first-meeting-16.png","",[]),new r.AE("2021/2_fall/1_first-meeting-2.png","",[]),new r.AE("2021/2_fall/1_first-meeting-5.png","",[]),new r.AE("2021/2_fall/1_first-meeting-panorama-2.png","",[]),new r.AE("2021/2_fall/1_first-meeting-panorama.png","",[]),new r.AE("2021/2_fall/2_sgj-10.png","",[]),new r.AE("2021/2_fall/2_sgj-17.png","",[]),new r.AE("2021/2_fall/2_sgj-18.png","",[]),new r.AE("2021/2_fall/2_sgj-19.png","",[]),new r.AE("2021/2_fall/2_sgj-20.png","",[]),new r.AE("2021/2_fall/2_sgj-2021-the-perished.png","",[]),new r.AE("2021/2_fall/2_sgj-21.png","",[]),new r.AE("2021/2_fall/2_sgj-22.png","",[]),new r.AE("2021/2_fall/2_sgj-23.png","",[]),new r.AE("2021/2_fall/2_sgj-24.png","",[]),new r.AE("2021/2_fall/2_sgj-25.png","",[]),new r.AE("2021/2_fall/2_sgj-26.png","",[]),new r.AE("2021/2_fall/2_sgj-27.png","",[]),new r.AE("2021/2_fall/2_sgj-28.png","",[]),new r.AE("2021/2_fall/2_sgj-29.png","",[]),new r.AE("2021/2_fall/2_sgj-3.png","",[]),new r.AE("2021/2_fall/2_sgj-30.png","",[]),new r.AE("2021/2_fall/2_sgj-31.png","",[]),new r.AE("2021/2_fall/2_sgj-32.png","",[]),new r.AE("2021/2_fall/2_sgj-33.png","",[]),new r.AE("2021/2_fall/2_sgj-34.png","",[]),new r.AE("2021/2_fall/2_sgj-35.png","",[]),new r.AE("2021/2_fall/2_sgj-36.png","",[]),new r.AE("2021/2_fall/2_sgj-37.png","",[]),new r.AE("2021/2_fall/2_sgj-38.png","",[]),new r.AE("2021/2_fall/2_sgj-39.png","",[]),new r.AE("2021/2_fall/2_sgj-4.png","",[]),new r.AE("2021/2_fall/2_sgj-40.png","",[]),new r.AE("2021/2_fall/2_sgj-41.png","",[]),new r.AE("2021/2_fall/2_sgj-42.png","",[]),new r.AE("2021/2_fall/2_sgj-43.png","",[]),new r.AE("2021/2_fall/2_sgj-44.png","",[]),new r.AE("2021/2_fall/2_sgj-45.png","",[]),new r.AE("2021/2_fall/2_sgj-46.png","",[]),new r.AE("2021/2_fall/2_sgj-47.png","",[]),new r.AE("2021/2_fall/2_sgj-48.png","",[]),new r.AE("2021/2_fall/2_sgj-49.png","",[]),new r.AE("2021/2_fall/2_sgj-50.png","",[]),new r.AE("2021/2_fall/2_sgj-51.png","",[]),new r.AE("2021/2_fall/2_sgj-52.png","",[]),new r.AE("2021/2_fall/2_sgj-6.png","",[]),new r.AE("2021/2_fall/2_sgj-7.png","",[]),new r.AE("2021/2_fall/2_sgj-8.png","",[]),new r.AE("2021/2_fall/2_sgj-9.png","",[]),new r.AE("2022/1_spring/1_sgj-1.png","",[]),new r.AE("2022/1_spring/1_sgj-10.png","",[]),new r.AE("2022/1_spring/1_sgj-11.png","",[]),new r.AE("2022/1_spring/1_sgj-12.png","",[]),new r.AE("2022/1_spring/1_sgj-13.png","",[]),new r.AE("2022/1_spring/1_sgj-14.png","",[]),new r.AE("2022/1_spring/1_sgj-2.png","",[]),new r.AE("2022/1_spring/1_sgj-3.png","",[]),new r.AE("2022/1_spring/1_sgj-4.png","",[]),new r.AE("2022/1_spring/1_sgj-5.png","",[]),new r.AE("2022/1_spring/1_sgj-6.png","",[]),new r.AE("2022/1_spring/1_sgj-7.png","",[]),new r.AE("2022/1_spring/1_sgj-8.png","",[]),new r.AE("2022/1_spring/1_sgj-9.png","",[]),new r.AE("2022/1_spring/1_sgj-finale.png","",[]),new r.AE("2022/1_spring/1_sgj-group-photo.png","",[]),new r.AE("2022/2_fall/1_first-meeting-1.png","",[]),new r.AE("2022/2_fall/1_first-meeting-2.png","",[]),new r.AE("2022/2_fall/1_first-meeting-panorama.png","",[]),new r.AE("2022/2_fall/2_sgj-1.png","",[]),new r.AE("2022/2_fall/2_sgj-2.png","",[]),new r.AE("2022/2_fall/2_sgj-3.png","",[]),new r.AE("2022/2_fall/2_sgj-4.png","",[]),new r.AE("2022/2_fall/2_sgj-5.png","",[]),new r.AE("2022/2_fall/2_sgj-6.png","",[]),new r.AE("2022/2_fall/2_sgj-7.png","",[]),new r.AE("2022/2_fall/2_sgj-8.png","",[]),new r.AE("2022/2_fall/2_sgj-9.png","",[]),new r.AE("2022/2_fall/2_sgj-delivery.png","",[]),new r.AE("2022/2_fall/2_sgj-group-photo.png","",[]),new r.AE("2023/1_spring/1_waffle-games-2.png","",[]),new r.AE("2023/1_spring/1_waffle-games-3.png","",[]),new r.AE("2023/1_spring/1_waffle-games-4.png","",[]),new r.AE("2023/1_spring/1_waffle-games-5.png","",[]),new r.AE("2023/1_spring/1_waffle-games-6.png","",[]),new r.AE("2023/1_spring/1_waffle-games-7.png","",[]),new r.AE("2023/1_spring/1_waffle-games-8.png","",[]),new r.AE("2023/1_spring/2_sgj-1.png","",[]),new r.AE("2023/1_spring/2_sgj-10.png","",[]),new r.AE("2023/1_spring/2_sgj-11.png","",[]),new r.AE("2023/1_spring/2_sgj-12.png","",[]),new r.AE("2023/1_spring/2_sgj-13.png","",[]),new r.AE("2023/1_spring/2_sgj-14.png","",[]),new r.AE("2023/1_spring/2_sgj-15.png","",[]),new r.AE("2023/1_spring/2_sgj-16.png","",[]),new r.AE("2023/1_spring/2_sgj-17.png","",[]),new r.AE("2023/1_spring/2_sgj-18.png","",[]),new r.AE("2023/1_spring/2_sgj-19.png","",[]),new r.AE("2023/1_spring/2_sgj-2.png","",[]),new r.AE("2023/1_spring/2_sgj-20.png","",[]),new r.AE("2023/1_spring/2_sgj-21.png","",[]),new r.AE("2023/1_spring/2_sgj-22.png","",[]),new r.AE("2023/1_spring/2_sgj-23.png","",[]),new r.AE("2023/1_spring/2_sgj-24.png","",[]),new r.AE("2023/1_spring/2_sgj-25.png","",[]),new r.AE("2023/1_spring/2_sgj-26.png","",[]),new r.AE("2023/1_spring/2_sgj-27.png","",[]),new r.AE("2023/1_spring/2_sgj-28.png","",[]),new r.AE("2023/1_spring/2_sgj-29.png","",[]),new r.AE("2023/1_spring/2_sgj-3.png","",[]),new r.AE("2023/1_spring/2_sgj-30.png","",[]),new r.AE("2023/1_spring/2_sgj-31.png","",[]),new r.AE("2023/1_spring/2_sgj-32.png","",[]),new r.AE("2023/1_spring/2_sgj-33.png","",[]),new r.AE("2023/1_spring/2_sgj-34.png","",[]),new r.AE("2023/1_spring/2_sgj-35.png","",[]),new r.AE("2023/1_spring/2_sgj-36.png","",[]),new r.AE("2023/1_spring/2_sgj-37.png","",[]),new r.AE("2023/1_spring/2_sgj-38.png","",[]),new r.AE("2023/1_spring/2_sgj-39.png","",[]),new r.AE("2023/1_spring/2_sgj-4.png","",[]),new r.AE("2023/1_spring/2_sgj-40.png","",[]),new r.AE("2023/1_spring/2_sgj-41.png","",[]),new r.AE("2023/1_spring/2_sgj-42.png","",[]),new r.AE("2023/1_spring/2_sgj-43.png","",[]),new r.AE("2023/1_spring/2_sgj-44.png","",[]),new r.AE("2023/1_spring/2_sgj-45.png","",[]),new r.AE("2023/1_spring/2_sgj-46.png","",[]),new r.AE("2023/1_spring/2_sgj-47.png","",[]),new r.AE("2023/1_spring/2_sgj-5.png","",[]),new r.AE("2023/1_spring/2_sgj-6.png","",[]),new r.AE("2023/1_spring/2_sgj-7.png","",[]),new r.AE("2023/1_spring/2_sgj-8.png","",[]),new r.AE("2023/1_spring/2_sgj-9.png","",[]),new r.AE("2023/1_spring/2_sgj-panorama.png","",[]),new r.AE("2023/1_spring/2_sgj-whisk.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-1.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-2.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-3.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-4.png","",[]),new r.AE("2023/1_spring/3_scarlet-classic-5.png","",[]),new r.AE("2023/2_fall/1_sgj-1.png","",[]),new r.AE("2023/2_fall/1_sgj-2.png","",[]),new r.AE("2023/2_fall/1_sgj-3.png","",[]),new r.AE("2023/2_fall/1_sgj-4.png","",[]),new r.AE("2023/2_fall/1_sgj-5.png","",[]),new r.AE("2023/2_fall/1_sgj-6.png","",[]),new r.AE("2023/2_fall/1_sgj-7.png","",[]),new r.AE("2023/2_fall/1_sgj-everyone.png","",[]),new r.AE("2023/2_fall/3_final-2.png","",[]),new r.AE("2023/2_fall/3_final-3.png","",[]),new r.AE("2023/2_fall/3_final-4.png","",[]),new r.AE("2023/2_fall/3_final-5.png","",[]),new r.AE("2023/2_fall/3_final-6.png","",[]),new r.AE("2023/2_fall/3_final-7.png","",[]),new r.AE("2023/2_fall/3_final-8.png","",[]),new r.AE("2023/2_fall/3_final-9.png","",[]),new r.AE("2024/1_spring/PXL_20240414_231132400.png","",[]),new r.AE("2024/1_spring/PXL_20240414_231543688PORTRAIT.png","",[]),new r.AE("2024/1_spring/PXL_20240415_000548846LONG_EXPOSURE-02ORIGINAL.png","",[]),new r.AE("2024/1_spring/PXL_20240415_003158359.png","",[]),new r.AE("2024/1_spring/sgj-spring-photo.png","",[])],g={youtube:{name:"Youtube",icon:"youtube"},twitter:{name:"Twitter",icon:"twitter"},itchio:{name:"Itch.io",icon:"itchdotio"},pixiv:{name:"Pixiv",icon:"pixiv"},instagram:{name:"Instagram",icon:"instagram"},website:{name:"Website",icon:"link"},github:{name:"Github",icon:"github"},steam:{name:"Steam",icon:"steam"},googlePlay:{name:"Google Play",icon:"googlePlay"},appleStore:{name:"Apple Store",icon:"appStore"},soundCloud:{name:"Sound Cloud",icon:"soundCloud"},spotify:{name:"Spotify",icon:"spotify"},twitch:{name:"Twitch",icon:"twitch"},linkedIn:{name:"LinkedIn",icon:"linkedIn"}};let B=(()=>{class m{}return m.\u0275fac=function(S){return new(S||m)},m.\u0275mod=h.oAB({type:m}),m.\u0275inj=h.cJS({imports:[o.ez,r.z9]}),m})()},8505:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>o,b:()=>r});const o={Mobile:"MOBILE",MediumMobile:"MEDIUM_MOBILE",TinyMobile:"TINY_MOBILE",SmallDesktop:"SMALL_DESKTOP",Desktop:"DESKTOP"},r=[{name:o.TinyMobile,maxWidth:"400px"},{name:o.MediumMobile,maxWidth:"700px"},{name:o.Mobile,maxWidth:"1250px"},{name:o.SmallDesktop,maxWidth:"1420px"},{name:o.Desktop,maxWidth:""}]},3556:(Ue,J,s)=>{"use strict";s.d(J,{LO:()=>_,Nv:()=>o,PA:()=>r,f0:()=>f,y3:()=>h});const o={Closed:"CLOSED",Invite:"INVITE",Open:"OPEN"},r={Incoming:"INCOMING",Outgoing:"OUTGOING"},h={CreateProject:"CREATE_PROJECT",CreateProjectMember:"CREATE_PROJECT_MEMBER",CreateUser:"CREATE_USER",DebugDiscordBot:"DEBUG_DISCORD_BOT",DeleteProject:"DELETE_PROJECT",DeleteUser:"DELETE_USER",JoinProject:"JOIN_PROJECT",ManageEboard:"MANAGE_EBOARD",ManageEboardRoles:"MANAGE_EBOARD_ROLES",ManageMetadata:"MANAGE_METADATA",ManageProjectDiscord:"MANAGE_PROJECT_DISCORD",ManageProjectInvites:"MANAGE_PROJECT_INVITES",ManageProjectMember:"MANAGE_PROJECT_MEMBER",ManageProjectMemberRoles:"MANAGE_PROJECT_MEMBER_ROLES",ManageUserRoles:"MANAGE_USER_ROLES",ReadUserPrivate:"READ_USER_PRIVATE",RutgersVerified:"RUTGERS_VERIFIED",TransferProjectOwnership:"TRANSFER_PROJECT_OWNERSHIP",UpdateProject:"UPDATE_PROJECT",UpdateUser:"UPDATE_USER",UpdateUserPrivate:"UPDATE_USER_PRIVATE"},_={Artist:"ARTIST",BotDeveloper:"BOT_DEVELOPER",ClubGraphicArtist:"CLUB_GRAPHIC_ARTIST",CommunicationsSpecialist:"COMMUNICATIONS_SPECIALIST",CommunityManager:"COMMUNITY_MANAGER",Eboard:"EBOARD",EventCoordinator:"EVENT_COORDINATOR",GameDesigner:"GAME_DESIGNER",MerchandiseManager:"MERCHANDISE_MANAGER",Moderator:"MODERATOR",Musician:"MUSICIAN",PortfolioManager:"PORTFOLIO_MANAGER",President:"PRESIDENT",PreProfessionalManager:"PRE_PROFESSIONAL_MANAGER",Programmer:"PROGRAMMER",ProjectMember:"PROJECT_MEMBER",ProjectOfficer:"PROJECT_OFFICER",ProjectOwner:"PROJECT_OWNER",PromotionsManager:"PROMOTIONS_MANAGER",SocialmediaManager:"SOCIALMEDIA_MANAGER",SoundDesigner:"SOUND_DESIGNER",SuperAdmin:"SUPER_ADMIN",Treasurer:"TREASURER",User:"USER",VicePresident:"VICE_PRESIDENT",Webmaster:"WEBMASTER",Writer:"WRITER"},f={Delete:"DELETE",Insert:"INSERT"}},9630:(Ue,J,s)=>{"use strict";var o=s(5998),r=s(4537),_=s(1444),f=s(4091);function w(N){return new r.vHH(3e3,!1)}function se(){return typeof window<"u"&&typeof window.document<"u"}function Ce(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function He(N){switch(N.length){case 0:return new f.ZN;case 1:return N[0];default:return new f.ZE(N)}}function Qe(N,u,c,E,ce=new Map,Ne=new Map){const ot=[],dt=[];let vt=-1,Ot=null;if(E.forEach(Bt=>{const Gt=Bt.get("offset"),bn=Gt==vt,mn=bn&&Ot||new Map;Bt.forEach((fn,pn)=>{let Tn=pn,Rn=fn;if("offset"!==pn)switch(Tn=u.normalizePropertyName(Tn,ot),Rn){case f.k1:Rn=ce.get(pn);break;case f.l3:Rn=Ne.get(pn);break;default:Rn=u.normalizeStyleValue(pn,Tn,Rn,ot)}mn.set(Tn,Rn)}),bn||dt.push(mn),Ot=mn,vt=Gt}),ot.length)throw function j(N){return new r.vHH(3502,!1)}();return dt}function st(N,u,c,E){switch(u){case"start":N.onStart(()=>E(c&&Ge(c,"start",N)));break;case"done":N.onDone(()=>E(c&&Ge(c,"done",N)));break;case"destroy":N.onDestroy(()=>E(c&&Ge(c,"destroy",N)))}}function Ge(N,u,c){const Ne=at(N.element,N.triggerName,N.fromState,N.toState,u||N.phaseName,c.totalTime??N.totalTime,!!c.disabled),ot=N._data;return null!=ot&&(Ne._data=ot),Ne}function at(N,u,c,E,ce="",Ne=0,ot){return{element:N,triggerName:u,fromState:c,toState:E,phaseName:ce,totalTime:Ne,disabled:!!ot}}function _t(N,u,c){let E=N.get(u);return E||N.set(u,E=c),E}function xt(N){const u=N.indexOf(":");return[N.substring(1,u),N.slice(u+1)]}let yt=(N,u)=>!1,Pt=(N,u,c)=>[],At=null;function nt(N){const u=N.parentNode||N.host;return u===At?null:u}(Ce()||typeof Element<"u")&&(se()?(At=(()=>document.documentElement)(),yt=(N,u)=>{for(;u;){if(u===N)return!0;u=nt(u)}return!1}):yt=(N,u)=>N.contains(u),Pt=(N,u,c)=>{if(c)return Array.from(N.querySelectorAll(u));const E=N.querySelector(u);return E?[E]:[]});let U=null,ie=!1;const Ze=yt,we=Pt;let We=(()=>{class N{validateStyleProperty(c){return function oe(N){U||(U=function Xe(){return typeof document<"u"?document.body:null}()||{},ie=!!U.style&&"WebkitAppearance"in U.style);let u=!0;return U.style&&!function G(N){return"ebkit"==N.substring(1,6)}(N)&&(u=N in U.style,!u&&ie&&(u="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in U.style)),u}(c)}matchesElement(c,E){return!1}containsElement(c,E){return Ze(c,E)}getParentElement(c){return nt(c)}query(c,E,ce){return we(c,E,ce)}computeStyle(c,E,ce){return ce||""}animate(c,E,ce,Ne,ot,dt=[],vt){return new f.ZN(ce,Ne)}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})(),Ye=(()=>{class N{}return N.NOOP=new We,N})();const le="ng-enter",_e="ng-leave",ae="ng-trigger",he=".ng-trigger",pe="ng-animating",be=".ng-animating";function Oe(N){if("number"==typeof N)return N;const u=N.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Ae(parseFloat(u[1]),u[2])}function Ae(N,u){return"s"===u?1e3*N:N}function Je(N,u,c){return N.hasOwnProperty("duration")?N:function ct(N,u,c){let ce,Ne=0,ot="";if("string"==typeof N){const dt=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===dt)return u.push(w()),{duration:0,delay:0,easing:""};ce=Ae(parseFloat(dt[1]),dt[2]);const vt=dt[3];null!=vt&&(Ne=Ae(parseFloat(vt),dt[4]));const Ot=dt[5];Ot&&(ot=Ot)}else ce=N;if(!c){let dt=!1,vt=u.length;ce<0&&(u.push(function L(){return new r.vHH(3100,!1)}()),dt=!0),Ne<0&&(u.push(function A(){return new r.vHH(3101,!1)}()),dt=!0),dt&&u.splice(vt,0,w())}return{duration:ce,delay:Ne,easing:ot}}(N,u,c)}function mt(N,u={}){return Object.keys(N).forEach(c=>{u[c]=N[c]}),u}function Mt(N){const u=new Map;return Object.keys(N).forEach(c=>{u.set(c,N[c])}),u}function $t(N,u=new Map,c){if(c)for(let[E,ce]of c)u.set(E,ce);for(let[E,ce]of N)u.set(E,ce);return u}function nn(N,u,c){return c?u+":"+c+";":""}function ln(N){let u="";for(let c=0;c{const Ne=Fe(ce);c&&!c.has(ce)&&c.set(ce,N.style[Ne]),N.style[Ne]=E}),Ce()&&ln(N))}function en(N,u){N.style&&(u.forEach((c,E)=>{const ce=Fe(E);N.style[ce]=""}),Ce()&&ln(N))}function Rt(N){return Array.isArray(N)?1==N.length?N[0]:(0,f.vP)(N):N}const ut=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pe(N){let u=[];if("string"==typeof N){let c;for(;c=ut.exec(N);)u.push(c[1]);ut.lastIndex=0}return u}function I(N,u,c){const E=N.toString(),ce=E.replace(ut,(Ne,ot)=>{let dt=u[ot];return null==dt&&(c.push(function B(N){return new r.vHH(3003,!1)}()),dt=""),dt.toString()});return ce==E?N:ce}function O(N){const u=[];let c=N.next();for(;!c.done;)u.push(c.value),c=N.next();return u}const Q=/-+([a-z0-9])/g;function Fe(N){return N.replace(Q,(...u)=>u[1].toUpperCase())}function rt(N){return N.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Lt(N,u,c){switch(u.type){case 7:return N.visitTrigger(u,c);case 0:return N.visitState(u,c);case 1:return N.visitTransition(u,c);case 2:return N.visitSequence(u,c);case 3:return N.visitGroup(u,c);case 4:return N.visitAnimate(u,c);case 5:return N.visitKeyframes(u,c);case 6:return N.visitStyle(u,c);case 8:return N.visitReference(u,c);case 9:return N.visitAnimateChild(u,c);case 10:return N.visitAnimateRef(u,c);case 11:return N.visitQuery(u,c);case 12:return N.visitStagger(u,c);default:throw function m(N){return new r.vHH(3004,!1)}()}}function Kt(N,u){return window.getComputedStyle(N)[u]}function Jn(N,u){const c=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(E=>function Bn(N,u,c){if(":"==N[0]){const vt=function zn(N,u){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,E)=>parseFloat(E)>parseFloat(c);case":decrement":return(c,E)=>parseFloat(E) *"}}(N,c);if("function"==typeof vt)return void u.push(vt);N=vt}const E=N.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return c.push(function ye(N){return new r.vHH(3015,!1)}()),u;const ce=E[1],Ne=E[2],ot=E[3];u.push(xn(ce,ot));"<"==Ne[0]&&!("*"==ce&&"*"==ot)&&u.push(xn(ot,ce))}(E,c,u)):c.push(N),c}const Vn=new Set(["true","1"]),qn=new Set(["false","0"]);function xn(N,u){const c=Vn.has(N)||qn.has(N),E=Vn.has(u)||qn.has(u);return(ce,Ne)=>{let ot="*"==N||N==ce,dt="*"==u||u==Ne;return!ot&&c&&"boolean"==typeof ce&&(ot=ce?Vn.has(N):qn.has(N)),!dt&&E&&"boolean"==typeof Ne&&(dt=Ne?Vn.has(u):qn.has(u)),ot&&dt}}const Yn=new RegExp("s*:selfs*,?","g");function ni(N,u,c,E){return new ei(N).build(u,c,E)}class ei{constructor(u){this._driver=u}build(u,c,E){const ce=new Fi(c);return this._resetContextStyleTimingState(ce),Lt(this,Rt(u),ce)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,c){let E=c.queryCount=0,ce=c.depCount=0;const Ne=[],ot=[];return"@"==u.name.charAt(0)&&c.errors.push(function S(){return new r.vHH(3006,!1)}()),u.definitions.forEach(dt=>{if(this._resetContextStyleTimingState(c),0==dt.type){const vt=dt,Ot=vt.name;Ot.toString().split(/\s*,\s*/).forEach(Bt=>{vt.name=Bt,Ne.push(this.visitState(vt,c))}),vt.name=Ot}else if(1==dt.type){const vt=this.visitTransition(dt,c);E+=vt.queryCount,ce+=vt.depCount,ot.push(vt)}else c.errors.push(function v(){return new r.vHH(3007,!1)}())}),{type:7,name:u.name,states:Ne,transitions:ot,queryCount:E,depCount:ce,options:null}}visitState(u,c){const E=this.visitStyle(u.styles,c),ce=u.options&&u.options.params||null;if(E.containsDynamicStyles){const Ne=new Set,ot=ce||{};E.styles.forEach(dt=>{dt instanceof Map&&dt.forEach(vt=>{Pe(vt).forEach(Ot=>{ot.hasOwnProperty(Ot)||Ne.add(Ot)})})}),Ne.size&&(O(Ne.values()),c.errors.push(function H(N,u){return new r.vHH(3008,!1)}()))}return{type:0,name:u.name,style:E,options:ce?{params:ce}:null}}visitTransition(u,c){c.queryCount=0,c.depCount=0;const E=Lt(this,Rt(u.animation),c);return{type:1,matchers:Jn(u.expr,c.errors),animation:E,queryCount:c.queryCount,depCount:c.depCount,options:Oi(u.options)}}visitSequence(u,c){return{type:2,steps:u.steps.map(E=>Lt(this,E,c)),options:Oi(u.options)}}visitGroup(u,c){const E=c.currentTime;let ce=0;const Ne=u.steps.map(ot=>{c.currentTime=E;const dt=Lt(this,ot,c);return ce=Math.max(ce,c.currentTime),dt});return c.currentTime=ce,{type:3,steps:Ne,options:Oi(u.options)}}visitAnimate(u,c){const E=function pr(N,u){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return qi(Je(N,u).duration,0,"");const c=N;if(c.split(/\s+/).some(Ne=>"{"==Ne.charAt(0)&&"{"==Ne.charAt(1))){const Ne=qi(0,0,"");return Ne.dynamic=!0,Ne.strValue=c,Ne}const ce=Je(c,u);return qi(ce.duration,ce.delay,ce.easing)}(u.timings,c.errors);c.currentAnimateTimings=E;let ce,Ne=u.styles?u.styles:(0,f.oB)({});if(5==Ne.type)ce=this.visitKeyframes(Ne,c);else{let ot=u.styles,dt=!1;if(!ot){dt=!0;const Ot={};E.easing&&(Ot.easing=E.easing),ot=(0,f.oB)(Ot)}c.currentTime+=E.duration+E.delay;const vt=this.visitStyle(ot,c);vt.isEmptyStep=dt,ce=vt}return c.currentAnimateTimings=null,{type:4,timings:E,style:ce,options:null}}visitStyle(u,c){const E=this._makeStyleAst(u,c);return this._validateStyleAst(E,c),E}_makeStyleAst(u,c){const E=[],ce=Array.isArray(u.styles)?u.styles:[u.styles];for(let dt of ce)"string"==typeof dt?dt===f.l3?E.push(dt):c.errors.push(new r.vHH(3002,!1)):E.push(Mt(dt));let Ne=!1,ot=null;return E.forEach(dt=>{if(dt instanceof Map&&(dt.has("easing")&&(ot=dt.get("easing"),dt.delete("easing")),!Ne))for(let vt of dt.values())if(vt.toString().indexOf("{{")>=0){Ne=!0;break}}),{type:6,styles:E,easing:ot,offset:u.offset,containsDynamicStyles:Ne,options:null}}_validateStyleAst(u,c){const E=c.currentAnimateTimings;let ce=c.currentTime,Ne=c.currentTime;E&&Ne>0&&(Ne-=E.duration+E.delay),u.styles.forEach(ot=>{"string"!=typeof ot&&ot.forEach((dt,vt)=>{const Ot=c.collectedStyles.get(c.currentQuerySelector),Bt=Ot.get(vt);let Gt=!0;Bt&&(Ne!=ce&&Ne>=Bt.startTime&&ce<=Bt.endTime&&(c.errors.push(function Ee(N,u,c,E,ce){return new r.vHH(3010,!1)}()),Gt=!1),Ne=Bt.startTime),Gt&&Ot.set(vt,{startTime:Ne,endTime:ce}),c.options&&function Ht(N,u,c){const E=u.params||{},ce=Pe(N);ce.length&&ce.forEach(Ne=>{E.hasOwnProperty(Ne)||c.push(function g(N){return new r.vHH(3001,!1)}())})}(dt,c.options,c.errors)})})}visitKeyframes(u,c){const E={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function T(){return new r.vHH(3011,!1)}()),E;let Ne=0;const ot=[];let dt=!1,vt=!1,Ot=0;const Bt=u.steps.map(Rn=>{const fi=this._makeStyleAst(Rn,c);let Si=null!=fi.offset?fi.offset:function oi(N){if("string"==typeof N)return null;let u=null;if(Array.isArray(N))N.forEach(c=>{if(c instanceof Map&&c.has("offset")){const E=c;u=parseFloat(E.get("offset")),E.delete("offset")}});else if(N instanceof Map&&N.has("offset")){const c=N;u=parseFloat(c.get("offset")),c.delete("offset")}return u}(fi.styles),yi=0;return null!=Si&&(Ne++,yi=fi.offset=Si),vt=vt||yi<0||yi>1,dt=dt||yi0&&Ne{const Si=bn>0?fi==mn?1:bn*fi:ot[fi],yi=Si*Tn;c.currentTime=fn+pn.delay+yi,pn.duration=yi,this._validateStyleAst(Rn,c),Rn.offset=Si,E.styles.push(Rn)}),E}visitReference(u,c){return{type:8,animation:Lt(this,Rt(u.animation),c),options:Oi(u.options)}}visitAnimateChild(u,c){return c.depCount++,{type:9,options:Oi(u.options)}}visitAnimateRef(u,c){return{type:10,animation:this.visitReference(u.animation,c),options:Oi(u.options)}}visitQuery(u,c){const E=c.currentQuerySelector,ce=u.options||{};c.queryCount++,c.currentQuery=u;const[Ne,ot]=function Xi(N){const u=!!N.split(/\s*,\s*/).find(c=>":self"==c);return u&&(N=N.replace(Yn,"")),N=N.replace(/@\*/g,he).replace(/@\w+/g,c=>he+"-"+c.slice(1)).replace(/:animating/g,be),[N,u]}(u.selector);c.currentQuerySelector=E.length?E+" "+Ne:Ne,_t(c.collectedStyles,c.currentQuerySelector,new Map);const dt=Lt(this,Rt(u.animation),c);return c.currentQuery=null,c.currentQuerySelector=E,{type:11,selector:Ne,limit:ce.limit||0,optional:!!ce.optional,includeSelf:ot,animation:dt,originalSelector:u.selector,options:Oi(u.options)}}visitStagger(u,c){c.currentQuery||c.errors.push(function Se(){return new r.vHH(3013,!1)}());const E="full"===u.timings?{duration:0,delay:0,easing:"full"}:Je(u.timings,c.errors,!0);return{type:12,animation:Lt(this,Rt(u.animation),c),timings:E,options:null}}}class Fi{constructor(u){this.errors=u,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,this.nonAnimatableCSSPropertiesFound=new Set}}function Oi(N){return N?(N=mt(N)).params&&(N.params=function Ai(N){return N?mt(N):null}(N.params)):N={},N}function qi(N,u,c){return{duration:N,delay:u,easing:c}}function er(N,u,c,E,ce,Ne,ot=null,dt=!1){return{type:1,element:N,keyframes:u,preStyleProps:c,postStyleProps:E,duration:ce,delay:Ne,totalTime:ce+Ne,easing:ot,subTimeline:dt}}class Li{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,c){let E=this._map.get(u);E||this._map.set(u,E=[]),E.push(...c)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Ro=new RegExp(":enter","g"),ko=new RegExp(":leave","g");function nr(N,u,c,E,ce,Ne=new Map,ot=new Map,dt,vt,Ot=[]){return(new uo).buildKeyframes(N,u,c,E,ce,Ne,ot,dt,vt,Ot)}class uo{buildKeyframes(u,c,E,ce,Ne,ot,dt,vt,Ot,Bt=[]){Ot=Ot||new Li;const Gt=new mr(u,c,Ot,ce,Ne,Bt,[]);Gt.options=vt;const bn=vt.delay?Oe(vt.delay):0;Gt.currentTimeline.delayNextStep(bn),Gt.currentTimeline.setStyles([ot],null,Gt.errors,vt),Lt(this,E,Gt);const mn=Gt.timelines.filter(fn=>fn.containsAnimation());if(mn.length&&dt.size){let fn;for(let pn=mn.length-1;pn>=0;pn--){const Tn=mn[pn];if(Tn.element===c){fn=Tn;break}}fn&&!fn.allowOnlyTimelineStyles()&&fn.setStyles([dt],null,Gt.errors,vt)}return mn.length?mn.map(fn=>fn.buildKeyframes()):[er(c,[],[],[],0,bn,"",!1)]}visitTrigger(u,c){}visitState(u,c){}visitTransition(u,c){}visitAnimateChild(u,c){const E=c.subInstructions.get(c.element);if(E){const ce=c.createSubContext(u.options),Ne=c.currentTimeline.currentTime,ot=this._visitSubInstructions(E,ce,ce.options);Ne!=ot&&c.transformIntoNewTimeline(ot)}c.previousNode=u}visitAnimateRef(u,c){const E=c.createSubContext(u.options);E.transformIntoNewTimeline(),this.visitReference(u.animation,E),c.transformIntoNewTimeline(E.currentTimeline.currentTime),c.previousNode=u}_visitSubInstructions(u,c,E){let Ne=c.currentTimeline.currentTime;const ot=null!=E.duration?Oe(E.duration):null,dt=null!=E.delay?Oe(E.delay):null;return 0!==ot&&u.forEach(vt=>{const Ot=c.appendInstructionToTimeline(vt,ot,dt);Ne=Math.max(Ne,Ot.duration+Ot.delay)}),Ne}visitReference(u,c){c.updateOptions(u.options,!0),Lt(this,u.animation,c),c.previousNode=u}visitSequence(u,c){const E=c.subContextCount;let ce=c;const Ne=u.options;if(Ne&&(Ne.params||Ne.delay)&&(ce=c.createSubContext(Ne),ce.transformIntoNewTimeline(),null!=Ne.delay)){6==ce.previousNode.type&&(ce.currentTimeline.snapshotCurrentStyles(),ce.previousNode=gr);const ot=Oe(Ne.delay);ce.delayNextStep(ot)}u.steps.length&&(u.steps.forEach(ot=>Lt(this,ot,ce)),ce.currentTimeline.applyStylesToKeyframe(),ce.subContextCount>E&&ce.transformIntoNewTimeline()),c.previousNode=u}visitGroup(u,c){const E=[];let ce=c.currentTimeline.currentTime;const Ne=u.options&&u.options.delay?Oe(u.options.delay):0;u.steps.forEach(ot=>{const dt=c.createSubContext(u.options);Ne&&dt.delayNextStep(Ne),Lt(this,ot,dt),ce=Math.max(ce,dt.currentTimeline.currentTime),E.push(dt.currentTimeline)}),E.forEach(ot=>c.currentTimeline.mergeTimelineCollectedStyles(ot)),c.transformIntoNewTimeline(ce),c.previousNode=u}_visitTiming(u,c){if(u.dynamic){const E=u.strValue;return Je(c.params?I(E,c.params,c.errors):E,c.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,c){const E=c.currentAnimateTimings=this._visitTiming(u.timings,c),ce=c.currentTimeline;E.delay&&(c.incrementTime(E.delay),ce.snapshotCurrentStyles());const Ne=u.style;5==Ne.type?this.visitKeyframes(Ne,c):(c.incrementTime(E.duration),this.visitStyle(Ne,c),ce.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=u}visitStyle(u,c){const E=c.currentTimeline,ce=c.currentAnimateTimings;!ce&&E.hasCurrentStyleProperties()&&E.forwardFrame();const Ne=ce&&ce.easing||u.easing;u.isEmptyStep?E.applyEmptyStep(Ne):E.setStyles(u.styles,Ne,c.errors,c.options),c.previousNode=u}visitKeyframes(u,c){const E=c.currentAnimateTimings,ce=c.currentTimeline.duration,Ne=E.duration,dt=c.createSubContext().currentTimeline;dt.easing=E.easing,u.styles.forEach(vt=>{dt.forwardTime((vt.offset||0)*Ne),dt.setStyles(vt.styles,vt.easing,c.errors,c.options),dt.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(dt),c.transformIntoNewTimeline(ce+Ne),c.previousNode=u}visitQuery(u,c){const E=c.currentTimeline.currentTime,ce=u.options||{},Ne=ce.delay?Oe(ce.delay):0;Ne&&(6===c.previousNode.type||0==E&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=gr);let ot=E;const dt=c.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!ce.optional,c.errors);c.currentQueryTotal=dt.length;let vt=null;dt.forEach((Ot,Bt)=>{c.currentQueryIndex=Bt;const Gt=c.createSubContext(u.options,Ot);Ne&&Gt.delayNextStep(Ne),Ot===c.element&&(vt=Gt.currentTimeline),Lt(this,u.animation,Gt),Gt.currentTimeline.applyStylesToKeyframe(),ot=Math.max(ot,Gt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ot),vt&&(c.currentTimeline.mergeTimelineCollectedStyles(vt),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=u}visitStagger(u,c){const E=c.parentContext,ce=c.currentTimeline,Ne=u.timings,ot=Math.abs(Ne.duration),dt=ot*(c.currentQueryTotal-1);let vt=ot*c.currentQueryIndex;switch(Ne.duration<0?"reverse":Ne.easing){case"reverse":vt=dt-vt;break;case"full":vt=E.currentStaggerTime}const Bt=c.currentTimeline;vt&&Bt.delayNextStep(vt);const Gt=Bt.currentTime;Lt(this,u.animation,c),c.previousNode=u,E.currentStaggerTime=ce.currentTime-Gt+(ce.startTime-E.currentTimeline.startTime)}}const gr={};class mr{constructor(u,c,E,ce,Ne,ot,dt,vt){this._driver=u,this.element=c,this.subInstructions=E,this._enterClassName=ce,this._leaveClassName=Ne,this.errors=ot,this.timelines=dt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=vt||new _r(this._driver,c,0),dt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,c){if(!u)return;const E=u;let ce=this.options;null!=E.duration&&(ce.duration=Oe(E.duration)),null!=E.delay&&(ce.delay=Oe(E.delay));const Ne=E.params;if(Ne){let ot=ce.params;ot||(ot=this.options.params={}),Object.keys(Ne).forEach(dt=>{(!c||!ot.hasOwnProperty(dt))&&(ot[dt]=I(Ne[dt],ot,this.errors))})}}_copyOptions(){const u={};if(this.options){const c=this.options.params;if(c){const E=u.params={};Object.keys(c).forEach(ce=>{E[ce]=c[ce]})}}return u}createSubContext(u=null,c,E){const ce=c||this.element,Ne=new mr(this._driver,ce,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ce,E||0));return Ne.previousNode=this.previousNode,Ne.currentAnimateTimings=this.currentAnimateTimings,Ne.options=this._copyOptions(),Ne.updateOptions(u),Ne.currentQueryIndex=this.currentQueryIndex,Ne.currentQueryTotal=this.currentQueryTotal,Ne.parentContext=this,this.subContextCount++,Ne}transformIntoNewTimeline(u){return this.previousNode=gr,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,c,E){const ce={duration:c??u.duration,delay:this.currentTimeline.currentTime+(E??0)+u.delay,easing:""},Ne=new ir(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,ce,u.stretchStartingKeyframe);return this.timelines.push(Ne),ce}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,c,E,ce,Ne,ot){let dt=[];if(ce&&dt.push(this.element),u.length>0){u=(u=u.replace(Ro,"."+this._enterClassName)).replace(ko,"."+this._leaveClassName);let Ot=this._driver.query(this.element,u,1!=E);0!==E&&(Ot=E<0?Ot.slice(Ot.length+E,Ot.length):Ot.slice(0,E)),dt.push(...Ot)}return!Ne&&0==dt.length&&ot.push(function ve(N){return new r.vHH(3014,!1)}()),dt}}class _r{constructor(u,c,E,ce){this._driver=u,this.element=c,this.startTime=E,this._elementTimelineStylesLookup=ce,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(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,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(u){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+u),c&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,c){return this.applyStylesToKeyframe(),new _r(this._driver,u,c||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(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,c){this._localTimelineStyles.set(u,c),this._globalTimelineStyles.set(u,c),this._styleSummary.set(u,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[c,E]of this._globalTimelineStyles)this._backFill.set(c,E||f.l3),this._currentKeyframe.set(c,f.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,c,E,ce){c&&this._previousKeyframe.set("easing",c);const Ne=ce&&ce.params||{},ot=function rr(N,u){const c=new Map;let E;return N.forEach(ce=>{if("*"===ce){E=E||u.keys();for(let Ne of E)c.set(Ne,f.l3)}else $t(ce,c)}),c}(u,this._globalTimelineStyles);for(let[dt,vt]of ot){const Ot=I(vt,Ne,E);this._pendingStyles.set(dt,Ot),this._localTimelineStyles.has(dt)||this._backFill.set(dt,this._globalTimelineStyles.get(dt)||f.l3),this._updateStyle(dt,Ot)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,c)=>{this._currentKeyframe.set(c,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,u)}))}snapshotCurrentStyles(){for(let[u,c]of this._localTimelineStyles)this._pendingStyles.set(u,c),this._updateStyle(u,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let c in this._currentKeyframe)u.push(c);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((c,E)=>{const ce=this._styleSummary.get(E);(!ce||c.time>ce.time)&&this._updateStyle(E,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,c=new Set,E=1===this._keyframes.size&&0===this.duration;let ce=[];this._keyframes.forEach((dt,vt)=>{const Ot=$t(dt,new Map,this._backFill);Ot.forEach((Bt,Gt)=>{Bt===f.k1?u.add(Gt):Bt===f.l3&&c.add(Gt)}),E||Ot.set("offset",vt/this.duration),ce.push(Ot)});const Ne=u.size?O(u.values()):[],ot=c.size?O(c.values()):[];if(E){const dt=ce[0],vt=new Map(dt);dt.set("offset",0),vt.set("offset",1),ce=[dt,vt]}return er(this.element,ce,Ne,ot,this.duration,this.startTime,this.easing,!1)}}class ir extends _r{constructor(u,c,E,ce,Ne,ot,dt=!1){super(u,c,ot.delay),this.keyframes=E,this.preStyleProps=ce,this.postStyleProps=Ne,this._stretchStartingKeyframe=dt,this.timings={duration:ot.duration,delay:ot.delay,easing:ot.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:c,duration:E,easing:ce}=this.timings;if(this._stretchStartingKeyframe&&c){const Ne=[],ot=E+c,dt=c/ot,vt=$t(u[0]);vt.set("offset",0),Ne.push(vt);const Ot=$t(u[0]);Ot.set("offset",ho(dt)),Ne.push(Ot);const Bt=u.length-1;for(let Gt=1;Gt<=Bt;Gt++){let bn=$t(u[Gt]);const mn=bn.get("offset");bn.set("offset",ho((c+mn*E)/ot)),Ne.push(bn)}E=ot,c=0,ce="",u=Ne}return er(this.element,u,this.preStyleProps,this.postStyleProps,E,c,ce,!0)}}function ho(N,u=3){const c=Math.pow(10,u-1);return Math.round(N*c)/c}class Ti{}const Yr=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 or extends Ti{normalizePropertyName(u,c){return Fe(u)}normalizeStyleValue(u,c,E,ce){let Ne="";const ot=E.toString().trim();if(Yr.has(c)&&0!==E&&"0"!==E)if("number"==typeof E)Ne="px";else{const dt=E.match(/^[+-]?[\d\.]+([a-z]*)$/);dt&&0==dt[1].length&&ce.push(function b(N,u){return new r.vHH(3005,!1)}())}return ot+Ne}}function gi(N,u,c,E,ce,Ne,ot,dt,vt,Ot,Bt,Gt,bn){return{type:0,element:N,triggerName:u,isRemovalTransition:ce,fromState:c,fromStyles:Ne,toState:E,toStyles:ot,timelines:dt,queriedElements:vt,preStyleProps:Ot,postStyleProps:Bt,totalTime:Gt,errors:bn}}const Ui={};class yr{constructor(u,c,E){this._triggerName=u,this.ast=c,this._stateStyles=E}match(u,c,E,ce){return function vr(N,u,c,E,ce){return N.some(Ne=>Ne(u,c,E,ce))}(this.ast.matchers,u,c,E,ce)}buildStyles(u,c,E){let ce=this._stateStyles.get("*");return void 0!==u&&(ce=this._stateStyles.get(u?.toString())||ce),ce?ce.buildStyles(c,E):new Map}build(u,c,E,ce,Ne,ot,dt,vt,Ot,Bt){const Gt=[],bn=this.ast.options&&this.ast.options.params||Ui,fn=this.buildStyles(E,dt&&dt.params||Ui,Gt),pn=vt&&vt.params||Ui,Tn=this.buildStyles(ce,pn,Gt),Rn=new Set,fi=new Map,Si=new Map,yi="void"===ce,So={params:Qr(pn,bn),delay:this.ast.options?.delay},Ii=Bt?[]:nr(u,c,this.ast.animation,Ne,ot,fn,Tn,So,Ot,Gt);let pi=0;if(Ii.forEach(kn=>{pi=Math.max(kn.duration+kn.delay,pi)}),Gt.length)return gi(c,this._triggerName,E,ce,yi,fn,Tn,[],[],fi,Si,pi,Gt);Ii.forEach(kn=>{const Ir=kn.element,Da=_t(fi,Ir,new Set);kn.preStyleProps.forEach(dr=>Da.add(dr));const Ao=_t(Si,Ir,new Set);kn.postStyleProps.forEach(dr=>Ao.add(dr)),Ir!==c&&Rn.add(Ir)});const jr=O(Rn.values());return gi(c,this._triggerName,E,ce,yi,fn,Tn,Ii,jr,fi,Si,pi)}}function Qr(N,u){const c=mt(u);for(const E in N)N.hasOwnProperty(E)&&null!=N[E]&&(c[E]=N[E]);return c}class br{constructor(u,c,E){this.styles=u,this.defaultParams=c,this.normalizer=E}buildStyles(u,c){const E=new Map,ce=mt(this.defaultParams);return Object.keys(u).forEach(Ne=>{const ot=u[Ne];null!==ot&&(ce[Ne]=ot)}),this.styles.styles.forEach(Ne=>{"string"!=typeof Ne&&Ne.forEach((ot,dt)=>{ot&&(ot=I(ot,ce,c));const vt=this.normalizer.normalizePropertyName(dt,c);ot=this.normalizer.normalizeStyleValue(dt,vt,ot,c),E.set(vt,ot)})}),E}}class po{constructor(u,c,E){this.name=u,this.ast=c,this._normalizer=E,this.transitionFactories=[],this.states=new Map,c.states.forEach(ce=>{this.states.set(ce.name,new br(ce.style,ce.options&&ce.options.params||{},E))}),Hi(this.states,"true","1"),Hi(this.states,"false","0"),c.transitions.forEach(ce=>{this.transitionFactories.push(new yr(u,ce,this.states))}),this.fallbackTransition=function Lo(N,u,c){return new yr(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ot,dt)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,c,E,ce){return this.transitionFactories.find(ot=>ot.match(u,c,E,ce))||null}matchStyles(u,c,E){return this.fallbackTransition.buildStyles(u,c,E)}}function Hi(N,u,c){N.has(u)?N.has(c)||N.set(c,N.get(u)):N.has(c)&&N.set(u,N.get(c))}const go=new Li;class ii{constructor(u,c,E){this.bodyNode=u,this._driver=c,this._normalizer=E,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,c){const E=[],Ne=ni(this._driver,c,E,[]);if(E.length)throw function X(N){return new r.vHH(3503,!1)}();this._animations.set(u,Ne)}_buildPlayer(u,c,E){const ce=u.element,Ne=Qe(0,this._normalizer,0,u.keyframes,c,E);return this._driver.animate(ce,Ne,u.duration,u.delay,u.easing,[],!0)}create(u,c,E={}){const ce=[],Ne=this._animations.get(u);let ot;const dt=new Map;if(Ne?(ot=nr(this._driver,c,Ne,le,_e,new Map,new Map,E,go,ce),ot.forEach(Bt=>{const Gt=_t(dt,Bt.element,new Map);Bt.postStyleProps.forEach(bn=>Gt.set(bn,null))})):(ce.push(function Ie(){return new r.vHH(3300,!1)}()),ot=[]),ce.length)throw function ke(N){return new r.vHH(3504,!1)}();dt.forEach((Bt,Gt)=>{Bt.forEach((bn,mn)=>{Bt.set(mn,this._driver.computeStyle(Gt,mn,f.l3))})});const Ot=He(ot.map(Bt=>{const Gt=dt.get(Bt.element);return this._buildPlayer(Bt,new Map,Gt)}));return this._playersById.set(u,Ot),Ot.onDestroy(()=>this.destroy(u)),this.players.push(Ot),Ot}destroy(u){const c=this._getPlayer(u);c.destroy(),this._playersById.delete(u);const E=this.players.indexOf(c);E>=0&&this.players.splice(E,1)}_getPlayer(u){const c=this._playersById.get(u);if(!c)throw function tt(N){return new r.vHH(3301,!1)}();return c}listen(u,c,E,ce){const Ne=at(c,"","","");return st(this._getPlayer(u),E,Ne,ce),()=>{}}command(u,c,E,ce){if("register"==E)return void this.register(u,ce[0]);if("create"==E)return void this.create(u,c,ce[0]||{});const Ne=this._getPlayer(u);switch(E){case"play":Ne.play();break;case"pause":Ne.pause();break;case"reset":Ne.reset();break;case"restart":Ne.restart();break;case"finish":Ne.finish();break;case"init":Ne.init();break;case"setPosition":Ne.setPosition(parseFloat(ce[0]));break;case"destroy":this.destroy(u)}}}const Er="ng-animate-queued",Qn="ng-animate-disabled",No=[],si={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gn="__ng_removed";class $i{constructor(u,c=""){this.namespaceId=c;const E=u&&u.hasOwnProperty("value");if(this.value=function gt(N){return N??null}(E?u.value:u),E){const Ne=mt(u);delete Ne.value,this.options=Ne}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const c=u.params;if(c){const E=this.options.params;Object.keys(c).forEach(ce=>{null==E[ce]&&(E[ce]=c[ce])})}}}const zi="void",Ln=new $i(zi);class q{constructor(u,c,E){this.id=u,this.hostElement=c,this._engine=E,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,yn(c,this._hostClassName)}listen(u,c,E,ce){if(!this._triggers.has(c))throw function lt(N,u){return new r.vHH(3302,!1)}();if(null==E||0==E.length)throw function $(N){return new r.vHH(3303,!1)}();if(!function kt(N){return"start"==N||"done"==N}(E))throw function Re(N,u){return new r.vHH(3400,!1)}();const Ne=_t(this._elementListeners,u,[]),ot={name:c,phase:E,callback:ce};Ne.push(ot);const dt=_t(this._engine.statesByElement,u,new Map);return dt.has(c)||(yn(u,ae),yn(u,ae+"-"+c),dt.set(c,Ln)),()=>{this._engine.afterFlush(()=>{const vt=Ne.indexOf(ot);vt>=0&&Ne.splice(vt,1),this._triggers.has(c)||dt.delete(c)})}}register(u,c){return!this._triggers.has(u)&&(this._triggers.set(u,c),!0)}_getTrigger(u){const c=this._triggers.get(u);if(!c)throw function re(N){return new r.vHH(3401,!1)}();return c}trigger(u,c,E,ce=!0){const Ne=this._getTrigger(c),ot=new ee(this.id,c,u);let dt=this._engine.statesByElement.get(u);dt||(yn(u,ae),yn(u,ae+"-"+c),this._engine.statesByElement.set(u,dt=new Map));let vt=dt.get(c);const Ot=new $i(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&vt&&Ot.absorbOptions(vt.options),dt.set(c,Ot),vt||(vt=Ln),Ot.value!==zi&&vt.value===Ot.value){if(!function wi(N,u){const c=Object.keys(N),E=Object.keys(u);if(c.length!=E.length)return!1;for(let ce=0;ce{en(u,Tn),Ut(u,Rn)})}return}const bn=_t(this._engine.playersByElement,u,[]);bn.forEach(pn=>{pn.namespaceId==this.id&&pn.triggerName==c&&pn.queued&&pn.destroy()});let mn=Ne.matchTransition(vt.value,Ot.value,u,Ot.params),fn=!1;if(!mn){if(!ce)return;mn=Ne.fallbackTransition,fn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:c,transition:mn,fromState:vt,toState:Ot,player:ot,isFallbackTransition:fn}),fn||(yn(u,Er),ot.onStart(()=>{un(u,Er)})),ot.onDone(()=>{let pn=this.players.indexOf(ot);pn>=0&&this.players.splice(pn,1);const Tn=this._engine.playersByElement.get(u);if(Tn){let Rn=Tn.indexOf(ot);Rn>=0&&Tn.splice(Rn,1)}}),this.players.push(ot),bn.push(ot),ot}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(c=>c.delete(u)),this._elementListeners.forEach((c,E)=>{this._elementListeners.set(E,c.filter(ce=>ce.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const c=this._engine.playersByElement.get(u);c&&(c.forEach(E=>E.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,c){const E=this._engine.driver.query(u,he,!0);E.forEach(ce=>{if(ce[gn])return;const Ne=this._engine.fetchNamespacesByElement(ce);Ne.size?Ne.forEach(ot=>ot.triggerLeaveAnimation(ce,c,!1,!0)):this.clearElementCache(ce)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(ce=>this.clearElementCache(ce)))}triggerLeaveAnimation(u,c,E,ce){const Ne=this._engine.statesByElement.get(u),ot=new Map;if(Ne){const dt=[];if(Ne.forEach((vt,Ot)=>{if(ot.set(Ot,vt.value),this._triggers.has(Ot)){const Bt=this.trigger(u,Ot,zi,ce);Bt&&dt.push(Bt)}}),dt.length)return this._engine.markElementAsRemoved(this.id,u,!0,c,ot),E&&He(dt).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const c=this._elementListeners.get(u),E=this._engine.statesByElement.get(u);if(c&&E){const ce=new Set;c.forEach(Ne=>{const ot=Ne.name;if(ce.has(ot))return;ce.add(ot);const vt=this._triggers.get(ot).fallbackTransition,Ot=E.get(ot)||Ln,Bt=new $i(zi),Gt=new ee(this.id,ot,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:ot,transition:vt,fromState:Ot,toState:Bt,player:Gt,isFallbackTransition:!0})})}}removeNode(u,c){const E=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,c),this.triggerLeaveAnimation(u,c,!0))return;let ce=!1;if(E.totalAnimations){const Ne=E.players.length?E.playersByQueriedElement.get(u):[];if(Ne&&Ne.length)ce=!0;else{let ot=u;for(;ot=ot.parentNode;)if(E.statesByElement.get(ot)){ce=!0;break}}}if(this.prepareLeaveAnimationListeners(u),ce)E.markElementAsRemoved(this.id,u,!1,c);else{const Ne=u[gn];(!Ne||Ne===si)&&(E.afterFlush(()=>this.clearElementCache(u)),E.destroyInnerAnimations(u),E._onRemovalComplete(u,c))}}insertNode(u,c){yn(u,this._hostClassName)}drainQueuedTransitions(u){const c=[];return this._queue.forEach(E=>{const ce=E.player;if(ce.destroyed)return;const Ne=E.element,ot=this._elementListeners.get(Ne);ot&&ot.forEach(dt=>{if(dt.name==E.triggerName){const vt=at(Ne,E.triggerName,E.fromState.value,E.toState.value);vt._data=u,st(E.player,dt.phase,vt,dt.callback)}}),ce.markedForDestroy?this._engine.afterFlush(()=>{ce.destroy()}):c.push(E)}),this._queue=[],c.sort((E,ce)=>{const Ne=E.transition.ast.depCount,ot=ce.transition.ast.depCount;return 0==Ne||0==ot?Ne-ot:this._engine.driver.containsElement(E.element,ce.element)?1:-1})}destroy(u){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let c=!1;return this._elementListeners.has(u)&&(c=!0),c=!!this._queue.find(E=>E.element===u)||c,c}}class je{constructor(u,c,E){this.bodyNode=u,this.driver=c,this._normalizer=E,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=(ce,Ne)=>{}}_onRemovalComplete(u,c){this.onRemovalComplete(u,c)}get queuedPlayers(){const u=[];return this._namespaceList.forEach(c=>{c.players.forEach(E=>{E.queued&&u.push(E)})}),u}createNamespace(u,c){const E=new q(u,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(E,c):(this.newHostElements.set(c,E),this.collectEnterElement(c)),this._namespaceLookup[u]=E}_balanceNamespaceList(u,c){const E=this._namespaceList,ce=this.namespacesByHostElement;if(E.length-1>=0){let ot=!1,dt=this.driver.getParentElement(c);for(;dt;){const vt=ce.get(dt);if(vt){const Ot=E.indexOf(vt);E.splice(Ot+1,0,u),ot=!0;break}dt=this.driver.getParentElement(dt)}ot||E.unshift(u)}else E.push(u);return ce.set(c,u),u}register(u,c){let E=this._namespaceLookup[u];return E||(E=this.createNamespace(u,c)),E}registerTrigger(u,c,E){let ce=this._namespaceLookup[u];ce&&ce.register(c,E)&&this.totalAnimations++}destroy(u,c){if(!u)return;const E=this._fetchNamespace(u);this.afterFlush(()=>{this.namespacesByHostElement.delete(E.hostElement),delete this._namespaceLookup[u];const ce=this._namespaceList.indexOf(E);ce>=0&&this._namespaceList.splice(ce,1)}),this.afterFlushAnimationsDone(()=>E.destroy(c))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const c=new Set,E=this.statesByElement.get(u);if(E)for(let ce of E.values())if(ce.namespaceId){const Ne=this._fetchNamespace(ce.namespaceId);Ne&&c.add(Ne)}return c}trigger(u,c,E,ce){if(wt(c)){const Ne=this._fetchNamespace(u);if(Ne)return Ne.trigger(c,E,ce),!0}return!1}insertNode(u,c,E,ce){if(!wt(c))return;const Ne=c[gn];if(Ne&&Ne.setForRemoval){Ne.setForRemoval=!1,Ne.setForMove=!0;const ot=this.collectedLeaveElements.indexOf(c);ot>=0&&this.collectedLeaveElements.splice(ot,1)}if(u){const ot=this._fetchNamespace(u);ot&&ot.insertNode(c,E)}ce&&this.collectEnterElement(c)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,c){c?this.disabledNodes.has(u)||(this.disabledNodes.add(u),yn(u,Qn)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),un(u,Qn))}removeNode(u,c,E,ce){if(wt(c)){const Ne=u?this._fetchNamespace(u):null;if(Ne?Ne.removeNode(c,ce):this.markElementAsRemoved(u,c,!1,ce),E){const ot=this.namespacesByHostElement.get(c);ot&&ot.id!==u&&ot.removeNode(c,ce)}}else this._onRemovalComplete(c,ce)}markElementAsRemoved(u,c,E,ce,Ne){this.collectedLeaveElements.push(c),c[gn]={namespaceId:u,setForRemoval:ce,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:Ne}}listen(u,c,E,ce,Ne){return wt(c)?this._fetchNamespace(u).listen(c,E,ce,Ne):()=>{}}_buildInstruction(u,c,E,ce,Ne){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,E,ce,u.fromState.options,u.toState.options,c,Ne)}destroyInnerAnimations(u){let c=this.driver.query(u,he,!0);c.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(u,be,!0),c.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(u){const c=this.playersByElement.get(u);c&&c.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(u){const c=this.playersByQueriedElement.get(u);c&&c.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return He(this.players).onDone(()=>u());u()})}processLeaveNode(u){const c=u[gn];if(c&&c.setForRemoval){if(u[gn]=si,c.namespaceId){this.destroyInnerAnimations(u);const E=this._fetchNamespace(c.namespaceId);E&&E.clearElementCache(u)}this._onRemovalComplete(u,c.setForRemoval)}u.classList?.contains(Qn)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(u=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,ce)=>this._balanceNamespaceList(E,ce)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;EE()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],c.length?He(c).onDone(()=>{E.forEach(ce=>ce())}):E.forEach(ce=>ce())}}reportError(u){throw function xe(N){return new r.vHH(3402,!1)}()}_flushAnimations(u,c){const E=new Li,ce=[],Ne=new Map,ot=[],dt=new Map,vt=new Map,Ot=new Map,Bt=new Set;this.disabledNodes.forEach(tn=>{Bt.add(tn);const on=this.driver.query(tn,".ng-animate-queued",!0);for(let cn=0;cn{const cn=le+pn++;fn.set(on,cn),tn.forEach(wn=>yn(wn,cn))});const Tn=[],Rn=new Set,fi=new Set;for(let tn=0;tnRn.add(wn)):fi.add(on))}const Si=new Map,yi=Sn(bn,Array.from(Rn));yi.forEach((tn,on)=>{const cn=_e+pn++;Si.set(on,cn),tn.forEach(wn=>yn(wn,cn))}),u.push(()=>{mn.forEach((tn,on)=>{const cn=fn.get(on);tn.forEach(wn=>un(wn,cn))}),yi.forEach((tn,on)=>{const cn=Si.get(on);tn.forEach(wn=>un(wn,cn))}),Tn.forEach(tn=>{this.processLeaveNode(tn)})});const So=[],Ii=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(c).forEach(cn=>{const wn=cn.player,Xn=cn.element;if(So.push(wn),this.collectedEnterElements.length){const Di=Xn[gn];if(Di&&Di.setForMove){if(Di.previousTriggersValues&&Di.previousTriggersValues.has(cn.triggerName)){const Ji=Di.previousTriggersValues.get(cn.triggerName),Ci=this.statesByElement.get(cn.element);if(Ci&&Ci.has(cn.triggerName)){const Rs=Ci.get(cn.triggerName);Rs.value=Ji,Ci.set(cn.triggerName,Rs)}}return void wn.destroy()}}const Pr=!Gt||!this.driver.containsElement(Gt,Xn),Pi=Si.get(Xn),Zi=fn.get(Xn),Hn=this._buildInstruction(cn,E,Zi,Pi,Pr);if(Hn.errors&&Hn.errors.length)return void Ii.push(Hn);if(Pr)return wn.onStart(()=>en(Xn,Hn.fromStyles)),wn.onDestroy(()=>Ut(Xn,Hn.toStyles)),void ce.push(wn);if(cn.isFallbackTransition)return wn.onStart(()=>en(Xn,Hn.fromStyles)),wn.onDestroy(()=>Ut(Xn,Hn.toStyles)),void ce.push(wn);const Ca=[];Hn.timelines.forEach(Di=>{Di.stretchStartingKeyframe=!0,this.disabledNodes.has(Di.element)||Ca.push(Di)}),Hn.timelines=Ca,E.append(Xn,Hn.timelines),ot.push({instruction:Hn,player:wn,element:Xn}),Hn.queriedElements.forEach(Di=>_t(dt,Di,[]).push(wn)),Hn.preStyleProps.forEach((Di,Ji)=>{if(Di.size){let Ci=vt.get(Ji);Ci||vt.set(Ji,Ci=new Set),Di.forEach((Rs,qa)=>Ci.add(qa))}}),Hn.postStyleProps.forEach((Di,Ji)=>{let Ci=Ot.get(Ji);Ci||Ot.set(Ji,Ci=new Set),Di.forEach((Rs,qa)=>Ci.add(qa))})});if(Ii.length){const tn=[];Ii.forEach(on=>{tn.push(function me(N,u){return new r.vHH(3505,!1)}())}),So.forEach(on=>on.destroy()),this.reportError(tn)}const pi=new Map,jr=new Map;ot.forEach(tn=>{const on=tn.element;E.has(on)&&(jr.set(on,on),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,pi))}),ce.forEach(tn=>{const on=tn.element;this._getPreviousPlayers(on,!1,tn.namespaceId,tn.triggerName,null).forEach(wn=>{_t(pi,on,[]).push(wn),wn.destroy()})});const kn=Tn.filter(tn=>bi(tn,vt,Ot)),Ir=new Map;On(Ir,this.driver,fi,Ot,f.l3).forEach(tn=>{bi(tn,vt,Ot)&&kn.push(tn)});const Ao=new Map;mn.forEach((tn,on)=>{On(Ao,this.driver,new Set(tn),vt,f.k1)}),kn.forEach(tn=>{const on=Ir.get(tn),cn=Ao.get(tn);Ir.set(tn,new Map([...Array.from(on?.entries()??[]),...Array.from(cn?.entries()??[])]))});const dr=[],Ja=[],Xa={};ot.forEach(tn=>{const{element:on,player:cn,instruction:wn}=tn;if(E.has(on)){if(Bt.has(on))return cn.onDestroy(()=>Ut(on,wn.toStyles)),cn.disabled=!0,cn.overrideTotalTime(wn.totalTime),void ce.push(cn);let Xn=Xa;if(jr.size>1){let Pi=on;const Zi=[];for(;Pi=Pi.parentNode;){const Hn=jr.get(Pi);if(Hn){Xn=Hn;break}Zi.push(Pi)}Zi.forEach(Hn=>jr.set(Hn,Xn))}const Pr=this._buildAnimation(cn.namespaceId,wn,pi,Ne,Ao,Ir);if(cn.setRealPlayer(Pr),Xn===Xa)dr.push(cn);else{const Pi=this.playersByElement.get(Xn);Pi&&Pi.length&&(cn.parentPlayer=He(Pi)),ce.push(cn)}}else en(on,wn.fromStyles),cn.onDestroy(()=>Ut(on,wn.toStyles)),Ja.push(cn),Bt.has(on)&&ce.push(cn)}),Ja.forEach(tn=>{const on=Ne.get(tn.element);if(on&&on.length){const cn=He(on);tn.setRealPlayer(cn)}}),ce.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn!Pr.destroyed);Xn.length?jn(this,on,Xn):this.processLeaveNode(on)}return Tn.length=0,dr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const on=this.players.indexOf(tn);this.players.splice(on,1)}),tn.play()}),dr}elementContainsData(u,c){let E=!1;const ce=c[gn];return ce&&ce.setForRemoval&&(E=!0),this.playersByElement.has(c)&&(E=!0),this.playersByQueriedElement.has(c)&&(E=!0),this.statesByElement.has(c)&&(E=!0),this._fetchNamespace(u).elementContainsData(c)||E}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,c,E,ce,Ne){let ot=[];if(c){const dt=this.playersByQueriedElement.get(u);dt&&(ot=dt)}else{const dt=this.playersByElement.get(u);if(dt){const vt=!Ne||Ne==zi;dt.forEach(Ot=>{Ot.queued||!vt&&Ot.triggerName!=ce||ot.push(Ot)})}}return(E||ce)&&(ot=ot.filter(dt=>!(E&&E!=dt.namespaceId||ce&&ce!=dt.triggerName))),ot}_beforeAnimationBuild(u,c,E){const Ne=c.element,ot=c.isRemovalTransition?void 0:u,dt=c.isRemovalTransition?void 0:c.triggerName;for(const vt of c.timelines){const Ot=vt.element,Bt=Ot!==Ne,Gt=_t(E,Ot,[]);this._getPreviousPlayers(Ot,Bt,ot,dt,c.toState).forEach(mn=>{const fn=mn.getRealPlayer();fn.beforeDestroy&&fn.beforeDestroy(),mn.destroy(),Gt.push(mn)})}en(Ne,c.fromStyles)}_buildAnimation(u,c,E,ce,Ne,ot){const dt=c.triggerName,vt=c.element,Ot=[],Bt=new Set,Gt=new Set,bn=c.timelines.map(fn=>{const pn=fn.element;Bt.add(pn);const Tn=pn[gn];if(Tn&&Tn.removedBeforeQueried)return new f.ZN(fn.duration,fn.delay);const Rn=pn!==vt,fi=function Dn(N){const u=[];return Xt(N,u),u}((E.get(pn)||No).map(pi=>pi.getRealPlayer())).filter(pi=>!!pi.element&&pi.element===pn),Si=Ne.get(pn),yi=ot.get(pn),So=Qe(0,this._normalizer,0,fn.keyframes,Si,yi),Ii=this._buildPlayer(fn,So,fi);if(fn.subTimeline&&ce&&Gt.add(pn),Rn){const pi=new ee(u,dt,pn);pi.setRealPlayer(Ii),Ot.push(pi)}return Ii});Ot.forEach(fn=>{_t(this.playersByQueriedElement,fn.element,[]).push(fn),fn.onDone(()=>function ze(N,u,c){let E=N.get(u);if(E){if(E.length){const ce=E.indexOf(c);E.splice(ce,1)}0==E.length&&N.delete(u)}return E}(this.playersByQueriedElement,fn.element,fn))}),Bt.forEach(fn=>yn(fn,pe));const mn=He(bn);return mn.onDestroy(()=>{Bt.forEach(fn=>un(fn,pe)),Ut(vt,c.toStyles)}),Gt.forEach(fn=>{_t(ce,fn,[]).push(mn)}),mn}_buildPlayer(u,c,E){return c.length>0?this.driver.animate(u.element,c,u.duration,u.delay,u.easing,E):new f.ZN(u.duration,u.delay)}}class ee{constructor(u,c,E){this.namespaceId=u,this.triggerName=c,this.element=E,this._player=new f.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((c,E)=>{c.forEach(ce=>st(u,E,void 0,ce))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const c=this._player;c.triggerCallback&&u.onStart(()=>c.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,c){_t(this._queuedCallbacks,u,[]).push(c)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const c=this._player;c.triggerCallback&&c.triggerCallback(u)}}function wt(N){return N&&1===N.nodeType}function Wt(N,u){const c=N.style.display;return N.style.display=u??"none",c}function On(N,u,c,E,ce){const Ne=[];c.forEach(vt=>Ne.push(Wt(vt)));const ot=[];E.forEach((vt,Ot)=>{const Bt=new Map;vt.forEach(Gt=>{const bn=u.computeStyle(Ot,Gt,ce);Bt.set(Gt,bn),(!bn||0==bn.length)&&(Ot[gn]=Bo,ot.push(Ot))}),N.set(Ot,Bt)});let dt=0;return c.forEach(vt=>Wt(vt,Ne[dt++])),ot}function Sn(N,u){const c=new Map;if(N.forEach(dt=>c.set(dt,[])),0==u.length)return c;const ce=new Set(u),Ne=new Map;function ot(dt){if(!dt)return 1;let vt=Ne.get(dt);if(vt)return vt;const Ot=dt.parentNode;return vt=c.has(Ot)?Ot:ce.has(Ot)?1:ot(Ot),Ne.set(dt,vt),vt}return u.forEach(dt=>{const vt=ot(dt);1!==vt&&c.get(vt).push(dt)}),c}function yn(N,u){N.classList?.add(u)}function un(N,u){N.classList?.remove(u)}function jn(N,u,c){He(c).onDone(()=>N.processLeaveNode(u))}function Xt(N,u){for(let c=0;cce.add(Ne)):u.set(N,E),c.delete(N),!0}class Wi{constructor(u,c,E){this.bodyNode=u,this._driver=c,this._normalizer=E,this._triggerCache={},this.onRemovalComplete=(ce,Ne)=>{},this._transitionEngine=new je(u,c,E),this._timelineEngine=new ii(u,c,E),this._transitionEngine.onRemovalComplete=(ce,Ne)=>this.onRemovalComplete(ce,Ne)}registerTrigger(u,c,E,ce,Ne){const ot=u+"-"+ce;let dt=this._triggerCache[ot];if(!dt){const vt=[],Bt=ni(this._driver,Ne,vt,[]);if(vt.length)throw function V(N,u){return new r.vHH(3404,!1)}();dt=function kr(N,u,c){return new po(N,u,c)}(ce,Bt,this._normalizer),this._triggerCache[ot]=dt}this._transitionEngine.registerTrigger(c,ce,dt)}register(u,c){this._transitionEngine.register(u,c)}destroy(u,c){this._transitionEngine.destroy(u,c)}onInsert(u,c,E,ce){this._transitionEngine.insertNode(u,c,E,ce)}onRemove(u,c,E,ce){this._transitionEngine.removeNode(u,c,ce||!1,E)}disableAnimations(u,c){this._transitionEngine.markElementAsDisabled(u,c)}process(u,c,E,ce){if("@"==E.charAt(0)){const[Ne,ot]=xt(E);this._timelineEngine.command(Ne,c,ot,ce)}else this._transitionEngine.trigger(u,c,E,ce)}listen(u,c,E,ce,Ne){if("@"==E.charAt(0)){const[ot,dt]=xt(E);return this._timelineEngine.listen(ot,c,dt,Ne)}return this._transitionEngine.listen(u,c,E,ce,Ne)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let _o=(()=>{class N{constructor(c,E,ce){this._element=c,this._startStyles=E,this._endStyles=ce,this._state=0;let Ne=N.initialStylesByElement.get(c);Ne||N.initialStylesByElement.set(c,Ne=new Map),this._initialStyles=Ne}start(){this._state<1&&(this._startStyles&&Ut(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ut(this._element,this._initialStyles),this._endStyles&&(Ut(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(en(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(en(this._element,this._endStyles),this._endStyles=null),Ut(this._element,this._initialStyles),this._state=3)}}return N.initialStylesByElement=new WeakMap,N})();function Gi(N){let u=null;return N.forEach((c,E)=>{(function yo(N){return"display"===N||"position"===N})(E)&&(u=u||new Map,u.set(E,c))}),u}class ne{constructor(u,c,E,ce){this.element=u,this.keyframes=c,this.options=E,this._specialStyles=ce,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=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const c=[];return u.forEach(E=>{c.push(Object.fromEntries(E))}),c}_triggerWebAnimation(u,c,E){return u.animate(this._convertKeyframesToObject(c),E)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),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(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,ce)=>{"offset"!==ce&&u.set(ce,this._finished?E:Kt(this.element,ce))}),this.currentSnapshot=u}triggerCallback(u){const c="start"===u?this._onStartFns:this._onDoneFns;c.forEach(E=>E()),c.length=0}}class k{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,c){return!1}containsElement(u,c){return Ze(u,c)}getParentElement(u){return nt(u)}query(u,c,E){return we(u,c,E)}computeStyle(u,c,E){return window.getComputedStyle(u)[c]}animate(u,c,E,ce,Ne,ot=[]){const vt={duration:E,delay:ce,fill:0==ce?"both":"forwards"};Ne&&(vt.easing=Ne);const Ot=new Map,Bt=ot.filter(mn=>mn instanceof ne);(function Et(N,u){return 0===N||0===u})(E,ce)&&Bt.forEach(mn=>{mn.currentSnapshot.forEach((fn,pn)=>Ot.set(pn,fn))});let Gt=function St(N){return N.length?N[0]instanceof Map?N:N.map(u=>Mt(u)):[]}(c).map(mn=>$t(mn));Gt=function Dt(N,u,c){if(c.size&&u.length){let E=u[0],ce=[];if(c.forEach((Ne,ot)=>{E.has(ot)||ce.push(ot),E.set(ot,Ne)}),ce.length)for(let Ne=1;Neot.set(dt,Kt(N,dt)))}}return u}(u,Gt,Ot);const bn=function Bi(N,u){let c=null,E=null;return Array.isArray(u)&&u.length?(c=Gi(u[0]),u.length>1&&(E=Gi(u[u.length-1]))):u instanceof Map&&(c=Gi(u)),c||E?new _o(N,c,E):null}(u,Gt);return new ne(u,Gt,vt,bn)}}var F=s(8692);let Ve=(()=>{class N extends f._j{constructor(c,E){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(E.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(c){const E=this._nextAnimationId.toString();this._nextAnimationId++;const ce=Array.isArray(c)?(0,f.vP)(c):c;return In(this._renderer,null,E,"register",[ce]),new Ct(E,this._renderer)}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(r.FYo),r.LFG(F.K0))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})();class Ct extends f.LC{constructor(u,c){super(),this._id=u,this._renderer=c}create(u,c){return new Vt(this._id,u,c||{},this._renderer)}}class Vt{constructor(u,c,E,ce){this.id=u,this.element=c,this._renderer=ce,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",E)}_listen(u,c){return this._renderer.listen(this.element,`@@${this.id}:${u}`,c)}_command(u,...c){return In(this._renderer,this.element,this.id,u,c)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function In(N,u,c,E,ce){return N.setProperty(u,`@@${c}:${E}`,ce)}const di="@.disabled";let Fr=(()=>{class N{constructor(c,E,ce){this.delegate=c,this.engine=E,this._zone=ce,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),E.onRemovalComplete=(Ne,ot)=>{const dt=ot?.parentNode(Ne);dt&&ot.removeChild(dt,Ne)}}createRenderer(c,E){const Ne=this.delegate.createRenderer(c,E);if(!(c&&E&&E.data&&E.data.animation)){let Bt=this._rendererCache.get(Ne);return Bt||(Bt=new wr("",Ne,this.engine),this._rendererCache.set(Ne,Bt)),Bt}const ot=E.id,dt=E.id+"-"+this._currentId;this._currentId++,this.engine.register(dt,c);const vt=Bt=>{Array.isArray(Bt)?Bt.forEach(vt):this.engine.registerTrigger(ot,dt,c,Bt.name,Bt)};return E.data.animation.forEach(vt),new Ka(this,dt,Ne,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,E,ce){c>=0&&cE(ce)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ne=>{const[ot,dt]=Ne;ot(dt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([E,ce]))}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 N.\u0275fac=function(c){return new(c||N)(r.LFG(r.FYo),r.LFG(Wi),r.LFG(r.R0b))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})();class wr{constructor(u,c,E){this.namespaceId=u,this.delegate=c,this.engine=E,this.destroyNode=this.delegate.destroyNode?ce=>c.destroyNode(ce):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(u,c){return this.delegate.createElement(u,c)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,c){this.delegate.appendChild(u,c),this.engine.onInsert(this.namespaceId,c,u,!1)}insertBefore(u,c,E,ce=!0){this.delegate.insertBefore(u,c,E),this.engine.onInsert(this.namespaceId,c,u,ce)}removeChild(u,c,E){this.engine.onRemove(this.namespaceId,c,this.delegate,E)}selectRootElement(u,c){return this.delegate.selectRootElement(u,c)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,c,E,ce){this.delegate.setAttribute(u,c,E,ce)}removeAttribute(u,c,E){this.delegate.removeAttribute(u,c,E)}addClass(u,c){this.delegate.addClass(u,c)}removeClass(u,c){this.delegate.removeClass(u,c)}setStyle(u,c,E,ce){this.delegate.setStyle(u,c,E,ce)}removeStyle(u,c,E){this.delegate.removeStyle(u,c,E)}setProperty(u,c,E){"@"==c.charAt(0)&&c==di?this.disableAnimations(u,!!E):this.delegate.setProperty(u,c,E)}setValue(u,c){this.delegate.setValue(u,c)}listen(u,c,E){return this.delegate.listen(u,c,E)}disableAnimations(u,c){this.engine.disableAnimations(u,c)}}class Ka extends wr{constructor(u,c,E,ce){super(c,E,ce),this.factory=u,this.namespaceId=c}setProperty(u,c,E){"@"==c.charAt(0)?"."==c.charAt(1)&&c==di?this.disableAnimations(u,E=void 0===E||!!E):this.engine.process(this.namespaceId,u,c.slice(1),E):this.delegate.setProperty(u,c,E)}listen(u,c,E){if("@"==c.charAt(0)){const ce=function la(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(u);let Ne=c.slice(1),ot="";return"@"!=Ne.charAt(0)&&([Ne,ot]=function Ya(N){const u=N.indexOf(".");return[N.substring(0,u),N.slice(u+1)]}(Ne)),this.engine.listen(this.namespaceId,ce,Ne,ot,dt=>{this.factory.scheduleListenerCallback(dt._data||-1,E,dt)})}return this.delegate.listen(u,c,E)}}const ns=[{provide:f._j,useClass:Ve},{provide:Ti,useFactory:function mi(){return new or}},{provide:Wi,useClass:(()=>{class N extends Wi{constructor(c,E,ce){super(c.body,E,ce)}ngOnDestroy(){this.flush()}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(F.K0),r.LFG(Ye),r.LFG(Ti))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac}),N})()},{provide:r.FYo,useFactory:function sr(N,u,c){return new Fr(N,u,c)},deps:[o.se,Wi,r.R0b]}],Lr=[{provide:Ye,useFactory:()=>new k},{provide:r.QbO,useValue:"BrowserAnimations"},...ns],Ki=[{provide:Ye,useClass:We},{provide:r.QbO,useValue:"NoopAnimations"},...ns];let ca=(()=>{class N{static withConfig(c){return{ngModule:N,providers:c.disableAnimations?Ki:Lr}}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({providers:Lr,imports:[o.b2]}),N})();var vo=s(8023),ua=s(3794),Nr=s(8399),Zr=s(1656),Ds=s(3212),Yi=s(3178),Qa=s(6527),Mr=s(9638),ar=s(3331);const is=function(N,u){return{hover:N,active:u}};let jo=(()=>{class N{constructor(c){this.router=c,this.hover=!1,this.active=!1}ngOnInit(){}onClick(){this.router.navigateByUrl("home")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Yi.F0))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-cogs-logo-text-button"]],decls:11,vars:4,consts:[[1,"app-cogs-logo-text-button","button",3,"click","mouseenter","mouseleave","mousedown","mouseup"],["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 512 512","enable-background","new 0 0 512 512",0,"xml","space","preserve",1,"app-cogs-logo-text-button","icon",3,"ngClass"],["fill","#FFFFFF","d","M487.032,293.276c1.942-12.141,2.968-24.59,2.968-37.277s-1.025-25.135-2.968-37.275l-69.876-15.356\n c-2.721-8.337-6.063-16.392-9.986-24.104l38.542-60.254c-14.653-20.256-32.466-38.069-52.722-52.722l-60.254,38.542\n c-7.713-3.923-15.768-7.266-24.105-9.986l-15.355-69.876c-12.141-1.943-24.588-2.968-37.275-2.968s-25.135,1.024-37.275,2.968\n l-15.356,69.876c-8.336,2.721-16.392,6.063-24.104,9.986L119.01,66.287C98.755,80.939,80.94,98.753,66.288,119.009l38.542,60.254\n c-3.923,7.712-7.265,15.768-9.986,24.104l-69.875,15.356C23.025,230.864,22,243.312,22,255.999s1.025,25.137,2.969,37.277\n l69.875,15.355c2.722,8.338,6.063,16.393,9.986,24.105l-38.542,60.254c14.652,20.256,32.467,38.068,52.722,52.721l60.254-38.541\n c7.713,3.922,15.769,7.266,24.104,9.986l15.356,69.875c12.141,1.943,24.588,2.969,37.275,2.969s25.135-1.025,37.275-2.969\n l15.355-69.875c8.338-2.721,16.393-6.064,24.105-9.986l60.253,38.541c20.255-14.652,38.069-32.467,52.723-52.723l-38.542-60.252\n c3.923-7.713,7.266-15.768,9.986-24.105L487.032,293.276z M374.68,289.9c-2.813,9.661-6.757,18.839-11.727,27.353l10.975,22.428\n c-9.094,12.617-20.178,23.703-32.797,32.797l-22.428-10.973c-8.909,5.198-18.54,9.282-28.695,12.113v0.479l-9.299,49.908\n c-8.067,1.18-16.316,1.801-24.709,1.801c-8.394,0-16.641-0.621-24.709-1.801l-9.19-49.325c-9.662-2.813-18.84-6.759-27.355-11.728\n l-22.427,10.975c-12.618-9.094-23.703-20.178-32.797-32.797l10.973-22.428c-5.198-8.908-9.283-18.539-12.113-28.693h-0.477\n l-49.908-9.299c-1.18-8.068-1.803-16.316-1.803-24.71s0.623-16.642,1.803-24.709l49.323-9.189\n c2.813-9.663,6.759-18.842,11.728-27.358l-10.975-22.428c9.094-12.617,20.178-23.702,32.797-32.796l22.429,10.973\n c8.908-5.198,18.539-9.283,28.694-12.113v-0.475l9.299-49.907c8.068-1.181,16.315-1.803,24.709-1.803\n c8.393,0,16.642,0.622,24.709,1.803l9.189,49.321c9.662,2.813,18.842,6.758,27.357,11.728l22.428-10.975\n c12.617,9.094,23.702,20.178,32.796,32.797l-10.974,22.428c5.199,8.909,9.284,18.541,12.115,28.696h0.475l49.908,9.299\n c1.18,8.067,1.802,16.315,1.802,24.709s-0.622,16.642-1.802,24.71L374.68,289.9z"],["fill","#FFFFFF","d","M273.602,162.068l-4.238-28.448c-4.39-0.475-8.847-0.725-13.363-0.725c-5.165,0-10.254,0.322-15.25,0.94\n l-4.262,28.604c6.299-1.308,12.824-1.997,19.512-1.997C262.014,160.443,267.896,161.005,273.602,162.068z"],["fill","#FFFFFF","d","M379.103,256.001c0-5.166-0.322-10.256-0.94-15.253l-28.604-4.261c1.307,6.298,1.996,12.826,1.996,19.514\n c0,6.014-0.563,11.896-1.624,17.602l28.448-4.236C378.853,264.974,379.103,260.519,379.103,256.001z"],["fill","#FFFFFF","d","M162.07,238.396l-28.448,4.239c-0.476,4.389-0.725,8.85-0.725,13.365c0,5.164,0.321,10.254,0.94,15.252\n l28.605,4.26c-1.308-6.299-1.998-12.826-1.998-19.512C160.445,249.985,161.008,244.104,162.07,238.396z"],["fill","#FFFFFF","d","M238.397,349.933l4.237,28.447c4.393,0.475,8.85,0.725,13.365,0.725c5.165,0,10.254-0.322,15.252-0.939\n l4.26-28.605c-6.301,1.309-12.824,1.996-19.512,1.996C249.985,351.556,244.104,350.995,238.397,349.933z"],["fill","#FFFFFF","cx","256","cy","256","r","68"],[1,"app-cogs-logo-text-button","cogs-title"]],template:function(c,E){1&c&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return E.onClick()})("mouseenter",function(){return E.hover=!0})("mouseleave",function(){return E.hover=!1})("mousedown",function(){return E.active=!0})("mouseup",function(){return E.active=!1}),r.O4$(),r.TgZ(1,"svg",1),r._UZ(2,"path",2),r.TgZ(3,"g"),r._UZ(4,"path",3)(5,"path",4)(6,"path",5)(7,"path",6),r.qZA(),r._UZ(8,"circle",7),r.qZA(),r.kcU(),r.TgZ(9,"h1",8),r._uU(10,"COGS"),r.qZA()()),2&c&&(r.xp6(1),r.Q6J("ngClass",r.WLB(1,is,E.hover,E.active)))},dependencies:[F.mk],styles:["[_nghost-%COMP%]{background-color:transparent}.icon[_ngcontent-%COMP%]{float:left;margin-right:6px}.button[_ngcontent-%COMP%]{position:relative;display:flex;flex:row;justify-content:left;background-color:transparent;border:0px;align-items:center}.button[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:none}.cogs-title[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}"]}),N})(),rs=(()=>{class N{setStyle(c,E){(function Cs(N){return Br(N)||function da(N){const u=document.createElement("link");return u.setAttribute("rel","stylesheet"),u.classList.add(ws(N)),document.head.appendChild(u),u}(N)})(c).setAttribute("href",E)}removeStyle(c){const E=Br(c);E&&document.head.removeChild(E)}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function Br(N){return document.head.querySelector(`link[rel="stylesheet"].${ws(N)}`)}function ws(N){return`style-manager-${N}`}let _i=(()=>{class N{constructor(c,E){this.document=c,this.platformId=E,this.documentIsAccessible=(0,F.NF)(this.platformId)}static getCookieRegExp(c){const E=c.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+E+"|;\\s*"+E+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(c){try{return decodeURIComponent(c)}catch{return c}}check(c){return!!this.documentIsAccessible&&(c=encodeURIComponent(c),N.getCookieRegExp(c).test(this.document.cookie))}get(c){if(this.documentIsAccessible&&this.check(c)){c=encodeURIComponent(c);const ce=N.getCookieRegExp(c).exec(this.document.cookie);return ce[1]?N.safeDecodeURIComponent(ce[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const c={},E=this.document;return E.cookie&&""!==E.cookie&&E.cookie.split(";").forEach(ce=>{const[Ne,ot]=ce.split("=");c[N.safeDecodeURIComponent(Ne.replace(/^ /,""))]=N.safeDecodeURIComponent(ot)}),c}set(c,E,ce,Ne,ot,dt,vt){if(!this.documentIsAccessible)return;if("number"==typeof ce||ce instanceof Date||Ne||ot||dt||vt)return void this.set(c,E,{expires:ce,path:Ne,domain:ot,secure:dt,sameSite:vt||"Lax"});let Ot=encodeURIComponent(c)+"="+encodeURIComponent(E)+";";const Bt=ce||{};Bt.expires&&(Ot+="number"==typeof Bt.expires?"expires="+new Date((new Date).getTime()+1e3*Bt.expires*60*60*24).toUTCString()+";":"expires="+Bt.expires.toUTCString()+";"),Bt.path&&(Ot+="path="+Bt.path+";"),Bt.domain&&(Ot+="domain="+Bt.domain+";"),!1===Bt.secure&&"None"===Bt.sameSite&&(Bt.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${c} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Bt.secure&&(Ot+="secure;"),Bt.sameSite||(Bt.sameSite="Lax"),Ot+="sameSite="+Bt.sameSite+";",this.document.cookie=Ot}delete(c,E,ce,Ne,ot="Lax"){if(!this.documentIsAccessible)return;const dt=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(c,"",{expires:dt,path:E,domain:ce,secure:Ne,sameSite:ot})}deleteAll(c,E,ce,Ne="Lax"){if(!this.documentIsAccessible)return;const ot=this.getAll();for(const dt in ot)ot.hasOwnProperty(dt)&&this.delete(dt,c,E,ce,Ne)}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(F.K0),r.LFG(r.Lbi))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Sr=(()=>{class N{constructor(c,E){this.styleManagerService=c,this.cookieService=E,this._currentTheme="light",this.currentTheme=E.check("theme")?E.get("theme"):"light"}set currentTheme(c){this._currentTheme=c,this.cookieService.set("theme",this._currentTheme),this.styleManagerService.setStyle("theme",this._currentTheme+".css")}get currentTheme(){return this._currentTheme}}return N.\u0275fac=function(c){return new(c||N)(r.LFG(rs),r.LFG(_i))},N.\u0275prov=r.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Gn=s(4639);let Uo=(()=>{class N{constructor(c){this.themeManager=c,this.isDark=!1,this.isDark="dark"==this.themeManager.currentTheme}ngOnInit(){}onChange(c){this.isDark=c.checked,this.themeManager.currentTheme=this.isDark?"dark":"light"}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Sr))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-dark-mode-toggle"]],decls:3,vars:1,consts:[[1,"mr-8",3,"checked","change"],[1,"app-dark-mode-toggle","icon"]],template:function(c,E){1&c&&(r.TgZ(0,"mat-slide-toggle",0),r.NdJ("change",function(Ne){return E.onChange(Ne)}),r.qZA(),r.TgZ(1,"mat-icon",1),r._uU(2,"bedtime"),r.qZA()),2&c&&r.Q6J("checked",E.isDark)},dependencies:[ar.Hw,Gn.Rr],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}"]}),N})(),Ho=(()=>{class N{constructor(c){this.settings=c}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-header-social-media-buttons"]],decls:4,vars:2,consts:[["mat-icon-button","","target","_blank",1,"app-header-social-media-buttons","button",3,"href"],["size","1.5em","icon","discord",1,"app-header-social-media-buttons","icon","app-button","iconify","icon"],["size","1.5em","icon","mail",1,"app-header-social-media-buttons","icon","app-button","iconify","icon"]],template:function(c,E){1&c&&(r.TgZ(0,"a",0),r._UZ(1,"ic-icon",1),r.qZA(),r.TgZ(2,"a",0),r._UZ(3,"ic-icon",2),r.qZA()),2&c&&(r.Q6J("href",E.settings.General.discordLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.mailingListLink,r.LSH))},dependencies:[Mr.zs,Nr.ar],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center}.icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]}),N})();var Ms=s(8239),ha=s(3556),bo=s(3528),Ss=s(6440),Jr=s(9942),Xr=s(5208),$o=s(1241),os=s(2709),As=s(3223),Eo=s(8954),lr=s(4929),Ei=s(5436),zo=s(4813),hi=s(1860),qr=s(4945),Do=s(6401),Co=s(1927),wo=s(1528),ss=s(5598),as=s(4970),eo=s(5990),Os=s(8632),cr=s(1379),Wo=s(5875),to=s(8232),ls=s(6321),Ar=s(5531);const Za=["mat-menu-item",""];function xi(N,u){1&N&&(r.O4$(),r.TgZ(0,"svg",2),r._UZ(1,"polygon",3),r.qZA())}const Mo=["*"];function Go(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"div",0),r.NdJ("keydown",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._handleKeydown(ce))})("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.closed.emit("click"))})("@transformMenu.start",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._onAnimationStart(ce))})("@transformMenu.done",function(ce){r.CHM(c);const Ne=r.oxw();return r.KtG(Ne._onAnimationDone(ce))}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()()}if(2&N){const c=r.oxw();r.Q6J("id",c.panelId)("ngClass",c._classList)("@transformMenu",c._panelAnimationState),r.uIk("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby||null)("aria-describedby",c.ariaDescribedby||null)}}const cs={transformMenu:(0,f.X$)("transformMenu",[(0,f.SB)("void",(0,f.oB)({opacity:0,transform:"scale(0.8)"})),(0,f.eR)("void => enter",(0,f.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,f.oB)({opacity:1,transform:"scale(1)"}))),(0,f.eR)("* => void",(0,f.jt)("100ms 25ms linear",(0,f.oB)({opacity:0})))]),fadeInItems:(0,f.X$)("fadeInItems",[(0,f.SB)("showing",(0,f.oB)({opacity:1})),(0,f.eR)("void => *",[(0,f.oB)({opacity:0}),(0,f.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ga=new r.OlP("MatMenuContent"),Or=new r.OlP("MAT_MENU_PANEL"),Yo=(0,cr.Kr)((0,cr.Id)(class{}));let Qo=(()=>{class N extends Yo{constructor(c,E,ce,Ne,ot){super(),this._elementRef=c,this._document=E,this._focusMonitor=ce,this._parentMenu=Ne,this._changeDetectorRef=ot,this.role="menuitem",this._hovered=new vo.x,this._focused=new vo.x,this._highlighted=!1,this._triggersSubmenu=!1,Ne?.addItem?.(this)}focus(c,E){this._focusMonitor&&c?this._focusMonitor.focusVia(this._getHostElement(),c,E):this._getHostElement().focus(E),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(c){this.disabled&&(c.preventDefault(),c.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const c=this._elementRef.nativeElement.cloneNode(!0),E=c.querySelectorAll("mat-icon, .material-icons");for(let ce=0;ce{class N{constructor(c,E,ce,Ne){this._elementRef=c,this._ngZone=E,this._defaultOptions=ce,this._changeDetectorRef=Ne,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new r.n_E,this._tabSubscription=zo.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new vo.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+_a++}get xPosition(){return this._xPosition}set xPosition(c){this._xPosition=c,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(c){this._yPosition=c,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(c){this._overlapTrigger=(0,lr.Ig)(c)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(c){this._hasBackdrop=(0,lr.Ig)(c)}set panelClass(c){const E=this._previousPanelClass;E&&E.length&&E.split(" ").forEach(ce=>{this._classList[ce]=!1}),this._previousPanelClass=c,c&&c.length&&(c.split(" ").forEach(ce=>{this._classList[ce]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(c){this.panelClass=c}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Eo.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Co.O)(this._directDescendantItems),(0,wo.w)(c=>(0,hi.T)(...c.map(E=>E._focused)))).subscribe(c=>this._keyManager.updateActiveItem(c)),this._directDescendantItems.changes.subscribe(c=>{const E=this._keyManager;if("enter"===this._panelAnimationState&&E.activeItem?._hasFocus()){const ce=c.toArray(),Ne=Math.max(0,Math.min(ce.length-1,E.activeItemIndex||0));ce[Ne]&&!ce[Ne].disabled?E.setActiveItem(Ne):E.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,Co.O)(this._directDescendantItems),(0,wo.w)(E=>(0,hi.T)(...E.map(ce=>ce._hovered))))}addItem(c){}removeItem(c){}_handleKeydown(c){const E=c.keyCode,ce=this._keyManager;switch(E){case Ei.hY:(0,Ei.Vb)(c)||(c.preventDefault(),this.closed.emit("keydown"));break;case Ei.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Ei.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(E===Ei.LH||E===Ei.JH)&&ce.setFocusOrigin("keyboard"),void ce.onKeydown(c)}c.stopPropagation()}focusFirstItem(c="program"){this._ngZone.onStable.pipe((0,ss.q)(1)).subscribe(()=>{let E=null;if(this._directDescendantItems.length&&(E=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!E||!E.contains(document.activeElement)){const ce=this._keyManager;ce.setFocusOrigin(c).setFirstItemActive(),!ce.activeItem&&E&&E.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(c){const E=Math.min(this._baseElevation+c,24),ce=`${this._elevationPrefix}${E}`,Ne=Object.keys(this._classList).find(ot=>ot.startsWith(this._elevationPrefix));(!Ne||Ne===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ce]=!0,this._previousElevation=ce)}setPositionClasses(c=this.xPosition,E=this.yPosition){const ce=this._classList;ce["mat-menu-before"]="before"===c,ce["mat-menu-after"]="after"===c,ce["mat-menu-above"]="above"===E,ce["mat-menu-below"]="below"===E,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(c){this._animationDone.next(c),this._isAnimating=!1}_onAnimationStart(c){this._isAnimating=!0,"enter"===c.toState&&0===this._keyManager.activeItemIndex&&(c.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Co.O)(this._allItems)).subscribe(c=>{this._directDescendantItems.reset(c.filter(E=>E._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Zo),r.Y36(r.sBO))},N.\u0275dir=r.lG2({type:N,contentQueries:function(c,E,ce){if(1&c&&(r.Suo(ce,ga,5),r.Suo(ce,Qo,5),r.Suo(ce,Qo,4)),2&c){let Ne;r.iGM(Ne=r.CRH())&&(E.lazyContent=Ne.first),r.iGM(Ne=r.CRH())&&(E._allItems=Ne),r.iGM(Ne=r.CRH())&&(E.items=Ne)}},viewQuery:function(c,E){if(1&c&&r.Gf(r.Rgc,5),2&c){let ce;r.iGM(ce=r.CRH())&&(E.templateRef=ce.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"}}),N})(),D=(()=>{class N extends M{constructor(c,E,ce,Ne){super(c,E,ce,Ne),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Zo),r.Y36(r.sBO))},N.\u0275cmp=r.Xpm({type:N,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(c,E){2&c&&r.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[r._Bn([{provide:Or,useExisting:N}]),r.qOj],ngContentSelectors:Mo,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(c,E){1&c&&(r.F$t(),r.YNc(0,Go,3,6,"ng-template"))},dependencies:[F.mk],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;position:relative}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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}'],encapsulation:2,data:{animation:[cs.transformMenu,cs.fadeInItems]},changeDetection:0}),N})();const y=new r.OlP("mat-menu-scroll-strategy"),ge={provide:y,deps:[to.aV],useFactory:function W(N){return()=>N.scrollStrategies.reposition()}},it=(0,ls.i$)({passive:!0});let ht=(()=>{class N{constructor(c,E,ce,Ne,ot,dt,vt,Ot,Bt){this._overlay=c,this._element=E,this._viewContainerRef=ce,this._menuItemInstance=dt,this._dir=vt,this._focusMonitor=Ot,this._ngZone=Bt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=zo.w0.EMPTY,this._hoverSubscription=zo.w0.EMPTY,this._menuCloseSubscription=zo.w0.EMPTY,this._handleTouchStart=Gt=>{(0,Eo.yG)(Gt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ne,this._parentMaterialMenu=ot instanceof M?ot:void 0,E.nativeElement.addEventListener("touchstart",this._handleTouchStart,it),dt&&(dt._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(c){this.menu=c}get menu(){return this._menu}set menu(c){c!==this._menu&&(this._menu=c,this._menuCloseSubscription.unsubscribe(),c&&(this._menuCloseSubscription=c.close.subscribe(E=>{this._destroyMenu(E),("click"===E||"tab"===E)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(E)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,it),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const c=this.menu;if(this._menuOpen||!c)return;const E=this._createOverlay(c),ce=E.getConfig(),Ne=ce.positionStrategy;this._setPosition(c,Ne),ce.hasBackdrop=c.hasBackdrop??!this.triggersSubmenu(),E.attach(this._getPortal(c)),c.lazyContent&&c.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(c),c instanceof M&&(c._startAnimation(),c._directDescendantItems.changes.pipe((0,bo.R)(c.close)).subscribe(()=>{Ne.withLockedPosition(!1).reapplyLastPosition(),Ne.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(c,E){this._focusMonitor&&c?this._focusMonitor.focusVia(this._element,c,E):this._element.nativeElement.focus(E)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(c){if(!this._overlayRef||!this.menuOpen)return;const E=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===c||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,E instanceof M?(E._resetAnimation(),E.lazyContent?E._animationDone.pipe((0,as.h)(ce=>"void"===ce.toState),(0,ss.q)(1),(0,bo.R)(E.lazyContent._attached)).subscribe({next:()=>E.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),E?.lazyContent?.detach())}_initMenu(c){c.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,c.direction=this.dir,this._setMenuElevation(c),c.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(c){if(c.setElevation){let E=0,ce=c.parentMenu;for(;ce;)E++,ce=ce.parentMenu;c.setElevation(E)}}_setIsMenuOpen(c){this._menuOpen=c,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(c)}_createOverlay(c){if(!this._overlayRef){const E=this._getOverlayConfig(c);this._subscribeToPositions(c,E.positionStrategy),this._overlayRef=this._overlay.create(E),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(c){return new to.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:c.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:c.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(c,E){c.setPositionClasses&&E.positionChanges.subscribe(ce=>{const Ne="start"===ce.connectionPair.overlayX?"after":"before",ot="top"===ce.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>c.setPositionClasses(Ne,ot)):c.setPositionClasses(Ne,ot)})}_setPosition(c,E){let[ce,Ne]="before"===c.xPosition?["end","start"]:["start","end"],[ot,dt]="above"===c.yPosition?["bottom","top"]:["top","bottom"],[vt,Ot]=[ot,dt],[Bt,Gt]=[ce,Ne],bn=0;if(this.triggersSubmenu()){if(Gt=ce="before"===c.xPosition?"start":"end",Ne=Bt="end"===ce?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const mn=this._parentMaterialMenu.items.first;this._parentInnerPadding=mn?mn._getHostElement().offsetTop:0}bn="bottom"===ot?this._parentInnerPadding:-this._parentInnerPadding}}else c.overlapTrigger||(vt="top"===ot?"bottom":"top",Ot="top"===dt?"bottom":"top");E.withPositions([{originX:ce,originY:vt,overlayX:Bt,overlayY:ot,offsetY:bn},{originX:Ne,originY:vt,overlayX:Gt,overlayY:ot,offsetY:bn},{originX:ce,originY:Ot,overlayX:Bt,overlayY:dt,offsetY:-bn},{originX:Ne,originY:Ot,overlayX:Gt,overlayY:dt,offsetY:-bn}])}_menuClosingActions(){const c=this._overlayRef.backdropClick(),E=this._overlayRef.detachments(),ce=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,qr.of)(),Ne=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,as.h)(ot=>ot!==this._menuItemInstance),(0,as.h)(()=>this._menuOpen)):(0,qr.of)();return(0,hi.T)(c,ce,Ne,E)}_handleMousedown(c){(0,Eo.X6)(c)||(this._openedBy=0===c.button?"mouse":void 0,this.triggersSubmenu()&&c.preventDefault())}_handleKeydown(c){const E=c.keyCode;(E===Ei.K5||E===Ei.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(E===Ei.SV&&"ltr"===this.dir||E===Ei.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(c){this.triggersSubmenu()?(c.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,as.h)(c=>c===this._menuItemInstance&&!c.disabled),(0,eo.g)(0,Do.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof M&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ss.q)(1),(0,eo.g)(0,Do.E),(0,bo.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(c){return(!this._portal||this._portal.templateRef!==c.templateRef)&&(this._portal=new Os.UE(c.templateRef,this._viewContainerRef)),this._portal}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(to.aV),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(y),r.Y36(Or,8),r.Y36(Qo,10),r.Y36(Wo.Is,8),r.Y36(Eo.tE),r.Y36(r.R0b))},N.\u0275dir=r.lG2({type:N,hostVars:3,hostBindings:function(c,E){1&c&&r.NdJ("click",function(Ne){return E._handleClick(Ne)})("mousedown",function(Ne){return E._handleMousedown(Ne)})("keydown",function(Ne){return E._handleKeydown(Ne)}),2&c&&r.uIk("aria-haspopup",E.menu?"menu":null)("aria-expanded",E.menuOpen||null)("aria-controls",E.menuOpen?E.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"}}),N})(),Tt=(()=>{class N extends ht{}return N.\u0275fac=function(){let u;return function(E){return(u||(u=r.n5z(N)))(E||N)}}(),N.\u0275dir=r.lG2({type:N,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[r.qOj]}),N})(),jt=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({providers:[ge],imports:[F.ez,cr.BQ,cr.si,to.U8,Ar.ZD,cr.BQ]}),N})();var vn=s(6438);function Qt(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.onLoginClick())}),r._uU(1,"\nLogin\n"),r.qZA()}}function Pn(N,u){if(1&N&&(r.TgZ(0,"div",12),r._UZ(1,"app-avatar",13),r.qZA()),2&N){const c=r.oxw(),E=r.MAs(3);r.Q6J("matMenuTriggerFor",E),r.xp6(1),r.Q6J("avatarSrc",c.cdn.getFileLink(null==c.user?null:c.user.avatarLink))}}function Un(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.onCreateProjectClick())}),r.TgZ(1,"mat-icon"),r._uU(2,"add"),r.qZA(),r.TgZ(3,"span"),r._uU(4,"Create Project"),r.qZA()()}}let ai=(()=>{class N{constructor(c,E,ce,Ne,ot){this.cdn=c,this.authService=E,this.router=ce,this.uiMessageService=Ne,this.security=ot,this.onDestroy$=new vo.x,this.isLoggedIn=!1,this.canCreateProject=!1}ngOnInit(){var c=this;return(0,Ms.Z)(function*(){yield c.security.waitUntilReady(),c.authService.payload$.pipe((0,bo.R)(c.onDestroy$)).subscribe(E=>{c.user=E?.user,c.isLoggedIn=void 0!==E}),c.security.dataFetched$.pipe((0,bo.R)(c.onDestroy$)).subscribe(E=>{c.canCreateProject=c.security.makePermCalc().hasPermission(ha.y3.CreateProject)})})()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}onLoginClick(){this.router.navigateByUrl("/login")}onLogoutClick(){this.authService.logout()}onProfileClick(){this.router.navigateByUrl(`/members/${this.user?.username}`)}onCreateProjectClick(){this.router.navigateByUrl("/projects/new")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Ss.U),r.Y36(Jr.e),r.Y36(Yi.F0),r.Y36(Xr.S),r.Y36($o.I))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-login-button"]],decls:21,vars:6,consts:[["mat-flat-button","","pill","","color","primary",3,"click",4,"ngIf"],["style","padding: 0.5em 0 0.5em 0;",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[1,"menu"],[2,"padding","1em","width","12.5em","display","flex","flex-direction","column","gap","0.5em","align-items","center",3,"click"],["size","medium",3,"avatarSrc"],[2,"display","flex","flex-direction","column","align-items","center"],[1,"mb-0"],["mat-flat-button","","color","primary","pill","",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","pill","","color","primary",3,"click"],[2,"padding","0.5em 0 0.5em 0",3,"matMenuTriggerFor"],["size","input","border-width","0px","clickable-style","",3,"avatarSrc"]],template:function(c,E){1&c&&(r.YNc(0,Qt,2,0,"button",0),r.YNc(1,Pn,2,2,"div",1),r.TgZ(2,"mat-menu",null,2)(4,"div",3)(5,"div",4),r.NdJ("click",function(Ne){return Ne.stopPropagation()}),r._UZ(6,"app-avatar",5),r.TgZ(7,"div",6)(8,"h4",7),r._uU(9),r.qZA(),r.TgZ(10,"p",7),r._uU(11),r.qZA()(),r.TgZ(12,"button",8),r.NdJ("click",function(){return E.onLogoutClick()}),r._uU(13,"Logout"),r.qZA()(),r._UZ(14,"mat-divider"),r.TgZ(15,"button",9),r.NdJ("click",function(){return E.onProfileClick()}),r.TgZ(16,"mat-icon"),r._uU(17,"person"),r.qZA(),r.TgZ(18,"span"),r._uU(19,"Profile"),r.qZA()(),r.YNc(20,Un,5,0,"button",10),r.qZA()()),2&c&&(r.Q6J("ngIf",!E.isLoggedIn),r.xp6(1),r.Q6J("ngIf",E.isLoggedIn),r.xp6(5),r.Q6J("avatarSrc",E.cdn.getFileLink(null==E.user?null:E.user.avatarLink)),r.xp6(3),r.Oqu(null==E.user?null:E.user.displayName),r.xp6(2),r.hij("@",null==E.user?null:E.user.username,""),r.xp6(9),r.Q6J("ngIf",E.canCreateProject))},dependencies:[F.O5,os.v,Mr.lW,ar.Hw,As.A,D,Qo,Tt,vn.d]}),N})();var Qi=s(6779);const Tr=["*"];let Jo=(()=>{class N extends Qi.S{}return N.\u0275fac=function(){let u;return function(E){return(u||(u=r.n5z(N)))(E||N)}}(),N.\u0275cmp=r.Xpm({type:N,selectors:[["app-text-button"]],features:[r.qOj],ngContentSelectors:Tr,decls:3,vars:3,consts:[["type","button",3,"click"],[1,"app-text-button","text"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(){return E.onClick()}),r.TgZ(1,"span",1),r.Hsn(2),r.qZA()()),2&c&&r.Gre("app-text-button button ",E.color,"")},styles:[".button[_ngcontent-%COMP%]{border:none;background-color:transparent;text-align:center;text-decoration:none;display:inline-block;white-space:nowrap;height:2.5em;font-size:1.2em;width:100%;display:flex;align-items:center;justify-content:center;outline:0px}.text[_ngcontent-%COMP%]{margin:auto auto auto 0}"]}),N})();function Vr(N,u){if(1&N){const c=r.EpF();r.TgZ(0,"div")(1,"app-text-button",10),r.NdJ("click",function(){r.CHM(c);const ce=r.oxw();return r.KtG(ce.expanded=!1)}),r._uU(2),r.qZA()()}if(2&N){const c=u.$implicit;r.xp6(1),r.Q6J("link",c.link),r.xp6(1),r.Oqu(c.name)}}function no(N,u){1&N&&(r.TgZ(0,"mat-icon",11),r._uU(1,"menu"),r.qZA())}function dd(N,u){1&N&&(r.TgZ(0,"mat-icon",11),r._uU(1,"close"),r.qZA())}const jl=["*"];let Nn=(()=>{class N{constructor(){this.pageLinks=[],this.expanded=!1}get openCloseTrigger(){return this.expanded?"open":"closed"}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-hamburger-menu"]],inputs:{pageLinks:"pageLinks"},ngContentSelectors:jl,decls:17,vars:4,consts:[[1,"app-hamburger-menu","bg"],[1,"app-hamburger-menu","content"],[1,"app-hamburger-menu","dropdown-bg"],[1,"app-hamburger-menu","dropdown-content"],[4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","height","50px","align-items","center"],[2,"margin-left","8px"],[2,"position","absolute","right","0","display","flex","flex-direction","row","gap","1em","align-items","center"],["mat-icon-button","",3,"click"],["class","app-hamburger-menu hamburger-icon",4,"ngIf"],["route","",3,"link","click"],[1,"app-hamburger-menu","hamburger-icon"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),r.YNc(4,Vr,3,2,"div",4),r.TgZ(5,"div"),r._UZ(6,"app-header-social-media-buttons"),r.qZA(),r.TgZ(7,"div",5),r._UZ(8,"div",6)(9,"app-dark-mode-toggle"),r.qZA()()(),r._UZ(10,"app-cogs-logo-text-button"),r.TgZ(11,"div",7),r._UZ(12,"app-login-button"),r.TgZ(13,"button",8),r.NdJ("click",function(){return E.expanded=!E.expanded}),r.YNc(14,no,2,0,"mat-icon",9),r.YNc(15,dd,2,0,"mat-icon",9),r.qZA()(),r.Hsn(16),r.qZA()()),2&c&&(r.xp6(2),r.Q6J("@openClose",E.openCloseTrigger),r.xp6(2),r.Q6J("ngForOf",E.pageLinks),r.xp6(10),r.Q6J("ngIf",!E.expanded),r.xp6(1),r.Q6J("ngIf",E.expanded))},dependencies:[F.sg,F.O5,Mr.lW,ar.Hw,jo,Uo,Ho,ai,Jo],styles:[".bg[_ngcontent-%COMP%]{z-index:200;width:100%;height:100%}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:left;margin:auto;height:100%;padding-left:20px}.dropdown-bg[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:10}.dropdown-content[_ngcontent-%COMP%]{align-items:left;justify-content:top;flex-direction:column;width:100%;padding-left:20px;margin-top:4.5em;margin-left:auto;margin-right:auto}.content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:20px}app-cogs-logo-text-button[_ngcontent-%COMP%]{z-index:10}.hamburger-icon[_ngcontent-%COMP%]{position:relative;top:-2px;z-index:10}"],data:{animation:[(0,f.X$)("openClose",[(0,f.SB)("open",(0,f.oB)({opacity:1})),(0,f.SB)("closed",(0,f.oB)({opacity:0,pointerEvents:"none"})),(0,f.eR)("open => closed",[(0,f.jt)("100ms ease-in")]),(0,f.eR)("closed => open",[(0,f.ru)([(0,f.jt)("200ms ease-out"),(0,f.IO)(".dropdown-content>*",[(0,f.oB)({opacity:0,transform:"translateX(-100px)"}),(0,f.EY)(10,[(0,f.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)",(0,f.oB)({opacity:1,transform:"none"}))])])])])])]}}),N})();function Ul(N,u){if(1&N&&(r.TgZ(0,"app-text-button",5),r._uU(1),r.qZA()),2&N){const c=u.$implicit;r.Q6J("link",c.link),r.xp6(1),r.Oqu(c.name)}}const hd=["*"];let fd=(()=>{class N{constructor(){this.pageLinks=[]}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-horizontal-menu"]],inputs:{pageLinks:"pageLinks"},ngContentSelectors:hd,decls:10,vars:1,consts:[[1,"app-horizontal-menu","bg"],[1,"app-horizontal-menu","content"],[2,"position","absolute","left","1em","display","flex","flex-direction","row","gap","1.25em","justify-content","center"],["route","",3,"link",4,"ngFor","ngForOf"],[2,"position","absolute","right","0","display","flex","flex-direction","row","gap","1.25em","justify-content","center"],["route","",3,"link"]],template:function(c,E){1&c&&(r.F$t(),r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"div",2)(3,"app-cogs-logo-text-button"),r.YNc(4,Ul,2,2,"app-text-button",3),r.TgZ(5,"div",4),r._UZ(6,"app-header-social-media-buttons")(7,"app-dark-mode-toggle")(8,"app-login-button"),r.qZA(),r.Hsn(9),r.qZA()()),2&c&&(r.xp6(4),r.Q6J("ngForOf",E.pageLinks))},dependencies:[F.sg,jo,Uo,Ho,ai,Jo],styles:[".bg[_ngcontent-%COMP%]{align-items:center;width:100%;height:100%}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:left;margin:auto;height:100%;width:var(--main-width)}.content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:1.25em}.cogs-title[_ngcontent-%COMP%]{float:left;margin-top:auto;margin-bottom:auto;height:100%;vertical-align:middle}"]}),N})();function pd(N,u){if(1&N&&r._UZ(0,"app-horizontal-menu",2),2&N){const c=r.oxw();r.Q6J("pageLinks",c.settings.General.pageLinks)}}function gd(N,u){if(1&N&&r._UZ(0,"app-hamburger-menu",2),2&N){const c=r.oxw();r.Q6J("pageLinks",c.settings.General.pageLinks)}}const md=function(N){return{detached:N}};let _d=(()=>{class N{constructor(c,E){this.breakpointManager=c,this.settings=E,this.scrolled=!1}ngOnInit(){}onScroll(){this.scrolled=0!=window.pageYOffset}readProperty(){return window.getComputedStyle(document.body).getPropertyValue("--screen-type")}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Qa.I),r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-site-header"]],hostBindings:function(c,E){1&c&&r.NdJ("scroll",function(Ne){return E.onScroll(Ne)},!1,r.Jf7)},decls:3,vars:5,consts:[[1,"container",3,"ngClass"],[3,"pageLinks",4,"ngIf"],[3,"pageLinks"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0),r.YNc(1,pd,1,1,"app-horizontal-menu",1),r.YNc(2,gd,1,1,"app-hamburger-menu",1),r.qZA()),2&c&&(r.Q6J("ngClass",r.VKq(3,md,E.scrolled)),r.xp6(1),r.Q6J("ngIf",!E.breakpointManager.matchedBreakpointOrBelow("MOBILE")),r.xp6(1),r.Q6J("ngIf",E.breakpointManager.matchedBreakpointOrBelow("MOBILE")))},dependencies:[F.mk,F.O5,Nn,fd],styles:["[_nghost-%COMP%]{height:var(--site-header-height);position:fixed;top:0;width:100%;z-index:100;flex:0 1 auto}.container[_ngcontent-%COMP%]{width:100%;height:100%;transition:.3s}.detached[_ngcontent-%COMP%]{transition:.3s;box-shadow:0 0 32px #000}"]}),N})(),us=(()=>{class N{constructor(c){this.settings=c}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(Zr.g))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-footer-social-media-buttons"]],decls:11,vars:4,consts:[[1,"mb-0",2,"text-align","center"],[2,"display","flex","flex-direction","row","gap","16px"],["mat-icon-button","","target","_blank",3,"href"],["size","24px","icon","instagram",1,"icon"],["size","24px","icon","twitter",1,"icon"],["size","24px","icon","discord",1,"icon"],["size","24px","icon","mail",1,"icon"]],template:function(c,E){1&c&&(r.TgZ(0,"p",0),r._uU(1,"Follow Us"),r.qZA(),r.TgZ(2,"div",1)(3,"a",2),r._UZ(4,"ic-icon",3),r.qZA(),r.TgZ(5,"a",2),r._UZ(6,"ic-icon",4),r.qZA(),r.TgZ(7,"a",2),r._UZ(8,"ic-icon",5),r.qZA(),r.TgZ(9,"a",2),r._UZ(10,"ic-icon",6),r.qZA()()),2&c&&(r.xp6(3),r.Q6J("href",E.settings.General.instagramLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.twitterLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.discordLink,r.LSH),r.xp6(2),r.Q6J("href",E.settings.General.mailingListLink,r.LSH))},dependencies:[Nr.ar],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.icon[_ngcontent-%COMP%]{position:relative;top:.5em}"]}),N})(),yd=(()=>{class N{constructor(){}ngOnInit(){}}return N.\u0275fac=function(c){return new(c||N)},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-site-footer"]],decls:7,vars:0,consts:[[1,"app-site-footer","bg"],[1,"app-site-footer","content"],[1,"mt-16"],["href","https://github.com/RUCOGS/angular-cogs.github.io/","target","_blank"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"app-footer-social-media-buttons"),r.TgZ(3,"div",2),r._uU(4,"Made using Angular and hosted on Github Pages. Check out "),r.TgZ(5,"a",3),r._uU(6,"our repo here"),r.qZA()()()())},dependencies:[us],styles:["[_nghost-%COMP%]{flex:0 1 auto;position:relative}.bg[_ngcontent-%COMP%]{align-items:center;width:100%;height:-moz-fit-content;height:fit-content;padding-top:20px;padding-bottom:20px;box-shadow:0 0 32px #000}.content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;margin:auto;height:100%;width:80%}"]}),N})(),vd=(()=>{class N{constructor(c,E,ce,Ne,ot){this.elementRef=c,this.seoService=E,this.title="cogs",this.showSidebars=!1,this.onDestroy$=new vo.x,ce.registerAll(Ne.General.icons),this.updateStyleVars()}ngOnInit(){this.seoService.ngOnInit()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}updateStyleVars(){this.showSidebars?(this.elementRef.nativeElement.style.setProperty("--main-width","min(80%, 1080px)"),this.elementRef.nativeElement.style.setProperty("--content-width","100%")):(this.elementRef.nativeElement.style.setProperty("--main-width","unset"),this.elementRef.nativeElement.style.setProperty("--content-width","unset"))}getOutletContainerStyle(){return this.showSidebars?{"flex-basis":"var(--main-width)"}:{width:"100%"}}}return N.\u0275fac=function(c){return new(c||N)(r.Y36(r.SBq),r.Y36(ua.L),r.Y36(Nr.C6),r.Y36(Zr.g),r.Y36(Ds.n))},N.\u0275cmp=r.Xpm({type:N,selectors:[["app-root"]],decls:8,vars:1,consts:[[2,"position","relative","display","flex","flex-flow","column","width","100%"],[2,"display","flex","flex-direction","row","position","relative","min-height","100vh"],[1,"outlet-container",2,"display","flex",3,"ngStyle"],[2,"height","var(--site-header-height)"],[2,"flex","1"]],template:function(c,E){1&c&&(r.TgZ(0,"div",0),r._UZ(1,"app-site-header"),r.TgZ(2,"div",1)(3,"div",2),r._UZ(4,"div",3),r.TgZ(5,"div",4),r._UZ(6,"router-outlet"),r.qZA(),r._UZ(7,"app-site-footer"),r.qZA()()()),2&c&&(r.xp6(3),r.Q6J("ngStyle",E.getOutletContainerStyle()))},dependencies:[F.PC,Yi.lC,_d,yd],styles:["div.outlet-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;position:relative;flex:1}"]}),N})();var li=s(5732),ya=s(7657),ds=s(5719),bd=s(5491),va=s(7763),Mi=s(7545);let xr=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,va.I,Nr.QX,ar.Ps,Gn.rP,Mr.ot,Yi.Bz,Mi.fF,bd.F,jt,vn.t,ds.g]}),N})(),ba=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Nr.QX]}),N})();var Ps=s(2940);let Xo=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Mr.ot,va.I,ar.Ps,Mi.fF,Ps.AV,Yi.Bz]}),N})(),Ea=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,Mr.ot,va.I]}),N})(),Hl=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[F.ez,xr,ba,Xo,Ea,xr,ba,Xo,Ea]}),N})();const $l=[{path:"discord",loadChildren:()=>s.e(938).then(s.bind(s,9938)).then(N=>N.DiscordPageModule)},{path:"home",loadChildren:()=>Promise.all([s.e(780),s.e(454)]).then(s.bind(s,5454)).then(N=>N.HomePageModule)},{path:"calendar",loadChildren:()=>Promise.all([s.e(592),s.e(210)]).then(s.bind(s,5210)).then(N=>N.CalendarPageModule)},{path:"projects",loadChildren:()=>s.e(657).then(s.bind(s,3657)).then(N=>N.ProjectsDirModule)},{path:"pictures",loadChildren:()=>Promise.all([s.e(592),s.e(418)]).then(s.bind(s,7418)).then(N=>N.PicturesPageModule)},{path:"resources",loadChildren:()=>Promise.all([s.e(592),s.e(715)]).then(s.bind(s,2900)).then(N=>N.ResourcesPageModule)},{path:"sgj",redirectTo:"scarlet-game-jam"},{path:"scarlet-game-jam",loadChildren:()=>Promise.all([s.e(780),s.e(592),s.e(341)]).then(s.bind(s,6212)).then(N=>N.ScarletGameJamPageModule)},{path:"ggj",redirectTo:"global-game-jam"},{path:"global-game-jam",loadChildren:()=>Promise.all([s.e(780),s.e(592),s.e(515)]).then(s.bind(s,8277)).then(N=>N.GlobalGameJamPageModule)},{path:"blog",loadChildren:()=>s.e(543).then(s.bind(s,3543)).then(N=>N.BlogDirModule)},{path:"login",loadChildren:()=>s.e(935).then(s.bind(s,2935)).then(N=>N.LoginPageModule)},{path:"signup",loadChildren:()=>s.e(446).then(s.bind(s,5446)).then(N=>N.SignupPageModule)},{path:"members",loadChildren:()=>s.e(965).then(s.bind(s,965)).then(N=>N.UsersDirModule)},{path:"test",loadChildren:()=>s.e(725).then(s.bind(s,4725)).then(N=>N.TestPageModule)},{path:"result",loadChildren:()=>s.e(451).then(s.bind(s,4451)).then(N=>N.ResultModule)},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",redirectTo:"/home",pathMatch:"full"}];let Ed=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N}),N.\u0275inj=r.cJS({imports:[Yi.Bz.forRoot($l,{scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Yi.Bz]}),N})(),Dd=(()=>{class N{}return N.\u0275fac=function(c){return new(c||N)},N.\u0275mod=r.oAB({type:N,bootstrap:[vd]}),N.\u0275inj=r.cJS({imports:[o.b2,ca,_.xu,li.JF,Ed,Hl,Mi.fF,ya.JP.forRoot({sanitize:r.q3G.NONE})]}),N})();(0,r.G48)(),o.q6().bootstrapModule(Dd).catch(N=>console.error(N))},3176:(Ue,J,s)=>{"use strict";s.d(J,{WL:()=>g,Kh:()=>S,GD:()=>b,o1:()=>T,BS:()=>ue,JP:()=>r,eb:()=>h});const o={};function r(V){return!0===V||Array.isArray(V)}function h(V){return V&&V.baseDomain&&r(V.crudDomain)}const _={permissions:{}};function f(V,j,X){return!(!X||!j)&&(r(j)?L(j,X):h(j)?function d(V,j,X){return!!L(j.baseDomain,X)&&w(V,j.extraData,X)}(V,j,X):w(V,j,X))}function w(V,j,X){if(o[V]){const Ie=o[V]?.isExtraDataValidForOpDomain;if(Ie)return Ie(j,X)}return!1}function L(V,j){if(void 0===V)return!1;if(1==V)return!0;const X=V;for(const Ie of X){let ke=!0;for(const tt in j)if(Ie.hasOwnProperty(tt)&&j[tt]!==Ie[tt]){ke=!1;break}if(ke)return!0}return!1}var A=s(4028);class g{constructor(j=_,X={}){this.securityContext=j,this.operationDomain=X}withContext(j){return this.securityContext=j,this}withDomains(j){return this.operationDomain=j,this}withDomain(j){return this.operationDomain=j,this}hasPermission(j){if(!this.securityContext)return!1;if(Array.isArray(this.operationDomain)){for(const X of this.operationDomain)if(f(j,this.securityContext.permissions[j],X))return!0;return!1}return f(j,this.securityContext.permissions[j],this.operationDomain)}hasAllPermissions(...j){for(const X of j)if(!this.hasPermission(X))return!1;return!0}hasSomePermission(...j){for(const X of j)if(this.hasPermission(X))return!0;return!1}assertAllPermissions(...j){if(!this.hasAllPermissions(...j))throw new A.oo(403,`Missing required permissions: "${j.toString()}".`)}assertSomePermissions(...j){if(!this.hasSomePermission(...j))throw new A.oo(403,`Must have at least one permission from "${j.toString()}".`)}assertPermission(j){if(!this.hasPermission(j))throw new A.oo(403,`Missing required permission "${j}".`)}}var m=s(3556),b=(()=>{return(V=b||(b={}))[V.User=0]="User",V[V.ProjectMember=1]="ProjectMember",V[V.EBoard=2]="EBoard",b;var V})();const S={[m.LO.User]:{type:[b.User],name:"\u{1f642} User",childRoles:[m.LO.Artist,m.LO.GameDesigner,m.LO.Musician,m.LO.SoundDesigner,m.LO.Programmer,m.LO.Writer]},[m.LO.Moderator]:{type:[b.User],name:"\u{1f6c2} Moderator",inheritPerms:[m.LO.User],childRoles:[m.LO.User,m.LO.President,m.LO.VicePresident,m.LO.Eboard,m.LO.EventCoordinator,m.LO.CommunityManager,m.LO.Webmaster,m.LO.Treasurer,m.LO.SocialmediaManager,m.LO.BotDeveloper,m.LO.ClubGraphicArtist,m.LO.CommunicationsSpecialist,m.LO.PromotionsManager,m.LO.MerchandiseManager,m.LO.PortfolioManager,m.LO.ProjectOwner]},[m.LO.SuperAdmin]:{type:[b.User],name:"\u{1f60e} Super Admin",inheritPerms:[m.LO.Moderator],childRoles:[m.LO.Moderator]},[m.LO.Artist]:{type:[b.User,b.ProjectMember],name:"\u{1f3a8} Artist"},[m.LO.SoundDesigner]:{type:[b.User,b.ProjectMember],name:"\u{1f50a} Sound Designer"},[m.LO.Musician]:{type:[b.User,b.ProjectMember],name:"\u{1f3b7} Musician"},[m.LO.Programmer]:{type:[b.User,b.ProjectMember],name:"\u{1f4bb} Programmer"},[m.LO.GameDesigner]:{type:[b.User,b.ProjectMember],name:"\u{1f3d7}\ufe0f Game Designer"},[m.LO.Writer]:{type:[b.User,b.ProjectMember],name:"\u{1f4dd} Writer"},[m.LO.Eboard]:{type:[b.EBoard],name:"\u{1f4d8} E-Board"},[m.LO.President]:{name:"\u{1f451} President",type:[b.EBoard]},[m.LO.VicePresident]:{type:[b.EBoard],name:"\u{1f5dc}\ufe0f Vice President"},[m.LO.ClubGraphicArtist]:{type:[b.EBoard],name:"\u{1f3a8} Club Graphic Artist"},[m.LO.EventCoordinator]:{type:[b.EBoard],name:"\u{1f303} Event Coordinator"},[m.LO.CommunityManager]:{type:[b.EBoard],name:"\u{1f9d1}\u200d\u{1f91d}\u200d\u{1f9d1} Community Manager"},[m.LO.SocialmediaManager]:{type:[b.EBoard],name:"\u{1f4e4} Social Media Manager"},[m.LO.BotDeveloper]:{type:[b.EBoard],name:"\u{1f916} Bot Developer"},[m.LO.Treasurer]:{type:[b.EBoard],name:"\u{1f3e6} Treasurer"},[m.LO.Webmaster]:{type:[b.EBoard],name:"\u{1f578}\ufe0f Webmaster"},[m.LO.CommunicationsSpecialist]:{type:[b.EBoard],name:"\u{1f5e3}\ufe0f Communications Specialist"},[m.LO.PromotionsManager]:{type:[b.EBoard],name:"\u{1faa7} Promotions Manager"},[m.LO.MerchandiseManager]:{type:[b.EBoard],name:"\u{1f455} Merch Manager"},[m.LO.PortfolioManager]:{type:[b.EBoard],name:"\u{1f4c2} Portfolio Manager"},[m.LO.PreProfessionalManager]:{type:[b.EBoard],name:"\u{1f935} Pre-Professional Manager"},[m.LO.ProjectMember]:{type:[b.ProjectMember],name:"\u{1f642} Project Member"},[m.LO.ProjectOfficer]:{type:[b.ProjectMember],name:"\u{1f46e} Project Officer",inheritPerms:[m.LO.ProjectMember],childRoles:[m.LO.ProjectMember]},[m.LO.ProjectOwner]:{type:[b.ProjectMember],name:"\u{1f607} Project Owner",inheritPerms:[m.LO.ProjectOfficer],childRoles:[m.LO.ProjectOfficer]}},v=[];for(const[V,j]of Object.entries(S))v.push({...j,roleCode:V});function T(V){const j=new Set(V);for(const X of V){if(!j.has(X))continue;const Ie=Se(X);for(const ke of V)!j.has(X)||Ie.includes(ke)&&j.delete(ke)}return Array.from(j.values())}function ue(V){const j=new Set;let X=[];for(const Ie of V){const ke=S[Ie].childRoles;if(ke)for(const tt of ke)X=X.concat(Me(tt,j))}return X}function Me(V,j){if(j.has(V))return[];j.add(V);let X=[];const Ie=S[V];if(Ie&&Ie.childRoles)for(const ke of Ie.childRoles)X=X.concat(Me(ke,j));return X.push(V),X}function Se(V){let j=[];const X=S[V];if(X&&X.childRoles)for(const Ie of X.childRoles)j=j.concat(ve(Ie));return j}function ve(V){let j=[];const X=S[V];if(X&&X.childRoles)for(const Ie of X.childRoles)j=j.concat(ve(Ie));return j.push(V),j}},4028:(Ue,J,s)=>{"use strict";function h(L,A){for(let g=0;gh,oo:()=>w}),s(2978);class w extends Error{constructor(A,g){super(g),this.statusCode=A,this.message=g}}},592:(Ue,J,s)=>{"use strict";s.d(J,{_p:()=>S,r8:()=>x,v:()=>d}),s(3556);var r=s(4028);function d(T,ue,Z){if((0,r.bs)(T,ue))throw new r.oo(400,Z)}const b=/^[a-z]*[0-9]+$/;function S(T){return!!T&&b.test(T)}function x(T){return function Ee(T){if(!T||T.length>254)return!1;if(!te.test(T))return!1;var Z=T.split("@");return!(Z[0].length>64||Z[1].split(".").some(function(Se){return Se.length>63}))}(T)&&T.endsWith("rutgers.edu")}const te=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/},4762:(Ue,J,s)=>{"use strict";s.d(J,{FC:()=>te,Jh:()=>A,KL:()=>T,ZT:()=>r,_T:()=>_,ev:()=>H,mG:()=>L,pi:()=>h,qq:()=>x});var o=function(z,Y){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(V,j){V.__proto__=j}||function(V,j){for(var X in j)Object.prototype.hasOwnProperty.call(j,X)&&(V[X]=j[X])})(z,Y)};function r(z,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");function V(){this.constructor=z}o(z,Y),z.prototype=null===Y?Object.create(Y):(V.prototype=Y.prototype,new V)}var h=function(){return h=Object.assign||function(Y){for(var V,j=1,X=arguments.length;j0&&Ie[Ie.length-1])&&(6===$[0]||2===$[0])){V=0;continue}if(3===$[0]&&(!Ie||$[1]>Ie[0]&&$[1]1||tt(xe,Ke)})})}function tt(xe,Ke){try{!function lt(xe){xe.value instanceof x?Promise.resolve(xe.value.v).then($,Re):re(Ie[0][2],xe)}(j[xe](Ke))}catch(me){re(Ie[0][3],me)}}function $(xe){tt("next",xe)}function Re(xe){tt("throw",xe)}function re(xe,Ke){xe(Ke),Ie.shift(),Ie.length&&tt(Ie[0][0],Ie[0][1])}}function T(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,Y=z[Symbol.asyncIterator];return Y?Y.call(z):(z=function m(z){var Y="function"==typeof Symbol&&Symbol.iterator,V=Y&&z[Y],j=0;if(V)return V.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&j>=z.length&&(z=void 0),{value:z&&z[j++],done:!z}}};throw new TypeError(Y?"Object is not iterable.":"Symbol.iterator is not defined.")}(z),V={},j("next"),j("throw"),j("return"),V[Symbol.asyncIterator]=function(){return this},V);function j(Ie){V[Ie]=z[Ie]&&function(ke){return new Promise(function(tt,lt){!function X(Ie,ke,tt,lt){Promise.resolve(lt).then(function($){Ie({value:$,done:tt})},ke)}(tt,lt,(ke=z[Ie](ke)).done,ke.value)})}}}},4654:()=>{},5127:Ue=>{"use strict";var J=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],s=typeof globalThis>"u"?global:globalThis;Ue.exports=function(){for(var r=[],h=0;h{"use strict";var r=s(8540)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}Ue.exports=r},4071:(Ue,J,s)=>{"use strict";var o=s(7316);if(s(9326)()||s(9045)()){var r=Symbol.iterator;Ue.exports=function(ye){return null!=ye&&typeof ye[r]<"u"?ye[r]():o(ye)?Array.prototype[r].call(ye):void 0}}else{var h=s(5105),_=s(9825),f=s(8540),d=f("%Map%",!0),w=f("%Set%",!0),L=s(9568),A=L("Array.prototype.push"),g=L("String.prototype.charCodeAt"),B=L("String.prototype.slice"),b=function(ye){var De=0;return{next:function(){var V,Y=De>=ye.length;return Y||(V=ye[De],De+=1),{done:Y,value:V}}}},S=function(ye,De){if(h(ye)||o(ye))return b(ye);if(_(ye)){var z=0;return{next:function(){var V=function(ye,De){if(De+1>=ye.length)return De+1;var Y=g(ye,De);if(Y<55296||Y>56319)return De+1;var V=g(ye,De+1);return V<56320||V>57343?De+1:De+2}(ye,z),j=B(ye,z,V);return z=V,{done:V>ye.length,value:j}}}}return De&&typeof ye["_es6-shim iterator_"]<"u"?ye["_es6-shim iterator_"]():void 0};if(d||w){var v=s(3926),H=s(5878),x=L("Map.prototype.forEach",!0),te=L("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Ee=L("Map.prototype.iterator",!0),T=L("Set.prototype.iterator",!0),ue=function(ve){var ye=!1;return{next:function(){try{return{done:ye,value:ye?void 0:ve.next()}}catch{return ye=!0,{done:!0,value:void 0}}}}};var Z=L("Map.prototype.@@iterator",!0)||L("Map.prototype._es6-shim iterator_",!0),Me=L("Set.prototype.@@iterator",!0)||L("Set.prototype._es6-shim iterator_",!0);Ue.exports=function(ye){return function(ye){if(v(ye)){if(Ee)return ue(Ee(ye));if(Z)return Z(ye);if(x){var De=[];return x(ye,function(Y,V){A(De,[V,Y])}),b(De)}}if(H(ye)){if(T)return ue(T(ye));if(Me)return Me(ye);if(te){var z=[];return te(ye,function(Y){A(z,Y)}),b(z)}}}(ye)||S(ye)}}else Ue.exports=function(ye){if(null!=ye)return S(ye,!0)}}},8456:(Ue,J,s)=>{"use strict";var o=s(3926),r=s(5878),h=s(8666),_=s(6363);Ue.exports=function(d){if(d&&"object"==typeof d){if(o(d))return"Map";if(r(d))return"Set";if(h(d))return"WeakMap";if(_(d))return"WeakSet"}return!1}},4091:(Ue,J,s)=>{"use strict";s.d(J,{EY:()=>H,F4:()=>g,IO:()=>v,LC:()=>r,SB:()=>A,X$:()=>_,ZE:()=>Ee,ZN:()=>te,_j:()=>o,eR:()=>B,jt:()=>f,k1:()=>T,l3:()=>h,oB:()=>L,pV:()=>b,ru:()=>d,vP:()=>w});class o{}class r{}const h="*";function _(ue,Z){return{type:7,name:ue,definitions:Z,options:{}}}function f(ue,Z=null){return{type:4,styles:Z,timings:ue}}function d(ue,Z=null){return{type:3,steps:ue,options:Z}}function w(ue,Z=null){return{type:2,steps:ue,options:Z}}function L(ue){return{type:6,styles:ue,offset:null}}function A(ue,Z,Me){return{type:0,name:ue,styles:Z,options:Me}}function g(ue){return{type:5,steps:ue}}function B(ue,Z,Me=null){return{type:1,expr:ue,animation:Z,options:Me}}function b(ue=null){return{type:9,options:ue}}function v(ue,Z,Me=null){return{type:11,selector:ue,animation:Z,options:Me}}function H(ue,Z){return{type:12,timings:ue,animation:Z}}function x(ue){Promise.resolve(null).then(ue)}class te{constructor(Z=0,Me=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=Z+Me}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){x(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const Me="start"==Z?this._onStartFns:this._onDoneFns;Me.forEach(Se=>Se()),Me.length=0}}class Ee{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let Me=0,Se=0,ve=0;const ye=this.players.length;0==ye?x(()=>this._onFinish()):this.players.forEach(De=>{De.onDone(()=>{++Me==ye&&this._onFinish()}),De.onDestroy(()=>{++Se==ye&&this._onDestroy()}),De.onStart(()=>{++ve==ye&&this._onStart()})}),this.totalTime=this.players.reduce((De,z)=>Math.max(De,z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const Me=Z*this.totalTime;this.players.forEach(Se=>{const ve=Se.totalTime?Math.min(1,Me/Se.totalTime):1;Se.setPosition(ve)})}getPosition(){const Z=this.players.reduce((Me,Se)=>null===Me||Se.totalTime>Me.totalTime?Se:Me,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const Me="start"==Z?this._onStartFns:this._onDoneFns;Me.forEach(Se=>Se()),Me.length=0}}const T="!"},8954:(Ue,J,s)=>{"use strict";s.d(J,{$s:()=>z,Em:()=>Ie,Kd:()=>Be,X6:()=>nt,ic:()=>tt,kH:()=>K,mK:()=>at,qV:()=>Ge,qm:()=>he,rt:()=>pe,s1:()=>X,tE:()=>de,yG:()=>ft});var o=s(8692),r=s(4537),h=s(6321),_=s(8023),f=s(4813),d=s(4121),w=s(4945),L=s(5436),A=s(8168),g=s(3151),B=s(4970),m=s(7969),b=s(5598),S=s(1588),v=s(2147),H=s(3528),x=s(4929),te=s(7723),Ee=s(1444);function Me(be,Oe){return(be.getAttribute(Oe)||"").match(/\S+/g)||[]}const ve="cdk-describedby-message",ye="cdk-describedby-host";let De=0,z=(()=>{class be{constructor(Ae,Je){this._platform=Je,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+De++,this._document=Ae,this._id=(0,r.f3M)(r.AFp)+"-"+De++}describe(Ae,Je,ct){if(!this._canBeDescribed(Ae,Je))return;const mt=Y(Je,ct);"string"!=typeof Je?(V(Je,this._id),this._messageRegistry.set(mt,{messageElement:Je,referenceCount:0})):this._messageRegistry.has(mt)||this._createMessageElement(Je,ct),this._isElementDescribedByMessage(Ae,mt)||this._addMessageReference(Ae,mt)}removeDescription(Ae,Je,ct){if(!Je||!this._isElementNode(Ae))return;const mt=Y(Je,ct);if(this._isElementDescribedByMessage(Ae,mt)&&this._removeMessageReference(Ae,mt),"string"==typeof Je){const Mt=this._messageRegistry.get(mt);Mt&&0===Mt.referenceCount&&this._deleteMessageElement(mt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ae=this._document.querySelectorAll(`[${ye}="${this._id}"]`);for(let Je=0;Je0!=ct.indexOf(ve));Ae.setAttribute("aria-describedby",Je.join(" "))}_addMessageReference(Ae,Je){const ct=this._messageRegistry.get(Je);(function ue(be,Oe,Ae){const Je=Me(be,Oe);Je.some(ct=>ct.trim()==Ae.trim())||(Je.push(Ae.trim()),be.setAttribute(Oe,Je.join(" ")))})(Ae,"aria-describedby",ct.messageElement.id),Ae.setAttribute(ye,this._id),ct.referenceCount++}_removeMessageReference(Ae,Je){const ct=this._messageRegistry.get(Je);ct.referenceCount--,function Z(be,Oe,Ae){const ct=Me(be,Oe).filter(mt=>mt!=Ae.trim());ct.length?be.setAttribute(Oe,ct.join(" ")):be.removeAttribute(Oe)}(Ae,"aria-describedby",ct.messageElement.id),Ae.removeAttribute(ye)}_isElementDescribedByMessage(Ae,Je){const ct=Me(Ae,"aria-describedby"),mt=this._messageRegistry.get(Je),Mt=mt&&mt.messageElement.id;return!!Mt&&-1!=ct.indexOf(Mt)}_canBeDescribed(Ae,Je){if(!this._isElementNode(Ae))return!1;if(Je&&"object"==typeof Je)return!0;const ct=null==Je?"":`${Je}`.trim(),mt=Ae.getAttribute("aria-label");return!(!ct||mt&&mt.trim()===ct)}_isElementNode(Ae){return Ae.nodeType===this._document.ELEMENT_NODE}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(o.K0),r.LFG(h.t4))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function Y(be,Oe){return"string"==typeof be?`${Oe||""}/${be}`:be}function V(be,Oe){be.id||(be.id=`${ve}-${Oe}-${De++}`)}class j{constructor(Oe){this._items=Oe,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new _.x,this._typeaheadSubscription=f.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Ae=>Ae.disabled,this._pressedLetters=[],this.tabOut=new _.x,this.change=new _.x,Oe instanceof r.n_E&&Oe.changes.subscribe(Ae=>{if(this._activeItem){const ct=Ae.toArray().indexOf(this._activeItem);ct>-1&&ct!==this._activeItemIndex&&(this._activeItemIndex=ct)}})}skipPredicate(Oe){return this._skipPredicateFn=Oe,this}withWrap(Oe=!0){return this._wrap=Oe,this}withVerticalOrientation(Oe=!0){return this._vertical=Oe,this}withHorizontalOrientation(Oe){return this._horizontal=Oe,this}withAllowedModifierKeys(Oe){return this._allowedModifierKeys=Oe,this}withTypeAhead(Oe=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,A.b)(Ae=>this._pressedLetters.push(Ae)),(0,g.b)(Oe),(0,B.h)(()=>this._pressedLetters.length>0),(0,m.U)(()=>this._pressedLetters.join(""))).subscribe(Ae=>{const Je=this._getItemsArray();for(let ct=1;ct!Oe[mt]||this._allowedModifierKeys.indexOf(mt)>-1);switch(Ae){case L.Mf:return void this.tabOut.next();case L.JH:if(this._vertical&&ct){this.setNextItemActive();break}return;case L.LH:if(this._vertical&&ct){this.setPreviousItemActive();break}return;case L.SV:if(this._horizontal&&ct){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case L.oh:if(this._horizontal&&ct){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case L.Sd:if(this._homeAndEnd&&ct){this.setFirstItemActive();break}return;case L.uR:if(this._homeAndEnd&&ct){this.setLastItemActive();break}return;default:return void((ct||(0,L.Vb)(Oe,"shiftKey"))&&(Oe.key&&1===Oe.key.length?this._letterKeyStream.next(Oe.key.toLocaleUpperCase()):(Ae>=L.A&&Ae<=L.Z||Ae>=L.xE&&Ae<=L.aO)&&this._letterKeyStream.next(String.fromCharCode(Ae))))}this._pressedLetters=[],Oe.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(Oe){const Ae=this._getItemsArray(),Je="number"==typeof Oe?Oe:Ae.indexOf(Oe);this._activeItem=Ae[Je]??null,this._activeItemIndex=Je}_setActiveItemByDelta(Oe){this._wrap?this._setActiveInWrapMode(Oe):this._setActiveInDefaultMode(Oe)}_setActiveInWrapMode(Oe){const Ae=this._getItemsArray();for(let Je=1;Je<=Ae.length;Je++){const ct=(this._activeItemIndex+Oe*Je+Ae.length)%Ae.length;if(!this._skipPredicateFn(Ae[ct]))return void this.setActiveItem(ct)}}_setActiveInDefaultMode(Oe){this._setActiveItemByIndex(this._activeItemIndex+Oe,Oe)}_setActiveItemByIndex(Oe,Ae){const Je=this._getItemsArray();if(Je[Oe]){for(;this._skipPredicateFn(Je[Oe]);)if(!Je[Oe+=Ae])return;this.setActiveItem(Oe)}}_getItemsArray(){return this._items instanceof r.n_E?this._items.toArray():this._items}}class X extends j{setActiveItem(Oe){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Oe),this.activeItem&&this.activeItem.setActiveStyles()}}class Ie extends j{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Oe){return this._origin=Oe,this}setActiveItem(Oe){super.setActiveItem(Oe),this.activeItem&&this.activeItem.focus(this._origin)}}let tt=(()=>{class be{constructor(Ae){this._platform=Ae}isDisabled(Ae){return Ae.hasAttribute("disabled")}isVisible(Ae){return function $(be){return!!(be.offsetWidth||be.offsetHeight||"function"==typeof be.getClientRects&&be.getClientRects().length)}(Ae)&&"visible"===getComputedStyle(Ae).visibility}isTabbable(Ae){if(!this._platform.isBrowser)return!1;const Je=function lt(be){try{return be.frameElement}catch{return null}}(function Qe(be){return be.ownerDocument&&be.ownerDocument.defaultView||window}(Ae));if(Je&&(-1===se(Je)||!this.isVisible(Je)))return!1;let ct=Ae.nodeName.toLowerCase(),mt=se(Ae);return Ae.hasAttribute("contenteditable")?-1!==mt:!("iframe"===ct||"object"===ct||this._platform.WEBKIT&&this._platform.IOS&&!function Ce(be){let Oe=be.nodeName.toLowerCase(),Ae="input"===Oe&&be.type;return"text"===Ae||"password"===Ae||"select"===Oe||"textarea"===Oe}(Ae))&&("audio"===ct?!!Ae.hasAttribute("controls")&&-1!==mt:"video"===ct?-1!==mt&&(null!==mt||this._platform.FIREFOX||Ae.hasAttribute("controls")):Ae.tabIndex>=0)}isFocusable(Ae,Je){return function He(be){return!function re(be){return function Ke(be){return"input"==be.nodeName.toLowerCase()}(be)&&"hidden"==be.type}(be)&&(function Re(be){let Oe=be.nodeName.toLowerCase();return"input"===Oe||"select"===Oe||"button"===Oe||"textarea"===Oe}(be)||function xe(be){return function me(be){return"a"==be.nodeName.toLowerCase()}(be)&&be.hasAttribute("href")}(be)||be.hasAttribute("contenteditable")||P(be))}(Ae)&&!this.isDisabled(Ae)&&(Je?.ignoreVisibility||this.isVisible(Ae))}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function P(be){if(!be.hasAttribute("tabindex")||void 0===be.tabIndex)return!1;let Oe=be.getAttribute("tabindex");return!(!Oe||isNaN(parseInt(Oe,10)))}function se(be){if(!P(be))return null;const Oe=parseInt(be.getAttribute("tabindex")||"",10);return isNaN(Oe)?-1:Oe}class st{constructor(Oe,Ae,Je,ct,mt=!1){this._element=Oe,this._checker=Ae,this._ngZone=Je,this._document=ct,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,mt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Oe){this._enabled=Oe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}destroy(){const Oe=this._startAnchor,Ae=this._endAnchor;Oe&&(Oe.removeEventListener("focus",this.startAnchorListener),Oe.remove()),Ae&&(Ae.removeEventListener("focus",this.endAnchorListener),Ae.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(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusInitialElement(Oe)))})}focusFirstTabbableElementWhenReady(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusFirstTabbableElement(Oe)))})}focusLastTabbableElementWhenReady(Oe){return new Promise(Ae=>{this._executeOnStable(()=>Ae(this.focusLastTabbableElement(Oe)))})}_getRegionBoundary(Oe){const Ae=this._element.querySelectorAll(`[cdk-focus-region-${Oe}], [cdkFocusRegion${Oe}], [cdk-focus-${Oe}]`);return"start"==Oe?Ae.length?Ae[0]:this._getFirstTabbableElement(this._element):Ae.length?Ae[Ae.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Oe){const Ae=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ae){if(!this._checker.isFocusable(Ae)){const Je=this._getFirstTabbableElement(Ae);return Je?.focus(Oe),!!Je}return Ae.focus(Oe),!0}return this.focusFirstTabbableElement(Oe)}focusFirstTabbableElement(Oe){const Ae=this._getRegionBoundary("start");return Ae&&Ae.focus(Oe),!!Ae}focusLastTabbableElement(Oe){const Ae=this._getRegionBoundary("end");return Ae&&Ae.focus(Oe),!!Ae}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Oe){if(this._checker.isFocusable(Oe)&&this._checker.isTabbable(Oe))return Oe;const Ae=Oe.children;for(let Je=0;Je=0;Je--){const ct=Ae[Je].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ae[Je]):null;if(ct)return ct}return null}_createAnchor(){const Oe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Oe),Oe.classList.add("cdk-visually-hidden"),Oe.classList.add("cdk-focus-trap-anchor"),Oe.setAttribute("aria-hidden","true"),Oe}_toggleAnchorTabIndex(Oe,Ae){Oe?Ae.setAttribute("tabindex","0"):Ae.removeAttribute("tabindex")}toggleAnchors(Oe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Oe,this._startAnchor),this._toggleAnchorTabIndex(Oe,this._endAnchor))}_executeOnStable(Oe){this._ngZone.isStable?Oe():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(Oe)}}let Ge=(()=>{class be{constructor(Ae,Je,ct){this._checker=Ae,this._ngZone=Je,this._document=ct}create(Ae,Je=!1){return new st(Ae,this._checker,this._ngZone,this._document,Je)}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(tt),r.LFG(r.R0b),r.LFG(o.K0))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),at=(()=>{class be{constructor(Ae,Je,ct){this._elementRef=Ae,this._focusTrapFactory=Je,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Ae){this.focusTrap.enabled=(0,x.Ig)(Ae)}get autoCapture(){return this._autoCapture}set autoCapture(Ae){this._autoCapture=(0,x.Ig)(Ae)}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(Ae){const Je=Ae.autoCapture;Je&&!Je.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,h.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.Y36(r.SBq),r.Y36(Ge),r.Y36(o.K0))},be.\u0275dir=r.lG2({type:be,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),be})();function nt(be){return 0===be.buttons||0===be.offsetX&&0===be.offsetY}function ft(be){const Oe=be.touches&&be.touches[0]||be.changedTouches&&be.changedTouches[0];return!(!Oe||-1!==Oe.identifier||null!=Oe.radiusX&&1!==Oe.radiusX||null!=Oe.radiusY&&1!==Oe.radiusY)}const G=new r.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[L.zL,L.jx,L.b2,L.MW,L.JU]},oe=(0,h.i$)({passive:!0,capture:!0});let Te=(()=>{class be{constructor(Ae,Je,ct,mt){this._platform=Ae,this._mostRecentTarget=null,this._modality=new d.X(null),this._lastTouchMs=0,this._onKeydown=Mt=>{this._options?.ignoreKeys?.some(St=>St===Mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,h.sA)(Mt))},this._onMousedown=Mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(nt(Mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,h.sA)(Mt))},this._onTouchstart=Mt=>{ft(Mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,h.sA)(Mt))},this._options={...U,...mt},this.modalityDetected=this._modality.pipe((0,S.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,v.x)()),Ae.isBrowser&&Je.runOutsideAngular(()=>{ct.addEventListener("keydown",this._onKeydown,oe),ct.addEventListener("mousedown",this._onMousedown,oe),ct.addEventListener("touchstart",this._onTouchstart,oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oe),document.removeEventListener("mousedown",this._onMousedown,oe),document.removeEventListener("touchstart",this._onTouchstart,oe))}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4),r.LFG(r.R0b),r.LFG(o.K0),r.LFG(G,8))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const Xe=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ze(){return null}}),we=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Be=(()=>{class be{constructor(Ae,Je,ct,mt){this._ngZone=Je,this._defaultOptions=mt,this._document=ct,this._liveElement=Ae||this._createLiveElement()}announce(Ae,...Je){const ct=this._defaultOptions;let mt,Mt;return 1===Je.length&&"number"==typeof Je[0]?Mt=Je[0]:[mt,Mt]=Je,this.clear(),clearTimeout(this._previousTimeout),mt||(mt=ct&&ct.politeness?ct.politeness:"polite"),null==Mt&&ct&&(Mt=ct.duration),this._liveElement.setAttribute("aria-live",mt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(St=>this._currentResolve=St)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ae,"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(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ae="cdk-live-announcer-element",Je=this._document.getElementsByClassName(Ae),ct=this._document.createElement("div");for(let mt=0;mt{class be{constructor(Ae,Je,ct,mt,Mt){this._ngZone=Ae,this._platform=Je,this._inputModalityDetector=ct,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 _.x,this._rootNodeFocusAndBlurListener=St=>{const Zt=(0,h.sA)(St),$t="focus"===St.type?this._onFocus:this._onBlur;for(let nn=Zt;nn;nn=nn.parentElement)$t.call(this,St,nn)},this._document=mt,this._detectionMode=Mt?.detectionMode||0}monitor(Ae,Je=!1){const ct=(0,x.fI)(Ae);if(!this._platform.isBrowser||1!==ct.nodeType)return(0,w.of)(null);const mt=(0,h.kV)(ct)||this._getDocument(),Mt=this._elementInfo.get(ct);if(Mt)return Je&&(Mt.checkChildren=!0),Mt.subject;const St={checkChildren:Je,subject:new _.x,rootNode:mt};return this._elementInfo.set(ct,St),this._registerGlobalListeners(St),St.subject}stopMonitoring(Ae){const Je=(0,x.fI)(Ae),ct=this._elementInfo.get(Je);ct&&(ct.subject.complete(),this._setClasses(Je),this._elementInfo.delete(Je),this._removeGlobalListeners(ct))}focusVia(Ae,Je,ct){const mt=(0,x.fI)(Ae);mt===this._getDocument().activeElement?this._getClosestElementsInfo(mt).forEach(([St,Zt])=>this._originChanged(St,Je,Zt)):(this._setOrigin(Je),"function"==typeof mt.focus&&mt.focus(ct))}ngOnDestroy(){this._elementInfo.forEach((Ae,Je)=>this.stopMonitoring(Je))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ae){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ae)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Ae){return 1===this._detectionMode||!!Ae?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ae,Je){Ae.classList.toggle("cdk-focused",!!Je),Ae.classList.toggle("cdk-touch-focused","touch"===Je),Ae.classList.toggle("cdk-keyboard-focused","keyboard"===Je),Ae.classList.toggle("cdk-mouse-focused","mouse"===Je),Ae.classList.toggle("cdk-program-focused","program"===Je)}_setOrigin(Ae,Je=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ae,this._originFromTouchInteraction="touch"===Ae&&Je,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ae,Je){const ct=this._elementInfo.get(Je),mt=(0,h.sA)(Ae);!ct||!ct.checkChildren&&Je!==mt||this._originChanged(Je,this._getFocusOrigin(mt),ct)}_onBlur(Ae,Je){const ct=this._elementInfo.get(Je);!ct||ct.checkChildren&&Ae.relatedTarget instanceof Node&&Je.contains(Ae.relatedTarget)||(this._setClasses(Je),this._emitOrigin(ct,null))}_emitOrigin(Ae,Je){Ae.subject.observers.length&&this._ngZone.run(()=>Ae.subject.next(Je))}_registerGlobalListeners(Ae){if(!this._platform.isBrowser)return;const Je=Ae.rootNode,ct=this._rootNodeFocusListenerCount.get(Je)||0;ct||this._ngZone.runOutsideAngular(()=>{Je.addEventListener("focus",this._rootNodeFocusAndBlurListener,et),Je.addEventListener("blur",this._rootNodeFocusAndBlurListener,et)}),this._rootNodeFocusListenerCount.set(Je,ct+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,H.R)(this._stopInputModalityDetector)).subscribe(mt=>{this._setOrigin(mt,!0)}))}_removeGlobalListeners(Ae){const Je=Ae.rootNode;if(this._rootNodeFocusListenerCount.has(Je)){const ct=this._rootNodeFocusListenerCount.get(Je);ct>1?this._rootNodeFocusListenerCount.set(Je,ct-1):(Je.removeEventListener("focus",this._rootNodeFocusAndBlurListener,et),Je.removeEventListener("blur",this._rootNodeFocusAndBlurListener,et),this._rootNodeFocusListenerCount.delete(Je))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ae,Je,ct){this._setClasses(Ae,Je),this._emitOrigin(ct,Je),this._lastFocusOrigin=Je}_getClosestElementsInfo(Ae){const Je=[];return this._elementInfo.forEach((ct,mt)=>{(mt===Ae||ct.checkChildren&&mt.contains(Ae))&&Je.push([mt,ct])}),Je}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(r.R0b),r.LFG(h.t4),r.LFG(Te),r.LFG(o.K0,8),r.LFG(Ye,8))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),K=(()=>{class be{constructor(Ae,Je){this._elementRef=Ae,this._focusMonitor=Je,this.cdkFocusChange=new r.vpe}ngAfterViewInit(){const Ae=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ae,1===Ae.nodeType&&Ae.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Je=>this.cdkFocusChange.emit(Je))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.Y36(r.SBq),r.Y36(de))},be.\u0275dir=r.lG2({type:be,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),be})();const le="cdk-high-contrast-black-on-white",_e="cdk-high-contrast-white-on-black",ae="cdk-high-contrast-active";let he=(()=>{class be{constructor(Ae,Je){this._platform=Ae,this._document=Je,this._breakpointSubscription=(0,r.f3M)(Ee.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ae=this._document.createElement("div");Ae.style.backgroundColor="rgb(1,2,3)",Ae.style.position="absolute",this._document.body.appendChild(Ae);const Je=this._document.defaultView||window,ct=Je&&Je.getComputedStyle?Je.getComputedStyle(Ae):null,mt=(ct&&ct.backgroundColor||"").replace(/ /g,"");switch(Ae.remove(),mt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ae=this._document.body.classList;Ae.remove(ae,le,_e),this._hasCheckedHighContrastMode=!0;const Je=this.getHighContrastMode();1===Je?Ae.add(ae,le):2===Je&&Ae.add(ae,_e)}}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(h.t4),r.LFG(o.K0))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),pe=(()=>{class be{constructor(Ae){Ae._applyBodyHighContrastModeCssClasses()}}return be.\u0275fac=function(Ae){return new(Ae||be)(r.LFG(he))},be.\u0275mod=r.oAB({type:be}),be.\u0275inj=r.cJS({imports:[te.Q8]}),be})()},5875:(Ue,J,s)=>{"use strict";s.d(J,{Is:()=>w,vT:()=>A});var o=s(4537),r=s(8692);const h=new o.OlP("cdk-dir-doc",{providedIn:"root",factory:function _(){return(0,o.f3M)(r.K0)}}),f=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let w=(()=>{class g{constructor(m){if(this.value="ltr",this.change=new o.vpe,m){const S=m.documentElement?m.documentElement.dir:null;this.value=function d(g){const B=g?.toLowerCase()||"";return"auto"===B&&typeof navigator<"u"&&navigator?.language?f.test(navigator.language)?"rtl":"ltr":"rtl"===B?"rtl":"ltr"}((m.body?m.body.dir:null)||S||"ltr")}}ngOnDestroy(){this.change.complete()}}return g.\u0275fac=function(m){return new(m||g)(o.LFG(h,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})()},4929:(Ue,J,s)=>{"use strict";s.d(J,{Eq:()=>f,HM:()=>d,Ig:()=>r,du:()=>L,fI:()=>w,su:()=>h});var o=s(4537);function r(A){return null!=A&&"false"!=`${A}`}function h(A,g=0){return function _(A){return!isNaN(parseFloat(A))&&!isNaN(Number(A))}(A)?Number(A):g}function f(A){return Array.isArray(A)?A:[A]}function d(A){return null==A?"":"string"==typeof A?A:`${A}px`}function w(A){return A instanceof o.SBq?A.nativeElement:A}function L(A,g=/\s+/){const B=[];if(null!=A){const m=Array.isArray(A)?A:`${A}`.split(g);for(const b of m){const S=`${b}`.trim();S&&B.push(S)}}return B}},5834:(Ue,J,s)=>{"use strict";s.d(J,{A8:()=>g,Ov:()=>L,Z9:()=>_,eX:()=>w,k:()=>B,yy:()=>d});var o=s(8023),r=s(4537);function _(m){return m&&"function"==typeof m.connect}class d{applyChanges(b,S,v,H,x){b.forEachOperation((te,Ee,T)=>{let ue,Z;if(null==te.previousIndex){const Me=v(te,Ee,T);ue=S.createEmbeddedView(Me.templateRef,Me.context,Me.index),Z=1}else null==T?(S.remove(Ee),Z=3):(ue=S.get(Ee),S.move(ue,T),Z=2);x&&x({context:ue?.context,operation:Z,record:te})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,S,v,H,x){b.forEachOperation((te,Ee,T)=>{let ue,Z;null==te.previousIndex?(ue=this._insertView(()=>v(te,Ee,T),T,S,H(te)),Z=ue?1:0):null==T?(this._detachAndCacheView(Ee,S),Z=3):(ue=this._moveView(Ee,T,S,H(te)),Z=2),x&&x({context:ue?.context,operation:Z,record:te})})}detach(){for(const b of this._viewCache)b.destroy();this._viewCache=[]}_insertView(b,S,v,H){const x=this._insertViewFromCache(S,v);if(x)return void(x.context.$implicit=H);const te=b();return v.createEmbeddedView(te.templateRef,te.context,te.index)}_detachAndCacheView(b,S){const v=S.detach(b);this._maybeCacheView(v,S)}_moveView(b,S,v,H){const x=v.get(b);return v.move(x,S),x.context.$implicit=H,x}_maybeCacheView(b,S){if(this._viewCache.lengththis._markSelected(H)):this._markSelected(S[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...b){this._verifyValueAssignment(b),b.forEach(S=>this._markSelected(S)),this._emitChangeEvent()}deselect(...b){this._verifyValueAssignment(b),b.forEach(S=>this._unmarkSelected(S)),this._emitChangeEvent()}toggle(b){this.isSelected(b)?this.deselect(b):this.select(b)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(b){return this._selection.has(b)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(b){this._multiple&&this.selected&&this._selected.sort(b)}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(b){this.isSelected(b)||(this._multiple||this._unmarkAll(),this._selection.add(b),this._emitChanges&&this._selectedToEmit.push(b))}_unmarkSelected(b){this.isSelected(b)&&(this._selection.delete(b),this._emitChanges&&this._deselectedToEmit.push(b))}_unmarkAll(){this.isEmpty()||this._selection.forEach(b=>this._unmarkSelected(b))}_verifyValueAssignment(b){}}let g=(()=>{class m{constructor(){this._listeners=[]}notify(S,v){for(let H of this._listeners)H(S,v)}listen(S){return this._listeners.push(S),()=>{this._listeners=this._listeners.filter(v=>S!==v)}}ngOnDestroy(){this._listeners=[]}}return m.\u0275fac=function(S){return new(S||m)},m.\u0275prov=r.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const B=new r.OlP("_ViewRepeater")},5436:(Ue,J,s)=>{"use strict";s.d(J,{A:()=>re,JH:()=>T,JU:()=>d,K5:()=>f,Ku:()=>b,LH:()=>te,L_:()=>m,MW:()=>we,Mf:()=>h,OC:()=>Mn,SV:()=>Ee,Sd:()=>H,VM:()=>S,Vb:()=>Yn,Z:()=>Ze,ZH:()=>r,aO:()=>ke,b2:()=>ti,hY:()=>B,jx:()=>w,oh:()=>x,uR:()=>v,xE:()=>ve,yY:()=>Se,zL:()=>L});const r=8,h=9,f=13,d=16,w=17,L=18,B=27,m=32,b=33,S=34,v=35,H=36,x=37,te=38,Ee=39,T=40,Se=46,ve=48,ke=57,re=65,Ze=90,we=91,Mn=188,ti=224;function Yn(ni,...Kn){return Kn.length?Kn.some(ei=>ni[ei]):ni.altKey||ni.shiftKey||ni.ctrlKey||ni.metaKey}},1444:(Ue,J,s)=>{"use strict";s.d(J,{Yg:()=>T,u3:()=>Z,xu:()=>S});var o=s(4537),r=s(4929),h=s(8023),_=s(5696),f=s(3729),d=s(818),w=s(5598),L=s(1588),A=s(3151),g=s(7969),B=s(1927),m=s(3528),b=s(6321);let S=(()=>{class Me{}return Me.\u0275fac=function(ve){return new(ve||Me)},Me.\u0275mod=o.oAB({type:Me}),Me.\u0275inj=o.cJS({}),Me})();const v=new Set;let H,x=(()=>{class Me{constructor(ve){this._platform=ve,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ee}matchMedia(ve){return(this._platform.WEBKIT||this._platform.BLINK)&&function te(Me){if(!v.has(Me))try{H||(H=document.createElement("style"),H.setAttribute("type","text/css"),document.head.appendChild(H)),H.sheet&&(H.sheet.insertRule(`@media ${Me} {body{ }}`,0),v.add(Me))}catch(Se){console.error(Se)}}(ve),this._matchMedia(ve)}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.LFG(b.t4))},Me.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function Ee(Me){return{matches:"all"===Me||""===Me,media:Me,addListener:()=>{},removeListener:()=>{}}}let T=(()=>{class Me{constructor(ve,ye){this._mediaMatcher=ve,this._zone=ye,this._queries=new Map,this._destroySubject=new h.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ve){return ue((0,r.Eq)(ve)).some(De=>this._registerQuery(De).mql.matches)}observe(ve){const De=ue((0,r.Eq)(ve)).map(Y=>this._registerQuery(Y).observable);let z=(0,_.a)(De);return z=(0,f.z)(z.pipe((0,w.q)(1)),z.pipe((0,L.T)(1),(0,A.b)(0))),z.pipe((0,g.U)(Y=>{const V={matches:!1,breakpoints:{}};return Y.forEach(({matches:j,query:X})=>{V.matches=V.matches||j,V.breakpoints[X]=j}),V}))}_registerQuery(ve){if(this._queries.has(ve))return this._queries.get(ve);const ye=this._mediaMatcher.matchMedia(ve),z={observable:new d.y(Y=>{const V=j=>this._zone.run(()=>Y.next(j));return ye.addListener(V),()=>{ye.removeListener(V)}}).pipe((0,B.O)(ye),(0,g.U)(({matches:Y})=>({query:ve,matches:Y})),(0,m.R)(this._destroySubject)),mql:ye};return this._queries.set(ve,z),z}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.LFG(x),o.LFG(o.R0b))},Me.\u0275prov=o.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})();function ue(Me){return Me.map(Se=>Se.split(",")).reduce((Se,ve)=>Se.concat(ve)).map(Se=>Se.trim())}const Z={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7723:(Ue,J,s)=>{"use strict";s.d(J,{Q8:()=>A,wD:()=>L});var o=s(4929),r=s(4537),h=s(818),_=s(8023),f=s(3151);let d=(()=>{class g{create(m){return typeof MutationObserver>"u"?null:new MutationObserver(m)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=r.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),w=(()=>{class g{constructor(m){this._mutationObserverFactory=m,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((m,b)=>this._cleanupObserver(b))}observe(m){const b=(0,o.fI)(m);return new h.y(S=>{const H=this._observeElement(b).subscribe(S);return()=>{H.unsubscribe(),this._unobserveElement(b)}})}_observeElement(m){if(this._observedElements.has(m))this._observedElements.get(m).count++;else{const b=new _.x,S=this._mutationObserverFactory.create(v=>b.next(v));S&&S.observe(m,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(m,{observer:S,stream:b,count:1})}return this._observedElements.get(m).stream}_unobserveElement(m){this._observedElements.has(m)&&(this._observedElements.get(m).count--,this._observedElements.get(m).count||this._cleanupObserver(m))}_cleanupObserver(m){if(this._observedElements.has(m)){const{observer:b,stream:S}=this._observedElements.get(m);b&&b.disconnect(),S.complete(),this._observedElements.delete(m)}}}return g.\u0275fac=function(m){return new(m||g)(r.LFG(d))},g.\u0275prov=r.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),L=(()=>{class g{constructor(m,b,S){this._contentObserver=m,this._elementRef=b,this._ngZone=S,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(m){this._disabled=(0,o.Ig)(m),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(m){this._debounce=(0,o.su)(m),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const m=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?m.pipe((0,f.b)(this.debounce)):m).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return g.\u0275fac=function(m){return new(m||g)(r.Y36(w),r.Y36(r.SBq),r.Y36(r.R0b))},g.\u0275dir=r.lG2({type:g,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=r.oAB({type:g}),g.\u0275inj=r.cJS({providers:[d]}),g})()},8232:(Ue,J,s)=>{"use strict";s.d(J,{pI:()=>yt,xu:()=>xt,tR:()=>De,_G:()=>re,aV:()=>Ge,X_:()=>ye,Xj:()=>tt,U8:()=>nt,Iu:()=>lt});var o=s(5531),r=s(8692),h=s(4537),_=s(4929),f=s(6321),d=s(5875),w=s(8632),L=s(8023),A=s(4813),g=s(1860),B=s(2085),m=s(8499),S=s(5598),v=s(3528),H=s(5436);const x=(0,f.Mq)();class te{constructor(U,ie){this._viewportRuler=U,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ie}attach(){}enable(){if(this._canBeEnabled()){const U=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=U.style.left||"",this._previousHTMLStyles.top=U.style.top||"",U.style.left=(0,_.HM)(-this._previousScrollPosition.left),U.style.top=(0,_.HM)(-this._previousScrollPosition.top),U.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const U=this._document.documentElement,oe=U.style,Te=this._document.body.style,Xe=oe.scrollBehavior||"",Ze=Te.scrollBehavior||"";this._isEnabled=!1,oe.left=this._previousHTMLStyles.left,oe.top=this._previousHTMLStyles.top,U.classList.remove("cdk-global-scrollblock"),x&&(oe.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),x&&(oe.scrollBehavior=Xe,Te.scrollBehavior=Ze)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ie=this._document.body,oe=this._viewportRuler.getViewportSize();return ie.scrollHeight>oe.height||ie.scrollWidth>oe.width}}class T{constructor(U,ie,oe,Te){this._scrollDispatcher=U,this._ngZone=ie,this._viewportRuler=oe,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(U){this._overlayRef=U}enable(){if(this._scrollSubscription)return;const U=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=U.subscribe(()=>{const ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=U.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ue{enable(){}disable(){}attach(){}}function Z(G,U){return U.some(ie=>G.bottomie.bottom||G.rightie.right)}function Me(G,U){return U.some(ie=>G.topie.bottom||G.leftie.right)}class Se{constructor(U,ie,oe,Te){this._scrollDispatcher=U,this._viewportRuler=ie,this._ngZone=oe,this._config=Te,this._scrollSubscription=null}attach(U){this._overlayRef=U}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 ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:oe,height:Te}=this._viewportRuler.getViewportSize();Z(ie,[{width:oe,height:Te,bottom:Te,right:oe,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 ve=(()=>{class G{constructor(ie,oe,Te,Xe){this._scrollDispatcher=ie,this._viewportRuler=oe,this._ngZone=Te,this.noop=()=>new ue,this.close=Ze=>new T(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ze),this.block=()=>new te(this._viewportRuler,this._document),this.reposition=Ze=>new Se(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ze),this._document=Xe}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(o.mF),h.LFG(o.rL),h.LFG(h.R0b),h.LFG(r.K0))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();class ye{constructor(U){if(this.scrollStrategy=new ue,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,U){const ie=Object.keys(U);for(const oe of ie)void 0!==U[oe]&&(this[oe]=U[oe])}}}class De{constructor(U,ie,oe,Te,Xe){this.offsetX=oe,this.offsetY=Te,this.panelClass=Xe,this.originX=U.originX,this.originY=U.originY,this.overlayX=ie.overlayX,this.overlayY=ie.overlayY}}class Y{constructor(U,ie){this.connectionPair=U,this.scrollableViewProperties=ie}}let X=(()=>{class G{constructor(ie){this._attachedOverlays=[],this._document=ie}ngOnDestroy(){this.detach()}add(ie){this.remove(ie),this._attachedOverlays.push(ie)}remove(ie){const oe=this._attachedOverlays.indexOf(ie);oe>-1&&this._attachedOverlays.splice(oe,1),0===this._attachedOverlays.length&&this.detach()}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Ie=(()=>{class G extends X{constructor(ie,oe){super(ie),this._ngZone=oe,this._keydownListener=Te=>{const Xe=this._attachedOverlays;for(let Ze=Xe.length-1;Ze>-1;Ze--)if(Xe[Ze]._keydownEvents.observers.length>0){const we=Xe[Ze]._keydownEvents;this._ngZone?this._ngZone.run(()=>we.next(Te)):we.next(Te);break}}}add(ie){super.add(ie),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 G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0),h.LFG(h.R0b,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),ke=(()=>{class G extends X{constructor(ie,oe,Te){super(ie),this._platform=oe,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=Xe=>{this._pointerDownEventTarget=(0,f.sA)(Xe)},this._clickListener=Xe=>{const Ze=(0,f.sA)(Xe),we="click"===Xe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ze;this._pointerDownEventTarget=null;const Be=this._attachedOverlays.slice();for(let We=Be.length-1;We>-1;We--){const Ye=Be[We];if(Ye._outsidePointerEvents.observers.length<1||!Ye.hasAttached())continue;if(Ye.overlayElement.contains(Ze)||Ye.overlayElement.contains(we))break;const et=Ye._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>et.next(Xe)):et.next(Xe)}}}add(ie){if(super.add(ie),!this._isAttached){const oe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(oe)):this._addEventListeners(oe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=oe.style.cursor,oe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ie=this._document.body;ie.removeEventListener("pointerdown",this._pointerDownListener,!0),ie.removeEventListener("click",this._clickListener,!0),ie.removeEventListener("auxclick",this._clickListener,!0),ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ie){ie.addEventListener("pointerdown",this._pointerDownListener,!0),ie.addEventListener("click",this._clickListener,!0),ie.addEventListener("auxclick",this._clickListener,!0),ie.addEventListener("contextmenu",this._clickListener,!0)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(r.K0),h.LFG(f.t4),h.LFG(h.R0b,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),tt=(()=>{class G{constructor(ie,oe){this._platform=oe,this._document=ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ie="cdk-overlay-container";if(this._platform.isBrowser||(0,f.Oy)()){const Te=this._document.querySelectorAll(`.${ie}[platform="server"], .${ie}[platform="test"]`);for(let Xe=0;Xethis._backdropClick.next(et),this._backdropTransitionendHandler=et=>{this._disposeBackdrop(et.target)},this._keydownEvents=new L.x,this._outsidePointerEvents=new L.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(U){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ie=this._portalOutlet.attach(U);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,S.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),ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const U=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),U}dispose(){const U=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,U&&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(U){U!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=U,this.hasAttached()&&(U.attach(this),this.updatePosition()))}updateSize(U){this._config={...this._config,...U},this._updateElementSize()}setDirection(U){this._config={...this._config,direction:U},this._updateElementDirection()}addPanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!0)}removePanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!1)}getDirection(){const U=this._config.direction;return U?"string"==typeof U?U:U.value:"ltr"}updateScrollStrategy(U){U!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=U,this.hasAttached()&&(U.attach(this),U.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const U=this._pane.style;U.width=(0,_.HM)(this._config.width),U.height=(0,_.HM)(this._config.height),U.minWidth=(0,_.HM)(this._config.minWidth),U.minHeight=(0,_.HM)(this._config.minHeight),U.maxWidth=(0,_.HM)(this._config.maxWidth),U.maxHeight=(0,_.HM)(this._config.maxHeight)}_togglePointerEvents(U){this._pane.style.pointerEvents=U?"":"none"}_attachBackdrop(){const U="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(U)})}):this._backdropElement.classList.add(U)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const U=this._backdropElement;if(U){if(this._animationsDisabled)return void this._disposeBackdrop(U);U.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{U.addEventListener("transitionend",this._backdropTransitionendHandler)}),U.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(U)},500))}}_toggleClasses(U,ie,oe){const Te=(0,_.Eq)(ie||[]).filter(Xe=>!!Xe);Te.length&&(oe?U.classList.add(...Te):U.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const U=this._ngZone.onStable.pipe((0,v.R)((0,g.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()),U.unsubscribe())})})}_disposeScrollStrategy(){const U=this._scrollStrategy;U&&(U.disable(),U.detach&&U.detach())}_disposeBackdrop(U){U&&(U.removeEventListener("click",this._backdropClickHandler),U.removeEventListener("transitionend",this._backdropTransitionendHandler),U.remove(),this._backdropElement===U&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",Re=/([A-Za-z%]+)$/;class re{constructor(U,ie,oe,Te,Xe){this._viewportRuler=ie,this._document=oe,this._platform=Te,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 L.x,this._resizeSubscription=A.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(U)}get positions(){return this._preferredPositions}attach(U){this._validatePositions(),U.hostElement.classList.add($),this._overlayRef=U,this._boundingBox=U.hostElement,this._pane=U.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 U=this._originRect,ie=this._overlayRect,oe=this._viewportRect,Te=this._containerRect,Xe=[];let Ze;for(let we of this._preferredPositions){let Be=this._getOriginPoint(U,Te,we),We=this._getOverlayPoint(Be,ie,we),Ye=this._getOverlayFit(We,ie,oe,we);if(Ye.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(we,Be);this._canFitWithFlexibleDimensions(Ye,We,oe)?Xe.push({position:we,origin:Be,overlayRect:ie,boundingBoxRect:this._calculateBoundingBoxRect(Be,we)}):(!Ze||Ze.overlayFit.visibleAreaBe&&(Be=Ye,we=We)}return this._isPushed=!1,void this._applyPosition(we.position,we.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ze.position,Ze.originPoint);this._applyPosition(Ze.position,Ze.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&xe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const U=this._lastPosition;if(U){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ie=this._getOriginPoint(this._originRect,this._containerRect,U);this._applyPosition(U,ie)}else this.apply()}withScrollableContainers(U){return this._scrollables=U,this}withPositions(U){return this._preferredPositions=U,-1===U.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(U){return this._viewportMargin=U,this}withFlexibleDimensions(U=!0){return this._hasFlexibleDimensions=U,this}withGrowAfterOpen(U=!0){return this._growAfterOpen=U,this}withPush(U=!0){return this._canPush=U,this}withLockedPosition(U=!0){return this._positionLocked=U,this}setOrigin(U){return this._origin=U,this}withDefaultOffsetX(U){return this._offsetX=U,this}withDefaultOffsetY(U){return this._offsetY=U,this}withTransformOriginOn(U){return this._transformOriginSelector=U,this}_getOriginPoint(U,ie,oe){let Te,Xe;if("center"==oe.originX)Te=U.left+U.width/2;else{const Ze=this._isRtl()?U.right:U.left,we=this._isRtl()?U.left:U.right;Te="start"==oe.originX?Ze:we}return ie.left<0&&(Te-=ie.left),Xe="center"==oe.originY?U.top+U.height/2:"top"==oe.originY?U.top:U.bottom,ie.top<0&&(Xe-=ie.top),{x:Te,y:Xe}}_getOverlayPoint(U,ie,oe){let Te,Xe;return Te="center"==oe.overlayX?-ie.width/2:"start"===oe.overlayX?this._isRtl()?-ie.width:0:this._isRtl()?0:-ie.width,Xe="center"==oe.overlayY?-ie.height/2:"top"==oe.overlayY?0:-ie.height,{x:U.x+Te,y:U.y+Xe}}_getOverlayFit(U,ie,oe,Te){const Xe=me(ie);let{x:Ze,y:we}=U,Be=this._getOffset(Te,"x"),We=this._getOffset(Te,"y");Be&&(Ze+=Be),We&&(we+=We);let de=0-we,K=we+Xe.height-oe.height,le=this._subtractOverflows(Xe.width,0-Ze,Ze+Xe.width-oe.width),_e=this._subtractOverflows(Xe.height,de,K),ae=le*_e;return{visibleArea:ae,isCompletelyWithinViewport:Xe.width*Xe.height===ae,fitsInViewportVertically:_e===Xe.height,fitsInViewportHorizontally:le==Xe.width}}_canFitWithFlexibleDimensions(U,ie,oe){if(this._hasFlexibleDimensions){const Te=oe.bottom-ie.y,Xe=oe.right-ie.x,Ze=Ke(this._overlayRef.getConfig().minHeight),we=Ke(this._overlayRef.getConfig().minWidth),We=U.fitsInViewportHorizontally||null!=we&&we<=Xe;return(U.fitsInViewportVertically||null!=Ze&&Ze<=Te)&&We}return!1}_pushOverlayOnScreen(U,ie,oe){if(this._previousPushAmount&&this._positionLocked)return{x:U.x+this._previousPushAmount.x,y:U.y+this._previousPushAmount.y};const Te=me(ie),Xe=this._viewportRect,Ze=Math.max(U.x+Te.width-Xe.width,0),we=Math.max(U.y+Te.height-Xe.height,0),Be=Math.max(Xe.top-oe.top-U.y,0),We=Math.max(Xe.left-oe.left-U.x,0);let Ye=0,et=0;return Ye=Te.width<=Xe.width?We||-Ze:U.xle&&!this._isInitialRender&&!this._growAfterOpen&&(Ze=U.y-le/2)}if("end"===ie.overlayX&&!Te||"start"===ie.overlayX&&Te)de=oe.width-U.x+this._viewportMargin,Ye=U.x-this._viewportMargin;else if("start"===ie.overlayX&&!Te||"end"===ie.overlayX&&Te)et=U.x,Ye=oe.right-U.x;else{const K=Math.min(oe.right-U.x+oe.left,U.x),le=this._lastBoundingBoxSize.width;Ye=2*K,et=U.x-K,Ye>le&&!this._isInitialRender&&!this._growAfterOpen&&(et=U.x-le/2)}return{top:Ze,left:et,bottom:we,right:de,width:Ye,height:Xe}}_setBoundingBoxStyles(U,ie){const oe=this._calculateBoundingBoxRect(U,ie);!this._isInitialRender&&!this._growAfterOpen&&(oe.height=Math.min(oe.height,this._lastBoundingBoxSize.height),oe.width=Math.min(oe.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const Xe=this._overlayRef.getConfig().maxHeight,Ze=this._overlayRef.getConfig().maxWidth;Te.height=(0,_.HM)(oe.height),Te.top=(0,_.HM)(oe.top),Te.bottom=(0,_.HM)(oe.bottom),Te.width=(0,_.HM)(oe.width),Te.left=(0,_.HM)(oe.left),Te.right=(0,_.HM)(oe.right),Te.alignItems="center"===ie.overlayX?"center":"end"===ie.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===ie.overlayY?"center":"bottom"===ie.overlayY?"flex-end":"flex-start",Xe&&(Te.maxHeight=(0,_.HM)(Xe)),Ze&&(Te.maxWidth=(0,_.HM)(Ze))}this._lastBoundingBoxSize=oe,xe(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){xe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){xe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(U,ie){const oe={},Te=this._hasExactPosition(),Xe=this._hasFlexibleDimensions,Ze=this._overlayRef.getConfig();if(Te){const Ye=this._viewportRuler.getViewportScrollPosition();xe(oe,this._getExactOverlayY(ie,U,Ye)),xe(oe,this._getExactOverlayX(ie,U,Ye))}else oe.position="static";let we="",Be=this._getOffset(ie,"x"),We=this._getOffset(ie,"y");Be&&(we+=`translateX(${Be}px) `),We&&(we+=`translateY(${We}px)`),oe.transform=we.trim(),Ze.maxHeight&&(Te?oe.maxHeight=(0,_.HM)(Ze.maxHeight):Xe&&(oe.maxHeight="")),Ze.maxWidth&&(Te?oe.maxWidth=(0,_.HM)(Ze.maxWidth):Xe&&(oe.maxWidth="")),xe(this._pane.style,oe)}_getExactOverlayY(U,ie,oe){let Te={top:"",bottom:""},Xe=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,oe)),"bottom"===U.overlayY?Te.bottom=this._document.documentElement.clientHeight-(Xe.y+this._overlayRect.height)+"px":Te.top=(0,_.HM)(Xe.y),Te}_getExactOverlayX(U,ie,oe){let Ze,Te={left:"",right:""},Xe=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,oe)),Ze=this._isRtl()?"end"===U.overlayX?"left":"right":"end"===U.overlayX?"right":"left","right"===Ze?Te.right=this._document.documentElement.clientWidth-(Xe.x+this._overlayRect.width)+"px":Te.left=(0,_.HM)(Xe.x),Te}_getScrollVisibility(){const U=this._getOriginRect(),ie=this._pane.getBoundingClientRect(),oe=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(U,oe),isOriginOutsideView:Z(U,oe),isOverlayClipped:Me(ie,oe),isOverlayOutsideView:Z(ie,oe)}}_subtractOverflows(U,...ie){return ie.reduce((oe,Te)=>oe-Math.max(Te,0),U)}_getNarrowedViewportRect(){const U=this._document.documentElement.clientWidth,ie=this._document.documentElement.clientHeight,oe=this._viewportRuler.getViewportScrollPosition();return{top:oe.top+this._viewportMargin,left:oe.left+this._viewportMargin,right:oe.left+U-this._viewportMargin,bottom:oe.top+ie-this._viewportMargin,width:U-2*this._viewportMargin,height:ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(U,ie){return"x"===ie?U.offsetX??this._offsetX:U.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(U){this._pane&&(0,_.Eq)(U).forEach(ie=>{""!==ie&&-1===this._appliedPanelClasses.indexOf(ie)&&(this._appliedPanelClasses.push(ie),this._pane.classList.add(ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(U=>{this._pane.classList.remove(U)}),this._appliedPanelClasses=[])}_getOriginRect(){const U=this._origin;if(U instanceof h.SBq)return U.nativeElement.getBoundingClientRect();if(U instanceof Element)return U.getBoundingClientRect();const ie=U.width||0,oe=U.height||0;return{top:U.y,bottom:U.y+oe,left:U.x,right:U.x+ie,height:oe,width:ie}}}function xe(G,U){for(let ie in U)U.hasOwnProperty(ie)&&(G[ie]=U[ie]);return G}function Ke(G){if("number"!=typeof G&&null!=G){const[U,ie]=G.split(Re);return ie&&"px"!==ie?null:parseFloat(U)}return G||null}function me(G){return{top:Math.floor(G.top),right:Math.floor(G.right),bottom:Math.floor(G.bottom),left:Math.floor(G.left),width:Math.floor(G.width),height:Math.floor(G.height)}}const Ce="cdk-global-overlay-wrapper";class He{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(U){const ie=U.getConfig();this._overlayRef=U,this._width&&!ie.width&&U.updateSize({width:this._width}),this._height&&!ie.height&&U.updateSize({height:this._height}),U.hostElement.classList.add(Ce),this._isDisposed=!1}top(U=""){return this._bottomOffset="",this._topOffset=U,this._alignItems="flex-start",this}left(U=""){return this._xOffset=U,this._xPosition="left",this}bottom(U=""){return this._topOffset="",this._bottomOffset=U,this._alignItems="flex-end",this}right(U=""){return this._xOffset=U,this._xPosition="right",this}start(U=""){return this._xOffset=U,this._xPosition="start",this}end(U=""){return this._xOffset=U,this._xPosition="end",this}width(U=""){return this._overlayRef?this._overlayRef.updateSize({width:U}):this._width=U,this}height(U=""){return this._overlayRef?this._overlayRef.updateSize({height:U}):this._height=U,this}centerHorizontally(U=""){return this.left(U),this._xPosition="center",this}centerVertically(U=""){return this.top(U),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement.style,oe=this._overlayRef.getConfig(),{width:Te,height:Xe,maxWidth:Ze,maxHeight:we}=oe,Be=!("100%"!==Te&&"100vw"!==Te||Ze&&"100%"!==Ze&&"100vw"!==Ze),We=!("100%"!==Xe&&"100vh"!==Xe||we&&"100%"!==we&&"100vh"!==we),Ye=this._xPosition,et=this._xOffset,de="rtl"===this._overlayRef.getConfig().direction;let K="",le="",_e="";Be?_e="flex-start":"center"===Ye?(_e="center",de?le=et:K=et):de?"left"===Ye||"end"===Ye?(_e="flex-end",K=et):("right"===Ye||"start"===Ye)&&(_e="flex-start",le=et):"left"===Ye||"start"===Ye?(_e="flex-start",K=et):("right"===Ye||"end"===Ye)&&(_e="flex-end",le=et),U.position=this._cssPosition,U.marginLeft=Be?"0":K,U.marginTop=We?"0":this._topOffset,U.marginBottom=this._bottomOffset,U.marginRight=Be?"0":le,ie.justifyContent=_e,ie.alignItems=We?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement,oe=ie.style;ie.classList.remove(Ce),oe.justifyContent=oe.alignItems=U.marginTop=U.marginBottom=U.marginLeft=U.marginRight=U.position="",this._overlayRef=null,this._isDisposed=!0}}let Qe=(()=>{class G{constructor(ie,oe,Te,Xe){this._viewportRuler=ie,this._document=oe,this._platform=Te,this._overlayContainer=Xe}global(){return new He}flexibleConnectedTo(ie){return new re(ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(o.rL),h.LFG(r.K0),h.LFG(f.t4),h.LFG(tt))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),st=0,Ge=(()=>{class G{constructor(ie,oe,Te,Xe,Ze,we,Be,We,Ye,et,de,K){this.scrollStrategies=ie,this._overlayContainer=oe,this._componentFactoryResolver=Te,this._positionBuilder=Xe,this._keyboardDispatcher=Ze,this._injector=we,this._ngZone=Be,this._document=We,this._directionality=Ye,this._location=et,this._outsideClickDispatcher=de,this._animationsModuleType=K}create(ie){const oe=this._createHostElement(),Te=this._createPaneElement(oe),Xe=this._createPortalOutlet(Te),Ze=new ye(ie);return Ze.direction=Ze.direction||this._directionality.value,new lt(Xe,oe,Te,Ze,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ie){const oe=this._document.createElement("div");return oe.id="cdk-overlay-"+st++,oe.classList.add("cdk-overlay-pane"),ie.appendChild(oe),oe}_createHostElement(){const ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ie),ie}_createPortalOutlet(ie){return this._appRef||(this._appRef=this._injector.get(h.z2F)),new w.u0(ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return G.\u0275fac=function(ie){return new(ie||G)(h.LFG(ve),h.LFG(tt),h.LFG(h._Vd),h.LFG(Qe),h.LFG(Ie),h.LFG(h.zs3),h.LFG(h.R0b),h.LFG(r.K0),h.LFG(d.Is),h.LFG(r.Ye),h.LFG(ke),h.LFG(h.QbO,8))},G.\u0275prov=h.Yz7({token:G,factory:G.\u0275fac}),G})();const at=[{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"}],_t=new h.OlP("cdk-connected-overlay-scroll-strategy");let xt=(()=>{class G{constructor(ie){this.elementRef=ie}}return G.\u0275fac=function(ie){return new(ie||G)(h.Y36(h.SBq))},G.\u0275dir=h.lG2({type:G,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),G})(),yt=(()=>{class G{constructor(ie,oe,Te,Xe,Ze){this._overlay=ie,this._dir=Ze,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.w0.EMPTY,this._attachSubscription=A.w0.EMPTY,this._detachSubscription=A.w0.EMPTY,this._positionSubscription=A.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new h.vpe,this.positionChange=new h.vpe,this.attach=new h.vpe,this.detach=new h.vpe,this.overlayKeydown=new h.vpe,this.overlayOutsideClick=new h.vpe,this._templatePortal=new w.UE(oe,Te),this._scrollStrategyFactory=Xe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(ie){this._offsetX=ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ie){this._offsetY=ie,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ie){this._hasBackdrop=(0,_.Ig)(ie)}get lockPosition(){return this._lockPosition}set lockPosition(ie){this._lockPosition=(0,_.Ig)(ie)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ie){this._flexibleDimensions=(0,_.Ig)(ie)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ie){this._growAfterOpen=(0,_.Ig)(ie)}get push(){return this._push}set push(ie){this._push=(0,_.Ig)(ie)}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(ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ie.origin&&this.open&&this._position.apply()),ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=at);const ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ie.detachments().subscribe(()=>this.detach.emit()),ie.keydownEvents().subscribe(oe=>{this.overlayKeydown.next(oe),oe.keyCode===H.hY&&!this.disableClose&&!(0,H.Vb)(oe)&&(oe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(oe=>{this.overlayOutsideClick.next(oe)})}_buildConfig(){const ie=this._position=this.positionStrategy||this._createPositionStrategy(),oe=new ye({direction:this._dir,positionStrategy:ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(oe.width=this.width),(this.height||0===this.height)&&(oe.height=this.height),(this.minWidth||0===this.minWidth)&&(oe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(oe.minHeight=this.minHeight),this.backdropClass&&(oe.backdropClass=this.backdropClass),this.panelClass&&(oe.panelClass=this.panelClass),oe}_updatePositionStrategy(ie){const oe=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return ie.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(oe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ie=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ie),ie}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof xt?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(ie=>{this.backdropClick.emit(ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function b(G,U=!1){return(0,B.e)((ie,oe)=>{let Te=0;ie.subscribe((0,m.x)(oe,Xe=>{const Ze=G(Xe,Te++);(Ze||U)&&oe.next(Xe),!Ze&&oe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ie=>{this.positionChange.emit(ie),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return G.\u0275fac=function(ie){return new(ie||G)(h.Y36(Ge),h.Y36(h.Rgc),h.Y36(h.s_b),h.Y36(_t),h.Y36(d.Is,8))},G.\u0275dir=h.lG2({type:G,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"],features:[h.TTD]}),G})();const At={provide:_t,deps:[Ge],useFactory:function Pt(G){return()=>G.scrollStrategies.reposition()}};let nt=(()=>{class G{}return G.\u0275fac=function(ie){return new(ie||G)},G.\u0275mod=h.oAB({type:G}),G.\u0275inj=h.cJS({providers:[Ge,At],imports:[d.vT,w.eL,o.Cl,o.Cl]}),G})()},6321:(Ue,J,s)=>{"use strict";s.d(J,{Mq:()=>S,Oy:()=>ue,ht:()=>Ee,i$:()=>B,kV:()=>te,qK:()=>L,sA:()=>T,t4:()=>_});var o=s(4537),r=s(8692);let h;try{h=typeof Intl<"u"&&Intl.v8BreakIterator}catch{h=!1}let d,_=(()=>{class Z{constructor(Se){this._platformId=Se,this.isBrowser=this._platformId?(0,r.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&&!h)&&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 Z.\u0275fac=function(Se){return new(Se||Z)(o.LFG(o.Lbi))},Z.\u0275prov=o.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const w=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function L(){if(d)return d;if("object"!=typeof document||!document)return d=new Set(w),d;let Z=document.createElement("input");return d=new Set(w.filter(Me=>(Z.setAttribute("type",Me),Z.type===Me))),d}let A,b,H;function B(Z){return function g(){if(null==A&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>A=!0}))}finally{A=A||!1}return A}()?Z:!!Z.capture}function S(){if(null==b){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{const Z=Element.prototype.scrollTo;b=!!Z&&!/\{\s*\[native code\]\s*\}/.test(Z.toString())}}return b}function te(Z){if(function x(){if(null==H){const Z=typeof document<"u"?document.head:null;H=!(!Z||!Z.createShadowRoot&&!Z.attachShadow)}return H}()){const Me=Z.getRootNode?Z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function Ee(){let Z=typeof document<"u"&&document?document.activeElement:null;for(;Z&&Z.shadowRoot;){const Me=Z.shadowRoot.activeElement;if(Me===Z)break;Z=Me}return Z}function T(Z){return Z.composedPath?Z.composedPath()[0]:Z.target}function ue(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8632:(Ue,J,s)=>{"use strict";s.d(J,{C5:()=>g,Pl:()=>Ee,UE:()=>B,eL:()=>ue,en:()=>b,ig:()=>x,u0:()=>v});var o=s(4537),r=s(8692);class A{attach(Se){return this._attachedHost=Se,Se.attach(this)}detach(){let Se=this._attachedHost;null!=Se&&(this._attachedHost=null,Se.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Se){this._attachedHost=Se}}class g extends A{constructor(Se,ve,ye,De){super(),this.component=Se,this.viewContainerRef=ve,this.injector=ye,this.componentFactoryResolver=De}}class B extends A{constructor(Se,ve,ye,De){super(),this.templateRef=Se,this.viewContainerRef=ve,this.context=ye,this.injector=De}get origin(){return this.templateRef.elementRef}attach(Se,ve=this.context){return this.context=ve,super.attach(Se)}detach(){return this.context=void 0,super.detach()}}class m extends A{constructor(Se){super(),this.element=Se instanceof o.SBq?Se.nativeElement:Se}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Se){return Se instanceof g?(this._attachedPortal=Se,this.attachComponentPortal(Se)):Se instanceof B?(this._attachedPortal=Se,this.attachTemplatePortal(Se)):this.attachDomPortal&&Se instanceof m?(this._attachedPortal=Se,this.attachDomPortal(Se)):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(Se){this._disposeFn=Se}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class v extends b{constructor(Se,ve,ye,De,z){super(),this.outletElement=Se,this._componentFactoryResolver=ve,this._appRef=ye,this._defaultInjector=De,this.attachDomPortal=Y=>{const V=Y.element,j=this._document.createComment("dom-portal");V.parentNode.insertBefore(j,V),this.outletElement.appendChild(V),this._attachedPortal=Y,super.setDisposeFn(()=>{j.parentNode&&j.parentNode.replaceChild(V,j)})},this._document=z}attachComponentPortal(Se){const ye=(Se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Se.component);let De;return Se.viewContainerRef?(De=Se.viewContainerRef.createComponent(ye,Se.viewContainerRef.length,Se.injector||Se.viewContainerRef.injector),this.setDisposeFn(()=>De.destroy())):(De=ye.create(Se.injector||this._defaultInjector||o.zs3.NULL),this._appRef.attachView(De.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(De.hostView),De.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(De)),this._attachedPortal=Se,De}attachTemplatePortal(Se){let ve=Se.viewContainerRef,ye=ve.createEmbeddedView(Se.templateRef,Se.context,{injector:Se.injector});return ye.rootNodes.forEach(De=>this.outletElement.appendChild(De)),ye.detectChanges(),this.setDisposeFn(()=>{let De=ve.indexOf(ye);-1!==De&&ve.remove(De)}),this._attachedPortal=Se,ye}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Se){return Se.hostView.rootNodes[0]}}let x=(()=>{class Me extends B{constructor(ve,ye){super(ve,ye)}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.Y36(o.Rgc),o.Y36(o.s_b))},Me.\u0275dir=o.lG2({type:Me,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[o.qOj]}),Me})(),Ee=(()=>{class Me extends b{constructor(ve,ye,De){super(),this._componentFactoryResolver=ve,this._viewContainerRef=ye,this._isInitialized=!1,this.attached=new o.vpe,this.attachDomPortal=z=>{const Y=z.element,V=this._document.createComment("dom-portal");z.setAttachedHost(this),Y.parentNode.insertBefore(V,Y),this._getRootNode().appendChild(Y),this._attachedPortal=z,super.setDisposeFn(()=>{V.parentNode&&V.parentNode.replaceChild(Y,V)})},this._document=De}get portal(){return this._attachedPortal}set portal(ve){this.hasAttached()&&!ve&&!this._isInitialized||(this.hasAttached()&&super.detach(),ve&&super.attach(ve),this._attachedPortal=ve||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ve){ve.setAttachedHost(this);const ye=null!=ve.viewContainerRef?ve.viewContainerRef:this._viewContainerRef,z=(ve.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ve.component),Y=ye.createComponent(z,ye.length,ve.injector||ye.injector);return ye!==this._viewContainerRef&&this._getRootNode().appendChild(Y.hostView.rootNodes[0]),super.setDisposeFn(()=>Y.destroy()),this._attachedPortal=ve,this._attachedRef=Y,this.attached.emit(Y),Y}attachTemplatePortal(ve){ve.setAttachedHost(this);const ye=this._viewContainerRef.createEmbeddedView(ve.templateRef,ve.context,{injector:ve.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ve,this._attachedRef=ye,this.attached.emit(ye),ye}_getRootNode(){const ve=this._viewContainerRef.element.nativeElement;return ve.nodeType===ve.ELEMENT_NODE?ve:ve.parentNode}}return Me.\u0275fac=function(ve){return new(ve||Me)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36(r.K0))},Me.\u0275dir=o.lG2({type:Me,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.qOj]}),Me})(),ue=(()=>{class Me{}return Me.\u0275fac=function(ve){return new(ve||Me)},Me.\u0275mod=o.oAB({type:Me}),Me.\u0275inj=o.cJS({}),Me})()},5531:(Ue,J,s)=>{"use strict";s.d(J,{Cl:()=>j,ZD:()=>V,mF:()=>ue,rL:()=>Se});var o=s(4929),r=s(4537),h=s(8023),_=s(4945),f=s(818),d=s(4581),A=(s(9239),s(6401),s(9232)),g=s(4970),B=s(6321),m=s(8692),b=s(5875);let ue=(()=>{class X{constructor(ke,tt,lt){this._ngZone=ke,this._platform=tt,this._scrolled=new h.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=lt}register(ke){this.scrollContainers.has(ke)||this.scrollContainers.set(ke,ke.elementScrolled().subscribe(()=>this._scrolled.next(ke)))}deregister(ke){const tt=this.scrollContainers.get(ke);tt&&(tt.unsubscribe(),this.scrollContainers.delete(ke))}scrolled(ke=20){return this._platform.isBrowser?new f.y(tt=>{this._globalSubscription||this._addGlobalListener();const lt=ke>0?this._scrolled.pipe((0,A.e)(ke)).subscribe(tt):this._scrolled.subscribe(tt);return this._scrolledCount++,()=>{lt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,_.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ke,tt)=>this.deregister(tt)),this._scrolled.complete()}ancestorScrolled(ke,tt){const lt=this.getAncestorScrollContainers(ke);return this.scrolled(tt).pipe((0,g.h)($=>!$||lt.indexOf($)>-1))}getAncestorScrollContainers(ke){const tt=[];return this.scrollContainers.forEach((lt,$)=>{this._scrollableContainsElement($,ke)&&tt.push($)}),tt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ke,tt){let lt=(0,o.fI)(tt),$=ke.getElementRef().nativeElement;do{if(lt==$)return!0}while(lt=lt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ke=this._getWindow();return(0,d.R)(ke.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return X.\u0275fac=function(ke){return new(ke||X)(r.LFG(r.R0b),r.LFG(B.t4),r.LFG(m.K0,8))},X.\u0275prov=r.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),Se=(()=>{class X{constructor(ke,tt,lt){this._platform=ke,this._change=new h.x,this._changeListener=$=>{this._change.next($)},this._document=lt,tt.runOutsideAngular(()=>{if(ke.isBrowser){const $=this._getWindow();$.addEventListener("resize",this._changeListener),$.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ke=this._getWindow();ke.removeEventListener("resize",this._changeListener),ke.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ke={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ke}getViewportRect(){const ke=this.getViewportScrollPosition(),{width:tt,height:lt}=this.getViewportSize();return{top:ke.top,left:ke.left,bottom:ke.top+lt,right:ke.left+tt,height:lt,width:tt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ke=this._document,tt=this._getWindow(),lt=ke.documentElement,$=lt.getBoundingClientRect();return{top:-$.top||ke.body.scrollTop||tt.scrollY||lt.scrollTop||0,left:-$.left||ke.body.scrollLeft||tt.scrollX||lt.scrollLeft||0}}change(ke=20){return ke>0?this._change.pipe((0,A.e)(ke)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ke=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ke.innerWidth,height:ke.innerHeight}:{width:0,height:0}}}return X.\u0275fac=function(ke){return new(ke||X)(r.LFG(B.t4),r.LFG(r.R0b),r.LFG(m.K0,8))},X.\u0275prov=r.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),V=(()=>{class X{}return X.\u0275fac=function(ke){return new(ke||X)},X.\u0275mod=r.oAB({type:X}),X.\u0275inj=r.cJS({}),X})(),j=(()=>{class X{}return X.\u0275fac=function(ke){return new(ke||X)},X.\u0275mod=r.oAB({type:X}),X.\u0275inj=r.cJS({imports:[b.vT,V,b.vT,V]}),X})()},7025:(Ue,J,s)=>{"use strict";s.d(J,{IC:()=>b,Ky:()=>S,Lq:()=>B});var o=s(6321),r=s(4537),h=s(4929),_=s(9018),f=s(8023),d=s(4581),w=s(9232),L=s(3528),A=s(8692);const g=(0,o.i$)({passive:!0});let B=(()=>{class v{constructor(x,te){this._platform=x,this._ngZone=te,this._monitoredElements=new Map}monitor(x){if(!this._platform.isBrowser)return _.E;const te=(0,h.fI)(x),Ee=this._monitoredElements.get(te);if(Ee)return Ee.subject;const T=new f.x,ue="cdk-text-field-autofilled",Z=Me=>{"cdk-text-field-autofill-start"!==Me.animationName||te.classList.contains(ue)?"cdk-text-field-autofill-end"===Me.animationName&&te.classList.contains(ue)&&(te.classList.remove(ue),this._ngZone.run(()=>T.next({target:Me.target,isAutofilled:!1}))):(te.classList.add(ue),this._ngZone.run(()=>T.next({target:Me.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{te.addEventListener("animationstart",Z,g),te.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(te,{subject:T,unlisten:()=>{te.removeEventListener("animationstart",Z,g)}}),T}stopMonitoring(x){const te=(0,h.fI)(x),Ee=this._monitoredElements.get(te);Ee&&(Ee.unlisten(),Ee.subject.complete(),te.classList.remove("cdk-text-field-autofill-monitored"),te.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(te))}ngOnDestroy(){this._monitoredElements.forEach((x,te)=>this.stopMonitoring(te))}}return v.\u0275fac=function(x){return new(x||v)(r.LFG(o.t4),r.LFG(r.R0b))},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),b=(()=>{class v{constructor(x,te,Ee,T){this._elementRef=x,this._platform=te,this._ngZone=Ee,this._destroyed=new f.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=ue=>{this._hasFocus="focus"===ue.type},this._document=T,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(x){this._minRows=(0,h.su)(x),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(x){this._maxRows=(0,h.su)(x),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(x){x=(0,h.Ig)(x),this._enabled!==x&&((this._enabled=x)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(x){this._cachedPlaceholderHeight=void 0,x?this._textareaElement.setAttribute("placeholder",x):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const x=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.minHeight=x)}_setMaxHeight(){const x=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.maxHeight=x)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const x=this._getWindow();(0,d.R)(x,"resize").pipe((0,w.e)(16),(0,L.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let x=this._textareaElement.cloneNode(!1);x.rows=1,x.style.position="absolute",x.style.visibility="hidden",x.style.border="none",x.style.padding="0",x.style.height="",x.style.minHeight="",x.style.maxHeight="",x.style.overflow="hidden",this._textareaElement.parentNode.appendChild(x),this._cachedLineHeight=x.clientHeight,x.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const x=this._textareaElement,te=x.style.marginBottom||"",Ee=this._platform.FIREFOX,T=Ee&&this._hasFocus,ue=Ee?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";T&&(x.style.marginBottom=`${x.clientHeight}px`),x.classList.add(ue);const Z=x.scrollHeight-4;return x.classList.remove(ue),T&&(x.style.marginBottom=te),Z}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const x=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=x}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(x=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const te=this._elementRef.nativeElement,Ee=te.value;if(!x&&this._minRows===this._previousMinRows&&Ee===this._previousValue)return;const T=this._measureScrollHeight(),ue=Math.max(T,this._cachedPlaceholderHeight||0);te.style.height=`${ue}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(te)):setTimeout(()=>this._scrollToCaretPosition(te))}),this._previousValue=Ee,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(x){const{selectionStart:te,selectionEnd:Ee}=x;!this._destroyed.isStopped&&this._hasFocus&&x.setSelectionRange(te,Ee)}}return v.\u0275fac=function(x){return new(x||v)(r.Y36(r.SBq),r.Y36(o.t4),r.Y36(r.R0b),r.Y36(A.K0,8))},v.\u0275dir=r.lG2({type:v,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(x,te){1&x&&r.NdJ("input",function(){return te._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),v})(),S=(()=>{class v{}return v.\u0275fac=function(x){return new(x||v)},v.\u0275mod=r.oAB({type:v}),v.\u0275inj=r.cJS({}),v})()},8692:(Ue,J,s)=>{"use strict";s.d(J,{Do:()=>ue,ED:()=>oi,EM:()=>si,HT:()=>f,JF:()=>Ln,K0:()=>w,Mx:()=>Jn,NF:()=>Qn,Nd:()=>gi,O5:()=>ni,Ov:()=>uo,PC:()=>er,RF:()=>Ai,S$:()=>x,V_:()=>g,Ye:()=>Z,b0:()=>T,bD:()=>go,ez:()=>Hi,lw:()=>L,mk:()=>Bn,mr:()=>Ee,n9:()=>Fi,q:()=>h,sg:()=>xn,tP:()=>Li,w_:()=>d});var o=s(4537);let r=null;function h(){return r}function f(q){r||(r=q)}class d{}const w=new o.OlP("DocumentToken");let L=(()=>{class q{historyGo(ee){throw new Error("Not implemented")}}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275prov=o.Yz7({token:q,factory:function(){return function A(){return(0,o.LFG)(B)}()},providedIn:"platform"}),q})();const g=new o.OlP("Location Initialized");let B=(()=>{class q extends L{constructor(ee){super(),this._doc=ee,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(ee){const ze=h().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("popstate",ee,!1),()=>ze.removeEventListener("popstate",ee)}onHashChange(ee){const ze=h().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("hashchange",ee,!1),()=>ze.removeEventListener("hashchange",ee)}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(ee){this.location.pathname=ee}pushState(ee,ze,gt){m()?this._history.pushState(ee,ze,gt):this.location.hash=gt}replaceState(ee,ze,gt){m()?this._history.replaceState(ee,ze,gt):this.location.hash=gt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ee=0){this._history.go(ee)}getState(){return this._history.state}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(w))},q.\u0275prov=o.Yz7({token:q,factory:function(){return function b(){return new B((0,o.LFG)(w))}()},providedIn:"platform"}),q})();function m(){return!!window.history.pushState}function S(q,je){if(0==q.length)return je;if(0==je.length)return q;let ee=0;return q.endsWith("/")&&ee++,je.startsWith("/")&&ee++,2==ee?q+je.substring(1):1==ee?q+je:q+"/"+je}function v(q){const je=q.match(/#|\?|$/),ee=je&&je.index||q.length;return q.slice(0,ee-("/"===q[ee-1]?1:0))+q.slice(ee)}function H(q){return q&&"?"!==q[0]?"?"+q:q}let x=(()=>{class q{historyGo(ee){throw new Error("Not implemented")}}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275prov=o.Yz7({token:q,factory:function(){return function te(){const q=(0,o.LFG)(w).location;return new T((0,o.LFG)(L),q&&q.origin||"")}()},providedIn:"root"}),q})();const Ee=new o.OlP("appBaseHref");let T=(()=>{class q extends x{constructor(ee,ze){if(super(),this._platformLocation=ee,this._removeListenerFns=[],null==ze&&(ze=this._platformLocation.getBaseHrefFromDOM()),null==ze)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.");this._baseHref=ze}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ee){this._removeListenerFns.push(this._platformLocation.onPopState(ee),this._platformLocation.onHashChange(ee))}getBaseHref(){return this._baseHref}prepareExternalUrl(ee){return S(this._baseHref,ee)}path(ee=!1){const ze=this._platformLocation.pathname+H(this._platformLocation.search),gt=this._platformLocation.hash;return gt&&ee?`${ze}${gt}`:ze}pushState(ee,ze,gt,wt){const kt=this.prepareExternalUrl(gt+H(wt));this._platformLocation.pushState(ee,ze,kt)}replaceState(ee,ze,gt,wt){const kt=this.prepareExternalUrl(gt+H(wt));this._platformLocation.replaceState(ee,ze,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ee=0){this._platformLocation.historyGo?.(ee)}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(L),o.LFG(Ee,8))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})(),ue=(()=>{class q extends x{constructor(ee,ze){super(),this._platformLocation=ee,this._baseHref="",this._removeListenerFns=[],null!=ze&&(this._baseHref=ze)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ee){this._removeListenerFns.push(this._platformLocation.onPopState(ee),this._platformLocation.onHashChange(ee))}getBaseHref(){return this._baseHref}path(ee=!1){let ze=this._platformLocation.hash;return null==ze&&(ze="#"),ze.length>0?ze.substring(1):ze}prepareExternalUrl(ee){const ze=S(this._baseHref,ee);return ze.length>0?"#"+ze:ze}pushState(ee,ze,gt,wt){let kt=this.prepareExternalUrl(gt+H(wt));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.pushState(ee,ze,kt)}replaceState(ee,ze,gt,wt){let kt=this.prepareExternalUrl(gt+H(wt));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.replaceState(ee,ze,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ee=0){this._platformLocation.historyGo?.(ee)}}return q.\u0275fac=function(ee){return new(ee||q)(o.LFG(L),o.LFG(Ee,8))},q.\u0275prov=o.Yz7({token:q,factory:q.\u0275fac}),q})(),Z=(()=>{class q{constructor(ee){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ee;const ze=this._locationStrategy.getBaseHref();this._baseHref=v(ve(ze)),this._locationStrategy.onPopState(gt=>{this._subject.emit({url:this.path(!0),pop:!0,state:gt.state,type:gt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ee=!1){return this.normalize(this._locationStrategy.path(ee))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ee,ze=""){return this.path()==this.normalize(ee+H(ze))}normalize(ee){return q.stripTrailingSlash(function Se(q,je){return q&&je.startsWith(q)?je.substring(q.length):je}(this._baseHref,ve(ee)))}prepareExternalUrl(ee){return ee&&"/"!==ee[0]&&(ee="/"+ee),this._locationStrategy.prepareExternalUrl(ee)}go(ee,ze="",gt=null){this._locationStrategy.pushState(gt,"",ee,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(ee+H(ze)),gt)}replaceState(ee,ze="",gt=null){this._locationStrategy.replaceState(gt,"",ee,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(ee+H(ze)),gt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ee=0){this._locationStrategy.historyGo?.(ee)}onUrlChange(ee){return this._urlChangeListeners.push(ee),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ze=>{this._notifyUrlChangeListeners(ze.url,ze.state)})),()=>{const ze=this._urlChangeListeners.indexOf(ee);this._urlChangeListeners.splice(ze,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ee="",ze){this._urlChangeListeners.forEach(gt=>gt(ee,ze))}subscribe(ee,ze,gt){return this._subject.subscribe({next:ee,error:ze,complete:gt})}}return q.normalizeQueryParams=H,q.joinWithSlash=S,q.stripTrailingSlash=v,q.\u0275fac=function(ee){return new(ee||q)(o.LFG(x))},q.\u0275prov=o.Yz7({token:q,factory:function(){return function Me(){return new Z((0,o.LFG)(x))}()},providedIn:"root"}),q})();function ve(q){return q.replace(/\/index.html$/,"")}function Jn(q,je){je=encodeURIComponent(je);for(const ee of q.split(";")){const ze=ee.indexOf("="),[gt,wt]=-1==ze?[ee,""]:[ee.slice(0,ze),ee.slice(ze+1)];if(gt.trim()===je)return decodeURIComponent(wt)}return null}let Bn=(()=>{class q{constructor(ee,ze,gt,wt){this._iterableDiffers=ee,this._keyValueDiffers=ze,this._ngEl=gt,this._renderer=wt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ee){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ee?ee.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ee){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ee?ee.split(/\s+/):ee,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ee=this._iterableDiffer.diff(this._rawClass);ee&&this._applyIterableChanges(ee)}else if(this._keyValueDiffer){const ee=this._keyValueDiffer.diff(this._rawClass);ee&&this._applyKeyValueChanges(ee)}}_applyKeyValueChanges(ee){ee.forEachAddedItem(ze=>this._toggleClass(ze.key,ze.currentValue)),ee.forEachChangedItem(ze=>this._toggleClass(ze.key,ze.currentValue)),ee.forEachRemovedItem(ze=>{ze.previousValue&&this._toggleClass(ze.key,!1)})}_applyIterableChanges(ee){ee.forEachAddedItem(ze=>{if("string"!=typeof ze.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(ze.item)}`);this._toggleClass(ze.item,!0)}),ee.forEachRemovedItem(ze=>this._toggleClass(ze.item,!1))}_applyClasses(ee){ee&&(Array.isArray(ee)||ee instanceof Set?ee.forEach(ze=>this._toggleClass(ze,!0)):Object.keys(ee).forEach(ze=>this._toggleClass(ze,!!ee[ze])))}_removeClasses(ee){ee&&(Array.isArray(ee)||ee instanceof Set?ee.forEach(ze=>this._toggleClass(ze,!1)):Object.keys(ee).forEach(ze=>this._toggleClass(ze,!1)))}_toggleClass(ee,ze){(ee=ee.trim())&&ee.split(/\s+/g).forEach(gt=>{ze?this._renderer.addClass(this._ngEl.nativeElement,gt):this._renderer.removeClass(this._ngEl.nativeElement,gt)})}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),q})();class qn{constructor(je,ee,ze,gt){this.$implicit=je,this.ngForOf=ee,this.index=ze,this.count=gt}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 xn=(()=>{class q{constructor(ee,ze,gt){this._viewContainer=ee,this._template=ze,this._differs=gt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ee){this._ngForOf=ee,this._ngForOfDirty=!0}set ngForTrackBy(ee){this._trackByFn=ee}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ee){ee&&(this._template=ee)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ee=this._ngForOf;!this._differ&&ee&&(this._differ=this._differs.find(ee).create(this.ngForTrackBy))}if(this._differ){const ee=this._differ.diff(this._ngForOf);ee&&this._applyChanges(ee)}}_applyChanges(ee){const ze=this._viewContainer;ee.forEachOperation((gt,wt,kt)=>{if(null==gt.previousIndex)ze.createEmbeddedView(this._template,new qn(gt.item,this._ngForOf,-1,-1),null===kt?void 0:kt);else if(null==kt)ze.remove(null===wt?void 0:wt);else if(null!==wt){const Wt=ze.get(wt);ze.move(Wt,kt),ti(Wt,gt)}});for(let gt=0,wt=ze.length;gt{ti(ze.get(gt.currentIndex),gt)})}static ngTemplateContextGuard(ee,ze){return!0}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),q})();function ti(q,je){q.context.$implicit=je.item}let ni=(()=>{class q{constructor(ee,ze){this._viewContainer=ee,this._context=new Kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ze}set ngIf(ee){this._context.$implicit=this._context.ngIf=ee,this._updateView()}set ngIfThen(ee){ei("ngIfThen",ee),this._thenTemplateRef=ee,this._thenViewRef=null,this._updateView()}set ngIfElse(ee){ei("ngIfElse",ee),this._elseTemplateRef=ee,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(ee,ze){return!0}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),q})();class Kn{constructor(){this.$implicit=null,this.ngIf=null}}function ei(q,je){if(je&&!je.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,o.AaK)(je)}'.`)}class Xi{constructor(je,ee){this._viewContainerRef=je,this._templateRef=ee,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(je){je&&!this._created?this.create():!je&&this._created&&this.destroy()}}let Ai=(()=>{class q{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ee){this._ngSwitch=ee,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ee){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ee)}_matchCase(ee){const ze=ee==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ze,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ze}_updateDefaultCases(ee){if(this._defaultViews&&ee!==this._defaultUsed){this._defaultUsed=ee;for(let ze=0;ze{class q{constructor(ee,ze,gt){this.ngSwitch=gt,gt._addCase(),this._view=new Xi(ee,ze)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Ai,9))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),q})(),oi=(()=>{class q{constructor(ee,ze,gt){gt._addDefault(new Xi(ee,ze))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Ai,9))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngSwitchDefault",""]]}),q})(),er=(()=>{class q{constructor(ee,ze,gt){this._ngEl=ee,this._differs=ze,this._renderer=gt,this._ngStyle=null,this._differ=null}set ngStyle(ee){this._ngStyle=ee,!this._differ&&ee&&(this._differ=this._differs.find(ee).create())}ngDoCheck(){if(this._differ){const ee=this._differ.diff(this._ngStyle);ee&&this._applyChanges(ee)}}_setStyle(ee,ze){const[gt,wt]=ee.split(".");null!=(ze=null!=ze&&wt?`${ze}${wt}`:ze)?this._renderer.setStyle(this._ngEl.nativeElement,gt,ze):this._renderer.removeStyle(this._ngEl.nativeElement,gt)}_applyChanges(ee){ee.forEachRemovedItem(ze=>this._setStyle(ze.key,null)),ee.forEachAddedItem(ze=>this._setStyle(ze.key,ze.currentValue)),ee.forEachChangedItem(ze=>this._setStyle(ze.key,ze.currentValue))}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),q})(),Li=(()=>{class q{constructor(ee){this._viewContainerRef=ee,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ee){if(ee.ngTemplateOutlet||ee.ngTemplateOutletInjector){const ze=this._viewContainerRef;if(this._viewRef&&ze.remove(ze.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:gt,ngTemplateOutletContext:wt,ngTemplateOutletInjector:kt}=this;this._viewRef=ze.createEmbeddedView(gt,wt,kt?{injector:kt}:void 0)}else this._viewRef=null}else this._viewRef&&ee.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.s_b))},q.\u0275dir=o.lG2({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[o.TTD]}),q})();class Ro{createSubscription(je,ee){return je.subscribe({next:ee,error:ze=>{throw ze}})}dispose(je){je.unsubscribe()}}class Kr{createSubscription(je,ee){return je.then(ee,ze=>{throw ze})}dispose(je){}}const ko=new Kr,nr=new Ro;let uo=(()=>{class q{constructor(ee){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ee}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ee){return this._obj?ee!==this._obj?(this._dispose(),this.transform(ee)):this._latestValue:(ee&&this._subscribe(ee),this._latestValue)}_subscribe(ee){this._obj=ee,this._strategy=this._selectStrategy(ee),this._subscription=this._strategy.createSubscription(ee,ze=>this._updateLatestValue(ee,ze))}_selectStrategy(ee){if((0,o.QGY)(ee))return ko;if((0,o.F4k)(ee))return nr;throw function ui(q,je){return new o.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ee,ze){ee===this._obj&&(this._latestValue=ze,this._ref.markForCheck())}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.sBO,16))},q.\u0275pipe=o.Yjl({name:"async",type:q,pure:!1}),q})(),gi=(()=>{class q{constructor(ee){this.differs=ee,this.keyValues=[],this.compareFn=Ui}transform(ee,ze=Ui){if(!ee||!(ee instanceof Map)&&"object"!=typeof ee)return null;this.differ||(this.differ=this.differs.find(ee).create());const gt=this.differ.diff(ee),wt=ze!==this.compareFn;return gt&&(this.keyValues=[],gt.forEachItem(kt=>{this.keyValues.push(function or(q,je){return{key:q,value:je}}(kt.key,kt.currentValue))})),(gt||wt)&&(this.keyValues.sort(ze),this.compareFn=ze),this.keyValues}}return q.\u0275fac=function(ee){return new(ee||q)(o.Y36(o.aQg,16))},q.\u0275pipe=o.Yjl({name:"keyvalue",type:q,pure:!1}),q})();function Ui(q,je){const ee=q.key,ze=je.key;if(ee===ze)return 0;if(void 0===ee)return 1;if(void 0===ze)return-1;if(null===ee)return 1;if(null===ze)return-1;if("string"==typeof ee&&"string"==typeof ze)return ee{class q{}return q.\u0275fac=function(ee){return new(ee||q)},q.\u0275mod=o.oAB({type:q}),q.\u0275inj=o.cJS({}),q})();const go="browser";function Qn(q){return q===go}let si=(()=>{class q{}return q.\u0275prov=(0,o.Yz7)({token:q,providedIn:"root",factory:()=>new Bo((0,o.LFG)(w),window)}),q})();class Bo{constructor(je,ee){this.document=je,this.window=ee,this.offset=()=>[0,0]}setOffset(je){this.offset=Array.isArray(je)?()=>je:je}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(je){this.supportsScrolling()&&this.window.scrollTo(je[0],je[1])}scrollToAnchor(je){if(!this.supportsScrolling())return;const ee=function $i(q,je){const ee=q.getElementById(je)||q.getElementsByName(je)[0];if(ee)return ee;if("function"==typeof q.createTreeWalker&&q.body&&(q.body.createShadowRoot||q.body.attachShadow)){const ze=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let gt=ze.currentNode;for(;gt;){const wt=gt.shadowRoot;if(wt){const kt=wt.getElementById(je)||wt.querySelector(`[name="${je}"]`);if(kt)return kt}gt=ze.nextNode()}}return null}(this.document,je);ee&&(this.scrollToElement(ee),ee.focus())}setHistoryScrollRestoration(je){if(this.supportScrollRestoration()){const ee=this.window.history;ee&&ee.scrollRestoration&&(ee.scrollRestoration=je)}}scrollToElement(je){const ee=je.getBoundingClientRect(),ze=ee.left+this.window.pageXOffset,gt=ee.top+this.window.pageYOffset,wt=this.offset();this.window.scrollTo(ze-wt[0],gt-wt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const je=gn(this.window.history)||gn(Object.getPrototypeOf(this.window.history));return!(!je||!je.writable&&!je.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function gn(q){return Object.getOwnPropertyDescriptor(q,"scrollRestoration")}class Ln{}},5732:(Ue,J,s)=>{"use strict";s.d(J,{JF:()=>ft,WM:()=>g,eN:()=>X});var o=s(8692),r=s(4537),h=s(4945),_=s(818),f=s(4551),d=s(4970),w=s(7969);class L{}class A{}class g{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(Te=>{const Xe=Te.indexOf(":");if(Xe>0){const Ze=Te.slice(0,Xe),we=Ze.toLowerCase(),Be=Te.slice(Xe+1).trim();this.maybeSetNormalizedName(Ze,we),this.headers.has(we)?this.headers.get(we).push(Be):this.headers.set(we,[Be])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(Te=>{let Xe=oe[Te];const Ze=Te.toLowerCase();"string"==typeof Xe&&(Xe=[Xe]),Xe.length>0&&(this.headers.set(Ze,Xe),this.maybeSetNormalizedName(Te,Ze))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const Te=this.headers.get(oe.toLowerCase());return Te&&Te.length>0?Te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,Te){return this.clone({name:oe,value:Te,op:"a"})}set(oe,Te){return this.clone({name:oe,value:Te,op:"s"})}delete(oe,Te){return this.clone({name:oe,value:Te,op:"d"})}maybeSetNormalizedName(oe,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,oe)}init(){this.lazyInit&&(this.lazyInit instanceof g?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(Te=>{this.headers.set(Te,oe.headers.get(Te)),this.normalizedNames.set(Te,oe.normalizedNames.get(Te))})}clone(oe){const Te=new g;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof g?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),Te}applyUpdate(oe){const Te=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Xe=oe.value;if("string"==typeof Xe&&(Xe=[Xe]),0===Xe.length)return;this.maybeSetNormalizedName(oe.name,Te);const Ze=("a"===oe.op?this.headers.get(Te):void 0)||[];Ze.push(...Xe),this.headers.set(Te,Ze);break;case"d":const we=oe.value;if(we){let Be=this.headers.get(Te);if(!Be)return;Be=Be.filter(We=>-1===we.indexOf(We)),0===Be.length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,Be)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(Te=>oe(this.normalizedNames.get(Te),this.headers.get(Te)))}}class B{encodeKey(oe){return v(oe)}encodeValue(oe){return v(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const b=/%(\d[a-f0-9])/gi,S={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function v(ie){return encodeURIComponent(ie).replace(b,(oe,Te)=>S[Te]??oe)}function H(ie){return`${ie}`}class x{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new B,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function m(ie,oe){const Te=new Map;return ie.length>0&&ie.replace(/^\?/,"").split("&").forEach(Ze=>{const we=Ze.indexOf("="),[Be,We]=-1==we?[oe.decodeKey(Ze),""]:[oe.decodeKey(Ze.slice(0,we)),oe.decodeValue(Ze.slice(we+1))],Ye=Te.get(Be)||[];Ye.push(We),Te.set(Be,Ye)}),Te}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(Te=>{const Xe=oe.fromObject[Te],Ze=Array.isArray(Xe)?Xe.map(H):[H(Xe)];this.map.set(Te,Ze)})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const Te=this.map.get(oe);return Te?Te[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,Te){return this.clone({param:oe,value:Te,op:"a"})}appendAll(oe){const Te=[];return Object.keys(oe).forEach(Xe=>{const Ze=oe[Xe];Array.isArray(Ze)?Ze.forEach(we=>{Te.push({param:Xe,value:we,op:"a"})}):Te.push({param:Xe,value:Ze,op:"a"})}),this.clone(Te)}set(oe,Te){return this.clone({param:oe,value:Te,op:"s"})}delete(oe,Te){return this.clone({param:oe,value:Te,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const Te=this.encoder.encodeKey(oe);return this.map.get(oe).map(Xe=>Te+"="+this.encoder.encodeValue(Xe)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const Te=new x({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(oe),Te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const Te=("a"===oe.op?this.map.get(oe.param):void 0)||[];Te.push(H(oe.value)),this.map.set(oe.param,Te);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Xe=this.map.get(oe.param)||[];const Ze=Xe.indexOf(H(oe.value));-1!==Ze&&Xe.splice(Ze,1),Xe.length>0?this.map.set(oe.param,Xe):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class Ee{constructor(){this.map=new Map}set(oe,Te){return this.map.set(oe,Te),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function ue(ie){return typeof ArrayBuffer<"u"&&ie instanceof ArrayBuffer}function Z(ie){return typeof Blob<"u"&&ie instanceof Blob}function Me(ie){return typeof FormData<"u"&&ie instanceof FormData}class ve{constructor(oe,Te,Xe,Ze){let we;if(this.url=Te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function T(ie){switch(ie){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ze?(this.body=void 0!==Xe?Xe:null,we=Ze):we=Xe,we&&(this.reportProgress=!!we.reportProgress,this.withCredentials=!!we.withCredentials,we.responseType&&(this.responseType=we.responseType),we.headers&&(this.headers=we.headers),we.context&&(this.context=we.context),we.params&&(this.params=we.params)),this.headers||(this.headers=new g),this.context||(this.context=new Ee),this.params){const Be=this.params.toString();if(0===Be.length)this.urlWithParams=Te;else{const We=Te.indexOf("?");this.urlWithParams=Te+(-1===We?"?":WeK.set(le,oe.setHeaders[le]),Ye)),oe.setParams&&(et=Object.keys(oe.setParams).reduce((K,le)=>K.set(le,oe.setParams[le]),et)),new ve(Te,Xe,we,{params:et,headers:Ye,context:de,reportProgress:We,responseType:Ze,withCredentials:Be})}}var ye=(()=>((ye=ye||{})[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye))();class De{constructor(oe,Te=200,Xe="OK"){this.headers=oe.headers||new g,this.status=void 0!==oe.status?oe.status:Te,this.statusText=oe.statusText||Xe,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class z extends De{constructor(oe={}){super(oe),this.type=ye.ResponseHeader}clone(oe={}){return new z({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class Y extends De{constructor(oe={}){super(oe),this.type=ye.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new Y({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class V extends De{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function j(ie,oe){return{body:oe,headers:ie.headers,context:ie.context,observe:ie.observe,params:ie.params,reportProgress:ie.reportProgress,responseType:ie.responseType,withCredentials:ie.withCredentials}}let X=(()=>{class ie{constructor(Te){this.handler=Te}request(Te,Xe,Ze={}){let we;if(Te instanceof ve)we=Te;else{let Ye,et;Ye=Ze.headers instanceof g?Ze.headers:new g(Ze.headers),Ze.params&&(et=Ze.params instanceof x?Ze.params:new x({fromObject:Ze.params})),we=new ve(Te,Xe,void 0!==Ze.body?Ze.body:null,{headers:Ye,context:Ze.context,params:et,reportProgress:Ze.reportProgress,responseType:Ze.responseType||"json",withCredentials:Ze.withCredentials})}const Be=(0,h.of)(we).pipe((0,f.b)(Ye=>this.handler.handle(Ye)));if(Te instanceof ve||"events"===Ze.observe)return Be;const We=Be.pipe((0,d.h)(Ye=>Ye instanceof Y));switch(Ze.observe||"body"){case"body":switch(we.responseType){case"arraybuffer":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&!(Ye.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ye.body}));case"blob":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&!(Ye.body instanceof Blob))throw new Error("Response is not a Blob.");return Ye.body}));case"text":return We.pipe((0,w.U)(Ye=>{if(null!==Ye.body&&"string"!=typeof Ye.body)throw new Error("Response is not a string.");return Ye.body}));default:return We.pipe((0,w.U)(Ye=>Ye.body))}case"response":return We;default:throw new Error(`Unreachable: unhandled observe type ${Ze.observe}}`)}}delete(Te,Xe={}){return this.request("DELETE",Te,Xe)}get(Te,Xe={}){return this.request("GET",Te,Xe)}head(Te,Xe={}){return this.request("HEAD",Te,Xe)}jsonp(Te,Xe){return this.request("JSONP",Te,{params:(new x).append(Xe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Te,Xe={}){return this.request("OPTIONS",Te,Xe)}patch(Te,Xe,Ze={}){return this.request("PATCH",Te,j(Ze,Xe))}post(Te,Xe,Ze={}){return this.request("POST",Te,j(Ze,Xe))}put(Te,Xe,Ze={}){return this.request("PUT",Te,j(Ze,Xe))}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(L))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();class Ie{constructor(oe,Te){this.next=oe,this.interceptor=Te}handle(oe){return this.interceptor.intercept(oe,this.next)}}const ke=new r.OlP("HTTP_INTERCEPTORS");let tt=(()=>{class ie{intercept(Te,Xe){return Xe.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();const Ce=/^\)\]\}',?\n/;let Qe=(()=>{class ie{constructor(Te){this.xhrFactory=Te}handle(Te){if("JSONP"===Te.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _.y(Xe=>{const Ze=this.xhrFactory.build();if(Ze.open(Te.method,Te.urlWithParams),Te.withCredentials&&(Ze.withCredentials=!0),Te.headers.forEach((_e,ae)=>Ze.setRequestHeader(_e,ae.join(","))),Te.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!Te.headers.has("Content-Type")){const _e=Te.detectContentTypeHeader();null!==_e&&Ze.setRequestHeader("Content-Type",_e)}if(Te.responseType){const _e=Te.responseType.toLowerCase();Ze.responseType="json"!==_e?_e:"text"}const we=Te.serializeBody();let Be=null;const We=()=>{if(null!==Be)return Be;const _e=Ze.statusText||"OK",ae=new g(Ze.getAllResponseHeaders()),he=function He(ie){return"responseURL"in ie&&ie.responseURL?ie.responseURL:/^X-Request-URL:/m.test(ie.getAllResponseHeaders())?ie.getResponseHeader("X-Request-URL"):null}(Ze)||Te.url;return Be=new z({headers:ae,status:Ze.status,statusText:_e,url:he}),Be},Ye=()=>{let{headers:_e,status:ae,statusText:he,url:pe}=We(),be=null;204!==ae&&(be=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===ae&&(ae=be?200:0);let Oe=ae>=200&&ae<300;if("json"===Te.responseType&&"string"==typeof be){const Ae=be;be=be.replace(Ce,"");try{be=""!==be?JSON.parse(be):null}catch(Je){be=Ae,Oe&&(Oe=!1,be={error:Je,text:be})}}Oe?(Xe.next(new Y({body:be,headers:_e,status:ae,statusText:he,url:pe||void 0})),Xe.complete()):Xe.error(new V({error:be,headers:_e,status:ae,statusText:he,url:pe||void 0}))},et=_e=>{const{url:ae}=We(),he=new V({error:_e,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:ae||void 0});Xe.error(he)};let de=!1;const K=_e=>{de||(Xe.next(We()),de=!0);let ae={type:ye.DownloadProgress,loaded:_e.loaded};_e.lengthComputable&&(ae.total=_e.total),"text"===Te.responseType&&!!Ze.responseText&&(ae.partialText=Ze.responseText),Xe.next(ae)},le=_e=>{let ae={type:ye.UploadProgress,loaded:_e.loaded};_e.lengthComputable&&(ae.total=_e.total),Xe.next(ae)};return Ze.addEventListener("load",Ye),Ze.addEventListener("error",et),Ze.addEventListener("timeout",et),Ze.addEventListener("abort",et),Te.reportProgress&&(Ze.addEventListener("progress",K),null!==we&&Ze.upload&&Ze.upload.addEventListener("progress",le)),Ze.send(we),Xe.next({type:ye.Sent}),()=>{Ze.removeEventListener("error",et),Ze.removeEventListener("abort",et),Ze.removeEventListener("load",Ye),Ze.removeEventListener("timeout",et),Te.reportProgress&&(Ze.removeEventListener("progress",K),null!==we&&Ze.upload&&Ze.upload.removeEventListener("progress",le)),Ze.readyState!==Ze.DONE&&Ze.abort()}})}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(o.JF))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})();const st=new r.OlP("XSRF_COOKIE_NAME"),Ge=new r.OlP("XSRF_HEADER_NAME");class at{}let _t=(()=>{class ie{constructor(Te,Xe,Ze){this.doc=Te,this.platform=Xe,this.cookieName=Ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(o.K0),r.LFG(r.Lbi),r.LFG(st))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),xt=(()=>{class ie{constructor(Te,Xe){this.tokenService=Te,this.headerName=Xe}intercept(Te,Xe){const Ze=Te.url.toLowerCase();if("GET"===Te.method||"HEAD"===Te.method||Ze.startsWith("http://")||Ze.startsWith("https://"))return Xe.handle(Te);const we=this.tokenService.getToken();return null!==we&&!Te.headers.has(this.headerName)&&(Te=Te.clone({headers:Te.headers.set(this.headerName,we)})),Xe.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(at),r.LFG(Ge))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),yt=(()=>{class ie{constructor(Te,Xe){this.backend=Te,this.injector=Xe,this.chain=null}handle(Te){if(null===this.chain){const Xe=this.injector.get(ke,[]);this.chain=Xe.reduceRight((Ze,we)=>new Ie(Ze,we),this.backend)}return this.chain.handle(Te)}}return ie.\u0275fac=function(Te){return new(Te||ie)(r.LFG(A),r.LFG(r.zs3))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),nt=(()=>{class ie{static disable(){return{ngModule:ie,providers:[{provide:xt,useClass:tt}]}}static withOptions(Te={}){return{ngModule:ie,providers:[Te.cookieName?{provide:st,useValue:Te.cookieName}:[],Te.headerName?{provide:Ge,useValue:Te.headerName}:[]]}}}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275mod=r.oAB({type:ie}),ie.\u0275inj=r.cJS({providers:[xt,{provide:ke,useExisting:xt,multi:!0},{provide:at,useClass:_t},{provide:st,useValue:"XSRF-TOKEN"},{provide:Ge,useValue:"X-XSRF-TOKEN"}]}),ie})(),ft=(()=>{class ie{}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275mod=r.oAB({type:ie}),ie.\u0275inj=r.cJS({providers:[X,{provide:L,useClass:yt},Qe,{provide:A,useExisting:Qe}],imports:[nt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ie})()},4537:(Ue,J,s)=>{"use strict";s.d(J,{$8M:()=>Un,$Z:()=>Uh,AFp:()=>fm,ALo:()=>Pg,AaK:()=>L,Akn:()=>zr,AsE:()=>yu,BQk:()=>bl,CHM:()=>Ve,CRH:()=>$g,CZH:()=>kl,CqO:()=>Yf,D6c:()=>LD,DdM:()=>Cg,EJc:()=>JE,EiD:()=>Bd,EpF:()=>Gf,F$t:()=>Xf,F4k:()=>Kf,FYo:()=>vg,FiY:()=>cn,G48:()=>yD,Gf:()=>Ug,GfV:()=>bg,GkF:()=>au,Gpc:()=>B,Gre:()=>Tp,Hsn:()=>qf,Ikx:()=>vu,JOm:()=>ro,JVY:()=>t_,Jf7:()=>Gd,Jzz:()=>Ip,KtG:()=>Ct,L6k:()=>n_,LAX:()=>r_,LFG:()=>kn,LSH:()=>Jl,Lbi:()=>KE,MAs:()=>Wf,MGl:()=>El,MMx:()=>Pu,MT6:()=>xp,NdJ:()=>cu,O4$:()=>Uo,OlP:()=>Nn,Oqu:()=>_u,PXZ:()=>dD,Q6J:()=>ru,QGY:()=>lu,QP$:()=>sa,QbO:()=>YE,Qsj:()=>Hb,R0b:()=>fr,RDi:()=>No,Rgc:()=>Wa,SBq:()=>Ua,Sil:()=>qE,Suo:()=>Hg,TTD:()=>yr,TgZ:()=>_l,Tol:()=>pp,Udp:()=>pu,VKq:()=>wg,W1O:()=>Kg,WFA:()=>uu,WLB:()=>Mg,X6Q:()=>_D,XFs:()=>yt,Xpm:()=>pe,Y36:()=>Us,YKP:()=>_g,YNc:()=>zf,Yjl:()=>Zt,Yz7:()=>Ke,ZZ4:()=>ed,_Bn:()=>gg,_UZ:()=>su,_Vd:()=>ja,_c5:()=>kD,_uU:()=>Ep,aQg:()=>td,c2e:()=>QE,cJS:()=>P,cg1:()=>Eu,d8E:()=>bu,dDg:()=>aD,deG:()=>Ul,dqk:()=>Ze,eBb:()=>i_,eFA:()=>Mm,ekj:()=>gu,eoX:()=>Em,f3M:()=>Da,g9A:()=>gm,h0i:()=>ys,hGG:()=>FD,hM9:()=>Xb,hYB:()=>fu,hij:()=>Cl,iGM:()=>jg,ifc:()=>Xe,ip1:()=>hm,kL8:()=>Up,kYT:()=>mt,kcU:()=>Ms,l5B:()=>Sg,lG2:()=>St,lcZ:()=>Rg,lqb:()=>Bs,lri:()=>vm,mCW:()=>wa,n5z:()=>jt,n_E:()=>Tl,oAB:()=>ct,oJD:()=>Vd,oxw:()=>Jf,pB0:()=>o_,q3G:()=>ci,qLn:()=>Aa,qOj:()=>eu,qZA:()=>yl,qzn:()=>Fs,rWj:()=>bm,s9C:()=>hu,sBO:()=>vD,sIi:()=>Ra,s_b:()=>Il,soG:()=>Fl,tBr:()=>on,tb:()=>mm,tp0:()=>Xn,uIk:()=>iu,uOi:()=>Xl,vHH:()=>v,vpe:()=>co,wAp:()=>dn,xi3:()=>kg,xp6:()=>vh,yhl:()=>xd,ynx:()=>vl,z2F:()=>Ll,z3N:()=>Oo,zSh:()=>bc,zs3:()=>oo});var o=s(8023),r=s(4813),h=s(818),_=s(1860),f=s(815);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function w(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function L(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(L).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 A(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const g=d({__forward_ref__:d});function B(e){return e.__forward_ref__=B,e.toString=function(){return L(this())},e}function m(e){return b(e)?e():e}function b(e){return"function"==typeof e&&e.hasOwnProperty(g)&&e.__forward_ref__===B}class v extends Error{constructor(t,n){super(function H(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function x(e){return"string"==typeof e?e:null==e?"":String(e)}function Z(e,t){throw new v(-201,!1)}function lt(e,t){null==e&&function $(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Ke(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function P(e){return{providers:e.providers||[],imports:e.imports||[]}}function se(e){return Ce(e,Ge)||Ce(e,_t)}function Ce(e,t){return e.hasOwnProperty(t)?e[t]:null}function st(e){return e&&(e.hasOwnProperty(at)||e.hasOwnProperty(xt))?e[at]:null}const Ge=d({\u0275prov:d}),at=d({\u0275inj:d}),_t=d({ngInjectableDef:d}),xt=d({ngInjectorDef:d});var yt=(()=>((yt=yt||{})[yt.Default=0]="Default",yt[yt.Host=1]="Host",yt[yt.Self=2]="Self",yt[yt.SkipSelf=4]="SkipSelf",yt[yt.Optional=8]="Optional",yt))();let Pt;function nt(e){const t=Pt;return Pt=e,t}function ft(e,t,n){const i=se(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&yt.Optional?null:void 0!==t?t:void Z(L(e))}function U(e){return{toString:e}.toString()}var ie=(()=>((ie=ie||{})[ie.OnPush=0]="OnPush",ie[ie.Default=1]="Default",ie))(),Xe=(()=>{return(e=Xe||(Xe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Xe;var e})();const Ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),We={},Ye=[],et=d({\u0275cmp:d}),de=d({\u0275dir:d}),K=d({\u0275pipe:d}),le=d({\u0275mod:d}),_e=d({\u0275fac:d}),ae=d({__NG_ELEMENT_ID__:d});let he=0;function pe(e){return U(()=>{const n=!0===e.standalone,i={},a={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===ie.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ye,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,id:"c"+he++,styles:e.styles||Ye,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.dependencies,p=e.features;return a.inputs=Mt(e.inputs,i),a.outputs=Mt(e.outputs),p&&p.forEach(C=>C(a)),a.directiveDefs=l?()=>("function"==typeof l?l():l).map(Oe).filter(Ae):null,a.pipeDefs=l?()=>("function"==typeof l?l():l).map(ln).filter(Ae):null,a})}function Oe(e){return $t(e)||nn(e)}function Ae(e){return null!==e}const Je={};function ct(e){return U(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ye,declarations:e.declarations||Ye,imports:e.imports||Ye,exports:e.exports||Ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Je[e.id]=e.type),t})}function mt(e,t){return U(()=>{const n=Ut(e,!0);n.declarations=t.declarations||Ye,n.imports=t.imports||Ye,n.exports=t.exports||Ye})}function Mt(e,t){if(null==e)return We;const n={};for(const i in e)if(e.hasOwnProperty(i)){let a=e[i],l=a;Array.isArray(a)&&(l=a[1],a=a[0]),n[a]=i,t&&(t[a]=l)}return n}const St=pe;function Zt(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 $t(e){return e[et]||null}function nn(e){return e[de]||null}function ln(e){return e[K]||null}function Ut(e,t){const n=e[le]||null;if(!n&&!0===t)throw new Error(`Type ${L(e)} does not have '\u0275mod' property.`);return n}function Kn(e){return Array.isArray(e)&&"object"==typeof e[1]}function ei(e){return Array.isArray(e)&&!0===e[1]}function Xi(e){return 0!=(8&e.flags)}function Ai(e){return 2==(2&e.flags)}function Fi(e){return 1==(1&e.flags)}function oi(e){return null!==e.template}function pr(e){return 0!=(256&e[2])}function gi(e,t){return e.hasOwnProperty(_e)?e[_e]:null}class Ui{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yr(){return vr}function vr(e){return e.type.prototype.ngOnChanges&&(e.setInput=br),Qr}function Qr(){const e=po(this),t=e?.current;if(t){const n=e.previous;if(n===We)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function br(e,t,n,i){const a=po(e)||function Lo(e,t){return e[kr]=t}(e,{previous:We,current:null}),l=a.current||(a.current={}),p=a.previous,C=this.declaredInputs[n],R=p[C];l[C]=new Ui(R&&R.currentValue,t,p===We),e[i]=t}yr.ngInherit=!0;const kr="__ngSimpleChanges__";function po(e){return e[kr]||null}let Cr;function No(e){Cr=e}function si(){return void 0!==Cr?Cr:typeof document<"u"?document:void 0}function gn(e){return!!e.listen}const $i={createRenderer:(e,t)=>si()};function Ln(e){for(;Array.isArray(e);)e=e[0];return e}function ee(e,t){return Ln(t[e])}function ze(e,t){return Ln(t[e.index])}function wt(e,t){return e.data[t]}function kt(e,t){return e[t]}function Wt(e,t){const n=t[e];return Kn(n)?n:n[0]}function On(e){return 4==(4&e[2])}function Sn(e){return 64==(64&e[2])}function un(e,t){return null==t?null:e[t]}function jn(e){e[18]=0}function Dn(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 Xt={lFrame:jo(null),bindingsEnabled:!0};function Gi(){return Xt.bindingsEnabled}function k(){return Xt.lFrame.lView}function F(){return Xt.lFrame.tView}function Ve(e){return Xt.lFrame.contextLView=e,e[8]}function Ct(e){return Xt.lFrame.contextLView=null,e}function Vt(){let e=In();for(;null!==e&&64===e.type;)e=e.parent;return e}function In(){return Xt.lFrame.currentTNode}function di(e,t){const n=Xt.lFrame;n.currentTNode=e,n.isParent=t}function Fr(){return Xt.lFrame.isParent}function wr(){Xt.lFrame.isParent=!1}function mi(){const e=Xt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lr(){return Xt.lFrame.bindingIndex++}function Ki(e){const t=Xt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vo(e,t){const n=Xt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Nr(t)}function Nr(e){Xt.lFrame.currentDirectiveIndex=e}function Zr(e){const t=Xt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ds(){return Xt.lFrame.currentQueryIndex}function Yi(e){Xt.lFrame.currentQueryIndex=e}function Qa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Mr(e,t,n){if(n&yt.SkipSelf){let a=t,l=e;for(;!(a=a.parent,null!==a||n&yt.Host||(a=Qa(l),null===a||(l=l[15],10&a.type))););if(null===a)return!1;t=a,e=l}const i=Xt.lFrame=is();return i.currentTNode=t,i.lView=e,!0}function ar(e){const t=is(),n=e[1];Xt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function is(){const e=Xt.lFrame,t=null===e?null:e.child;return null===t?jo(e):t}function jo(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 rs(){const e=Xt.lFrame;return Xt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cs=rs;function Br(){const e=rs();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 _i(){return Xt.lFrame.selectedIndex}function Sr(e){Xt.lFrame.selectedIndex=e}function Gn(){const e=Xt.lFrame;return wt(e.tView,e.selectedIndex)}function Uo(){Xt.lFrame.currentNamespace="svg"}function Ms(){!function ha(){Xt.lFrame.currentNamespace=null}()}function Jr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[R]<0&&(e[18]+=65536),(C>11>16&&(3&e[2])===t){e[2]+=2048;try{l.call(C)}finally{}}}else try{l.call(C)}finally{}}class Ei{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function eo(e,t,n){const i=gn(e);let a=0;for(;at){p=l-1;break}}}for(;l>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Mo=!0;function Go(e){const t=Mo;return Mo=e,t}let ga=0;const ur={};function Ko(e,t){const n=xs(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ts(i.data,e),Ts(t,null),Ts(i.blueprint,null));const a=Or(e,t),l=e.injectorIndex;if(ls(a)){const p=Ar(a),C=xi(a,t),R=C[1].data;for(let fe=0;fe<8;fe++)t[l+fe]=C[p+fe]|R[p+fe]}return t[l+8]=a,l}function Ts(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Or(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;null!==a;){if(i=Pn(a),null===i)return-1;if(n++,a=a[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Yo(e,t,n){!function ma(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ae)&&(i=n[ae]),null==i&&(i=n[ae]=ga++);const a=255&i;t.data[e+(a>>5)]|=1<=0?255&t:Tt:t}(n);if("function"==typeof l){if(!Mr(t,e,i))return i&yt.Host?Zo(a,0,i):Is(t,n,i,a);try{const p=l(i);if(null!=p||i&yt.Optional)return p;Z()}finally{Cs()}}else if("number"==typeof l){let p=null,C=xs(e,t),R=-1,fe=i&yt.Host?t[16][6]:null;for((-1===C||i&yt.SkipSelf)&&(R=-1===C?Or(e,t):t[C+8],-1!==R&&it(i,!1)?(p=t[1],C=Ar(R),t=xi(R,t)):C=-1);-1!==C;){const Le=t[1];if($e(l,C,Le.data)){const qe=D(C,t,n,p,i,fe);if(qe!==ur)return qe}R=t[C+8],-1!==R&&it(i,t[1].data[C+8]===fe)&&$e(l,C,t)?(p=Le,C=Ar(R),t=xi(R,t)):C=-1}}return a}function D(e,t,n,i,a,l){const p=t[1],C=p.data[e+8],Le=y(C,p,n,null==i?Ai(C)&&Mo:i!=p&&0!=(3&C.type),a&yt.Host&&l===C);return null!==Le?W(t,p,Le,C):ur}function y(e,t,n,i,a){const l=e.providerIndexes,p=t.data,C=1048575&l,R=e.directiveStart,Le=l>>20,pt=a?C+Le:e.directiveEnd;for(let bt=i?C:C+Le;bt=R&&It.type===n)return bt}if(a){const bt=p[R];if(bt&&oi(bt)&&bt.type===n)return R}return null}function W(e,t,n,i){let a=e[n];const l=t.data;if(function zo(e){return e instanceof Ei}(a)){const p=a;p.resolving&&function Ee(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():x(e)}(l[n]));const C=Go(p.canSeeViewProviders);p.resolving=!0;const R=p.injectImpl?nt(p.injectImpl):null;Mr(e,i,yt.Default);try{a=e[n]=p.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Ss(e,t,n){const{ngOnChanges:i,ngOnInit:a,ngDoCheck:l}=t.type.prototype;if(i){const p=vr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==R&&nt(R),Go(C),p.resolving=!1,Cs()}}return a}function $e(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_e]||vn(t),i=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){const l=a[_e]||vn(a);if(l&&l!==n)return l;a=Object.getPrototypeOf(a)}return l=>new l})}function vn(e){return b(e)?()=>{const t=vn(m(e));return t&&t()}:gi(e)}function Pn(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Un(e){return function Qo(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 a=0;for(;a{const i=function Vr(e){return function(...n){if(e){const i=e(...n);for(const a in i)this[a]=i[a]}}}(t);function a(...l){if(this instanceof a)return i.apply(this,l),this;const p=new a(...l);return C.annotation=p,C;function C(R,fe,Le){const qe=R.hasOwnProperty(Qi)?R[Qi]:Object.defineProperty(R,Qi,{value:[]})[Qi];for(;qe.length<=Le;)qe.push(null);return(qe[Le]=qe[Le]||[]).push(p),R}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class Nn{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=Ke({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ul=new Nn("AnalyzeForEntryComponents");function Mi(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?xr(n,t):t(n))}function ba(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ps(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xo(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function $l(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(1===a)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function c(e,t){const n=E(e,t);if(n>=0)return e[1|n]}function E(e,t){return function Ne(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){const l=i+(a-i>>1),p=e[l<t?a=l:i=l+1}return~(a<({token:e})),-1),cn=dr(no("Optional"),8),Xn=dr(no("SkipSelf"),4);let tl,nl;function ks(e){return function Wl(){if(void 0===tl&&(tl=null,Ze.trustedTypes))try{tl=Ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tl}()?.createHTML(e)||e}function Gl(){if(void 0===nl&&(nl=null,Ze.trustedTypes))try{nl=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nl}function Ad(e){return Gl()?.createHTML(e)||e}function Td(e){return Gl()?.createScriptURL(e)||e}class hs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Zm extends hs{getTypeName(){return"HTML"}}class Jm extends hs{getTypeName(){return"Style"}}class Xm extends hs{getTypeName(){return"Script"}}class qm extends hs{getTypeName(){return"URL"}}class e_ extends hs{getTypeName(){return"ResourceURL"}}function Oo(e){return e instanceof hs?e.changingThisBreaksApplicationSecurity:e}function Fs(e,t){const n=xd(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function xd(e){return e instanceof hs&&e.getTypeName()||null}function t_(e){return new Zm(e)}function n_(e){return new Jm(e)}function i_(e){return new Xm(e)}function r_(e){return new qm(e)}function o_(e){return new e_(e)}class s_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ks(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class a_{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=ks(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=ks(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let a=n.length-1;0wa(t.trim())).join(", ")),this.buf.push(" ",p,'="',Nd(R),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kl.hasOwnProperty(n)&&!Rd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Nd(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 f_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p_=/([^\#-~ |!])/g;function Nd(e){return e.replace(/&/g,"&").replace(f_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(p_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let il;function Bd(e,t){let n=null;try{il=il||function Id(e){const t=new a_(e);return function l_(){try{return!!(new window.DOMParser).parseFromString(ks(""),"text/html")}catch{return!1}}()?new s_(t):t}(e);let i=t?String(t):"";n=il.getInertBodyElement(i);let a=5,l=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=l,l=n.innerHTML,n=il.getInertBodyElement(i)}while(i!==l);return ks((new h_).sanitizeChildren(Zl(n)||n))}finally{if(n){const i=Zl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Zl(e){return"content"in e&&function g_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ci=(()=>((ci=ci||{})[ci.NONE=0]="NONE",ci[ci.HTML=1]="HTML",ci[ci.STYLE=2]="STYLE",ci[ci.SCRIPT=3]="SCRIPT",ci[ci.URL=4]="URL",ci[ci.RESOURCE_URL=5]="RESOURCE_URL",ci))();function Vd(e){const t=Sa();return t?Ad(t.sanitize(ci.HTML,e)||""):Fs(e,"HTML")?Ad(Oo(e)):Bd(si(),x(e))}function Jl(e){const t=Sa();return t?t.sanitize(ci.URL,e)||"":Fs(e,"URL")?Oo(e):wa(x(e))}function Xl(e){const t=Sa();if(t)return Td(t.sanitize(ci.RESOURCE_URL,e)||"");if(Fs(e,"ResourceURL"))return Td(Oo(e));throw new v(904,!1)}function Sa(){const e=k();return e&&e[12]}function ec(e){return e.ngOriginalError}class Aa{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&&ec(t);for(;n&&ec(n);)n=ec(n);return n||null}}const tc=new Map;let x_=0;const ic="__ngContext__";function Ri(e,t){Kn(t)?(e[ic]=t[20],function P_(e){tc.set(e[20],e)}(t)):e[ic]=t}function Oa(e){const t=e[ic];return"number"==typeof t?function Ud(e){return tc.get(e)||null}(t):t||null}function rc(e){const t=Oa(e);return t?Kn(t)?t:t.lView:null}const U_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Ze))();function Gd(e){return e.ownerDocument.defaultView}function To(e){return e instanceof Function?e():e}var ro=(()=>((ro=ro||{})[ro.Important=1]="Important",ro[ro.DashCase=2]="DashCase",ro))();function sc(e,t){return undefined(e,t)}function Ta(e){const t=e[3];return ei(t)?t[3]:t}function ac(e){return Jd(e[13])}function lc(e){return Jd(e[4])}function Jd(e){for(;null!==e&&!ei(e);)e=e[4];return e}function Ns(e,t,n,i,a){if(null!=i){let l,p=!1;ei(i)?l=i:Kn(i)&&(p=!0,i=i[0]);const C=Ln(i);0===e&&null!==n?null==a?ih(t,n,C):fs(t,n,C,a||null,!0):1===e&&null!==n?fs(t,n,C,a||null,!0):2===e?function dh(e,t,n){const i=rl(e,t);i&&function ty(e,t,n,i){gn(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,C,p):3===e&&t.destroyNode(C),null!=l&&function ry(e,t,n,i,a){const l=n[7];l!==Ln(n)&&Ns(t,e,i,l,a);for(let C=10;C0&&(e[n-1][4]=i[4]);const l=Ps(e,10+t);!function K_(e,t){xa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=l[19];null!==p&&p.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function eh(e,t){if(!(128&t[2])){const n=t[11];gn(n)&&n.destroyNode&&xa(e,t,n,3,null,null),function Z_(e){let t=e[13];if(!t)return hc(e[1],e);for(;t;){let n=null;if(Kn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Kn(t)&&hc(t[1],t),t=t[3];null===t&&(t=e),Kn(t)&&hc(t[1],t),n=t&&t[4]}t=n}}(t)}}function hc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function ey(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[a=fe]():i[a=-fe].unsubscribe(),l+=2}else{const p=i[a=n[l+1]];n[l].call(p)}if(null!==i){for(let l=a+1;ll?"":a[qe+1].toLowerCase();const bt=8&i?pt:null;if(bt&&-1!==ph(bt,fe,0)||2&i&&fe!==pt){if(Ur(i))return!1;p=!0}}}}else{if(!p&&!Ur(i)&&!Ur(R))return!1;if(p&&Ur(R))continue;p=!1,i=R|1&i}}return Ur(i)||p}function Ur(e){return 0==(1&e)}function cy(e,t,n,i){if(null===t)return-1;let a=0;if(i||!n){let l=!1;for(;a-1)for(n++;n0?'="'+C+'"':"")+"]"}else 8&i?a+="."+p:4&i&&(a+=" "+p);else""!==a&&!Ur(p)&&(t+=yh(l,a),a=""),i=p,l=l||!Ur(i);n++}return""!==a&&(t+=yh(l,a)),t}const En={};function vh(e){bh(F(),k(),_i()+e,!1)}function bh(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&Xr(t,l,n)}else{const l=e.preOrderHooks;null!==l&&$o(t,l,0,n)}Sr(n)}const wh=new Nn("ENVIRONMENT_INITIALIZER"),Mh=new Nn("INJECTOR_DEF_TYPES");function Dy(...e){return{\u0275providers:Sh(0,e)}}function Sh(e,...t){const n=[],i=new Set;let a;return xr(t,l=>{const p=l;_c(p,n,[],i)&&(a||(a=[]),a.push(p))}),void 0!==a&&Ah(a,n),n}function Ah(e,t){for(let n=0;n{t.push(l)})}}function _c(e,t,n,i){if(!(e=m(e)))return!1;let a=null,l=st(e);const p=!l&&$t(e);if(l||p){if(p&&!p.standalone)return!1;a=e}else{const R=e.ngModule;if(l=st(R),!l)return!1;a=R}const C=i.has(a);if(p){if(C)return!1;if(i.add(a),p.dependencies){const R="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const fe of R)_c(fe,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!C){let fe;i.add(a);try{xr(l.imports,Le=>{_c(Le,t,n,i)&&(fe||(fe=[]),fe.push(Le))})}finally{}void 0!==fe&&Ah(fe,t)}if(!C){const fe=gi(a)||(()=>new a);t.push({provide:a,useFactory:fe,deps:Ye},{provide:Mh,useValue:a,multi:!0},{provide:wh,useValue:()=>kn(a),multi:!0})}const R=l.providers;null==R||C||xr(R,Le=>{t.push(Le)})}}return a!==e&&void 0!==e.providers}const Cy=d({provide:String,useValue:d});function yc(e){return null!==e&&"object"==typeof e&&Cy in e}function ps(e){return"function"==typeof e}const vc=new Nn("INJECTOR",-1);class xh{get(t,n=pn){if(n===pn){const i=new Error(`NullInjectorError: No provider for ${L(t)}!`);throw i.name="NullInjectorError",i}return n}}const bc=new Nn("Set Injector scope."),al={},My={};let Ec;function Dc(){return void 0===Ec&&(Ec=new xh),Ec}class Bs{}class Ih extends Bs{constructor(t,n,i,a){super(),this.parent=n,this.source=i,this.scopes=a,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,p=>this.processProvider(p)),this.records.set(vc,Vs(void 0,this)),a.has("environment")&&this.records.set(Bs,Vs(void 0,this));const l=this.records.get(bc);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(Mh.multi,Ye,yt.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)}get(t,n=pn,i=yt.Default){this.assertNotDestroyed();const a=pi(this),l=nt(void 0);try{if(!(i&yt.SkipSelf)){let C=this.records.get(t);if(void 0===C){const R=function xy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nn}(t)&&se(t);C=R&&this.injectableDefInScope(R)?Vs(Cc(t),al):null,this.records.set(t,C)}if(null!=C)return this.hydrate(t,C)}return(i&yt.Self?Dc():this.parent).get(t,n=i&yt.Optional&&n===pn?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[Rn]=p[Rn]||[]).unshift(L(t)),a)throw p;return function Xa(e,t,n,i){const a=e[Rn];throw t[So]&&a.unshift(t[So]),e.message=function tn(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=L(t);if(Array.isArray(t))a=t.map(L).join(" -> ");else if("object"==typeof t){let l=[];for(let p in t)if(t.hasOwnProperty(p)){let C=t[p];l.push(p+":"+("string"==typeof C?JSON.stringify(C):L(C)))}a=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(Si,"\n ")}`}("\n"+e.message,a,n,i),e.ngTokenPath=a,e[Rn]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{nt(l),pi(a)}}resolveInjectorInitializers(){const t=pi(this),n=nt(void 0);try{const i=this.get(wh.multi,Ye,yt.Self);for(const a of i)a()}finally{pi(t),nt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(L(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){let n=ps(t=m(t))?t:m(t&&t.provide);const i=function Ay(e){return yc(e)?Vs(void 0,e.useValue):Vs(Ph(e),al)}(t);if(ps(t)||!0!==t.multi)this.records.get(n);else{let a=this.records.get(n);a||(a=Vs(void 0,al,!0),a.factory=()=>Ao(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===al&&(n.value=My,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ty(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=m(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cc(e){const t=se(e),n=null!==t?t.factory:gi(e);if(null!==n)return n;if(e instanceof Nn)throw new v(204,!1);if(e instanceof Function)return function Sy(e){const t=e.length;if(t>0)throw Xo(t,"?"),new v(204,!1);const n=function He(e){const t=e&&(e[Ge]||e[_t]);if(t){const n=function Qe(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 v(204,!1)}function Ph(e,t,n){let i;if(ps(e)){const a=m(e);return gi(a)||Cc(a)}if(yc(e))i=()=>m(e.useValue);else if(function Th(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ao(e.deps||[]));else if(function Oh(e){return!(!e||!e.useExisting)}(e))i=()=>kn(m(e.useExisting));else{const a=m(e&&(e.useClass||e.provide));if(!function Oy(e){return!!e.deps}(e))return gi(a)||Cc(a);i=()=>new a(...Ao(e.deps))}return i}function Vs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Iy(e){return!!e.\u0275providers}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):Iy(n)?wc(n.\u0275providers,t):t(n)}function Rh(e,t=null,n=null,i){const a=kh(e,t,n,i);return a.resolveInjectorInitializers(),a}function kh(e,t=null,n=null,i,a=new Set){const l=[n||Ye,Dy(e)];return i=i||("object"==typeof e?void 0:L(e)),new Ih(l,t||Dc(),i||null,a)}let oo=(()=>{class e{static create(n,i){if(Array.isArray(n))return Rh({name:""},i,n,"");{const a=n.name??"";return Rh({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=pn,e.NULL=new xh,e.\u0275prov=Ke({token:e,providedIn:"any",factory:()=>kn(vc)}),e.__NG_ELEMENT_ID__=-1,e})();function Us(e,t=yt.Default){const n=k();return null===n?kn(e,t):_a(Vt(),n,m(e),t)}function Uh(){throw new Error("invalid")}function cl(e,t){return e<<17|t<<2}function Hr(e){return e>>17&32767}function Pc(e){return 2|e}function xo(e){return(131068&e)>>2}function Rc(e,t){return-131069&e|t<<2}function kc(e){return 1|e}function tf(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&bh(e,t,22,!1),n(i,a)}finally{Sr(l)}}function rf(e,t,n){if(Xi(t)){const a=t.directiveEnd;for(let l=t.directiveStart;l0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(C)!=R&&C.push(R),C.push(i,a,p)}}function hf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ff(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function bv(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Yc(n)}}function Yc(e){for(let i=ac(e);null!==i;i=lc(i))for(let a=10;a0&&Yc(l)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Yc(a)}}function Av(e,t){const n=Wt(t,e),i=n[1];(function Ov(e,t){for(let n=t.length;nPromise.resolve(null))();function yf(e){return e[7]||(e[7]=[])}function vf(e){return e.cleanup||(e.cleanup=[])}function bf(e,t,n){return(null===e||oi(e))&&(n=function q(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ef(e,t){const n=e[9],i=n?n.get(Aa,null):null;i&&i.handleError(t)}function Df(e,t,n,i,a){for(let l=0;l=0;i--){const a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=Wo(a.hostAttrs,n=Wo(n,a.hostAttrs))}}(i)}function tu(e){return e===We?{}:e===Ye?[]:e}function $v(e,t){const n=e.viewQuery;e.viewQuery=n?(i,a)=>{t(i,a),n(i,a)}:t}function zv(e,t){const n=e.contentQueries;e.contentQueries=n?(i,a,l)=>{t(i,a,l),n(i,a,l)}:t}function Wv(e,t){const n=e.hostBindings;e.hostBindings=n?(i,a)=>{t(i,a),n(i,a)}:t}let gl=null;function gs(){if(!gl){const e=Ze.Symbol;if(e&&e.iterator)gl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nC(Ln(sn[i.index])):i.index;if(gn(n)){let sn=null;if(!C&&R&&(sn=function n0(e,t,n,i){const a=e.cleanup;if(null!=a)for(let l=0;lR?C[R]:null}"string"==typeof p&&(l+=2)}return null}(e,t,a,i.index)),null!==sn)(sn.__ngLastListenerFn__||sn).__ngNextListenerFn__=l,sn.__ngLastListenerFn__=l,bt=!1;else{l=du(i,t,qe,l,!1);const An=n.listen(qt,a,l);pt.push(l,An),Le&&Le.push(a,Ft,hn,hn+1)}}else l=du(i,t,qe,l,!0),qt.addEventListener(a,l,p),pt.push(l),Le&&Le.push(a,Ft,hn,p)}else l=du(i,t,qe,l,!1);const It=i.outputs;let Nt;if(bt&&null!==It&&(Nt=It[a])){const zt=Nt.length;if(zt)for(let qt=0;qt0;)t=t[15],e--;return t}(e,Xt.lFrame.contextLView))[8]}(e)}function r0(e,t){let n=null;const i=function uy(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 a=0;a=0}const vi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lp(e){return e.substring(vi.key,vi.keyEnd)}function l0(e){return e.substring(vi.value,vi.valueEnd)}function cp(e,t){const n=vi.textEnd;return n===t?-1:(t=vi.keyEnd=function d0(e,t,n){for(;t32;)t++;return t}(e,vi.key=t,n),ea(e,t,n))}function up(e,t){const n=vi.textEnd;let i=vi.key=ea(e,t,n);return n===i?-1:(i=vi.keyEnd=function h0(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=hp(e,i,n),i=vi.value=ea(e,i,n),i=vi.valueEnd=function f0(e,t,n){let i=-1,a=-1,l=-1,p=t,C=p;for(;p32&&(C=p),l=a,a=i,i=-33&R}return C}(e,i,n),hp(e,i,n))}function dp(e){vi.key=0,vi.keyEnd=0,vi.value=0,vi.valueEnd=0,vi.textEnd=e.length}function ea(e,t,n){for(;t=0;n=up(t,n))_p(e,lp(t),l0(t))}function pp(e){Gr(u,lo,e,!0)}function lo(e,t){for(let n=function c0(e){return dp(e),cp(e,ea(e,0,vi.textEnd))}(t);n>=0;n=cp(t,n))u(e,lp(t),!0)}function Wr(e,t,n,i){const a=k(),l=F(),p=Ki(2);l.firstUpdatePass&&mp(l,e,p,i),t!==En&&ki(a,p,t)&&yp(l,l.data[_i()],a,a[11],e,a[p+1]=function E0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=L(Oo(e)))),e}(t,n),i,p)}function Gr(e,t,n,i){const a=F(),l=Ki(2);a.firstUpdatePass&&mp(a,null,l,i);const p=k();if(n!==En&&ki(p,l,n)){const C=a.data[_i()];if(bp(C,i)&&!gp(a,l)){let R=i?C.classesWithoutHost:C.stylesWithoutHost;null!==R&&(n=A(R,n||"")),ou(a,C,p,n,i)}else!function b0(e,t,n,i,a,l,p,C){a===En&&(a=Ye);let R=0,fe=0,Le=0=e.expandoStartIndex}function mp(e,t,n,i){const a=e.data;if(null===a[n+1]){const l=a[_i()],p=gp(e,n);bp(l,i)&&null===t&&!p&&(t=!1),t=function g0(e,t,n,i){const a=Zr(e);let l=i?t.residualClasses:t.residualStyles;if(null===a)0===(i?t.classBindings:t.styleBindings)&&(n=Fa(n=mu(null,e,t,n,i),t.attrs,i),l=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==a)if(n=mu(a,e,t,n,i),null===l){let R=function m0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==xo(i))return e[Hr(i)]}(e,t,i);void 0!==R&&Array.isArray(R)&&(R=mu(null,e,t,R[1],i),R=Fa(R,t.attrs,i),function _0(e,t,n,i){e[Hr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,R))}else l=function y0(e,t,n){let i;const a=t.directiveEnd;for(let l=1+t.directiveStylingLast;l0)&&(fe=!0)}else Le=n;if(a)if(0!==R){const pt=Hr(e[C+1]);e[i+1]=cl(pt,C),0!==pt&&(e[pt+1]=Rc(e[pt+1],i)),e[C+1]=function Yy(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=cl(C,0),0!==C&&(e[C+1]=Rc(e[C+1],i)),C=i;else e[i+1]=cl(R,0),0===C?C=i:e[R+1]=Rc(e[R+1],i),R=i;fe&&(e[i+1]=Pc(e[i+1])),ap(e,Le,i,!0),ap(e,Le,i,!1),function s0(e,t,n,i,a){const l=a?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&E(l,t)>=0&&(n[i+1]=kc(n[i+1]))}(t,Le,e,i,l),p=cl(C,R),l?t.classBindings=p:t.styleBindings=p}(a,l,t,n,p,i)}}function mu(e,t,n,i,a){let l=null;const p=n.directiveEnd;let C=n.directiveStylingLast;for(-1===C?C=n.directiveStart:C++;C0;){const R=e[a],fe=Array.isArray(R),Le=fe?R[1]:R,qe=null===Le;let pt=n[a+1];pt===En&&(pt=qe?Ye:void 0);let bt=qe?c(pt,i):Le===i?pt:void 0;if(fe&&!Dl(bt)&&(bt=c(R,i)),Dl(bt)&&(C=bt,p))return C;const It=e[a+1];a=p?Hr(It):xo(It)}if(null!==t){let R=l?t.residualClasses:t.residualStyles;null!=R&&(C=c(R,i))}return C}function Dl(e){return void 0!==e}function bp(e,t){return 0!=(e.flags&(t?16:32))}function Ep(e,t=""){const n=k(),i=F(),a=e+22,l=i.firstCreatePass?Hs(i,a,1,t,null):i.data[a],p=n[a]=function cc(e,t){return gn(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ol(i,n,p,l),di(l,!1)}function _u(e){return Cl("",e,""),_u}function Cl(e,t,n){const i=k(),a=Gs(i,e,t,n);return a!==En&&Io(i,_i(),a),Cl}function yu(e,t,n,i,a){const l=k(),p=Ks(l,e,t,n,i,a);return p!==En&&Io(l,_i(),p),yu}function Tp(e,t,n){Gr(u,lo,Gs(k(),e,t,n),!0)}function xp(e,t,n,i,a){Gr(u,lo,Ks(k(),e,t,n,i,a),!0)}function Ip(e,t,n){zr(Gs(k(),e,t,n))}function vu(e,t,n){const i=k();return ki(i,Lr(),t)&&hr(F(),Gn(),i,e,t,i[11],n,!0),vu}function bu(e,t,n){const i=k();if(ki(i,Lr(),t)){const l=F(),p=Gn();hr(l,p,i,e,t,bf(Zr(l.data),p,i),n,!0)}return bu}const _s=void 0;var B0=["en",[["a","p"],["AM","PM"],_s],[["AM","PM"],_s,_s],[["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"]],_s,[["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"]],_s,[["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}",_s,"{1} 'at' {0}",_s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function N0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ta={};function Eu(e){const t=function V0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Hp(t);if(n)return n;const i=t.split("-")[0];if(n=Hp(i),n)return n;if("en"===i)return B0;throw new Error(`Missing locale data for the locale "${e}".`)}function Up(e){return Eu(e)[dn.PluralCase]}function Hp(e){return e in ta||(ta[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),ta[e]}var dn=(()=>((dn=dn||{})[dn.LocaleId=0]="LocaleId",dn[dn.DayPeriodsFormat=1]="DayPeriodsFormat",dn[dn.DayPeriodsStandalone=2]="DayPeriodsStandalone",dn[dn.DaysFormat=3]="DaysFormat",dn[dn.DaysStandalone=4]="DaysStandalone",dn[dn.MonthsFormat=5]="MonthsFormat",dn[dn.MonthsStandalone=6]="MonthsStandalone",dn[dn.Eras=7]="Eras",dn[dn.FirstDayOfWeek=8]="FirstDayOfWeek",dn[dn.WeekendRange=9]="WeekendRange",dn[dn.DateFormat=10]="DateFormat",dn[dn.TimeFormat=11]="TimeFormat",dn[dn.DateTimeFormat=12]="DateTimeFormat",dn[dn.NumberSymbols=13]="NumberSymbols",dn[dn.NumberFormats=14]="NumberFormats",dn[dn.CurrencyCode=15]="CurrencyCode",dn[dn.CurrencySymbol=16]="CurrencySymbol",dn[dn.CurrencyName=17]="CurrencyName",dn[dn.Currencies=18]="Currencies",dn[dn.Directionality=19]="Directionality",dn[dn.PluralCase=20]="PluralCase",dn[dn.ExtraData=21]="ExtraData",dn))();const na="en-US";let $p=na;function wu(e,t,n,i,a){if(e=m(e),Array.isArray(e))for(let l=0;l>20;if(ps(e)||!e.multi){const bt=new Ei(R,a,Us),It=Su(C,t,a?Le:Le+pt,qe);-1===It?(Yo(Ko(fe,p),l,C),Mu(l,e,t.length),t.push(C),fe.directiveStart++,fe.directiveEnd++,a&&(fe.providerIndexes+=1048576),n.push(bt),p.push(bt)):(n[It]=bt,p[It]=bt)}else{const bt=Su(C,t,Le+pt,qe),It=Su(C,t,Le,Le+pt),Nt=bt>=0&&n[bt],zt=It>=0&&n[It];if(a&&!zt||!a&&!Nt){Yo(Ko(fe,p),l,C);const qt=function Lb(e,t,n,i,a){const l=new Ei(e,n,Us);return l.multi=[],l.index=t,l.componentProviders=0,pg(l,a,i&&!n),l}(a?Fb:kb,n.length,a,i,R);!a&&zt&&(n[It].providerFactory=qt),Mu(l,e,t.length,0),t.push(C),fe.directiveStart++,fe.directiveEnd++,a&&(fe.providerIndexes+=1048576),n.push(qt),p.push(qt)}else Mu(l,e,bt>-1?bt:It,pg(n[a?It:bt],R,!a&&i));!a&&i&&zt&&n[It].componentProviders++}}}function Mu(e,t,n,i){const a=ps(t),l=function wy(e){return!!e.useClass}(t);if(a||l){const R=(l?m(t.useClass):t).prototype.ngOnDestroy;if(R){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const Le=fe.indexOf(n);-1===Le?fe.push(n,[i,R]):fe[Le+1].push(i,R)}else fe.push(n,R)}}}function pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Su(e,t,n,i){for(let a=n;a{n.providersResolver=(i,a)=>function Rb(e,t,n){const i=F();if(i.firstCreatePass){const a=oi(e);wu(n,i.data,i.blueprint,a,!0),wu(t,i.data,i.blueprint,a,!1)}}(i,a?a(e):e,t)}}class Bb{resolveComponentFactory(t){throw function Nb(e){const t=Error(`No component factory found for ${L(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ja=(()=>{class e{}return e.NULL=new Bb,e})();class ys{}class _g{}class yg{}function jb(){return ra(Vt(),k())}function ra(e,t){return new Ua(ze(e,t))}let Ua=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Ub(e){return e instanceof Ua?e.nativeElement:e}class vg{}let Hb=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function zb(){const e=k(),n=Wt(Vt().index,e);return function $b(e){return e[11]}(Kn(n)?n:e)}(),e})(),Wb=(()=>{class e{}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:()=>null}),e})();class bg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gb=new bg("14.0.3"),Ou={};function Ol(e,t,n,i,a=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(Ln(l)),ei(l))for(let C=10;C-1&&(dc(t,i),Ps(n,i))}this._attachedToViewContainer=!1}eh(this._lView[1],this._lView)}onDestroy(t){cf(this._lView[1],this._lView,null,t)}markForCheck(){Qc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Jc(e,t,n){const i=t[10];i.begin&&i.begin();try{zs(e,t,e.template,n)}catch(a){throw Ef(t,a),a}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Q_(e,t){xa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t}}class Kb extends Ha{constructor(t){super(t),this._view=t}detectChanges(){_f(this._view)}checkNoChanges(){}get context(){return null}}class Tu extends ja{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$t(t);return new xu(n,this.ngModule)}}function Eg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const a=this.injector.get(t,Ou,i);return a!==Ou||n===Ou?a:this.parentInjector.get(t,n,i)}}class xu extends yg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function gy(e){return e.map(py).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Eg(this.componentDef.inputs)}get outputs(){return Eg(this.componentDef.outputs)}create(t,n,i,a){let l=(a=a||this.ngModule)instanceof Bs?a:a?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const p=l?new Qb(t,l):t,C=p.get(vg,$i),R=p.get(Wb,null),fe=C.createRenderer(null,this.componentDef),Le=this.componentDef.selectors[0][0]||"div",qe=i?function lf(e,t,n){if(gn(e))return e.selectRootElement(t,n===Xe.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(fe,i,this.componentDef.encapsulation):uc(C.createRenderer(null,this.componentDef),Le,function Yb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(Le)),pt=this.componentDef.onPush?288:272,bt=function Rf(e,t){return{components:[],scheduler:e||U_,clean:xv,playerHandler:t||null,flags:0}}(),It=hl(0,null,null,1,0,null,null,null,null,null),Nt=Ia(null,It,bt,pt,null,null,C,fe,R,p,null);let zt,qt;ar(Nt);try{const hn=function If(e,t,n,i,a,l){const p=n[1];n[22]=e;const R=Hs(p,22,2,"#host",null),fe=R.mergedAttrs=t.hostAttrs;null!==fe&&(pl(R,fe,!0),null!==e&&(eo(a,e,fe),null!==R.classes&&mc(a,e,R.classes),null!==R.styles&&fh(a,e,R.styles)));const Le=i.createRenderer(e,t),qe=Ia(n,sf(t),null,t.onPush?32:16,n[22],R,i,Le,l||null,null,null);return p.firstCreatePass&&(Yo(Ko(R,n),p,t.type),ff(p,R),pf(R,n.length,1)),fl(n,qe),n[22]=qe}(qe,this.componentDef,Nt,C,fe);if(qe)if(i)eo(fe,qe,["ng-version",Gb.full]);else{const{attrs:Ft,classes:sn}=function my(e){const t=[],n=[];let i=1,a=2;for(;i0&&mc(fe,qe,sn.join(" "))}if(qt=wt(It,22),void 0!==n){const Ft=qt.projection=[];for(let sn=0;snn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iu extends _g{constructor(t){super(),this.moduleType=t}create(t){return new Dg(this.moduleType,t)}}class qb extends ys{constructor(t,n,i){super(),this.componentFactoryResolver=new Tu(this),this.instance=null;const a=new Ih([...t,{provide:ys,useValue:this},{provide:ja,useValue:this.componentFactoryResolver}],n||Dc(),i,new Set(["environment"]));this.injector=a,a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Pu(e,t=null,n=null){return new qb(e,t,n).injector}function Cg(e,t,n){const i=mi()+e,a=k();return a[i]===En?ao(a,i,n?t.call(n):t()):function ka(e,t){return e[t]}(a,i)}function wg(e,t,n,i){return Ag(k(),mi(),e,t,n,i)}function Mg(e,t,n,i,a){return Og(k(),mi(),e,t,n,i,a)}function Sg(e,t,n,i,a,l,p){return function xg(e,t,n,i,a,l,p,C,R){const fe=t+n;return function Rr(e,t,n,i,a,l){const p=ms(e,t,n,i);return ms(e,t+2,a,l)||p}(e,fe,a,l,p,C)?ao(e,fe+4,R?i.call(R,a,l,p,C):i(a,l,p,C)):$a(e,fe+4)}(k(),mi(),e,t,n,i,a,l,p)}function $a(e,t){const n=e[t];return n===En?void 0:n}function Ag(e,t,n,i,a,l){const p=t+n;return ki(e,p,a)?ao(e,p+1,l?i.call(l,a):i(a)):$a(e,p+1)}function Og(e,t,n,i,a,l,p){const C=t+n;return ms(e,C,a,l)?ao(e,C+2,p?i.call(p,a,l):i(a,l)):$a(e,C+2)}function Pg(e,t){const n=F();let i;const a=e+22;n.firstCreatePass?(i=function cE(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[a]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];const l=i.factory||(i.factory=gi(i.type)),p=nt(Us);try{const C=Go(!1),R=l();return Go(C),function qv(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,k(),a,R),R}finally{nt(p)}}function Rg(e,t,n){const i=e+22,a=k(),l=kt(a,i);return za(a,i)?Ag(a,mi(),t,l.transform,n,l):l.transform(n)}function kg(e,t,n,i){const a=e+22,l=k(),p=kt(l,a);return za(l,a)?Og(l,mi(),t,p.transform,n,i,p):p.transform(n,i)}function za(e,t){return e[1].data[t].pure}function Ru(e){return t=>{setTimeout(e,void 0,t)}}const co=class fE extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let a=t,l=n||(()=>null),p=i;if(t&&"object"==typeof t){const R=t;a=R.next?.bind(R),l=R.error?.bind(R),p=R.complete?.bind(R)}this.__isAsync&&(l=Ru(l),a&&(a=Ru(a)),p&&(p=Ru(p)));const C=super.subscribe({next:a,error:l,complete:p});return t instanceof r.w0&&t.add(C),C}};function pE(){return this._results[gs()]()}class Tl{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=gs(),i=Tl.prototype;i[n]||(i[n]=pE)}get changes(){return this._changes||(this._changes=new co)}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 a=Mi(t);(this._changesDetected=!function va(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=_E,e})();const gE=Wa,mE=class extends gE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,a=Ia(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);a[17]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[19];return null!==p&&(a[19]=p.createEmbeddedView(i)),Pa(i,a,t),new Ha(a)}};function _E(){return xl(Vt(),k())}function xl(e,t){return 4&e.type?new mE(t,e,ra(e,t)):null}let Il=(()=>{class e{}return e.__NG_ELEMENT_ID__=yE,e})();function yE(){return Ng(Vt(),k())}const vE=Il,Fg=class extends vE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ra(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){const t=Or(this._hostTNode,this._hostLView);if(ls(t)){const n=xi(t,this._hostLView),i=Ar(t);return new ht(n[1].data[i+8],n)}return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Lg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let a,l;"number"==typeof i?a=i:null!=i&&(a=i.index,l=i.injector);const p=t.createEmbeddedView(n||{},l);return this.insert(p,a),p}createComponent(t,n,i,a,l){const p=t&&!function ds(e){return"function"==typeof e}(t);let C;if(p)C=n;else{const qe=n||{};C=qe.index,i=qe.injector,a=qe.projectableNodes,l=qe.environmentInjector||qe.ngModuleRef}const R=p?t:new xu($t(t)),fe=i||this.parentInjector;if(!l&&null==R.ngModule){const pt=(p?fe:this.parentInjector).get(Bs,null);pt&&(l=pt)}const Le=R.create(fe,a,void 0,l);return this.insert(Le.hostView,C),Le}insert(t,n){const i=t._lView,a=i[1];if(function yn(e){return ei(e[3])}(i)){const Le=this.indexOf(t);if(-1!==Le)this.detach(Le);else{const qe=i[3],pt=new Fg(qe,qe[6],qe[3]);pt.detach(pt.indexOf(t))}}const l=this._adjustIndex(n),p=this._lContainer;!function J_(e,t,n,i){const a=10+i,l=n.length;i>0&&(n[a-1][4]=t),i0)i.push(p[C/2]);else{const fe=l[C+1],Le=t[-R];for(let qe=10;qe{class e{constructor(n){this.appInits=n,this.resolve=Rl,this.reject=Rl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a{l.subscribe({complete:C,error:R})});n.push(p)}}Promise.all(n).then(()=>{i()}).catch(a=>{this.reject(a)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(kn(hm,8))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fm=new Nn("AppId",{providedIn:"root",factory:function pm(){return`${zu()}${zu()}${zu()}`}});function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const gm=new Nn("Platform Initializer"),KE=new Nn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),mm=new Nn("appBootstrapListener"),YE=new Nn("AnimationModuleType");let QE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Fl=new Nn("LocaleId",{providedIn:"root",factory:()=>Da(Fl,yt.Optional|yt.SkipSelf)||function ZE(){return typeof $localize<"u"&&$localize.locale||na}()}),JE=new Nn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class XE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qE=(()=>{class e{compileModuleSync(n){return new Iu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=To(Ut(n).declarations).reduce((p,C)=>{const R=$t(C);return R&&p.push(new xu(R)),p},[]);return new XE(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tD=(()=>Promise.resolve(0))();function Wu(e){typeof Zone>"u"?tD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new co(!1),this.onMicrotaskEmpty=new co(!1),this.onStable=new co(!1),this.onError=new co(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&n,a.shouldCoalesceRunChangeDetection=i,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function nD(){let e=Ze.requestAnimationFrame,t=Ze.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 oD(e){const t=()=>{!function rD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ku(e),e.isCheckStableRunning=!0,Gu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ku(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,a,l,p,C)=>{try{return _m(e),n.invokeTask(a,l,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),ym(e)}},onInvoke:(n,i,a,l,p,C,R)=>{try{return _m(e),n.invoke(a,l,p,C,R)}finally{e.shouldCoalesceRunChangeDetection&&t(),ym(e)}},onHasTask:(n,i,a,l)=>{n.hasTask(a,l),i===a&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Ku(e),Gu(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,a,l)=>(n.handleError(a,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){const l=this._inner,p=l.scheduleEventTask("NgZoneEvent: "+a,t,iD,Rl,Rl);try{return l.runTask(p,n,i)}finally{l.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const iD={};function Gu(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 Ku(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function _m(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ym(e){e._nesting--,Gu(e)}class sD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new co,this.onMicrotaskEmpty=new co,this.onStable=new co,this.onError=new co}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,a){return t.apply(n,i)}}const vm=new Nn(""),bm=new Nn("");let Yu,aD=(()=>{class e{constructor(n,i,a){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yu||(function lD(e){Yu=e}(a),a.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:()=>{fr.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{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,a){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:a})}whenStable(n,i,a){if(a&&!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,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,a){return[]}}return e.\u0275fac=function(n){return new(n||e)(kn(fr),kn(Em),kn(bm))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac}),e})(),Em=(()=>{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){return Yu?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),ts=null;const Dm=new Nn("AllowMultipleToken"),Cm=new Nn("PlatformOnDestroy");class dD{constructor(t,n){this.name=t,this.token=n}}function Mm(e,t,n=[]){const i=`Platform: ${t}`,a=new Nn(i);return(l=[])=>{let p=Qu();if(!p||p.injector.get(Dm,!1)){const C=[...n,...l,{provide:a,useValue:!0}];e?e(C):function hD(e){if(ts&&!ts.get(Dm,!1))throw new v(400,!1);ts=e;const t=e.get(Am);(function wm(e){const t=e.get(gm,null);t&&t.forEach(n=>n())})(e)}(function Sm(e=[],t){return oo.create({name:t,providers:[{provide:bc,useValue:"platform"},{provide:Cm,useValue:()=>ts=null},...e]})}(C,i))}return function pD(e){const t=Qu();if(!t)throw new v(401,!1);return t}()}}function Qu(){return ts?.get(Am)??null}let Am=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const a=function gD(e,t){let n;return n="noop"===e?new sD:("zone.js"===e?void 0:e)||new fr(t),n}(i?.ngZone,function Om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),l=[{provide:fr,useValue:a}];return a.run(()=>{const p=oo.create({providers:l,parent:this.injector,name:n.moduleType.name}),C=n.create(p),R=C.injector.get(Aa,null);if(!R)throw new v(402,!1);return a.runOutsideAngular(()=>{const fe=a.onError.subscribe({next:Le=>{R.handleError(Le)}});C.onDestroy(()=>{Nl(this._modules,C),fe.unsubscribe()})}),function Tm(e,t,n){try{const i=n();return lu(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(R,a,()=>{const fe=C.injector.get(kl);return fe.runInitializers(),fe.donePromise.then(()=>(function zp(e){lt(e,"Expected localeId to be defined"),"string"==typeof e&&($p=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Fl,na)||na),this._moduleDoBootstrap(C),C))})})}bootstrapModule(n,i=[]){const a=xm({},i);return function cD(e,t,n){const i=new Iu(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,a))}_moduleDoBootstrap(n){const i=n.injector.get(Ll);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>i.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new v(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 v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(Cm,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(kn(oo))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function xm(e,t){return Array.isArray(t)?t.reduce(xm,e):{...e,...t}}let Ll=(()=>{class e{constructor(n,i,a,l){this._zone=n,this._injector=i,this._exceptionHandler=a,this._initStatus=l,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 p=new h.y(R=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{R.next(this._stable),R.complete()})}),C=new h.y(R=>{let fe;this._zone.runOutsideAngular(()=>{fe=this._zone.onStable.subscribe(()=>{fr.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,R.next(!0))})})});const Le=this._zone.onUnstable.subscribe(()=>{fr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{R.next(!1)}))});return()=>{fe.unsubscribe(),Le.unsubscribe()}});this.isStable=(0,_.T)(p,C.pipe((0,f.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const a=n instanceof yg;if(!this._initStatus.done)throw!a&&sa(n),new v(405,false);let l;l=a?n:this._injector.get(ja).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const p=function uD(e){return e.isBoundToModule}(l)?void 0:this._injector.get(ys),R=l.create(oo.NULL,[],i||l.selector,p),fe=R.location.nativeElement,Le=R.injector.get(vm,null);return Le?.registerApplication(fe),R.onDestroy(()=>{this.detachView(R.hostView),Nl(this.components,R),Le?.unregisterApplication(fe)}),this._loadComponent(R),R}tick(){if(this._runningTick)throw new v(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;Nl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(mm,[]).concat(this._bootstrapListeners).forEach(a=>a(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),()=>Nl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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)(kn(fr),kn(oo),kn(Aa),kn(kl))},e.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Nl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Pm=!0,Rm=!1;function _D(){return Rm=!0,Pm}function yD(){if(Rm)throw new Error("Cannot enable prod mode after platform setup.");Pm=!1}let vD=(()=>{class e{}return e.__NG_ELEMENT_ID__=bD,e})();function bD(e){return function ED(e,t,n){if(Ai(e)&&!n){const i=Wt(e.index,t);return new Ha(i,i)}return 47&e.type?new Ha(t[16],t):null}(Vt(),k(),16==(16&e))}class Nm{constructor(){}supports(t){return Ra(t)}create(t){return new AD(t)}}const SD=(e,t)=>t;class AD{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||SD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,a=0,l=null;for(;n||i;){const p=!i||n&&n.currentIndex{p=this._trackByFn(a,C),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,C,p,a)),Object.is(n.item,C)||this._addIdentityChange(n,C)):(n=this._mismatch(n,C,p,a),i=!0),n=n._next,a++}),this.length=a;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,a){let l;return null===t?l=this._itTail:(l=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,l,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,a)):t=this._addAfter(new OD(n,i),l,a),t}_verifyReinsertion(t,n,i,a){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),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 a=t._prevRemoved,l=t._nextRemoved;return null===a?this._removalsHead=l:a._nextRemoved=l,null===l?this._removalsTail=a:l._prevRemoved=a,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 a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Bm),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 Bm),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 OD{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 TD{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 Bm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new TD,this.map.set(n,i)),i.add(t)}get(t,n){const a=this.map.get(t);return a?a.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 Vm(e,t,n){const i=e.previousIndex;if(null===i)return i;let a=0;return n&&i{if(n&&n.key===a)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(a,i);n=this._insertBeforeOrAppend(n,l)}}),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 a=this._records.get(t);this._maybeAddToChanges(a,n);const l=a._prev,p=a._next;return l&&(l._next=p),p&&(p._prev=l),a._next=null,a._prev=null,a}const i=new ID(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 ID{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 Um(){return new ed([new Nm])}let ed=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Um()),deps:[[e,new Xn,new cn]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(null!=i)return i;throw new v(901,!1)}}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:Um}),e})();function Hm(){return new td([new jm])}let td=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Hm()),deps:[[e,new Xn,new cn]]}}find(n){const i=this.factories.find(a=>a.supports(n));if(i)return i;throw new v(901,!1)}}return e.\u0275prov=Ke({token:e,providedIn:"root",factory:Hm}),e})();const kD=Mm(null,"core",[]);let FD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(kn(Ll))},e.\u0275mod=ct({type:e}),e.\u0275inj=P({}),e})();function LD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},92:(Ue,J,s)=>{"use strict";s.d(J,{Cf:()=>x,F:()=>zn,Fd:()=>Cr,Fj:()=>S,JJ:()=>yt,JL:()=>Pt,JU:()=>L,On:()=>qi,QS:()=>Gi,UX:()=>jn,Zs:()=>zi,_Y:()=>er,a5:()=>Ge,kI:()=>T,nD:()=>gt,oH:()=>ir,p4:()=>ti,qQ:()=>si,qu:()=>Bi,sg:()=>rr,u:()=>Ui,u5:()=>un,wV:()=>tr});var o=s(4537),r=s(8692),h=s(7108),_=s(4967),f=s(7969);let d=(()=>{class ne{constructor(F,Ve){this._renderer=F,this._elementRef=Ve,this.onChange=Ct=>{},this.onTouched=()=>{}}setProperty(F,Ve){this._renderer.setProperty(this._elementRef.nativeElement,F,Ve)}registerOnTouched(F){this.onTouched=F}registerOnChange(F){this.onChange=F}setDisabledState(F){this.setProperty("disabled",F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(o.Qsj),o.Y36(o.SBq))},ne.\u0275dir=o.lG2({type:ne}),ne})(),w=(()=>{class ne extends d{}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,features:[o.qOj]}),ne})();const L=new o.OlP("NgValueAccessor"),B={provide:L,useExisting:(0,o.Gpc)(()=>S),multi:!0},b=new o.OlP("CompositionEventMode");let S=(()=>{class ne extends d{constructor(F,Ve,Ct){super(F,Ve),this._compositionMode=Ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function m(){const ne=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(ne.toLowerCase())}())}writeValue(F){this.setProperty("value",F??"")}_handleInput(F){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(F)}_compositionStart(){this._composing=!0}_compositionEnd(F){this._composing=!1,this._compositionMode&&this.onChange(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(b,8))},ne.\u0275dir=o.lG2({type:ne,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(F,Ve){1&F&&o.NdJ("input",function(Vt){return Ve._handleInput(Vt.target.value)})("blur",function(){return Ve.onTouched()})("compositionstart",function(){return Ve._compositionStart()})("compositionend",function(Vt){return Ve._compositionEnd(Vt.target.value)})},features:[o._Bn([B]),o.qOj]}),ne})();function v(ne){return null==ne||("string"==typeof ne||Array.isArray(ne))&&0===ne.length}function H(ne){return null!=ne&&"number"==typeof ne.length}const x=new o.OlP("NgValidators"),te=new o.OlP("NgAsyncValidators"),Ee=/^(?=.{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 T{static min(k){return ue(k)}static max(k){return Z(k)}static required(k){return Me(k)}static requiredTrue(k){return Se(k)}static email(k){return function ve(ne){return v(ne.value)||Ee.test(ne.value)?null:{email:!0}}(k)}static minLength(k){return function ye(ne){return k=>v(k.value)||!H(k.value)?null:k.value.length{if(v(Ve.value))return null;const Ct=Ve.value;return k.test(Ct)?null:{pattern:{requiredPattern:F,actualValue:Ct}}}}(k)}static nullValidator(k){return null}static compose(k){return lt(k)}static composeAsync(k){return Re(k)}}function ue(ne){return k=>{if(v(k.value)||v(ne))return null;const F=parseFloat(k.value);return!isNaN(F)&&F{if(v(k.value)||v(ne))return null;const F=parseFloat(k.value);return!isNaN(F)&&F>ne?{max:{max:ne,actual:k.value}}:null}}function Me(ne){return v(ne.value)?{required:!0}:null}function Se(ne){return!0===ne.value?null:{required:!0}}function De(ne){return k=>H(k.value)&&k.value.length>ne?{maxlength:{requiredLength:ne,actualLength:k.value.length}}:null}function Y(ne){return null}function V(ne){return null!=ne}function j(ne){const k=(0,o.QGY)(ne)?(0,h.D)(ne):ne;return(0,o.CqO)(k),k}function X(ne){let k={};return ne.forEach(F=>{k=null!=F?{...k,...F}:k}),0===Object.keys(k).length?null:k}function Ie(ne,k){return k.map(F=>F(ne))}function tt(ne){return ne.map(k=>function ke(ne){return!ne.validate}(k)?k:F=>k.validate(F))}function lt(ne){if(!ne)return null;const k=ne.filter(V);return 0==k.length?null:function(F){return X(Ie(F,k))}}function $(ne){return null!=ne?lt(tt(ne)):null}function Re(ne){if(!ne)return null;const k=ne.filter(V);return 0==k.length?null:function(F){const Ve=Ie(F,k).map(j);return(0,_.D)(Ve).pipe((0,f.U)(X))}}function re(ne){return null!=ne?Re(tt(ne)):null}function xe(ne,k){return null===ne?[k]:Array.isArray(ne)?[...ne,k]:[ne,k]}function Ke(ne){return ne._rawValidators}function me(ne){return ne._rawAsyncValidators}function P(ne){return ne?Array.isArray(ne)?ne:[ne]:[]}function se(ne,k){return Array.isArray(ne)?ne.includes(k):ne===k}function Ce(ne,k){const F=P(k);return P(ne).forEach(Ct=>{se(F,Ct)||F.push(Ct)}),F}function He(ne,k){return P(k).filter(F=>!se(ne,F))}class Qe{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(k){this._rawValidators=k||[],this._composedValidatorFn=$(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=re(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k){this.control&&this.control.reset(k)}hasError(k,F){return!!this.control&&this.control.hasError(k,F)}getError(k,F){return this.control?this.control.getError(k,F):null}}class st extends Qe{get formDirective(){return null}get path(){return null}}class Ge extends Qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class at{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let yt=(()=>{class ne extends at{constructor(F){super(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(Ge,2))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(F,Ve){2&F&&o.ekj("ng-untouched",Ve.isUntouched)("ng-touched",Ve.isTouched)("ng-pristine",Ve.isPristine)("ng-dirty",Ve.isDirty)("ng-valid",Ve.isValid)("ng-invalid",Ve.isInvalid)("ng-pending",Ve.isPending)},features:[o.qOj]}),ne})(),Pt=(()=>{class ne extends at{constructor(F){super(F)}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(F,Ve){2&F&&o.ekj("ng-untouched",Ve.isUntouched)("ng-touched",Ve.isTouched)("ng-pristine",Ve.isPristine)("ng-dirty",Ve.isDirty)("ng-valid",Ve.isValid)("ng-invalid",Ve.isInvalid)("ng-pending",Ve.isPending)("ng-submitted",Ve.isSubmitted)},features:[o.qOj]}),ne})();const _e="VALID",ae="INVALID",he="PENDING",pe="DISABLED";function be(ne){return(ct(ne)?ne.validators:ne)||null}function Oe(ne){return Array.isArray(ne)?$(ne):ne||null}function Ae(ne,k){return(ct(k)?k.asyncValidators:ne)||null}function Je(ne){return Array.isArray(ne)?re(ne):ne||null}function ct(ne){return null!=ne&&!Array.isArray(ne)&&"object"==typeof ne}function mt(ne,k,F){const Ve=ne.controls;if(!(k?Object.keys(Ve):Ve).length)throw new o.vHH(1e3,"");if(!Ve[F])throw new o.vHH(1001,"")}function Mt(ne,k,F){ne._forEachChild((Ve,Ct)=>{if(void 0===F[Ct])throw new o.vHH(1002,"")})}class St{constructor(k,F){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=k,this._rawAsyncValidators=F,this._composedValidatorFn=Oe(this._rawValidators),this._composedAsyncValidatorFn=Je(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===_e}get invalid(){return this.status===ae}get pending(){return this.status==he}get disabled(){return this.status===pe}get enabled(){return this.status!==pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._rawValidators=k,this._composedValidatorFn=Oe(k)}setAsyncValidators(k){this._rawAsyncValidators=k,this._composedAsyncValidatorFn=Je(k)}addValidators(k){this.setValidators(Ce(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(Ce(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(He(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(He(k,this._rawAsyncValidators))}hasValidator(k){return se(this._rawValidators,k)}hasAsyncValidator(k){return se(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(F=>{F.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(F=>{F.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=he,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const F=this._parentMarkedDirty(k.onlySelf);this.status=pe,this.errors=null,this._forEachChild(Ve=>{Ve.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:F}),this._onDisabledChange.forEach(Ve=>Ve(!0))}enable(k={}){const F=this._parentMarkedDirty(k.onlySelf);this.status=_e,this._forEachChild(Ve=>{Ve.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:F}),this._onDisabledChange.forEach(Ve=>Ve(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_e||this.status===he)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(F=>F._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pe:_e}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=he,this._hasOwnPendingAsyncValidator=!0;const F=j(this.asyncValidator(this));this._asyncValidationSubscription=F.subscribe(Ve=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ve,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,F={}){this.errors=k,this._updateControlsErrors(!1!==F.emitEvent)}get(k){let F=k;return null==F||(Array.isArray(F)||(F=F.split(".")),0===F.length)?null:F.reduce((Ve,Ct)=>Ve&&Ve._find(Ct),this)}getError(k,F){const Ve=F?this.get(F):this;return Ve&&Ve.errors?Ve.errors[k]:null}hasError(k,F){return!!this.getError(k,F)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?pe:this.errors?ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(he)?he:this._anyControlsHaveStatus(ae)?ae:_e}_anyControlsHaveStatus(k){return this._anyControls(F=>F.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){ct(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}}class Zt extends St{constructor(k,F,Ve){super(be(F),Ae(Ve,F)),this.controls=k,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,F){return this.controls[k]?this.controls[k]:(this.controls[k]=F,F.setParent(this),F._registerOnCollectionChange(this._onCollectionChange),F)}addControl(k,F,Ve={}){this.registerControl(k,F),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}removeControl(k,F={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}setControl(k,F,Ve={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],F&&this.registerControl(k,F),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,F={}){Mt(this,0,k),Object.keys(k).forEach(Ve=>{mt(this,!0,Ve),this.controls[Ve].setValue(k[Ve],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(k,F={}){null!=k&&(Object.keys(k).forEach(Ve=>{const Ct=this.controls[Ve];Ct&&Ct.patchValue(k[Ve],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(k={},F={}){this._forEachChild((Ve,Ct)=>{Ve.reset(k[Ct],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this._reduceChildren({},(k,F,Ve)=>(k[Ve]=F.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(F,Ve)=>!!Ve._syncPendingControls()||F);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(F=>{const Ve=this.controls[F];Ve&&k(Ve,F)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[F,Ve]of Object.entries(this.controls))if(this.contains(F)&&k(Ve))return!0;return!1}_reduceValue(){return this._reduceChildren({},(F,Ve,Ct)=>((Ve.enabled||this.disabled)&&(F[Ct]=Ve.value),F))}_reduceChildren(k,F){let Ve=k;return this._forEachChild((Ct,Vt)=>{Ve=F(Ve,Ct,Vt)}),Ve}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}function en(ne,k){return[...k.path,ne]}function Rt(ne,k){I(ne,k),k.valueAccessor.writeValue(ne.value),ne.disabled&&k.valueAccessor.setDisabledState?.(!0),function Q(ne,k){k.valueAccessor.registerOnChange(F=>{ne._pendingValue=F,ne._pendingChange=!0,ne._pendingDirty=!0,"change"===ne.updateOn&&rt(ne,k)})}(ne,k),function Et(ne,k){const F=(Ve,Ct)=>{k.valueAccessor.writeValue(Ve),Ct&&k.viewToModelUpdate(Ve)};ne.registerOnChange(F),k._registerOnDestroy(()=>{ne._unregisterOnChange(F)})}(ne,k),function Fe(ne,k){k.valueAccessor.registerOnTouched(()=>{ne._pendingTouched=!0,"blur"===ne.updateOn&&ne._pendingChange&&rt(ne,k),"submit"!==ne.updateOn&&ne.markAsTouched()})}(ne,k),function Pe(ne,k){if(k.valueAccessor.setDisabledState){const F=Ve=>{k.valueAccessor.setDisabledState(Ve)};ne.registerOnDisabledChange(F),k._registerOnDestroy(()=>{ne._unregisterOnDisabledChange(F)})}}(ne,k)}function Ht(ne,k,F=!0){const Ve=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(Ve),k.valueAccessor.registerOnTouched(Ve)),O(ne,k),ne&&(k._invokeOnDestroyCallbacks(),ne._registerOnCollectionChange(()=>{}))}function ut(ne,k){ne.forEach(F=>{F.registerOnValidatorChange&&F.registerOnValidatorChange(k)})}function I(ne,k){const F=Ke(ne);null!==k.validator?ne.setValidators(xe(F,k.validator)):"function"==typeof F&&ne.setValidators([F]);const Ve=me(ne);null!==k.asyncValidator?ne.setAsyncValidators(xe(Ve,k.asyncValidator)):"function"==typeof Ve&&ne.setAsyncValidators([Ve]);const Ct=()=>ne.updateValueAndValidity();ut(k._rawValidators,Ct),ut(k._rawAsyncValidators,Ct)}function O(ne,k){let F=!1;if(null!==ne){if(null!==k.validator){const Ct=Ke(ne);if(Array.isArray(Ct)&&Ct.length>0){const Vt=Ct.filter(In=>In!==k.validator);Vt.length!==Ct.length&&(F=!0,ne.setValidators(Vt))}}if(null!==k.asyncValidator){const Ct=me(ne);if(Array.isArray(Ct)&&Ct.length>0){const Vt=Ct.filter(In=>In!==k.asyncValidator);Vt.length!==Ct.length&&(F=!0,ne.setAsyncValidators(Vt))}}}const Ve=()=>{};return ut(k._rawValidators,Ve),ut(k._rawAsyncValidators,Ve),F}function rt(ne,k){ne._pendingDirty&&ne.markAsDirty(),ne.setValue(ne._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(ne._pendingValue),ne._pendingChange=!1}function Dt(ne,k){I(ne,k)}function Jt(ne,k){if(!ne.hasOwnProperty("model"))return!1;const F=ne.model;return!!F.isFirstChange()||!Object.is(k,F.currentValue)}function Mn(ne,k){ne._syncPendingControls(),k.forEach(F=>{const Ve=F.control;"submit"===Ve.updateOn&&Ve._pendingChange&&(F.viewToModelUpdate(Ve._pendingValue),Ve._pendingChange=!1)})}function $n(ne,k){if(!k)return null;let F,Ve,Ct;return Array.isArray(k),k.forEach(Vt=>{Vt.constructor===S?F=Vt:function Fn(ne){return Object.getPrototypeOf(ne.constructor)===w}(Vt)?Ve=Vt:Ct=Vt}),Ct||Ve||F||null}const Jn={provide:st,useExisting:(0,o.Gpc)(()=>zn)},Bn=(()=>Promise.resolve(null))();let zn=(()=>{class ne extends st{constructor(F,Ve){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new Zt({},$(F),re(Ve))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(F){Bn.then(()=>{const Ve=this._findContainer(F.path);F.control=Ve.registerControl(F.name,F.control),Rt(F.control,F),F.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(F)})}getControl(F){return this.form.get(F.path)}removeControl(F){Bn.then(()=>{const Ve=this._findContainer(F.path);Ve&&Ve.removeControl(F.name),this._directives.delete(F)})}addFormGroup(F){Bn.then(()=>{const Ve=this._findContainer(F.path),Ct=new Zt({});Dt(Ct,F),Ve.registerControl(F.name,Ct),Ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(F){Bn.then(()=>{const Ve=this._findContainer(F.path);Ve&&Ve.removeControl(F.name)})}getFormGroup(F){return this.form.get(F.path)}updateModel(F,Ve){Bn.then(()=>{this.form.get(F.path).setValue(Ve)})}setValue(F){this.control.setValue(F)}onSubmit(F){return this.submitted=!0,Mn(this.form,this._directives),this.ngSubmit.emit(F),!1}onReset(){this.resetForm()}resetForm(F){this.form.reset(F),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(F){return F.pop(),F.length?this.form.get(F):this.form}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("submit",function(Vt){return Ve.onSubmit(Vt)})("reset",function(){return Ve.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Jn]),o.qOj]}),ne})();function Vn(ne,k){const F=ne.indexOf(k);F>-1&&ne.splice(F,1)}function qn(ne){return"object"==typeof ne&&null!==ne&&2===Object.keys(ne).length&&"value"in ne&&"disabled"in ne}const xn=class extends St{constructor(k=null,F,Ve){super(be(F),Ae(Ve,F)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(F),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ct(F)&&(F.nonNullable||F.initialValueIsDefault)&&(this.defaultValue=qn(k)?k.value:k)}setValue(k,F={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==F.emitModelToViewChange&&this._onChange.forEach(Ve=>Ve(this.value,!1!==F.emitViewToModelChange)),this.updateValueAndValidity(F)}patchValue(k,F={}){this.setValue(k,F)}reset(k=this.defaultValue,F={}){this._applyFormState(k),this.markAsPristine(F),this.markAsUntouched(F),this.setValue(this.value,F),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){Vn(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){Vn(this._onDisabledChange,k)}_forEachChild(k){}_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(k){qn(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}},ti=xn,pr={provide:Ge,useExisting:(0,o.Gpc)(()=>qi)},Oi=(()=>Promise.resolve(null))();let qi=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt,In){super(),this._changeDetectorRef=In,this.control=new xn,this._registered=!1,this.update=new o.vpe,this._parent=F,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=$n(0,Vt)}ngOnChanges(F){if(this._checkForErrors(),!this._registered||"name"in F){if(this._registered&&(this._checkName(),this.formDirective)){const Ve=F.name.previousValue;this.formDirective.removeControl({name:Ve,path:this._getPath(Ve)})}this._setUpControl()}"isDisabled"in F&&this._updateDisabled(F),Jt(F,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(F){this.viewModel=F,this.update.emit(F)}_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(){Rt(this.control,this),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(F){Oi.then(()=>{this.control.setValue(F,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(F){const Ve=F.isDisabled.currentValue,Ct=0!==Ve&&(0,o.D6c)(Ve);Oi.then(()=>{Ct&&!this.control.disabled?this.control.disable():!Ct&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(F){return this._parent?en(F,this._parent):[F]}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,9),o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(o.sBO,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([pr]),o.qOj,o.TTD]}),ne})(),er=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275dir=o.lG2({type:ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ne})();const Li={provide:L,useExisting:(0,o.Gpc)(()=>tr),multi:!0};let tr=(()=>{class ne extends w{writeValue(F){this.setProperty("value",F??"")}registerOnChange(F){this.onChange=Ve=>{F(""==Ve?null:parseFloat(Ve))}}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("input",function(Vt){return Ve.onChange(Vt.target.value)})("blur",function(){return Ve.onTouched()})},features:[o._Bn([Li]),o.qOj]}),ne})(),Kr=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({}),ne})();const mr=new o.OlP("NgModelWithFormControlWarning"),_r={provide:Ge,useExisting:(0,o.Gpc)(()=>ir)};let ir=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt){super(),this._ngModelWarningConfig=Vt,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(F),this._setAsyncValidators(Ve),this.valueAccessor=$n(0,Ct)}set isDisabled(F){}ngOnChanges(F){if(this._isControlChanged(F)){const Ve=F.form.previousValue;Ve&&Ht(Ve,this,!1),Rt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}Jt(F,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ht(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(F){this.viewModel=F,this.update.emit(F)}_isControlChanged(F){return F.hasOwnProperty("form")}}return ne._ngModelWarningSentOnce=!1,ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(mr,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([_r]),o.qOj,o.TTD]}),ne})();const ho={provide:st,useExisting:(0,o.Gpc)(()=>rr)};let rr=(()=>{class ne extends st{constructor(F,Ve){super(),this.validators=F,this.asyncValidators=Ve,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(F),this._setAsyncValidators(Ve)}ngOnChanges(F){this._checkFormPresent(),F.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(O(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(F){const Ve=this.form.get(F.path);return Rt(Ve,F),Ve.updateValueAndValidity({emitEvent:!1}),this.directives.push(F),Ve}getControl(F){return this.form.get(F.path)}removeControl(F){Ht(F.control||null,F,!1),function Cn(ne,k){const F=ne.indexOf(k);F>-1&&ne.splice(F,1)}(this.directives,F)}addFormGroup(F){this._setUpFormContainer(F)}removeFormGroup(F){this._cleanUpFormContainer(F)}getFormGroup(F){return this.form.get(F.path)}addFormArray(F){this._setUpFormContainer(F)}removeFormArray(F){this._cleanUpFormContainer(F)}getFormArray(F){return this.form.get(F.path)}updateModel(F,Ve){this.form.get(F.path).setValue(Ve)}onSubmit(F){return this.submitted=!0,Mn(this.form,this.directives),this.ngSubmit.emit(F),!1}onReset(){this.resetForm()}resetForm(F){this.form.reset(F),this.submitted=!1}_updateDomValue(){this.directives.forEach(F=>{const Ve=F.control,Ct=this.form.get(F.path);Ve!==Ct&&(Ht(Ve||null,F),(ne=>ne instanceof xn)(Ct)&&(Rt(Ct,F),F.control=Ct))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(F){const Ve=this.form.get(F.path);Dt(Ve,F),Ve.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(F){if(this.form){const Ve=this.form.get(F.path);Ve&&function Lt(ne,k){return O(ne,k)}(Ve,F)&&Ve.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){I(this.form,this),this._oldForm&&O(this._oldForm,this)}_checkFormPresent(){}}return ne.\u0275fac=function(F){return new(F||ne)(o.Y36(x,10),o.Y36(te,10))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formGroup",""]],hostBindings:function(F,Ve){1&F&&o.NdJ("submit",function(Vt){return Ve.onSubmit(Vt)})("reset",function(){return Ve.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ho]),o.qOj,o.TTD]}),ne})();const gi={provide:Ge,useExisting:(0,o.Gpc)(()=>Ui)};let Ui=(()=>{class ne extends Ge{constructor(F,Ve,Ct,Vt,In){super(),this._ngModelWarningConfig=In,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=F,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=$n(0,Vt)}set isDisabled(F){}ngOnChanges(F){this._added||this._setUpControl(),Jt(F,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(F){this.viewModel=F,this.update.emit(F)}get path(){return en(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return ne._ngModelWarningSentOnce=!1,ne.\u0275fac=function(F){return new(F||ne)(o.Y36(st,13),o.Y36(x,10),o.Y36(te,10),o.Y36(L,10),o.Y36(mr,8))},ne.\u0275dir=o.lG2({type:ne,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([gi]),o.qOj,o.TTD]}),ne})();function Qn(ne){return"number"==typeof ne?ne:parseFloat(ne)}let Ni=(()=>{class ne{constructor(){this._validator=Y}ngOnChanges(F){if(this.inputName in F){const Ve=this.normalizeInput(F[this.inputName].currentValue);this._enabled=this.enabled(Ve),this._validator=this._enabled?this.createValidator(Ve):Y,this._onChange&&this._onChange()}}validate(F){return this._validator(F)}registerOnValidatorChange(F){this._onChange=F}enabled(F){return null!=F}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275dir=o.lG2({type:ne,features:[o.TTD]}),ne})();const mo={provide:x,useExisting:(0,o.Gpc)(()=>Cr),multi:!0};let Cr=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=F=>Qn(F),this.createValidator=F=>Z(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("max",Ve._enabled?Ve.max:null)},inputs:{max:"max"},features:[o._Bn([mo]),o.qOj]}),ne})();const No={provide:x,useExisting:(0,o.Gpc)(()=>si),multi:!0};let si=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=F=>Qn(F),this.createValidator=F=>ue(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("min",Ve._enabled?Ve.min:null)},inputs:{min:"min"},features:[o._Bn([No]),o.qOj]}),ne})();const Bo={provide:x,useExisting:(0,o.Gpc)(()=>$i),multi:!0},gn={provide:x,useExisting:(0,o.Gpc)(()=>zi),multi:!0};let $i=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=F=>Me}enabled(F){return F}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("required",Ve._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Bo]),o.qOj]}),ne})(),zi=(()=>{class ne extends $i{constructor(){super(...arguments),this.createValidator=F=>Se}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("required",Ve._enabled?"":null)},features:[o._Bn([gn]),o.qOj]}),ne})();const ze={provide:x,useExisting:(0,o.Gpc)(()=>gt),multi:!0};let gt=(()=>{class ne extends Ni{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=F=>function Dr(ne){return"number"==typeof ne?ne:parseInt(ne,10)}(F),this.createValidator=F=>De(F)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275dir=o.lG2({type:ne,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(F,Ve){2&F&&o.uIk("maxlength",Ve._enabled?Ve.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([ze]),o.qOj]}),ne})(),yn=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[Kr]}),ne})(),un=(()=>{class ne{}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[yn]}),ne})(),jn=(()=>{class ne{static withConfig(F){return{ngModule:ne,providers:[{provide:mr,useValue:F.warnOnNgModelWithFormControl}]}}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({imports:[yn]}),ne})();class Dn extends St{constructor(k,F,Ve){super(be(F),Ae(Ve,F)),this.controls=k,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,F={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}insert(k,F,Ve={}){this.controls.splice(k,0,F),this._registerControl(F),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}removeAt(k,F={}){let Ve=this._adjustIndex(k);Ve<0&&(Ve=0),this.controls[Ve]&&this.controls[Ve]._registerOnCollectionChange(()=>{}),this.controls.splice(Ve,1),this.updateValueAndValidity({emitEvent:F.emitEvent})}setControl(k,F,Ve={}){let Ct=this._adjustIndex(k);Ct<0&&(Ct=0),this.controls[Ct]&&this.controls[Ct]._registerOnCollectionChange(()=>{}),this.controls.splice(Ct,1),F&&(this.controls.splice(Ct,0,F),this._registerControl(F)),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,F={}){Mt(this,0,k),k.forEach((Ve,Ct)=>{mt(this,!1,Ct),this.at(Ct).setValue(Ve,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(k,F={}){null!=k&&(k.forEach((Ve,Ct)=>{this.at(Ct)&&this.at(Ct).patchValue(Ve,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(k=[],F={}){this._forEachChild((Ve,Ct)=>{Ve.reset(k[Ct],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(F=>F._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((F,Ve)=>!!Ve._syncPendingControls()||F,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((F,Ve)=>{k(F,Ve)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(F=>F.enabled&&k(F))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}function bi(ne){return!!ne&&(void 0!==ne.asyncValidators||void 0!==ne.validators||void 0!==ne.updateOn)}let Bi=(()=>{class ne{constructor(){this.useNonNullable=!1}get nonNullable(){const F=new ne;return F.useNonNullable=!0,F}group(F,Ve=null){const Ct=this._reduceControls(F);let Wn,Vt=null,In=null;return null!==Ve&&(bi(Ve)?(Vt=null!=Ve.validators?Ve.validators:null,In=null!=Ve.asyncValidators?Ve.asyncValidators:null,Wn=null!=Ve.updateOn?Ve.updateOn:void 0):(Vt=null!=Ve.validator?Ve.validator:null,In=null!=Ve.asyncValidator?Ve.asyncValidator:null)),new Zt(Ct,{asyncValidators:In,updateOn:Wn,validators:Vt})}control(F,Ve,Ct){let Vt={};return this.useNonNullable?(bi(Ve)?Vt=Ve:(Vt.validators=Ve,Vt.asyncValidators=Ct),new xn(F,{...Vt,nonNullable:!0})):new xn(F,Ve,Ct)}array(F,Ve,Ct){const Vt=F.map(In=>this._createControl(In));return new Dn(Vt,Ve,Ct)}_reduceControls(F){const Ve={};return Object.keys(F).forEach(Ct=>{Ve[Ct]=this._createControl(F[Ct])}),Ve}_createControl(F){return F instanceof xn||F instanceof St?F:Array.isArray(F)?this.control(F[0],F.length>1?F[1]:null,F.length>2?F[2]:null):this.control(F)}}return ne.\u0275fac=function(F){return new(F||ne)},ne.\u0275prov=o.Yz7({token:ne,factory:ne.\u0275fac,providedIn:jn}),ne})(),Gi=(()=>{class ne extends Bi{group(F,Ve=null){return super.group(F,Ve)}control(F,Ve,Ct){return super.control(F,Ve,Ct)}array(F,Ve,Ct){return super.array(F,Ve,Ct)}}return ne.\u0275fac=function(){let k;return function(Ve){return(k||(k=o.n5z(ne)))(Ve||ne)}}(),ne.\u0275prov=o.Yz7({token:ne,factory:ne.\u0275fac,providedIn:jn}),ne})()},5719:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>A,k:()=>L});var o=s(4537),r=s(1379),h=s(8954),_=s(4929);let f=0;const d=(0,r.Id)(class{}),w="mat-badge-content";let L=(()=>{class g extends d{constructor(m,b,S,v,H){super(),this._ngZone=m,this._elementRef=b,this._ariaDescriber=S,this._renderer=v,this._animationMode=H,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=f++,this._isInitialized=!1}get color(){return this._color}set color(m){this._setColor(m),this._color=m}get overlap(){return this._overlap}set overlap(m){this._overlap=(0,_.Ig)(m)}get content(){return this._content}set content(m){this._updateRenderedContent(m)}get description(){return this._description}set description(m){this._updateHostAriaDescription(m)}get hidden(){return this._hidden}set hidden(m){this._hidden=(0,_.Ig)(m)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const m=this._renderer.createElement("span"),b="mat-badge-active";return m.setAttribute("id",`mat-badge-content-${this._id}`),m.setAttribute("aria-hidden","true"),m.classList.add(w),"NoopAnimations"===this._animationMode&&m.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(m),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{m.classList.add(b)})}):m.classList.add(b),m}_updateRenderedContent(m){const b=`${m??""}`.trim();this._isInitialized&&b&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=b),this._content=b}_updateHostAriaDescription(m){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),m&&this._ariaDescriber.describe(this._elementRef.nativeElement,m),this._description=m}_setColor(m){const b=this._elementRef.nativeElement.classList;b.remove(`mat-badge-${this._color}`),m&&b.add(`mat-badge-${m}`)}_clearExistingBadges(){const m=this._elementRef.nativeElement.querySelectorAll(`:scope > .${w}`);for(const b of Array.from(m))b!==this._badgeElement&&b.remove()}}return g.\u0275fac=function(m){return new(m||g)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(h.$s),o.Y36(o.Qsj),o.Y36(o.QbO,8))},g.\u0275dir=o.lG2({type:g,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(m,b){2&m&&o.ekj("mat-badge-overlap",b.overlap)("mat-badge-above",b.isAbove())("mat-badge-below",!b.isAbove())("mat-badge-before",!b.isAfter())("mat-badge-after",b.isAfter())("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[o.qOj]}),g})(),A=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[h.rt,r.BQ,r.BQ]}),g})()},108:(Ue,J,s)=>{"use strict";s.d(J,{A9:()=>S,Yi:()=>H,vV:()=>x});var o=s(8954),r=s(4929),h=s(5834),_=s(4537),f=s(92),d=s(1379);const w=["button"],L=["*"],A=new _.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),g=new _.OlP("MatButtonToggleGroup"),B={provide:f.JU,useExisting:(0,_.Gpc)(()=>S),multi:!0};let m=0;class b{constructor(Ee,T){this.source=Ee,this.value=T}}let S=(()=>{class te{constructor(T,ue){this._changeDetector=T,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+m++,this.valueChange=new _.vpe,this.change=new _.vpe,this.appearance=ue&&ue.appearance?ue.appearance:"standard"}get name(){return this._name}set name(T){this._name=T,this._buttonToggles&&this._buttonToggles.forEach(ue=>{ue.name=this._name,ue._markForCheck()})}get vertical(){return this._vertical}set vertical(T){this._vertical=(0,r.Ig)(T)}get value(){const T=this._selectionModel?this._selectionModel.selected:[];return this.multiple?T.map(ue=>ue.value):T[0]?T[0].value:void 0}set value(T){this._setSelectionByValue(T),this.valueChange.emit(this.value)}get selected(){const T=this._selectionModel?this._selectionModel.selected:[];return this.multiple?T:T[0]||null}get multiple(){return this._multiple}set multiple(T){this._multiple=(0,r.Ig)(T)}get disabled(){return this._disabled}set disabled(T){this._disabled=(0,r.Ig)(T),this._buttonToggles&&this._buttonToggles.forEach(ue=>ue._markForCheck())}ngOnInit(){this._selectionModel=new h.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(T=>T.checked))}writeValue(T){this.value=T,this._changeDetector.markForCheck()}registerOnChange(T){this._controlValueAccessorChangeFn=T}registerOnTouched(T){this._onTouched=T}setDisabledState(T){this.disabled=T}_emitChangeEvent(){const T=this.selected,ue=Array.isArray(T)?T[T.length-1]:T,Z=new b(ue,this.value);this._controlValueAccessorChangeFn(Z.value),this.change.emit(Z)}_syncButtonToggle(T,ue,Z=!1,Me=!1){!this.multiple&&this.selected&&!T.checked&&(this.selected.checked=!1),this._selectionModel?ue?this._selectionModel.select(T):this._selectionModel.deselect(T):Me=!0,Me?Promise.resolve().then(()=>this._updateModelValue(Z)):this._updateModelValue(Z)}_isSelected(T){return this._selectionModel&&this._selectionModel.isSelected(T)}_isPrechecked(T){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(ue=>null!=T.value&&ue===T.value):T.value===this._rawValue)}_setSelectionByValue(T){this._rawValue=T,this._buttonToggles&&(this.multiple&&T?(Array.isArray(T),this._clearSelection(),T.forEach(ue=>this._selectValue(ue))):(this._clearSelection(),this._selectValue(T)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(T=>T.checked=!1)}_selectValue(T){const ue=this._buttonToggles.find(Z=>null!=Z.value&&Z.value===T);ue&&(ue.checked=!0,this._selectionModel.select(ue))}_updateModelValue(T){T&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return te.\u0275fac=function(T){return new(T||te)(_.Y36(_.sBO),_.Y36(A,8))},te.\u0275dir=_.lG2({type:te,selectors:[["mat-button-toggle-group"]],contentQueries:function(T,ue,Z){if(1&T&&_.Suo(Z,H,5),2&T){let Me;_.iGM(Me=_.CRH())&&(ue._buttonToggles=Me)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(T,ue){2&T&&(_.uIk("aria-disabled",ue.disabled),_.ekj("mat-button-toggle-vertical",ue.vertical)("mat-button-toggle-group-appearance-standard","standard"===ue.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[_._Bn([B,{provide:g,useExisting:te}])]}),te})();const v=(0,d.Kr)(class{});let H=(()=>{class te extends v{constructor(T,ue,Z,Me,Se,ve){super(),this._changeDetectorRef=ue,this._elementRef=Z,this._focusMonitor=Me,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new _.vpe;const ye=Number(Se);this.tabIndex=ye||0===ye?ye:null,this.buttonToggleGroup=T,this.appearance=ve&&ve.appearance?ve.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(T){this._appearance=T}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(T){const ue=(0,r.Ig)(T);ue!==this._checked&&(this._checked=ue,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(T){this._disabled=(0,r.Ig)(T)}ngOnInit(){const T=this.buttonToggleGroup;this._isSingleSelector=T&&!T.multiple,this.id=this.id||"mat-button-toggle-"+m++,this._isSingleSelector&&(this.name=T.name),T&&(T._isPrechecked(this)?this.checked=!0:T._isSelected(this)!==this._checked&&T._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const T=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),T&&T._isSelected(this)&&T._syncButtonToggle(this,!1,!1,!0)}focus(T){this._buttonElement.nativeElement.focus(T)}_onButtonClick(){const T=!!this._isSingleSelector||!this._checked;T!==this._checked&&(this._checked=T,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new b(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return te.\u0275fac=function(T){return new(T||te)(_.Y36(g,8),_.Y36(_.sBO),_.Y36(_.SBq),_.Y36(o.tE),_.$8M("tabindex"),_.Y36(A,8))},te.\u0275cmp=_.Xpm({type:te,selectors:[["mat-button-toggle"]],viewQuery:function(T,ue){if(1&T&&_.Gf(w,5),2&T){let Z;_.iGM(Z=_.CRH())&&(ue._buttonElement=Z.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(T,ue){1&T&&_.NdJ("focus",function(){return ue.focus()}),2&T&&(_.uIk("aria-label",null)("aria-labelledby",null)("id",ue.id)("name",null),_.ekj("mat-button-toggle-standalone",!ue.buttonToggleGroup)("mat-button-toggle-checked",ue.checked)("mat-button-toggle-disabled",ue.disabled)("mat-button-toggle-appearance-standard","standard"===ue.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:[_.qOj],ngContentSelectors:L,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,ue){if(1&T&&(_.F$t(),_.TgZ(0,"button",0,1),_.NdJ("click",function(){return ue._onButtonClick()}),_.TgZ(2,"span",2),_.Hsn(3),_.qZA()(),_._UZ(4,"span",3)(5,"span",4)),2&T){const Z=_.MAs(1);_.Q6J("id",ue.buttonId)("disabled",ue.disabled||null),_.uIk("tabindex",ue.disabled?-1:ue.tabIndex)("aria-pressed",ue.checked)("name",ue.name||null)("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby),_.xp6(5),_.Q6J("matRippleTrigger",Z)("matRippleDisabled",ue.disableRipple||ue.disabled)}},dependencies:[d.wG],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}.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;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}),te})(),x=(()=>{class te{}return te.\u0275fac=function(T){return new(T||te)},te.\u0275mod=_.oAB({type:te}),te.\u0275inj=_.cJS({imports:[d.BQ,d.si,d.BQ]}),te})()},9638:(Ue,J,s)=>{"use strict";s.d(J,{lW:()=>g,ot:()=>m,zs:()=>B});var o=s(4537),r=s(1379),h=s(8954);const _=["mat-button",""],f=["*"],L=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],A=(0,r.pj)((0,r.Id)((0,r.Kr)(class{constructor(b){this._elementRef=b}})));let g=(()=>{class b extends A{constructor(v,H,x){super(v),this._focusMonitor=H,this._animationMode=x,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const te of L)this._hasHostAttributes(te)&&this._getHostElement().classList.add(te);v.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(v,H){v?this._focusMonitor.focusVia(this._getHostElement(),v,H):this._getHostElement().focus(H)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...v){return v.some(H=>this._getHostElement().hasAttribute(H))}}return b.\u0275fac=function(v){return new(v||b)(o.Y36(o.SBq),o.Y36(h.tE),o.Y36(o.QbO,8))},b.\u0275cmp=o.Xpm({type:b,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(v,H){if(1&v&&o.Gf(r.wG,5),2&v){let x;o.iGM(x=o.CRH())&&(H.ripple=x.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(v,H){2&v&&(o.uIk("disabled",H.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:_,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(v,H){1&v&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1)(3,"span",2)),2&v&&(o.xp6(2),o.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),o.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._getHostElement()))},dependencies:[r.wG],styles:[".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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2,changeDetection:0}),b})(),B=(()=>{class b extends g{constructor(v,H,x,te){super(H,v,x),this._ngZone=te,this._haltDisabledEvents=Ee=>{this.disabled&&(Ee.preventDefault(),Ee.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return b.\u0275fac=function(v){return new(v||b)(o.Y36(h.tE),o.Y36(o.SBq),o.Y36(o.QbO,8),o.Y36(o.R0b,8))},b.\u0275cmp=o.Xpm({type:b,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(v,H){2&v&&(o.uIk("tabindex",H.disabled?-1:H.tabIndex)("disabled",H.disabled||null)("aria-disabled",H.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-button-disabled",H.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:_,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(v,H){1&v&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1)(3,"span",2)),2&v&&(o.xp6(2),o.ekj("mat-button-ripple-round",H.isRoundButton||H.isIconButton),o.Q6J("matRippleDisabled",H._isRippleDisabled())("matRippleCentered",H.isIconButton)("matRippleTrigger",H._getHostElement()))},dependencies:[r.wG],styles:[".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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2,changeDetection:0}),b})(),m=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=o.oAB({type:b}),b.\u0275inj=o.cJS({imports:[r.si,r.BQ,r.BQ]}),b})()},7084:(Ue,J,s)=>{"use strict";s.d(J,{HS:()=>ye,Hi:()=>lt,oH:()=>ke,qH:()=>De,qn:()=>X});var o=s(5436),r=s(4537),h=s(1379),_=s(4929),f=s(6321),d=s(8692),w=s(8023),L=s(1860),A=s(5598),g=s(3528),B=s(1927),m=s(8954),b=s(5875),S=s(5834),v=s(92),H=s(8659);const x=["*"],Ee=new r.OlP("MatChipRemove"),T=new r.OlP("MatChipAvatar"),ue=new r.OlP("MatChipTrailingIcon");class Z{constructor(Re){this._elementRef=Re}}const Me=(0,h.sb)((0,h.pj)((0,h.Kr)(Z),"primary"),-1);let ye=(()=>{class $ extends Me{constructor(re,xe,Ke,me,P,se,Ce,He){super(re),this._ngZone=xe,this._changeDetectorRef=P,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new w.x,this._onBlur=new w.x,this.selectionChange=new r.vpe,this.destroyed=new r.vpe,this.removed=new r.vpe,this._addHostClassName(),this._chipRippleTarget=se.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new h.IR(this,xe,this._chipRippleTarget,Ke),this._chipRipple.setupTriggerEvents(re),this.rippleConfig=me||{},this._animationsDisabled="NoopAnimations"===Ce,this.tabIndex=null!=He&&parseInt(He)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(re){const xe=(0,_.Ig)(re);xe!==this._selected&&(this._selected=xe,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(re){this._value=re}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(re){this._selectable=(0,_.Ig)(re)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(re){this._disabled=(0,_.Ig)(re)}get removable(){return this._removable}set removable(re){this._removable=(0,_.Ig)(re)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const re="mat-basic-chip",xe=this._elementRef.nativeElement;xe.hasAttribute(re)||xe.tagName.toLowerCase()===re?xe.classList.add(re):xe.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(re=!1){return this._selected=!this.selected,this._dispatchSelectionChange(re),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(re){this.disabled&&re.preventDefault()}_handleKeydown(re){if(!this.disabled)switch(re.keyCode){case o.yY:case o.ZH:this.remove(),re.preventDefault();break;case o.L_:this.selectable&&this.toggleSelected(!0),re.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(re=!1){this.selectionChange.emit({source:this,isUserInput:re,selected:this._selected})}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(f.t4),r.Y36(h.Y2,8),r.Y36(r.sBO),r.Y36(d.K0),r.Y36(r.QbO,8),r.$8M("tabindex"))},$.\u0275dir=r.lG2({type:$,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(re,xe,Ke){if(1&re&&(r.Suo(Ke,T,5),r.Suo(Ke,ue,5),r.Suo(Ke,Ee,5)),2&re){let me;r.iGM(me=r.CRH())&&(xe.avatar=me.first),r.iGM(me=r.CRH())&&(xe.trailingIcon=me.first),r.iGM(me=r.CRH())&&(xe.removeIcon=me.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(re,xe){1&re&&r.NdJ("click",function(me){return xe._handleClick(me)})("keydown",function(me){return xe._handleKeydown(me)})("focus",function(){return xe.focus()})("blur",function(){return xe._blur()}),2&re&&(r.uIk("tabindex",xe.disabled?null:xe.tabIndex)("role",xe.role)("disabled",xe.disabled||null)("aria-disabled",xe.disabled.toString())("aria-selected",xe.ariaSelected),r.ekj("mat-chip-selected",xe.selected)("mat-chip-with-avatar",xe.avatar)("mat-chip-with-trailing-icon",xe.trailingIcon||xe.removeIcon)("mat-chip-disabled",xe.disabled)("_mat-animation-noopable",xe._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[r.qOj]}),$})(),De=(()=>{class ${constructor(re,xe){this._parentChip=re,"BUTTON"===xe.nativeElement.nodeName&&xe.nativeElement.setAttribute("type","button")}_handleClick(re){const xe=this._parentChip;xe.removable&&!xe.disabled&&xe.remove(),re.stopPropagation(),re.preventDefault()}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(ye),r.Y36(r.SBq))},$.\u0275dir=r.lG2({type:$,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(re,xe){1&re&&r.NdJ("click",function(me){return xe._handleClick(me)})},features:[r._Bn([{provide:Ee,useExisting:$}])]}),$})();const z=new r.OlP("mat-chips-default-options"),Y=(0,h.FD)(class{constructor($,Re,re,xe){this._defaultErrorStateMatcher=$,this._parentForm=Re,this._parentFormGroup=re,this.ngControl=xe,this.stateChanges=new w.x}});let V=0;class j{constructor(Re,re){this.source=Re,this.value=re}}let X=(()=>{class $ extends Y{constructor(re,xe,Ke,me,P,se,Ce){super(se,me,P,Ce),this._elementRef=re,this._changeDetectorRef=xe,this._dir=Ke,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new w.x,this._uid="mat-chip-list-"+V++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(He,Qe)=>He===Qe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(re){this._explicitRole=re}get multiple(){return this._multiple}set multiple(re){this._multiple=(0,_.Ig)(re),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(re){this._compareWith=re,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(re){this.writeValue(re),this._value=re}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(v.kI.required)??!1}set required(re){this._required=(0,_.Ig)(re),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(re){this._placeholder=re,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(re){this._disabled=(0,_.Ig)(re),this._syncChipsState()}get selectable(){return this._selectable}set selectable(re){this._selectable=(0,_.Ig)(re),this.chips&&this.chips.forEach(xe=>xe.chipListSelectable=this._selectable)}set tabIndex(re){this._userTabIndex=re,this._tabIndex=re}get chipSelectionChanges(){return(0,L.T)(...this.chips.map(re=>re.selectionChange))}get chipFocusChanges(){return(0,L.T)(...this.chips.map(re=>re._onFocus))}get chipBlurChanges(){return(0,L.T)(...this.chips.map(re=>re._onBlur))}get chipRemoveChanges(){return(0,L.T)(...this.chips.map(re=>re.destroyed))}ngAfterContentInit(){this._keyManager=new m.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,g.R)(this._destroyed)).subscribe(re=>this._keyManager.withHorizontalOrientation(re)),this._keyManager.tabOut.pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,B.O)(null),(0,g.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new S.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(re){this._chipInput=re,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",re.id)}setDescribedByIds(re){re.length?this._elementRef.nativeElement.setAttribute("aria-describedby",re.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(re){this.chips&&this._setSelectionByValue(re,!1)}registerOnChange(re){this._onChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re,this.stateChanges.next()}onContainerClick(re){this._originatesFromChip(re)||this.focus()}focus(re){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(re),this.stateChanges.next()))}_focusInput(re){this._chipInput&&this._chipInput.focus(re)}_keydown(re){const xe=re.target;xe&&xe.classList.contains("mat-chip")&&(this._keyManager.onKeydown(re),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const re=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(re)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(re){return re>=0&&reKe.deselect()),Array.isArray(re))re.forEach(Ke=>this._selectValue(Ke,xe)),this._sortValues();else{const Ke=this._selectValue(re,xe);Ke&&xe&&this._keyManager.setActiveItem(Ke)}}_selectValue(re,xe=!0){const Ke=this.chips.find(me=>null!=me.value&&this._compareWith(me.value,re));return Ke&&(xe?Ke.selectViaInteraction():Ke.select(),this._selectionModel.select(Ke)),Ke}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(re){this._selectionModel.clear(),this.chips.forEach(xe=>{xe!==re&&xe.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(re=>{re.selected&&this._selectionModel.select(re)}),this.stateChanges.next())}_propagateChanges(re){let xe=null;xe=Array.isArray(this.selected)?this.selected.map(Ke=>Ke.value):this.selected?this.selected.value:re,this._value=xe,this.change.emit(new j(this,xe)),this.valueChange.emit(xe),this._onChange(xe),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){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)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(re=>{re.source.selected?this._selectionModel.select(re.source):this._selectionModel.deselect(re.source),this.multiple||this.chips.forEach(xe=>{!this._selectionModel.isSelected(xe)&&xe.selected&&xe.deselect()}),re.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(re=>{let xe=this.chips.toArray().indexOf(re.chip);this._isValidIndex(xe)&&this._keyManager.updateActiveItem(xe),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(re=>{const xe=re.chip,Ke=this.chips.toArray().indexOf(re.chip);this._isValidIndex(Ke)&&xe._hasFocus&&(this._lastDestroyedChipIndex=Ke)})}_originatesFromChip(re){let xe=re.target;for(;xe&&xe!==this._elementRef.nativeElement;){if(xe.classList.contains("mat-chip"))return!0;xe=xe.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(re=>re._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(re=>{re._chipListDisabled=this._disabled,re._chipListMultiple=this.multiple})}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(b.Is,8),r.Y36(v.F,8),r.Y36(v.sg,8),r.Y36(h.rD),r.Y36(v.a5,10))},$.\u0275cmp=r.Xpm({type:$,selectors:[["mat-chip-list"]],contentQueries:function(re,xe,Ke){if(1&re&&r.Suo(Ke,ye,5),2&re){let me;r.iGM(me=r.CRH())&&(xe.chips=me)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(re,xe){1&re&&r.NdJ("focus",function(){return xe.focus()})("blur",function(){return xe._blur()})("keydown",function(me){return xe._keydown(me)}),2&re&&(r.Ikx("id",xe._uid),r.uIk("tabindex",xe.disabled?null:xe._tabIndex)("aria-required",xe.role?xe.required:null)("aria-disabled",xe.disabled.toString())("aria-invalid",xe.errorState)("aria-multiselectable",xe.multiple)("role",xe.role)("aria-orientation",xe.ariaOrientation),r.ekj("mat-chip-list-disabled",xe.disabled)("mat-chip-list-invalid",xe.errorState)("mat-chip-list-required",xe.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:H.Eo,useExisting:$}]),r.qOj],ngContentSelectors:x,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(re,xe){1&re&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,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-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.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}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.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;transform:translateZ(0)}.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}'],encapsulation:2,changeDetection:0}),$})(),Ie=0,ke=(()=>{class ${constructor(re,xe){this._elementRef=re,this._defaultOptions=xe,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.vpe,this.placeholder="",this.id="mat-chip-list-input-"+Ie++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(re){re&&(this._chipList=re,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(re){this._addOnBlur=(0,_.Ig)(re)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(re){this._disabled=(0,_.Ig)(re)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(re){if(re){if(re.keyCode===o.Mf&&!(0,o.Vb)(re,"shiftKey")&&this._chipList._allowFocusEscape(),re.keyCode===o.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void re.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(re)}_keyup(re){!this._focusLastChipOnBackspace&&re.keyCode===o.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,re.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(re){!this.inputElement.value&&!!re&&this._chipList._keydown(re),(!re||this._isSeparatorKey(re))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),re?.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(re){this.inputElement.focus(re)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(re){return!(0,o.Vb)(re)&&new Set(this.separatorKeyCodes).has(re.keyCode)}}return $.\u0275fac=function(re){return new(re||$)(r.Y36(r.SBq),r.Y36(z))},$.\u0275dir=r.lG2({type:$,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(re,xe){1&re&&r.NdJ("keydown",function(me){return xe._keydown(me)})("keyup",function(me){return xe._keyup(me)})("blur",function(){return xe._blur()})("focus",function(){return xe._focus()})("input",function(){return xe._onInput()}),2&re&&(r.Ikx("id",xe.id),r.uIk("disabled",xe.disabled||null)("placeholder",xe.placeholder||null)("aria-invalid",xe._chipList&&xe._chipList.ngControl?xe._chipList.ngControl.invalid:null)("aria-required",xe._chipList&&xe._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.TTD]}),$})(),lt=(()=>{class ${}return $.\u0275fac=function(re){return new(re||$)},$.\u0275mod=r.oAB({type:$}),$.\u0275inj=r.cJS({providers:[h.rD,{provide:z,useValue:{separatorKeyCodes:[o.K5]}}],imports:[h.BQ]}),$})()},1379:(Ue,J,s)=>{"use strict";s.d(J,{yN:()=>te,mZ:()=>Ee,_A:()=>ke,rD:()=>P,sG:()=>tt,K7:()=>we,HF:()=>oe,Y2:()=>nt,BQ:()=>Z,X2:()=>se,uc:()=>Qe,XK:()=>Ke,ey:()=>de,Ng:()=>_e,rN:()=>Ye,nP:()=>U,us:()=>ie,wG:()=>ft,si:()=>G,IR:()=>Pt,CB:()=>K,jH:()=>le,pj:()=>De,Kr:()=>z,Id:()=>ye,FD:()=>V,dB:()=>j,sb:()=>Y,E0:()=>Ce});var o=s(4537),r=s(8954),h=s(5875),f=s(8692),d=s(6321),w=s(4929),L=s(818),A=s(8023),g=s(1927),B=s(5436);function S(ae,he){if(1&ae&&o._UZ(0,"mat-pseudo-checkbox",4),2&ae){const pe=o.oxw();o.Q6J("state",pe.selected?"checked":"unchecked")("disabled",pe.disabled)}}function v(ae,he){if(1&ae&&(o.TgZ(0,"span",5),o._uU(1),o.qZA()),2&ae){const pe=o.oxw();o.xp6(1),o.hij("(",pe.group.label,")")}}const H=["*"];let te=(()=>{class ae{}return ae.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ae.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ae.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ae.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ae})(),Ee=(()=>{class ae{}return ae.COMPLEX="375ms",ae.ENTERING="225ms",ae.EXITING="195ms",ae})();const ue=new o.OlP("mat-sanity-checks",{providedIn:"root",factory:function T(){return!0}});let Z=(()=>{class ae{constructor(pe,be,Oe){this._sanityChecks=be,this._document=Oe,this._hasDoneGlobalChecks=!1,pe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(pe){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[pe])}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.LFG(r.qm),o.LFG(ue,8),o.LFG(f.K0))},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[h.vT,h.vT]}),ae})();function ye(ae){return class extends ae{constructor(...he){super(...he),this._disabled=!1}get disabled(){return this._disabled}set disabled(he){this._disabled=(0,w.Ig)(he)}}}function De(ae,he){return class extends ae{constructor(...pe){super(...pe),this.defaultColor=he,this.color=he}get color(){return this._color}set color(pe){const be=pe||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}}}function z(ae){return class extends ae{constructor(...he){super(...he),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(he){this._disableRipple=(0,w.Ig)(he)}}}function Y(ae,he=0){return class extends ae{constructor(...pe){super(...pe),this._tabIndex=he,this.defaultTabIndex=he}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(pe){this._tabIndex=null!=pe?(0,w.su)(pe):this.defaultTabIndex}}}function V(ae){return class extends ae{constructor(...he){super(...he),this.errorState=!1}updateErrorState(){const he=this.errorState,Ae=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Ae!==he&&(this.errorState=Ae,this.stateChanges.next())}}}function j(ae){return class extends ae{constructor(...he){super(...he),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new L.y(pe=>{this._isInitialized?this._notifySubscriber(pe):this._pendingSubscribers.push(pe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(he){he.next(),he.complete()}}}const X=new o.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ie(){return(0,o.f3M)(o.soG)}});class ke{constructor(){this._localeChanges=new A.x,this.localeChanges=this._localeChanges}getValidDateOrNull(he){return this.isDateInstance(he)&&this.isValid(he)?he:null}deserialize(he){return null==he||this.isDateInstance(he)&&this.isValid(he)?he:this.invalid()}setLocale(he){this.locale=he,this._localeChanges.next()}compareDate(he,pe){return this.getYear(he)-this.getYear(pe)||this.getMonth(he)-this.getMonth(pe)||this.getDate(he)-this.getDate(pe)}sameDate(he,pe){if(he&&pe){let be=this.isValid(he),Oe=this.isValid(pe);return be&&Oe?!this.compareDate(he,pe):be==Oe}return he==pe}clampDate(he,pe,be){return pe&&this.compareDate(he,pe)<0?pe:be&&this.compareDate(he,be)>0?be:he}}const tt=new o.OlP("mat-date-formats"),lt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $(ae,he){const pe=Array(ae);for(let be=0;be{class ae extends ke{constructor(pe,be){super(),this.useUtcForDisplay=!1,super.setLocale(pe)}getYear(pe){return pe.getFullYear()}getMonth(pe){return pe.getMonth()}getDate(pe){return pe.getDate()}getDayOfWeek(pe){return pe.getDay()}getMonthNames(pe){const be=new Intl.DateTimeFormat(this.locale,{month:pe,timeZone:"utc"});return $(12,Oe=>this._format(be,new Date(2017,Oe,1)))}getDateNames(){const pe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $(31,be=>this._format(pe,new Date(2017,0,be+1)))}getDayOfWeekNames(pe){const be=new Intl.DateTimeFormat(this.locale,{weekday:pe,timeZone:"utc"});return $(7,Oe=>this._format(be,new Date(2017,0,Oe+1)))}getYearName(pe){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,pe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(pe){return this.getDate(this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe)+1,0))}clone(pe){return new Date(pe.getTime())}createDate(pe,be,Oe){let Ae=this._createDateWithOverflow(pe,be,Oe);return Ae.getMonth(),Ae}today(){return new Date}parse(pe){return"number"==typeof pe?new Date(pe):pe?new Date(Date.parse(pe)):null}format(pe,be){if(!this.isValid(pe))throw Error("NativeDateAdapter: Cannot format invalid date.");const Oe=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(Oe,pe)}addCalendarYears(pe,be){return this.addCalendarMonths(pe,12*be)}addCalendarMonths(pe,be){let Oe=this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe)+be,this.getDate(pe));return this.getMonth(Oe)!=((this.getMonth(pe)+be)%12+12)%12&&(Oe=this._createDateWithOverflow(this.getYear(Oe),this.getMonth(Oe),0)),Oe}addCalendarDays(pe,be){return this._createDateWithOverflow(this.getYear(pe),this.getMonth(pe),this.getDate(pe)+be)}toIso8601(pe){return[pe.getUTCFullYear(),this._2digit(pe.getUTCMonth()+1),this._2digit(pe.getUTCDate())].join("-")}deserialize(pe){if("string"==typeof pe){if(!pe)return null;if(lt.test(pe)){let be=new Date(pe);if(this.isValid(be))return be}}return super.deserialize(pe)}isDateInstance(pe){return pe instanceof Date}isValid(pe){return!isNaN(pe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(pe,be,Oe){const Ae=new Date;return Ae.setFullYear(pe,be,Oe),Ae.setHours(0,0,0,0),Ae}_2digit(pe){return("00"+pe).slice(-2)}_format(pe,be){const Oe=new Date;return Oe.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),Oe.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),pe.format(Oe)}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.LFG(X,8),o.LFG(d.t4))},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac}),ae})();const re={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 xe=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({providers:[{provide:ke,useClass:Re}]}),ae})(),Ke=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({providers:[{provide:tt,useValue:re}],imports:[xe]}),ae})(),P=(()=>{class ae{isErrorState(pe,be){return!!(pe&&pe.invalid&&(pe.touched||be&&be.submitted))}}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),se=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275dir=o.lG2({type:ae,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ae})();function Ce(ae,he,pe="mat"){ae.changes.pipe((0,g.O)(ae)).subscribe(({length:be})=>{He(he,`${pe}-2-line`,!1),He(he,`${pe}-3-line`,!1),He(he,`${pe}-multi-line`,!1),2===be||3===be?He(he,`${pe}-${be}-line`,!0):be>3&&He(he,`${pe}-multi-line`,!0)})}function He(ae,he,pe){ae.nativeElement.classList.toggle(he,pe)}let Qe=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z,Z]}),ae})();class st{constructor(he,pe,be,Oe=!1){this._renderer=he,this.element=pe,this.config=be,this._animationForciblyDisabledThroughCss=Oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ge={enterDuration:225,exitDuration:150},_t=(0,d.i$)({passive:!0}),xt=["mousedown","touchstart"],yt=["mouseup","mouseleave","touchend","touchcancel"];class Pt{constructor(he,pe,be,Oe){this._target=he,this._ngZone=pe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Oe.isBrowser&&(this._containerElement=(0,w.fI)(be))}fadeInRipple(he,pe,be={}){const Oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ae={...Ge,...be.animation};be.centered&&(he=Oe.left+Oe.width/2,pe=Oe.top+Oe.height/2);const Je=be.radius||function At(ae,he,pe){const be=Math.max(Math.abs(ae-pe.left),Math.abs(ae-pe.right)),Oe=Math.max(Math.abs(he-pe.top),Math.abs(he-pe.bottom));return Math.sqrt(be*be+Oe*Oe)}(he,pe,Oe),ct=he-Oe.left,mt=pe-Oe.top,Mt=Ae.enterDuration,St=document.createElement("div");St.classList.add("mat-ripple-element"),St.style.left=ct-Je+"px",St.style.top=mt-Je+"px",St.style.height=2*Je+"px",St.style.width=2*Je+"px",null!=be.color&&(St.style.backgroundColor=be.color),St.style.transitionDuration=`${Mt}ms`,this._containerElement.appendChild(St);const Zt=window.getComputedStyle(St),nn=Zt.transitionDuration,ln="none"===Zt.transitionProperty||"0s"===nn||"0s, 0s"===nn,Ut=new st(this,St,be,ln);St.style.transform="scale3d(1, 1, 1)",Ut.state=0,be.persistent||(this._mostRecentTransientRipple=Ut);let en=null;return!ln&&(Mt||Ae.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Rt=()=>this._finishRippleTransition(Ut),Ht=()=>this._destroyRipple(Ut);St.addEventListener("transitionend",Rt),St.addEventListener("transitioncancel",Ht),en={onTransitionEnd:Rt,onTransitionCancel:Ht}}),this._activeRipples.set(Ut,en),(ln||!Mt)&&this._finishRippleTransition(Ut),Ut}fadeOutRipple(he){if(2===he.state||3===he.state)return;const pe=he.element,be={...Ge,...he.config.animation};pe.style.transitionDuration=`${be.exitDuration}ms`,pe.style.opacity="0",he.state=2,(he._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(he)}fadeOutAll(){this._getActiveRipples().forEach(he=>he.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(he=>{he.config.persistent||he.fadeOut()})}setupTriggerEvents(he){const pe=(0,w.fI)(he);!pe||pe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=pe,this._registerEvents(xt))}handleEvent(he){"mousedown"===he.type?this._onMousedown(he):"touchstart"===he.type?this._onTouchStart(he):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(yt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(he){0===he.state?this._startFadeOutTransition(he):2===he.state&&this._destroyRipple(he)}_startFadeOutTransition(he){const pe=he===this._mostRecentTransientRipple,{persistent:be}=he.config;he.state=1,!be&&(!pe||!this._isPointerDown)&&he.fadeOut()}_destroyRipple(he){const pe=this._activeRipples.get(he)??null;this._activeRipples.delete(he),this._activeRipples.size||(this._containerRect=null),he===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),he.state=3,null!==pe&&(he.element.removeEventListener("transitionend",pe.onTransitionEnd),he.element.removeEventListener("transitioncancel",pe.onTransitionCancel)),he.element.remove()}_onMousedown(he){const pe=(0,r.X6)(he),be=this._lastTouchStartEvent&&Date.now(){!he.config.persistent&&(1===he.state||he.config.terminateOnPointerUp&&0===he.state)&&he.fadeOut()}))}_registerEvents(he){this._ngZone.runOutsideAngular(()=>{he.forEach(pe=>{this._triggerElement.addEventListener(pe,this,_t)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(xt.forEach(he=>{this._triggerElement.removeEventListener(he,this,_t)}),this._pointerUpEventsRegistered&&yt.forEach(he=>{this._triggerElement.removeEventListener(he,this,_t)}))}}const nt=new o.OlP("mat-ripple-global-options");let ft=(()=>{class ae{constructor(pe,be,Oe,Ae,Je){this._elementRef=pe,this._animationMode=Je,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ae||{},this._rippleRenderer=new Pt(this,be,pe,Oe)}get disabled(){return this._disabled}set disabled(pe){pe&&this.fadeOutAllNonPersistent(),this._disabled=pe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(pe){this._trigger=pe,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(pe,be=0,Oe){return"number"==typeof pe?this._rippleRenderer.fadeInRipple(pe,be,{...this.rippleConfig,...Oe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...pe})}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(d.t4),o.Y36(nt,8),o.Y36(o.QbO,8))},ae.\u0275dir=o.lG2({type:ae,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(pe,be){2&pe&&o.ekj("mat-ripple-unbounded",be.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"]}),ae})(),G=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z,Z]}),ae})(),U=(()=>{class ae{constructor(pe){this._animationMode=pe,this.state="unchecked",this.disabled=!1}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.QbO,8))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(pe,be){2&pe&&o.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(pe,be){},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: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{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}'],encapsulation:2,changeDetection:0}),ae})(),ie=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[Z]}),ae})();const oe=new o.OlP("MAT_OPTION_PARENT_COMPONENT"),we=new o.OlP("MatOptgroup");let We=0;class Ye{constructor(he,pe=!1){this.source=he,this.isUserInput=pe}}let et=(()=>{class ae{constructor(pe,be,Oe,Ae){this._element=pe,this._changeDetectorRef=be,this._parent=Oe,this.group=Ae,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+We++,this.onSelectionChange=new o.vpe,this._stateChanges=new A.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(pe){this._disabled=(0,w.Ig)(pe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().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(pe,be){const Oe=this._getHostElement();"function"==typeof Oe.focus&&Oe.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(pe){(pe.keyCode===B.K5||pe.keyCode===B.L_)&&!(0,B.Vb)(pe)&&(this._selectViaInteraction(),pe.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 pe=this.viewValue;pe!==this._mostRecentViewValue&&(this._mostRecentViewValue=pe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(pe=!1){this.onSelectionChange.emit(new Ye(this,pe))}}return ae.\u0275fac=function(pe){o.$Z()},ae.\u0275dir=o.lG2({type:ae,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ae})(),de=(()=>{class ae extends et{constructor(pe,be,Oe,Ae){super(pe,be,Oe,Ae)}}return ae.\u0275fac=function(pe){return new(pe||ae)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(oe,8),o.Y36(we,8))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(pe,be){1&pe&&o.NdJ("click",function(){return be._selectViaInteraction()})("keydown",function(Ae){return be._handleKeydown(Ae)}),2&pe&&(o.Ikx("id",be.id),o.uIk("tabindex",be._getTabIndex())("aria-selected",be._getAriaSelected())("aria-disabled",be.disabled.toString()),o.ekj("mat-selected",be.selected)("mat-option-multiple",be.multiple)("mat-active",be.active)("mat-option-disabled",be.disabled))},exportAs:["matOption"],features:[o.qOj],ngContentSelectors:H,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(pe,be){1&pe&&(o.F$t(),o.YNc(0,S,1,2,"mat-pseudo-checkbox",0),o.TgZ(1,"span",1),o.Hsn(2),o.qZA(),o.YNc(3,v,2,1,"span",2),o._UZ(4,"div",3)),2&pe&&(o.Q6J("ngIf",be.multiple),o.xp6(3),o.Q6J("ngIf",be.group&&be.group._inert),o.xp6(1),o.Q6J("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[ft,f.O5,U],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:rgba(0,0,0,0)}.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;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}"],encapsulation:2,changeDetection:0}),ae})();function K(ae,he,pe){if(pe.length){let be=he.toArray(),Oe=pe.toArray(),Ae=0;for(let Je=0;Jepe+be?Math.max(0,ae-be+he):pe}let _e=(()=>{class ae{}return ae.\u0275fac=function(pe){return new(pe||ae)},ae.\u0275mod=o.oAB({type:ae}),ae.\u0275inj=o.cJS({imports:[G,f.ez,Z,ie]}),ae})()},4536:(Ue,J,s)=>{"use strict";s.d(J,{WI:()=>xe,uw:()=>st,H8:()=>yt,ZT:()=>at,xY:()=>xt,Is:()=>At,so:()=>Re,uh:()=>_t});var o=s(8954),r=s(8232),h=s(6321),_=s(8632),f=s(8692),d=s(4537),w=s(5436),L=s(8023),A=s(3072),g=s(4945),B=s(5875),m=s(1927);function b(nt,ft){}class S{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 H=(()=>{class nt extends _.en{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(),this._elementRef=G,this._focusTrapFactory=U,this._config=oe,this._interactivityChecker=Te,this._ngZone=Xe,this._overlayRef=Ze,this._focusMonitor=we,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Be=>{this._portalOutlet.hasAttached();const We=this._portalOutlet.attachDomPortal(Be);return this._contentAttached(),We},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ie}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(G){this._portalOutlet.hasAttached();const U=this._portalOutlet.attachComponentPortal(G);return this._contentAttached(),U}attachTemplatePortal(G){this._portalOutlet.hasAttached();const U=this._portalOutlet.attachTemplatePortal(G);return this._contentAttached(),U}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(G,U){this._interactivityChecker.isFocusable(G)||(G.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ie=()=>{G.removeEventListener("blur",ie),G.removeEventListener("mousedown",ie),G.removeAttribute("tabindex")};G.addEventListener("blur",ie),G.addEventListener("mousedown",ie)})),G.focus(U)}_focusByCssSelector(G,U){let ie=this._elementRef.nativeElement.querySelector(G);ie&&this._forceFocus(ie,U)}_trapFocus(){const G=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||G.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(U=>{U||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 G=this._config.restoreFocus;let U=null;if("string"==typeof G?U=this._document.querySelector(G):"boolean"==typeof G?U=G?this._elementFocusedBeforeDialogWasOpened:null:G&&(U=G),this._config.restoreFocus&&U&&"function"==typeof U.focus){const ie=(0,h.ht)(),oe=this._elementRef.nativeElement;(!ie||ie===this._document.body||ie===oe||oe.contains(ie))&&(this._focusMonitor?(this._focusMonitor.focusVia(U,this._closeInteractionType),this._closeInteractionType=null):U.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const G=this._elementRef.nativeElement,U=(0,h.ht)();return G===U||G.contains(U)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,h.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(S),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["cdk-dialog-container"]],viewQuery:function(G,U){if(1&G&&d.Gf(_.Pl,7),2&G){let ie;d.iGM(ie=d.CRH())&&(U._portalOutlet=ie.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(G,U){2&G&&d.uIk("id",U._config.id||null)("role",U._config.role)("aria-modal",U._config.ariaModal)("aria-labelledby",U._config.ariaLabel?null:U._ariaLabelledBy)("aria-label",U._config.ariaLabel)("aria-describedby",U._config.ariaDescribedBy||null)},features:[d.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(G,U){1&G&&d.YNc(0,b,0,0,"ng-template",0)},dependencies:[_.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),nt})();class x{constructor(ft,G){this.overlayRef=ft,this.config=G,this.closed=new L.x,this.disableClose=G.disableClose,this.backdropClick=ft.backdropClick(),this.keydownEvents=ft.keydownEvents(),this.outsidePointerEvents=ft.outsidePointerEvents(),this.id=G.id,this.keydownEvents.subscribe(U=>{U.keyCode===w.hY&&!this.disableClose&&!(0,w.Vb)(U)&&(U.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(ft,G){if(this.containerInstance){const U=this.closed;this.containerInstance._closeInteractionType=G?.focusOrigin||"program",this.overlayRef.dispose(),U.next(ft),U.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ft="",G=""){return this.overlayRef.updateSize({width:ft,height:G}),this}addPanelClass(ft){return this.overlayRef.addPanelClass(ft),this}removePanelClass(ft){return this.overlayRef.removePanelClass(ft),this}}const te=new d.OlP("DialogScrollStrategy"),Ee=new d.OlP("DialogData"),T=new d.OlP("DefaultDialogConfig"),Z={provide:te,deps:[r.aV],useFactory:function ue(nt){return()=>nt.scrollStrategies.block()}};let Me=0,Se=(()=>{class nt{constructor(G,U,ie,oe,Te,Xe){this._overlay=G,this._injector=U,this._defaultOptions=ie,this._parentDialog=oe,this._overlayContainer=Te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L.x,this._afterOpenedAtThisLevel=new L.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.O)(void 0))),this._scrollStrategy=Xe}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(G,U){(U={...this._defaultOptions||new S,...U}).id=U.id||"cdk-dialog-"+Me++,U.id&&this.getDialogById(U.id);const oe=this._getOverlayConfig(U),Te=this._overlay.create(oe),Xe=new x(Te,U),Ze=this._attachContainer(Te,Xe,U);return Xe.containerInstance=Ze,this._attachDialogContent(G,Xe,Ze,U),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Xe),Xe.closed.subscribe(()=>this._removeOpenDialog(Xe,!0)),this.afterOpened.next(Xe),Xe}closeAll(){ve(this.openDialogs,G=>G.close())}getDialogById(G){return this.openDialogs.find(U=>U.id===G)}ngOnDestroy(){ve(this._openDialogsAtThisLevel,G=>{!1===G.config.closeOnDestroy&&this._removeOpenDialog(G,!1)}),ve(this._openDialogsAtThisLevel,G=>G.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(G){const U=new r.X_({positionStrategy:G.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:G.scrollStrategy||this._scrollStrategy(),panelClass:G.panelClass,hasBackdrop:G.hasBackdrop,direction:G.direction,minWidth:G.minWidth,minHeight:G.minHeight,maxWidth:G.maxWidth,maxHeight:G.maxHeight,width:G.width,height:G.height,disposeOnNavigation:G.closeOnNavigation});return G.backdropClass&&(U.backdropClass=G.backdropClass),U}_attachContainer(G,U,ie){const oe=ie.injector??ie.viewContainerRef?.injector,Te=[{provide:S,useValue:ie},{provide:x,useValue:U},{provide:r.Iu,useValue:G}];let Xe;ie.container?"function"==typeof ie.container?Xe=ie.container:(Xe=ie.container.type,Te.push(...ie.container.providers(ie))):Xe=H;const Ze=new _.C5(Xe,ie.viewContainerRef,d.zs3.create({parent:oe||this._injector,providers:Te}),ie.componentFactoryResolver);return G.attach(Ze).instance}_attachDialogContent(G,U,ie,oe){const Te=this._createInjector(oe,U,ie);if(G instanceof d.Rgc){let Xe={$implicit:oe.data,dialogRef:U};oe.templateContext&&(Xe={...Xe,..."function"==typeof oe.templateContext?oe.templateContext():oe.templateContext}),ie.attachTemplatePortal(new _.UE(G,null,Xe,Te))}else{const Xe=ie.attachComponentPortal(new _.C5(G,oe.viewContainerRef,Te,oe.componentFactoryResolver));U.componentInstance=Xe.instance}}_createInjector(G,U,ie){const oe=G&&G.viewContainerRef&&G.viewContainerRef.injector,Te=[{provide:Ee,useValue:G.data},{provide:x,useValue:U}];return G.providers&&("function"==typeof G.providers?Te.push(...G.providers(U,G,ie)):Te.push(...G.providers)),G.direction&&(!oe||!oe.get(B.Is,null,d.XFs.Optional))&&Te.push({provide:B.Is,useValue:{value:G.direction,change:(0,g.of)()}}),d.zs3.create({parent:oe||this._injector,providers:Te})}_removeOpenDialog(G,U){const ie=this.openDialogs.indexOf(G);ie>-1&&(this.openDialogs.splice(ie,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((oe,Te)=>{oe?Te.setAttribute("aria-hidden",oe):Te.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),U&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const G=this._overlayContainer.getContainerElement();if(G.parentElement){const U=G.parentElement.children;for(let ie=U.length-1;ie>-1;ie--){const oe=U[ie];oe!==G&&"SCRIPT"!==oe.nodeName&&"STYLE"!==oe.nodeName&&!oe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(oe,oe.getAttribute("aria-hidden")),oe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const G=this._parentDialog;return G?G._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return nt.\u0275fac=function(G){return new(G||nt)(d.LFG(r.aV),d.LFG(d.zs3),d.LFG(T,8),d.LFG(nt,12),d.LFG(r.Xj),d.LFG(te))},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})();function ve(nt,ft){let G=nt.length;for(;G--;)ft(nt[G])}let ye=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=d.oAB({type:nt}),nt.\u0275inj=d.cJS({providers:[Se,Z],imports:[r.U8,_.eL,o.rt,_.eL]}),nt})();var De=s(1379),z=s(1860),Y=s(4970),V=s(5598),j=s(4091);function X(nt,ft){}const Ie={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},ke={dialogContainer:(0,j.X$)("dialogContainer",[(0,j.SB)("void, exit",(0,j.oB)({opacity:0,transform:"scale(0.7)"})),(0,j.SB)("enter",(0,j.oB)({transform:"none"})),(0,j.eR)("* => enter",(0,j.ru)([(0,j.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,j.oB)({transform:"none",opacity:1})),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),Ie),(0,j.eR)("* => void, * => exit",(0,j.ru)([(0,j.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,j.oB)({opacity:0})),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),Ie)])};class tt{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.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Ie.params.enterAnimationDuration,this.exitAnimationDuration=Ie.params.exitAnimationDuration}}let lt=(()=>{class nt extends H{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(G,U,ie,oe,Te,Xe,Ze,we),this._animationStateChanged=new d.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(G){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:G})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(tt),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["ng-component"]],features:[d.qOj],decls:0,vars:0,template:function(G,U){},encapsulation:2}),nt})(),$=(()=>{class nt extends lt{constructor(G,U,ie,oe,Te,Xe,Ze,we,Be){super(G,U,ie,oe,Te,Xe,Ze,Be),this._changeDetectorRef=we,this._state="enter"}_onAnimationDone({toState:G,totalTime:U}){"enter"===G?this._openAnimationDone(U):"exit"===G&&this._animationStateChanged.next({state:"closed",totalTime:U})}_onAnimationStart({toState:G,totalTime:U}){"enter"===G?this._animationStateChanged.next({state:"opening",totalTime:U}):("exit"===G||"void"===G)&&this._animationStateChanged.next({state:"closing",totalTime:U})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ie.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ie.params.exitAnimationDuration}}}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(d.SBq),d.Y36(o.qV),d.Y36(f.K0,8),d.Y36(tt),d.Y36(o.ic),d.Y36(d.R0b),d.Y36(r.Iu),d.Y36(d.sBO),d.Y36(o.tE))},nt.\u0275cmp=d.Xpm({type:nt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(G,U){1&G&&d.WFA("@dialogContainer.start",function(oe){return U._onAnimationStart(oe)})("@dialogContainer.done",function(oe){return U._onAnimationDone(oe)}),2&G&&(d.Ikx("id",U._config.id),d.uIk("aria-modal",U._config.ariaModal)("role",U._config.role)("aria-labelledby",U._config.ariaLabel?null:U._ariaLabelledBy)("aria-label",U._config.ariaLabel)("aria-describedby",U._config.ariaDescribedBy||null),d.d8E("@dialogContainer",U._getAnimationState()))},features:[d.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(G,U){1&G&&d.YNc(0,X,0,0,"ng-template",0)},dependencies:[_.Pl],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[ke.dialogContainer]}}),nt})();class Re{constructor(ft,G,U){this._ref=ft,this._containerInstance=U,this._afterOpened=new L.x,this._beforeClosed=new L.x,this._state=0,this.disableClose=G.disableClose,this.id=ft.id,U._animationStateChanged.pipe((0,Y.h)(ie=>"opened"===ie.state),(0,V.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),U._animationStateChanged.pipe((0,Y.h)(ie=>"closed"===ie.state),(0,V.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ft.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,z.T)(this.backdropClick(),this.keydownEvents().pipe((0,Y.h)(ie=>ie.keyCode===w.hY&&!this.disableClose&&!(0,w.Vb)(ie)))).subscribe(ie=>{this.disableClose||(ie.preventDefault(),re(this,"keydown"===ie.type?"keyboard":"mouse"))})}close(ft){this._result=ft,this._containerInstance._animationStateChanged.pipe((0,Y.h)(G=>"closing"===G.state),(0,V.q)(1)).subscribe(G=>{this._beforeClosed.next(ft),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),G.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(ft){let G=this._ref.config.positionStrategy;return ft&&(ft.left||ft.right)?ft.left?G.left(ft.left):G.right(ft.right):G.centerHorizontally(),ft&&(ft.top||ft.bottom)?ft.top?G.top(ft.top):G.bottom(ft.bottom):G.centerVertically(),this._ref.updatePosition(),this}updateSize(ft="",G=""){return this._ref.updateSize(ft,G),this}addPanelClass(ft){return this._ref.addPanelClass(ft),this}removePanelClass(ft){return this._ref.removePanelClass(ft),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function re(nt,ft,G){return nt._closeInteractionType=ft,nt.close(G)}const xe=new d.OlP("MatDialogData"),Ke=new d.OlP("mat-dialog-default-options"),me=new d.OlP("mat-dialog-scroll-strategy"),Ce={provide:me,deps:[r.aV],useFactory:function se(nt){return()=>nt.scrollStrategies.block()}};let He=0,Qe=(()=>{class nt{constructor(G,U,ie,oe,Te,Xe,Ze,we,Be,We){this._overlay=G,this._defaultOptions=ie,this._parentDialog=oe,this._dialogRefConstructor=Ze,this._dialogContainerType=we,this._dialogDataToken=Be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L.x,this._afterOpenedAtThisLevel=new L.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,A.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,m.O)(void 0))),this._scrollStrategy=Xe,this._dialog=U.get(Se)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const G=this._parentDialog;return G?G._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(G,U){let ie;(U={...this._defaultOptions||new tt,...U}).id=U.id||`${this._idPrefix}${He++}`,U.scrollStrategy=U.scrollStrategy||this._scrollStrategy();const oe=this._dialog.open(G,{...U,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:tt,useValue:U},{provide:S,useValue:U}]},templateContext:()=>({dialogRef:ie}),providers:(Te,Xe,Ze)=>(ie=new this._dialogRefConstructor(Te,U,Ze),ie.updatePosition(U?.position),[{provide:this._dialogContainerType,useValue:Ze},{provide:this._dialogDataToken,useValue:Xe.data},{provide:this._dialogRefConstructor,useValue:ie}])});return ie.componentInstance=oe.componentInstance,this.openDialogs.push(ie),this.afterOpened.next(ie),ie.afterClosed().subscribe(()=>{const Te=this.openDialogs.indexOf(ie);Te>-1&&(this.openDialogs.splice(Te,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ie}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(G){return this.openDialogs.find(U=>U.id===G)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(G){let U=G.length;for(;U--;)G[U].close()}}return nt.\u0275fac=function(G){d.$Z()},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),st=(()=>{class nt extends Qe{constructor(G,U,ie,oe,Te,Xe,Ze,we){super(G,U,oe,Xe,Ze,Te,Re,$,xe,we)}}return nt.\u0275fac=function(G){return new(G||nt)(d.LFG(r.aV),d.LFG(d.zs3),d.LFG(f.Ye,8),d.LFG(Ke,8),d.LFG(me),d.LFG(nt,12),d.LFG(r.Xj),d.LFG(d.QbO,8))},nt.\u0275prov=d.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),Ge=0,at=(()=>{class nt{constructor(G,U,ie){this.dialogRef=G,this._elementRef=U,this._dialog=ie,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Pt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(G){const U=G._matDialogClose||G._matDialogCloseResult;U&&(this.dialogResult=U.currentValue)}_onButtonClick(G){re(this.dialogRef,0===G.screenX&&0===G.screenY?"keyboard":"mouse",this.dialogResult)}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(Re,8),d.Y36(d.SBq),d.Y36(st))},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(G,U){1&G&&d.NdJ("click",function(oe){return U._onButtonClick(oe)}),2&G&&d.uIk("aria-label",U.ariaLabel||null)("type",U.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[d.TTD]}),nt})(),_t=(()=>{class nt{constructor(G,U,ie){this._dialogRef=G,this._elementRef=U,this._dialog=ie,this.id="mat-dialog-title-"+Ge++}ngOnInit(){this._dialogRef||(this._dialogRef=Pt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const G=this._dialogRef._containerInstance;G&&!G._ariaLabelledBy&&(G._ariaLabelledBy=this.id)})}}return nt.\u0275fac=function(G){return new(G||nt)(d.Y36(Re,8),d.Y36(d.SBq),d.Y36(st))},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(G,U){2&G&&d.Ikx("id",U.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),nt})(),xt=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),nt})(),yt=(()=>{class nt{constructor(){this.align="start"}}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=d.lG2({type:nt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(G,U){2&G&&d.ekj("mat-dialog-actions-align-center","center"===U.align)("mat-dialog-actions-align-end","end"===U.align)},inputs:{align:"align"}}),nt})();function Pt(nt,ft){let G=nt.nativeElement.parentElement;for(;G&&!G.classList.contains("mat-dialog-container");)G=G.parentElement;return G?ft.find(U=>U.id===G.id):null}let At=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=d.oAB({type:nt}),nt.\u0275inj=d.cJS({providers:[st,Ce],imports:[ye,r.U8,_.eL,De.BQ,De.BQ]}),nt})()},6438:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>_,t:()=>f});var o=s(4537),r=s(4929),h=s(1379);let _=(()=>{class d{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(L){this._vertical=(0,r.Ig)(L)}get inset(){return this._inset}set inset(L){this._inset=(0,r.Ig)(L)}}return d.\u0275fac=function(L){return new(L||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(L,A){2&L&&(o.uIk("aria-orientation",A.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",A.vertical)("mat-divider-horizontal",!A.vertical)("mat-divider-inset",A.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(L,A){},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}),d})(),f=(()=>{class d{}return d.\u0275fac=function(L){return new(L||d)},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({imports:[h.BQ,h.BQ]}),d})()},7914:(Ue,J,s)=>{"use strict";s.d(J,{pp:()=>Ce,To:()=>He,ib:()=>Re,yz:()=>me,yK:()=>se});var o=s(4537),r=s(5834),h=s(4929),_=s(8023),f=s(4813);let d=0;const w=new o.OlP("CdkAccordion");let L=(()=>{class Qe{constructor(){this._stateChanges=new _.x,this._openCloseAllActions=new _.x,this.id="cdk-accordion-"+d++,this._multi=!1}get multi(){return this._multi}set multi(Ge){this._multi=(0,h.Ig)(Ge)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Ge){this._stateChanges.next(Ge)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:w,useExisting:Qe}]),o.TTD]}),Qe})(),A=0,g=(()=>{class Qe{constructor(Ge,at,_t){this.accordion=Ge,this._changeDetectorRef=at,this._expansionDispatcher=_t,this._openCloseAllSubscription=f.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-"+A++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=_t.listen((xt,yt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===yt&&this.id!==xt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Ge){Ge=(0,h.Ig)(Ge),this._expanded!==Ge&&(this._expanded=Ge,this.expandedChange.emit(Ge),Ge?(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(Ge){this._disabled=(0,h.Ig)(Ge)}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(Ge=>{this.disabled||(this.expanded=Ge)})}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(w,12),o.Y36(o.sBO),o.Y36(r.A8))},Qe.\u0275dir=o.lG2({type:Qe,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:w,useValue:void 0}])]}),Qe})(),B=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({}),Qe})();var m=s(8632),b=s(8692),S=s(1379),v=s(8954),H=s(2147),x=s(1927),te=s(4970),Ee=s(5598),T=s(5436),ue=s(9018),Z=s(1860),Me=s(4091);const Se=["body"];function ve(Qe,st){}const ye=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],De=["mat-expansion-panel-header","*","mat-action-row"];function z(Qe,st){if(1&Qe&&o._UZ(0,"span",2),2&Qe){const Ge=o.oxw();o.Q6J("@indicatorRotate",Ge._getExpandedState())}}const Y=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],V=["mat-panel-title","mat-panel-description","*"],j=new o.OlP("MAT_ACCORDION"),X="225ms cubic-bezier(0.4,0.0,0.2,1)",Ie={indicatorRotate:(0,Me.X$)("indicatorRotate",[(0,Me.SB)("collapsed, void",(0,Me.oB)({transform:"rotate(0deg)"})),(0,Me.SB)("expanded",(0,Me.oB)({transform:"rotate(180deg)"})),(0,Me.eR)("expanded <=> collapsed, void => collapsed",(0,Me.jt)(X))]),bodyExpansion:(0,Me.X$)("bodyExpansion",[(0,Me.SB)("collapsed, void",(0,Me.oB)({height:"0px",visibility:"hidden"})),(0,Me.SB)("expanded",(0,Me.oB)({height:"*",visibility:"visible"})),(0,Me.eR)("expanded <=> collapsed, void => collapsed",(0,Me.jt)(X))])},ke=new o.OlP("MAT_EXPANSION_PANEL");let tt=(()=>{class Qe{constructor(Ge,at){this._template=Ge,this._expansionPanel=at}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(o.Rgc),o.Y36(ke,8))},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["ng-template","matExpansionPanelContent",""]]}),Qe})(),lt=0;const $=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Re=(()=>{class Qe extends g{constructor(Ge,at,_t,xt,yt,Pt,At){super(Ge,at,_t),this._viewContainerRef=xt,this._animationMode=Pt,this._hideToggle=!1,this.afterExpand=new o.vpe,this.afterCollapse=new o.vpe,this._inputChanges=new _.x,this._headerId="mat-expansion-panel-header-"+lt++,this._bodyAnimationDone=new _.x,this.accordion=Ge,this._document=yt,this._bodyAnimationDone.pipe((0,H.x)((nt,ft)=>nt.fromState===ft.fromState&&nt.toState===ft.toState)).subscribe(nt=>{"void"!==nt.fromState&&("expanded"===nt.toState?this.afterExpand.emit():"collapsed"===nt.toState&&this.afterCollapse.emit())}),At&&(this.hideToggle=At.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Ge){this._hideToggle=(0,h.Ig)(Ge)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Ge){this._togglePosition=Ge}_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,x.O)(null),(0,te.h)(()=>this.expanded&&!this._portal),(0,Ee.q)(1)).subscribe(()=>{this._portal=new m.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Ge){this._inputChanges.next(Ge)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Ge=this._document.activeElement,at=this._body.nativeElement;return Ge===at||at.contains(Ge)}return!1}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(j,12),o.Y36(o.sBO),o.Y36(r.A8),o.Y36(o.s_b),o.Y36(b.K0),o.Y36(o.QbO,8),o.Y36($,8))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-expansion-panel"]],contentQueries:function(Ge,at,_t){if(1&Ge&&o.Suo(_t,tt,5),2&Ge){let xt;o.iGM(xt=o.CRH())&&(at._lazyContent=xt.first)}},viewQuery:function(Ge,at){if(1&Ge&&o.Gf(Se,5),2&Ge){let _t;o.iGM(_t=o.CRH())&&(at._body=_t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Ge,at){2&Ge&&o.ekj("mat-expanded",at.expanded)("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-expansion-panel-spacing",at._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:j,useValue:void 0},{provide:ke,useExisting:Qe}]),o.qOj,o.TTD],ngContentSelectors:De,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Ge,at){1&Ge&&(o.F$t(ye),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(xt){return at._bodyAnimationDone.next(xt)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,ve,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&Ge&&(o.xp6(1),o.Q6J("@bodyExpansion",at._getExpandedState())("id",at.id),o.uIk("aria-labelledby",at._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",at._portal))},dependencies:[m.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:[Ie.bodyExpansion]},changeDetection:0}),Qe})();class xe{}const Ke=(0,S.sb)(xe);let me=(()=>{class Qe extends Ke{constructor(Ge,at,_t,xt,yt,Pt,At){super(),this.panel=Ge,this._element=at,this._focusMonitor=_t,this._changeDetectorRef=xt,this._animationMode=Pt,this._parentChangeSubscription=f.w0.EMPTY;const nt=Ge.accordion?Ge.accordion._stateChanges.pipe((0,te.h)(ft=>!(!ft.hideToggle&&!ft.togglePosition))):ue.E;this.tabIndex=parseInt(At||"")||0,this._parentChangeSubscription=(0,Z.T)(Ge.opened,Ge.closed,nt,Ge._inputChanges.pipe((0,te.h)(ft=>!!(ft.hideToggle||ft.disabled||ft.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Ge.closed.pipe((0,te.h)(()=>Ge._containsFocus())).subscribe(()=>_t.focusVia(at,"program")),yt&&(this.expandedHeight=yt.expandedHeight,this.collapsedHeight=yt.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 Ge=this._isExpanded();return Ge&&this.expandedHeight?this.expandedHeight:!Ge&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Ge){switch(Ge.keyCode){case T.L_:case T.K5:(0,T.Vb)(Ge)||(Ge.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Ge))}}focus(Ge,at){Ge?this._focusMonitor.focusVia(this._element,Ge,at):this._element.nativeElement.focus(at)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Ge=>{Ge&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)(o.Y36(Re,1),o.Y36(o.SBq),o.Y36(v.tE),o.Y36(o.sBO),o.Y36($,8),o.Y36(o.QbO,8),o.$8M("tabindex"))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Ge,at){1&Ge&&o.NdJ("click",function(){return at._toggle()})("keydown",function(xt){return at._keydown(xt)}),2&Ge&&(o.uIk("id",at.panel._headerId)("tabindex",at.tabIndex)("aria-controls",at._getPanelId())("aria-expanded",at._isExpanded())("aria-disabled",at.panel.disabled),o.Udp("height",at._getHeaderHeight()),o.ekj("mat-expanded",at._isExpanded())("mat-expansion-toggle-indicator-after","after"===at._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===at._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===at._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:V,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Ge,at){1&Ge&&(o.F$t(Y),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,z,1,1,"span",1)),2&Ge&&(o.xp6(4),o.Q6J("ngIf",at._showToggle()))},dependencies:[b.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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.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:[Ie.indicatorRotate]},changeDetection:0}),Qe})(),se=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275dir=o.lG2({type:Qe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Qe})(),Ce=(()=>{class Qe extends L{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(Ge){this._hideToggle=(0,h.Ig)(Ge)}ngAfterContentInit(){this._headers.changes.pipe((0,x.O)(this._headers)).subscribe(Ge=>{this._ownHeaders.reset(Ge.filter(at=>at.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new v.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Ge){this._keyManager.onKeydown(Ge)}_handleHeaderFocus(Ge){this._keyManager.updateActiveItem(Ge)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return Qe.\u0275fac=function(){let st;return function(at){return(st||(st=o.n5z(Qe)))(at||Qe)}}(),Qe.\u0275dir=o.lG2({type:Qe,selectors:[["mat-accordion"]],contentQueries:function(Ge,at,_t){if(1&Ge&&o.Suo(_t,me,5),2&Ge){let xt;o.iGM(xt=o.CRH())&&(at._headers=xt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Ge,at){2&Ge&&o.ekj("mat-accordion-multi",at.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o._Bn([{provide:j,useExisting:Qe}]),o.qOj]}),Qe})(),He=(()=>{class Qe{}return Qe.\u0275fac=function(Ge){return new(Ge||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({imports:[b.ez,S.BQ,B,m.eL]}),Qe})()},8659:(Ue,J,s)=>{"use strict";s.d(J,{Eo:()=>tt,G_:()=>yt,KE:()=>Pt,R9:()=>Qe,TO:()=>Ie,bx:()=>Ke,hX:()=>me,lN:()=>At});var o=s(7723),r=s(8692),h=s(4537),_=s(1379),f=s(5875),d=s(4929),w=s(8023),L=s(1860),A=s(4581),g=s(1927),B=s(3528),m=s(5598),b=s(4091),S=s(6321);const v=["connectionContainer"],H=["inputContainer"],x=["label"];function te(nt,ft){1&nt&&(h.ynx(0),h.TgZ(1,"div",14),h._UZ(2,"div",15)(3,"div",16)(4,"div",17),h.qZA(),h.TgZ(5,"div",18),h._UZ(6,"div",15)(7,"div",16)(8,"div",17),h.qZA(),h.BQk())}function Ee(nt,ft){if(1&nt){const G=h.EpF();h.TgZ(0,"div",19),h.NdJ("cdkObserveContent",function(){h.CHM(G);const ie=h.oxw();return h.KtG(ie.updateOutlineGap())}),h.Hsn(1,1),h.qZA()}if(2&nt){const G=h.oxw();h.Q6J("cdkObserveContentDisabled","outline"!=G.appearance)}}function T(nt,ft){if(1&nt&&(h.ynx(0),h.Hsn(1,2),h.TgZ(2,"span"),h._uU(3),h.qZA(),h.BQk()),2&nt){const G=h.oxw(2);h.xp6(3),h.Oqu(G._control.placeholder)}}function ue(nt,ft){1&nt&&h.Hsn(0,3,["*ngSwitchCase","true"])}function Z(nt,ft){1&nt&&(h.TgZ(0,"span",23),h._uU(1," *"),h.qZA())}function Me(nt,ft){if(1&nt){const G=h.EpF();h.TgZ(0,"label",20,21),h.NdJ("cdkObserveContent",function(){h.CHM(G);const ie=h.oxw();return h.KtG(ie.updateOutlineGap())}),h.YNc(2,T,4,1,"ng-container",12),h.YNc(3,ue,1,0,"ng-content",12),h.YNc(4,Z,2,0,"span",22),h.qZA()}if(2&nt){const G=h.oxw();h.ekj("mat-empty",G._control.empty&&!G._shouldAlwaysFloat())("mat-form-field-empty",G._control.empty&&!G._shouldAlwaysFloat())("mat-accent","accent"==G.color)("mat-warn","warn"==G.color),h.Q6J("cdkObserveContentDisabled","outline"!=G.appearance)("id",G._labelId)("ngSwitch",G._hasLabel()),h.uIk("for",G._control.id)("aria-owns",G._control.id),h.xp6(2),h.Q6J("ngSwitchCase",!1),h.xp6(1),h.Q6J("ngSwitchCase",!0),h.xp6(1),h.Q6J("ngIf",!G.hideRequiredMarker&&G._control.required&&!G._control.disabled)}}function Se(nt,ft){1&nt&&(h.TgZ(0,"div",24),h.Hsn(1,4),h.qZA())}function ve(nt,ft){if(1&nt&&(h.TgZ(0,"div",25),h._UZ(1,"span",26),h.qZA()),2&nt){const G=h.oxw();h.xp6(1),h.ekj("mat-accent","accent"==G.color)("mat-warn","warn"==G.color)}}function ye(nt,ft){if(1&nt&&(h.TgZ(0,"div"),h.Hsn(1,5),h.qZA()),2&nt){const G=h.oxw();h.Q6J("@transitionMessages",G._subscriptAnimationState)}}function De(nt,ft){if(1&nt&&(h.TgZ(0,"div",30),h._uU(1),h.qZA()),2&nt){const G=h.oxw(2);h.Q6J("id",G._hintLabelId),h.xp6(1),h.Oqu(G.hintLabel)}}function z(nt,ft){if(1&nt&&(h.TgZ(0,"div",27),h.YNc(1,De,2,2,"div",28),h.Hsn(2,6),h._UZ(3,"div",29),h.Hsn(4,7),h.qZA()),2&nt){const G=h.oxw();h.Q6J("@transitionMessages",G._subscriptAnimationState),h.xp6(1),h.Q6J("ngIf",G.hintLabel)}}const Y=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],V=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let j=0;const X=new h.OlP("MatError");let Ie=(()=>{class nt{constructor(G,U){this.id="mat-error-"+j++,G||U.nativeElement.setAttribute("aria-live","polite")}}return nt.\u0275fac=function(G){return new(G||nt)(h.$8M("aria-live"),h.Y36(h.SBq))},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(G,U){2&G&&h.uIk("id",U.id)},inputs:{id:"id"},features:[h._Bn([{provide:X,useExisting:nt}])]}),nt})();const ke={transitionMessages:(0,b.X$)("transitionMessages",[(0,b.SB)("enter",(0,b.oB)({opacity:1,transform:"translateY(0%)"})),(0,b.eR)("void => enter",[(0,b.oB)({opacity:0,transform:"translateY(-5px)"}),(0,b.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let tt=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt}),nt})(),re=0;const xe=new h.OlP("MatHint");let Ke=(()=>{class nt{constructor(){this.align="start",this.id="mat-hint-"+re++}}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(G,U){2&G&&(h.uIk("id",U.id)("align",null),h.ekj("mat-form-field-hint-end","end"===U.align))},inputs:{align:"align",id:"id"},features:[h._Bn([{provide:xe,useExisting:nt}])]}),nt})(),me=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-label"]]}),nt})(),P=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["mat-placeholder"]]}),nt})();const se=new h.OlP("MatPrefix"),He=new h.OlP("MatSuffix");let Qe=(()=>{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275dir=h.lG2({type:nt,selectors:[["","matSuffix",""]],features:[h._Bn([{provide:He,useExisting:nt}])]}),nt})(),st=0;const _t=(0,_.pj)(class{constructor(nt){this._elementRef=nt}},"primary"),xt=new h.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yt=new h.OlP("MatFormField");let Pt=(()=>{class nt extends _t{constructor(G,U,ie,oe,Te,Xe,Ze){super(G),this._changeDetectorRef=U,this._dir=ie,this._defaults=oe,this._platform=Te,this._ngZone=Xe,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new w.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+st++,this._labelId="mat-form-field-label-"+st++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Ze,this.appearance=oe?.appearance||"legacy",oe&&(this._hideRequiredMarker=Boolean(oe.hideRequiredMarker),oe.color&&(this.color=this.defaultColor=oe.color))}get appearance(){return this._appearance}set appearance(G){const U=this._appearance;this._appearance=G||this._defaults?.appearance||"legacy","outline"===this._appearance&&U!==G&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(G){this._hideRequiredMarker=(0,d.Ig)(G)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(G){this._hintLabel=G,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(G){G!==this._floatLabel&&(this._floatLabel=G||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(G){this._explicitFormFieldControl=G}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const G=this._control;G.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${G.controlType}`),G.stateChanges.pipe((0,g.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),G.ngControl&&G.ngControl.valueChanges&&G.ngControl.valueChanges.pipe((0,B.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,B.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,L.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,g.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,g.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,B.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(G){const U=this._control?this._control.ngControl:null;return U&&U[G]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,A.R)(this._label.nativeElement,"transitionend").pipe((0,m.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let G=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&G.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const U=this._hintChildren?this._hintChildren.find(oe=>"start"===oe.align):null,ie=this._hintChildren?this._hintChildren.find(oe=>"end"===oe.align):null;U?G.push(U.id):this._hintLabel&&G.push(this._hintLabelId),ie&&G.push(ie.id)}else this._errorChildren&&G.push(...this._errorChildren.map(U=>U.id));this._control.setDescribedByIds(G)}}_validateControlChild(){}updateOutlineGap(){const G=this._label?this._label.nativeElement:null,U=this._connectionContainerRef.nativeElement,ie=".mat-form-field-outline-start",oe=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!G||!G.children.length||!G.textContent.trim()){const Be=U.querySelectorAll(`${ie}, ${oe}`);for(let We=0;We0?.75*de+10:0}for(let Be=0;Be{class nt{}return nt.\u0275fac=function(G){return new(G||nt)},nt.\u0275mod=h.oAB({type:nt}),nt.\u0275inj=h.cJS({imports:[r.ez,_.BQ,o.Q8,_.BQ]}),nt})()},3331:(Ue,J,s)=>{"use strict";s.d(J,{Hw:()=>re,Ps:()=>xe});var o=s(4537),r=s(1379),h=s(4929),_=s(8692),f=s(4945),d=s(3787),w=s(4967),L=s(4813),A=s(8168),g=s(7969),B=s(3568),m=s(5490),b=s(815),S=s(5598),v=s(5732),H=s(5998);const x=["*"];let te;function T(Ke){return function Ee(){if(void 0===te&&(te=null,typeof window<"u")){const Ke=window;void 0!==Ke.trustedTypes&&(te=Ke.trustedTypes.createPolicy("angular#components",{createHTML:me=>me}))}return te}()?.createHTML(Ke)||Ke}function ue(Ke){return Error(`Unable to find icon with the name "${Ke}"`)}function Me(Ke){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ke}".`)}function Se(Ke){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ke}".`)}class ve{constructor(me,P,se){this.url=me,this.svgText=P,this.options=se}}let ye=(()=>{class Ke{constructor(P,se,Ce,He){this._httpClient=P,this._sanitizer=se,this._errorHandler=He,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons"],this._document=Ce}addSvgIcon(P,se,Ce){return this.addSvgIconInNamespace("",P,se,Ce)}addSvgIconLiteral(P,se,Ce){return this.addSvgIconLiteralInNamespace("",P,se,Ce)}addSvgIconInNamespace(P,se,Ce,He){return this._addSvgIconConfig(P,se,new ve(Ce,null,He))}addSvgIconResolver(P){return this._resolvers.push(P),this}addSvgIconLiteralInNamespace(P,se,Ce,He){const Qe=this._sanitizer.sanitize(o.q3G.HTML,Ce);if(!Qe)throw Se(Ce);const st=T(Qe);return this._addSvgIconConfig(P,se,new ve("",st,He))}addSvgIconSet(P,se){return this.addSvgIconSetInNamespace("",P,se)}addSvgIconSetLiteral(P,se){return this.addSvgIconSetLiteralInNamespace("",P,se)}addSvgIconSetInNamespace(P,se,Ce){return this._addSvgIconSetConfig(P,new ve(se,null,Ce))}addSvgIconSetLiteralInNamespace(P,se,Ce){const He=this._sanitizer.sanitize(o.q3G.HTML,se);if(!He)throw Se(se);const Qe=T(He);return this._addSvgIconSetConfig(P,new ve("",Qe,Ce))}registerFontClassAlias(P,se=P){return this._fontCssClassesByAlias.set(P,se),this}classNameForFontAlias(P){return this._fontCssClassesByAlias.get(P)||P}setDefaultFontSetClass(...P){return this._defaultFontSetClass=P,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(P){const se=this._sanitizer.sanitize(o.q3G.RESOURCE_URL,P);if(!se)throw Me(P);const Ce=this._cachedIconsByUrl.get(se);return Ce?(0,f.of)(Y(Ce)):this._loadSvgIconFromConfig(new ve(P,null)).pipe((0,A.b)(He=>this._cachedIconsByUrl.set(se,He)),(0,g.U)(He=>Y(He)))}getNamedSvgIcon(P,se=""){const Ce=V(se,P);let He=this._svgIconConfigs.get(Ce);if(He)return this._getSvgFromConfig(He);if(He=this._getIconConfigFromResolvers(se,P),He)return this._svgIconConfigs.set(Ce,He),this._getSvgFromConfig(He);const Qe=this._iconSetConfigs.get(se);return Qe?this._getSvgFromIconSetConfigs(P,Qe):(0,d._)(ue(Ce))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(P){return P.svgText?(0,f.of)(Y(this._svgElementFromConfig(P))):this._loadSvgIconFromConfig(P).pipe((0,g.U)(se=>Y(se)))}_getSvgFromIconSetConfigs(P,se){const Ce=this._extractIconWithNameFromAnySet(P,se);if(Ce)return(0,f.of)(Ce);const He=se.filter(Qe=>!Qe.svgText).map(Qe=>this._loadSvgIconSetFromConfig(Qe).pipe((0,B.K)(st=>{const at=`Loading icon set URL: ${this._sanitizer.sanitize(o.q3G.RESOURCE_URL,Qe.url)} failed: ${st.message}`;return this._errorHandler.handleError(new Error(at)),(0,f.of)(null)})));return(0,w.D)(He).pipe((0,g.U)(()=>{const Qe=this._extractIconWithNameFromAnySet(P,se);if(!Qe)throw ue(P);return Qe}))}_extractIconWithNameFromAnySet(P,se){for(let Ce=se.length-1;Ce>=0;Ce--){const He=se[Ce];if(He.svgText&&He.svgText.toString().indexOf(P)>-1){const Qe=this._svgElementFromConfig(He),st=this._extractSvgIconFromSet(Qe,P,He.options);if(st)return st}}return null}_loadSvgIconFromConfig(P){return this._fetchIcon(P).pipe((0,A.b)(se=>P.svgText=se),(0,g.U)(()=>this._svgElementFromConfig(P)))}_loadSvgIconSetFromConfig(P){return P.svgText?(0,f.of)(null):this._fetchIcon(P).pipe((0,A.b)(se=>P.svgText=se))}_extractSvgIconFromSet(P,se,Ce){const He=P.querySelector(`[id="${se}"]`);if(!He)return null;const Qe=He.cloneNode(!0);if(Qe.removeAttribute("id"),"svg"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(Qe,Ce);if("symbol"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Qe),Ce);const st=this._svgElementFromString(T(""));return st.appendChild(Qe),this._setSvgAttributes(st,Ce)}_svgElementFromString(P){const se=this._document.createElement("DIV");se.innerHTML=P;const Ce=se.querySelector("svg");if(!Ce)throw Error(" tag not found");return Ce}_toSvgElement(P){const se=this._svgElementFromString(T("")),Ce=P.attributes;for(let He=0;HeT(at)),(0,m.x)(()=>this._inProgressUrlFetches.delete(Qe)),(0,b.B)());return this._inProgressUrlFetches.set(Qe,Ge),Ge}_addSvgIconConfig(P,se,Ce){return this._svgIconConfigs.set(V(P,se),Ce),this}_addSvgIconSetConfig(P,se){const Ce=this._iconSetConfigs.get(P);return Ce?Ce.push(se):this._iconSetConfigs.set(P,[se]),this}_svgElementFromConfig(P){if(!P.svgElement){const se=this._svgElementFromString(P.svgText);this._setSvgAttributes(se,P.options),P.svgElement=se}return P.svgElement}_getIconConfigFromResolvers(P,se){for(let Ce=0;Ceme?me.pathname+me.search:""}}}),lt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],$=lt.map(Ke=>`[${Ke}]`).join(", "),Re=/^url\(['"]?#(.*?)['"]?\)$/;let re=(()=>{class Ke extends X{constructor(P,se,Ce,He,Qe,st){super(P),this._iconRegistry=se,this._location=He,this._errorHandler=Qe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=L.w0.EMPTY,st&&(st.color&&(this.color=this.defaultColor=st.color),st.fontSet&&(this.fontSet=st.fontSet)),Ce||P.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(P){this._inline=(0,h.Ig)(P)}get svgIcon(){return this._svgIcon}set svgIcon(P){P!==this._svgIcon&&(P?this._updateSvgIcon(P):this._svgIcon&&this._clearSvgElement(),this._svgIcon=P)}get fontSet(){return this._fontSet}set fontSet(P){const se=this._cleanupFontValue(P);se!==this._fontSet&&(this._fontSet=se,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(P){const se=this._cleanupFontValue(P);se!==this._fontIcon&&(this._fontIcon=se,this._updateFontIconClasses())}_splitIconName(P){if(!P)return["",""];const se=P.split(":");switch(se.length){case 1:return["",se[0]];case 2:return se;default:throw Error(`Invalid icon name: "${P}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const P=this._elementsWithExternalReferences;if(P&&P.size){const se=this._location.getPathname();se!==this._previousPath&&(this._previousPath=se,this._prependPathToReferences(se))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(P){this._clearSvgElement();const se=this._location.getPathname();this._previousPath=se,this._cacheChildrenWithExternalReferences(P),this._prependPathToReferences(se),this._elementRef.nativeElement.appendChild(P)}_clearSvgElement(){const P=this._elementRef.nativeElement;let se=P.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();se--;){const Ce=P.childNodes[se];(1!==Ce.nodeType||"svg"===Ce.nodeName.toLowerCase())&&Ce.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const P=this._elementRef.nativeElement,se=(this.fontSet?[this._iconRegistry.classNameForFontAlias(this.fontSet)]:this._iconRegistry.getDefaultFontSetClass()).filter(Ce=>Ce.length>0);this._previousFontSetClass.forEach(Ce=>P.classList.remove(Ce)),se.forEach(Ce=>P.classList.add(Ce)),this._previousFontSetClass=se,this.fontIcon!==this._previousFontIconClass&&(this._previousFontIconClass&&P.classList.remove(this._previousFontIconClass),this.fontIcon&&P.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(P){return"string"==typeof P?P.trim().split(" ")[0]:P}_prependPathToReferences(P){const se=this._elementsWithExternalReferences;se&&se.forEach((Ce,He)=>{Ce.forEach(Qe=>{He.setAttribute(Qe.name,`url('${P}#${Qe.value}')`)})})}_cacheChildrenWithExternalReferences(P){const se=P.querySelectorAll($),Ce=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let He=0;He{const st=se[He],Ge=st.getAttribute(Qe),at=Ge?Ge.match(Re):null;if(at){let _t=Ce.get(st);_t||(_t=[],Ce.set(st,_t)),_t.push({name:Qe,value:at[1]})}})}_updateSvgIcon(P){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),P){const[se,Ce]=this._splitIconName(P);se&&(this._svgNamespace=se),Ce&&(this._svgName=Ce),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ce,se).pipe((0,S.q)(1)).subscribe(He=>this._setSvgElement(He),He=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${se}:${Ce}! ${He.message}`))})}}}return Ke.\u0275fac=function(P){return new(P||Ke)(o.Y36(o.SBq),o.Y36(ye),o.$8M("aria-hidden"),o.Y36(ke),o.Y36(o.qLn),o.Y36(Ie,8))},Ke.\u0275cmp=o.Xpm({type:Ke,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(P,se){2&P&&(o.uIk("data-mat-icon-type",se._usingFontIcon()?"font":"svg")("data-mat-icon-name",se._svgName||se.fontIcon)("data-mat-icon-namespace",se._svgNamespace||se.fontSet),o.ekj("mat-icon-inline",se.inline)("mat-icon-no-color","primary"!==se.color&&"accent"!==se.color&&"warn"!==se.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[o.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(P,se){1&P&&(o.F$t(),o.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Ke})(),xe=(()=>{class Ke{}return Ke.\u0275fac=function(P){return new(P||Ke)},Ke.\u0275mod=o.oAB({type:Ke}),Ke.\u0275inj=o.cJS({imports:[r.BQ,r.BQ]}),Ke})()},7406:(Ue,J,s)=>{"use strict";s.d(J,{Jk:()=>g,Nt:()=>S,c:()=>v});var o=s(4929),r=s(6321),h=s(7025),_=s(4537),f=s(92),d=s(1379),w=s(8659),L=s(8023);const g=new _.OlP("MAT_INPUT_VALUE_ACCESSOR"),B=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let m=0;const b=(0,d.FD)(class{constructor(H,x,te,Ee){this._defaultErrorStateMatcher=H,this._parentForm=x,this._parentFormGroup=te,this.ngControl=Ee,this.stateChanges=new L.x}});let S=(()=>{class H extends b{constructor(te,Ee,T,ue,Z,Me,Se,ve,ye,De){super(Me,ue,Z,T),this._elementRef=te,this._platform=Ee,this._autofillMonitor=ve,this._formField=De,this._uid="mat-input-"+m++,this.focused=!1,this.stateChanges=new L.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(V=>(0,r.qK)().has(V)),this._iOSKeyupListener=V=>{const j=V.target;!j.value&&0===j.selectionStart&&0===j.selectionEnd&&(j.setSelectionRange(1,1),j.setSelectionRange(0,0))};const z=this._elementRef.nativeElement,Y=z.nodeName.toLowerCase();this._inputValueAccessor=Se||z,this._previousNativeValue=this.value,this.id=this.id,Ee.IOS&&ye.runOutsideAngular(()=>{te.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Y,this._isTextarea="textarea"===Y,this._isInFormField=!!De,this._isNativeSelect&&(this.controlType=z.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(te){this._disabled=(0,o.Ig)(te),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(te){this._id=te||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(f.kI.required)??!1}set required(te){this._required=(0,o.Ig)(te)}get type(){return this._type}set type(te){this._type=te||"text",this._validateType(),!this._isTextarea&&(0,r.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(te){te!==this.value&&(this._inputValueAccessor.value=te,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(te){this._readonly=(0,o.Ig)(te)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(te=>{this.autofilled=te.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(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(te){this._elementRef.nativeElement.focus(te)}_focusChanged(te){te!==this.focused&&(this.focused=te,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const te=this._formField,Ee=te&&"legacy"===te.appearance&&!te._hasLabel?.()?null:this.placeholder;if(Ee!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=Ee,Ee?T.setAttribute("placeholder",Ee):T.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const te=this._elementRef.nativeElement.value;this._previousNativeValue!==te&&(this._previousNativeValue=te,this.stateChanges.next())}_validateType(){B.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let te=this._elementRef.nativeElement.validity;return te&&te.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const te=this._elementRef.nativeElement,Ee=te.options[0];return this.focused||te.multiple||!this.empty||!!(te.selectedIndex>-1&&Ee&&Ee.label)}return this.focused||!this.empty}setDescribedByIds(te){te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const te=this._elementRef.nativeElement;return this._isNativeSelect&&(te.multiple||te.size>1)}}return H.\u0275fac=function(te){return new(te||H)(_.Y36(_.SBq),_.Y36(r.t4),_.Y36(f.a5,10),_.Y36(f.F,8),_.Y36(f.sg,8),_.Y36(d.rD),_.Y36(g,10),_.Y36(h.Lq),_.Y36(_.R0b),_.Y36(w.G_,8))},H.\u0275dir=_.lG2({type:H,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(te,Ee){1&te&&_.NdJ("focus",function(){return Ee._focusChanged(!0)})("blur",function(){return Ee._focusChanged(!1)})("input",function(){return Ee._onInput()}),2&te&&(_.Ikx("disabled",Ee.disabled)("required",Ee.required),_.uIk("id",Ee.id)("data-placeholder",Ee.placeholder)("name",Ee.name||null)("readonly",Ee.readonly&&!Ee._isNativeSelect||null)("aria-invalid",Ee.empty&&Ee.required?null:Ee.errorState)("aria-required",Ee.required),_.ekj("mat-input-server",Ee._isServer)("mat-native-select-inline",Ee._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:[_._Bn([{provide:w.Eo,useExisting:H}]),_.qOj,_.TTD]}),H})(),v=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=_.oAB({type:H}),H.\u0275inj=_.cJS({providers:[d.rD],imports:[h.Ky,w.lN,d.BQ,h.Ky,w.lN]}),H})()},4639:(Ue,J,s)=>{"use strict";s.d(J,{Rr:()=>H,rP:()=>T});var o=s(7723),r=s(4537),h=s(1379),_=s(8954),f=s(4929),d=s(92);const w=["input"],L=function(ue){return{enterDuration:ue}},A=["*"],g=new r.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let B=0;const m={provide:d.JU,useExisting:(0,r.Gpc)(()=>H),multi:!0};class b{constructor(Z,Me){this.source=Z,this.checked=Me}}const S=(0,h.sb)((0,h.pj)((0,h.Kr)((0,h.Id)(class{constructor(ue){this._elementRef=ue}}))));let v=(()=>{class ue extends S{constructor(Me,Se,ve,ye,De,z,Y){super(Me),this._focusMonitor=Se,this._changeDetectorRef=ve,this.defaults=De,this._onChange=V=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.vpe,this.toggleChange=new r.vpe,this.tabIndex=parseInt(ye)||0,this.color=this.defaultColor=De.color||"accent",this._noopAnimations="NoopAnimations"===z,this.id=this._uniqueId=`${Y}${++B}`}get required(){return this._required}set required(Me){this._required=(0,f.Ig)(Me)}get checked(){return this._checked}set checked(Me){this._checked=(0,f.Ig)(Me),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Me=>{"keyboard"===Me||"program"===Me?this._focused=!0:Me||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Me){this.checked=!!Me}registerOnChange(Me){this._onChange=Me}registerOnTouched(Me){this._onTouched=Me}setDisabledState(Me){this.disabled=Me,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 ue.\u0275fac=function(Me){r.$Z()},ue.\u0275dir=r.lG2({type:ue,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:[r.qOj]}),ue})(),H=(()=>{class ue extends v{constructor(Me,Se,ve,ye,De,z){super(Me,Se,ve,ye,De,z,"mat-slide-toggle-")}_createChangeEvent(Me){return new b(this,Me)}_onChangeEvent(Me){Me.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Me){Me.stopPropagation()}focus(Me,Se){Se?this._focusMonitor.focusVia(this._inputElement,Se,Me):this._inputElement.nativeElement.focus(Me)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return ue.\u0275fac=function(Me){return new(Me||ue)(r.Y36(r.SBq),r.Y36(_.tE),r.Y36(r.sBO),r.$8M("tabindex"),r.Y36(g),r.Y36(r.QbO,8))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["mat-slide-toggle"]],viewQuery:function(Me,Se){if(1&Me&&r.Gf(w,5),2&Me){let ve;r.iGM(ve=r.CRH())&&(Se._inputElement=ve.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Me,Se){2&Me&&(r.Ikx("id",Se.id),r.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),r.ekj("mat-checked",Se.checked)("mat-disabled",Se.disabled)("mat-slide-toggle-label-before","before"==Se.labelPosition)("_mat-animation-noopable",Se._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[r._Bn([m]),r.qOj],ngContentSelectors:A,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["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"],[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(Me,Se){if(1&Me&&(r.F$t(),r.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),r.NdJ("change",function(ye){return Se._onChangeEvent(ye)})("click",function(ye){return Se._onInputClick(ye)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.TgZ(7,"span",7),r._UZ(8,"span",8),r.qZA()()(),r.TgZ(9,"span",9,10),r.NdJ("cdkObserveContent",function(){return Se._onLabelTextChange()}),r.TgZ(11,"span",11),r._uU(12,"\xa0"),r.qZA(),r.Hsn(13),r.qZA()()),2&Me){const ve=r.MAs(1),ye=r.MAs(10);r.uIk("for",Se.inputId),r.xp6(2),r.ekj("mat-slide-toggle-bar-no-side-margin",!ye.textContent||!ye.textContent.trim()),r.xp6(1),r.Q6J("id",Se.inputId)("required",Se.required)("tabIndex",Se.tabIndex)("checked",Se.checked)("disabled",Se.disabled),r.uIk("name",Se.name)("aria-checked",Se.checked)("aria-label",Se.ariaLabel)("aria-labelledby",Se.ariaLabelledby)("aria-describedby",Se.ariaDescribedby),r.xp6(4),r.Q6J("matRippleTrigger",ve)("matRippleDisabled",Se.disableRipple||Se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.VKq(18,L,Se._noopAnimations?0:150))}},dependencies:[h.wG,o.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.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;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%;display:block}.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}"],encapsulation:2,changeDetection:0}),ue})(),Ee=(()=>{class ue{}return ue.\u0275fac=function(Me){return new(Me||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({}),ue})(),T=(()=>{class ue{}return ue.\u0275fac=function(Me){return new(Me||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({imports:[Ee,h.si,h.BQ,o.Q8,Ee,h.BQ]}),ue})()},7666:(Ue,J,s)=>{"use strict";s.d(J,{ZX:()=>Se,ux:()=>z});var o=s(8232),r=s(8632),h=s(8692),_=s(4537),f=s(1379),d=s(9638),w=s(8023),L=s(6321),A=s(5598),g=s(3528),B=s(4091),m=s(8954),b=s(1444);function S(Y,V){if(1&Y){const j=_.EpF();_.TgZ(0,"div",2)(1,"button",3),_.NdJ("click",function(){_.CHM(j);const Ie=_.oxw();return _.KtG(Ie.action())}),_._uU(2),_.qZA()()}if(2&Y){const j=_.oxw();_.xp6(2),_.Oqu(j.data.action)}}function v(Y,V){}const H=new _.OlP("MatSnackBarData");class x{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const te=Math.pow(2,31)-1;class Ee{constructor(V,j){this._overlayRef=j,this._afterDismissed=new w.x,this._afterOpened=new w.x,this._onAction=new w.x,this._dismissedByAction=!1,this.containerInstance=V,V._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(V){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(V,te))}_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}}let T=(()=>{class Y{constructor(j,X){this.snackBarRef=j,this.data=X}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return Y.\u0275fac=function(j){return new(j||Y)(_.Y36(Ee),_.Y36(H))},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(j,X){1&j&&(_.TgZ(0,"span",0),_._uU(1),_.qZA(),_.YNc(2,S,3,1,"div",1)),2&j&&(_.xp6(1),_.Oqu(X.data.message),_.xp6(1),_.Q6J("ngIf",X.hasAction))},dependencies:[h.O5,d.lW],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}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),Y})();const ue={snackBarState:(0,B.X$)("state",[(0,B.SB)("void, hidden",(0,B.oB)({transform:"scale(0.8)",opacity:0})),(0,B.SB)("visible",(0,B.oB)({transform:"scale(1)",opacity:1})),(0,B.eR)("* => visible",(0,B.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,B.eR)("* => void, * => hidden",(0,B.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,B.oB)({opacity:0})))])};let Z=(()=>{class Y extends r.en{constructor(j,X,Ie,ke,tt){super(),this._ngZone=j,this._elementRef=X,this._changeDetectorRef=Ie,this._platform=ke,this.snackBarConfig=tt,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new w.x,this._onExit=new w.x,this._onEnter=new w.x,this._animationState="void",this.attachDomPortal=lt=>{this._assertNotAttached();const $=this._portalOutlet.attachDomPortal(lt);return this._afterPortalAttached(),$},this._live="assertive"!==tt.politeness||tt.announcementMessage?"off"===tt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(j){this._assertNotAttached();const X=this._portalOutlet.attachComponentPortal(j);return this._afterPortalAttached(),X}attachTemplatePortal(j){this._assertNotAttached();const X=this._portalOutlet.attachTemplatePortal(j);return this._afterPortalAttached(),X}onAnimationEnd(j){const{fromState:X,toState:Ie}=j;if(("void"===Ie&&"void"!==X||"hidden"===Ie)&&this._completeExit(),"visible"===Ie){const ke=this._onEnter;this._ngZone.run(()=>{ke.next(),ke.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((0,A.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const j=this._elementRef.nativeElement,X=this.snackBarConfig.panelClass;X&&(Array.isArray(X)?X.forEach(Ie=>j.classList.add(Ie)):j.classList.add(X))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const j=this._elementRef.nativeElement.querySelector("[aria-hidden]"),X=this._elementRef.nativeElement.querySelector("[aria-live]");if(j&&X){let Ie=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&j.contains(document.activeElement)&&(Ie=document.activeElement),j.removeAttribute("aria-hidden"),X.appendChild(j),Ie?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Y.\u0275fac=function(j){return new(j||Y)(_.Y36(_.R0b),_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(L.t4),_.Y36(x))},Y.\u0275dir=_.lG2({type:Y,viewQuery:function(j,X){if(1&j&&_.Gf(r.Pl,7),2&j){let Ie;_.iGM(Ie=_.CRH())&&(X._portalOutlet=Ie.first)}},features:[_.qOj]}),Y})(),Me=(()=>{class Y extends Z{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return Y.\u0275fac=function(){let V;return function(X){return(V||(V=_.n5z(Y)))(X||Y)}}(),Y.\u0275cmp=_.Xpm({type:Y,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(j,X){1&j&&_.WFA("@state.done",function(ke){return X.onAnimationEnd(ke)}),2&j&&_.d8E("@state",X._animationState)},features:[_.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(j,X){1&j&&(_.TgZ(0,"div",0),_.YNc(1,v,0,0,"ng-template",1),_.qZA(),_._UZ(2,"div")),2&j&&(_.xp6(2),_.uIk("aria-live",X._live)("role",X._role))},dependencies:[r.Pl],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%}"],encapsulation:2,data:{animation:[ue.snackBarState]}}),Y})(),Se=(()=>{class Y{}return Y.\u0275fac=function(j){return new(j||Y)},Y.\u0275mod=_.oAB({type:Y}),Y.\u0275inj=_.cJS({imports:[o.U8,r.eL,h.ez,d.ot,f.BQ,f.BQ]}),Y})();const ve=new _.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function ye(){return new x}});let De=(()=>{class Y{constructor(j,X,Ie,ke,tt,lt){this._overlay=j,this._live=X,this._injector=Ie,this._breakpointObserver=ke,this._parentSnackBar=tt,this._defaultConfig=lt,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const j=this._parentSnackBar;return j?j._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(j){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=j:this._snackBarRefAtThisLevel=j}openFromComponent(j,X){return this._attach(j,X)}openFromTemplate(j,X){return this._attach(j,X)}open(j,X="",Ie){const ke={...this._defaultConfig,...Ie};return ke.data={message:j,action:X},ke.announcementMessage===j&&(ke.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ke)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(j,X){const ke=_.zs3.create({parent:X&&X.viewContainerRef&&X.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:X}]}),tt=new r.C5(this.snackBarContainerComponent,X.viewContainerRef,ke),lt=j.attach(tt);return lt.instance.snackBarConfig=X,lt.instance}_attach(j,X){const Ie={...new x,...this._defaultConfig,...X},ke=this._createOverlay(Ie),tt=this._attachSnackBarContainer(ke,Ie),lt=new Ee(tt,ke);if(j instanceof _.Rgc){const $=new r.UE(j,null,{$implicit:Ie.data,snackBarRef:lt});lt.instance=tt.attachTemplatePortal($)}else{const $=this._createInjector(Ie,lt),Re=new r.C5(j,void 0,$),re=tt.attachComponentPortal(Re);lt.instance=re.instance}return this._breakpointObserver.observe(b.u3.HandsetPortrait).pipe((0,g.R)(ke.detachments())).subscribe($=>{ke.overlayElement.classList.toggle(this.handsetCssClass,$.matches)}),Ie.announcementMessage&&tt._onAnnounce.subscribe(()=>{this._live.announce(Ie.announcementMessage,Ie.politeness)}),this._animateSnackBar(lt,Ie),this._openedSnackBarRef=lt,this._openedSnackBarRef}_animateSnackBar(j,X){j.afterDismissed().subscribe(()=>{this._openedSnackBarRef==j&&(this._openedSnackBarRef=null),X.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{j.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):j.containerInstance.enter(),X.duration&&X.duration>0&&j.afterOpened().subscribe(()=>j._dismissAfter(X.duration))}_createOverlay(j){const X=new o.X_;X.direction=j.direction;let Ie=this._overlay.position().global();const ke="rtl"===j.direction,tt="left"===j.horizontalPosition||"start"===j.horizontalPosition&&!ke||"end"===j.horizontalPosition&&ke,lt=!tt&&"center"!==j.horizontalPosition;return tt?Ie.left("0"):lt?Ie.right("0"):Ie.centerHorizontally(),"top"===j.verticalPosition?Ie.top("0"):Ie.bottom("0"),X.positionStrategy=Ie,this._overlay.create(X)}_createInjector(j,X){return _.zs3.create({parent:j&&j.viewContainerRef&&j.viewContainerRef.injector||this._injector,providers:[{provide:Ee,useValue:X},{provide:H,useValue:j.data}]})}}return Y.\u0275fac=function(j){return new(j||Y)(_.LFG(o.aV),_.LFG(m.Kd),_.LFG(_.zs3),_.LFG(b.Yg),_.LFG(Y,12),_.LFG(ve))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),z=(()=>{class Y extends De{constructor(j,X,Ie,ke,tt,lt){super(j,X,Ie,ke,tt,lt),this.simpleSnackBarComponent=T,this.snackBarContainerComponent=Me,this.handsetCssClass="mat-snack-bar-handset"}}return Y.\u0275fac=function(j){return new(j||Y)(_.LFG(o.aV),_.LFG(m.Kd),_.LFG(_.zs3),_.LFG(b.Yg),_.LFG(Y,12),_.LFG(ve))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:Se}),Y})()},2940:(Ue,J,s)=>{"use strict";s.d(J,{AV:()=>Ie,gM:()=>V});var o=s(8232),r=s(8954),h=s(8692),_=s(4537),f=s(1379),d=s(5531),w=s(5875),L=s(4929),A=s(5436),g=s(1444),B=s(6321),m=s(8632),b=s(8023),S=s(3528),v=s(5598);s(4091);const x=["tooltip"],T="tooltip-panel",ue=(0,B.i$)({passive:!0}),Se=new _.OlP("mat-tooltip-scroll-strategy"),ye={provide:Se,deps:[o.aV],useFactory:function ve(tt){return()=>tt.scrollStrategies.reposition({scrollThrottle:20})}},De=new _.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function z(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Y=(()=>{class tt{constructor($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st){this._overlay=$,this._elementRef=Re,this._scrollDispatcher=re,this._viewContainerRef=xe,this._ngZone=Ke,this._platform=me,this._ariaDescriber=P,this._focusMonitor=se,this._dir=He,this._defaultOptions=Qe,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 b.x,this._scrollStrategy=Ce,this._document=st,Qe&&(Qe.position&&(this.position=Qe.position),Qe.touchGestures&&(this.touchGestures=Qe.touchGestures)),He.change.pipe((0,S.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position($){$!==this._position&&(this._position=$,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled($){this._disabled=(0,L.Ig)($),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay($){this._showDelay=(0,L.su)($)}get hideDelay(){return this._hideDelay}set hideDelay($){this._hideDelay=(0,L.su)($),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message($){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=$?String($).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($){this._tooltipClass=$,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,S.R)(this._destroyed)).subscribe($=>{$?"keyboard"===$&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const $=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Re,re])=>{$.removeEventListener(Re,re,ue)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription($,this.message,"tooltip"),this._focusMonitor.stopMonitoring($)}show($=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const Re=this._createOverlay();this._detach(),this._portal=this._portal||new m.C5(this._tooltipComponent,this._viewContainerRef);const re=this._tooltipInstance=Re.attach(this._portal).instance;re._triggerElement=this._elementRef.nativeElement,re._mouseLeaveHideDelay=this._hideDelay,re.afterHidden().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),re.show($)}hide($=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const $=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Re=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($);return Re.positionChanges.pipe((0,S.R)(this._destroyed)).subscribe(re=>{this._updateCurrentPositionClass(re.connectionPair),this._tooltipInstance&&re.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Re,panelClass:`${this._cssClassPrefix}-${T}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,S.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,S.R)(this._destroyed)).subscribe(re=>{this._isTooltipVisible()&&re.keyCode===A.hY&&!(0,A.Vb)(re)&&(re.preventDefault(),re.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.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($){const Re=$.getConfig().positionStrategy,re=this._getOrigin(),xe=this._getOverlayPosition();Re.withPositions([this._addOffset({...re.main,...xe.main}),this._addOffset({...re.fallback,...xe.fallback})])}_addOffset($){return $}_getOrigin(){const $=!this._dir||"ltr"==this._dir.value,Re=this.position;let re;"above"==Re||"below"==Re?re={originX:"center",originY:"above"==Re?"top":"bottom"}:"before"==Re||"left"==Re&&$||"right"==Re&&!$?re={originX:"start",originY:"center"}:("after"==Re||"right"==Re&&$||"left"==Re&&!$)&&(re={originX:"end",originY:"center"});const{x:xe,y:Ke}=this._invertPosition(re.originX,re.originY);return{main:re,fallback:{originX:xe,originY:Ke}}}_getOverlayPosition(){const $=!this._dir||"ltr"==this._dir.value,Re=this.position;let re;"above"==Re?re={overlayX:"center",overlayY:"bottom"}:"below"==Re?re={overlayX:"center",overlayY:"top"}:"before"==Re||"left"==Re&&$||"right"==Re&&!$?re={overlayX:"end",overlayY:"center"}:("after"==Re||"right"==Re&&$||"left"==Re&&!$)&&(re={overlayX:"start",overlayY:"center"});const{x:xe,y:Ke}=this._invertPosition(re.overlayX,re.overlayY);return{main:re,fallback:{overlayX:xe,overlayY:Ke}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.q)(1),(0,S.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass($){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=$,this._tooltipInstance._markForCheck())}_invertPosition($,Re){return"above"===this.position||"below"===this.position?"top"===Re?Re="bottom":"bottom"===Re&&(Re="top"):"end"===$?$="start":"start"===$&&($="end"),{x:$,y:Re}}_updateCurrentPositionClass($){const{overlayY:Re,originX:re,originY:xe}=$;let Ke;if(Ke="center"===Re?this._dir&&"rtl"===this._dir.value?"end"===re?"left":"right":"start"===re?"left":"right":"bottom"===Re&&"top"===xe?"above":"below",Ke!==this._currentPosition){const me=this._overlayRef;if(me){const P=`${this._cssClassPrefix}-${T}-`;me.removePanelClass(P+this._currentPosition),me.addPanelClass(P+Ke)}this._currentPosition=Ke}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $=[];if(this._platformSupportsMouseEvents())$.push(["mouseleave",Re=>{const re=Re.relatedTarget;(!re||!this._overlayRef?.overlayElement.contains(re))&&this.hide()}],["wheel",Re=>this._wheelListener(Re)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Re=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$.push(["touchend",Re],["touchcancel",Re])}this._addListeners($),this._passiveListeners.push(...$)}_addListeners($){$.forEach(([Re,re])=>{this._elementRef.nativeElement.addEventListener(Re,re,ue)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($){if(this._isTooltipVisible()){const Re=this._document.elementFromPoint($.clientX,$.clientY),re=this._elementRef.nativeElement;Re!==re&&!re.contains(Re)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $=this.touchGestures;if("off"!==$){const Re=this._elementRef.nativeElement,re=Re.style;("on"===$||"INPUT"!==Re.nodeName&&"TEXTAREA"!==Re.nodeName)&&(re.userSelect=re.msUserSelect=re.webkitUserSelect=re.MozUserSelect="none"),("on"===$||!Re.draggable)&&(re.webkitUserDrag="none"),re.touchAction="none",re.webkitTapHighlightColor="transparent"}}}return tt.\u0275fac=function($){_.$Z()},tt.\u0275dir=_.lG2({type:tt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),tt})(),V=(()=>{class tt extends Y{constructor($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st){super($,Re,re,xe,Ke,me,P,se,Ce,He,Qe,st),this._tooltipComponent=X}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(o.aV),_.Y36(_.SBq),_.Y36(d.mF),_.Y36(_.s_b),_.Y36(_.R0b),_.Y36(B.t4),_.Y36(r.$s),_.Y36(r.tE),_.Y36(Se),_.Y36(w.Is,8),_.Y36(De,8),_.Y36(h.K0))},tt.\u0275dir=_.lG2({type:tt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[_.qOj]}),tt})(),j=(()=>{class tt{constructor($,Re){this._changeDetectorRef=$,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===Re}show($){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},$)}hide($){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},$)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:$}){(!$||!this._triggerElement.contains($))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:$}){($===this._showAnimation||$===this._hideAnimation)&&this._finalizeAnimation($===this._showAnimation)}_finalizeAnimation($){$?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility($){const Re=this._tooltip.nativeElement,re=this._showAnimation,xe=this._hideAnimation;if(Re.classList.remove($?xe:re),Re.classList.add($?re:xe),this._isVisible=$,$&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ke=getComputedStyle(Re);("0s"===Ke.getPropertyValue("animation-duration")||"none"===Ke.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}$&&this._onShow(),this._animationsDisabled&&(Re.classList.add("_mat-animation-noopable"),this._finalizeAnimation($))}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(_.sBO),_.Y36(_.QbO,8))},tt.\u0275dir=_.lG2({type:tt}),tt})(),X=(()=>{class tt extends j{constructor($,Re,re){super($,re),this._breakpointObserver=Re,this._isHandset=this._breakpointObserver.observe(g.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return tt.\u0275fac=function($){return new($||tt)(_.Y36(_.sBO),_.Y36(g.Yg),_.Y36(_.QbO,8))},tt.\u0275cmp=_.Xpm({type:tt,selectors:[["mat-tooltip-component"]],viewQuery:function($,Re){if(1&$&&_.Gf(x,7),2&$){let re;_.iGM(re=_.CRH())&&(Re._tooltip=re.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($,Re){1&$&&_.NdJ("mouseleave",function(xe){return Re._handleMouseLeave(xe)}),2&$&&_.Udp("zoom",Re.isVisible()?1:null)},features:[_.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function($,Re){if(1&$&&(_.TgZ(0,"div",0,1),_.NdJ("animationend",function(xe){return Re._handleAnimationEnd(xe)}),_.ALo(2,"async"),_._uU(3),_.qZA()),2&$){let re;_.ekj("mat-tooltip-handset",null==(re=_.lcZ(2,4,Re._isHandset))?null:re.matches),_.Q6J("ngClass",Re.tooltipClass),_.xp6(3),_.Oqu(Re.message)}},dependencies:[h.mk,h.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),tt})(),Ie=(()=>{class tt{}return tt.\u0275fac=function($){return new($||tt)},tt.\u0275mod=_.oAB({type:tt}),tt.\u0275inj=_.cJS({providers:[ye],imports:[r.rt,h.ez,o.U8,f.BQ,f.BQ,d.ZD]}),tt})()},5998:(Ue,J,s)=>{"use strict";s.d(J,{Dx:()=>Te,H7:()=>Ut,b2:()=>ft,h_:()=>U,q6:()=>yt,se:()=>j});var o=s(8692),r=s(4537);class h extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class _ extends h{static makeCurrent(){(0,o.HT)(new _)}onAndCancel(Pe,I,O){return Pe.addEventListener(I,O,!1),()=>{Pe.removeEventListener(I,O,!1)}}dispatchEvent(Pe,I){Pe.dispatchEvent(I)}remove(Pe){Pe.parentNode&&Pe.parentNode.removeChild(Pe)}createElement(Pe,I){return(I=I||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,I){return"window"===I?window:"document"===I?Pe:"body"===I?Pe.body:null}getBaseHref(Pe){const I=function d(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==I?null:function L(ut){w=w||document.createElement("a"),w.setAttribute("href",ut);const Pe=w.pathname;return"/"===Pe.charAt(0)?Pe:`/${Pe}`}(I)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(Pe){return(0,o.Mx)(document.cookie,Pe)}}let w,f=null;const A=new r.OlP("TRANSITION_ID"),B=[{provide:r.ip1,useFactory:function g(ut,Pe,I){return()=>{I.get(r.CZH).donePromise.then(()=>{const O=(0,o.q)(),Q=Pe.querySelectorAll(`style[ng-transition="${ut}"]`);for(let Fe=0;Fe{class ut{build(){return new XMLHttpRequest}}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const S=new r.OlP("EventManagerPlugins");let v=(()=>{class ut{constructor(I,O){this._zone=O,this._eventNameToPlugin=new Map,I.forEach(Q=>Q.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,O,Q){return this._findPluginFor(O).addEventListener(I,O,Q)}addGlobalEventListener(I,O,Q){return this._findPluginFor(O).addGlobalEventListener(I,O,Q)}getZone(){return this._zone}_findPluginFor(I){const O=this._eventNameToPlugin.get(I);if(O)return O;const Q=this._plugins;for(let Fe=0;Fe{class ut{constructor(){this._stylesSet=new Set}addStyles(I){const O=new Set;I.forEach(Q=>{this._stylesSet.has(Q)||(this._stylesSet.add(Q),O.add(Q))}),this.onStylesAdded(O)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})(),te=(()=>{class ut extends x{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,O,Q){I.forEach(Fe=>{const rt=this._doc.createElement("style");rt.textContent=Fe,Q.push(O.appendChild(rt))})}addHost(I){const O=[];this._addStylesToHost(this._stylesSet,I,O),this._hostNodes.set(I,O)}removeHost(I){const O=this._hostNodes.get(I);O&&O.forEach(Ee),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach((O,Q)=>{this._addStylesToHost(I,Q,O)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(Ee))}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();function Ee(ut){(0,o.q)().remove(ut)}const T={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ue=/%COMP%/g;function z(ut,Pe,I){for(let O=0;O{if("__ngUnwrap__"===Pe)return ut;!1===ut(Pe)&&(Pe.preventDefault(),Pe.returnValue=!1)}}let j=(()=>{class ut{constructor(I,O,Q){this.eventManager=I,this.sharedStylesHost=O,this.appId=Q,this.rendererByCompId=new Map,this.defaultRenderer=new X(I)}createRenderer(I,O){if(!I||!O)return this.defaultRenderer;switch(O.encapsulation){case r.ifc.Emulated:{let Q=this.rendererByCompId.get(O.id);return Q||(Q=new lt(this.eventManager,this.sharedStylesHost,O,this.appId),this.rendererByCompId.set(O.id,Q)),Q.applyToHost(I),Q}case 1:case r.ifc.ShadowDom:return new $(this.eventManager,this.sharedStylesHost,I,O);default:if(!this.rendererByCompId.has(O.id)){const Q=z(O.id,O.styles,[]);this.sharedStylesHost.addStyles(Q),this.rendererByCompId.set(O.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(v),r.LFG(te),r.LFG(r.AFp))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();class X{constructor(Pe){this.eventManager=Pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Pe,I){return I?document.createElementNS(T[I]||I,Pe):document.createElement(Pe)}createComment(Pe){return document.createComment(Pe)}createText(Pe){return document.createTextNode(Pe)}appendChild(Pe,I){(tt(Pe)?Pe.content:Pe).appendChild(I)}insertBefore(Pe,I,O){Pe&&(tt(Pe)?Pe.content:Pe).insertBefore(I,O)}removeChild(Pe,I){Pe&&Pe.removeChild(I)}selectRootElement(Pe,I){let O="string"==typeof Pe?document.querySelector(Pe):Pe;if(!O)throw new Error(`The selector "${Pe}" did not match any elements`);return I||(O.textContent=""),O}parentNode(Pe){return Pe.parentNode}nextSibling(Pe){return Pe.nextSibling}setAttribute(Pe,I,O,Q){if(Q){I=Q+":"+I;const Fe=T[Q];Fe?Pe.setAttributeNS(Fe,I,O):Pe.setAttribute(I,O)}else Pe.setAttribute(I,O)}removeAttribute(Pe,I,O){if(O){const Q=T[O];Q?Pe.removeAttributeNS(Q,I):Pe.removeAttribute(`${O}:${I}`)}else Pe.removeAttribute(I)}addClass(Pe,I){Pe.classList.add(I)}removeClass(Pe,I){Pe.classList.remove(I)}setStyle(Pe,I,O,Q){Q&(r.JOm.DashCase|r.JOm.Important)?Pe.style.setProperty(I,O,Q&r.JOm.Important?"important":""):Pe.style[I]=O}removeStyle(Pe,I,O){O&r.JOm.DashCase?Pe.style.removeProperty(I):Pe.style[I]=""}setProperty(Pe,I,O){Pe[I]=O}setValue(Pe,I){Pe.nodeValue=I}listen(Pe,I,O){return"string"==typeof Pe?this.eventManager.addGlobalEventListener(Pe,I,Y(O)):this.eventManager.addEventListener(Pe,I,Y(O))}}function tt(ut){return"TEMPLATE"===ut.tagName&&void 0!==ut.content}class lt extends X{constructor(Pe,I,O,Q){super(Pe),this.component=O;const Fe=z(Q+"-"+O.id,O.styles,[]);I.addStyles(Fe),this.contentAttr=function ye(ut){return"_ngcontent-%COMP%".replace(ue,ut)}(Q+"-"+O.id),this.hostAttr=function De(ut){return"_nghost-%COMP%".replace(ue,ut)}(Q+"-"+O.id)}applyToHost(Pe){super.setAttribute(Pe,this.hostAttr,"")}createElement(Pe,I){const O=super.createElement(Pe,I);return super.setAttribute(O,this.contentAttr,""),O}}class $ extends X{constructor(Pe,I,O,Q){super(Pe),this.sharedStylesHost=I,this.hostEl=O,this.shadowRoot=O.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=z(Q.id,Q.styles,[]);for(let rt=0;rt{class ut extends H{constructor(I){super(I)}supports(I){return!0}addEventListener(I,O,Q){return I.addEventListener(O,Q,!1),()=>this.removeEventListener(I,O,Q)}removeEventListener(I,O,Q){return I.removeEventListener(O,Q)}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const re=["alt","control","meta","shift"],Ke={"\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"},me={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:ut=>ut.altKey,control:ut=>ut.ctrlKey,meta:ut=>ut.metaKey,shift:ut=>ut.shiftKey};let se=(()=>{class ut extends H{constructor(I){super(I)}supports(I){return null!=ut.parseEventName(I)}addEventListener(I,O,Q){const Fe=ut.parseEventName(O),rt=ut.eventCallback(Fe.fullKey,Q,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(I,Fe.domEventName,rt))}static parseEventName(I){const O=I.toLowerCase().split("."),Q=O.shift();if(0===O.length||"keydown"!==Q&&"keyup"!==Q)return null;const Fe=ut._normalizeKey(O.pop());let rt="";if(re.forEach(Dt=>{const Lt=O.indexOf(Dt);Lt>-1&&(O.splice(Lt,1),rt+=Dt+".")}),rt+=Fe,0!=O.length||0===Fe.length)return null;const Et={};return Et.domEventName=Q,Et.fullKey=rt,Et}static getEventFullKey(I){let O="",Q=function Ce(ut){let Pe=ut.key;if(null==Pe){if(Pe=ut.keyIdentifier,null==Pe)return"Unidentified";Pe.startsWith("U+")&&(Pe=String.fromCharCode(parseInt(Pe.substring(2),16)),3===ut.location&&me.hasOwnProperty(Pe)&&(Pe=me[Pe]))}return Ke[Pe]||Pe}(I);return Q=Q.toLowerCase()," "===Q?Q="space":"."===Q&&(Q="dot"),re.forEach(Fe=>{Fe!=Q&&P[Fe](I)&&(O+=Fe+".")}),O+=Q,O}static eventCallback(I,O,Q){return Fe=>{ut.getEventFullKey(Fe)===I&&Q.runGuarded(()=>O(Fe))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})();const yt=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:o.bD},{provide:r.g9A,useValue:function Ge(){_.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function _t(){return(0,r.RDi)(document),document},deps:[]}]),Pt=new r.OlP(""),At=[{provide:r.rWj,useClass:class m{addToWindow(Pe){r.dqk.getAngularTestability=(O,Q=!0)=>{const Fe=Pe.findTestabilityInTree(O,Q);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},r.dqk.getAllAngularTestabilities=()=>Pe.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>Pe.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(O=>{const Q=r.dqk.getAllAngularTestabilities();let Fe=Q.length,rt=!1;const Et=function(Dt){rt=rt||Dt,Fe--,0==Fe&&O(rt)};Q.forEach(function(Dt){Dt.whenStable(Et)})})}findTestabilityInTree(Pe,I,O){return null==I?null:Pe.getTestability(I)??(O?(0,o.q)().isShadowRoot(I)?this.findTestabilityInTree(Pe,I.host,!0):this.findTestabilityInTree(Pe,I.parentElement,!0):null)}},deps:[]},{provide:r.lri,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]}],nt=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function at(){return new r.qLn},deps:[]},{provide:S,useClass:Re,multi:!0,deps:[o.K0,r.R0b,r.Lbi]},{provide:S,useClass:se,multi:!0,deps:[o.K0]},{provide:j,useClass:j,deps:[v,te,r.AFp]},{provide:r.FYo,useExisting:j},{provide:x,useExisting:te},{provide:te,useClass:te,deps:[o.K0]},{provide:v,useClass:v,deps:[S,r.R0b]},{provide:o.JF,useClass:b,deps:[]},[]];let ft=(()=>{class ut{constructor(I){}static withServerTransition(I){return{ngModule:ut,providers:[{provide:r.AFp,useValue:I.appId},{provide:A,useExisting:r.AFp},B]}}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(Pt,12))},ut.\u0275mod=r.oAB({type:ut}),ut.\u0275inj=r.cJS({providers:[...nt,...At],imports:[o.ez,r.hGG]}),ut})(),U=(()=>{class ut{constructor(I){this._doc=I,this._dom=(0,o.q)()}addTag(I,O=!1){return I?this._getOrCreateElement(I,O):null}addTags(I,O=!1){return I?I.reduce((Q,Fe)=>(Fe&&Q.push(this._getOrCreateElement(Fe,O)),Q),[]):[]}getTag(I){return I&&this._doc.querySelector(`meta[${I}]`)||null}getTags(I){if(!I)return[];const O=this._doc.querySelectorAll(`meta[${I}]`);return O?[].slice.call(O):[]}updateTag(I,O){if(!I)return null;O=O||this._parseSelector(I);const Q=this.getTag(O);return Q?this._setMetaElementAttributes(I,Q):this._getOrCreateElement(I,!0)}removeTag(I){this.removeTagElement(this.getTag(I))}removeTagElement(I){I&&this._dom.remove(I)}_getOrCreateElement(I,O=!1){if(!O){const rt=this._parseSelector(I),Et=this.getTags(rt).filter(Dt=>this._containsAttributes(I,Dt))[0];if(void 0!==Et)return Et}const Q=this._dom.createElement("meta");return this._setMetaElementAttributes(I,Q),this._doc.getElementsByTagName("head")[0].appendChild(Q),Q}_setMetaElementAttributes(I,O){return Object.keys(I).forEach(Q=>O.setAttribute(this._getMetaKeyMap(Q),I[Q])),O}_parseSelector(I){const O=I.name?"name":"property";return`${O}="${I[O]}"`}_containsAttributes(I,O){return Object.keys(I).every(Q=>O.getAttribute(this._getMetaKeyMap(Q))===I[Q])}_getMetaKeyMap(I){return ie[I]||I}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function G(){return new U((0,r.LFG)(o.K0))}(),O},providedIn:"root"}),ut})();const ie={httpEquiv:"http-equiv"};let Te=(()=>{class ut{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function oe(){return new Te((0,r.LFG)(o.K0))}(),O},providedIn:"root"}),ut})();typeof window<"u"&&window;let Ut=(()=>{class ut{}return ut.\u0275fac=function(I){return new(I||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new(I||ut):r.LFG(Rt),O},providedIn:"root"}),ut})(),Rt=(()=>{class ut extends Ut{constructor(I){super(),this._doc=I}sanitize(I,O){if(null==O)return null;switch(I){case r.q3G.NONE:return O;case r.q3G.HTML:return(0,r.qzn)(O,"HTML")?(0,r.z3N)(O):(0,r.EiD)(this._doc,String(O)).toString();case r.q3G.STYLE:return(0,r.qzn)(O,"Style")?(0,r.z3N)(O):O;case r.q3G.SCRIPT:if((0,r.qzn)(O,"Script"))return(0,r.z3N)(O);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(O),(0,r.qzn)(O,"URL")?(0,r.z3N)(O):(0,r.mCW)(String(O));case r.q3G.RESOURCE_URL:if((0,r.qzn)(O,"ResourceURL"))return(0,r.z3N)(O);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${I} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(I){return(0,r.JVY)(I)}bypassSecurityTrustStyle(I){return(0,r.L6k)(I)}bypassSecurityTrustScript(I){return(0,r.eBb)(I)}bypassSecurityTrustUrl(I){return(0,r.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,r.pB0)(I)}}return ut.\u0275fac=function(I){return new(I||ut)(r.LFG(o.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:function(I){let O=null;return O=I?new I:function en(ut){return new Rt(ut.get(o.K0))}(r.LFG(r.zs3)),O},providedIn:"root"}),ut})()},3178:(Ue,J,s)=>{"use strict";s.d(J,{gz:()=>xn,m2:()=>me,F0:()=>hi,Od:()=>ss,yS:()=>wo,Bz:()=>fa,lC:()=>gi,bq:()=>Zt});var o=s(8692),r=s(4537),h=s(818),_=s(4813),f=s(2085),d=s(8499);function w(){return(0,f.e)((M,D)=>{let y=null;M._refCount++;const W=(0,d.x)(D,void 0,void 0,void 0,()=>{if(!M||M._refCount<=0||0<--M._refCount)return void(y=null);const ge=M._connection,$e=y;y=null,ge&&(!$e||ge===$e)&&ge.unsubscribe(),D.unsubscribe()});M.subscribe(W),W.closed||(y=M.connect())})}class L extends h.y{constructor(D,y){super(),this.source=D,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,f.A)(D)&&(this.lift=D.lift)}_subscribe(D){return this.getSubject().subscribe(D)}getSubject(){const D=this._subject;return(!D||D.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:D}=this;this._subject=this._connection=null,D?.unsubscribe()}connect(){let D=this._connection;if(!D){D=this._connection=new _.w0;const y=this.getSubject();D.add(this.source.subscribe((0,d.x)(y,void 0,()=>{this._teardown(),y.complete()},W=>{this._teardown(),y.error(W)},()=>this._teardown()))),D.closed&&(this._connection=null,D=_.w0.EMPTY)}return D}refCount(){return w()(this)}}var A=s(7108),g=s(4945),B=s(4121),m=s(5696),b=s(3787),S=s(7472),v=s(3729),H=s(3072),x=s(9018),te=s(8023);function Ee(M,D,y,W,ge){return($e,it)=>{let ht=y,Tt=D,jt=0;$e.subscribe((0,d.x)(it,vn=>{const Qt=jt++;Tt=ht?M(Tt,vn,Qt):(ht=!0,vn),W&&it.next(Tt)},ge&&(()=>{ht&&it.next(Tt),it.complete()})))}}function T(M,D){return(0,f.e)(Ee(M,D,arguments.length>=2,!0))}var ue=s(4970);function Z(M){return M<=0?()=>x.E:(0,f.e)((D,y)=>{let W=[];D.subscribe((0,d.x)(y,ge=>{W.push(ge),M{for(const ge of W)y.next(ge);y.complete()},void 0,()=>{W=null}))})}var Me=s(8623),Se=s(2686),ve=s(8330),De=s(7969),z=s(1528),Y=s(5598),V=s(1927),j=s(3568),X=s(4551),Ie=s(9676),ke=s(4882),tt=s(8168),lt=s(116),$=s(5490),Re=s(549),re=s(5998);class xe{constructor(D,y){this.id=D,this.url=y}}class Ke extends xe{constructor(D,y,W="imperative",ge=null){super(D,y),this.type=0,this.navigationTrigger=W,this.restoredState=ge}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class me extends xe{constructor(D,y,W){super(D,y),this.urlAfterRedirects=W,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class P extends xe{constructor(D,y,W){super(D,y),this.reason=W,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class se extends xe{constructor(D,y,W){super(D,y),this.error=W,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class He extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends xe{constructor(D,y,W,ge,$e){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.shouldActivate=$e,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ge extends xe{constructor(D,y,W,ge){super(D,y),this.urlAfterRedirects=W,this.state=ge,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class at{constructor(D){this.route=D,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _t{constructor(D){this.route=D,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xt{constructor(D){this.snapshot=D,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(D){this.snapshot=D,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pt{constructor(D){this.snapshot=D,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(D){this.snapshot=D,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(D,y,W){this.routerEvent=D,this.position=y,this.anchor=W,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const G="primary";class U{constructor(D){this.params=D||{}}has(D){return Object.prototype.hasOwnProperty.call(this.params,D)}get(D){if(this.has(D)){const y=this.params[D];return Array.isArray(y)?y[0]:y}return null}getAll(D){if(this.has(D)){const y=this.params[D];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function ie(M){return new U(M)}const oe="ngNavigationCancelingError";function Te(M){const D=Error("NavigationCancelingError: "+M);return D[oe]=!0,D}function Ze(M,D,y){const W=y.path.split("/");if(W.length>M.length||"full"===y.pathMatch&&(D.hasChildren()||W.lengthW[$e]===ge)}return M===D}function Ye(M){return Array.prototype.concat.apply([],M)}function et(M){return M.length>0?M[M.length-1]:null}function K(M,D){for(const y in M)M.hasOwnProperty(y)&&D(M[y],y)}function le(M){return(0,r.CqO)(M)?M:(0,r.QGY)(M)?(0,A.D)(Promise.resolve(M)):(0,g.of)(M)}const ae={exact:function Oe(M,D,y){if(!nn(M.segments,D.segments)||!mt(M.segments,D.segments,y)||M.numberOfChildren!==D.numberOfChildren)return!1;for(const W in D.children)if(!M.children[W]||!Oe(M.children[W],D.children[W],y))return!1;return!0},subset:Je},he={exact:function be(M,D){return Be(M,D)},subset:function Ae(M,D){return Object.keys(D).length<=Object.keys(M).length&&Object.keys(D).every(y=>We(M[y],D[y]))},ignored:()=>!0};function pe(M,D,y){return ae[y.paths](M.root,D.root,y.matrixParams)&&he[y.queryParams](M.queryParams,D.queryParams)&&!("exact"===y.fragment&&M.fragment!==D.fragment)}function Je(M,D,y){return ct(M,D,D.segments,y)}function ct(M,D,y,W){if(M.segments.length>y.length){const ge=M.segments.slice(0,y.length);return!(!nn(ge,y)||D.hasChildren()||!mt(ge,y,W))}if(M.segments.length===y.length){if(!nn(M.segments,y)||!mt(M.segments,y,W))return!1;for(const ge in D.children)if(!M.children[ge]||!Je(M.children[ge],D.children[ge],W))return!1;return!0}{const ge=y.slice(0,M.segments.length),$e=y.slice(M.segments.length);return!!(nn(M.segments,ge)&&mt(M.segments,ge,W)&&M.children[G])&&ct(M.children[G],D,$e,W)}}function mt(M,D,y){return D.every((W,ge)=>he[y](M[ge].parameters,W.parameters))}class Mt{constructor(D,y,W){this.root=D,this.queryParams=y,this.fragment=W}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return Rt.serialize(this)}}class St{constructor(D,y){this.segments=D,this.children=y,this.parent=null,K(y,(W,ge)=>W.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ht(this)}}class Zt{constructor(D,y){this.path=D,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=ie(this.parameters)),this._parameterMap}toString(){return Et(this)}}function nn(M,D){return M.length===D.length&&M.every((y,W)=>y.path===D[W].path)}class Ut{}class en{parse(D){const y=new Mn(D);return new Mt(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(D){const y=`/${ut(D.root,!0)}`,W=function Lt(M){const D=Object.keys(M).map(y=>{const W=M[y];return Array.isArray(W)?W.map(ge=>`${I(y)}=${I(ge)}`).join("&"):`${I(y)}=${I(W)}`}).filter(y=>!!y);return D.length?`?${D.join("&")}`:""}(D.queryParams);return`${y}${W}${"string"==typeof D.fragment?`#${function O(M){return encodeURI(M)}(D.fragment)}`:""}`}}const Rt=new en;function Ht(M){return M.segments.map(D=>Et(D)).join("/")}function ut(M,D){if(!M.hasChildren())return Ht(M);if(D){const y=M.children[G]?ut(M.children[G],!1):"",W=[];return K(M.children,(ge,$e)=>{$e!==G&&W.push(`${$e}:${ut(ge,!1)}`)}),W.length>0?`${y}(${W.join("//")})`:y}{const y=function ln(M,D){let y=[];return K(M.children,(W,ge)=>{ge===G&&(y=y.concat(D(W,ge)))}),K(M.children,(W,ge)=>{ge!==G&&(y=y.concat(D(W,ge)))}),y}(M,(W,ge)=>ge===G?[ut(M.children[G],!1)]:[`${ge}:${ut(W,!1)}`]);return 1===Object.keys(M.children).length&&null!=M.children[G]?`${Ht(M)}/${y[0]}`:`${Ht(M)}/(${y.join("//")})`}}function Pe(M){return encodeURIComponent(M).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function I(M){return Pe(M).replace(/%3B/gi,";")}function Q(M){return Pe(M).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fe(M){return decodeURIComponent(M)}function rt(M){return Fe(M.replace(/\+/g,"%20"))}function Et(M){return`${Q(M.path)}${function Dt(M){return Object.keys(M).map(D=>`;${Q(D)}=${Q(M[D])}`).join("")}(M.parameters)}`}const Kt=/^[^\/()?;=#]+/;function Yt(M){const D=M.match(Kt);return D?D[0]:""}const _n=/^[^=?&#]+/,Jt=/^[^&#]+/;class Mn{constructor(D){this.url=D,this.remaining=D}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const D={};if(this.consumeOptional("?"))do{this.parseQueryParam(D)}while(this.consumeOptional("&"));return D}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const D=[];for(this.peekStartsWith("(")||D.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),D.push(this.parseSegment());let y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1)),(D.length>0||Object.keys(y).length>0)&&(W[G]=new St(D,y)),W}parseSegment(){const D=Yt(this.remaining);if(""===D&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(D),new Zt(Fe(D),this.parseMatrixParams())}parseMatrixParams(){const D={};for(;this.consumeOptional(";");)this.parseParam(D);return D}parseParam(D){const y=Yt(this.remaining);if(!y)return;this.capture(y);let W="";if(this.consumeOptional("=")){const ge=Yt(this.remaining);ge&&(W=ge,this.capture(W))}D[Fe(y)]=Fe(W)}parseQueryParam(D){const y=function rn(M){const D=M.match(_n);return D?D[0]:""}(this.remaining);if(!y)return;this.capture(y);let W="";if(this.consumeOptional("=")){const it=function Fn(M){const D=M.match(Jt);return D?D[0]:""}(this.remaining);it&&(W=it,this.capture(W))}const ge=rt(y),$e=rt(W);if(D.hasOwnProperty(ge)){let it=D[ge];Array.isArray(it)||(it=[it],D[ge]=it),it.push($e)}else D[ge]=$e}parseParens(D){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=Yt(this.remaining),ge=this.remaining[W.length];if("/"!==ge&&")"!==ge&&";"!==ge)throw new Error(`Cannot parse url '${this.url}'`);let $e;W.indexOf(":")>-1?($e=W.slice(0,W.indexOf(":")),this.capture($e),this.capture(":")):D&&($e=G);const it=this.parseChildren();y[$e]=1===Object.keys(it).length?it[G]:new St([],it),this.consumeOptional("//")}return y}peekStartsWith(D){return this.remaining.startsWith(D)}consumeOptional(D){return!!this.peekStartsWith(D)&&(this.remaining=this.remaining.substring(D.length),!0)}capture(D){if(!this.consumeOptional(D))throw new Error(`Expected "${D}".`)}}class $n{constructor(D){this._root=D}get root(){return this._root.value}parent(D){const y=this.pathFromRoot(D);return y.length>1?y[y.length-2]:null}children(D){const y=Cn(D,this._root);return y?y.children.map(W=>W.value):[]}firstChild(D){const y=Cn(D,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(D){const y=an(D,this._root);return y.length<2?[]:y[y.length-2].children.map(ge=>ge.value).filter(ge=>ge!==D)}pathFromRoot(D){return an(D,this._root).map(y=>y.value)}}function Cn(M,D){if(M===D.value)return D;for(const y of D.children){const W=Cn(M,y);if(W)return W}return null}function an(M,D){if(M===D.value)return[D];for(const y of D.children){const W=an(M,y);if(W.length)return W.unshift(D),W}return[]}class Jn{constructor(D,y){this.value=D,this.children=y}toString(){return`TreeNode(${this.value})`}}function Bn(M){const D={};return M&&M.children.forEach(y=>D[y.value.outlet]=y),D}class zn extends $n{constructor(D,y){super(D),this.snapshot=y,ei(this,D)}toString(){return this.snapshot.toString()}}function Vn(M,D){const y=function qn(M,D){const it=new ni([],{},{},"",{},G,D,null,M.root,-1,{});return new Kn("",new Jn(it,[]))}(M,D),W=new B.X([new Zt("",{})]),ge=new B.X({}),$e=new B.X({}),it=new B.X({}),ht=new B.X(""),Tt=new xn(W,ge,it,ht,$e,G,D,y.root);return Tt.snapshot=y.root,new zn(new Jn(Tt,[]),y)}class xn{constructor(D,y,W,ge,$e,it,ht,Tt){this.url=D,this.params=y,this.queryParams=W,this.fragment=ge,this.data=$e,this.outlet=it,this.component=ht,this._futureSnapshot=Tt}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,De.U)(D=>ie(D)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,De.U)(D=>ie(D)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ti(M,D="emptyOnly"){const y=M.pathFromRoot;let W=0;if("always"!==D)for(W=y.length-1;W>=1;){const ge=y[W],$e=y[W-1];if(ge.routeConfig&&""===ge.routeConfig.path)W--;else{if($e.component)break;W--}}return function Yn(M){return M.reduce((D,y)=>({params:{...D.params,...y.params},data:{...D.data,...y.data},resolve:{...y.data,...D.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(W))}class ni{constructor(D,y,W,ge,$e,it,ht,Tt,jt,vn,Qt,Pn){this.url=D,this.params=y,this.queryParams=W,this.fragment=ge,this.data=$e,this.outlet=it,this.component=ht,this.routeConfig=Tt,this._urlSegment=jt,this._lastPathIndex=vn,this._correctedLastPathIndex=Pn??vn,this._resolve=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=ie(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(W=>W.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kn extends $n{constructor(D,y){super(y),this.url=D,ei(this,y)}toString(){return Xi(this._root)}}function ei(M,D){D.value._routerState=M,D.children.forEach(y=>ei(M,y))}function Xi(M){const D=M.children.length>0?` { ${M.children.map(Xi).join(", ")} } `:"";return`${M.value}${D}`}function Ai(M){if(M.snapshot){const D=M.snapshot,y=M._futureSnapshot;M.snapshot=y,Be(D.queryParams,y.queryParams)||M.queryParams.next(y.queryParams),D.fragment!==y.fragment&&M.fragment.next(y.fragment),Be(D.params,y.params)||M.params.next(y.params),function we(M,D){if(M.length!==D.length)return!1;for(let y=0;yBe(y.parameters,D[W].parameters))}(M.url,D.url);return y&&!(!M.parent!=!D.parent)&&(!M.parent||Fi(M.parent,D.parent))}function pr(M,D,y){if(y&&M.shouldReuseRoute(D.value,y.value.snapshot)){const W=y.value;W._futureSnapshot=D.value;const ge=function Oi(M,D,y){return D.children.map(W=>{for(const ge of y.children)if(M.shouldReuseRoute(W.value,ge.value.snapshot))return pr(M,W,ge);return pr(M,W)})}(M,D,y);return new Jn(W,ge)}{if(M.shouldAttach(D.value)){const $e=M.retrieve(D.value);if(null!==$e){const it=$e.route;return it.value._futureSnapshot=D.value,it.children=D.children.map(ht=>pr(M,ht)),it}}const W=function qi(M){return new xn(new B.X(M.url),new B.X(M.params),new B.X(M.queryParams),new B.X(M.fragment),new B.X(M.data),M.outlet,M.component,M)}(D.value),ge=D.children.map($e=>pr(M,$e));return new Jn(W,ge)}}function Li(M){return"object"==typeof M&&null!=M&&!M.outlets&&!M.segmentPath}function tr(M){return"object"==typeof M&&null!=M&&M.outlets}function ui(M,D,y,W,ge){let $e={};if(W&&K(W,(ht,Tt)=>{$e[Tt]=Array.isArray(ht)?ht.map(jt=>`${jt}`):`${ht}`}),M===D)return new Mt(y,$e,ge);const it=Ro(M,D,y);return new Mt(it,$e,ge)}function Ro(M,D,y){const W={};return K(M.children,(ge,$e)=>{W[$e]=ge===D?y:Ro(ge,D,y)}),new St(M.segments,W)}class Kr{constructor(D,y,W){if(this.isAbsolute=D,this.numberOfDoubleDots=y,this.commands=W,D&&W.length>0&&Li(W[0]))throw new Error("Root segment cannot have matrix parameters");const ge=W.find(tr);if(ge&&ge!==et(W))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nr{constructor(D,y,W){this.segmentGroup=D,this.processChildren=y,this.index=W}}function _r(M,D,y){if(M||(M=new St([],{})),0===M.segments.length&&M.hasChildren())return ir(M,D,y);const W=function ho(M,D,y){let W=0,ge=D;const $e={match:!1,pathIndex:0,commandIndex:0};for(;ge=y.length)return $e;const it=M.segments[ge],ht=y[W];if(tr(ht))break;const Tt=`${ht}`,jt=W0&&void 0===Tt)break;if(Tt&&jt&&"object"==typeof jt&&void 0===jt.outlets){if(!Fo(Tt,jt,it))return $e;W+=2}else{if(!Fo(Tt,{},it))return $e;W++}ge++}return{match:!0,pathIndex:ge,commandIndex:W}}(M,D,y),ge=y.slice(W.commandIndex);if(W.match&&W.pathIndex{"string"==typeof $e&&($e=[$e]),null!==$e&&(ge[it]=_r(M.children[it],D,$e))}),K(M.children,($e,it)=>{void 0===W[it]&&(ge[it]=$e)}),new St(M.segments,ge)}}function rr(M,D,y){const W=M.segments.slice(0,D);let ge=0;for(;ge{"string"==typeof y&&(y=[y]),null!==y&&(D[W]=rr(new St([],{}),0,y))}),D}function Ti(M){const D={};return K(M,(y,W)=>D[W]=`${y}`),D}function Fo(M,D,y){return M==y.path&&Be(D,y.parameters)}class Yr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new or,this.attachRef=null}}class or{constructor(){this.contexts=new Map}onChildOutletCreated(D,y){const W=this.getOrCreateContext(D);W.outlet=y,this.contexts.set(D,W)}onChildOutletDestroyed(D){const y=this.getContext(D);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const D=this.contexts;return this.contexts=new Map,D}onOutletReAttached(D){this.contexts=D}getOrCreateContext(D){let y=this.getContext(D);return y||(y=new Yr,this.contexts.set(D,y)),y}getContext(D){return this.contexts.get(D)||null}}let gi=(()=>{class M{constructor(y,W,ge,$e,it){this.parentContexts=y,this.location=W,this.changeDetector=$e,this.environmentInjector=it,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=ge||G,y.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const y=this.parentContexts.getContext(this.name);y&&y.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,W){this.activated=y,this._activatedRoute=W,this.location.insert(y.hostView),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,W){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=y;const ge=this.location,it=y._futureSnapshot.component,ht=this.parentContexts.getOrCreateContext(this.name).children,Tt=new Ui(y,ht,ge.injector);if(W&&function yr(M){return!!M.resolveComponentFactory}(W)){const jt=W.resolveComponentFactory(it);this.activated=ge.createComponent(jt,ge.length,Tt)}else this.activated=ge.createComponent(it,{index:ge.length,injector:Tt,environmentInjector:W??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(or),r.Y36(r.s_b),r.$8M("name"),r.Y36(r.sBO),r.Y36(r.lqb))},M.\u0275dir=r.lG2({type:M,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),M})();class Ui{constructor(D,y,W){this.route=D,this.childContexts=y,this.parent=W}get(D,y){return D===xn?this.route:D===or?this.childContexts:this.parent.get(D,y)}}let vr=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275cmp=r.Xpm({type:M,selectors:[["ng-component"]],decls:1,vars:0,template:function(y,W){1&y&&r._UZ(0,"router-outlet")},dependencies:[gi],encapsulation:2}),M})();function Qr(M,D){return M.providers&&!M._injector&&(M._injector=(0,r.MMx)(M.providers,D,`Route: ${M.path}`)),M._injector??D}function Dr(M){const D=M.children&&M.children.map(Dr),y=D?{...M,children:D}:{...M};return!y.component&&!y.loadComponent&&(D||y.loadChildren)&&y.outlet&&y.outlet!==G&&(y.component=vr),y}function Qn(M){return M.outlet||G}function Ni(M,D){const y=M.filter(W=>Qn(W)===D);return y.push(...M.filter(W=>Qn(W)!==D)),y}function mo(M){if(!M)return null;if(M.routeConfig?._injector)return M.routeConfig._injector;for(let D=M.parent;D;D=D.parent){const y=D.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class No{constructor(D,y,W,ge){this.routeReuseStrategy=D,this.futureState=y,this.currState=W,this.forwardEvent=ge}activate(D){const y=this.futureState._root,W=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,W,D),Ai(this.futureState.root),this.activateChildRoutes(y,W,D)}deactivateChildRoutes(D,y,W){const ge=Bn(y);D.children.forEach($e=>{const it=$e.value.outlet;this.deactivateRoutes($e,ge[it],W),delete ge[it]}),K(ge,($e,it)=>{this.deactivateRouteAndItsChildren($e,W)})}deactivateRoutes(D,y,W){const ge=D.value,$e=y?y.value:null;if(ge===$e)if(ge.component){const it=W.getContext(ge.outlet);it&&this.deactivateChildRoutes(D,y,it.children)}else this.deactivateChildRoutes(D,y,W);else $e&&this.deactivateRouteAndItsChildren(y,W)}deactivateRouteAndItsChildren(D,y){D.value.component&&this.routeReuseStrategy.shouldDetach(D.value.snapshot)?this.detachAndStoreRouteSubtree(D,y):this.deactivateRouteAndOutlet(D,y)}detachAndStoreRouteSubtree(D,y){const W=y.getContext(D.value.outlet),ge=W&&D.value.component?W.children:y,$e=Bn(D);for(const it of Object.keys($e))this.deactivateRouteAndItsChildren($e[it],ge);if(W&&W.outlet){const it=W.outlet.detach(),ht=W.children.onOutletDeactivated();this.routeReuseStrategy.store(D.value.snapshot,{componentRef:it,route:D,contexts:ht})}}deactivateRouteAndOutlet(D,y){const W=y.getContext(D.value.outlet),ge=W&&D.value.component?W.children:y,$e=Bn(D);for(const it of Object.keys($e))this.deactivateRouteAndItsChildren($e[it],ge);W&&W.outlet&&(W.outlet.deactivate(),W.children.onOutletDeactivated(),W.attachRef=null,W.resolver=null,W.route=null)}activateChildRoutes(D,y,W){const ge=Bn(y);D.children.forEach($e=>{this.activateRoutes($e,ge[$e.value.outlet],W),this.forwardEvent(new At($e.value.snapshot))}),D.children.length&&this.forwardEvent(new yt(D.value.snapshot))}activateRoutes(D,y,W){const ge=D.value,$e=y?y.value:null;if(Ai(ge),ge===$e)if(ge.component){const it=W.getOrCreateContext(ge.outlet);this.activateChildRoutes(D,y,it.children)}else this.activateChildRoutes(D,y,W);else if(ge.component){const it=W.getOrCreateContext(ge.outlet);if(this.routeReuseStrategy.shouldAttach(ge.snapshot)){const ht=this.routeReuseStrategy.retrieve(ge.snapshot);this.routeReuseStrategy.store(ge.snapshot,null),it.children.onOutletReAttached(ht.contexts),it.attachRef=ht.componentRef,it.route=ht.route.value,it.outlet&&it.outlet.attach(ht.componentRef,ht.route.value),Ai(ht.route.value),this.activateChildRoutes(D,null,it.children)}else{const ht=mo(ge.snapshot),Tt=ht?.get(r._Vd)??null;it.attachRef=null,it.route=ge,it.resolver=Tt,it.injector=ht,it.outlet&&it.outlet.activateWith(ge,it.injector),this.activateChildRoutes(D,null,it.children)}}else this.activateChildRoutes(D,null,W)}}function si(M){return"function"==typeof M}function gn(M){return M instanceof Mt}const je=Symbol("INITIAL_VALUE");function ee(){return(0,z.w)(M=>(0,m.a)(M.map(D=>D.pipe((0,Y.q)(1),(0,V.O)(je)))).pipe(T((D,y)=>{let W=!1;return y.reduce((ge,$e,it)=>ge!==je?ge:($e===je&&(W=!0),W||!1!==$e&&it!==y.length-1&&!gn($e)?ge:$e),D)},je),(0,ue.h)(D=>D!==je),(0,De.U)(D=>gn(D)?D:!0===D),(0,Y.q)(1)))}const ze={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gt(M,D,y){if(""===D.path)return"full"===D.pathMatch&&(M.hasChildren()||y.length>0)?{...ze}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const ge=(D.matcher||Ze)(y,M,D);if(!ge)return{...ze};const $e={};K(ge.posParams,(ht,Tt)=>{$e[Tt]=ht.path});const it=ge.consumed.length>0?{...$e,...ge.consumed[ge.consumed.length-1].parameters}:$e;return{matched:!0,consumedSegments:ge.consumed,remainingSegments:y.slice(ge.consumed.length),parameters:it,positionalParamSegments:ge.posParams??{}}}function wt(M,D,y,W,ge="corrected"){if(y.length>0&&function On(M,D,y){return y.some(W=>yn(M,D,W)&&Qn(W)!==G)}(M,y,W)){const it=new St(D,function Wt(M,D,y,W){const ge={};ge[G]=W,W._sourceSegment=M,W._segmentIndexShift=D.length;for(const $e of y)if(""===$e.path&&Qn($e)!==G){const it=new St([],{});it._sourceSegment=M,it._segmentIndexShift=D.length,ge[Qn($e)]=it}return ge}(M,D,W,new St(y,M.children)));return it._sourceSegment=M,it._segmentIndexShift=D.length,{segmentGroup:it,slicedSegments:[]}}if(0===y.length&&function Sn(M,D,y){return y.some(W=>yn(M,D,W))}(M,y,W)){const it=new St(M.segments,function kt(M,D,y,W,ge,$e){const it={};for(const ht of W)if(yn(M,y,ht)&&!ge[Qn(ht)]){const Tt=new St([],{});Tt._sourceSegment=M,Tt._segmentIndexShift="legacy"===$e?M.segments.length:D.length,it[Qn(ht)]=Tt}return{...ge,...it}}(M,D,y,W,M.children,ge));return it._sourceSegment=M,it._segmentIndexShift=D.length,{segmentGroup:it,slicedSegments:y}}const $e=new St(M.segments,M.children);return $e._sourceSegment=M,$e._segmentIndexShift=D.length,{segmentGroup:$e,slicedSegments:y}}function yn(M,D,y){return(!(M.hasChildren()||D.length>0)||"full"!==y.pathMatch)&&""===y.path}function un(M,D,y,W){return!!(Qn(M)===W||W!==G&&yn(D,y,M))&&("**"===M.path||gt(D,M,y).matched)}function jn(M,D,y){return 0===D.length&&!M.children[y]}class Dn{constructor(D){this.segmentGroup=D||null}}class Xt{constructor(D){this.urlTree=D}}function wi(M){return(0,b._)(new Dn(M))}function bi(M){return(0,b._)(new Xt(M))}class Gi{constructor(D,y,W,ge,$e){this.injector=D,this.configLoader=y,this.urlSerializer=W,this.urlTree=ge,this.config=$e,this.allowRedirects=!0}apply(){const D=wt(this.urlTree.root,[],[],this.config).segmentGroup,y=new St(D.segments,D.children);return this.expandSegmentGroup(this.injector,this.config,y,G).pipe((0,De.U)($e=>this.createUrlTree(ne($e),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,j.K)($e=>{if($e instanceof Xt)return this.allowRedirects=!1,this.match($e.urlTree);throw $e instanceof Dn?this.noMatchError($e):$e}))}match(D){return this.expandSegmentGroup(this.injector,this.config,D.root,G).pipe((0,De.U)(ge=>this.createUrlTree(ne(ge),D.queryParams,D.fragment))).pipe((0,j.K)(ge=>{throw ge instanceof Dn?this.noMatchError(ge):ge}))}noMatchError(D){return new Error(`Cannot match any routes. URL Segment: '${D.segmentGroup}'`)}createUrlTree(D,y,W){const ge=D.segments.length>0?new St([],{[G]:D}):D;return new Mt(ge,y,W)}expandSegmentGroup(D,y,W,ge){return 0===W.segments.length&&W.hasChildren()?this.expandChildren(D,y,W).pipe((0,De.U)($e=>new St([],$e))):this.expandSegment(D,W,y,W.segments,ge,!0)}expandChildren(D,y,W){const ge=[];for(const $e of Object.keys(W.children))"primary"===$e?ge.unshift($e):ge.push($e);return(0,A.D)(ge).pipe((0,X.b)($e=>{const it=W.children[$e],ht=Ni(y,$e);return this.expandSegmentGroup(D,ht,it,$e).pipe((0,De.U)(Tt=>({segment:Tt,outlet:$e})))}),T(($e,it)=>($e[it.outlet]=it.segment,$e),{}),function ye(M,D){const y=arguments.length>=2;return W=>W.pipe(M?(0,ue.h)((ge,$e)=>M(ge,$e,W)):ve.y,Z(1),y?(0,Se.d)(D):(0,Me.T)(()=>new S.K))}())}expandSegment(D,y,W,ge,$e,it){return(0,A.D)(W).pipe((0,X.b)(ht=>this.expandSegmentAgainstRoute(D,y,W,ht,ge,$e,it).pipe((0,j.K)(jt=>{if(jt instanceof Dn)return(0,g.of)(null);throw jt}))),(0,Ie.P)(ht=>!!ht),(0,j.K)((ht,Tt)=>{if(ht instanceof S.K||"EmptyError"===ht.name)return jn(y,ge,$e)?(0,g.of)(new St([],{})):wi(y);throw ht}))}expandSegmentAgainstRoute(D,y,W,ge,$e,it,ht){return un(ge,y,$e,it)?void 0===ge.redirectTo?this.matchSegmentAgainstRoute(D,y,ge,$e,it):ht&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it):wi(y):wi(y)}expandSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it){return"**"===ge.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(D,W,ge,it):this.expandRegularSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it)}expandWildCardWithParamsAgainstRouteUsingRedirect(D,y,W,ge){const $e=this.applyRedirectCommands([],W.redirectTo,{});return W.redirectTo.startsWith("/")?bi($e):this.lineralizeSegments(W,$e).pipe((0,ke.z)(it=>{const ht=new St(it,{});return this.expandSegment(D,ht,y,it,ge,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(D,y,W,ge,$e,it){const{matched:ht,consumedSegments:Tt,remainingSegments:jt,positionalParamSegments:vn}=gt(y,ge,$e);if(!ht)return wi(y);const Qt=this.applyRedirectCommands(Tt,ge.redirectTo,vn);return ge.redirectTo.startsWith("/")?bi(Qt):this.lineralizeSegments(ge,Qt).pipe((0,ke.z)(Pn=>this.expandSegment(D,y,W,Pn.concat(jt),it,!1)))}matchSegmentAgainstRoute(D,y,W,ge,$e){if("**"===W.path)return D=Qr(W,D),W.loadChildren?(W._loadedRoutes?(0,g.of)({routes:W._loadedRoutes,injector:W._loadedInjector}):this.configLoader.loadChildren(D,W)).pipe((0,De.U)(Qt=>(W._loadedRoutes=Qt.routes,W._loadedInjector=Qt.injector,new St(ge,{})))):(0,g.of)(new St(ge,{}));const{matched:it,consumedSegments:ht,remainingSegments:Tt}=gt(y,W,ge);return it?(D=Qr(W,D),this.getChildConfig(D,W,ge).pipe((0,ke.z)(vn=>{const Qt=vn.injector??D,Pn=vn.routes,{segmentGroup:Un,slicedSegments:ai}=wt(y,ht,Tt,Pn),Qi=new St(Un.segments,Un.children);if(0===ai.length&&Qi.hasChildren())return this.expandChildren(Qt,Pn,Qi).pipe((0,De.U)(no=>new St(ht,no)));if(0===Pn.length&&0===ai.length)return(0,g.of)(new St(ht,{}));const Tr=Qn(W)===$e;return this.expandSegment(Qt,Qi,Pn,ai,Tr?G:$e,!0).pipe((0,De.U)(Vr=>new St(ht.concat(Vr.segments),Vr.children)))}))):wi(y)}getChildConfig(D,y,W){return y.children?(0,g.of)({routes:y.children,injector:D}):y.loadChildren?void 0!==y._loadedRoutes?(0,g.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.runCanLoadGuards(D,y,W).pipe((0,ke.z)(ge=>ge?this.configLoader.loadChildren(D,y).pipe((0,tt.b)($e=>{y._loadedRoutes=$e.routes,y._loadedInjector=$e.injector})):function Bi(M){return(0,b._)(Te(`Cannot load children because the guard of the route "path: '${M.path}'" returned false`))}(y))):(0,g.of)({routes:[],injector:D})}runCanLoadGuards(D,y,W){const ge=y.canLoad;if(!ge||0===ge.length)return(0,g.of)(!0);const $e=ge.map(it=>{const ht=D.get(it);let Tt;if(function $i(M){return M&&si(M.canLoad)}(ht))Tt=ht.canLoad(y,W);else{if(!si(ht))throw new Error("Invalid CanLoad guard");Tt=ht(y,W)}return le(Tt)});return(0,g.of)($e).pipe(ee(),(0,tt.b)(it=>{if(!gn(it))return;const ht=Te(`Redirecting to "${this.urlSerializer.serialize(it)}"`);throw ht.url=it,ht}),(0,De.U)(it=>!0===it))}lineralizeSegments(D,y){let W=[],ge=y.root;for(;;){if(W=W.concat(ge.segments),0===ge.numberOfChildren)return(0,g.of)(W);if(ge.numberOfChildren>1||!ge.children[G])return(0,b._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${D.redirectTo}'`));ge=ge.children[G]}}applyRedirectCommands(D,y,W){return this.applyRedirectCreatreUrlTree(y,this.urlSerializer.parse(y),D,W)}applyRedirectCreatreUrlTree(D,y,W,ge){const $e=this.createSegmentGroup(D,y.root,W,ge);return new Mt($e,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(D,y){const W={};return K(D,(ge,$e)=>{if("string"==typeof ge&&ge.startsWith(":")){const ht=ge.substring(1);W[$e]=y[ht]}else W[$e]=ge}),W}createSegmentGroup(D,y,W,ge){const $e=this.createSegments(D,y.segments,W,ge);let it={};return K(y.children,(ht,Tt)=>{it[Tt]=this.createSegmentGroup(D,ht,W,ge)}),new St($e,it)}createSegments(D,y,W,ge){return y.map($e=>$e.path.startsWith(":")?this.findPosParam(D,$e,ge):this.findOrReturn($e,W))}findPosParam(D,y,W){const ge=W[y.path.substring(1)];if(!ge)throw new Error(`Cannot redirect to '${D}'. Cannot find '${y.path}'.`);return ge}findOrReturn(D,y){let W=0;for(const ge of y){if(ge.path===D.path)return y.splice(W),ge;W++}return D}}function ne(M){const D={};for(const W of Object.keys(M.children)){const $e=ne(M.children[W]);($e.segments.length>0||$e.hasChildren())&&(D[W]=$e)}return function yo(M){if(1===M.numberOfChildren&&M.children[G]){const D=M.children[G];return new St(M.segments.concat(D.segments),D.children)}return M}(new St(M.segments,D))}class F{constructor(D){this.path=D,this.route=this.path[this.path.length-1]}}class Ve{constructor(D,y){this.component=D,this.route=y}}function Ct(M,D,y){const W=M._root;return Wn(W,D?D._root:null,y,[W.value])}function In(M,D,y){return(mo(D)??y).get(M)}function Wn(M,D,y,W,ge={canDeactivateChecks:[],canActivateChecks:[]}){const $e=Bn(D);return M.children.forEach(it=>{(function di(M,D,y,W,ge={canDeactivateChecks:[],canActivateChecks:[]}){const $e=M.value,it=D?D.value:null,ht=y?y.getContext(M.value.outlet):null;if(it&&$e.routeConfig===it.routeConfig){const Tt=function Fr(M,D,y){if("function"==typeof y)return y(M,D);switch(y){case"pathParamsChange":return!nn(M.url,D.url);case"pathParamsOrQueryParamsChange":return!nn(M.url,D.url)||!Be(M.queryParams,D.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fi(M,D)||!Be(M.queryParams,D.queryParams);default:return!Fi(M,D)}}(it,$e,$e.routeConfig.runGuardsAndResolvers);Tt?ge.canActivateChecks.push(new F(W)):($e.data=it.data,$e._resolvedData=it._resolvedData),Wn(M,D,$e.component?ht?ht.children:null:y,W,ge),Tt&&ht&&ht.outlet&&ht.outlet.isActivated&&ge.canDeactivateChecks.push(new Ve(ht.outlet.component,it))}else it&&wr(D,ht,ge),ge.canActivateChecks.push(new F(W)),Wn(M,null,$e.component?ht?ht.children:null:y,W,ge)})(it,$e[it.value.outlet],y,W.concat([it.value]),ge),delete $e[it.value.outlet]}),K($e,(it,ht)=>wr(it,y.getContext(ht),ge)),ge}function wr(M,D,y){const W=Bn(M),ge=M.value;K(W,($e,it)=>{wr($e,ge.component?D?D.children.getContext(it):null:D,y)}),y.canDeactivateChecks.push(new Ve(ge.component&&D&&D.outlet&&D.outlet.isActivated?D.outlet.component:null,ge))}class ca{}function Es(M){return new h.y(D=>D.error(M))}class ua{constructor(D,y,W,ge,$e,it){this.rootComponentType=D,this.config=y,this.urlTree=W,this.url=ge,this.paramsInheritanceStrategy=$e,this.relativeLinkResolution=it}recognize(){const D=wt(this.urlTree.root,[],[],this.config.filter(it=>void 0===it.redirectTo),this.relativeLinkResolution).segmentGroup,y=this.processSegmentGroup(this.config,D,G);if(null===y)return null;const W=new ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),ge=new Jn(W,y),$e=new Kn(this.url,ge);return this.inheritParamsAndData($e._root),$e}inheritParamsAndData(D){const y=D.value,W=ti(y,this.paramsInheritanceStrategy);y.params=Object.freeze(W.params),y.data=Object.freeze(W.data),D.children.forEach(ge=>this.inheritParamsAndData(ge))}processSegmentGroup(D,y,W){return 0===y.segments.length&&y.hasChildren()?this.processChildren(D,y):this.processSegment(D,y,y.segments,W)}processChildren(D,y){const W=[];for(const $e of Object.keys(y.children)){const it=y.children[$e],ht=Ni(D,$e),Tt=this.processSegmentGroup(ht,it,$e);if(null===Tt)return null;W.push(...Tt)}const ge=Yi(W);return function Nr(M){M.sort((D,y)=>D.value.outlet===G?-1:y.value.outlet===G?1:D.value.outlet.localeCompare(y.value.outlet))}(ge),ge}processSegment(D,y,W,ge){for(const $e of D){const it=this.processSegmentAgainstRoute($e,y,W,ge);if(null!==it)return it}return jn(y,W,ge)?[]:null}processSegmentAgainstRoute(D,y,W,ge){if(D.redirectTo||!un(D,y,W,ge))return null;let $e,it=[],ht=[];if("**"===D.path){const Un=W.length>0?et(W).parameters:{},ai=ar(y)+W.length;$e=new ni(W,Un,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jo(D),Qn(D),D.component??D._loadedComponent??null,D,Mr(y),ai,rs(D),ai)}else{const Un=gt(y,D,W);if(!Un.matched)return null;it=Un.consumedSegments,ht=Un.remainingSegments;const ai=ar(y)+it.length;$e=new ni(it,Un.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jo(D),Qn(D),D.component??D._loadedComponent??null,D,Mr(y),ai,rs(D),ai)}const Tt=function Zr(M){return M.children?M.children:M.loadChildren?M._loadedRoutes:[]}(D),{segmentGroup:jt,slicedSegments:vn}=wt(y,it,ht,Tt.filter(Un=>void 0===Un.redirectTo),this.relativeLinkResolution);if(0===vn.length&&jt.hasChildren()){const Un=this.processChildren(Tt,jt);return null===Un?null:[new Jn($e,Un)]}if(0===Tt.length&&0===vn.length)return[new Jn($e,[])];const Qt=Qn(D)===ge,Pn=this.processSegment(Tt,jt,vn,Qt?G:ge);return null===Pn?null:[new Jn($e,Pn)]}}function Ds(M){const D=M.value.routeConfig;return D&&""===D.path&&void 0===D.redirectTo}function Yi(M){const D=[],y=new Set;for(const W of M){if(!Ds(W)){D.push(W);continue}const ge=D.find($e=>W.value.routeConfig===$e.value.routeConfig);void 0!==ge?(ge.children.push(...W.children),y.add(ge)):D.push(W)}for(const W of y){const ge=Yi(W.children);D.push(new Jn(W.value,ge))}return D.filter(W=>!y.has(W))}function Mr(M){let D=M;for(;D._sourceSegment;)D=D._sourceSegment;return D}function ar(M){let D=M,y=D._segmentIndexShift??0;for(;D._sourceSegment;)D=D._sourceSegment,y+=D._segmentIndexShift??0;return y-1}function jo(M){return M.data||{}}function rs(M){return M.resolve||{}}const Br=Symbol("RouteTitle");function Uo(M){return"string"==typeof M.title||null===M.title}function Ho(M){return(0,z.w)(D=>{const y=M(D);return y?(0,A.D)(y).pipe((0,De.U)(()=>D)):(0,g.of)(D)})}class bo extends class ha{shouldDetach(D){return!1}store(D,y){}shouldAttach(D){return!1}retrieve(D){return null}shouldReuseRoute(D,y){return D.routeConfig===y.routeConfig}}{}const Jr=new r.OlP("ROUTES");let Xr=(()=>{class M{constructor(y,W){this.injector=y,this.compiler=W,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,g.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);const W=le(y.loadComponent()).pipe((0,tt.b)($e=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=$e}),(0,$.x)(()=>{this.componentLoaders.delete(y)})),ge=new L(W,()=>new te.x).pipe(w());return this.componentLoaders.set(y,ge),ge}loadChildren(y,W){if(this.childrenLoaders.get(W))return this.childrenLoaders.get(W);if(W._loadedRoutes)return(0,g.of)({routes:W._loadedRoutes,injector:W._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(W);const $e=this.loadModuleFactoryOrRoutes(W.loadChildren).pipe((0,De.U)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(W);let Tt,jt,vn=!1;Array.isArray(ht)?jt=ht:(Tt=ht.create(y).injector,jt=Ye(Tt.get(Jr,[],r.XFs.Self|r.XFs.Optional)));return{routes:jt.map(Dr),injector:Tt}}),(0,$.x)(()=>{this.childrenLoaders.delete(W)})),it=new L($e,()=>new te.x).pipe(w());return this.childrenLoaders.set(W,it),it}loadModuleFactoryOrRoutes(y){return le(y()).pipe((0,ke.z)(W=>W instanceof r.YKP||Array.isArray(W)?(0,g.of)(W):(0,A.D)(this.compiler.compileModuleAsync(W))))}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(r.zs3),r.LFG(r.Sil))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();class os{shouldProcessUrl(D){return!0}extract(D){return D}merge(D,y){return D}}function Eo(M){throw M}function lr(M,D,y){return D.parse("/")}const Ei={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hi=(()=>{class M{constructor(y,W,ge,$e,it,ht,Tt){this.rootComponentType=y,this.urlSerializer=W,this.rootContexts=ge,this.location=$e,this.config=Tt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new te.x,this.errorHandler=Eo,this.malformedUriErrorHandler=lr,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,g.of)(void 0),this.urlHandlingStrategy=new os,this.routeReuseStrategy=new bo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=it.get(Xr),this.configLoader.onLoadEndListener=Pn=>this.triggerEvent(new _t(Pn)),this.configLoader.onLoadStartListener=Pn=>this.triggerEvent(new at(Pn)),this.ngModule=it.get(r.h0i),this.console=it.get(r.c2e);const Qt=it.get(r.R0b);this.isNgZoneEnabled=Qt instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(Tt),this.currentUrlTree=function _e(){return new Mt(new St([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Vn(this.currentUrlTree,this.rootComponentType),this.transitions=new B.X({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()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(y){const W=this.events;return y.pipe((0,ue.h)(ge=>0!==ge.id),(0,De.U)(ge=>({...ge,extractedUrl:this.urlHandlingStrategy.extract(ge.rawUrl)})),(0,z.w)(ge=>{let $e=!1,it=!1;return(0,g.of)(ge).pipe((0,tt.b)(ht=>{this.currentNavigation={id:ht.id,initialUrl:ht.rawUrl,extractedUrl:ht.extractedUrl,trigger:ht.source,extras:ht.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,z.w)(ht=>{const Tt=this.browserUrlTree.toString(),jt=!this.navigated||ht.extractedUrl.toString()!==Tt||Tt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||jt)&&this.urlHandlingStrategy.shouldProcessUrl(ht.rawUrl))return Do(ht.source)&&(this.browserUrlTree=ht.extractedUrl),(0,g.of)(ht).pipe((0,z.w)(Qt=>{const Pn=this.transitions.getValue();return W.next(new Ke(Qt.id,this.serializeUrl(Qt.extractedUrl),Qt.source,Qt.restoredState)),Pn!==this.transitions.getValue()?x.E:Promise.resolve(Qt)}),function k(M,D,y,W){return(0,z.w)(ge=>function _o(M,D,y,W,ge){return new Gi(M,D,y,W,ge).apply()}(M,D,y,ge.extractedUrl,W).pipe((0,De.U)($e=>({...ge,urlAfterRedirects:$e}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,tt.b)(Qt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Qt.urlAfterRedirects}}),function Cs(M,D,y,W,ge){return(0,ke.z)($e=>function vo(M,D,y,W,ge="emptyOnly",$e="legacy"){try{const it=new ua(M,D,y,W,ge,$e).recognize();return null===it?Es(new ca):(0,g.of)(it)}catch(it){return Es(it)}}(M,D,$e.urlAfterRedirects,y($e.urlAfterRedirects),W,ge).pipe((0,De.U)(it=>({...$e,targetSnapshot:it}))))}(this.rootComponentType,this.config,Qt=>this.serializeUrl(Qt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,tt.b)(Qt=>{if("eager"===this.urlUpdateStrategy){if(!Qt.extras.skipLocationChange){const Un=this.urlHandlingStrategy.merge(Qt.urlAfterRedirects,Qt.rawUrl);this.setBrowserUrl(Un,Qt)}this.browserUrlTree=Qt.urlAfterRedirects}const Pn=new Ce(Qt.id,this.serializeUrl(Qt.extractedUrl),this.serializeUrl(Qt.urlAfterRedirects),Qt.targetSnapshot);W.next(Pn)}));if(jt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Pn,extractedUrl:Un,source:ai,restoredState:Qi,extras:Tr}=ht,Jo=new Ke(Pn,this.serializeUrl(Un),ai,Qi);W.next(Jo);const Vr=Vn(Un,this.rootComponentType).snapshot;return(0,g.of)({...ht,targetSnapshot:Vr,urlAfterRedirects:Un,extras:{...Tr,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=ht.rawUrl,ht.resolve(null),x.E}),(0,tt.b)(ht=>{const Tt=new He(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot);this.triggerEvent(Tt)}),(0,De.U)(ht=>({...ht,guards:Ct(ht.targetSnapshot,ht.currentSnapshot,this.rootContexts)})),function Ka(M,D){return(0,ke.z)(y=>{const{targetSnapshot:W,currentSnapshot:ge,guards:{canActivateChecks:$e,canDeactivateChecks:it}}=y;return 0===it.length&&0===$e.length?(0,g.of)({...y,guardsResult:!0}):function la(M,D,y,W){return(0,A.D)(M).pipe((0,ke.z)(ge=>function Lr(M,D,y,W,ge){const $e=D&&D.routeConfig?D.routeConfig.canDeactivate:null;if(!$e||0===$e.length)return(0,g.of)(!0);const it=$e.map(ht=>{const Tt=In(ht,D,ge);let jt;if(function q(M){return M&&si(M.canDeactivate)}(Tt))jt=le(Tt.canDeactivate(M,D,y,W));else{if(!si(Tt))throw new Error("Invalid CanDeactivate guard");jt=le(Tt(M,D,y,W))}return jt.pipe((0,Ie.P)())});return(0,g.of)(it).pipe(ee())}(ge.component,ge.route,y,D,W)),(0,Ie.P)(ge=>!0!==ge,!0))}(it,W,ge,M).pipe((0,ke.z)(ht=>ht&&function Bo(M){return"boolean"==typeof M}(ht)?function Ya(M,D,y,W){return(0,A.D)(D).pipe((0,X.b)(ge=>(0,v.z)(function mi(M,D){return null!==M&&D&&D(new xt(M)),(0,g.of)(!0)}(ge.route.parent,W),function Vo(M,D){return null!==M&&D&&D(new Pt(M)),(0,g.of)(!0)}(ge.route,W),function ns(M,D,y){const W=D[D.length-1],$e=D.slice(0,D.length-1).reverse().map(it=>function Vt(M){const D=M.routeConfig?M.routeConfig.canActivateChild:null;return D&&0!==D.length?{node:M,guards:D}:null}(it)).filter(it=>null!==it).map(it=>(0,H.P)(()=>{const ht=it.guards.map(Tt=>{const jt=In(Tt,it.node,y);let vn;if(function Ln(M){return M&&si(M.canActivateChild)}(jt))vn=le(jt.canActivateChild(W,M));else{if(!si(jt))throw new Error("Invalid CanActivateChild guard");vn=le(jt(W,M))}return vn.pipe((0,Ie.P)())});return(0,g.of)(ht).pipe(ee())}));return(0,g.of)($e).pipe(ee())}(M,ge.path,y),function sr(M,D,y){const W=D.routeConfig?D.routeConfig.canActivate:null;if(!W||0===W.length)return(0,g.of)(!0);const ge=W.map($e=>(0,H.P)(()=>{const it=In($e,D,y);let ht;if(function zi(M){return M&&si(M.canActivate)}(it))ht=le(it.canActivate(D,M));else{if(!si(it))throw new Error("Invalid CanActivate guard");ht=le(it(D,M))}return ht.pipe((0,Ie.P)())}));return(0,g.of)(ge).pipe(ee())}(M,ge.route,y))),(0,Ie.P)(ge=>!0!==ge,!0))}(W,$e,M,D):(0,g.of)(ht)),(0,De.U)(ht=>({...y,guardsResult:ht})))})}(this.ngModule.injector,ht=>this.triggerEvent(ht)),(0,tt.b)(ht=>{if(gn(ht.guardsResult)){const jt=Te(`Redirecting to "${this.serializeUrl(ht.guardsResult)}"`);throw jt.url=ht.guardsResult,jt}const Tt=new Qe(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot,!!ht.guardsResult);this.triggerEvent(Tt)}),(0,ue.h)(ht=>!!ht.guardsResult||(this.restoreHistory(ht),this.cancelNavigationTransition(ht,""),!1)),Ho(ht=>{if(ht.guards.canActivateChecks.length)return(0,g.of)(ht).pipe((0,tt.b)(Tt=>{const jt=new st(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot);this.triggerEvent(jt)}),(0,z.w)(Tt=>{let jt=!1;return(0,g.of)(Tt).pipe(function da(M,D){return(0,ke.z)(y=>{const{targetSnapshot:W,guards:{canActivateChecks:ge}}=y;if(!ge.length)return(0,g.of)(y);let $e=0;return(0,A.D)(ge).pipe((0,X.b)(it=>function ws(M,D,y,W){const ge=M.routeConfig,$e=M._resolve;return void 0!==ge?.title&&!Uo(ge)&&($e[Br]=ge.title),function _i(M,D,y,W){const ge=function Sr(M){return[...Object.keys(M),...Object.getOwnPropertySymbols(M)]}(M);if(0===ge.length)return(0,g.of)({});const $e={};return(0,A.D)(ge).pipe((0,ke.z)(it=>function Gn(M,D,y,W){const ge=In(M,D,W);return le(ge.resolve?ge.resolve(D,y):ge(D,y))}(M[it],D,y,W).pipe((0,Ie.P)(),(0,tt.b)(ht=>{$e[it]=ht}))),Z(1),(0,lt.h)($e),(0,j.K)(it=>it instanceof S.K?x.E:(0,b._)(it)))}($e,M,D,W).pipe((0,De.U)(it=>(M._resolvedData=it,M.data=ti(M,y).resolve,ge&&Uo(ge)&&(M.data[Br]=ge.title),null)))}(it.route,W,M,D)),(0,tt.b)(()=>$e++),Z(1),(0,ke.z)(it=>$e===ge.length?(0,g.of)(y):x.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,tt.b)({next:()=>jt=!0,complete:()=>{jt||(this.restoreHistory(Tt),this.cancelNavigationTransition(Tt,"At least one route resolver didn't emit any value."))}}))}),(0,tt.b)(Tt=>{const jt=new Ge(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot);this.triggerEvent(jt)}))}),Ho(()=>this.afterPreactivation()),Ho(ht=>{const Tt=jt=>{const vn=[];jt.routeConfig?.loadComponent&&!jt.routeConfig._loadedComponent&&vn.push(this.configLoader.loadComponent(jt.routeConfig).pipe((0,tt.b)(Qt=>{jt.component=Qt}),(0,De.U)(()=>{})));for(const Qt of jt.children)vn.push(...Tt(Qt));return vn};return(0,m.a)(Tt(ht.targetSnapshot.root)).pipe((0,Se.d)(),(0,Y.q)(1))}),(0,De.U)(ht=>{const Tt=function oi(M,D,y){const W=pr(M,D._root,y?y._root:void 0);return new zn(W,D)}(this.routeReuseStrategy,ht.targetSnapshot,ht.currentRouterState);return{...ht,targetRouterState:Tt}}),(0,tt.b)(ht=>{this.currentUrlTree=ht.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ht.urlAfterRedirects,ht.rawUrl),this.routerState=ht.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ht.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ht),this.browserUrlTree=ht.urlAfterRedirects)}),((M,D,y)=>(0,De.U)(W=>(new No(D,W.targetRouterState,W.currentRouterState,y).activate(M),W)))(this.rootContexts,this.routeReuseStrategy,ht=>this.triggerEvent(ht)),(0,tt.b)({next(){$e=!0},complete(){$e=!0}}),(0,$.x)(()=>{$e||it||this.cancelNavigationTransition(ge,`Navigation ID ${ge.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===ge.id&&(this.currentNavigation=null)}),(0,j.K)(ht=>{if(it=!0,function Xe(M){return M&&M[oe]}(ht)){const Tt=gn(ht.url);Tt||(this.navigated=!0,this.restoreHistory(ge,!0));const jt=new P(ge.id,this.serializeUrl(ge.extractedUrl),ht.message);if(W.next(jt),Tt){const vn=this.urlHandlingStrategy.merge(ht.url,this.rawUrlTree),Qt={skipLocationChange:ge.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Do(ge.source)};this.scheduleNavigation(vn,"imperative",null,Qt,{resolve:ge.resolve,reject:ge.reject,promise:ge.promise})}else ge.resolve(!1)}else{this.restoreHistory(ge,!0);const Tt=new se(ge.id,this.serializeUrl(ge.extractedUrl),ht);W.next(Tt);try{ge.resolve(this.errorHandler(ht))}catch(jt){ge.reject(jt)}}return x.E}))}))}resetRootComponentType(y){this.rootComponentType=y,this.routerState.root.component=this.rootComponentType}setTransition(y){this.transitions.next({...this.transitions.value,...y})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(y=>{const W="popstate"===y.type?"popstate":"hashchange";"popstate"===W&&setTimeout(()=>{const ge={replaceUrl:!0},$e=y.state?.navigationId?y.state:null;if($e){const ht={...$e};delete ht.navigationId,delete ht.\u0275routerPageId,0!==Object.keys(ht).length&&(ge.state=ht)}const it=this.parseUrl(y.url);this.scheduleNavigation(it,W,$e,ge)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(y){this.events.next(y)}resetConfig(y){this.config=y.map(Dr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(y,W={}){const{relativeTo:ge,queryParams:$e,fragment:it,queryParamsHandling:ht,preserveFragment:Tt}=W,jt=ge||this.routerState.root,vn=Tt?this.currentUrlTree.fragment:it;let Qt=null;switch(ht){case"merge":Qt={...this.currentUrlTree.queryParams,...$e};break;case"preserve":Qt=this.currentUrlTree.queryParams;break;default:Qt=$e||null}return null!==Qt&&(Qt=this.removeEmptyProps(Qt)),function er(M,D,y,W,ge){if(0===y.length)return ui(D.root,D.root,D.root,W,ge);const $e=function ko(M){if("string"==typeof M[0]&&1===M.length&&"/"===M[0])return new Kr(!0,0,M);let D=0,y=!1;const W=M.reduce((ge,$e,it)=>{if("object"==typeof $e&&null!=$e){if($e.outlets){const ht={};return K($e.outlets,(Tt,jt)=>{ht[jt]="string"==typeof Tt?Tt.split("/"):Tt}),[...ge,{outlets:ht}]}if($e.segmentPath)return[...ge,$e.segmentPath]}return"string"!=typeof $e?[...ge,$e]:0===it?($e.split("/").forEach((ht,Tt)=>{0==Tt&&"."===ht||(0==Tt&&""===ht?y=!0:".."===ht?D++:""!=ht&&ge.push(ht))}),ge):[...ge,$e]},[]);return new Kr(y,D,W)}(y);return $e.toRoot()?ui(D.root,D.root,new St([],{}),W,ge):function it(Tt){const jt=function uo(M,D,y,W){return M.isAbsolute?new nr(D.root,!0,0):-1===W?new nr(y,y===D.root,0):function gr(M,D,y){let W=M,ge=D,$e=y;for(;$e>ge;){if($e-=ge,W=W.parent,!W)throw new Error("Invalid number of '../'");ge=W.segments.length}return new nr(W,!1,ge-$e)}(y,W+(Li(M.commands[0])?0:1),M.numberOfDoubleDots)}($e,D,M.snapshot?._urlSegment,Tt),vn=jt.processChildren?ir(jt.segmentGroup,jt.index,$e.commands):_r(jt.segmentGroup,jt.index,$e.commands);return ui(D.root,jt.segmentGroup,vn,W,ge)}(M.snapshot?._lastPathIndex)}(jt,this.currentUrlTree,y,Qt,vn??null)}navigateByUrl(y,W={skipLocationChange:!1}){const ge=gn(y)?y:this.parseUrl(y),$e=this.urlHandlingStrategy.merge(ge,this.rawUrlTree);return this.scheduleNavigation($e,"imperative",null,W)}navigate(y,W={skipLocationChange:!1}){return function qr(M){for(let D=0;D{const $e=y[ge];return null!=$e&&(W[ge]=$e),W},{})}processNavigations(){this.navigations.subscribe(y=>{this.navigated=!0,this.lastSuccessfulId=y.id,this.currentPageId=y.targetPageId,this.events.next(new me(y.id,this.serializeUrl(y.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),y.resolve(!0)},y=>{this.console.warn(`Unhandled Navigation Error: ${y}`)})}scheduleNavigation(y,W,ge,$e,it){if(this.disposed)return Promise.resolve(!1);let ht,Tt,jt;it?(ht=it.resolve,Tt=it.reject,jt=it.promise):jt=new Promise((Pn,Un)=>{ht=Pn,Tt=Un});const vn=++this.navigationId;let Qt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ge=this.location.getState()),Qt=ge&&ge.\u0275routerPageId?ge.\u0275routerPageId:$e.replaceUrl||$e.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Qt=0,this.setTransition({id:vn,targetPageId:Qt,source:W,restoredState:ge,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:y,extras:$e,resolve:ht,reject:Tt,promise:jt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),jt.catch(Pn=>Promise.reject(Pn))}setBrowserUrl(y,W){const ge=this.urlSerializer.serialize(y),$e={...W.extras.state,...this.generateNgRouterState(W.id,W.targetPageId)};this.location.isCurrentPathEqualTo(ge)||W.extras.replaceUrl?this.location.replaceState(ge,"",$e):this.location.go(ge,"",$e)}restoreHistory(y,W=!1){if("computed"===this.canceledNavigationResolution){const ge=this.currentPageId-y.targetPageId;"popstate"!==y.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===ge?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===ge&&(this.resetState(y),this.browserUrlTree=y.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ge)}else"replace"===this.canceledNavigationResolution&&(W&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=y.currentRouterState,this.currentUrlTree=y.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(y,W){const ge=new P(y.id,this.serializeUrl(y.extractedUrl),W);this.triggerEvent(ge),y.resolve(!1)}generateNgRouterState(y,W){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:W}:{navigationId:y}}}return M.\u0275fac=function(y){r.$Z()},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();function Do(M){return"imperative"!==M}let Co=(()=>{class M{constructor(y,W,ge,$e,it){this.router=y,this.route=W,this.tabIndexAttribute=ge,this.renderer=$e,this.el=it,this.commands=null,this.onChanges=new te.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(y){if(null!=this.tabIndexAttribute)return;const W=this.renderer,ge=this.el.nativeElement;null!==y?W.setAttribute(ge,"tabindex",y):W.removeAttribute(ge,"tabindex")}ngOnChanges(y){this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const y={skipLocationChange:(0,r.D6c)(this.skipLocationChange),replaceUrl:(0,r.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,y),!0}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:(0,r.D6c)(this.preserveFragment)})}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(xn),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},M.\u0275dir=r.lG2({type:M,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(y,W){1&y&&r.NdJ("click",function(){return W.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),M})(),wo=(()=>{class M{constructor(y,W,ge){this.router=y,this.route=W,this.locationStrategy=ge,this.commands=null,this.href=null,this.onChanges=new te.x,this.subscription=y.events.subscribe($e=>{$e instanceof me&&this.updateTargetUrlAndHref()})}set routerLink(y){this.commands=null!=y?Array.isArray(y)?y:[y]:null}ngOnChanges(y){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(y,W,ge,$e,it){if(0!==y||W||ge||$e||it||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ht={skipLocationChange:(0,r.D6c)(this.skipLocationChange),replaceUrl:(0,r.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ht),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:(0,r.D6c)(this.preserveFragment)})}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(xn),r.Y36(o.S$))},M.\u0275dir=r.lG2({type:M,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(y,W){1&y&&r.NdJ("click",function($e){return W.onClick($e.button,$e.ctrlKey,$e.shiftKey,$e.altKey,$e.metaKey)}),2&y&&r.uIk("target",W.target)("href",W.href,r.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),M})(),ss=(()=>{class M{constructor(y,W,ge,$e,it,ht){this.router=y,this.element=W,this.renderer=ge,this.cdr=$e,this.link=it,this.linkWithHref=ht,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=y.events.subscribe(Tt=>{Tt instanceof me&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,this.linksWithHrefs.changes,(0,g.of)(null)).pipe((0,Re.J)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(W=>!!W).map(W=>W.onChanges);this.linkInputChangesSubscription=(0,A.D)(y).pipe((0,Re.J)()).subscribe(W=>{this.isActive!==this.isLinkActive(this.router)(W)&&this.update()})}set routerLinkActive(y){const W=Array.isArray(y)?y:y.split(" ");this.classes=W.filter(ge=>!!ge)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const y=this.hasActiveLinks();this.isActive!==y&&(this.isActive=y,this.cdr.markForCheck(),this.classes.forEach(W=>{y?this.renderer.addClass(this.element.nativeElement,W):this.renderer.removeClass(this.element.nativeElement,W)}),y&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(y))})}isLinkActive(y){const W=function as(M){return!!M.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ge=>!!ge.urlTree&&y.isActive(ge.urlTree,W)}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.linkWithHref&&y(this.linkWithHref)||this.links.some(y)||this.linksWithHrefs.some(y)}}return M.\u0275fac=function(y){return new(y||M)(r.Y36(hi),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(Co,8),r.Y36(wo,8))},M.\u0275dir=r.lG2({type:M,selectors:[["","routerLinkActive",""]],contentQueries:function(y,W,ge){if(1&y&&(r.Suo(ge,Co,5),r.Suo(ge,wo,5)),2&y){let $e;r.iGM($e=r.CRH())&&(W.links=$e),r.iGM($e=r.CRH())&&(W.linksWithHrefs=$e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[r.TTD]}),M})();class eo{buildTitle(D){let y,W=D.root;for(;void 0!==W;)y=this.getResolvedTitleForRoute(W)??y,W=W.children.find(ge=>ge.outlet===G);return y}getResolvedTitleForRoute(D){return D.data[Br]}}let Os=(()=>{class M extends eo{constructor(y){super(),this.title=y}updateTitle(y){const W=this.buildTitle(y);void 0!==W&&this.title.setTitle(W)}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(re.Dx))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();class cr{}class to{preload(D,y){return(0,g.of)(null)}}let ls=(()=>{class M{constructor(y,W,ge,$e,it){this.router=y,this.injector=ge,this.preloadingStrategy=$e,this.loader=it}setUpPreloading(){this.subscription=this.router.events.pipe((0,ue.h)(y=>y instanceof me),(0,X.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,W){const ge=[];for(const $e of W){$e.providers&&!$e._injector&&($e._injector=(0,r.MMx)($e.providers,y,`Route: ${$e.path}`));const it=$e._injector??y,ht=$e._loadedInjector??it;$e.loadChildren&&!$e._loadedRoutes||$e.loadComponent&&!$e._loadedComponent?ge.push(this.preloadConfig(it,$e)):($e.children||$e._loadedRoutes)&&ge.push(this.processRoutes(ht,$e.children??$e._loadedRoutes))}return(0,A.D)(ge).pipe((0,Re.J)())}preloadConfig(y,W){return this.preloadingStrategy.preload(W,()=>{let ge;ge=W.loadChildren&&void 0===W.canLoad?this.loader.loadChildren(y,W):(0,g.of)(null);const $e=ge.pipe((0,ke.z)(it=>null===it?(0,g.of)(void 0):(W._loadedRoutes=it.routes,W._loadedInjector=it.injector,this.processRoutes(it.injector??y,it.routes))));if(W.loadComponent&&!W._loadedComponent){const it=this.loader.loadComponent(W);return(0,A.D)([$e,it]).pipe((0,Re.J)())}return $e})}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(hi),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(cr),r.LFG(Xr))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})(),Ar=(()=>{class M{constructor(y,W,ge={}){this.router=y,this.viewportScroller=W,this.options=ge,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ge.scrollPositionRestoration=ge.scrollPositionRestoration||"disabled",ge.anchorScrolling=ge.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(y=>{y instanceof Ke?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof me&&(this.lastId=y.id,this.scheduleScrollEvent(y,this.router.parseUrl(y.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(y=>{y instanceof nt&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,W){this.router.triggerEvent(new nt(y,"popstate"===this.lastSource?this.store[this.restoredId]:null,W))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return M.\u0275fac=function(y){r.$Z()},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();const xi=new r.OlP("ROUTER_CONFIGURATION"),Mo=new r.OlP("ROUTER_FORROOT_GUARD"),Go=[o.Ye,{provide:Ut,useClass:en},{provide:hi,useFactory:function Ko(M,D,y,W,ge,$e,it={},ht,Tt,jt,vn){const Qt=new hi(null,M,D,y,W,ge,Ye($e));return jt&&(Qt.urlHandlingStrategy=jt),vn&&(Qt.routeReuseStrategy=vn),Qt.titleStrategy=Tt??ht,function Ts(M,D){M.errorHandler&&(D.errorHandler=M.errorHandler),M.malformedUriErrorHandler&&(D.malformedUriErrorHandler=M.malformedUriErrorHandler),M.onSameUrlNavigation&&(D.onSameUrlNavigation=M.onSameUrlNavigation),M.paramsInheritanceStrategy&&(D.paramsInheritanceStrategy=M.paramsInheritanceStrategy),M.relativeLinkResolution&&(D.relativeLinkResolution=M.relativeLinkResolution),M.urlUpdateStrategy&&(D.urlUpdateStrategy=M.urlUpdateStrategy),M.canceledNavigationResolution&&(D.canceledNavigationResolution=M.canceledNavigationResolution)}(it,Qt),Qt},deps:[Ut,or,o.Ye,r.zs3,r.Sil,Jr,xi,Os,[eo,new r.FiY],[class $o{},new r.FiY],[class Ms{},new r.FiY]]},or,{provide:xn,useFactory:function xs(M){return M.routerState.root},deps:[hi]},ls,to,class Wo{preload(D,y){return y().pipe((0,j.K)(()=>(0,g.of)(null)))}},{provide:xi,useValue:{enableTracing:!1}},Xr];function cs(){return new r.PXZ("Router",hi)}let fa=(()=>{class M{constructor(y,W){}static forRoot(y,W){return{ngModule:M,providers:[Go,ma(y),{provide:Mo,useFactory:ur,deps:[[hi,new r.FiY,new r.tp0]]},{provide:xi,useValue:W||{}},{provide:o.S$,useFactory:ga,deps:[o.lw,[new r.tBr(o.mr),new r.FiY],xi]},{provide:Ar,useFactory:pa,deps:[hi,o.EM,xi]},{provide:cr,useExisting:W&&W.preloadingStrategy?W.preloadingStrategy:to},{provide:r.PXZ,multi:!0,useFactory:cs},[Or,{provide:r.ip1,multi:!0,useFactory:Yo,deps:[Or]},{provide:Zo,useFactory:Qo,deps:[Or]},{provide:r.tb,multi:!0,useExisting:Zo}]]}}static forChild(y){return{ngModule:M,providers:[ma(y)]}}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(Mo,8),r.LFG(hi,8))},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({}),M})();function pa(M,D,y){return y.scrollOffset&&D.setOffset(y.scrollOffset),new Ar(M,D,y)}function ga(M,D,y={}){return y.useHash?new o.Do(M,D):new o.b0(M,D)}function ur(M){return"guarded"}function ma(M){return[{provide:r.deG,multi:!0,useValue:M},{provide:Jr,multi:!0,useValue:M}]}let Or=(()=>{class M{constructor(y){this.injector=y,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new te.x}appInitializer(){return this.injector.get(o.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let W=null;const ge=new Promise(ht=>W=ht),$e=this.injector.get(hi),it=this.injector.get(xi);return"disabled"===it.initialNavigation?($e.setUpLocationChangeListener(),W(!0)):"enabledBlocking"===it.initialNavigation?($e.afterPreactivation=()=>this.initNavigation?(0,g.of)(void 0):(this.initNavigation=!0,W(!0),this.resultOfPreactivationDone),$e.initialNavigation()):W(!0),ge})}bootstrapListener(y){const W=this.injector.get(xi),ge=this.injector.get(ls),$e=this.injector.get(Ar),it=this.injector.get(hi),ht=this.injector.get(r.z2F);y===ht.components[0]&&(("enabledNonBlocking"===W.initialNavigation||void 0===W.initialNavigation)&&it.initialNavigation(),ge.setUpPreloading(),$e.init(),it.resetRootComponentType(ht.componentTypes[0]),this.resultOfPreactivationDone.next(void 0),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return M.\u0275fac=function(y){return new(y||M)(r.LFG(r.zs3))},M.\u0275prov=r.Yz7({token:M,factory:M.\u0275fac}),M})();function Yo(M){return M.appInitializer.bind(M)}function Qo(M){return M.bootstrapListener.bind(M)}const Zo=new r.OlP("Router Initializer")},6835:(Ue,J,s)=>{"use strict";s.d(J,{R:()=>_});var o=s(4762),r=s(1747),h=s(1598),_=function(){function f(){this.getFragmentDoc=(0,r.re)(h.Yk)}return f.prototype.batch=function(d){var A,w=this;return this.performTransaction(function(){return A=d.update(w)},"string"==typeof d.optimistic?d.optimistic:!1===d.optimistic?null:void 0),A},f.prototype.recordOptimisticTransaction=function(d,w){this.performTransaction(d,w)},f.prototype.transformDocument=function(d){return d},f.prototype.identify=function(d){},f.prototype.gc=function(){return[]},f.prototype.modify=function(d){return!1},f.prototype.transformForLink=function(d){return d},f.prototype.readQuery=function(d,w){return void 0===w&&(w=!!d.optimistic),this.read((0,o.pi)((0,o.pi)({},d),{rootId:d.id||"ROOT_QUERY",optimistic:w}))},f.prototype.readFragment=function(d,w){return void 0===w&&(w=!!d.optimistic),this.read((0,o.pi)((0,o.pi)({},d),{query:this.getFragmentDoc(d.fragment,d.fragmentName),rootId:d.id,optimistic:w}))},f.prototype.writeQuery=function(d){var w=d.id,L=d.data,A=(0,o._T)(d,["id","data"]);return this.write(Object.assign(A,{dataId:w||"ROOT_QUERY",result:L}))},f.prototype.writeFragment=function(d){var w=d.id,L=d.data,A=d.fragment,g=d.fragmentName,B=(0,o._T)(d,["id","data","fragment","fragmentName"]);return this.write(Object.assign(B,{query:this.getFragmentDoc(A,g),dataId:w,result:L}))},f.prototype.updateQuery=function(d,w){return this.batch({update:function(L){var A=L.readQuery(d),g=w(A);return null==g?A:(L.writeQuery((0,o.pi)((0,o.pi)({},d),{data:g})),g)}})},f.prototype.updateFragment=function(d,w){return this.batch({update:function(L){var A=L.readFragment(d),g=w(A);return null==g?A:(L.writeFragment((0,o.pi)((0,o.pi)({},d),{data:g})),g)}})},f}()},4699:(Ue,J,s)=>{"use strict";s.d(J,{y:()=>o});var o=function r(h,_,f,d){this.message=h,this.path=_,this.query=f,this.variables=d}},460:(Ue,J,s)=>{"use strict";s.d(J,{$O:()=>m,E_:()=>b,RC:()=>S,RI:()=>d,ig:()=>H,j:()=>v,jS:()=>A,jp:()=>B,kJ:()=>x,lg:()=>g,uG:()=>w});var o=s(4155),r=s(9737),h=s(9231),_=s(443),f=s(6216),d=Object.prototype.hasOwnProperty;function w(te,Ee){var T=te.__typename,ue=te.id,Z=te._id;if("string"==typeof T&&(Ee&&(Ee.keyObject=void 0!==ue?{id:ue}:void 0!==Z?{_id:Z}:void 0),void 0===ue&&(ue=Z),void 0!==ue))return"".concat(T,":").concat("number"==typeof ue||"string"==typeof ue?ue:JSON.stringify(ue))}var L={dataIdFromObject:w,addTypename:!0,resultCaching:!0,canonizeResults:!1};function A(te){return(0,o.o)(L,te)}function g(te){var Ee=te.canonizeResults;return void 0===Ee?L.canonizeResults:Ee}function B(te,Ee){return(0,r.Yk)(Ee)?te.get(Ee.__ref,"__typename"):Ee&&Ee.__typename}var m=/^[_a-z][_0-9a-z]*/i;function b(te){var Ee=te.match(m);return Ee?Ee[0]:te}function S(te,Ee,T){return!!(0,h.s)(Ee)&&(x(Ee)?Ee.every(function(ue){return S(te,ue,T)}):te.selections.every(function(ue){if((0,r.My)(ue)&&(0,_.LZ)(ue,T)){var Z=(0,r.u2)(ue);return d.call(Ee,Z)&&(!ue.selectionSet||S(ue.selectionSet,Ee[Z],T))}return!0}))}function v(te){return(0,h.s)(te)&&!(0,r.Yk)(te)&&!x(te)}function H(){return new f.w0}var x=function(te){return Array.isArray(te)}},1132:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>et});var o=s(4762),r=s(138),h=s(1747),_=s(1913),f=s(6835),d=s(4699),w=s(9737),L=s(8234),A=s(7289),g=s(4155),B=s(1144),m=s(1598),b=s(6216),S=s(443),v=s(9231);function te(de){return __DEV__&&function H(de){var K=new Set([de]);return K.forEach(function(le){(0,v.s)(le)&&function x(de){if(__DEV__&&!Object.isFrozen(de))try{Object.freeze(de)}catch(K){if(K instanceof TypeError)return null;throw K}return de}(le)===le&&Object.getOwnPropertyNames(le).forEach(function(_e){(0,v.s)(le[_e])&&K.add(le[_e])})}),de}(de),de}var de,K,Ee=s(2844),T=s(460),ue=Object.create(null),Z=function(){return ue},Me=Object.create(null),Se=function(){function de(K,le){var _e=this;this.policies=K,this.group=le,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(ae,he){return te((0,w.Yk)(ae)?_e.get(ae.__ref,he):ae&&ae[he])},this.canRead=function(ae){return(0,w.Yk)(ae)?_e.has(ae.__ref):"object"==typeof ae},this.toReference=function(ae,he){if("string"==typeof ae)return(0,w.kQ)(ae);if((0,w.Yk)(ae))return ae;var pe=_e.policies.identify(ae)[0];if(pe){var be=(0,w.kQ)(pe);return he&&_e.merge(pe,ae),be}}}return de.prototype.toObject=function(){return(0,o.pi)({},this.data)},de.prototype.has=function(K){return void 0!==this.lookup(K,!0)},de.prototype.get=function(K,le){if(this.group.depend(K,le),T.RI.call(this.data,K)){var _e=this.data[K];if(_e&&T.RI.call(_e,le))return _e[le]}return"__typename"===le&&T.RI.call(this.policies.rootTypenamesById,K)?this.policies.rootTypenamesById[K]:this instanceof z?this.parent.get(K,le):void 0},de.prototype.lookup=function(K,le){return le&&this.group.depend(K,"__exists"),T.RI.call(this.data,K)?this.data[K]:this instanceof z?this.parent.lookup(K,le):this.policies.rootTypenamesById[K]?Object.create(null):void 0},de.prototype.merge=function(K,le){var ae,_e=this;(0,w.Yk)(K)&&(K=K.__ref),(0,w.Yk)(le)&&(le=le.__ref);var he="string"==typeof K?this.lookup(ae=K):K,pe="string"==typeof le?this.lookup(ae=le):le;if(pe){__DEV__?(0,r.kG)("string"==typeof ae,"store.merge expects a string ID"):(0,r.kG)("string"==typeof ae,1);var be=new b.w0(V).merge(he,pe);if(this.data[ae]=be,be!==he&&(delete this.refs[ae],this.group.caching)){var Oe=Object.create(null);he||(Oe.__exists=1),Object.keys(pe).forEach(function(Ae){if(!he||he[Ae]!==be[Ae]){Oe[Ae]=1;var Je=(0,T.E_)(Ae);Je!==Ae&&!_e.policies.hasKeyArgs(be.__typename,Je)&&(Oe[Je]=1),void 0===be[Ae]&&!(_e instanceof z)&&delete be[Ae]}}),Oe.__typename&&!(he&&he.__typename)&&this.policies.rootTypenamesById[ae]===be.__typename&&delete Oe.__typename,Object.keys(Oe).forEach(function(Ae){return _e.group.dirty(ae,Ae)})}}},de.prototype.modify=function(K,le){var _e=this,ae=this.lookup(K);if(ae){var he=Object.create(null),pe=!1,be=!0,Oe={DELETE:ue,INVALIDATE:Me,isReference:w.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(Ae,Je){return _e.policies.readField("string"==typeof Ae?{fieldName:Ae,from:Je||(0,w.kQ)(K)}:Ae,{store:_e})}};if(Object.keys(ae).forEach(function(Ae){var Je=(0,T.E_)(Ae),ct=ae[Ae];if(void 0!==ct){var mt="function"==typeof le?le:le[Ae]||le[Je];if(mt){var Mt=mt===Z?ue:mt(te(ct),(0,o.pi)((0,o.pi)({},Oe),{fieldName:Je,storeFieldName:Ae,storage:_e.getStorage(K,Ae)}));Mt===Me?_e.group.dirty(K,Ae):(Mt===ue&&(Mt=void 0),Mt!==ct&&(he[Ae]=Mt,pe=!0,ct=Mt))}void 0!==ct&&(be=!1)}}),pe)return this.merge(K,he),be&&(this instanceof z?this.data[K]=void 0:delete this.data[K],this.group.dirty(K,"__exists")),!0}return!1},de.prototype.delete=function(K,le,_e){var ae,he=this.lookup(K);if(he){var pe=this.getFieldValue(he,"__typename"),be=le&&_e?this.policies.getStoreFieldName({typename:pe,fieldName:le,args:_e}):le;return this.modify(K,be?((ae={})[be]=Z,ae):Z)}return!1},de.prototype.evict=function(K,le){var _e=!1;return K.id&&(T.RI.call(this.data,K.id)&&(_e=this.delete(K.id,K.fieldName,K.args)),this instanceof z&&this!==le&&(_e=this.parent.evict(K,le)||_e),(K.fieldName||_e)&&this.group.dirty(K.id,K.fieldName||"__exists")),_e},de.prototype.clear=function(){this.replace(null)},de.prototype.extract=function(){var K=this,le=this.toObject(),_e=[];return this.getRootIdSet().forEach(function(ae){T.RI.call(K.policies.rootTypenamesById,ae)||_e.push(ae)}),_e.length&&(le.__META={extraRootIds:_e.sort()}),le},de.prototype.replace=function(K){var le=this;if(Object.keys(this.data).forEach(function(he){K&&T.RI.call(K,he)||le.delete(he)}),K){var _e=K.__META,ae=(0,o._T)(K,["__META"]);Object.keys(ae).forEach(function(he){le.merge(he,ae[he])}),_e&&_e.extraRootIds.forEach(this.retain,this)}},de.prototype.retain=function(K){return this.rootIds[K]=(this.rootIds[K]||0)+1},de.prototype.release=function(K){if(this.rootIds[K]>0){var le=--this.rootIds[K];return le||delete this.rootIds[K],le}return 0},de.prototype.getRootIdSet=function(K){return void 0===K&&(K=new Set),Object.keys(this.rootIds).forEach(K.add,K),this instanceof z?this.parent.getRootIdSet(K):Object.keys(this.policies.rootTypenamesById).forEach(K.add,K),K},de.prototype.gc=function(){var K=this,le=this.getRootIdSet(),_e=this.toObject();le.forEach(function(pe){T.RI.call(_e,pe)&&(Object.keys(K.findChildRefIds(pe)).forEach(le.add,le),delete _e[pe])});var ae=Object.keys(_e);if(ae.length){for(var he=this;he instanceof z;)he=he.parent;ae.forEach(function(pe){return he.delete(pe)})}return ae},de.prototype.findChildRefIds=function(K){if(!T.RI.call(this.refs,K)){var le=this.refs[K]=Object.create(null),_e=this.data[K];if(!_e)return le;var ae=new Set([_e]);ae.forEach(function(he){(0,w.Yk)(he)&&(le[he.__ref]=!0),(0,v.s)(he)&&Object.keys(he).forEach(function(pe){var be=he[pe];(0,v.s)(be)&&ae.add(be)})})}return this.refs[K]},de.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},de}(),ve=function(){function de(K,le){void 0===le&&(le=null),this.caching=K,this.parent=le,this.d=null,this.resetCaching()}return de.prototype.resetCaching=function(){this.d=this.caching?(0,h.dP)():null,this.keyMaker=new Ee.B(A.mr)},de.prototype.depend=function(K,le){if(this.d){this.d(ye(K,le));var _e=(0,T.E_)(le);_e!==le&&this.d(ye(K,_e)),this.parent&&this.parent.depend(K,le)}},de.prototype.dirty=function(K,le){this.d&&this.d.dirty(ye(K,le),"__exists"===le?"forget":"setDirty")},de}();function ye(de,K){return K+"#"+de}function De(de,K){j(de)&&de.group.depend(K,"__exists")}K=function(le){function _e(ae){var pe=ae.resultCaching,Oe=ae.seed,Ae=le.call(this,ae.policies,new ve(void 0===pe||pe))||this;return Ae.stump=new Y(Ae),Ae.storageTrie=new Ee.B(A.mr),Oe&&Ae.replace(Oe),Ae}return(0,o.ZT)(_e,le),_e.prototype.addLayer=function(ae,he){return this.stump.addLayer(ae,he)},_e.prototype.removeLayer=function(){return this},_e.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},_e}(de=Se||(Se={})),de.Root=K;var z=function(de){function K(le,_e,ae,he){var pe=de.call(this,_e.policies,he)||this;return pe.id=le,pe.parent=_e,pe.replay=ae,pe.group=he,ae(pe),pe}return(0,o.ZT)(K,de),K.prototype.addLayer=function(le,_e){return new K(le,this,_e,this.group)},K.prototype.removeLayer=function(le){var _e=this,ae=this.parent.removeLayer(le);return le===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(he){var pe=_e.data[he],be=ae.lookup(he);be?pe?pe!==be&&Object.keys(pe).forEach(function(Oe){(0,_.D)(pe[Oe],be[Oe])||_e.group.dirty(he,Oe)}):(_e.group.dirty(he,"__exists"),Object.keys(be).forEach(function(Oe){_e.group.dirty(he,Oe)})):_e.delete(he)}),ae):ae===this.parent?this:ae.addLayer(this.id,this.replay)},K.prototype.toObject=function(){return(0,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},K.prototype.findChildRefIds=function(le){var _e=this.parent.findChildRefIds(le);return T.RI.call(this.data,le)?(0,o.pi)((0,o.pi)({},_e),de.prototype.findChildRefIds.call(this,le)):_e},K.prototype.getStorage=function(){for(var le=this.parent;le.parent;)le=le.parent;return le.getStorage.apply(le,arguments)},K}(Se),Y=function(de){function K(le){return de.call(this,"EntityStore.Stump",le,function(){},new ve(le.group.caching,le.group))||this}return(0,o.ZT)(K,de),K.prototype.removeLayer=function(){return this},K.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},K}(z);function V(de,K,le){var _e=de[le],ae=K[le];return(0,_.D)(_e,ae)?_e:ae}function j(de){return!!(de instanceof Se&&de.group.caching)}var X=s(7149);function Ie(de){return[de.selectionSet,de.objectOrReference,de.context,de.context.canonizeResults]}var ke=function(){function de(K){var le=this;this.knownResults=new(A.mr?WeakMap:Map),this.config=(0,g.o)(K,{addTypename:!1!==K.addTypename,canonizeResults:(0,T.lg)(K)}),this.canon=K.canon||new X.h,this.executeSelectionSet=(0,h.re)(function(_e){var ae,he=_e.context.canonizeResults,pe=Ie(_e);pe[3]=!he;var be=(ae=le.executeSelectionSet).peek.apply(ae,pe);return be?he?(0,o.pi)((0,o.pi)({},be),{result:le.canon.admit(be.result)}):be:(De(_e.context.store,_e.enclosingRef.__ref),le.execSelectionSetImpl(_e))},{max:this.config.resultCacheMaxSize,keyArgs:Ie,makeCacheKey:function(_e,ae,he,pe){if(j(he.store))return he.store.makeCacheKey(_e,(0,w.Yk)(ae)?ae.__ref:ae,he.varString,pe)}}),this.executeSubSelectedArray=(0,h.re)(function(_e){return De(_e.context.store,_e.enclosingRef.__ref),le.execSubSelectedArrayImpl(_e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(_e){var ae=_e.field,he=_e.array,pe=_e.context;if(j(pe.store))return pe.store.makeCacheKey(ae,he,pe.varString)}})}return de.prototype.resetCanon=function(){this.canon=new X.h},de.prototype.diffQueryAgainstStore=function(K){var le=K.store,_e=K.query,ae=K.rootId,he=void 0===ae?"ROOT_QUERY":ae,pe=K.variables,be=K.returnPartialData,Oe=void 0===be||be,Ae=K.canonizeResults,Je=void 0===Ae?this.config.canonizeResults:Ae,ct=this.config.cache.policies;pe=(0,o.pi)((0,o.pi)({},(0,B.O4)((0,B.iW)(_e))),pe);var St,mt=(0,w.kQ)(he),Mt=this.executeSelectionSet({selectionSet:(0,B.p$)(_e).selectionSet,objectOrReference:mt,enclosingRef:mt,context:{store:le,query:_e,policies:ct,variables:pe,varString:(0,X.B)(pe),canonizeResults:Je,fragmentMap:(0,m.F)((0,B.kU)(_e))}});if(Mt.missing&&(St=[new d.y(tt(Mt.missing),Mt.missing,_e,pe)],!Oe))throw St[0];return{result:Mt.result,complete:!St,missing:St}},de.prototype.isFresh=function(K,le,_e,ae){if(j(ae.store)&&this.knownResults.get(K)===_e){var he=this.executeSelectionSet.peek(_e,le,ae,this.canon.isKnown(K));if(he&&K===he.result)return!0}return!1},de.prototype.execSelectionSetImpl=function(K){var le=this,_e=K.selectionSet,ae=K.objectOrReference,he=K.enclosingRef,pe=K.context;if((0,w.Yk)(ae)&&!pe.policies.rootTypenamesById[ae.__ref]&&!pe.store.has(ae.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(ae.__ref," object")};var mt,be=pe.variables,Oe=pe.policies,Je=pe.store.getFieldValue(ae,"__typename"),ct=[],Mt=new b.w0;function St(Ut,en){var Rt;return Ut.missing&&(mt=Mt.merge(mt,((Rt={})[en]=Ut.missing,Rt))),Ut.result}this.config.addTypename&&"string"==typeof Je&&!Oe.rootIdsByTypename[Je]&&ct.push({__typename:Je});var Zt=new Set(_e.selections);Zt.forEach(function(Ut){var en,Rt;if((0,S.LZ)(Ut,be))if((0,w.My)(Ut)){var Ht=Oe.readField({fieldName:Ut.name.value,field:Ut,variables:pe.variables,from:ae},pe),ut=(0,w.u2)(Ut);void 0===Ht?L.Gw.added(Ut)||(mt=Mt.merge(mt,((en={})[ut]="Can't find field '".concat(Ut.name.value,"' on ").concat((0,w.Yk)(ae)?ae.__ref+" object":"object "+JSON.stringify(ae,null,2)),en))):(0,T.kJ)(Ht)?Ht=St(le.executeSubSelectedArray({field:Ut,array:Ht,enclosingRef:he,context:pe}),ut):Ut.selectionSet?null!=Ht&&(Ht=St(le.executeSelectionSet({selectionSet:Ut.selectionSet,objectOrReference:Ht,enclosingRef:(0,w.Yk)(Ht)?Ht:he,context:pe}),ut)):pe.canonizeResults&&(Ht=le.canon.pass(Ht)),void 0!==Ht&&ct.push(((Rt={})[ut]=Ht,Rt))}else{var Pe=(0,m.hi)(Ut,pe.fragmentMap);Pe&&Oe.fragmentMatches(Pe,Je)&&Pe.selectionSet.selections.forEach(Zt.add,Zt)}});var nn={result:(0,b.bw)(ct),missing:mt},ln=pe.canonizeResults?this.canon.admit(nn):te(nn);return ln.result&&this.knownResults.set(ln.result,_e),ln},de.prototype.execSubSelectedArrayImpl=function(K){var be,le=this,_e=K.field,ae=K.array,he=K.enclosingRef,pe=K.context,Oe=new b.w0;function Ae(Je,ct){var mt;return Je.missing&&(be=Oe.merge(be,((mt={})[ct]=Je.missing,mt))),Je.result}return _e.selectionSet&&(ae=ae.filter(pe.store.canRead)),ae=ae.map(function(Je,ct){return null===Je?null:(0,T.kJ)(Je)?Ae(le.executeSubSelectedArray({field:_e,array:Je,enclosingRef:he,context:pe}),ct):_e.selectionSet?Ae(le.executeSelectionSet({selectionSet:_e.selectionSet,objectOrReference:Je,enclosingRef:(0,w.Yk)(Je)?Je:he,context:pe}),ct):(__DEV__&&function lt(de,K,le){if(!K.selectionSet){var _e=new Set([le]);_e.forEach(function(ae){(0,v.s)(ae)&&(__DEV__?(0,r.kG)(!(0,w.Yk)(ae),"Missing selection set for object of type ".concat((0,T.jp)(de,ae)," returned for query field ").concat(K.name.value)):(0,r.kG)(!(0,w.Yk)(ae),5),Object.values(ae).forEach(_e.add,_e))})}}(pe.store,_e,Je),Je)}),{result:pe.canonizeResults?this.canon.admit(ae):ae,missing:be}},de}();function tt(de){try{JSON.stringify(de,function(K,le){if("string"==typeof le)throw le;return le})}catch(K){return K}}var $=s(3107),Re=s(8779),re=s(5801),Ke=s(4350),me=Object.create(null);function P(de){var K=JSON.stringify(de);return me[K]||(me[K]=Object.create(null))}function se(de){var K=P(de);return K.keyFieldsFn||(K.keyFieldsFn=function(le,_e){var ae=function(pe,be){return _e.readField(be,pe)},he=_e.keyObject=He(de,function(pe){var be=Ge(_e.storeObject,pe,ae);return void 0===be&&le!==_e.storeObject&&T.RI.call(le,pe[0])&&(be=Ge(le,pe,st)),__DEV__?(0,r.kG)(void 0!==be,"Missing field '".concat(pe.join("."),"' while extracting keyFields from ").concat(JSON.stringify(le))):(0,r.kG)(void 0!==be,2),be});return"".concat(_e.typename,":").concat(JSON.stringify(he))})}function Ce(de){var K=P(de);return K.keyArgsFn||(K.keyArgsFn=function(le,_e){var ae=_e.field,he=_e.variables,pe=_e.fieldName,be=He(de,function(Ae){var Je=Ae[0],ct=Je.charAt(0);if("@"!==ct)if("$"!==ct){if(le)return Ge(le,Ae)}else{var Zt=Je.slice(1);if(he&&T.RI.call(he,Zt)){var $t=Ae.slice(0);return $t[0]=Zt,Ge(he,$t)}}else if(ae&&(0,Re.O)(ae.directives)){var mt=Je.slice(1),Mt=ae.directives.find(function(nn){return nn.name.value===mt}),St=Mt&&(0,w.NC)(Mt,he);return St&&Ge(St,Ae.slice(1))}}),Oe=JSON.stringify(be);return(le||"{}"!==Oe)&&(pe+=":"+Oe),pe})}function He(de,K){var le=new b.w0;return Qe(de).reduce(function(_e,ae){var he,pe=K(ae);if(void 0!==pe){for(var be=ae.length-1;be>=0;--be)(he={})[ae[be]]=pe,pe=he;_e=le.merge(_e,pe)}return _e},Object.create(null))}function Qe(de){var K=P(de);if(!K.paths){var le=K.paths=[],_e=[];de.forEach(function(ae,he){(0,T.kJ)(ae)?(Qe(ae).forEach(function(pe){return le.push(_e.concat(pe))}),_e.length=0):(_e.push(ae),(0,T.kJ)(de[he+1])||(le.push(_e.slice(0)),_e.length=0))})}return K.paths}function st(de,K){return de[K]}function Ge(de,K,le){return le=le||st,at(K.reduce(function _e(ae,he){return(0,T.kJ)(ae)?ae.map(function(pe){return _e(pe,he)}):ae&&le(ae,he)},de))}function at(de){return(0,v.s)(de)?(0,T.kJ)(de)?de.map(at):He(Object.keys(de).sort(),function(K){return Ge(de,K)}):de}function _t(de){return void 0!==de.args?de.args:de.field?(0,w.NC)(de.field,de.variables):null}w.PT.setStringify(X.B);var xt=function(){},yt=function(de,K){return K.fieldName},Pt=function(de,K,le){return(0,le.mergeObjects)(de,K)},At=function(de,K){return K},nt=function(){function de(K){this.config=K,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,o.pi)({dataIdFromObject:T.uG},K),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),K.possibleTypes&&this.addPossibleTypes(K.possibleTypes),K.typePolicies&&this.addTypePolicies(K.typePolicies)}return de.prototype.identify=function(K,le){var _e,ae=this,he=le&&(le.typename||(null===(_e=le.storeObject)||void 0===_e?void 0:_e.__typename))||K.__typename;if(he===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var Oe,pe=le&&le.storeObject||K,be=(0,o.pi)((0,o.pi)({},le),{typename:he,storeObject:pe,readField:le&&le.readField||function(){var mt=G(arguments,pe);return ae.readField(mt,{store:ae.cache.data,variables:mt.variables})}}),Ae=he&&this.getTypePolicy(he),Je=Ae&&Ae.keyFn||this.config.dataIdFromObject;Je;){var ct=Je(K,be);if(!(0,T.kJ)(ct)){Oe=ct;break}Je=se(ct)}return Oe=Oe?String(Oe):void 0,be.keyObject?[Oe,be.keyObject]:[Oe]},de.prototype.addTypePolicies=function(K){var le=this;Object.keys(K).forEach(function(_e){var ae=K[_e],he=ae.queryType,pe=ae.mutationType,be=ae.subscriptionType,Oe=(0,o._T)(ae,["queryType","mutationType","subscriptionType"]);he&&le.setRootTypename("Query",_e),pe&&le.setRootTypename("Mutation",_e),be&&le.setRootTypename("Subscription",_e),T.RI.call(le.toBeAdded,_e)?le.toBeAdded[_e].push(Oe):le.toBeAdded[_e]=[Oe]})},de.prototype.updateTypePolicy=function(K,le){var _e=this,ae=this.getTypePolicy(K),he=le.keyFields,pe=le.fields;function be(Oe,Ae){Oe.merge="function"==typeof Ae?Ae:!0===Ae?Pt:!1===Ae?At:Oe.merge}be(ae,le.merge),ae.keyFn=!1===he?xt:(0,T.kJ)(he)?se(he):"function"==typeof he?he:ae.keyFn,pe&&Object.keys(pe).forEach(function(Oe){var Ae=_e.getFieldPolicy(K,Oe,!0),Je=pe[Oe];if("function"==typeof Je)Ae.read=Je;else{var ct=Je.keyArgs,mt=Je.read,Mt=Je.merge;Ae.keyFn=!1===ct?yt:(0,T.kJ)(ct)?Ce(ct):"function"==typeof ct?ct:Ae.keyFn,"function"==typeof mt&&(Ae.read=mt),be(Ae,Mt)}Ae.read&&Ae.merge&&(Ae.keyFn=Ae.keyFn||yt)})},de.prototype.setRootTypename=function(K,le){void 0===le&&(le=K);var _e="ROOT_"+K.toUpperCase(),ae=this.rootTypenamesById[_e];le!==ae&&(__DEV__?(0,r.kG)(!ae||ae===K,"Cannot change root ".concat(K," __typename more than once")):(0,r.kG)(!ae||ae===K,3),ae&&delete this.rootIdsByTypename[ae],this.rootIdsByTypename[le]=_e,this.rootTypenamesById[_e]=le)},de.prototype.addPossibleTypes=function(K){var le=this;this.usingPossibleTypes=!0,Object.keys(K).forEach(function(_e){le.getSupertypeSet(_e,!0),K[_e].forEach(function(ae){le.getSupertypeSet(ae,!0).add(_e);var he=ae.match(T.$O);(!he||he[0]!==ae)&&le.fuzzySubtypes.set(ae,new RegExp(ae))})})},de.prototype.getTypePolicy=function(K){var le=this;if(!T.RI.call(this.typePolicies,K)){var _e=this.typePolicies[K]=Object.create(null);_e.fields=Object.create(null);var ae=this.supertypeMap.get(K);ae&&ae.size&&ae.forEach(function(pe){var be=le.getTypePolicy(pe),Oe=be.fields,Ae=(0,o._T)(be,["fields"]);Object.assign(_e,Ae),Object.assign(_e.fields,Oe)})}var he=this.toBeAdded[K];return he&&he.length&&he.splice(0).forEach(function(pe){le.updateTypePolicy(K,pe)}),this.typePolicies[K]},de.prototype.getFieldPolicy=function(K,le,_e){if(K){var ae=this.getTypePolicy(K).fields;return ae[le]||_e&&(ae[le]=Object.create(null))}},de.prototype.getSupertypeSet=function(K,le){var _e=this.supertypeMap.get(K);return!_e&&le&&this.supertypeMap.set(K,_e=new Set),_e},de.prototype.fragmentMatches=function(K,le,_e,ae){var he=this;if(!K.typeCondition)return!0;if(!le)return!1;var pe=K.typeCondition.name.value;if(le===pe)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(pe))for(var be=this.getSupertypeSet(le,!0),Oe=[be],Ae=function(St){var Zt=he.getSupertypeSet(St,!1);Zt&&Zt.size&&Oe.indexOf(Zt)<0&&Oe.push(Zt)},Je=!(!_e||!this.fuzzySubtypes.size),ct=!1,mt=0;mt1?de[1]:K}:(pe=(0,o.pi)({},_e),T.RI.call(pe,"from")||(pe.from=K)),__DEV__&&void 0===pe.from&&__DEV__&&r.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function xe(de){var K=(0,re.X)("stringifyForDisplay");return JSON.stringify(de,function(le,_e){return void 0===_e?K:_e}).split(JSON.stringify(K)).join("")}(Array.from(de)))),void 0===pe.variables&&(pe.variables=le),pe}function U(de){return function(le,_e){if((0,T.kJ)(le)||(0,T.kJ)(_e))throw __DEV__?new r.ej("Cannot automatically merge arrays"):new r.ej(4);if((0,v.s)(le)&&(0,v.s)(_e)){var ae=de.getFieldValue(le,"__typename"),he=de.getFieldValue(_e,"__typename");if(ae&&he&&ae!==he)return _e;if((0,w.Yk)(le)&&(0,T.j)(_e))return de.merge(le.__ref,_e),le;if((0,T.j)(le)&&(0,w.Yk)(_e))return de.merge(le,_e.__ref),_e;if((0,T.j)(le)&&(0,T.j)(_e))return(0,o.pi)((0,o.pi)({},le),_e)}return _e}}function ie(de,K,le){var _e="".concat(K).concat(le),ae=de.flavors.get(_e);return ae||de.flavors.set(_e,ae=de.clientOnly===K&&de.deferred===le?de:(0,o.pi)((0,o.pi)({},de),{clientOnly:K,deferred:le})),ae}var oe=function(){function de(K,le){this.cache=K,this.reader=le}return de.prototype.writeToStore=function(K,le){var _e=this,ae=le.query,he=le.result,pe=le.dataId,be=le.variables,Oe=le.overwrite,Ae=(0,B.$H)(ae),Je=(0,T.ig)();be=(0,o.pi)((0,o.pi)({},(0,B.O4)(Ae)),be);var ct={store:K,written:Object.create(null),merge:function(Mt,St){return Je.merge(Mt,St)},variables:be,varString:(0,X.B)(be),fragmentMap:(0,m.F)((0,B.kU)(ae)),overwrite:!!Oe,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},mt=this.processSelectionSet({result:he||Object.create(null),dataId:pe,selectionSet:Ae.selectionSet,mergeTree:{map:new Map},context:ct});if(!(0,w.Yk)(mt))throw __DEV__?new r.ej("Could not identify object ".concat(JSON.stringify(he))):new r.ej(6);return ct.incomingById.forEach(function(Mt,St){var Zt=Mt.storeObject,$t=Mt.mergeTree,nn=Mt.fieldNodeSet,ln=(0,w.kQ)(St);if($t&&$t.map.size){var Ut=_e.applyMerges($t,ln,Zt,ct);if((0,w.Yk)(Ut))return;Zt=Ut}if(__DEV__&&!ct.overwrite){var en=Object.create(null);nn.forEach(function(ut){ut.selectionSet&&(en[ut.name.value]=!0)}),Object.keys(Zt).forEach(function(ut){(function(ut){return!0===en[(0,T.E_)(ut)]})(ut)&&!function(ut){var Pe=$t&&$t.map.get(ut);return Boolean(Pe&&Pe.info&&Pe.info.merge)}(ut)&&function Ye(de,K,le,_e){var ae=function(ct){var mt=_e.getFieldValue(ct,le);return"object"==typeof mt&&mt},he=ae(de);if(he){var pe=ae(K);if(pe&&!(0,w.Yk)(he)&&!(0,_.D)(he,pe)&&!Object.keys(he).every(function(ct){return void 0!==_e.getFieldValue(pe,ct)})){var be=_e.getFieldValue(de,"__typename")||_e.getFieldValue(K,"__typename"),Oe=(0,T.E_)(le),Ae="".concat(be,".").concat(Oe);if(!We.has(Ae)){We.add(Ae);var Je=[];!(0,T.kJ)(he)&&!(0,T.kJ)(pe)&&[he,pe].forEach(function(ct){var mt=_e.getFieldValue(ct,"__typename");"string"==typeof mt&&!Je.includes(mt)&&Je.push(mt)}),__DEV__&&r.kG.warn("Cache data may be lost when replacing the ".concat(Oe," field of a ").concat(be," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(Je.length?"either ensure all objects of type "+Je.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(Ae," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(he).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(pe).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(ln,Zt,ut,ct.store)})}K.merge(St,Zt)}),K.retain(mt.__ref),mt},de.prototype.processSelectionSet=function(K){var le=this,_e=K.dataId,ae=K.result,he=K.selectionSet,pe=K.context,be=K.mergeTree,Oe=this.cache.policies,Ae=Object.create(null),Je=_e&&Oe.rootTypenamesById[_e]||(0,w.qw)(ae,he,pe.fragmentMap)||_e&&pe.store.get(_e,"__typename");"string"==typeof Je&&(Ae.__typename=Je);var ct=function(){var Ut=G(arguments,Ae,pe.variables);if((0,w.Yk)(Ut.from)){var en=pe.incomingById.get(Ut.from.__ref);if(en){var Rt=Oe.readField((0,o.pi)((0,o.pi)({},Ut),{from:en.storeObject}),pe);if(void 0!==Rt)return Rt}}return Oe.readField(Ut,pe)},mt=new Set;this.flattenFields(he,ae,pe,Je).forEach(function(Ut,en){var Rt,Ht=(0,w.u2)(en),ut=ae[Ht];if(mt.add(en),void 0!==ut){var Pe=Oe.getStoreFieldName({typename:Je,fieldName:en.name.value,field:en,variables:Ut.variables}),I=Xe(be,Pe),O=le.processFieldValue(ut,en,en.selectionSet?ie(Ut,!1,!1):Ut,I),Q=void 0;en.selectionSet&&((0,w.Yk)(O)||(0,T.j)(O))&&(Q=ct("__typename",O));var Fe=Oe.getMergeFunction(Je,en.name.value,Q);Fe?I.info={field:en,typename:Je,merge:Fe}:Be(be,Pe),Ae=Ut.merge(Ae,((Rt={})[Pe]=O,Rt))}else __DEV__&&!Ut.clientOnly&&!Ut.deferred&&!L.Gw.added(en)&&!Oe.getReadFunction(Je,en.name.value)&&__DEV__&&r.kG.error("Missing field '".concat((0,w.u2)(en),"' while writing result ").concat(JSON.stringify(ae,null,2)).substring(0,1e3))});try{var Mt=Oe.identify(ae,{typename:Je,selectionSet:he,fragmentMap:pe.fragmentMap,storeObject:Ae,readField:ct}),Zt=Mt[1];_e=_e||Mt[0],Zt&&(Ae=pe.merge(Ae,Zt))}catch(Ut){if(!_e)throw Ut}if("string"==typeof _e){var $t=(0,w.kQ)(_e),nn=pe.written[_e]||(pe.written[_e]=[]);if(nn.indexOf(he)>=0||(nn.push(he),this.reader&&this.reader.isFresh(ae,$t,he,pe)))return $t;var ln=pe.incomingById.get(_e);return ln?(ln.storeObject=pe.merge(ln.storeObject,Ae),ln.mergeTree=Ze(ln.mergeTree,be),mt.forEach(function(Ut){return ln.fieldNodeSet.add(Ut)})):pe.incomingById.set(_e,{storeObject:Ae,mergeTree:we(be)?void 0:be,fieldNodeSet:mt}),$t}return Ae},de.prototype.processFieldValue=function(K,le,_e,ae){var he=this;return le.selectionSet&&null!==K?(0,T.kJ)(K)?K.map(function(pe,be){var Oe=he.processFieldValue(pe,le,_e,Xe(ae,be));return Be(ae,be),Oe}):this.processSelectionSet({result:K,selectionSet:le.selectionSet,context:_e,mergeTree:ae}):__DEV__?(0,$.X)(K):K},de.prototype.flattenFields=function(K,le,_e,ae){void 0===ae&&(ae=(0,w.qw)(le,K,_e.fragmentMap));var he=new Map,pe=this.cache.policies,be=new Ee.B(!1);return function Oe(Ae,Je){var ct=be.lookup(Ae,Je.clientOnly,Je.deferred);ct.visited||(ct.visited=!0,Ae.selections.forEach(function(mt){if((0,S.LZ)(mt,_e.variables)){var Mt=Je.clientOnly,St=Je.deferred;if(!(Mt&&St)&&(0,Re.O)(mt.directives)&&mt.directives.forEach(function(nn){var ln=nn.name.value;if("client"===ln&&(Mt=!0),"defer"===ln){var Ut=(0,w.NC)(nn,_e.variables);(!Ut||!1!==Ut.if)&&(St=!0)}}),(0,w.My)(mt)){var Zt=he.get(mt);Zt&&(Mt=Mt&&Zt.clientOnly,St=St&&Zt.deferred),he.set(mt,ie(_e,Mt,St))}else{var $t=(0,m.hi)(mt,_e.fragmentMap);$t&&pe.fragmentMatches($t,ae,le,_e.variables)&&Oe($t.selectionSet,ie(_e,Mt,St))}}}))}(K,_e),he},de.prototype.applyMerges=function(K,le,_e,ae,he){var pe,be=this;if(K.map.size&&!(0,w.Yk)(_e)){var Oe=(0,T.kJ)(_e)||!(0,w.Yk)(le)&&!(0,T.j)(le)?void 0:le,Ae=_e;Oe&&!he&&(he=[(0,w.Yk)(Oe)?Oe.__ref:Oe]);var Je,ct=function(mt,Mt){return(0,T.kJ)(mt)?"number"==typeof Mt?mt[Mt]:void 0:ae.store.getFieldValue(mt,String(Mt))};K.map.forEach(function(mt,Mt){var St=ct(Oe,Mt),Zt=ct(Ae,Mt);if(void 0!==Zt){he&&he.push(Mt);var $t=be.applyMerges(mt,St,Zt,ae,he);$t!==Zt&&(Je=Je||new Map).set(Mt,$t),he&&(0,r.kG)(he.pop()===Mt)}}),Je&&(_e=(0,T.kJ)(Ae)?Ae.slice(0):(0,o.pi)({},Ae),Je.forEach(function(mt,Mt){_e[Mt]=mt}))}return K.info?this.cache.policies.runMergeFunction(le,_e,K.info,ae,he&&(pe=ae.store).getStorage.apply(pe,he)):_e},de}(),Te=[];function Xe(de,K){var le=de.map;return le.has(K)||le.set(K,Te.pop()||{map:new Map}),le.get(K)}function Ze(de,K){if(de===K||!K||we(K))return de;if(!de||we(de))return K;var le=de.info&&K.info?(0,o.pi)((0,o.pi)({},de.info),K.info):de.info||K.info,_e=de.map.size&&K.map.size,he={info:le,map:_e?new Map:de.map.size?de.map:K.map};if(_e){var pe=new Set(K.map.keys());de.map.forEach(function(be,Oe){he.map.set(Oe,Ze(be,K.map.get(Oe))),pe.delete(Oe)}),pe.forEach(function(be){he.map.set(be,Ze(K.map.get(be),de.map.get(be)))})}return he}function we(de){return!de||!(de.info||de.map.size)}function Be(de,K){var le=de.map,_e=le.get(K);_e&&we(_e)&&(Te.push(_e),le.delete(K))}var We=new Set,et=function(de){function K(le){void 0===le&&(le={});var _e=de.call(this)||this;return _e.watches=new Set,_e.typenameDocumentCache=new Map,_e.makeVar=Ke.QS,_e.txCount=0,_e.config=(0,T.jS)(le),_e.addTypename=!!_e.config.addTypename,_e.policies=new nt({cache:_e,dataIdFromObject:_e.config.dataIdFromObject,possibleTypes:_e.config.possibleTypes,typePolicies:_e.config.typePolicies}),_e.init(),_e}return(0,o.ZT)(K,de),K.prototype.init=function(){var le=this.data=new Se.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=le.stump,this.resetResultCache()},K.prototype.resetResultCache=function(le){var _e=this,ae=this.storeReader;this.storeWriter=new oe(this,this.storeReader=new ke({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,T.lg)(this.config),canon:le?void 0:ae&&ae.canon})),this.maybeBroadcastWatch=(0,h.re)(function(he,pe){return _e.broadcastWatch(he,pe)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(he){var pe=he.optimistic?_e.optimisticData:_e.data;if(j(pe))return pe.makeCacheKey(he.query,he.callback,(0,X.B)({optimistic:he.optimistic,rootId:he.rootId,variables:he.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(he){return he.resetCaching()})},K.prototype.restore=function(le){return this.init(),le&&this.data.replace(le),this},K.prototype.extract=function(le){return void 0===le&&(le=!1),(le?this.optimisticData:this.data).extract()},K.prototype.read=function(le){var _e=le.returnPartialData,ae=void 0!==_e&&_e;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},le),{store:le.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:ae})).result||null}catch(he){if(he instanceof d.y)return null;throw he}},K.prototype.write=function(le){try{return++this.txCount,this.storeWriter.writeToStore(this.data,le)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.modify=function(le){if(T.RI.call(le,"id")&&!le.id)return!1;var _e=le.optimistic?this.optimisticData:this.data;try{return++this.txCount,_e.modify(le.id||"ROOT_QUERY",le.fields)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.diff=function(le){return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},le),{store:le.optimistic?this.optimisticData:this.data,rootId:le.id||"ROOT_QUERY",config:this.config}))},K.prototype.watch=function(le){var _e=this;return this.watches.size||(0,Ke._v)(this),this.watches.add(le),le.immediate&&this.maybeBroadcastWatch(le),function(){_e.watches.delete(le)&&!_e.watches.size&&(0,Ke.li)(_e),_e.maybeBroadcastWatch.forget(le)}},K.prototype.gc=function(le){X.B.reset();var _e=this.optimisticData.gc();return le&&!this.txCount&&(le.resetResultCache?this.resetResultCache(le.resetResultIdentities):le.resetResultIdentities&&this.storeReader.resetCanon()),_e},K.prototype.retain=function(le,_e){return(_e?this.optimisticData:this.data).retain(le)},K.prototype.release=function(le,_e){return(_e?this.optimisticData:this.data).release(le)},K.prototype.identify=function(le){if((0,w.Yk)(le))return le.__ref;try{return this.policies.identify(le)[0]}catch(_e){__DEV__&&r.kG.warn(_e)}},K.prototype.evict=function(le){if(!le.id){if(T.RI.call(le,"id"))return!1;le=(0,o.pi)((0,o.pi)({},le),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(le,this.data)}finally{!--this.txCount&&!1!==le.broadcast&&this.broadcastWatches()}},K.prototype.reset=function(le){var _e=this;return this.init(),X.B.reset(),le&&le.discardWatches?(this.watches.forEach(function(ae){return _e.maybeBroadcastWatch.forget(ae)}),this.watches.clear(),(0,Ke.li)(this)):this.broadcastWatches(),Promise.resolve()},K.prototype.removeOptimistic=function(le){var _e=this.optimisticData.removeLayer(le);_e!==this.optimisticData&&(this.optimisticData=_e,this.broadcastWatches())},K.prototype.batch=function(le){var Ae,_e=this,ae=le.update,he=le.optimistic,pe=void 0===he||he,be=le.removeOptimistic,Oe=le.onWatchUpdated,Je=function(mt){var St=_e.data,Zt=_e.optimisticData;++_e.txCount,mt&&(_e.data=_e.optimisticData=mt);try{return Ae=ae(_e)}finally{--_e.txCount,_e.data=St,_e.optimisticData=Zt}},ct=new Set;return Oe&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},le),{onWatchUpdated:function(mt){return ct.add(mt),!1}})),"string"==typeof pe?this.optimisticData=this.optimisticData.addLayer(pe,Je):!1===pe?Je(this.data):Je(),"string"==typeof be&&(this.optimisticData=this.optimisticData.removeLayer(be)),Oe&&ct.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},le),{onWatchUpdated:function(mt,Mt){var St=Oe.call(this,mt,Mt);return!1!==St&&ct.delete(mt),St}})),ct.size&&ct.forEach(function(mt){return _e.maybeBroadcastWatch.dirty(mt)})):this.broadcastWatches(le),Ae},K.prototype.performTransaction=function(le,_e){return this.batch({update:le,optimistic:_e||null!==_e})},K.prototype.transformDocument=function(le){if(this.addTypename){var _e=this.typenameDocumentCache.get(le);return _e||(_e=(0,L.Gw)(le),this.typenameDocumentCache.set(le,_e),this.typenameDocumentCache.set(_e,_e)),_e}return le},K.prototype.broadcastWatches=function(le){var _e=this;this.txCount||this.watches.forEach(function(ae){return _e.maybeBroadcastWatch(ae,le)})},K.prototype.broadcastWatch=function(le,_e){var ae=le.lastDiff,he=this.diff(le);_e&&(le.optimistic&&"string"==typeof _e.optimistic&&(he.fromOptimisticTransaction=!0),_e.onWatchUpdated&&!1===_e.onWatchUpdated.call(this,le,he,ae))||(!ae||!(0,_.D)(ae.result,he.result))&&le.callback(le.lastDiff=he,ae)},K}(f.R)},7149:(Ue,J,s)=>{"use strict";s.d(J,{B:()=>A,h:()=>L});var g,B,o=s(4762),h=(s(138),s(2844)),_=s(9231),f=s(7289),d=s(460),L=function(){function b(){this.known=new(f.sy?WeakSet:Set),this.pool=new h.B(f.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return b.prototype.isKnown=function(S){return(0,_.s)(S)&&this.known.has(S)},b.prototype.pass=function(S){if((0,_.s)(S)){var v=function w(b){return(0,_.s)(b)?(0,d.kJ)(b)?b.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(b)},b):b}(S);return this.passes.set(v,S),v}return S},b.prototype.admit=function(S){var v=this;if((0,_.s)(S)){var H=this.passes.get(S);if(H)return H;switch(Object.getPrototypeOf(S)){case Array.prototype:if(this.known.has(S))return S;var te=S.map(this.admit,this);return(Ee=this.pool.lookupArray(te)).array||(this.known.add(Ee.array=te),__DEV__&&Object.freeze(te)),Ee.array;case null:case Object.prototype:if(this.known.has(S))return S;var T=Object.getPrototypeOf(S),ue=[T],Z=this.sortedKeys(S);ue.push(Z.json);var Ee,Me=ue.length;if(Z.sorted.forEach(function(ye){ue.push(v.admit(S[ye]))}),!(Ee=this.pool.lookupArray(ue)).object){var Se=Ee.object=Object.create(T);this.known.add(Se),Z.sorted.forEach(function(ye,De){Se[ye]=ue[Me+De]}),__DEV__&&Object.freeze(Se)}return Ee.object}}return S},b.prototype.sortedKeys=function(S){var v=Object.keys(S),H=this.pool.lookupArray(v);if(!H.keys){v.sort();var x=JSON.stringify(v);(H.keys=this.keysByJSON.get(x))||this.keysByJSON.set(x,H.keys={sorted:v,json:x})}return H.keys},b}(),A=Object.assign(function(b){if((0,_.s)(b)){void 0===g&&m();var S=g.admit(b),v=B.get(S);return void 0===v&&B.set(S,v=JSON.stringify(S)),v}return JSON.stringify(b)},{reset:m});function m(){g=new L,B=new(f.mr?WeakMap:Map)}},4350:(Ue,J,s)=>{"use strict";s.d(J,{QS:()=>L,_v:()=>w,ab:()=>h,li:()=>d});var o=s(1747),h=new(s(1558).g7),_=new WeakMap;function f(g){var B=_.get(g);return B||_.set(g,B={vars:new Set,dep:(0,o.dP)()}),B}function d(g){f(g).vars.forEach(function(B){return B.forgetCache(g)})}function w(g){f(g).vars.forEach(function(B){return B.attachCache(g)})}function L(g){var B=new Set,m=new Set,b=function(v){if(arguments.length>0){if(g!==v){g=v,B.forEach(function(te){f(te).dep.dirty(b),A(te)});var H=Array.from(m);m.clear(),H.forEach(function(te){return te(g)})}}else{var x=h.getValue();x&&(S(x),f(x).dep(b))}return g};b.onNextChange=function(v){return m.add(v),function(){m.delete(v)}};var S=b.attachCache=function(v){return B.add(v),f(v).vars.add(b),b};return b.forgetCache=function(v){return B.delete(v)},b}function A(g){g.broadcastWatches&&g.broadcastWatches()}},5447:(Ue,J,s)=>{"use strict";s.d(J,{f:()=>Ke});var o=s(4762),r=s(138),h=s(56),_=s(8498),d=s(3111),w=s(1913),L=s(7149),A=s(7289),g=s(4854);function B(me,P,se){return new g.y(function(Ce){var He=Ce.next,Qe=Ce.error,st=Ce.complete,Ge=0,at=!1,_t={then:function(At){return new Promise(function(nt){return nt(At())})}};function xt(At,nt){return At?function(ft){++Ge;var G=function(){return At(ft)};_t=_t.then(G,G).then(function(U){--Ge,He&&He.call(Ce,U),at&&yt.complete()},function(U){throw--Ge,U}).catch(function(U){Qe&&Qe.call(Ce,U)})}:function(ft){return nt&&nt.call(Ce,ft)}}var yt={next:xt(P,He),error:xt(se,Qe),complete:function(){at=!0,Ge||st&&st.call(Ce)}},Pt=me.subscribe(yt);return function(){return Pt.unsubscribe()}})}function m(me){return me.errors&&me.errors.length>0||!1}var b=s(1144),S=s(8234),v=s(443),H=s(9737),x=s(9231),te=s(5801),Ee=s(1194),T=s(2652);function ue(me){return me&&"function"==typeof me.then}var Z=function(me){function P(se){var Ce=me.call(this,function(He){return Ce.addObserver(He),function(){return Ce.removeObserver(He)}})||this;return Ce.observers=new Set,Ce.addCount=0,Ce.promise=new Promise(function(He,Qe){Ce.resolve=He,Ce.reject=Qe}),Ce.handlers={next:function(He){null!==Ce.sub&&(Ce.latest=["next",He],(0,Ee.p)(Ce.observers,"next",He))},error:function(He){var Qe=Ce.sub;null!==Qe&&(Qe&&setTimeout(function(){return Qe.unsubscribe()}),Ce.sub=null,Ce.latest=["error",He],Ce.reject(He),(0,Ee.p)(Ce.observers,"error",He))},complete:function(){var He=Ce.sub;if(null!==He){var Qe=Ce.sources.shift();Qe?ue(Qe)?Qe.then(function(st){return Ce.sub=st.subscribe(Ce.handlers)}):Ce.sub=Qe.subscribe(Ce.handlers):(He&&setTimeout(function(){return He.unsubscribe()}),Ce.sub=null,Ce.latest&&"next"===Ce.latest[0]?Ce.resolve(Ce.latest[1]):Ce.resolve(),(0,Ee.p)(Ce.observers,"complete"))}}},Ce.cancel=function(He){Ce.reject(He),Ce.sources=[],Ce.handlers.complete()},Ce.promise.catch(function(He){}),"function"==typeof se&&(se=[new g.y(se)]),ue(se)?se.then(function(He){return Ce.start(He)},Ce.handlers.error):Ce.start(se),Ce}return(0,o.ZT)(P,me),P.prototype.start=function(se){void 0===this.sub&&(this.sources=Array.from(se),this.handlers.complete())},P.prototype.deliverLastMessage=function(se){if(this.latest){var Ce=this.latest[0],He=se[Ce];He&&He.call(se,this.latest[1]),null===this.sub&&"next"===Ce&&se.complete&&se.complete()}},P.prototype.addObserver=function(se){this.observers.has(se)||(this.deliverLastMessage(se),this.observers.add(se),++this.addCount)},P.prototype.removeObserver=function(se,Ce){this.observers.delete(se)&&--this.addCount<1&&!Ce&&this.handlers.complete()},P.prototype.cleanup=function(se){var Ce=this,He=!1,Qe=function(){He||(He=!0,Ce.observers.delete(st),se())},st={next:Qe,error:Qe,complete:Qe},Ge=this.addCount;this.addObserver(st),this.addCount=Ge},P}(g.y);(0,T.D)(Z);var Me=s(8779),Se=s(709),ve=s(4167),ye=s(3135),De=s(9098),z=s(6216),Y=s(1598),V=s(4350),j=function(){function me(P){var Ce=P.client,He=P.resolvers,Qe=P.fragmentMatcher;this.cache=P.cache,Ce&&(this.client=Ce),He&&this.addResolvers(He),Qe&&this.setFragmentMatcher(Qe)}return me.prototype.addResolvers=function(P){var se=this;this.resolvers=this.resolvers||{},Array.isArray(P)?P.forEach(function(Ce){se.resolvers=(0,z.Ee)(se.resolvers,Ce)}):this.resolvers=(0,z.Ee)(this.resolvers,P)},me.prototype.setResolvers=function(P){this.resolvers={},this.addResolvers(P)},me.prototype.getResolvers=function(){return this.resolvers||{}},me.prototype.runResolvers=function(P){var se=P.document,Ce=P.remoteResult,He=P.context,Qe=P.variables,st=P.onlyRunForcedResolvers,Ge=void 0!==st&&st;return(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(at){return se?[2,this.resolveDocument(se,Ce.data,He,Qe,this.fragmentMatcher,Ge).then(function(_t){return(0,o.pi)((0,o.pi)({},Ce),{data:_t.result})})]:[2,Ce]})})},me.prototype.setFragmentMatcher=function(P){this.fragmentMatcher=P},me.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},me.prototype.clientQuery=function(P){return(0,v.FS)(["client"],P)&&this.resolvers?P:null},me.prototype.serverQuery=function(P){return(0,S.ob)(P)},me.prototype.prepareContext=function(P){var se=this.cache;return(0,o.pi)((0,o.pi)({},P),{cache:se,getCacheKey:function(Ce){return se.identify(Ce)}})},me.prototype.addExportedVariables=function(P,se,Ce){return void 0===se&&(se={}),void 0===Ce&&(Ce={}),(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(He){return P?[2,this.resolveDocument(P,this.buildRootValueFromCache(P,se)||{},this.prepareContext(Ce),se).then(function(Qe){return(0,o.pi)((0,o.pi)({},se),Qe.exportedVariables)})]:[2,(0,o.pi)({},se)]})})},me.prototype.shouldForceResolvers=function(P){var se=!1;return(0,De.Vn)(P,{Directive:{enter:function(Ce){if("client"===Ce.name.value&&Ce.arguments&&(se=Ce.arguments.some(function(He){return"always"===He.name.value&&"BooleanValue"===He.value.kind&&!0===He.value.value})))return De.$_}}}),se},me.prototype.buildRootValueFromCache=function(P,se){return this.cache.diff({query:(0,S.aL)(P),variables:se,returnPartialData:!0,optimistic:!1}).result},me.prototype.resolveDocument=function(P,se,Ce,He,Qe,st){return void 0===Ce&&(Ce={}),void 0===He&&(He={}),void 0===Qe&&(Qe=function(){return!0}),void 0===st&&(st=!1),(0,o.mG)(this,void 0,void 0,function(){var Ge,at,_t,xt,yt,Pt,At,nt,ft;return(0,o.Jh)(this,function(G){return Ge=(0,b.p$)(P),at=(0,b.kU)(P),_t=(0,Y.F)(at),yt=(xt=Ge.operation)?xt.charAt(0).toUpperCase()+xt.slice(1):"Query",At=(Pt=this).cache,nt=Pt.client,ft={fragmentMap:_t,context:(0,o.pi)((0,o.pi)({},Ce),{cache:At,client:nt}),variables:He,fragmentMatcher:Qe,defaultOperationType:yt,exportedVariables:{},onlyRunForcedResolvers:st},[2,this.resolveSelectionSet(Ge.selectionSet,se,ft).then(function(U){return{result:U,exportedVariables:ft.exportedVariables}})]})})},me.prototype.resolveSelectionSet=function(P,se,Ce){return(0,o.mG)(this,void 0,void 0,function(){var He,Qe,st,Ge,_t=this;return(0,o.Jh)(this,function(xt){return He=Ce.fragmentMap,Qe=Ce.context,st=Ce.variables,Ge=[se],[2,Promise.all(P.selections.map(function(yt){return(0,o.mG)(_t,void 0,void 0,function(){var Pt;return(0,o.Jh)(this,function(nt){return(0,v.LZ)(yt,st)?(0,H.My)(yt)?[2,this.resolveField(yt,se,Ce).then(function(ft){var G;typeof ft<"u"&&Ge.push(((G={})[(0,H.u2)(yt)]=ft,G))})]:((0,H.Ao)(yt)?Pt=yt:(Pt=He[yt.name.value],__DEV__?(0,r.kG)(Pt,"No fragment named ".concat(yt.name.value)):(0,r.kG)(Pt,9)),Pt&&Pt.typeCondition&&Ce.fragmentMatcher(se,Pt.typeCondition.name.value,Qe)?[2,this.resolveSelectionSet(Pt.selectionSet,se,Ce).then(function(ft){Ge.push(ft)})]:[2]):[2]})})})).then(function(){return(0,z.bw)(Ge)})]})})},me.prototype.resolveField=function(P,se,Ce){return(0,o.mG)(this,void 0,void 0,function(){var He,Qe,st,Ge,at,_t,xt,yt,Pt,At=this;return(0,o.Jh)(this,function(nt){return He=Ce.variables,Qe=P.name.value,st=(0,H.u2)(P),Ge=Qe!==st,at=se[st]||se[Qe],_t=Promise.resolve(at),(!Ce.onlyRunForcedResolvers||this.shouldForceResolvers(P))&&(xt=se.__typename||Ce.defaultOperationType,(yt=this.resolvers&&this.resolvers[xt])&&(Pt=yt[Ge?Qe:st])&&(_t=Promise.resolve(V.ab.withValue(this.cache,Pt,[se,(0,H.NC)(P,He),Ce.context,{field:P,fragmentMap:Ce.fragmentMap}])))),[2,_t.then(function(ft){return void 0===ft&&(ft=at),P.directives&&P.directives.forEach(function(G){"export"===G.name.value&&G.arguments&&G.arguments.forEach(function(U){"as"===U.name.value&&"StringValue"===U.value.kind&&(Ce.exportedVariables[U.value.value]=ft)})}),P.selectionSet&&null!=ft?Array.isArray(ft)?At.resolveSubSelectedArray(P,ft,Ce):P.selectionSet?At.resolveSelectionSet(P.selectionSet,ft,Ce):void 0:ft})]})})},me.prototype.resolveSubSelectedArray=function(P,se,Ce){var He=this;return Promise.all(se.map(function(Qe){return null===Qe?null:Array.isArray(Qe)?He.resolveSubSelectedArray(P,Qe,Ce):P.selectionSet?He.resolveSelectionSet(P.selectionSet,Qe,Ce):void 0}))},me}(),X=new(A.mr?WeakMap:Map);function Ie(me,P){var se=me[P];"function"==typeof se&&(me[P]=function(){return X.set(me,(X.get(me)+1)%1e15),se.apply(this,arguments)})}function ke(me){me.notifyTimeout&&(clearTimeout(me.notifyTimeout),me.notifyTimeout=void 0)}var tt=function(){function me(P,se){void 0===se&&(se=P.generateQueryId()),this.queryId=se,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var Ce=this.cache=P.cache;X.has(Ce)||(X.set(Ce,0),Ie(Ce,"evict"),Ie(Ce,"modify"),Ie(Ce,"reset"))}return me.prototype.init=function(P){var se=P.networkStatus||ye.I.loading;return this.variables&&this.networkStatus!==ye.I.loading&&!(0,w.D)(this.variables,P.variables)&&(se=ye.I.setVariables),(0,w.D)(P.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:P.document,variables:P.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:se}),P.observableQuery&&this.setObservableQuery(P.observableQuery),P.lastRequestId&&(this.lastRequestId=P.lastRequestId),this},me.prototype.reset=function(){ke(this),this.lastDiff=void 0,this.dirty=!1},me.prototype.getDiff=function(P){void 0===P&&(P=this.variables);var se=this.getDiffOptions(P);if(this.lastDiff&&(0,w.D)(se,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=P);var Ce=this.observableQuery;if(Ce&&"no-cache"===Ce.options.fetchPolicy)return{complete:!1};var He=this.cache.diff(se);return this.updateLastDiff(He,se),He},me.prototype.updateLastDiff=function(P,se){this.lastDiff=P?{diff:P,options:se||this.getDiffOptions()}:void 0},me.prototype.getDiffOptions=function(P){var se;return void 0===P&&(P=this.variables),{query:this.document,variables:P,returnPartialData:!0,optimistic:!0,canonizeResults:null===(se=this.observableQuery)||void 0===se?void 0:se.options.canonizeResults}},me.prototype.setDiff=function(P){var se=this,Ce=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(P),!this.dirty&&!(0,w.D)(Ce&&Ce.result,P&&P.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return se.notify()},0)))},me.prototype.setObservableQuery=function(P){var se=this;P!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=P,P?(P.queryInfo=this,this.listeners.add(this.oqListener=function(){se.getDiff().fromOptimisticTransaction?P.observe():(0,ve.vj)(P)})):delete this.oqListener)},me.prototype.notify=function(){var P=this;ke(this),this.shouldNotify()&&this.listeners.forEach(function(se){return se(P)}),this.dirty=!1},me.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,ye.O)(this.networkStatus)&&this.observableQuery){var P=this.observableQuery.options.fetchPolicy;if("cache-only"!==P&&"cache-and-network"!==P)return!1}return!0},me.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=me.prototype.cancel,this.subscriptions.forEach(function(se){return se.unsubscribe()});var P=this.observableQuery;P&&P.stopPolling()}},me.prototype.cancel=function(){},me.prototype.updateWatch=function(P){var se=this;void 0===P&&(P=this.variables);var Ce=this.observableQuery;if(!Ce||"no-cache"!==Ce.options.fetchPolicy){var He=(0,o.pi)((0,o.pi)({},this.getDiffOptions(P)),{watcher:this,callback:function(Qe){return se.setDiff(Qe)}});(!this.lastWatch||!(0,w.D)(He,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=He))}},me.prototype.resetLastWrite=function(){this.lastWrite=void 0},me.prototype.shouldWrite=function(P,se){var Ce=this.lastWrite;return!(Ce&&Ce.dmCount===X.get(this.cache)&&(0,w.D)(se,Ce.variables)&&(0,w.D)(P.data,Ce.result.data))},me.prototype.markResult=function(P,se,Ce){var He=this;this.graphQLErrors=(0,Me.O)(P.errors)?P.errors:[],this.reset(),"no-cache"===se.fetchPolicy?this.updateLastDiff({result:P.data,complete:!0},this.getDiffOptions(se.variables)):0!==Ce&&(lt(P,se.errorPolicy)?this.cache.performTransaction(function(Qe){if(He.shouldWrite(P,se.variables))Qe.writeQuery({query:He.document,data:P.data,variables:se.variables,overwrite:1===Ce}),He.lastWrite={result:P,variables:se.variables,dmCount:X.get(He.cache)};else if(He.lastDiff&&He.lastDiff.diff.complete)return void(P.data=He.lastDiff.diff.result);var st=He.getDiffOptions(se.variables),Ge=Qe.diff(st);He.stopped||He.updateWatch(se.variables),He.updateLastDiff(Ge,st),Ge.complete&&(P.data=Ge.result)}):this.lastWrite=void 0)},me.prototype.markReady=function(){return this.networkError=null,this.networkStatus=ye.I.ready},me.prototype.markError=function(P){return this.networkStatus=ye.I.error,this.lastWrite=void 0,this.reset(),P.graphQLErrors&&(this.graphQLErrors=P.graphQLErrors),P.networkError&&(this.networkError=P.networkError),P},me}();function lt(me,P){void 0===P&&(P="none");var se="ignore"===P||"all"===P,Ce=!m(me);return!Ce&&se&&me.data&&(Ce=!0),Ce}var $=Object.prototype.hasOwnProperty,Re=function(){function me(P){var se=P.cache,Ce=P.link,He=P.defaultOptions,Qe=P.queryDeduplication,st=void 0!==Qe&&Qe,Ge=P.onBroadcast,at=P.ssrMode,_t=void 0!==at&&at,xt=P.clientAwareness,yt=void 0===xt?{}:xt,Pt=P.localState,At=P.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(A.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=se,this.link=Ce,this.defaultOptions=He||Object.create(null),this.queryDeduplication=st,this.clientAwareness=yt,this.localState=Pt||new j({cache:se}),this.ssrMode=_t,this.assumeImmutableResults=!!At,(this.onBroadcast=Ge)&&(this.mutationStore=Object.create(null))}return me.prototype.stop=function(){var P=this;this.queries.forEach(function(se,Ce){P.stopQueryNoBroadcast(Ce)}),this.cancelPendingFetches(__DEV__?new r.ej("QueryManager stopped while query was in flight"):new r.ej(11))},me.prototype.cancelPendingFetches=function(P){this.fetchCancelFns.forEach(function(se){return se(P)}),this.fetchCancelFns.clear()},me.prototype.mutate=function(P){var se,Ce,He=P.mutation,Qe=P.variables,st=P.optimisticResponse,Ge=P.updateQueries,at=P.refetchQueries,_t=void 0===at?[]:at,xt=P.awaitRefetchQueries,yt=void 0!==xt&&xt,Pt=P.update,At=P.onQueryUpdated,nt=P.fetchPolicy,ft=void 0===nt?(null===(se=this.defaultOptions.mutate)||void 0===se?void 0:se.fetchPolicy)||"network-only":nt,G=P.errorPolicy,U=void 0===G?(null===(Ce=this.defaultOptions.mutate)||void 0===Ce?void 0:Ce.errorPolicy)||"none":G,ie=P.keepRootFields,oe=P.context;return(0,o.mG)(this,void 0,void 0,function(){var Te,Xe,Ze;return(0,o.Jh)(this,function(we){switch(we.label){case 0:return __DEV__?(0,r.kG)(He,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,r.kG)(He,12),__DEV__?(0,r.kG)("network-only"===ft||"no-cache"===ft,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,r.kG)("network-only"===ft||"no-cache"===ft,13),Te=this.generateMutationId(),He=this.transform(He).document,Qe=this.getVariables(He,Qe),this.transform(He).hasClientExports?[4,this.localState.addExportedVariables(He,Qe,oe)]:[3,2];case 1:Qe=we.sent(),we.label=2;case 2:return Xe=this.mutationStore&&(this.mutationStore[Te]={mutation:He,variables:Qe,loading:!0,error:null}),st&&this.markMutationOptimistic(st,{mutationId:Te,document:He,variables:Qe,fetchPolicy:ft,errorPolicy:U,context:oe,updateQueries:Ge,update:Pt,keepRootFields:ie}),this.broadcastQueries(),Ze=this,[2,new Promise(function(Be,We){return B(Ze.getObservableFromLink(He,(0,o.pi)((0,o.pi)({},oe),{optimisticResponse:st}),Qe,!1),function(Ye){if(m(Ye)&&"none"===U)throw new Se.c({graphQLErrors:Ye.errors});Xe&&(Xe.loading=!1,Xe.error=null);var et=(0,o.pi)({},Ye);return"function"==typeof _t&&(_t=_t(et)),"ignore"===U&&m(et)&&delete et.errors,Ze.markMutationResult({mutationId:Te,result:et,document:He,variables:Qe,fetchPolicy:ft,errorPolicy:U,context:oe,update:Pt,updateQueries:Ge,awaitRefetchQueries:yt,refetchQueries:_t,removeOptimistic:st?Te:void 0,onQueryUpdated:At,keepRootFields:ie})}).subscribe({next:function(Ye){Ze.broadcastQueries(),Be(Ye)},error:function(Ye){Xe&&(Xe.loading=!1,Xe.error=Ye),st&&Ze.cache.removeOptimistic(Te),Ze.broadcastQueries(),We(Ye instanceof Se.c?Ye:new Se.c({networkError:Ye}))}})})]}})})},me.prototype.markMutationResult=function(P,se){var Ce=this;void 0===se&&(se=this.cache);var He=P.result,Qe=[],st="no-cache"===P.fetchPolicy;if(!st&<(He,P.errorPolicy)){Qe.push({result:He.data,dataId:"ROOT_MUTATION",query:P.document,variables:P.variables});var Ge=P.updateQueries;Ge&&this.queries.forEach(function(_t,xt){var yt=_t.observableQuery,Pt=yt&&yt.queryName;if(Pt&&$.call(Ge,Pt)){var At=Ge[Pt],nt=Ce.queries.get(xt),ft=nt.document,G=nt.variables,U=se.diff({query:ft,variables:G,returnPartialData:!0,optimistic:!1}),ie=U.result;if(U.complete&&ie){var Te=At(ie,{mutationResult:He,queryName:ft&&(0,b.rY)(ft)||void 0,queryVariables:G});Te&&Qe.push({result:Te,dataId:"ROOT_QUERY",query:ft,variables:G})}}})}if(Qe.length>0||P.refetchQueries||P.update||P.onQueryUpdated||P.removeOptimistic){var at=[];if(this.refetchQueries({updateCache:function(_t){st||Qe.forEach(function(Pt){return _t.write(Pt)});var xt=P.update;if(xt){if(!st){var yt=_t.diff({id:"ROOT_MUTATION",query:Ce.transform(P.document).asQuery,variables:P.variables,optimistic:!1,returnPartialData:!0});yt.complete&&(He=(0,o.pi)((0,o.pi)({},He),{data:yt.result}))}xt(_t,He,{context:P.context,variables:P.variables})}!st&&!P.keepRootFields&&_t.modify({id:"ROOT_MUTATION",fields:function(Pt,At){return"__typename"===At.fieldName?Pt:At.DELETE}})},include:P.refetchQueries,optimistic:!1,removeOptimistic:P.removeOptimistic,onQueryUpdated:P.onQueryUpdated||null}).forEach(function(_t){return at.push(_t)}),P.awaitRefetchQueries||P.onQueryUpdated)return Promise.all(at).then(function(){return He})}return Promise.resolve(He)},me.prototype.markMutationOptimistic=function(P,se){var Ce=this,He="function"==typeof P?P(se.variables):P;return this.cache.recordOptimisticTransaction(function(Qe){try{Ce.markMutationResult((0,o.pi)((0,o.pi)({},se),{result:{data:He}}),Qe)}catch(st){__DEV__&&r.kG.error(st)}},se.mutationId)},me.prototype.fetchQuery=function(P,se,Ce){return this.fetchQueryObservable(P,se,Ce).promise},me.prototype.getQueryStore=function(){var P=Object.create(null);return this.queries.forEach(function(se,Ce){P[Ce]={variables:se.variables,networkStatus:se.networkStatus,networkError:se.networkError,graphQLErrors:se.graphQLErrors}}),P},me.prototype.resetErrors=function(P){var se=this.queries.get(P);se&&(se.networkError=void 0,se.graphQLErrors=[])},me.prototype.transform=function(P){var se=this.transformCache;if(!se.has(P)){var Ce=this.cache.transformDocument(P),He=(0,S.Fo)(this.cache.transformForLink(Ce)),Qe=this.localState.clientQuery(Ce),st=He&&this.localState.serverQuery(He),Ge={document:Ce,hasClientExports:(0,v.mj)(Ce),hasForcedResolvers:this.localState.shouldForceResolvers(Ce),clientQuery:Qe,serverQuery:st,defaultVars:(0,b.O4)((0,b.$H)(Ce)),asQuery:(0,o.pi)((0,o.pi)({},Ce),{definitions:Ce.definitions.map(function(_t){return"OperationDefinition"===_t.kind&&"query"!==_t.operation?(0,o.pi)((0,o.pi)({},_t),{operation:"query"}):_t})})},at=function(_t){_t&&!se.has(_t)&&se.set(_t,Ge)};at(P),at(Ce),at(Qe),at(st)}return se.get(P)},me.prototype.getVariables=function(P,se){return(0,o.pi)((0,o.pi)({},this.transform(P).defaultVars),se)},me.prototype.watchQuery=function(P){typeof(P=(0,o.pi)((0,o.pi)({},P),{variables:this.getVariables(P.query,P.variables)})).notifyOnNetworkStatusChange>"u"&&(P.notifyOnNetworkStatusChange=!1);var se=new tt(this),Ce=new ve.ue({queryManager:this,queryInfo:se,options:P});return this.queries.set(Ce.queryId,se),se.init({document:Ce.query,observableQuery:Ce,variables:Ce.variables}),Ce},me.prototype.query=function(P,se){var Ce=this;return void 0===se&&(se=this.generateQueryId()),__DEV__?(0,r.kG)(P.query,"query option is required. You must specify your GraphQL document in the query option."):(0,r.kG)(P.query,14),__DEV__?(0,r.kG)("Document"===P.query.kind,'You must wrap the query string in a "gql" tag.'):(0,r.kG)("Document"===P.query.kind,15),__DEV__?(0,r.kG)(!P.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,r.kG)(!P.returnPartialData,16),__DEV__?(0,r.kG)(!P.pollInterval,"pollInterval option only supported on watchQuery."):(0,r.kG)(!P.pollInterval,17),this.fetchQuery(se,P).finally(function(){return Ce.stopQuery(se)})},me.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},me.prototype.generateRequestId=function(){return this.requestIdCounter++},me.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},me.prototype.stopQueryInStore=function(P){this.stopQueryInStoreNoBroadcast(P),this.broadcastQueries()},me.prototype.stopQueryInStoreNoBroadcast=function(P){var se=this.queries.get(P);se&&se.stop()},me.prototype.clearStore=function(P){return void 0===P&&(P={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new r.ej("Store reset while query was in flight (not completed in link chain)"):new r.ej(18)),this.queries.forEach(function(se){se.observableQuery?se.networkStatus=ye.I.loading:se.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(P)},me.prototype.getObservableQueries=function(P){var se=this;void 0===P&&(P="active");var Ce=new Map,He=new Map,Qe=new Set;return Array.isArray(P)&&P.forEach(function(st){"string"==typeof st?He.set(st,!1):(0,H.JW)(st)?He.set(se.transform(st).document,!1):(0,x.s)(st)&&st.query&&Qe.add(st)}),this.queries.forEach(function(st,Ge){var at=st.observableQuery,_t=st.document;if(at){if("all"===P)return void Ce.set(Ge,at);var xt=at.queryName;if("standby"===at.options.fetchPolicy||"active"===P&&!at.hasObservers())return;("active"===P||xt&&He.has(xt)||_t&&He.has(_t))&&(Ce.set(Ge,at),xt&&He.set(xt,!0),_t&&He.set(_t,!0))}}),Qe.size&&Qe.forEach(function(st){var Ge=(0,te.X)("legacyOneTimeQuery"),at=se.getQuery(Ge).init({document:st.query,variables:st.variables}),_t=new ve.ue({queryManager:se,queryInfo:at,options:(0,o.pi)((0,o.pi)({},st),{fetchPolicy:"network-only"})});(0,r.kG)(_t.queryId===Ge),at.setObservableQuery(_t),Ce.set(Ge,_t)}),__DEV__&&He.size&&He.forEach(function(st,Ge){st||__DEV__&&r.kG.warn("Unknown query ".concat("string"==typeof Ge?"named ":"").concat(JSON.stringify(Ge,null,2)," requested in refetchQueries options.include array"))}),Ce},me.prototype.reFetchObservableQueries=function(P){var se=this;void 0===P&&(P=!1);var Ce=[];return this.getObservableQueries(P?"all":"active").forEach(function(He,Qe){var st=He.options.fetchPolicy;He.resetLastResults(),(P||"standby"!==st&&"cache-only"!==st)&&Ce.push(He.refetch()),se.getQuery(Qe).setDiff(null)}),this.broadcastQueries(),Promise.all(Ce)},me.prototype.setObservableQuery=function(P){this.getQuery(P.queryId).setObservableQuery(P)},me.prototype.startGraphQLSubscription=function(P){var se=this,Ce=P.query,He=P.fetchPolicy,Qe=P.errorPolicy,st=P.variables,Ge=P.context,at=void 0===Ge?{}:Ge;Ce=this.transform(Ce).document,st=this.getVariables(Ce,st);var _t=function(yt){return se.getObservableFromLink(Ce,at,yt).map(function(Pt){if("no-cache"!==He&&(lt(Pt,Qe)&&se.cache.write({query:Ce,result:Pt.data,dataId:"ROOT_SUBSCRIPTION",variables:yt}),se.broadcastQueries()),m(Pt))throw new Se.c({graphQLErrors:Pt.errors});return Pt})};if(this.transform(Ce).hasClientExports){var xt=this.localState.addExportedVariables(Ce,st,at).then(_t);return new g.y(function(yt){var Pt=null;return xt.then(function(At){return Pt=At.subscribe(yt)},yt.error),function(){return Pt&&Pt.unsubscribe()}})}return _t(st)},me.prototype.stopQuery=function(P){this.stopQueryNoBroadcast(P),this.broadcastQueries()},me.prototype.stopQueryNoBroadcast=function(P){this.stopQueryInStoreNoBroadcast(P),this.removeQuery(P)},me.prototype.removeQuery=function(P){this.fetchCancelFns.delete(P),this.queries.has(P)&&(this.getQuery(P).stop(),this.queries.delete(P))},me.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(P){return P.notify()})},me.prototype.getLocalState=function(){return this.localState},me.prototype.getObservableFromLink=function(P,se,Ce,He){var st,Qe=this;void 0===He&&(He=null!==(st=se?.queryDeduplication)&&void 0!==st?st:this.queryDeduplication);var Ge,at=this.transform(P).serverQuery;if(at){var xt=this.inFlightLinkObservables,yt=this.link,Pt={query:at,variables:Ce,operationName:(0,b.rY)(at)||void 0,context:this.prepareContext((0,o.pi)((0,o.pi)({},se),{forceFetch:!He}))};if(se=Pt.context,He){var At=xt.get(at)||new Map;xt.set(at,At);var nt=(0,L.B)(Ce);if(!(Ge=At.get(nt))){var ft=new Z([(0,_.h)(yt,Pt)]);At.set(nt,Ge=ft),ft.cleanup(function(){At.delete(nt)&&At.size<1&&xt.delete(at)})}}else Ge=new Z([(0,_.h)(yt,Pt)])}else Ge=new Z([g.y.of({data:{}})]),se=this.prepareContext(se);var G=this.transform(P).clientQuery;return G&&(Ge=B(Ge,function(U){return Qe.localState.runResolvers({document:G,remoteResult:U,context:se,variables:Ce})})),Ge},me.prototype.getResultsFromLink=function(P,se,Ce){var He=P.lastRequestId=this.generateRequestId();return B(this.getObservableFromLink(P.document,Ce.context,Ce.variables),function(Qe){var st=(0,Me.O)(Qe.errors);if(He>=P.lastRequestId){if(st&&"none"===Ce.errorPolicy)throw P.markError(new Se.c({graphQLErrors:Qe.errors}));P.markResult(Qe,Ce,se),P.markReady()}var Ge={data:Qe.data,loading:!1,networkStatus:ye.I.ready};return st&&"ignore"!==Ce.errorPolicy&&(Ge.errors=Qe.errors,Ge.networkStatus=ye.I.error),Ge},function(Qe){var st=(0,Se.M)(Qe)?Qe:new Se.c({networkError:Qe});throw He>=P.lastRequestId&&P.markError(st),st})},me.prototype.fetchQueryObservable=function(P,se,Ce){var He=this;void 0===Ce&&(Ce=ye.I.loading);var Qe=this.transform(se.query).document,st=this.getVariables(Qe,se.variables),Ge=this.getQuery(P),at=this.defaultOptions.watchQuery,_t=se.fetchPolicy,yt=se.errorPolicy,At=se.returnPartialData,ft=se.notifyOnNetworkStatusChange,U=se.context,oe=Object.assign({},se,{query:Qe,variables:st,fetchPolicy:void 0===_t?at&&at.fetchPolicy||"cache-first":_t,errorPolicy:void 0===yt?at&&at.errorPolicy||"none":yt,returnPartialData:void 0!==At&&At,notifyOnNetworkStatusChange:void 0!==ft&&ft,context:void 0===U?{}:U}),Te=function(we){oe.variables=we;var Be=He.fetchQueryByPolicy(Ge,oe,Ce);return"standby"!==oe.fetchPolicy&&Be.length>0&&Ge.observableQuery&&Ge.observableQuery.applyNextFetchPolicy("after-fetch",se),Be},Xe=function(){return He.fetchCancelFns.delete(P)};this.fetchCancelFns.set(P,function(we){Xe(),setTimeout(function(){return Ze.cancel(we)})});var Ze=new Z(this.transform(oe.query).hasClientExports?this.localState.addExportedVariables(oe.query,oe.variables,oe.context).then(Te):Te(oe.variables));return Ze.promise.then(Xe,Xe),Ze},me.prototype.refetchQueries=function(P){var se=this,Ce=P.updateCache,He=P.include,Qe=P.optimistic,st=void 0!==Qe&&Qe,Ge=P.removeOptimistic,at=void 0===Ge?st?(0,te.X)("refetchQueries"):void 0:Ge,_t=P.onQueryUpdated,xt=new Map;He&&this.getObservableQueries(He).forEach(function(Pt,At){xt.set(At,{oq:Pt,lastDiff:se.getQuery(At).getDiff()})});var yt=new Map;return Ce&&this.cache.batch({update:Ce,optimistic:st&&at||!1,removeOptimistic:at,onWatchUpdated:function(Pt,At,nt){var ft=Pt.watcher instanceof tt&&Pt.watcher.observableQuery;if(ft){if(_t){xt.delete(ft.queryId);var G=_t(ft,At,nt);return!0===G&&(G=ft.refetch()),!1!==G&&yt.set(ft,G),G}null!==_t&&xt.set(ft.queryId,{oq:ft,lastDiff:nt,diff:At})}}}),xt.size&&xt.forEach(function(Pt,At){var U,nt=Pt.oq,ft=Pt.lastDiff,G=Pt.diff;if(_t){if(!G){var ie=nt.queryInfo;ie.reset(),G=ie.getDiff()}U=_t(nt,G,ft)}(!_t||!0===U)&&(U=nt.refetch()),!1!==U&&yt.set(nt,U),At.indexOf("legacyOneTimeQuery")>=0&&se.stopQueryNoBroadcast(At)}),at&&this.cache.removeOptimistic(at),yt},me.prototype.fetchQueryByPolicy=function(P,se,Ce){var He=this,Qe=se.query,st=se.variables,Ge=se.fetchPolicy,at=se.refetchWritePolicy,_t=se.errorPolicy,xt=se.returnPartialData,yt=se.context,Pt=se.notifyOnNetworkStatusChange,At=P.networkStatus;P.init({document:this.transform(Qe).document,variables:st,networkStatus:Ce});var nt=function(){return P.getDiff(st)},ft=function(Te,Xe){void 0===Xe&&(Xe=P.networkStatus||ye.I.loading);var Ze=Te.result;__DEV__&&!xt&&!(0,w.D)(Ze,{})&&(0,ve.DC)(Te.missing);var we=function(Be){return g.y.of((0,o.pi)({data:Be,loading:(0,ye.O)(Xe),networkStatus:Xe},Te.complete?null:{partial:!0}))};return Ze&&He.transform(Qe).hasForcedResolvers?He.localState.runResolvers({document:Qe,remoteResult:{data:Ze},context:yt,variables:st,onlyRunForcedResolvers:!0}).then(function(Be){return we(Be.data||void 0)}):we(Ze)},G="no-cache"===Ge?0:Ce===ye.I.refetch&&"merge"!==at?1:2,U=function(){return He.getResultsFromLink(P,G,{variables:st,context:yt,fetchPolicy:Ge,errorPolicy:_t})},ie=Pt&&"number"==typeof At&&At!==Ce&&(0,ye.O)(Ce);switch(Ge){default:case"cache-first":return(oe=nt()).complete?[ft(oe,P.markReady())]:xt||ie?[ft(oe),U()]:[U()];case"cache-and-network":var oe;return(oe=nt()).complete||xt||ie?[ft(oe),U()]:[U()];case"cache-only":return[ft(nt(),P.markReady())];case"network-only":return ie?[ft(nt()),U()]:[U()];case"no-cache":return ie?[ft(P.getDiff()),U()]:[U()];case"standby":return[]}},me.prototype.getQuery=function(P){return P&&!this.queries.has(P)&&this.queries.set(P,new tt(this,P)),this.queries.get(P)},me.prototype.prepareContext=function(P){void 0===P&&(P={});var se=this.localState.prepareContext(P);return(0,o.pi)((0,o.pi)({},se),{clientAwareness:this.clientAwareness})},me}(),re=s(9190),xe=!1,Ke=function(){function me(P){var se=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var Ce=P.uri,st=P.cache,Ge=P.ssrMode,at=void 0!==Ge&&Ge,_t=P.ssrForceFetchDelay,xt=void 0===_t?0:_t,yt=P.connectToDevTools,Pt=void 0===yt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:yt,At=P.queryDeduplication,nt=void 0===At||At,ft=P.defaultOptions,G=P.assumeImmutableResults,U=void 0!==G&&G,ie=P.resolvers,oe=P.typeDefs,Te=P.fragmentMatcher,Xe=P.name,Ze=P.version,we=P.link;if(we||(we=Ce?new d.u({uri:Ce,credentials:P.credentials,headers:P.headers}):h.i.empty()),!st)throw __DEV__?new r.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new r.ej(7);if(this.link=we,this.cache=st,this.disableNetworkFetches=at||xt>0,this.queryDeduplication=nt,this.defaultOptions=ft||Object.create(null),this.typeDefs=oe,xt&&setTimeout(function(){return se.disableNetworkFetches=!1},xt),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),Pt&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!xe&&__DEV__&&(xe=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var Be=window.navigator,We=Be&&Be.userAgent,Ye=void 0;"string"==typeof We&&(We.indexOf("Chrome/")>-1?Ye="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":We.indexOf("Firefox/")>-1&&(Ye="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Ye&&__DEV__&&r.kG.log("Download the Apollo DevTools for a better development experience: "+Ye)}this.version="3.6.9",this.localState=new j({cache:st,client:this,resolvers:ie,fragmentMatcher:Te}),this.queryManager=new Re({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:nt,ssrMode:at,clientAwareness:{name:Xe,version:Ze},localState:this.localState,assumeImmutableResults:U,onBroadcast:Pt?function(){se.devToolsHookCb&&se.devToolsHookCb({action:{},state:{queries:se.queryManager.getQueryStore(),mutations:se.queryManager.mutationStore||{}},dataWithOptimisticResults:se.cache.extract(!0)})}:void 0})}return me.prototype.stop=function(){this.queryManager.stop()},me.prototype.watchQuery=function(P){return this.defaultOptions.watchQuery&&(P=(0,re.J)(this.defaultOptions.watchQuery,P)),this.disableNetworkFetches&&("network-only"===P.fetchPolicy||"cache-and-network"===P.fetchPolicy)&&(P=(0,o.pi)((0,o.pi)({},P),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(P)},me.prototype.query=function(P){return this.defaultOptions.query&&(P=(0,re.J)(this.defaultOptions.query,P)),__DEV__?(0,r.kG)("cache-and-network"!==P.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,r.kG)("cache-and-network"!==P.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===P.fetchPolicy&&(P=(0,o.pi)((0,o.pi)({},P),{fetchPolicy:"cache-first"})),this.queryManager.query(P)},me.prototype.mutate=function(P){return this.defaultOptions.mutate&&(P=(0,re.J)(this.defaultOptions.mutate,P)),this.queryManager.mutate(P)},me.prototype.subscribe=function(P){return this.queryManager.startGraphQLSubscription(P)},me.prototype.readQuery=function(P,se){return void 0===se&&(se=!1),this.cache.readQuery(P,se)},me.prototype.readFragment=function(P,se){return void 0===se&&(se=!1),this.cache.readFragment(P,se)},me.prototype.writeQuery=function(P){this.cache.writeQuery(P),this.queryManager.broadcastQueries()},me.prototype.writeFragment=function(P){this.cache.writeFragment(P),this.queryManager.broadcastQueries()},me.prototype.__actionHookForDevTools=function(P){this.devToolsHookCb=P},me.prototype.__requestRaw=function(P){return(0,_.h)(this.link,P)},me.prototype.resetStore=function(){var P=this;return Promise.resolve().then(function(){return P.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(P.resetStoreCallbacks.map(function(se){return se()}))}).then(function(){return P.reFetchObservableQueries()})},me.prototype.clearStore=function(){var P=this;return Promise.resolve().then(function(){return P.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(P.clearStoreCallbacks.map(function(se){return se()}))})},me.prototype.onResetStore=function(P){var se=this;return this.resetStoreCallbacks.push(P),function(){se.resetStoreCallbacks=se.resetStoreCallbacks.filter(function(Ce){return Ce!==P})}},me.prototype.onClearStore=function(P){var se=this;return this.clearStoreCallbacks.push(P),function(){se.clearStoreCallbacks=se.clearStoreCallbacks.filter(function(Ce){return Ce!==P})}},me.prototype.reFetchObservableQueries=function(P){return this.queryManager.reFetchObservableQueries(P)},me.prototype.refetchQueries=function(P){var se=this.queryManager.refetchQueries(P),Ce=[],He=[];se.forEach(function(st,Ge){Ce.push(Ge),He.push(st)});var Qe=Promise.all(He);return Qe.queries=Ce,Qe.results=He,Qe.catch(function(st){__DEV__&&r.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(st))}),Qe},me.prototype.getObservableQueries=function(P){return void 0===P&&(P="active"),this.queryManager.getObservableQueries(P)},me.prototype.extract=function(P){return this.cache.extract(P)},me.prototype.restore=function(P){return this.cache.restore(P)},me.prototype.addResolvers=function(P){this.localState.addResolvers(P)},me.prototype.setResolvers=function(P){this.localState.setResolvers(P)},me.prototype.getResolvers=function(){return this.localState.getResolvers()},me.prototype.setLocalStateFragmentMatcher=function(P){this.localState.setFragmentMatcher(P)},me.prototype.setLink=function(P){this.link=this.queryManager.link=P},me}()},4167:(Ue,J,s)=>{"use strict";s.d(J,{DC:()=>x,ue:()=>S,vj:()=>v});var o=s(4762),r=s(138),h=s(1913),_=s(3135),f=s(1144),d=s(3107),w=s(8779),L=s(4155),A=s(1194),g=s(4854),B=s(2652),m=Object.assign,b=Object.hasOwnProperty,S=function(te){function Ee(T){var ue=T.queryManager,Z=T.queryInfo,Me=T.options,Se=te.call(this,function(ke){try{var tt=ke._subscription._observer;tt&&!tt.error&&(tt.error=H)}catch{}var lt=!Se.observers.size;Se.observers.add(ke);var $=Se.last;return $&&$.error?ke.error&&ke.error($.error):$&&$.result&&ke.next&&ke.next($.result),lt&&Se.reobserve().catch(function(){}),function(){Se.observers.delete(ke)&&!Se.observers.size&&Se.tearDownQuery()}})||this;Se.observers=new Set,Se.subscriptions=new Set,Se.queryInfo=Z,Se.queryManager=ue,Se.isTornDown=!1;var ve=ue.defaultOptions.watchQuery,De=(void 0===ve?{}:ve).fetchPolicy,z=void 0===De?"cache-first":De,Y=Me.fetchPolicy,V=void 0===Y?z:Y,j=Me.initialFetchPolicy,X=void 0===j?"standby"===V?z:V:j;Se.options=(0,o.pi)((0,o.pi)({},Me),{initialFetchPolicy:X,fetchPolicy:V}),Se.queryId=Z.queryId||ue.generateQueryId();var Ie=(0,f.$H)(Se.query);return Se.queryName=Ie&&Ie.name&&Ie.name.value,Se}return(0,o.ZT)(Ee,te),Object.defineProperty(Ee.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),Ee.prototype.result=function(){var T=this;return new Promise(function(ue,Z){var Me={next:function(ve){ue(ve),T.observers.delete(Me),T.observers.size||T.queryManager.removeQuery(T.queryId),setTimeout(function(){Se.unsubscribe()},0)},error:Z},Se=T.subscribe(Me)})},Ee.prototype.getCurrentResult=function(T){void 0===T&&(T=!0);var ue=this.getLastResult(!0),Z=this.queryInfo.networkStatus||ue&&ue.networkStatus||_.I.ready,Me=(0,o.pi)((0,o.pi)({},ue),{loading:(0,_.O)(Z),networkStatus:Z}),Se=this.options.fetchPolicy,ve=void 0===Se?"cache-first":Se;if("network-only"!==ve&&"no-cache"!==ve&&"standby"!==ve&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var ye=this.queryInfo.getDiff();(ye.complete||this.options.returnPartialData)&&(Me.data=ye.result),(0,h.D)(Me.data,{})&&(Me.data=void 0),ye.complete?(delete Me.partial,ye.complete&&Me.networkStatus===_.I.loading&&("cache-first"===ve||"cache-only"===ve)&&(Me.networkStatus=_.I.ready,Me.loading=!1)):Me.partial=!0,__DEV__&&!ye.complete&&!this.options.partialRefetch&&!Me.loading&&!Me.data&&!Me.error&&x(ye.missing)}return T&&this.updateLastResult(Me),Me},Ee.prototype.isDifferentFromLastResult=function(T){return!this.last||!(0,h.D)(this.last.result,T)},Ee.prototype.getLast=function(T,ue){var Z=this.last;if(Z&&Z[T]&&(!ue||(0,h.D)(Z.variables,this.variables)))return Z[T]},Ee.prototype.getLastResult=function(T){return this.getLast("result",T)},Ee.prototype.getLastError=function(T){return this.getLast("error",T)},Ee.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},Ee.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},Ee.prototype.refetch=function(T){var ue,Z={pollInterval:0},Me=this.options.fetchPolicy;if(Z.fetchPolicy="cache-and-network"===Me?Me:"no-cache"===Me?"no-cache":"network-only",__DEV__&&T&&b.call(T,"variables")){var Se=(0,f.iW)(this.query),ve=Se.variableDefinitions;(!ve||!ve.some(function(ye){return"variables"===ye.variable.name.value}))&&__DEV__&&r.kG.warn("Called refetch(".concat(JSON.stringify(T),") for query ").concat((null===(ue=Se.name)||void 0===ue?void 0:ue.value)||JSON.stringify(Se),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return T&&!(0,h.D)(this.options.variables,T)&&(Z.variables=this.options.variables=(0,o.pi)((0,o.pi)({},this.options.variables),T)),this.queryInfo.resetLastWrite(),this.reobserve(Z,_.I.refetch)},Ee.prototype.fetchMore=function(T){var ue=this,Z=(0,o.pi)((0,o.pi)({},T.query?T:(0,o.pi)((0,o.pi)((0,o.pi)((0,o.pi)({},this.options),{query:this.query}),T),{variables:(0,o.pi)((0,o.pi)({},this.options.variables),T.variables)})),{fetchPolicy:"no-cache"}),Me=this.queryManager.generateQueryId(),Se=this.queryInfo,ve=Se.networkStatus;Se.networkStatus=_.I.fetchMore,Z.notifyOnNetworkStatusChange&&this.observe();var ye=new Set;return this.queryManager.fetchQuery(Me,Z,_.I.fetchMore).then(function(De){return ue.queryManager.removeQuery(Me),Se.networkStatus===_.I.fetchMore&&(Se.networkStatus=ve),ue.queryManager.cache.batch({update:function(z){var Y=T.updateQuery;Y?z.updateQuery({query:ue.query,variables:ue.variables,returnPartialData:!0,optimistic:!1},function(V){return Y(V,{fetchMoreResult:De.data,variables:Z.variables})}):z.writeQuery({query:Z.query,variables:Z.variables,data:De.data})},onWatchUpdated:function(z){ye.add(z.query)}}),De}).finally(function(){ye.has(ue.query)||v(ue)})},Ee.prototype.subscribeToMore=function(T){var ue=this,Z=this.queryManager.startGraphQLSubscription({query:T.document,variables:T.variables,context:T.context}).subscribe({next:function(Me){var Se=T.updateQuery;Se&&ue.updateQuery(function(ve,ye){return Se(ve,{subscriptionData:Me,variables:ye.variables})})},error:function(Me){T.onError?T.onError(Me):__DEV__&&r.kG.error("Unhandled GraphQL subscription error",Me)}});return this.subscriptions.add(Z),function(){ue.subscriptions.delete(Z)&&Z.unsubscribe()}},Ee.prototype.setOptions=function(T){return this.reobserve(T)},Ee.prototype.setVariables=function(T){return(0,h.D)(this.variables,T)?this.observers.size?this.result():Promise.resolve():(this.options.variables=T,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:T},_.I.setVariables):Promise.resolve())},Ee.prototype.updateQuery=function(T){var ue=this.queryManager,Me=T(ue.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Me&&(ue.cache.writeQuery({query:this.options.query,data:Me,variables:this.variables}),ue.broadcastQueries())},Ee.prototype.startPolling=function(T){this.options.pollInterval=T,this.updatePolling()},Ee.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},Ee.prototype.applyNextFetchPolicy=function(T,ue){if(ue.nextFetchPolicy){var Z=ue.fetchPolicy,Me=void 0===Z?"cache-first":Z,Se=ue.initialFetchPolicy,ve=void 0===Se?Me:Se;"standby"===Me||(ue.fetchPolicy="function"==typeof ue.nextFetchPolicy?ue.nextFetchPolicy(Me,{reason:T,options:ue,observable:this,initialFetchPolicy:ve}):"variables-changed"===T?ve:ue.nextFetchPolicy)}return ue.fetchPolicy},Ee.prototype.fetch=function(T,ue){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,T,ue)},Ee.prototype.updatePolling=function(){var T=this;if(!this.queryManager.ssrMode){var Z=this.pollingInfo,Me=this.options.pollInterval;if(!Me)return void(Z&&(clearTimeout(Z.timeout),delete this.pollingInfo));if(!Z||Z.interval!==Me){__DEV__?(0,r.kG)(Me,"Attempted to start a polling query without a polling interval."):(0,r.kG)(Me,10),(Z||(this.pollingInfo={})).interval=Me;var ve=function(){T.pollingInfo&&((0,_.O)(T.queryInfo.networkStatus)?ye():T.reobserve({fetchPolicy:"network-only"},_.I.poll).then(ye,ye))},ye=function(){var De=T.pollingInfo;De&&(clearTimeout(De.timeout),De.timeout=setTimeout(ve,De.interval))};ye()}}},Ee.prototype.updateLastResult=function(T,ue){return void 0===ue&&(ue=this.variables),this.last=(0,o.pi)((0,o.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?T:(0,d.X)(T),variables:ue}),(0,w.O)(T.errors)||delete this.last.error,this.last},Ee.prototype.reobserve=function(T,ue){var Z=this;this.isTornDown=!1;var Me=ue===_.I.refetch||ue===_.I.fetchMore||ue===_.I.poll,Se=this.options.variables,ve=this.options.fetchPolicy,ye=(0,L.o)(this.options,T||{}),De=Me?ye:m(this.options,ye);Me||(this.updatePolling(),T&&T.variables&&!(0,h.D)(T.variables,Se)&&"standby"!==De.fetchPolicy&&De.fetchPolicy===ve&&(this.applyNextFetchPolicy("variables-changed",De),void 0===ue&&(ue=_.I.setVariables)));var z=De.variables&&(0,o.pi)({},De.variables),Y=this.fetch(De,ue),V={next:function(j){Z.reportResult(j,z)},error:function(j){Z.reportError(j,z)}};return Me||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=Y,this.observer=V),Y.addObserver(V),Y.promise},Ee.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},Ee.prototype.reportResult=function(T,ue){var Z=this.getLastError();(Z||this.isDifferentFromLastResult(T))&&((Z||!T.partial||this.options.returnPartialData)&&this.updateLastResult(T,ue),(0,A.p)(this.observers,"next",T))},Ee.prototype.reportError=function(T,ue){var Z=(0,o.pi)((0,o.pi)({},this.getLastResult()),{error:T,errors:T.graphQLErrors,networkStatus:_.I.error,loading:!1});this.updateLastResult(Z,ue),(0,A.p)(this.observers,"error",this.last.error=T)},Ee.prototype.hasObservers=function(){return this.observers.size>0},Ee.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(T){return T.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},Ee}(g.y);function v(te){var Ee=te.options,T=Ee.fetchPolicy,ue=Ee.nextFetchPolicy;return"cache-and-network"===T||"network-only"===T?te.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=ue,"function"==typeof ue?ue.apply(this,arguments):T}}):te.reobserve()}function H(te){__DEV__&&r.kG.error("Unhandled error",te.message,te.stack)}function x(te){__DEV__&&te&&__DEV__&&r.kG.debug("Missing cache result fields: ".concat(JSON.stringify(te)),te)}(0,B.D)(S)},5149:(Ue,J,s)=>{"use strict";s.r(J),s.d(J,{ApolloCache:()=>L.R,ApolloClient:()=>r.f,ApolloError:()=>d.c,ApolloLink:()=>b.i,Cache:()=>w,HttpLink:()=>Ee.HttpLink,InMemoryCache:()=>A.h,MissingFieldError:()=>g.y,NetworkStatus:()=>f.I,Observable:()=>ue.y,ObservableQuery:()=>_.ue,checkFetcher:()=>Ee.checkFetcher,concat:()=>x,createHttpLink:()=>Ee.createHttpLink,createSignalIfSupported:()=>Ee.createSignalIfSupported,defaultDataIdFromObject:()=>B.uG,defaultPrinter:()=>Ee.defaultPrinter,disableExperimentalFragmentVariables:()=>De.J9,disableFragmentWarnings:()=>De._t,empty:()=>S,enableExperimentalFragmentVariables:()=>De.wO,execute:()=>te.h,fallbackHttpConfig:()=>Ee.fallbackHttpConfig,from:()=>v,fromError:()=>Me.Q,fromPromise:()=>Z,gql:()=>De.Ps,isApolloError:()=>d.M,isReference:()=>ve.Yk,makeReference:()=>ve.kQ,makeVar:()=>m.QS,mergeOptions:()=>h.J,parseAndCheckHttpResponse:()=>Ee.parseAndCheckHttpResponse,resetCaches:()=>De.HW,rewriteURIForGET:()=>Ee.rewriteURIForGET,selectHttpOptionsAndBody:()=>Ee.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>Ee.selectHttpOptionsAndBodyInternal,selectURI:()=>Ee.selectURI,serializeFetchParameter:()=>Ee.serializeFetchParameter,setLogVerbosity:()=>ye.U6,split:()=>H.V,throwServerError:()=>Se.P,toPromise:()=>T});var w,o=s(138),r=s(5447),h=s(9190),_=s(4167),f=s(3135),d=s(709);w||(w={});var L=s(6835),A=s(1132),g=s(4699),B=s(460),m=s(4350),b=s(56),S=b.i.empty,v=b.i.from,H=s(8862),x=b.i.concat,te=s(8498),Ee=s(426);function T(z){var Y=!1;return new Promise(function(V,j){z.subscribe({next:function(X){Y?__DEV__&&o.kG.warn("Promise Wrapper does not support multiple results from Observable"):(Y=!0,V(X))},error:j})})}var ue=s(4854);function Z(z){return new ue.y(function(Y){z.then(function(V){Y.next(V),Y.complete()}).catch(Y.error.bind(Y))})}var Me=s(2929),Se=s(7139),ve=s(9737),ye=s(2269),De=s(9139);(0,ye.U6)(o.Rk?"log":"silent")},3135:(Ue,J,s)=>{"use strict";s.d(J,{I:()=>o,O:()=>r});var o=(()=>{return(h=o||(o={}))[h.loading=1]="loading",h[h.setVariables=2]="setVariables",h[h.fetchMore=3]="fetchMore",h[h.refetch=4]="refetch",h[h.poll=6]="poll",h[h.ready=7]="ready",h[h.error=8]="error",o;var h})();function r(h){return!!h&&h<7}},709:(Ue,J,s)=>{"use strict";s.d(J,{M:()=>_,c:()=>d});var o=s(4762),h=(s(138),s(8779));function _(w){return w.hasOwnProperty("graphQLErrors")}var d=function(w){function L(A){var g=A.graphQLErrors,B=A.clientErrors,m=A.networkError,b=A.errorMessage,S=A.extraInfo,v=w.call(this,b)||this;return v.graphQLErrors=g||[],v.clientErrors=B||[],v.networkError=m||null,v.message=b||function(w){var L="";return((0,h.O)(w.graphQLErrors)||(0,h.O)(w.clientErrors))&&(w.graphQLErrors||[]).concat(w.clientErrors||[]).forEach(function(g){L+="".concat(g?g.message:"Error message not found.","\n")}),w.networkError&&(L+="".concat(w.networkError.message,"\n")),L=L.replace(/\n$/,"")}(v),v.extraInfo=S,v.__proto__=L.prototype,v}return(0,o.ZT)(L,w),L}(Error)},56:(Ue,J,s)=>{"use strict";s.d(J,{i:()=>m});var o=s(4762),r=s(138),h=s(4854),f=s(1144);function L(b,S){return S?S(b):h.y.of()}function A(b){return"function"==typeof b?new m(b):b}function g(b){return b.request.length<=1}var B=function(b){function S(v,H){var x=b.call(this,v)||this;return x.link=H,x}return(0,o.ZT)(S,b),S}(Error),m=function(){function b(S){S&&(this.request=S)}return b.empty=function(){return new b(function(){return h.y.of()})},b.from=function(S){return 0===S.length?b.empty():S.map(A).reduce(function(v,H){return v.concat(H)})},b.split=function(S,v,H){var x=A(v),te=A(H||new b(L));return g(x)&&g(te)?new b(function(Ee){return S(Ee)?x.request(Ee)||h.y.of():te.request(Ee)||h.y.of()}):new b(function(Ee,T){return S(Ee)?x.request(Ee,T)||h.y.of():te.request(Ee,T)||h.y.of()})},b.execute=function(S,v){return S.request(function _(b,S){var v=(0,o.pi)({},b);return Object.defineProperty(S,"setContext",{enumerable:!1,value:function(te){v=(0,o.pi)((0,o.pi)({},v),"function"==typeof te?te(v):te)}}),Object.defineProperty(S,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},v)}}),S}(v.context,function d(b){var S={variables:b.variables||{},extensions:b.extensions||{},operationName:b.operationName,query:b.query};return S.operationName||(S.operationName="string"!=typeof S.query?(0,f.rY)(S.query)||void 0:""),S}(function w(b){for(var S=["query","operationName","variables","extensions","context"],v=0,H=Object.keys(b);v{"use strict";s.d(J,{h:()=>r});var r=s(56).i.execute},8862:(Ue,J,s)=>{"use strict";s.d(J,{V:()=>r});var r=s(56).i.split},3111:(Ue,J,s)=>{"use strict";s.d(J,{u:()=>_});var o=s(4762),r=s(56),h=s(4923),_=function(f){function d(w){void 0===w&&(w={});var L=f.call(this,(0,h.L)(w).request)||this;return L.options=w,L}return(0,o.ZT)(d,f),d}(r.i)},3079:(Ue,J,s)=>{"use strict";s.d(J,{U:()=>r});var o=s(138),r=function(h){if(!h&&typeof fetch>"u")throw __DEV__?new o.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new o.ej(20)}},4923:(Ue,J,s)=>{"use strict";s.d(J,{L:()=>v});var o=s(4762),r=s(138),h=s(9098),_=s(56),f=s(4854),d=s(6329),w=s(9361),L=s(309),A=s(3079),g=s(7122),B=s(9456),m=s(5523),b=s(2929),S=(0,r.wY)(function(){return fetch}),v=function(H){void 0===H&&(H={});var x=H.uri,te=void 0===x?"/graphql":x,Ee=H.fetch,T=H.print,ue=void 0===T?g.sb:T,Z=H.includeExtensions,Me=H.useGETForQueries,Se=H.includeUnusedVariables,ve=void 0!==Se&&Se,ye=(0,o._T)(H,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&(0,A.U)(Ee||S);var De={http:{includeExtensions:Z},options:ye.fetchOptions,credentials:ye.credentials,headers:ye.headers};return new _.i(function(z){var Y=(0,w.r)(z,te),V=z.getContext(),j={};if(V.clientAwareness){var X=V.clientAwareness,Ie=X.name,ke=X.version;Ie&&(j["apollographql-client-name"]=Ie),ke&&(j["apollographql-client-version"]=ke)}var Ke,tt=(0,o.pi)((0,o.pi)({},j),V.headers),$=(0,g.ve)(z,ue,g.SC,De,{http:V.http,options:V.fetchOptions,credentials:V.credentials,headers:tt}),Re=$.options,re=$.body;if(re.variables&&!ve){var xe=new Set(Object.keys(re.variables));(0,h.Vn)(z.query,{Variable:function(Ge,at,_t){_t&&"VariableDefinition"!==_t.kind&&xe.delete(Ge.name.value)}}),xe.size&&(re.variables=(0,o.pi)({},re.variables),xe.forEach(function(Ge){delete re.variables[Ge]}))}if(!Re.signal){var me=(0,B.$)();(Ke=me.controller)&&(Re.signal=me.signal)}if(Me&&!z.query.definitions.some(function(Ge){return"OperationDefinition"===Ge.kind&&"mutation"===Ge.operation})&&(Re.method="GET"),"GET"===Re.method){var He=(0,m.H)(Y,re),Qe=He.newURI,st=He.parseError;if(st)return(0,b.Q)(st);Y=Qe}else try{Re.body=(0,d.g)(re,"Payload")}catch(Ge){return(0,b.Q)(Ge)}return new f.y(function(Ge){return(Ee||(0,r.wY)(function(){return fetch})||S)(Y,Re).then(function(_t){return z.setContext({response:_t}),_t}).then((0,L.d)(z)).then(function(_t){return Ge.next(_t),Ge.complete(),_t}).catch(function(_t){"AbortError"!==_t.name&&(_t.result&&_t.result.errors&&_t.result.data&&Ge.next(_t.result),Ge.error(_t))}),function(){Ke&&Ke.abort()}})})}},9456:(Ue,J,s)=>{"use strict";s.d(J,{$:()=>o});var o=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var r=new AbortController;return{controller:r,signal:r.signal}}},426:(Ue,J,s)=>{"use strict";s.r(J),s.d(J,{HttpLink:()=>A.u,checkFetcher:()=>f.U,createHttpLink:()=>L.L,createSignalIfSupported:()=>d.$,defaultPrinter:()=>_.sb,fallbackHttpConfig:()=>_.SC,parseAndCheckHttpResponse:()=>r.d,rewriteURIForGET:()=>g.H,selectHttpOptionsAndBody:()=>_.E4,selectHttpOptionsAndBodyInternal:()=>_.ve,selectURI:()=>w.r,serializeFetchParameter:()=>h.g}),s(138);var r=s(309),h=s(6329),_=s(7122),f=s(3079),d=s(9456),w=s(9361),L=s(4923),A=s(3111),g=s(5523)},309:(Ue,J,s)=>{"use strict";s.d(J,{d:()=>h});var o=s(7139),r=Object.prototype.hasOwnProperty;function h(_){return function(f){return f.text().then(function(d){try{return JSON.parse(d)}catch(L){var w=L;throw w.name="ServerParseError",w.response=f,w.statusCode=f.status,w.bodyText=d,w}}).then(function(d){return f.status>=300&&(0,o.P)(f,d,"Response not successful: Received status code ".concat(f.status)),!Array.isArray(d)&&!r.call(d,"data")&&!r.call(d,"errors")&&(0,o.P)(f,d,"Server response was missing for query '".concat(Array.isArray(_)?_.map(function(w){return w.operationName}):_.operationName,"'.")),d})}}},5523:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>r});var o=s(6329);function r(h,_){var f=[],d=function(S,v){f.push("".concat(S,"=").concat(encodeURIComponent(v)))};if("query"in _&&d("query",_.query),_.operationName&&d("operationName",_.operationName),_.variables){var w=void 0;try{w=(0,o.g)(_.variables,"Variables map")}catch(S){return{parseError:S}}d("variables",w)}if(_.extensions){var L=void 0;try{L=(0,o.g)(_.extensions,"Extensions map")}catch(S){return{parseError:S}}d("extensions",L)}var A="",g=h,B=h.indexOf("#");-1!==B&&(A=h.substr(B),g=h.substr(0,B));var m=-1===g.indexOf("?")?"?":"&";return{newURI:g+m+f.join("&")+A}}},7122:(Ue,J,s)=>{"use strict";s.d(J,{E4:()=>L,SC:()=>d,sb:()=>w,ve:()=>A});var o=s(4762),r=s(4145),d={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},w=function(B,m){return m(B)};function L(B,m){for(var b=[],S=2;S{"use strict";s.d(J,{r:()=>o});var o=function(r,h){return r.getContext().uri||("function"==typeof h?h(r):h||"/graphql")}},6329:(Ue,J,s)=>{"use strict";s.d(J,{g:()=>r});var o=s(138),r=function(h,_){var f;try{f=JSON.stringify(h)}catch(w){var d=__DEV__?new o.ej("Network request failed. ".concat(_," is not serializable: ").concat(w.message)):new o.ej(21);throw d.parseError=w,d}return f}},2929:(Ue,J,s)=>{"use strict";s.d(J,{Q:()=>r});var o=s(4854);function r(h){return new o.y(function(_){_.error(h)})}},7139:(Ue,J,s)=>{"use strict";s.d(J,{P:()=>o});var o=function(r,h,_){var f=new Error(_);throw f.name="ServerError",f.response=r,f.statusCode=r.status,f.result=h,f}},8779:(Ue,J,s)=>{"use strict";function o(r){return Array.isArray(r)&&r.length>0}s.d(J,{O:()=>o})},7289:(Ue,J,s)=>{"use strict";s.d(J,{aS:()=>_,mr:()=>r,sy:()=>h});var o=s(138),r="function"==typeof WeakMap&&"ReactNative"!==(0,o.wY)(function(){return navigator.product}),h="function"==typeof WeakSet,_="function"==typeof Symbol&&"function"==typeof Symbol.for;(0,o.wY)(function(){return window.document.createElement}),(0,o.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},3107:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=Object.prototype.toString;function r(_){return h(_)}function h(_,f){switch(o.call(_)){case"[object Array]":if((f=f||new Map).has(_))return f.get(_);var d=_.slice(0);return f.set(_,d),d.forEach(function(L,A){d[A]=h(L,f)}),d;case"[object Object]":if((f=f||new Map).has(_))return f.get(_);var w=Object.create(Object.getPrototypeOf(_));return f.set(_,w),Object.keys(_).forEach(function(L){w[L]=h(_[L],f)}),w;default:return _}}},4155:(Ue,J,s)=>{"use strict";function o(){for(var r=[],h=0;ho})},5801:(Ue,J,s)=>{"use strict";s.d(J,{X:()=>r});var o=new Map;function r(h){var _=o.get(h)||1;return o.set(h,_+1),"".concat(h,":").concat(_,":").concat(Math.random().toString(36).slice(2))}},6216:(Ue,J,s)=>{"use strict";s.d(J,{Ee:()=>_,bw:()=>f,w0:()=>w});var o=s(4762),r=s(9231),h=Object.prototype.hasOwnProperty;function _(){for(var L=[],A=0;A1)for(var B=new w,m=1;m{"use strict";s.d(J,{J:()=>h});var o=s(4762),r=s(4155);function h(_,f){return(0,r.o)(_,f,f.variables&&{variables:(0,o.pi)((0,o.pi)({},_&&_.variables),f.variables)})}},9231:(Ue,J,s)=>{"use strict";function o(r){return null!==r&&"object"==typeof r}s.d(J,{s:()=>o})},138:(Ue,J,s)=>{"use strict";s.d(J,{Rk:()=>w,ej:()=>o.ej,kG:()=>o.kG,wY:()=>r});var o=s(2269);function r(H){try{return H()}catch{}}const h=r(function(){return globalThis})||r(function(){return window})||r(function(){return self})||r(function(){return global})||r(function(){return r.constructor("return this")()});var _="__",f=[_,_].join("DEV");const w=function d(){try{return Boolean(__DEV__)}catch{return Object.defineProperty(h,f,{value:"production"!==r(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),h[f]}}();function L(H){try{return H()}catch{}}var A=L(function(){return globalThis})||L(function(){return window})||L(function(){return self})||L(function(){return global})||L(function(){return L.constructor("return this")()}),g=!1;!function B(){A&&!L(function(){return"production"})&&!L(function(){return process})&&(Object.defineProperty(A,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),g=!0)}(),s(3075),function S(){(function m(){g&&(delete A.process,g=!1)})()}(),function v(){__DEV__?(0,o.kG)("boolean"==typeof w,w):(0,o.kG)("boolean"==typeof w,36)}()},443:(Ue,J,s)=>{"use strict";s.d(J,{FS:()=>f,LZ:()=>h,mj:()=>d});var o=s(138),r=s(9098);function h(A,g){var B=A.directives;return!B||!B.length||function L(A){var g=[];return A&&A.length&&A.forEach(function(B){if(function w(A){var g=A.name.value;return"skip"===g||"include"===g}(B)){var m=B.arguments,b=B.name.value;__DEV__?(0,o.kG)(m&&1===m.length,"Incorrect number of arguments for the @".concat(b," directive.")):(0,o.kG)(m&&1===m.length,38);var S=m[0];__DEV__?(0,o.kG)(S.name&&"if"===S.name.value,"Invalid argument for the @".concat(b," directive.")):(0,o.kG)(S.name&&"if"===S.name.value,39);var v=S.value;__DEV__?(0,o.kG)(v&&("Variable"===v.kind||"BooleanValue"===v.kind),"Argument for the @".concat(b," directive must be a variable or a boolean value.")):(0,o.kG)(v&&("Variable"===v.kind||"BooleanValue"===v.kind),40),g.push({directive:B,ifArgument:S})}}),g}(B).every(function(m){var b=m.directive,S=m.ifArgument,v=!1;return"Variable"===S.value.kind?(v=g&&g[S.value.name.value],__DEV__?(0,o.kG)(void 0!==v,"Invalid variable referenced in @".concat(b.name.value," directive.")):(0,o.kG)(void 0!==v,37)):v=S.value.value,"skip"===b.name.value?!v:v})}function f(A,g){return function _(A){var g=[];return(0,r.Vn)(A,{Directive:function(B){g.push(B.name.value)}}),g}(g).some(function(B){return A.indexOf(B)>-1})}function d(A){return A&&f(["client"],A)&&f(["export"],A)}},1598:(Ue,J,s)=>{"use strict";s.d(J,{F:()=>_,Yk:()=>h,hi:()=>f});var o=s(4762),r=s(138);function h(d,w){var L=w,A=[];return d.definitions.forEach(function(B){if("OperationDefinition"===B.kind)throw __DEV__?new r.ej("Found a ".concat(B.operation," operation").concat(B.name?" named '".concat(B.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new r.ej(41);"FragmentDefinition"===B.kind&&A.push(B)}),typeof L>"u"&&(__DEV__?(0,r.kG)(1===A.length,"Found ".concat(A.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,r.kG)(1===A.length,42),L=A[0].name.value),(0,o.pi)((0,o.pi)({},d),{definitions:(0,o.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:L}}]}}],d.definitions,!0)})}function _(d){void 0===d&&(d=[]);var w={};return d.forEach(function(L){w[L.name.value]=L}),w}function f(d,w){switch(d.kind){case"InlineFragment":return d;case"FragmentSpread":var L=w&&w[d.name.value];return __DEV__?(0,r.kG)(L,"No fragment named ".concat(d.name.value,".")):(0,r.kG)(L,43),L;default:return null}}},1144:(Ue,J,s)=>{"use strict";s.d(J,{$H:()=>_,A$:()=>h,O4:()=>g,iW:()=>w,kU:()=>d,p$:()=>A,pD:()=>L,rY:()=>f});var o=s(138),r=s(9737);function h(B){__DEV__?(0,o.kG)(B&&"Document"===B.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,o.kG)(B&&"Document"===B.kind,44);var m=B.definitions.filter(function(b){return"FragmentDefinition"!==b.kind}).map(function(b){if("OperationDefinition"!==b.kind)throw __DEV__?new o.ej('Schema type definitions not allowed in queries. Found: "'.concat(b.kind,'"')):new o.ej(45);return b});return __DEV__?(0,o.kG)(m.length<=1,"Ambiguous GraphQL document: contains ".concat(m.length," operations")):(0,o.kG)(m.length<=1,46),B}function _(B){return h(B),B.definitions.filter(function(m){return"OperationDefinition"===m.kind})[0]}function f(B){return B.definitions.filter(function(m){return"OperationDefinition"===m.kind&&m.name}).map(function(m){return m.name.value})[0]||null}function d(B){return B.definitions.filter(function(m){return"FragmentDefinition"===m.kind})}function w(B){var m=_(B);return __DEV__?(0,o.kG)(m&&"query"===m.operation,"Must contain a query definition."):(0,o.kG)(m&&"query"===m.operation,47),m}function L(B){__DEV__?(0,o.kG)("Document"===B.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,o.kG)("Document"===B.kind,48),__DEV__?(0,o.kG)(B.definitions.length<=1,"Fragment must have exactly one definition."):(0,o.kG)(B.definitions.length<=1,49);var m=B.definitions[0];return __DEV__?(0,o.kG)("FragmentDefinition"===m.kind,"Must be a fragment definition."):(0,o.kG)("FragmentDefinition"===m.kind,50),m}function A(B){h(B);for(var m,b=0,S=B.definitions;b{"use strict";s.d(J,{Ao:()=>ye,JW:()=>d,My:()=>ve,NC:()=>Z,PT:()=>Ee,Yk:()=>f,kQ:()=>_,qw:()=>Se,u2:()=>Me,vb:()=>H,vf:()=>x});var o=s(138),r=s(9231),h=s(1598);function _(De){return{__ref:String(De)}}function f(De){return Boolean(De&&"object"==typeof De&&"string"==typeof De.__ref)}function d(De){return(0,r.s)(De)&&"Document"===De.kind&&Array.isArray(De.definitions)}function H(De,z,Y,V){if(function A(De){return"IntValue"===De.kind}(Y)||function g(De){return"FloatValue"===De.kind}(Y))De[z.value]=Number(Y.value);else if(function L(De){return"BooleanValue"===De.kind}(Y)||function w(De){return"StringValue"===De.kind}(Y))De[z.value]=Y.value;else if(function m(De){return"ObjectValue"===De.kind}(Y)){var j={};Y.fields.map(function(Ie){return H(j,Ie.name,Ie.value,V)}),De[z.value]=j}else if(function B(De){return"Variable"===De.kind}(Y))De[z.value]=(V||{})[Y.name.value];else if(function b(De){return"ListValue"===De.kind}(Y))De[z.value]=Y.values.map(function(Ie){var ke={};return H(ke,z,Ie,V),ke[z.value]});else if(function S(De){return"EnumValue"===De.kind}(Y))De[z.value]=Y.value;else{if(!function v(De){return"NullValue"===De.kind}(Y))throw __DEV__?new o.ej('The inline argument "'.concat(z.value,'" of kind "').concat(Y.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new o.ej(52);De[z.value]=null}}function x(De,z){var Y=null;De.directives&&(Y={},De.directives.forEach(function(j){Y[j.name.value]={},j.arguments&&j.arguments.forEach(function(X){return H(Y[j.name.value],X.name,X.value,z)})}));var V=null;return De.arguments&&De.arguments.length&&(V={},De.arguments.forEach(function(j){return H(V,j.name,j.value,z)})),Ee(De.name.value,V,Y)}var te=["connection","include","skip","client","rest","export"],Ee=Object.assign(function(De,z,Y){if(z&&Y&&Y.connection&&Y.connection.key){if(Y.connection.filter&&Y.connection.filter.length>0){var V=Y.connection.filter?Y.connection.filter:[];V.sort();var j={};return V.forEach(function(ke){j[ke]=z[ke]}),"".concat(Y.connection.key,"(").concat(T(j),")")}return Y.connection.key}var X=De;if(z){var Ie=T(z);X+="(".concat(Ie,")")}return Y&&Object.keys(Y).forEach(function(ke){-1===te.indexOf(ke)&&(Y[ke]&&Object.keys(Y[ke]).length?X+="@".concat(ke,"(").concat(T(Y[ke]),")"):X+="@".concat(ke))}),X},{setStringify:function(De){var z=T;return T=De,z}}),T=function(z){return JSON.stringify(z,ue)};function ue(De,z){return(0,r.s)(z)&&!Array.isArray(z)&&(z=Object.keys(z).sort().reduce(function(Y,V){return Y[V]=z[V],Y},{})),z}function Z(De,z){if(De.arguments&&De.arguments.length){var Y={};return De.arguments.forEach(function(V){return H(Y,V.name,V.value,z)}),Y}return null}function Me(De){return De.alias?De.alias.value:De.name.value}function Se(De,z,Y){if("string"==typeof De.__typename)return De.__typename;for(var V=0,j=z.selections;V{"use strict";s.d(J,{Gw:()=>b,aL:()=>Z,ob:()=>Me,Fo:()=>v});var o=s(4762),r=s(138),h=s(9098),_=s(1144);function f(Se,ve,ye){var De=0;return Se.forEach(function(z,Y){ve.call(this,z,Y,Se)&&(Se[De++]=z)},ye),Se.length=De,Se}var d=s(9737),w=s(1598),L={kind:"Field",name:{kind:"Name",value:"__typename"}};function A(Se,ve){return Se.selectionSet.selections.every(function(ye){return"FragmentSpread"===ye.kind&&A(ve[ye.name.value],ve)})}function g(Se){return A((0,_.$H)(Se)||(0,_.pD)(Se),(0,w.F)((0,_.kU)(Se)))?null:Se}function B(Se){return function(ye){return Se.some(function(De){return De.name&&De.name===ye.name.value||De.test&&De.test(ye)})}}function m(Se,ve){var ye=Object.create(null),De=[],z=Object.create(null),Y=[],V=g((0,h.Vn)(ve,{Variable:{enter:function(j,X,Ie){"VariableDefinition"!==Ie.kind&&(ye[j.name.value]=!0)}},Field:{enter:function(j){if(Se&&j.directives&&Se.some(function(Ie){return Ie.remove})&&j.directives&&j.directives.some(B(Se)))return j.arguments&&j.arguments.forEach(function(Ie){"Variable"===Ie.value.kind&&De.push({name:Ie.value.name.value})}),j.selectionSet&&ue(j.selectionSet).forEach(function(Ie){Y.push({name:Ie.name.value})}),null}},FragmentSpread:{enter:function(j){z[j.name.value]=!0}},Directive:{enter:function(j){if(B(Se)(j))return null}}}));return V&&f(De,function(j){return!!j.name&&!ye[j.name]}).length&&(V=function Ee(Se,ve){var ye=function te(Se){return function(ye){return Se.some(function(De){return ye.value&&"Variable"===ye.value.kind&&ye.value.name&&(De.name===ye.value.name.value||De.test&&De.test(ye))})}}(Se);return g((0,h.Vn)(ve,{OperationDefinition:{enter:function(De){return(0,o.pi)((0,o.pi)({},De),{variableDefinitions:De.variableDefinitions?De.variableDefinitions.filter(function(z){return!Se.some(function(Y){return Y.name===z.variable.name.value})}):[]})}},Field:{enter:function(De){var z=Se.some(function(V){return V.remove});if(z){var Y=0;if(De.arguments&&De.arguments.forEach(function(V){ye(V)&&(Y+=1)}),1===Y)return null}}},Argument:{enter:function(De){if(ye(De))return null}}}))}(De,V)),V&&f(Y,function(j){return!!j.name&&!z[j.name]}).length&&(V=function T(Se,ve){function ye(De){if(Se.some(function(z){return z.name===De.name.value}))return null}return g((0,h.Vn)(ve,{FragmentSpread:{enter:ye},FragmentDefinition:{enter:ye}}))}(Y,V)),V}var b=Object.assign(function(Se){return(0,h.Vn)(Se,{SelectionSet:{enter:function(ve,ye,De){if(!De||"OperationDefinition"!==De.kind){var z=ve.selections;if(z&&!z.some(function(j){return(0,d.My)(j)&&("__typename"===j.name.value||0===j.name.value.lastIndexOf("__",0))})){var V=De;if(!((0,d.My)(V)&&V.directives&&V.directives.some(function(j){return"export"===j.name.value})))return(0,o.pi)((0,o.pi)({},ve),{selections:(0,o.ev)((0,o.ev)([],z,!0),[L],!1)})}}}}})},{added:function(Se){return Se===L}}),S={test:function(Se){var ve="connection"===Se.name.value;return ve&&(!Se.arguments||!Se.arguments.some(function(ye){return"key"===ye.name.value}))&&__DEV__&&r.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),ve}};function v(Se){return m([S],(0,_.A$)(Se))}function ue(Se){var ve=[];return Se.selections.forEach(function(ye){((0,d.My)(ye)||(0,d.Ao)(ye))&&ye.selectionSet?ue(ye.selectionSet).forEach(function(De){return ve.push(De)}):"FragmentSpread"===ye.kind&&ve.push(ye)}),ve}function Z(Se){return"query"===(0,_.p$)(Se).operation?Se:(0,h.Vn)(Se,{OperationDefinition:{enter:function(z){return(0,o.pi)((0,o.pi)({},z),{operation:"query"})}}})}function Me(Se){(0,_.A$)(Se);var ve=m([{test:function(ye){return"client"===ye.name.value},remove:!0}],Se);return ve&&(ve=(0,h.Vn)(ve,{FragmentDefinition:{enter:function(ye){if(ye.selectionSet&&ye.selectionSet.selections.every(function(z){return(0,d.My)(z)&&"__typename"===z.name.value}))return null}}})),ve}},1194:(Ue,J,s)=>{"use strict";function o(r,h,_){var f=[];r.forEach(function(d){return d[h]&&f.push(d)}),f.forEach(function(d){return d[h](_)})}s.d(J,{p:()=>o})},2652:(Ue,J,s)=>{"use strict";s.d(J,{D:()=>h});var o=s(4854),r=s(7289);function h(_){function f(d){Object.defineProperty(_,d,{value:o.y})}return r.aS&&Symbol.species&&f(Symbol.species),f("@@species"),_}},274:(Ue,J,s)=>{"use strict";s.d(J,{_M:()=>Y,VG:()=>X,Ps:()=>$});var o=s(4537),r=s(3135),h=s(5447),_=s(9139),f=s(3466),w=s(474);const A=new class L extends w.v{}(class d extends f.o{constructor(xe,Ke){super(xe,Ke),this.scheduler=xe,this.work=Ke}schedule(xe,Ke=0){return Ke>0?super.schedule(xe,Ke):(this.delay=Ke,this.state=xe,this.scheduler.flush(this),this)}execute(xe,Ke){return Ke>0||this.closed?super.execute(xe,Ke):this._execute(xe,Ke)}requestAsyncId(xe,Ke,me=0){return null!=me&&me>0||null==me&&this.delay>0?super.requestAsyncId(xe,Ke,me):xe.flush(this)}});var B=s(818),m=s(3122),b=s(7108),S=s(7969),v=s(1927),H=s(7513);function x(re){return new B.y(xe=>(re().then(Ke=>{xe.closed||(xe.next(Ke),xe.complete())},Ke=>{xe.closed||xe.error(Ke)}),()=>xe.unsubscribe()))}class Ee{constructor(xe){this.zone=xe,this.now=Date.now?Date.now:()=>+new Date}schedule(xe,Ke=0,me){return this.zone.run(()=>A.schedule(xe,Ke,me))}}function T(re){return re[m.L]=()=>re,re}function ue(re,xe){return re.pipe((0,H.Q)(new Ee(xe)))}function Z(re,xe,Ke){return re&&typeof re[xe]<"u"?re[xe]:Ke}class Se{constructor(xe,Ke,me){this.obsQuery=xe;const P=ue((0,b.D)(T(this.obsQuery)),Ke);this.valueChanges=me.useInitialLoading?P.pipe(function Me(re){return function(Ke){return new B.y(function(P){const se=re.getCurrentResult(),{loading:Ce,errors:He,error:Qe,partial:st,data:Ge}=se,{partialRefetch:at,fetchPolicy:_t}=re.options,xt=He||Qe;return at&&st&&(!Ge||0===Object.keys(Ge).length)&&"cache-only"!==_t&&!Ce&&!xt&&P.next({...se,loading:!0,networkStatus:r.I.loading}),Ke.subscribe(P)})}}(this.obsQuery)):P,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(xe){return this.obsQuery.refetch(xe)}fetchMore(xe){return this.obsQuery.fetchMore(xe)}subscribeToMore(xe){return this.obsQuery.subscribeToMore(xe)}updateQuery(xe){return this.obsQuery.updateQuery(xe)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(xe){return this.obsQuery.startPolling(xe)}setOptions(xe){return this.obsQuery.setOptions(xe)}setVariables(xe){return this.obsQuery.setVariables(xe)}}const ve=new o.OlP("APOLLO_FLAGS"),ye=new o.OlP("APOLLO_OPTIONS"),De=new o.OlP("APOLLO_NAMED_OPTIONS");class z{constructor(xe,Ke,me){this.ngZone=xe,this.flags=Ke,this._client=me,this.useInitialLoading=Z(Ke,"useInitialLoading",!1),this.useMutationLoading=Z(Ke,"useMutationLoading",!1)}watchQuery(xe){return new Se(this.ensureClient().watchQuery({...xe}),this.ngZone,{useInitialLoading:this.useInitialLoading,...xe})}query(xe){return x(()=>this.ensureClient().query({...xe}))}mutate(xe){return function te(re,xe){return xe?re.pipe((0,v.O)({loading:!0}),(0,S.U)(Ke=>({...Ke,loading:!!Ke.loading}))):re.pipe((0,S.U)(Ke=>({...Ke,loading:!1})))}(x(()=>this.ensureClient().mutate({...xe})),xe.useMutationLoading??this.useMutationLoading)}subscribe(xe,Ke){const me=(0,b.D)(T(this.ensureClient().subscribe({...xe})));return Ke&&!0!==Ke.useZone?me:ue(me,this.ngZone)}getClient(){return this.client}setClient(xe){this.client=xe}get client(){return this._client}set client(xe){if(this._client)throw new Error("Client has been already defined");this._client=xe}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Y=(()=>{class re extends z{constructor(Ke,me,P,se){if(super(Ke,se),this._ngZone=Ke,this.map=new Map,me&&this.createDefault(me),P&&"object"==typeof P)for(let Ce in P)P.hasOwnProperty(Ce)&&this.createNamed(Ce,P[Ce])}create(Ke,me){V(me)?this.createDefault(Ke):this.createNamed(me,Ke)}default(){return this}use(Ke){return V(Ke)?this.default():this.map.get(Ke)}createDefault(Ke){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new h.f(Ke))}createNamed(Ke,me){if(this.map.has(Ke))throw new Error(`Client ${Ke} has been already created`);this.map.set(Ke,new z(this._ngZone,this.flags,new h.f(me)))}removeClient(Ke){V(Ke)?this._client=void 0:this.map.delete(Ke)}}return re.\u0275fac=function(Ke){return new(Ke||re)(o.LFG(o.R0b),o.LFG(ye,8),o.LFG(De,8),o.LFG(ve,8))},re.\u0275prov=o.Yz7({token:re,factory:re.\u0275fac}),re})();function V(re){return!re||"default"===re}const j=[Y];let X=(()=>{class re{}return re.\u0275fac=function(Ke){return new(Ke||re)},re.\u0275mod=o.oAB({type:re}),re.\u0275inj=o.cJS({providers:j}),re})();const $=function lt(re,...xe){return(0,_.Ps)(re,...xe)}},4153:(Ue,J,s)=>{"use strict";function o(r,h){if(!Boolean(r))throw new Error(h)}s.d(J,{a:()=>o})},596:(Ue,J,s)=>{"use strict";function h(g){return _(g,[])}function _(g,B){switch(typeof g){case"string":return JSON.stringify(g);case"function":return g.name?`[function ${g.name}]`:"[function]";case"object":return function f(g,B){if(null===g)return"null";if(B.includes(g))return"[Circular]";const m=[...B,g];if(function d(g){return"function"==typeof g.toJSON}(g)){const b=g.toJSON();if(b!==g)return"string"==typeof b?b:_(b,m)}else if(Array.isArray(g))return function L(g,B){if(0===g.length)return"[]";if(B.length>2)return"[Array]";const m=Math.min(10,g.length),b=g.length-m,S=[];for(let v=0;v1&&S.push(`... ${b} more items`),"["+S.join(", ")+"]"}(g,m);return function w(g,B){const m=Object.entries(g);return 0===m.length?"{}":B.length>2?"["+function A(g){const B=Object.prototype.toString.call(g).replace(/^\[object /,"").replace(/]$/,"");if("Object"===B&&"function"==typeof g.constructor){const m=g.constructor.name;if("string"==typeof m&&""!==m)return m}return B}(g)+"]":"{ "+m.map(([S,v])=>S+": "+_(v,B)).join(", ")+" }"}(g,m)}(g,B);default:return String(g)}}s.d(J,{X:()=>h})},484:(Ue,J,s)=>{"use strict";s.d(J,{UG:()=>f,WU:()=>r,Ye:()=>o,h8:()=>h,ku:()=>d});class o{constructor(L,A,g){this.start=L.start,this.end=A.end,this.startToken=L,this.endToken=A,this.source=g}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class r{constructor(L,A,g,B,m,b){this.kind=L,this.start=A,this.end=g,this.line=B,this.column=m,this.value=b,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const h={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},_=new Set(Object.keys(h));function f(w){const L=w?.kind;return"string"==typeof L&&_.has(L)}var d=(()=>{return(w=d||(d={})).QUERY="query",w.MUTATION="mutation",w.SUBSCRIPTION="subscription",d;var w})()},1797:(Ue,J,s)=>{"use strict";s.d(J,{LZ:()=>f,wv:()=>r});var o=s(1777);function r(d){var w;let L=Number.MAX_SAFE_INTEGER,A=null,g=-1;for(let m=0;m0===b?m:m.slice(L)).slice(null!==(w=A)&&void 0!==w?w:0,g+1)}function h(d){let w=0;for(;w1&&A.slice(1).every(Ee=>0===Ee.length||(0,o.FD)(Ee.charCodeAt(0))),m=L.endsWith('\\"""'),b=d.endsWith('"')&&!m,S=d.endsWith("\\"),v=b||S,H=!(null!=w&&w.minimize)&&(!g||d.length>70||v||B||m);let x="";const te=g&&(0,o.FD)(d.charCodeAt(0));return(H&&!te||B)&&(x+="\n"),x+=L,(H||v)&&(x+="\n"),'"""'+x+'"""'}},1777:(Ue,J,s)=>{"use strict";function o(d){return 9===d||32===d}function r(d){return d>=48&&d<=57}function h(d){return d>=97&&d<=122||d>=65&&d<=90}function _(d){return h(d)||95===d}function f(d){return h(d)||r(d)||95===d}s.d(J,{FD:()=>o,HQ:()=>f,LQ:()=>_,X1:()=>r})},1605:(Ue,J,s)=>{"use strict";s.d(J,{h:()=>o});var o=(()=>{return(r=o||(o={})).NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",o;var r})()},4145:(Ue,J,s)=>{"use strict";s.d(J,{S:()=>w});var o=s(1797);const h=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function _(v){return f[v.charCodeAt(0)]}const f=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var d=s(9098);function w(v){return(0,d.Vn)(v,A)}const A={Name:{leave:v=>v.value},Variable:{leave:v=>"$"+v.name},Document:{leave:v=>g(v.definitions,"\n\n")},OperationDefinition:{leave(v){const H=m("(",g(v.variableDefinitions,", "),")"),x=g([v.operation,g([v.name,H]),g(v.directives," ")]," ");return("query"===x?"":x+" ")+v.selectionSet}},VariableDefinition:{leave:({variable:v,type:H,defaultValue:x,directives:te})=>v+": "+H+m(" = ",x)+m(" ",g(te," "))},SelectionSet:{leave:({selections:v})=>B(v)},Field:{leave({alias:v,name:H,arguments:x,directives:te,selectionSet:Ee}){const T=m("",v,": ")+H;let ue=T+m("(",g(x,", "),")");return ue.length>80&&(ue=T+m("(\n",b(g(x,"\n")),"\n)")),g([ue,g(te," "),Ee]," ")}},Argument:{leave:({name:v,value:H})=>v+": "+H},FragmentSpread:{leave:({name:v,directives:H})=>"..."+v+m(" ",g(H," "))},InlineFragment:{leave:({typeCondition:v,directives:H,selectionSet:x})=>g(["...",m("on ",v),g(H," "),x]," ")},FragmentDefinition:{leave:({name:v,typeCondition:H,variableDefinitions:x,directives:te,selectionSet:Ee})=>`fragment ${v}${m("(",g(x,", "),")")} on ${H} ${m("",g(te," ")," ")}`+Ee},IntValue:{leave:({value:v})=>v},FloatValue:{leave:({value:v})=>v},StringValue:{leave:({value:v,block:H})=>H?(0,o.LZ)(v):function r(v){return`"${v.replace(h,_)}"`}(v)},BooleanValue:{leave:({value:v})=>v?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:v})=>v},ListValue:{leave:({values:v})=>"["+g(v,", ")+"]"},ObjectValue:{leave:({fields:v})=>"{"+g(v,", ")+"}"},ObjectField:{leave:({name:v,value:H})=>v+": "+H},Directive:{leave:({name:v,arguments:H})=>"@"+v+m("(",g(H,", "),")")},NamedType:{leave:({name:v})=>v},ListType:{leave:({type:v})=>"["+v+"]"},NonNullType:{leave:({type:v})=>v+"!"},SchemaDefinition:{leave:({description:v,directives:H,operationTypes:x})=>m("",v,"\n")+g(["schema",g(H," "),B(x)]," ")},OperationTypeDefinition:{leave:({operation:v,type:H})=>v+": "+H},ScalarTypeDefinition:{leave:({description:v,name:H,directives:x})=>m("",v,"\n")+g(["scalar",H,g(x," ")]," ")},ObjectTypeDefinition:{leave:({description:v,name:H,interfaces:x,directives:te,fields:Ee})=>m("",v,"\n")+g(["type",H,m("implements ",g(x," & ")),g(te," "),B(Ee)]," ")},FieldDefinition:{leave:({description:v,name:H,arguments:x,type:te,directives:Ee})=>m("",v,"\n")+H+(S(x)?m("(\n",b(g(x,"\n")),"\n)"):m("(",g(x,", "),")"))+": "+te+m(" ",g(Ee," "))},InputValueDefinition:{leave:({description:v,name:H,type:x,defaultValue:te,directives:Ee})=>m("",v,"\n")+g([H+": "+x,m("= ",te),g(Ee," ")]," ")},InterfaceTypeDefinition:{leave:({description:v,name:H,interfaces:x,directives:te,fields:Ee})=>m("",v,"\n")+g(["interface",H,m("implements ",g(x," & ")),g(te," "),B(Ee)]," ")},UnionTypeDefinition:{leave:({description:v,name:H,directives:x,types:te})=>m("",v,"\n")+g(["union",H,g(x," "),m("= ",g(te," | "))]," ")},EnumTypeDefinition:{leave:({description:v,name:H,directives:x,values:te})=>m("",v,"\n")+g(["enum",H,g(x," "),B(te)]," ")},EnumValueDefinition:{leave:({description:v,name:H,directives:x})=>m("",v,"\n")+g([H,g(x," ")]," ")},InputObjectTypeDefinition:{leave:({description:v,name:H,directives:x,fields:te})=>m("",v,"\n")+g(["input",H,g(x," "),B(te)]," ")},DirectiveDefinition:{leave:({description:v,name:H,arguments:x,repeatable:te,locations:Ee})=>m("",v,"\n")+"directive @"+H+(S(x)?m("(\n",b(g(x,"\n")),"\n)"):m("(",g(x,", "),")"))+(te?" repeatable":"")+" on "+g(Ee," | ")},SchemaExtension:{leave:({directives:v,operationTypes:H})=>g(["extend schema",g(v," "),B(H)]," ")},ScalarTypeExtension:{leave:({name:v,directives:H})=>g(["extend scalar",v,g(H," ")]," ")},ObjectTypeExtension:{leave:({name:v,interfaces:H,directives:x,fields:te})=>g(["extend type",v,m("implements ",g(H," & ")),g(x," "),B(te)]," ")},InterfaceTypeExtension:{leave:({name:v,interfaces:H,directives:x,fields:te})=>g(["extend interface",v,m("implements ",g(H," & ")),g(x," "),B(te)]," ")},UnionTypeExtension:{leave:({name:v,directives:H,types:x})=>g(["extend union",v,g(H," "),m("= ",g(x," | "))]," ")},EnumTypeExtension:{leave:({name:v,directives:H,values:x})=>g(["extend enum",v,g(H," "),B(x)]," ")},InputObjectTypeExtension:{leave:({name:v,directives:H,fields:x})=>g(["extend input",v,g(H," "),B(x)]," ")}};function g(v,H=""){var x;return null!==(x=v?.filter(te=>te).join(H))&&void 0!==x?x:""}function B(v){return m("{\n",b(g(v,"\n")),"\n}")}function m(v,H,x=""){return null!=H&&""!==H?v+H+x:""}function b(v){return m(" ",v.replace(/\n/g,"\n "))}function S(v){var H;return null!==(H=v?.some(x=>x.includes("\n")))&&void 0!==H&&H}},3075:(Ue,J,s)=>{"use strict";s.d(J,{H:()=>f,T:()=>d});var o=s(4153),r=s(596);const _=globalThis.process?function(L,A){return L instanceof A}:function(L,A){if(L instanceof A)return!0;if("object"==typeof L&&null!==L){var g;const B=A.prototype[Symbol.toStringTag];if(B===(Symbol.toStringTag in L?L[Symbol.toStringTag]:null===(g=L.constructor)||void 0===g?void 0:g.name)){const b=(0,r.X)(L);throw new Error(`Cannot use ${B} "${b}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class f{constructor(L,A="GraphQL request",g={line:1,column:1}){"string"==typeof L||(0,o.a)(!1,`Body must be a string. Received: ${(0,r.X)(L)}.`),this.body=L,this.name=A,this.locationOffset=g,this.locationOffset.line>0||(0,o.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function d(w){return _(w,f)}},9098:(Ue,J,s)=>{"use strict";s.d(J,{$_:()=>f,Vn:()=>d});var o=s(4153),r=s(596),h=s(484),_=s(1605);const f=Object.freeze({});function d(g,B,m=h.h8){const b=new Map;for(const De of Object.values(_.h))b.set(De,L(B,De));let S,T,ue,v=Array.isArray(g),H=[g],x=-1,te=[],Ee=g;const Z=[],Me=[];do{x++;const De=x===H.length,z=De&&0!==te.length;if(De){if(T=0===Me.length?void 0:Z[Z.length-1],Ee=ue,ue=Me.pop(),z)if(v){Ee=Ee.slice();let V=0;for(const[j,X]of te){const Ie=j-V;null===X?(Ee.splice(Ie,1),V++):Ee[Ie]=X}}else{Ee=Object.defineProperties({},Object.getOwnPropertyDescriptors(Ee));for(const[V,j]of te)Ee[V]=j}x=S.index,H=S.keys,te=S.edits,v=S.inArray,S=S.prev}else if(ue){if(T=v?x:H[x],Ee=ue[T],null==Ee)continue;Z.push(T)}let Y;if(!Array.isArray(Ee)){var Se,ve;if((0,h.UG)(Ee)||(0,o.a)(!1,`Invalid AST Node: ${(0,r.X)(Ee)}.`),Y=(De?null===(Se=b.get(Ee.kind))||void 0===Se?void 0:Se.leave:null===(ve=b.get(Ee.kind))||void 0===ve?void 0:ve.enter)?.call(B,Ee,T,ue,Z,Me),Y===f)break;if(!1===Y){if(!De){Z.pop();continue}}else if(void 0!==Y&&(te.push([T,Y]),!De)){if(!(0,h.UG)(Y)){Z.pop();continue}Ee=Y}}var ye;void 0===Y&&z&&te.push([T,Ee]),De?Z.pop():(S={inArray:v,index:x,keys:H,edits:te,prev:S},v=Array.isArray(Ee),H=v?Ee:null!==(ye=m[Ee.kind])&&void 0!==ye?ye:[],x=-1,te=[],ue&&Me.push(ue),ue=Ee)}while(void 0!==S);return 0!==te.length?te[te.length-1][1]:g}function L(g,B){const m=g[B];return"object"==typeof m?m:"function"==typeof m?{enter:m,leave:void 0}:{enter:g.enter,leave:g.leave}}},7657:(Ue,J,s)=>{"use strict";s.d(J,{lF:()=>ln,JP:()=>Ht,Zy:()=>nn});var o=s(4537),r=s(8023),h=s(1860),_=s(4945),f=s(7878),d=s(5557),w=s(815),A=s(1528),g=s(116),B=s(2147),m=s(1927),b=s(7969),S=s(3528),H=(s(9676),s(8692));let te={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const T=/[&<>"']/,ue=/[&<>"']/g,Z=/[<>"']|&(?!#?\w+;)/,Me=/[<>"']|&(?!#?\w+;)/g,Se={"&":"&","<":"<",">":">",'"':""","'":"'"},ve=Pe=>Se[Pe];function ye(Pe,I){if(I){if(T.test(Pe))return Pe.replace(ue,ve)}else if(Z.test(Pe))return Pe.replace(Me,ve);return Pe}const De=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function z(Pe){return Pe.replace(De,(I,O)=>"colon"===(O=O.toLowerCase())?":":"#"===O.charAt(0)?"x"===O.charAt(1)?String.fromCharCode(parseInt(O.substring(2),16)):String.fromCharCode(+O.substring(1)):"")}const Y=/(^|[^\[])\^/g;function V(Pe,I){Pe="string"==typeof Pe?Pe:Pe.source,I=I||"";const O={replace:(Q,Fe)=>(Fe=(Fe=Fe.source||Fe).replace(Y,"$1"),Pe=Pe.replace(Q,Fe),O),getRegex:()=>new RegExp(Pe,I)};return O}const j=/[^\w:]/g,X=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ie(Pe,I,O){if(Pe){let Q;try{Q=decodeURIComponent(z(O)).replace(j,"").toLowerCase()}catch{return null}if(0===Q.indexOf("javascript:")||0===Q.indexOf("vbscript:")||0===Q.indexOf("data:"))return null}I&&!X.test(O)&&(O=function Re(Pe,I){ke[" "+Pe]||(ke[" "+Pe]=tt.test(Pe)?Pe+"/":me(Pe,"/",!0));const O=-1===(Pe=ke[" "+Pe]).indexOf(":");return"//"===I.substring(0,2)?O?I:Pe.replace(lt,"$1")+I:"/"===I.charAt(0)?O?I:Pe.replace($,"$1")+I:Pe+I}(I,O));try{O=encodeURI(O).replace(/%25/g,"%")}catch{return null}return O}const ke={},tt=/^[^:]+:\/*[^/]*$/,lt=/^([^:]+:)[\s\S]*$/,$=/^([^:]+:\/*[^/]*)[\s\S]*$/,re={exec:function(){}};function xe(Pe){let O,Q,I=1;for(;I{let Lt=!1,Kt=Et;for(;--Kt>=0&&"\\"===Dt[Kt];)Lt=!Lt;return Lt?"|":" |"}).split(/ \|/);let Fe=0;if(Q[0].trim()||Q.shift(),Q.length>0&&!Q[Q.length-1].trim()&&Q.pop(),Q.length>I)Q.splice(I);else for(;Q.length1;)1&I&&(O+=Pe),I>>=1,Pe+=Pe;return O+Pe}function He(Pe,I,O,Q){const Fe=I.href,rt=I.title?ye(I.title):null,Et=Pe[1].replace(/\\([\[\]])/g,"$1");if("!"!==Pe[0].charAt(0)){Q.state.inLink=!0;const Dt={type:"link",raw:O,href:Fe,title:rt,text:Et,tokens:Q.inlineTokens(Et,[])};return Q.state.inLink=!1,Dt}return{type:"image",raw:O,href:Fe,title:rt,text:ye(Et)}}class st{constructor(I){this.options=I||te}space(I){const O=this.rules.block.newline.exec(I);if(O&&O[0].length>0)return{type:"space",raw:O[0]}}code(I){const O=this.rules.block.code.exec(I);if(O){const Q=O[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:O[0],codeBlockStyle:"indented",text:this.options.pedantic?Q:me(Q,"\n")}}}fences(I){const O=this.rules.block.fences.exec(I);if(O){const Q=O[0],Fe=function Qe(Pe,I){const O=Pe.match(/^(\s+)(?:```)/);if(null===O)return I;const Q=O[1];return I.split("\n").map(Fe=>{const rt=Fe.match(/^\s+/);if(null===rt)return Fe;const[Et]=rt;return Et.length>=Q.length?Fe.slice(Q.length):Fe}).join("\n")}(Q,O[3]||"");return{type:"code",raw:Q,lang:O[2]?O[2].trim():O[2],text:Fe}}}heading(I){const O=this.rules.block.heading.exec(I);if(O){let Q=O[2].trim();if(/#$/.test(Q)){const rt=me(Q,"#");(this.options.pedantic||!rt||/ $/.test(rt))&&(Q=rt.trim())}const Fe={type:"heading",raw:O[0],depth:O[1].length,text:Q,tokens:[]};return this.lexer.inline(Fe.text,Fe.tokens),Fe}}hr(I){const O=this.rules.block.hr.exec(I);if(O)return{type:"hr",raw:O[0]}}blockquote(I){const O=this.rules.block.blockquote.exec(I);if(O){const Q=O[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:O[0],tokens:this.lexer.blockTokens(Q,[]),text:Q}}}list(I){let O=this.rules.block.list.exec(I);if(O){let Q,Fe,rt,Et,Dt,Lt,Kt,Yt,_n,rn,Jt,Fn,Mn=O[1].trim();const $n=Mn.length>1,Cn={type:"list",raw:"",ordered:$n,start:$n?+Mn.slice(0,-1):"",loose:!1,items:[]};Mn=$n?`\\d{1,9}\\${Mn.slice(-1)}`:`\\${Mn}`,this.options.pedantic&&(Mn=$n?Mn:"[*+-]");const an=new RegExp(`^( {0,3}${Mn})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;I&&(Fn=!1,(O=an.exec(I))&&!this.rules.block.hr.test(I));){if(Q=O[0],I=I.substring(Q.length),Yt=O[2].split("\n",1)[0],_n=I.split("\n",1)[0],this.options.pedantic?(Et=2,Jt=Yt.trimLeft()):(Et=O[2].search(/[^ ]/),Et=Et>4?1:Et,Jt=Yt.slice(Et),Et+=O[1].length),Lt=!1,!Yt&&/^ *$/.test(_n)&&(Q+=_n+"\n",I=I.substring(_n.length+1),Fn=!0),!Fn){const Bn=new RegExp(`^ {0,${Math.min(3,Et-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),zn=new RegExp(`^ {0,${Math.min(3,Et-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Vn=new RegExp(`^( {0,${Math.min(3,Et-1)}})(\`\`\`|~~~)`);for(;I&&(rn=I.split("\n",1)[0],Yt=rn,this.options.pedantic&&(Yt=Yt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Vn.test(Yt)||this.rules.block.heading.test(Yt)||Bn.test(Yt)||zn.test(I)));){if(Yt.search(/[^ ]/)>=Et||!Yt.trim())Jt+="\n"+Yt.slice(Et);else{if(Lt)break;Jt+="\n"+Yt}!Lt&&!Yt.trim()&&(Lt=!0),Q+=rn+"\n",I=I.substring(rn.length+1)}}Cn.loose||(Kt?Cn.loose=!0:/\n *\n *$/.test(Q)&&(Kt=!0)),this.options.gfm&&(Fe=/^\[[ xX]\] /.exec(Jt),Fe&&(rt="[ ] "!==Fe[0],Jt=Jt.replace(/^\[[ xX]\] +/,""))),Cn.items.push({type:"list_item",raw:Q,task:!!Fe,checked:rt,loose:!1,text:Jt}),Cn.raw+=Q}Cn.items[Cn.items.length-1].raw=Q.trimRight(),Cn.items[Cn.items.length-1].text=Jt.trimRight(),Cn.raw=Cn.raw.trimRight();const Jn=Cn.items.length;for(Dt=0;Dt"space"===Vn.type),zn=Bn.every(Vn=>{const qn=Vn.raw.split("");let xn=0;for(const ti of qn)if("\n"===ti&&(xn+=1),xn>1)return!0;return!1});!Cn.loose&&Bn.length&&zn&&(Cn.loose=!0,Cn.items[Dt].loose=!0)}return Cn}}html(I){const O=this.rules.block.html.exec(I);if(O){const Q={type:"html",raw:O[0],pre:!this.options.sanitizer&&("pre"===O[1]||"script"===O[1]||"style"===O[1]),text:O[0]};return this.options.sanitize&&(Q.type="paragraph",Q.text=this.options.sanitizer?this.options.sanitizer(O[0]):ye(O[0]),Q.tokens=[],this.lexer.inline(Q.text,Q.tokens)),Q}}def(I){const O=this.rules.block.def.exec(I);if(O)return O[3]&&(O[3]=O[3].substring(1,O[3].length-1)),{type:"def",tag:O[1].toLowerCase().replace(/\s+/g," "),raw:O[0],href:O[2],title:O[3]}}table(I){const O=this.rules.block.table.exec(I);if(O){const Q={type:"table",header:Ke(O[1]).map(Fe=>({text:Fe})),align:O[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:O[3]&&O[3].trim()?O[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(Q.header.length===Q.align.length){Q.raw=O[0];let rt,Et,Dt,Lt,Fe=Q.align.length;for(rt=0;rt({text:Kt}));for(Fe=Q.header.length,Et=0;Et/i.test(O[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(O[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(O[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:O[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(O[0]):ye(O[0]):O[0]}}link(I){const O=this.rules.inline.link.exec(I);if(O){const Q=O[2].trim();if(!this.options.pedantic&&/^$/.test(Q))return;const Et=me(Q.slice(0,-1),"\\");if((Q.length-Et.length)%2==0)return}else{const Et=function P(Pe,I){if(-1===Pe.indexOf(I[1]))return-1;const O=Pe.length;let Q=0,Fe=0;for(;Fe-1){const Lt=(0===O[0].indexOf("!")?5:4)+O[1].length+Et;O[2]=O[2].substring(0,Et),O[0]=O[0].substring(0,Lt).trim(),O[3]=""}}let Fe=O[2],rt="";if(this.options.pedantic){const Et=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Fe);Et&&(Fe=Et[1],rt=Et[3])}else rt=O[3]?O[3].slice(1,-1):"";return Fe=Fe.trim(),/^$/.test(Q)?Fe.slice(1):Fe.slice(1,-1)),He(O,{href:Fe&&Fe.replace(this.rules.inline._escapes,"$1"),title:rt&&rt.replace(this.rules.inline._escapes,"$1")},O[0],this.lexer)}}reflink(I,O){let Q;if((Q=this.rules.inline.reflink.exec(I))||(Q=this.rules.inline.nolink.exec(I))){let Fe=(Q[2]||Q[1]).replace(/\s+/g," ");if(Fe=O[Fe.toLowerCase()],!Fe||!Fe.href){const rt=Q[0].charAt(0);return{type:"text",raw:rt,text:rt}}return He(Q,Fe,Q[0],this.lexer)}}emStrong(I,O,Q=""){let Fe=this.rules.inline.emStrong.lDelim.exec(I);if(!Fe||Fe[3]&&Q.match(/[\p{L}\p{N}]/u))return;const rt=Fe[1]||Fe[2]||"";if(!rt||rt&&(""===Q||this.rules.inline.punctuation.exec(Q))){const Et=Fe[0].length-1;let Dt,Lt,Kt=Et,Yt=0;const _n="*"===Fe[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(_n.lastIndex=0,O=O.slice(-1*I.length+Et);null!=(Fe=_n.exec(O));){if(Dt=Fe[1]||Fe[2]||Fe[3]||Fe[4]||Fe[5]||Fe[6],!Dt)continue;if(Lt=Dt.length,Fe[3]||Fe[4]){Kt+=Lt;continue}if((Fe[5]||Fe[6])&&Et%3&&!((Et+Lt)%3)){Yt+=Lt;continue}if(Kt-=Lt,Kt>0)continue;if(Lt=Math.min(Lt,Lt+Kt+Yt),Math.min(Et,Lt)%2){const Jt=I.slice(1,Et+Fe.index+Lt);return{type:"em",raw:I.slice(0,Et+Fe.index+Lt+1),text:Jt,tokens:this.lexer.inlineTokens(Jt,[])}}const rn=I.slice(2,Et+Fe.index+Lt-1);return{type:"strong",raw:I.slice(0,Et+Fe.index+Lt+1),text:rn,tokens:this.lexer.inlineTokens(rn,[])}}}}codespan(I){const O=this.rules.inline.code.exec(I);if(O){let Q=O[2].replace(/\n/g," ");const Fe=/[^ ]/.test(Q),rt=/^ /.test(Q)&&/ $/.test(Q);return Fe&&rt&&(Q=Q.substring(1,Q.length-1)),Q=ye(Q,!0),{type:"codespan",raw:O[0],text:Q}}}br(I){const O=this.rules.inline.br.exec(I);if(O)return{type:"br",raw:O[0]}}del(I){const O=this.rules.inline.del.exec(I);if(O)return{type:"del",raw:O[0],text:O[2],tokens:this.lexer.inlineTokens(O[2],[])}}autolink(I,O){const Q=this.rules.inline.autolink.exec(I);if(Q){let Fe,rt;return"@"===Q[2]?(Fe=ye(this.options.mangle?O(Q[1]):Q[1]),rt="mailto:"+Fe):(Fe=ye(Q[1]),rt=Fe),{type:"link",raw:Q[0],text:Fe,href:rt,tokens:[{type:"text",raw:Fe,text:Fe}]}}}url(I,O){let Q;if(Q=this.rules.inline.url.exec(I)){let Fe,rt;if("@"===Q[2])Fe=ye(this.options.mangle?O(Q[0]):Q[0]),rt="mailto:"+Fe;else{let Et;do{Et=Q[0],Q[0]=this.rules.inline._backpedal.exec(Q[0])[0]}while(Et!==Q[0]);Fe=ye(Q[0]),rt="www."===Q[1]?"http://"+Fe:Fe}return{type:"link",raw:Q[0],text:Fe,href:rt,tokens:[{type:"text",raw:Fe,text:Fe}]}}}inlineText(I,O){const Q=this.rules.inline.text.exec(I);if(Q){let Fe;return Fe=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Q[0]):ye(Q[0]):Q[0]:ye(this.options.smartypants?O(Q[0]):Q[0]),{type:"text",raw:Q[0],text:Fe}}}}const Ge={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:re,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Ge.def=V(Ge.def).replace("label",Ge._label).replace("title",Ge._title).getRegex(),Ge.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ge.listItemStart=V(/^( *)(bull) */).replace("bull",Ge.bullet).getRegex(),Ge.list=V(Ge.list).replace(/bull/g,Ge.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ge.def.source+")").getRegex(),Ge._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ge._comment=/|$)/,Ge.html=V(Ge.html,"i").replace("comment",Ge._comment).replace("tag",Ge._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ge.paragraph=V(Ge._paragraph).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.blockquote=V(Ge.blockquote).replace("paragraph",Ge.paragraph).getRegex(),Ge.normal=xe({},Ge),Ge.gfm=xe({},Ge.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Ge.gfm.table=V(Ge.gfm.table).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.gfm.paragraph=V(Ge._paragraph).replace("hr",Ge.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ge.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ge._tag).getRegex(),Ge.pedantic=xe({},Ge.normal,{html:V("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ge._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:re,paragraph:V(Ge.normal._paragraph).replace("hr",Ge.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ge.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const at={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:re,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:re,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(Q="x"+Q.toString(16)),I+="&#"+Q+";";return I}at._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",at.punctuation=V(at.punctuation).replace(/punctuation/g,at._punctuation).getRegex(),at.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,at.escapedEmSt=/\\\*|\\_/g,at._comment=V(Ge._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),at.emStrong.lDelim=V(at.emStrong.lDelim).replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimAst=V(at.emStrong.rDelimAst,"g").replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimUnd=V(at.emStrong.rDelimUnd,"g").replace(/punct/g,at._punctuation).getRegex(),at._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,at._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,at._email=/[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])?)+(?![-_])/,at.autolink=V(at.autolink).replace("scheme",at._scheme).replace("email",at._email).getRegex(),at._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,at.tag=V(at.tag).replace("comment",at._comment).replace("attribute",at._attribute).getRegex(),at._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,at._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,at._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,at.link=V(at.link).replace("label",at._label).replace("href",at._href).replace("title",at._title).getRegex(),at.reflink=V(at.reflink).replace("label",at._label).replace("ref",Ge._label).getRegex(),at.nolink=V(at.nolink).replace("ref",Ge._label).getRegex(),at.reflinkSearch=V(at.reflinkSearch,"g").replace("reflink",at.reflink).replace("nolink",at.nolink).getRegex(),at.normal=xe({},at),at.pedantic=xe({},at.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",at._label).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",at._label).getRegex()}),at.gfm=xe({},at.normal,{escape:V(at.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\Lt+" ".repeat(Kt.length));I;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(Dt=>!!(Q=Dt.call({lexer:this},I,O))&&(I=I.substring(Q.raw.length),O.push(Q),!0)))){if(Q=this.tokenizer.space(I)){I=I.substring(Q.raw.length),1===Q.raw.length&&O.length>0?O[O.length-1].raw+="\n":O.push(Q);continue}if(Q=this.tokenizer.code(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],!Fe||"paragraph"!==Fe.type&&"text"!==Fe.type?O.push(Q):(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue[this.inlineQueue.length-1].src=Fe.text);continue}if(Q=this.tokenizer.fences(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.heading(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.hr(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.blockquote(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.list(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.html(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.def(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],!Fe||"paragraph"!==Fe.type&&"text"!==Fe.type?this.tokens.links[Q.tag]||(this.tokens.links[Q.tag]={href:Q.href,title:Q.title}):(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.raw,this.inlineQueue[this.inlineQueue.length-1].src=Fe.text);continue}if(Q=this.tokenizer.table(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.lheading(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(rt=I,this.options.extensions&&this.options.extensions.startBlock){let Dt=1/0;const Lt=I.slice(1);let Kt;this.options.extensions.startBlock.forEach(function(Yt){Kt=Yt.call({lexer:this},Lt),"number"==typeof Kt&&Kt>=0&&(Dt=Math.min(Dt,Kt))}),Dt<1/0&&Dt>=0&&(rt=I.substring(0,Dt+1))}if(this.state.top&&(Q=this.tokenizer.paragraph(rt))){Fe=O[O.length-1],Et&&"paragraph"===Fe.type?(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Fe.text):O.push(Q),Et=rt.length!==I.length,I=I.substring(Q.raw.length);continue}if(Q=this.tokenizer.text(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Fe.type?(Fe.raw+="\n"+Q.raw,Fe.text+="\n"+Q.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Fe.text):O.push(Q);continue}if(I){const Dt="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(Dt);break}throw new Error(Dt)}}return this.state.top=!0,O}inline(I,O){this.inlineQueue.push({src:I,tokens:O})}inlineTokens(I,O=[]){let Q,Fe,rt,Dt,Lt,Kt,Et=I;if(this.tokens.links){const Yt=Object.keys(this.tokens.links);if(Yt.length>0)for(;null!=(Dt=this.tokenizer.rules.inline.reflinkSearch.exec(Et));)Yt.includes(Dt[0].slice(Dt[0].lastIndexOf("[")+1,-1))&&(Et=Et.slice(0,Dt.index)+"["+Ce("a",Dt[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(Dt=this.tokenizer.rules.inline.blockSkip.exec(Et));)Et=Et.slice(0,Dt.index)+"["+Ce("a",Dt[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(Dt=this.tokenizer.rules.inline.escapedEmSt.exec(Et));)Et=Et.slice(0,Dt.index)+"++"+Et.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;I;)if(Lt||(Kt=""),Lt=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Yt=>!!(Q=Yt.call({lexer:this},I,O))&&(I=I.substring(Q.raw.length),O.push(Q),!0)))){if(Q=this.tokenizer.escape(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.tag(I)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Q.type&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(Q=this.tokenizer.link(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.reflink(I,this.tokens.links)){I=I.substring(Q.raw.length),Fe=O[O.length-1],Fe&&"text"===Q.type&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(Q=this.tokenizer.emStrong(I,Et,Kt)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.codespan(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.br(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.del(I)){I=I.substring(Q.raw.length),O.push(Q);continue}if(Q=this.tokenizer.autolink(I,xt)){I=I.substring(Q.raw.length),O.push(Q);continue}if(!this.state.inLink&&(Q=this.tokenizer.url(I,xt))){I=I.substring(Q.raw.length),O.push(Q);continue}if(rt=I,this.options.extensions&&this.options.extensions.startInline){let Yt=1/0;const _n=I.slice(1);let rn;this.options.extensions.startInline.forEach(function(Jt){rn=Jt.call({lexer:this},_n),"number"==typeof rn&&rn>=0&&(Yt=Math.min(Yt,rn))}),Yt<1/0&&Yt>=0&&(rt=I.substring(0,Yt+1))}if(Q=this.tokenizer.inlineText(rt,_t)){I=I.substring(Q.raw.length),"_"!==Q.raw.slice(-1)&&(Kt=Q.raw.slice(-1)),Lt=!0,Fe=O[O.length-1],Fe&&"text"===Fe.type?(Fe.raw+=Q.raw,Fe.text+=Q.text):O.push(Q);continue}if(I){const Yt="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(Yt);break}throw new Error(Yt)}}return O}}class Pt{constructor(I){this.options=I||te}code(I,O,Q){const Fe=(O||"").match(/\S*/)[0];if(this.options.highlight){const rt=this.options.highlight(I,Fe);null!=rt&&rt!==I&&(Q=!0,I=rt)}return I=I.replace(/\n$/,"")+"\n",Fe?'
    '+(Q?I:ye(I,!0))+"
    \n":"
    "+(Q?I:ye(I,!0))+"
    \n"}blockquote(I){return`
    \n${I}
    \n`}html(I){return I}heading(I,O,Q,Fe){return this.options.headerIds?`${I}\n`:`${I}\n`}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(I,O,Q){const Fe=O?"ol":"ul";return"<"+Fe+(O&&1!==Q?' start="'+Q+'"':"")+">\n"+I+"\n"}listitem(I){return`
  • ${I}
  • \n`}checkbox(I){return" "}paragraph(I){return`

    ${I}

    \n`}table(I,O){return O&&(O=`${O}`),"\n\n"+I+"\n"+O+"
    \n"}tablerow(I){return`\n${I}\n`}tablecell(I,O){const Q=O.header?"th":"td";return(O.align?`<${Q} align="${O.align}">`:`<${Q}>`)+I+`\n`}strong(I){return`${I}`}em(I){return`${I}`}codespan(I){return`${I}`}br(){return this.options.xhtml?"
    ":"
    "}del(I){return`${I}`}link(I,O,Q){if(null===(I=Ie(this.options.sanitize,this.options.baseUrl,I)))return Q;let Fe='
    ",Fe}image(I,O,Q){if(null===(I=Ie(this.options.sanitize,this.options.baseUrl,I)))return Q;let Fe=`${Q}":">",Fe}text(I){return I}}class At{strong(I){return I}em(I){return I}codespan(I){return I}del(I){return I}html(I){return I}text(I){return I}link(I,O,Q){return""+Q}image(I,O,Q){return""+Q}br(){return""}}class nt{constructor(){this.seen={}}serialize(I){return I.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(I,O){let Q=I,Fe=0;if(this.seen.hasOwnProperty(Q)){Fe=this.seen[I];do{Fe++,Q=I+"-"+Fe}while(this.seen.hasOwnProperty(Q))}return O||(this.seen[I]=Fe,this.seen[Q]=0),Q}slug(I,O={}){const Q=this.serialize(I);return this.getNextSafeSlug(Q,O.dryrun)}}class ft{constructor(I){this.options=I||te,this.options.renderer=this.options.renderer||new Pt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new At,this.slugger=new nt}static parse(I,O){return new ft(O).parse(I)}static parseInline(I,O){return new ft(O).parseInline(I)}parse(I,O=!0){let Fe,rt,Et,Dt,Lt,Kt,Yt,_n,rn,Jt,Fn,Mn,$n,Cn,an,Jn,Bn,zn,Vn,Q="";const qn=I.length;for(Fe=0;Fe0&&"paragraph"===an.tokens[0].type?(an.tokens[0].text=zn+" "+an.tokens[0].text,an.tokens[0].tokens&&an.tokens[0].tokens.length>0&&"text"===an.tokens[0].tokens[0].type&&(an.tokens[0].tokens[0].text=zn+" "+an.tokens[0].tokens[0].text)):an.tokens.unshift({type:"text",text:zn}):Cn+=zn),Cn+=this.parse(an.tokens,$n),rn+=this.renderer.listitem(Cn,Bn,Jn);Q+=this.renderer.list(rn,Fn,Mn);continue;case"html":Q+=this.renderer.html(Jt.text);continue;case"paragraph":Q+=this.renderer.paragraph(this.parseInline(Jt.tokens));continue;case"text":for(rn=Jt.tokens?this.parseInline(Jt.tokens):Jt.text;Fe+1"u"||null===Pe)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof Pe)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Pe)+", string expected");if("function"==typeof I&&(O=I,I=null),se(I=xe({},G.defaults,I||{})),O){const Q=I.highlight;let Fe;try{Fe=yt.lex(Pe,I)}catch(Dt){return O(Dt)}const rt=function(Dt){let Lt;if(!Dt)try{I.walkTokens&&G.walkTokens(Fe,I.walkTokens),Lt=ft.parse(Fe,I)}catch(Kt){Dt=Kt}return I.highlight=Q,Dt?O(Dt):O(null,Lt)};if(!Q||Q.length<3||(delete I.highlight,!Fe.length))return rt();let Et=0;return G.walkTokens(Fe,function(Dt){"code"===Dt.type&&(Et++,setTimeout(()=>{Q(Dt.text,Dt.lang,function(Lt,Kt){if(Lt)return rt(Lt);null!=Kt&&Kt!==Dt.text&&(Dt.text=Kt,Dt.escaped=!0),Et--,0===Et&&rt()})},0))}),void(0===Et&&rt())}try{const Q=yt.lex(Pe,I);return I.walkTokens&&G.walkTokens(Q,I.walkTokens),ft.parse(Q,I)}catch(Q){if(Q.message+="\nPlease report this to https://github.com/markedjs/marked.",I.silent)return"

    An error occurred:

    "+ye(Q.message+"",!0)+"
    ";throw Q}}G.options=G.setOptions=function(Pe){return xe(G.defaults,Pe),function Ee(Pe){te=Pe}(G.defaults),G},G.getDefaults=function x(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},G.defaults=te,G.use=function(...Pe){const I=xe({},...Pe),O=G.defaults.extensions||{renderers:{},childTokens:{}};let Q;Pe.forEach(Fe=>{if(Fe.extensions&&(Q=!0,Fe.extensions.forEach(rt=>{if(!rt.name)throw new Error("extension name required");if(rt.renderer){const Et=O.renderers?O.renderers[rt.name]:null;O.renderers[rt.name]=Et?function(...Dt){let Lt=rt.renderer.apply(this,Dt);return!1===Lt&&(Lt=Et.apply(this,Dt)),Lt}:rt.renderer}if(rt.tokenizer){if(!rt.level||"block"!==rt.level&&"inline"!==rt.level)throw new Error("extension level must be 'block' or 'inline'");O[rt.level]?O[rt.level].unshift(rt.tokenizer):O[rt.level]=[rt.tokenizer],rt.start&&("block"===rt.level?O.startBlock?O.startBlock.push(rt.start):O.startBlock=[rt.start]:"inline"===rt.level&&(O.startInline?O.startInline.push(rt.start):O.startInline=[rt.start]))}rt.childTokens&&(O.childTokens[rt.name]=rt.childTokens)})),Fe.renderer){const rt=G.defaults.renderer||new Pt;for(const Et in Fe.renderer){const Dt=rt[Et];rt[Et]=(...Lt)=>{let Kt=Fe.renderer[Et].apply(rt,Lt);return!1===Kt&&(Kt=Dt.apply(rt,Lt)),Kt}}I.renderer=rt}if(Fe.tokenizer){const rt=G.defaults.tokenizer||new st;for(const Et in Fe.tokenizer){const Dt=rt[Et];rt[Et]=(...Lt)=>{let Kt=Fe.tokenizer[Et].apply(rt,Lt);return!1===Kt&&(Kt=Dt.apply(rt,Lt)),Kt}}I.tokenizer=rt}if(Fe.walkTokens){const rt=G.defaults.walkTokens;I.walkTokens=function(Et){Fe.walkTokens.call(this,Et),rt&&rt.call(this,Et)}}Q&&(I.extensions=O),G.setOptions(I)})},G.walkTokens=function(Pe,I){for(const O of Pe)switch(I.call(G,O),O.type){case"table":for(const Q of O.header)G.walkTokens(Q.tokens,I);for(const Q of O.rows)for(const Fe of Q)G.walkTokens(Fe.tokens,I);break;case"list":G.walkTokens(O.items,I);break;default:G.defaults.extensions&&G.defaults.extensions.childTokens&&G.defaults.extensions.childTokens[O.type]?G.defaults.extensions.childTokens[O.type].forEach(function(Q){G.walkTokens(O[Q],I)}):O.tokens&&G.walkTokens(O.tokens,I)}},G.parseInline=function(Pe,I){if(typeof Pe>"u"||null===Pe)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof Pe)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Pe)+", string expected");se(I=xe({},G.defaults,I||{}));try{const O=yt.lexInline(Pe,I);return I.walkTokens&&G.walkTokens(O,I.walkTokens),ft.parseInline(O,I)}catch(O){if(O.message+="\nPlease report this to https://github.com/markedjs/marked.",I.silent)return"

    An error occurred:

    "+ye(O.message+"",!0)+"
    ";throw O}},G.Parser=ft,G.parser=ft.parse,G.Renderer=Pt,G.TextRenderer=At,G.Lexer=yt,G.lexer=yt.lex,G.Tokenizer=st,G.Slugger=nt,G.parse=G;var We=s(5732),Ye=s(5998);const et=["*"];let le=(()=>{class Pe{constructor(){this._buttonClick$=new r.x,this.copied$=this._buttonClick$.pipe((0,A.w)(()=>(0,h.T)((0,_.of)(!0),(0,f.H)(3e3).pipe((0,g.h)(!1)))),(0,B.x)(),function L(Pe,I,O){let Q,Fe=!1;return Pe&&"object"==typeof Pe?({bufferSize:Q=1/0,windowTime:I=1/0,refCount:Fe=!1,scheduler:O}=Pe):Q=Pe??1/0,(0,w.B)({connector:()=>new d.t(Q,I,O),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Fe})}(1)),this.copiedText$=this.copied$.pipe((0,m.O)(!1),(0,b.U)(O=>O?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}}return Pe.\u0275fac=function(O){return new(O||Pe)},Pe.\u0275cmp=o.Xpm({type:Pe,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(O,Q){1&O&&(o.TgZ(0,"button",0),o.NdJ("click",function(){return Q.onCopyToClipboardClick()}),o.ALo(1,"async"),o._uU(2),o.ALo(3,"async"),o.qZA()),2&O&&(o.ekj("copied",o.lcZ(1,3,Q.copied$)),o.xp6(2),o.Oqu(o.lcZ(3,5,Q.copiedText$)))},dependencies:[H.Ov],encapsulation:2,changeDetection:0}),Pe})();class _e{}var be=(()=>{return(Pe=be||(be={})).CommandLine="command-line",Pe.LineHighlight="line-highlight",Pe.LineNumbers="line-numbers",be;var Pe})();class Oe{}const Zt=new o.OlP("SECURITY_CONTEXT");let nn=(()=>{class Pe{constructor(O,Q,Fe,rt,Et,Dt){this.platform=O,this.securityContext=Q,this.http=Fe,this.clipboardOptions=rt,this.sanitizer=Dt,this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this.DEFAULT_MARKED_OPTIONS={renderer:new Pt},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this._reload$=new r.x,this.reload$=this._reload$.asObservable(),this.options=Et}get options(){return this._options}set options(O){this._options={...this.DEFAULT_MARKED_OPTIONS,...O}}get renderer(){return this.options.renderer}set renderer(O){this.options.renderer=O}parse(O,Q=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:Fe,inline:rt,emoji:Et,mermaid:Dt,markedOptions:Lt=this.options}=Q;Dt&&(this.renderer=this.extendRenderer(Lt.renderer||new Pt));const Kt=this.trimIndentation(O),Yt=Fe?this.decodeHtml(Kt):Kt,_n=Et?this.parseEmoji(Yt):Yt,rn=this.parseMarked(_n,Lt,rt);return this.sanitizer.sanitize(this.securityContext,rn)||""}render(O,Q=this.DEFAULT_RENDER_OPTIONS,Fe){const{clipboard:rt,clipboardOptions:Et,katex:Dt,katexOptions:Lt,mermaid:Kt,mermaidOptions:Yt}=Q;rt&&this.renderClipboard(O,Fe,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...Et}),Dt&&this.renderKatex(O,{...this.DEFAULT_KATEX_OPTIONS,...Lt}),Kt&&this.renderMermaid(O,{...this.DEFAULT_MERMAID_OPTIONS,...Yt}),this.highlight(O)}reload(){this._reload$.next()}getSource(O){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(O,{responseType:"text"}).pipe((0,b.U)(Q=>this.handleExtension(O,Q)))}highlight(O){if(!(0,H.NF)(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;O||(O=document);const Q=O.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(Q,Fe=>Fe.classList.add("language-none")),Prism.highlightAllUnder(O)}decodeHtml(O){if(!(0,H.NF)(this.platform))return O;const Q=document.createElement("textarea");return Q.innerHTML=O,Q.value}extendRenderer(O){const Q=O;if(!0===Q.\u0275NgxMarkdownRendererExtended)return O;const Fe=O.code;return O.code=function(rt,Et,Dt){return"mermaid"===Et?`
    ${rt}
    `:Fe.call(this,rt,Et,Dt)},Q.\u0275NgxMarkdownRendererExtended=!0,O}handleExtension(O,Q){const Fe=O.lastIndexOf("://"),rt=Fe>-1?O.substring(Fe+4):O,Et=rt.lastIndexOf("/"),Dt=Et>-1?rt.substring(Et+1).split("?")[0]:"",Lt=Dt.lastIndexOf("."),Kt=Lt>-1?Dt.substring(Lt+1):"";return Kt&&"md"!==Kt?"```"+Kt+"\n"+Q+"\n```":Q}parseMarked(O,Q,Fe=!1){return(0,H.NF)(this.platform)?Fe?G.parseInline(O,Q):G.parse(O,Q):O}parseEmoji(O){if(!(0,H.NF)(this.platform))return O;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(O)}renderKatex(O,Q){if((0,H.NF)(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(O,Q)}}renderClipboard(O,Q,Fe){if(!(0,H.NF)(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!Q)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:rt,buttonTemplate:Et}=Fe,Dt=O.querySelectorAll("pre");for(let Lt=0;Lt_n.style.opacity="1",Kt.onmouseout=()=>_n.style.opacity="0",rn=rt?Q.createComponent(rt).hostView:Et?Q.createEmbeddedView(Et):Q.createComponent(le).hostView,rn.rootNodes.forEach(Fn=>{Fn.onmouseover=()=>_n.style.opacity="1",_n.appendChild(Fn),Jt=new ClipboardJS(Fn,{text:()=>Kt.innerText})}),rn.onDestroy(()=>Jt.destroy())}}renderMermaid(O,Q=this.DEFAULT_MERMAID_OPTIONS){if(!(0,H.NF)(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const Fe=O.querySelectorAll(".mermaid");0!==Fe.length&&(mermaid.initialize(Q),mermaid.init(Fe))}trimIndentation(O){if(!O)return"";let Q;return O.split("\n").map(Fe=>{let rt=Q;return Fe.length>0&&(rt=isNaN(rt)?Fe.search(/\S|$/):Math.min(Fe.search(/\S|$/),rt)),isNaN(Q)&&(Q=rt),rt?Fe.substring(rt):Fe}).join("\n")}}return Pe.\u0275fac=function(O){return new(O||Pe)(o.LFG(o.Lbi),o.LFG(Zt),o.LFG(We.eN,8),o.LFG(_e,8),o.LFG(Oe,8),o.LFG(Ye.H7))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),ln=(()=>{class Pe{constructor(O,Q,Fe){this.element=O,this.markdownService=Q,this.viewContainerRef=Fe,this.error=new o.vpe,this.load=new o.vpe,this.ready=new o.vpe,this._commandLine=!1,this._clipboard=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new r.x}get inline(){return this._inline}set inline(O){this._inline=this.coerceBooleanProperty(O)}get clipboard(){return this._clipboard}set clipboard(O){this._clipboard=this.coerceBooleanProperty(O)}get emoji(){return this._emoji}set emoji(O){this._emoji=this.coerceBooleanProperty(O)}get katex(){return this._katex}set katex(O){this._katex=this.coerceBooleanProperty(O)}get mermaid(){return this._mermaid}set mermaid(O){this._mermaid=this.coerceBooleanProperty(O)}get lineHighlight(){return this._lineHighlight}set lineHighlight(O){this._lineHighlight=this.coerceBooleanProperty(O)}get lineNumbers(){return this._lineNumbers}set lineNumbers(O){this._lineNumbers=this.coerceBooleanProperty(O)}get commandLine(){return this._commandLine}set commandLine(O){this._commandLine=this.coerceBooleanProperty(O)}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe((0,S.R)(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(O,Q=!1){const rt={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},Et=this.markdownService.parse(O,{decodeHtml:Q,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid});this.element.nativeElement.innerHTML=Et,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,rt,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(O){return null!=O&&"false"!=`${String(O)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:O=>{this.render(O),this.load.emit(O)},error:O=>this.error.emit(O)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,be.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,be.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(O,Q){const Fe=O.querySelectorAll("pre");for(let rt=0;rt{const Dt=Q[Et];if(Dt){const Lt=this.toLispCase(Et);Fe.item(rt).setAttribute(Lt,Dt.toString())}})}toLispCase(O){const Q=O.match(/([A-Z])/g);if(!Q)return O;let Fe=O.toString();for(let rt=0,Et=Q.length;rt{class Pe{static forRoot(O){return{ngModule:Pe,providers:[nn,O&&O.loader||[],O&&O.clipboardOptions||[],O&&O.markedOptions||[],{provide:Zt,useValue:O&&null!=O.sanitize?O.sanitize:o.q3G.HTML}]}}static forChild(){return{ngModule:Pe}}}return Pe.\u0275fac=function(O){return new(O||Pe)},Pe.\u0275mod=o.oAB({type:Pe}),Pe.\u0275inj=o.cJS({imports:[H.ez]}),Pe})();var ut;!function(Pe){let I;var Fe;let O,Q;(Fe=I=Pe.SecurityLevel||(Pe.SecurityLevel={})).Strict="strict",Fe.Loose="loose",Fe.Antiscript="antiscript",Fe.Sandbox="sandbox",function(Fe){Fe.Base="base",Fe.Forest="forest",Fe.Dark="dark",Fe.Default="default",Fe.Neutral="neutral"}(O=Pe.Theme||(Pe.Theme={})),function(Fe){Fe[Fe.Debug=1]="Debug",Fe[Fe.Info=2]="Info",Fe[Fe.Warn=3]="Warn",Fe[Fe.Error=4]="Error",Fe[Fe.Fatal=5]="Fatal"}(Q=Pe.LogLevel||(Pe.LogLevel={}))}(ut||(ut={}))},2269:(Ue,J,s)=>{"use strict";s.d(J,{U6:()=>g,ej:()=>f,kG:()=>d});var o=s(4762),r="Invariant Violation",h=Object.setPrototypeOf,_=void 0===h?function(m,b){return m.__proto__=b,m}:h,f=function(m){function b(S){void 0===S&&(S=r);var v=m.call(this,"number"==typeof S?r+": "+S+" (see https://github.com/apollographql/invariant-packages)":S)||this;return v.framesToPop=1,v.name=r,_(v,b.prototype),v}return(0,o.ZT)(b,m),b}(Error);function d(m,b){if(!m)throw new f(b)}var m,w=["debug","log","warn","error","silent"],L=w.indexOf("log");function A(m){return function(){if(w.indexOf(m)>=L){var b=console[m]||console.log;return b.apply(console,arguments)}}}function g(m){var b=w[L];return L=Math.max(0,w.indexOf(m)),b}(m=d||(d={})).debug=A("debug"),m.log=A("log"),m.warn=A("warn"),m.error=A("error")},4854:(Ue,J,s)=>{"use strict";function h(ve,ye){(null==ye||ye>ve.length)&&(ye=ve.length);for(var De=0,z=new Array(ye);DeSe});var d=function(){return"function"==typeof Symbol},w=function(ve){return d()&&Boolean(Symbol[ve])},L=function(ve){return w(ve)?Symbol[ve]:"@@"+ve};d()&&!w("observable")&&(Symbol.observable=Symbol("observable"));var A=L("iterator"),g=L("observable"),B=L("species");function m(ve,ye){var De=ve[ye];if(null!=De){if("function"!=typeof De)throw new TypeError(De+" is not a function");return De}}function b(ve){var ye=ve.constructor;return void 0!==ye&&null===(ye=ye[B])&&(ye=void 0),void 0!==ye?ye:Se}function v(ve){v.log?v.log(ve):setTimeout(function(){throw ve})}function H(ve){Promise.resolve().then(function(){try{ve()}catch(ye){v(ye)}})}function x(ve){var ye=ve._cleanup;if(void 0!==ye&&(ve._cleanup=void 0,ye))try{if("function"==typeof ye)ye();else{var De=m(ye,"unsubscribe");De&&De.call(ye)}}catch(z){v(z)}}function te(ve){ve._observer=void 0,ve._queue=void 0,ve._state="closed"}function T(ve,ye,De){ve._state="running";var z=ve._observer;try{var Y=m(z,ye);switch(ye){case"next":Y&&Y.call(z,De);break;case"error":if(te(ve),!Y)throw De;Y.call(z,De);break;case"complete":te(ve),Y&&Y.call(z)}}catch(V){v(V)}"closed"===ve._state?x(ve):"running"===ve._state&&(ve._state="ready")}function ue(ve,ye,De){if("closed"!==ve._state){if("buffering"===ve._state)return void ve._queue.push({type:ye,value:De});if("ready"!==ve._state)return ve._state="buffering",ve._queue=[{type:ye,value:De}],void H(function(){return function Ee(ve){var ye=ve._queue;if(ye){ve._queue=void 0,ve._state="ready";for(var De=0;De1,X=!1,Ie=arguments[1],ke=Ie;return new V(function(tt){return Y.subscribe({next:function(lt){var $=!X;if(X=!0,!$||j)try{ke=z(ke,lt)}catch(Re){return tt.error(Re)}else ke=lt},error:function(lt){tt.error(lt)},complete:function(){if(!X&&!j)return tt.error(new TypeError("Cannot reduce an empty sequence"));tt.next(ke),tt.complete()}})})},ye.concat=function(){for(var z=this,Y=arguments.length,V=new Array(Y),j=0;j=0&&X.splice($,1),ke()}});X.push(lt)},error:function(tt){j.error(tt)},complete:function(){ke()}});function ke(){Ie.closed&&0===X.length&&j.complete()}return function(){X.forEach(function(tt){return tt.unsubscribe()}),Ie.unsubscribe()}})},ye[g]=function(){return this},ve.from=function(z){var Y="function"==typeof this?this:ve;if(null==z)throw new TypeError(z+" is not an object");var V=m(z,g);if(V){var j=V.call(z);if(Object(j)!==j)throw new TypeError(j+" is not an object");return function S(ve){return ve instanceof Se}(j)&&j.constructor===Y?j:new Y(function(X){return j.subscribe(X)})}if(w("iterator")&&(V=m(z,A)))return new Y(function(X){H(function(){if(!X.closed){for(var ke,Ie=function o(ve,ye){var De=typeof Symbol<"u"&&ve[Symbol.iterator]||ve["@@iterator"];if(De)return(De=De.call(ve)).next.bind(De);if(Array.isArray(ve)||(De=function r(ve,ye){if(ve){if("string"==typeof ve)return h(ve,ye);var De=Object.prototype.toString.call(ve).slice(8,-1);if("Object"===De&&ve.constructor&&(De=ve.constructor.name),"Map"===De||"Set"===De)return Array.from(ve);if("Arguments"===De||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return h(ve,ye)}}(ve))||ye&&ve&&"number"==typeof ve.length){De&&(ve=De);var z=0;return function(){return z>=ve.length?{done:!0}:{done:!1,value:ve[z++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(V.call(z));!(ke=Ie()).done;)if(X.next(ke.value),X.closed)return;X.complete()}})});if(Array.isArray(z))return new Y(function(X){H(function(){if(!X.closed){for(var Ie=0;Ie{"use strict";function o(h,_,f,d,w,L,A){try{var g=h[L](A),B=g.value}catch(m){return void f(m)}g.done?_(B):Promise.resolve(B).then(d,w)}function r(h){return function(){var _=this,f=arguments;return new Promise(function(d,w){var L=h.apply(_,f);function A(B){o(L,d,w,A,g,"next",B)}function g(B){o(L,d,w,A,g,"throw",B)}A(void 0)})}}s.d(J,{Z:()=>r})}},Ue=>{Ue(Ue.s=9630)}]); \ No newline at end of file