diff --git a/README.md b/README.md index 1097b44433a..f036f025d91 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,8 @@ mvn -Dtest=CapabilityStatementTests test command in documentation, the changelog, etc.). 2. Merge the pull request if all tests have succeeded. 3. Wait for the [Angular workflow](https://github.com/ahdis/matchbox/blob/main/.github/workflows/angular_build.yml) - to complete. Since the package.json was modified, the Angular project is rebuilt. + to complete. Since the package.json was modified, the Angular project is rebuilt, unless you also have built the + Angular project in your commit ; in that case, the Angular workflow won't commit anything. 4. Create a [release](https://github.com/ahdis/matchbox/releases) with the changelog (e.g. "matchbox v3.4.1") and a [tag](https://github.com/ahdis/matchbox/tags) (e.g. `v.3.4.1`) in GitHub. 5. It will trigger two workflows: diff --git a/docs/changelog.md b/docs/changelog.md index 9fa47a735b8..f6a0b240382 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,8 +1,11 @@ -YYYY/MM/DD Release 3.5.4 +2024/01/31 Release 3.5.4 - `docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.5.4` - The application now stops if it fails to load an IG, instead of continuing running without an engine [#171](https://github.com/ahdis/matchbox/issues/171) - GUI: improved the validation interface [#177](https://github.com/ahdis/matchbox/issues/177) +- Dependency upgrade to fix various security issues (see https://github.com/ahdis/matchbox/security/dependabot and + https://github.com/ahdis/matchbox/security/code-scanning) +- Added security scanners for the Java code, Java dependencies and Docker image 2024/01/05 Release 3.5.3 diff --git a/docs/docker.md b/docs/docker.md index 269932988b6..287eb37d9a7 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -3,7 +3,7 @@ if you have the rights you can download Matchbox as a docker container: ``` -docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.5.3 +docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.5.4 ``` ## Configurable base image: diff --git a/docs/matchbox-engine.md b/docs/matchbox-engine.md index bf8f233f08b..39ed40851e4 100644 --- a/docs/matchbox-engine.md +++ b/docs/matchbox-engine.md @@ -45,7 +45,7 @@ You can add the matchbox-engine dependency in your `pom.xml`: health.matchbox matchbox-engine - 3.5.3 + 3.5.4 ``` diff --git a/matchbox-engine/pom.xml b/matchbox-engine/pom.xml index e7ec08f55cc..a6e8850e1fb 100644 --- a/matchbox-engine/pom.xml +++ b/matchbox-engine/pom.xml @@ -6,7 +6,7 @@ matchbox health.matchbox - 3.5.3 + 3.5.4 matchbox-engine diff --git a/matchbox-frontend/package-lock.json b/matchbox-frontend/package-lock.json index dc74446e30e..1fdec3e2eb1 100644 --- a/matchbox-frontend/package-lock.json +++ b/matchbox-frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "matchbox", - "version": "3.5.2", + "version": "3.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "matchbox", - "version": "3.5.2", + "version": "3.5.4", "license": "MIT", "dependencies": { "@angular-devkit/build-angular": "^17.0.9", diff --git a/matchbox-frontend/package.json b/matchbox-frontend/package.json index c991126a8e3..082b2ddb693 100644 --- a/matchbox-frontend/package.json +++ b/matchbox-frontend/package.json @@ -1,6 +1,6 @@ { "name": "matchbox", - "version": "3.5.3", + "version": "3.5.4", "license": "MIT", "scripts": { "ng": "ng", diff --git a/matchbox-server/pom.xml b/matchbox-server/pom.xml index e256e8e1bef..6b48da43664 100644 --- a/matchbox-server/pom.xml +++ b/matchbox-server/pom.xml @@ -5,7 +5,7 @@ matchbox health.matchbox - 3.5.3 + 3.5.4 matchbox-server diff --git a/matchbox-server/src/main/resources/static/index.html b/matchbox-server/src/main/resources/static/index.html index 5769c4d628d..7f988c565b6 100644 --- a/matchbox-server/src/main/resources/static/index.html +++ b/matchbox-server/src/main/resources/static/index.html @@ -11,5 +11,5 @@ - + diff --git a/matchbox-server/src/main/resources/static/main.6a82cb6480af5c26.js b/matchbox-server/src/main/resources/static/main.e6fbf97f7eeae7c5.js similarity index 99% rename from matchbox-server/src/main/resources/static/main.6a82cb6480af5c26.js rename to matchbox-server/src/main/resources/static/main.e6fbf97f7eeae7c5.js index 2838e93e193..75ce92b8c8a 100644 --- a/matchbox-server/src/main/resources/static/main.6a82cb6480af5c26.js +++ b/matchbox-server/src/main/resources/static/main.e6fbf97f7eeae7c5.js @@ -1 +1 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Ucum=void 0,ie.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' ',closeEmphHTML_:" ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Me,ie,_)=>{"use strict";ie.R=void 0;var f=_(9473),D=_(4864);class y{constructor(v){if(0===f.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==v)this.assignZero();else if(v instanceof Array){if(v.length!==f.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(v)}`);this.dimVec_=[];for(let s=0;s=f.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[v]=1}}setElementAt(v,s){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${v})`);this.dimVec_||this.assignZero(),null==s&&(s=1),this.dimVec_[v]=s}getElementAt(v){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${v})`);let s=null;return this.dimVec_&&(s=this.dimVec_[v]),s}getProperty(v){return this["_"===v.charAt(v.length-1)?v:v+"_"]}toString(){let v=null;return this.dimVec_&&(v="["+this.dimVec_.join(", ")+"]"),v}add(v){if(!v instanceof y)throw new Error(`Dimension.add called with an invalid parameter - ${typeof v} instead of a Dimension object`);if(this.dimVec_&&v.dimVec_)for(let s=0;s{"use strict";ie.DP=function m(h){const o=h&&h.config;if(o){if(o.length&&h.data){const l=y(o);return h.data.map(v.bind(null,l))}return h.data}return h};function y(h){return h.map(o=>Array.isArray(o)?o:[o])}function v(h,o){let l={};return h.forEach((r,c)=>{let d=l;for(let g=0;g{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Prefix=void 0,_(9473),ie.Prefix=class f{constructor(y){if(null==y.code_||null==y.name_||null==y.value_||void 0===y.exp_)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=y.code_,this.ciCode_=y.ciCode_,this.name_=y.name_,this.printSymbol_=y.printSymbol_,this.value_="string"==typeof y.value_?parseFloat(y.value_):y.value_,this.exp_=y.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(y){return this.code_===y.code_&&this.ciCode_===y.ciCode_&&this.name_===y.name_&&this.printSymbol_===y.printSymbol_&&this.value_===y.value_&&this.exp_===y.exp_}}},8902:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.PrefixTables=ie.PrefixTablesFactory=void 0;class _{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let y="",u=Object.keys(this.byValue_),v=u.length;for(let s=0;s{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=void 0;var n=new class _{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.degf={cnvTo:function(D){return D-459.67},cnvFrom:function(D){return D+459.67}},this.funcs.degre={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.ph={cnvTo:function(D){return-Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.ln={cnvTo:function(D){return Math.log(D)},cnvFrom:function(D){return Math.exp(D)}},this.funcs["2ln"]={cnvTo:function(D){return 2*Math.log(D)},cnvFrom:function(D){return Math.exp(D/2)}},this.funcs.lg={cnvTo:function(D){return Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D)}},this.funcs["10lg"]={cnvTo:function(D){return 10*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/10)}},this.funcs["20lg"]={cnvTo:function(D){return 20*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/20)}},this.funcs["2lg"]={cnvTo:function(D){return 2*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(D){return Math.log(D)/Math.LN2},cnvFrom:function(D){return Math.pow(2,D)}},this.funcs["100tan"]={cnvTo:function(D){return 100*Math.tan(D)},cnvFrom:function(D){return Math.atan(D/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(D){return Math.sqrt(D)},cnvFrom:function(D){return D*D}},this.funcs.inv={cnvTo:function(D){return 1/D},cnvFrom:function(D){return 1/D}},this.funcs.hpX={cnvTo:function(D){return-this.funcs.lg(D)},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.hpC={cnvTo:function(D){return-this.func.ln(D)/this.funcs.ln(100)},cnvFrom:function(D){return Math.pow(100,-D)}},this.funcs.hpM={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(1e3)},cnvFrom:function(D){return Math.pow(1e3,-D)}},this.funcs.hpQ={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(5e4)},cnvFrom:function(D){return Math.pow(5e4,-D)}}}forName(D){D=D.toLowerCase();let y=this.funcs[D];if(null===y)throw new Error(`Requested function ${D} is not defined`);return y}isDefined(D){return D=D.toLowerCase(),null!==this.funcs[D]}};ie.default=n},6361:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.isNumericString=function f(u){let v=""+u;return!isNaN(v)&&!isNaN(parseFloat(v))},ie.isIntegerUnit=function D(u){return/^\d+$/.test(u)},ie.getSynonyms=function y(u){let v={},m={};if(m=n.getInstance().getUnitBySynonym(u),m.units){v.status="succeeded";let h=m.units.length;v.units=[];for(let o=0;o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ucumJsonDefs=ie.UcumJsonDefs=void 0;var n=_(3407),f=_(8902),D=_(5744),y=_(7894),u=_(5601).DP;class v{loadJsonDefs(){const h=_(8210);if(h.prefixes=u(h.prefixes),h.units=u(h.units),0===y.UnitTables.getInstance().unitsCount()){let o=f.PrefixTables.getInstance(),l=h.prefixes,r=l.length;for(let b=0;b{"use strict";ie.n=void 0;var f=_(8929),D=function u(o){if(o&&o.__esModule)return o;if(null===o||"object"!=typeof o&&"function"!=typeof o)return{default:o};var l=y();if(l&&l.has(o))return l.get(o);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(Object.prototype.hasOwnProperty.call(o,d)){var g=c?Object.getOwnPropertyDescriptor(o,d):null;g&&(g.get||g.set)?Object.defineProperty(r,d,g):r[d]=o[d]}return r.default=o,l&&l.set(o,r),r}(_(6361));function y(){if("function"!=typeof WeakMap)return null;var o=new WeakMap;return y=function(){return o},o}var v=_(9473).Ucum,s=_(7894).UnitTables,m=_(4206).T;class h{constructor(){0===s.getInstance().unitsCount()&&f.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=m.getInstance()}useHTMLInMessages(l){void 0===l&&(l=!0),this.uStrParser_.useHTMLInMessages(l)}useBraceMsgForEachString(l){void 0===l&&(l=!0),this.uStrParser_.useBraceMsgForEachString(l)}validateUnitString(l,r,c){void 0===r&&(r=!1),void 0===c&&(c="validate");let d=this.getSpecifiedUnit(l,c,r),g=d.unit,b={};return b=g?{status:d.origString===l?"valid":"invalid",ucumCode:d.origString,unit:{code:g.csCode_,name:g.name_,guidance:g.guidance_}}:{status:d.origString&&null!==d.origString?"invalid":"error",ucumCode:null},d.suggestions&&(b.suggestions=d.suggestions),b.msg=d.retMsg,b}convertUnitTo(l,r,c,d,g){void 0===d&&(d=!1),void 0===g&&(g=null);let b={status:"failed",toVal:null,msg:[]};if(l&&(l=l.trim()),(!l||""==l)&&(b.status="error",b.msg.push('No "from" unit expression specified.')),(null===r||isNaN(r)||"number"!=typeof r&&!D.isNumericString(r))&&(b.status="error",b.msg.push('No "from" value, or an invalid "from" value, was specified.')),c&&(c=c.trim()),(!c||""==c)&&(b.status="error",b.msg.push('No "to" unit expression specified.')),"error"!==b.status)try{let C=null,x=this.getSpecifiedUnit(l,"convert",d);C=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions={},b.suggestions.from=x.suggestions),C||b.msg.push(`Unable to find a unit for ${l}, so no conversion could be performed.`);let w=null;if(x=this.getSpecifiedUnit(c,"convert",d),w=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions||(b.suggestions={}),b.suggestions.to=x.suggestions),w||b.msg.push(`Unable to find a unit for ${c}, so no conversion could be performed.`),C&&w)try{if(g){if(0!==C.moleExp_&&0!==w.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===C.moleExp_&&0===w.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!C.isMoleMassCommensurable(w))throw new Error(`Sorry. ${l} cannot be converted to ${c}.`);b.toVal=0!==C.moleExp_?C.convertMolToMass(r,w,g):C.convertMassToMol(r,w,g)}else b.toVal=w.convertFrom(r,C);b.status="succeeded",b.fromUnit=C,b.toUnit=w}catch(T){b.status="failed",b.msg.push(T.message)}}catch(C){b.status=C.message==v.needMoleWeightMsg_?"failed":"error",b.msg.push(C.message)}return b}convertToBaseUnits(l,r){let c=this.getSpecifiedUnit(l,"validate"),d={},g=c.unit;if(d.msg=c.retMsg||[],g){if(g.isArbitrary_)d.msg.push("Arbitrary units cannot be converted to base units or other units.");else if(0==d.msg.length){let b={},C=g.dim_?.dimVec_,x="1";if(C){let S=s.getInstance().dimVecIndexToBaseUnit_;for(let M=0,k=C.length;M0&&(r=d.retMsg),g){let b=null,C=g.getProperty("dim_");if(C){try{b=C.getProperty("dimVec_")}catch(x){r.push(x.message),"Dimension does not have requested property(dimVec_)"===x.message&&(b=null)}b&&(c=s.getInstance().getUnitsByDimension(b))}else r.push("No commensurable units were found for "+l)}else r.push(`Could not find unit ${l}.`);return[c,r]}}ie.n=h,h.getInstance=function(){return new h}},2207:(Me,ie,_)=>{"use strict";ie.ng=void 0,_(9473);var D=_(9741).n;ie.ng=D,_(7894)},5744:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Unit=void 0;var n=function u(l){return l&&l.__esModule?l:{default:l}}(_(5568)),f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}var m,v=_(9473).Ucum,s=_(1995).R,h=_(4864);class o{constructor(r={}){this.isBase_=r.isBase_||!1,this.name_=r.name_||"",this.csCode_=r.csCode_||"",this.ciCode_=r.ciCode_||"",this.property_=r.property_||"",this.magnitude_=r.magnitude_||1,this.dim_=null==r.dim_?new s:void 0!==r.dim_.dimVec_?new s(r.dim_.dimVec_):r.dim_ instanceof s?r.dim_:r.dim_ instanceof Array||h(r.dim_)?new s(r.dim_):new s,this.printSymbol_=r.printSymbol_||null,this.class_=r.class_||null,this.isMetric_=r.isMetric_||!1,this.variable_=r.variable_||null,this.cnv_=r.cnv_||null,this.cnvPfx_=r.cnvPfx_||1,this.isSpecial_=r.isSpecial_||!1,this.isArbitrary_=r.isArbitrary_||!1,this.moleExp_=r.moleExp_||0,this.synonyms_=r.synonyms_||null,this.source_=r.source_||null,this.loincProperty_=r.loincProperty_||null,this.category_=r.category_||null,this.guidance_=r.guidance_||null,this.csUnitString_=r.csUnitString_||null,this.ciUnitString_=r.ciUnitString_||null,this.baseFactorStr_=r.baseFactorStr_||null,this.baseFactor_=r.baseFactor_||null,this.defError_=r.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new s),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(r){for(let c in r){let d="_"===!c.charAt(c.length-1)?c+"_":c;if(!this.hasOwnProperty(d))throw new Error(`Parameter error; ${c} is not a property of a Unit`);this[d]=r[c]}}clone(){let r=new o;return Object.getOwnPropertyNames(this).forEach(c=>{"dim_"===c?r.dim_=this.dim_?this.dim_.clone():null:r[c]=this[c]}),r}assign(r){Object.getOwnPropertyNames(r).forEach(c=>{"dim_"===c?this.dim_=r.dim_?r.dim_.clone():null:this[c]=r[c]})}equals(r){return this.magnitude_===r.magnitude_&&this.cnv_===r.cnv_&&this.cnvPfx_===r.cnvPfx_&&(null===this.dim_&&null===r.dim_||this.dim_.equals(r.dim_))}fullEquals(r){let c=Object.keys(this).sort(),d=Object.keys(r).sort(),g=c.length,b=g===d.length;for(let C=0;C0){let c=r.replace("/","!").replace(".","/").replace("!",".");switch(c.charAt(0)){case".":r=c.substr(1);break;case"/":r=c;break;default:r="/"+c}}return r}_concatStrs(r,c,d,g,b){return this._buildOneString(r,g,b)+c+this._buildOneString(d,g,b)}_buildOneString(r,c,d){let g="";return g=f.isNumericString(r)||"("===r.charAt(0)&&r.endsWith(")")||"["===r.charAt(0)&&r.endsWith("]")?r:/[./* ]/.test(r)?c+r+d:r,g}power(r){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let d=this.csCode_.match(/([./]|[^./]+)/g),g=d.length;for(let b=0;b=0;T--){let S=parseInt(C[T]);if(!h(S)){if(("-"===C[T]||"+"===C[T])&&T--,T{"use strict";ie.T=void 0;var f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}function u(l,r,c){return r in l?Object.defineProperty(l,r,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[r]=c,l}var v=_(9473).Ucum,s=_(5744).Unit,m=_(7894).UnitTables,h=_(8902).PrefixTables;class o{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=h.getInstance(),this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(r){void 0===r||r?(this.openEmph_=v.openEmphHTML_,this.closeEmph_=v.closeEmphHTML_):(this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?v.bracesMsg_:""}parseString(r,c,d){if(""===(r=r.trim())||null===r)throw new Error("Please specify a unit expression to be validated.");"validate"===c?(this.vcMsgStart_=v.valMsgStart_,this.vcMsgEnd_=v.valMsgEnd_):(this.vcMsgStart_=v.cnvMsgStart_,this.vcMsgEnd_=v.cnvMsgEnd_),this.suggestions_=void 0===d||!1===d?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let g=r,b=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)b[0]=null,b[1]=null;else{let x=null;for(x in v.specUnits_)for(;-1!==r.indexOf(x);)r=r.replace(x,v.specUnits_[x]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");b=this._parseTheString(r,g);let w=b[0];(f.isIntegerUnit(w)||"number"==typeof w)&&(w=new s({csCode_:g,ciCode_:g,magnitude_:w,name_:g}),b[0]=w)}return b[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(b[3]=this.suggestions_),b}_parseTheString(r,c){let d=null,g=this.retMsg_.length>0,b=this._processParens(r,c);g=b[2];let C=[];if(!g){let x=this._makeUnitsArray(r=b[0],c=b[1]);if(g=x[2],!g){C=x[0],c=x[1];let w=C.length;for(let T=0;T=0){let M=this._getParensUnit(S,c);g||(g=M[1]),g||(C[T].un=M[0])}else{let M=this._makeUnit(S,c);null===M[0]?g=!0:(C[T].un=M[0],c=M[1])}}}}return g||(null===C[0]||" "===C[0]||null==C[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${c}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),g=!0),g||(d=this._performUnitArithmetic(C,c)),[d,c]}_getAnnotations(r){let c=r.indexOf("{");for(;c>=0;){let d=r.indexOf("}");if(d<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+r.substr(c)+this.closeEmph_),c=-1;else{let g=r.substring(c,d+1);if(o.VALID_ANNOTATION_REGEX.test(g)){let b=this.annotations_.length.toString();r=r.replace(g,this.braceFlag_+b+this.braceFlag_),this.annotations_.push(g),c=r.indexOf("{")}else this.retMsg_.push(o.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+g+this.closeEmph_),c=-1}}if(0==this.retMsg_.length){let d=r.indexOf("}");d>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+r.substring(0,d+1)+this.closeEmph_)}return r}_processParens(r,c){let d=[],g=0,b=!1,C=this.parensUnits_.length,x=0;for(;""!==r&&!b;){let w=0,T=0,S=r.indexOf("(");if(S<0){let M=r.indexOf(")");if(M>=0){let k=`Missing open parenthesis for close parenthesis at ${r.substring(0,M+x)}${this.openEmph_}${r.substr(M,1)}${this.closeEmph_}`;M0&&(d[g++]=r.substr(0,S));let k=0,I=S+1;for(;I0&&(T=r.substr(0,w-1));let S=r.lastIndexOf(this.parensFlag_),M=null;S+this.pFlagLen_=0){let I=this._getAnnoText(T,c);if(I[1]||I[2])throw new Error(`Text found before the parentheses (${T}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);this.retMsg_.push(`The annotation ${I[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=I[0])+this.vcMsgEnd_)}else this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`${T} preceding the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);if(M)if(M.indexOf(this.braceFlag_)>=0){let I=this._getAnnoText(M,c);if(I[1]||I[2])throw new Error(`Text found after the parentheses (${M}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);r+=I[0]}else f.isNumericString(M)?(r+=M,b=b.power(Number(M)),this.retMsg_.push(`An exponent (${M}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+r+this.vcMsgEnd_)):this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`Text ${M} following the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);return d||(b?f.isIntegerUnit(b)?b=new s({csCode_:b,magnitude_:b,name_:b}):b.csCode_=r:b=new s({csCode_:r,magnitude_:1,name_:r})),[b,d]}_getAnnoText(r,c){let d=r.indexOf(this.braceFlag_),g=d>0?r.substring(0,d):null;0!==d&&(r=r.substr(d));let b=r.indexOf(this.braceFlag_,1),C=b+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${x} found in ${r} that was created from ${c}`);return[r=this.annotations_[w],g,C]}_getSuggestions(r){let c=f.getSynonyms(r);if("succeeded"===c.status){let d={};d.msg=`${r} is not a valid UCUM code. We found possible units that might be what was meant:`,d.invalidUnit=r;let g=c.units.length;d.units=[];for(let b=0;b=0){let g=this._getUnitWithAnnotation(r,c);d=g[0],d&&(c=g[1])}else{if(r.indexOf("^")>-1){let g=r.replace("^","*");d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),d.csCode_=d.csCode_.replace("*","^"),d.ciCode_=d.ciCode_.replace("*","^"))}if(!d){let g="["+r+"]";d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),c=c.replace(r,g),this.retMsg_.push(`${r} is not a valid unit expression, but ${g} is.\n`+this.vcMsgStart_+`${g} (${d.name_})${this.vcMsgEnd_}`))}if(!d){let g=this.utabs_.getUnitByName(r);if(g&&g.length>0){d=g[0].clone();let b="The UCUM code for "+r+" is "+d.csCode_+".\n"+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_,C=!1;for(let T=0;T"+R+"",csCode_:F+R,ciCode_:A+R,printSymbol_:L+""+R+""})}}else d=null,this.suggestions_?this._getSuggestions(g):this.retMsg_.push(`${g} is not a valid UCUM code.`)}}return[d,c]}_getUnitWithAnnotation(r,c){let d=null,g=this._getAnnoText(r,c),b=g[0],C=g[1],x=g[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(C||x)if(C&&!x)if(f.isIntegerUnit(C))d=C;else{let T=this._makeUnit(C,c);T[0]?(d=T[0],d.csCode_+=b,c=T[1]):this.retMsg_.push(`Unable to find a unit for ${C} that precedes the annotation ${b}.`)}else if(!C&&x)if(f.isIntegerUnit(x))d=x+b,this.retMsg_.push(`The annotation ${b} before the ``${x} is invalid.\n`+this.vcMsgStart_+d+this.vcMsgEnd_);else{let T=this._makeUnit(x,c);T[0]?(d=T[0],d.csCode_+=b,c=d.csCode_,this.retMsg_.push(`The annotation ${b} before the unit code is invalid.\n`+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${C} that follows the annotation ${b}.`)}else this.retMsg_.push(`Unable to find a unit for ${C}${b}${x}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let T="["+b.substring(1,b.length-1)+"]",S=this._makeUnit(T,c);S[0]?(d=S[0],c=c.replace(b,T),this.retMsg_.push(`${b} is not a valid unit expression, but ${T} is.\n`+this.vcMsgStart_+`${T} (${d.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>w&&this.retMsg_.pop(),r=1,d=1)}return[d,c]}_performUnitArithmetic(r,c){let d=r[0].un;f.isIntegerUnit(d)&&(d=new s({csCode_:d,ciCode_:d,magnitude_:Number(d),name_:d}));let g=r.length,b=!1;for(let C=1;C{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.UnitTables=void 0;var n=_(9473).Ucum,D=new class f{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(v){v.name_&&this.addUnitName(v),this.addUnitCode(v),this.addUnitString(v);try{v.dim_.getProperty("dimVec_")&&this.addUnitDimension(v)}catch{}if(v.isBase_){const m=v.dim_.dimVec_;let h;for(let o=0,l=m.length;null==h&&o=1&&(m=v.substr(s+n.codeSep_.length),v=v.substr(0,s));let h=this.unitNames_[v];if(h){let o=h.length;if(m&&o>1){let l=0;for(;h[l].csCode_!==m&&l0&&(m+=s),"dim_"===v[b])m+=null!=g.dim_&&g.dim_.dimVec_ instanceof Array?"["+g.dim_.dimVec_.join(",")+"]":"";else{let C=g[v[b]];m+="string"==typeof C?C.replace(/[\n\r]/g," "):C}m+="\r\n"}}return m}printUnits(v,s){void 0===v&&(v=!1),void 0===s&&(s="|");let m="",h=this.codeOrder_.length,o="csCode"+s;v&&(o+="ciCode"+s),o+="name"+s,v&&(o+="isBase"+s),o+="magnitude"+s+"dimension"+s+"from unit(s)"+s+"value"+s+"function"+s,v&&(o+="property"+s+"printSymbol"+s+"synonyms"+s+"source"+s+"class"+s+"isMetric"+s+"variable"+s+"isSpecial"+s+"isAbitrary"+s),o+="comment",m=o+"\n";for(let l=0;l{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppComponent=void 0;const n=_(655),y=(_(7088),_(9515),n.__importDefault(_(4147))),u=n.__importStar(_(9212)),v=n.__importStar(_(9515)),s=n.__importStar(_(7088)),m=n.__importStar(_(617)),h=n.__importStar(_(5187));ie.AppComponent=(()=>{class l{constructor(c,d){this.version=y.default.version,c.setDefaultLang("de"),c.use(c.getBrowserLang());let g=location.origin;if("http://localhost:4200"===g)console.log("note: using local dev mag system for"+location.origin),d.changeFhirMicroService("http://localhost:8080/matchboxv3/fhir");else{let b=g+location.pathname+"fhir";d.changeFhirMicroService(b),console.log("fhir endpoint "+b)}}static#e=this.\u0275fac=function(d){return new(d||l)(u.\u0275\u0275directiveInject(v.TranslateService),u.\u0275\u0275directiveInject(s.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:l,selectors:[["app-root"]],decls:43,vars:1,consts:[["routerLink","/",1,"logo-container"],["alt","Matchbox logo","height","40","src","assets/matchbox_logo_color.png","width","95"],[1,"version"],["routerLink","/"],["routerLink","/CapabilityStatement"],["routerLink","/igs"],["routerLink","/mappinglanguage"],["routerLink","/transform"],["routerLink","/validate"],["routerLink","/settings"],[1,"mat-typography"]],template:function(d,g){1&d&&(u.\u0275\u0275elementStart(0,"header")(1,"div",0),u.\u0275\u0275element(2,"img",1),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"nav")(6,"div",3)(7,"mat-icon"),u.\u0275\u0275text(8,"home"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"span"),u.\u0275\u0275text(10,"Home"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(11,"div",4)(12,"mat-icon"),u.\u0275\u0275text(13,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(14,"span"),u.\u0275\u0275text(15,"CapabilityStatement"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(16,"div",5)(17,"mat-icon"),u.\u0275\u0275text(18,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(19,"span"),u.\u0275\u0275text(20,"IGs"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(21,"div",6)(22,"mat-icon"),u.\u0275\u0275text(23,"search"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"span"),u.\u0275\u0275text(25,"FHIR Mapping"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(26,"div",7)(27,"mat-icon"),u.\u0275\u0275text(28,"transform"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(29,"span"),u.\u0275\u0275text(30,"Transform"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(31,"div",8)(32,"mat-icon"),u.\u0275\u0275text(33,"rule"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(34,"span"),u.\u0275\u0275text(35,"Validate"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(36,"div",9)(37,"mat-icon"),u.\u0275\u0275text(38,"settings"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(39,"span"),u.\u0275\u0275text(40,"Settings"),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275elementStart(41,"main",10),u.\u0275\u0275element(42,"router-outlet"),u.\u0275\u0275elementEnd()),2&d&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate1("v",g.version,""))},dependencies:[m.MatIcon,h.RouterOutlet,h.RouterLink],styles:[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{padding-left:0}mat-toolbar[_ngcontent-%COMP%] .home-link[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;height:100%;width:160px;justify-content:center;align-items:center}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:calc(100% - 1.2em)}header[_ngcontent-%COMP%]{background:#97d6ba;display:flex;flex-wrap:wrap;flex:0 1 auto;padding:10px 2em;justify-content:space-between}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:inline-block}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{color:#2e7d73;font-size:.9em;display:inline-block;margin:4px 0 0 10px;vertical-align:top}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{display:flex;margin-top:10px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block;margin:0 1rem;cursor:pointer;color:#3d5c73}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#d2eade}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media (max-width: 1140px){header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 7px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:18px;width:18px;height:18px}}"]})}return l})()},8629:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppModule=ie.createTranslateLoader=void 0;const n=_(655),f=_(9862),D=_(5187),y=_(9515),u=_(5061),v=_(6401),s=_(6938),m=_(6459),h=_(5389),o=_(3835),l=_(6208),r=_(1037),c=_(9949),d=_(7154),g=_(9936),b=_(4751),C=_(3427),x=n.__importStar(_(9212)),M=(n.__importStar(_(5187)),n.__importStar(_(9515)),n.__importStar(_(4751)),[{path:"",component:m.HomeComponent},{path:"mappinglanguage",component:h.MappingLanguageComponent},{path:"CapabilityStatement",component:s.CapabilityStatementComponent},{path:"igs",component:r.IgsComponent},{path:"settings",component:o.SettingsComponent},{path:"transform",component:d.TransformComponent},{path:"validate",component:g.ValidateComponent}]);function k(P){return new u.TranslateHttpLoader(P,"./assets/i18n/",".json")}ie.createTranslateLoader=k,ie.AppModule=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=x.\u0275\u0275defineNgModule({type:P,bootstrap:[v.AppComponent]});static#n=this.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:c.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(_(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(_(1035))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(_(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(_(5149)))}}}],imports:[l.SharedModule,f.HttpClientModule,c.HighlightModule,D.RouterModule.forRoot(M,{useHash:!0}),y.TranslateModule.forRoot({loader:{provide:y.TranslateLoader,useFactory:k,deps:[f.HttpClient]}}),b.OAuthModule.forRoot(),C.NgxMatSelectSearchModule]})}return P})()},6938:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.CapabilityStatementComponent=void 0;const n=_(655),D=(_(7088),n.__importDefault(_(5101)));_(2919),_(9811);const y=_(6504),u=n.__importStar(_(9212)),v=n.__importStar(_(7088)),s=n.__importStar(_(6814)),m=n.__importStar(_(5940)),h=n.__importStar(_(5135));function o(d,g){1&d&&u.\u0275\u0275element(0,"mat-spinner")}function l(d,g){if(1&d&&u.\u0275\u0275element(0,"app-operation-result",4),2&d){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("operationResult",b.operationResult)}}ie.CapabilityStatementComponent=(()=>{class d{constructor(b){this.data=b,this.capabilityStatement=null,this.operationResult=null,this.loading=!0,this.client=b.getFhirClient()}ngAfterViewInit(){this.client.capabilityStatement().then(b=>{this.loading=!1,this.operationResult=null,this.editor=D.default.edit("code"),this.editor.setReadOnly(!0),this.editor.setValue(JSON.stringify(b,null,4),-1),this.editor.getSession().setMode("ace/mode/json"),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({maxLines:1e4,tabSize:4,wrap:!0,useWorker:!1}),this.editor.resize(!0)}).catch(b=>{console.error(b),this.loading=!1,this.capabilityStatement=null,this.editor&&(this.editor.destroy(),this.editor.container.remove()),this.editor=null,this.operationResult=b.response?.data?y.OperationResult.fromOperationOutcome(b.response.data):y.OperationResult.fromMatchboxError(b.message)})}static#e=this.\u0275fac=function(C){return new(C||d)(u.\u0275\u0275directiveInject(v.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:d,selectors:[["app-capability-statement"]],decls:10,vars:3,consts:[["id","capability-statement",1,"white-block"],[4,"ngIf"],["id","code"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(C,x){1&C&&(u.\u0275\u0275elementStart(0,"div",0)(1,"h2"),u.\u0275\u0275text(2,"CapabilityStatement"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"p"),u.\u0275\u0275text(4," CapabilityStatement of the server: "),u.\u0275\u0275elementStart(5,"code"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(7,o,1,0,"mat-spinner",1),u.\u0275\u0275element(8,"div",2),u.\u0275\u0275template(9,l,1,1,"app-operation-result",3),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275advance(6),u.\u0275\u0275textInterpolate(x.client.baseUrl),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",x.loading),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",x.operationResult))},dependencies:[s.NgIf,m.MatProgressSpinner,h.OperationResultComponent]})}return d})()},7088:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirConfigService=void 0;const n=_(655),f=n.__importDefault(_(8907)),D=n.__importStar(_(9212));ie.FhirConfigService=(()=>{class u{constructor(){}changeFhirMicroService(s){localStorage.setItem("fhirMicroServer",s)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new f.default({baseUrl:this.getFhirMicroService()})}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},7973:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirPathService=void 0;const n=_(655),f=_(8921),D=n.__importStar(_(9212));ie.FhirPathService=(()=>{class u{evaluate(s,m){return(0,f.evaluate)(s,m,null)}evaluateToString(s,m){const h=this.evaluate(s,m);return h&&h instanceof Array&&1===h.length?h[0]:null}getOauthUriToken(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},6459:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.HomeComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212)),y=n.__importStar(_(5195)),u=n.__importStar(_(617)),v=n.__importStar(_(7988)),s=n.__importStar(_(5187));ie.HomeComponent=(()=>{class h{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(r){return new(r||h)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:h,selectors:[["app-home"]],decls:31,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/settings"],["href","https://fhirpath-lab.com/FhirPath","target","_blank"],["href","https://fhirpath-lab.com/FhirMapper2","target","_blank"],["href","https://www.ahdis.ch","rel","external nofollow noopener","target","_blank"]],template:function(r,c){1&r&&(D.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),D.\u0275\u0275text(4,"rule"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"span"),D.\u0275\u0275text(6,"Validate resource"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),D.\u0275\u0275text(9,"info"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(10,"span"),D.\u0275\u0275text(11,"Installed IGs"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),D.\u0275\u0275text(14,"settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(15,"span"),D.\u0275\u0275text(16,"Settings"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(17,"p"),D.\u0275\u0275text(18,"Other tools:"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(19,"ul")(20,"li")(21,"a",4),D.\u0275\u0275text(22,"FHIRPath tester"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(23,"li")(24,"a",5),D.\u0275\u0275text(25,"FHIR Mapper"),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275elementStart(26,"mat-card-footer")(27,"p"),D.\u0275\u0275text(28),D.\u0275\u0275elementStart(29,"a",6),D.\u0275\u0275text(30," contact"),D.\u0275\u0275elementEnd()()()()),2&r&&(D.\u0275\u0275advance(28),D.\u0275\u0275textInterpolate1(" matchbox version: ",c.version," | "))},dependencies:[y.MatCard,y.MatCardContent,y.MatCardFooter,u.MatIcon,v.MatMenuItem,s.RouterLink],styles:["mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:20px}mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#68c39a}mat-card.primary[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:30px 0 15px}mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}"]})}return h})()},1037:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.IgsComponent=void 0;const n=_(655),D=(_(7088),_(6223)),u=(_(7973),_(6504)),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(7973)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(4170)),r=n.__importStar(_(8582)),c=n.__importStar(_(5940)),d=n.__importStar(_(5135));function g(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"tr",9),v.\u0275\u0275listener("click",function(){const L=v.\u0275\u0275restoreView(I).$implicit,F=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(F.selectRow(L))}),v.\u0275\u0275elementStart(1,"td"),v.\u0275\u0275text(2),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"td",10),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(5,"td",10),v.\u0275\u0275text(6),v.\u0275\u0275elementEnd()()}if(2&M){const I=k.$implicit;v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.packageId),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.version),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.title)}}function b(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onUpdate())}),v.\u0275\u0275text(3,"Update"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function C(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onDelete())}),v.\u0275\u0275text(3,"Delete"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function x(M,k){1&M&&(v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275element(1,"mat-progress-spinner",11),v.\u0275\u0275elementContainerEnd())}function w(M,k){if(1&M&&v.\u0275\u0275element(0,"app-operation-result",14),2&M){const I=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("operationResult",I.operationResult)}}function T(M,k){if(1&M&&(v.\u0275\u0275elementStart(0,"div",12)(1,"h2"),v.\u0275\u0275text(2,"Result of the last operation"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(3,w,1,1,"app-operation-result",13),v.\u0275\u0275elementEnd()),2&M){const I=v.\u0275\u0275nextContext();v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",I.operationResult)}}ie.IgsComponent=(()=>{class M{constructor(I,P){this.data=I,this.fhirPathService=P,this.update=!1,this.operationResult=null,this.query={_sort:"title",_count:1e4},this.client=I.getFhirClient(),this.addPackageId=new D.UntypedFormControl("",[D.Validators.required,D.Validators.minLength(1)]),this.addVersion=new D.UntypedFormControl("current",[D.Validators.required,D.Validators.minLength(1)]),this.addUrl=new D.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(I=>{this.igs=I.entry.map(A=>A.resource),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(I=>{this.errorMessage="Error accessing FHIR server",this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message)}),this.update=!1}getPackageUrl(I){return this.fhirPathService.evaluateToString(I,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}selectRow(I){this.selection=I,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(I));let P=this.selection.version;P&&P.endsWith(" (current)")&&(P=P.substring(0,P.length-10)),this.addVersion.setValue(P)}onSubmit(){if(this.errorMessage=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errorMessage="Please provide package name");let I=this.addPackageId.value.trim();I.indexOf("#")>0&&(I.substring(0,I.indexOf("#")-1),this.addVersion.setValue(I.substring(0,I.indexOf("#")+1))),this.addPackageId.setValue(I);const P=this.addVersion.value.trim();this.addVersion.setValue(P),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:I,version:P,packageId:I,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(A=>{this.errorMessage="Created Implementation Guide "+this.addPackageId.value,this.operationResult=u.OperationResult.fromOperationOutcome(A),this.search()}).catch(A=>{this.errorMessage="Error creating Implementation Guide "+this.addPackageId.value,this.operationResult=A.response?.data?u.OperationResult.fromOperationOutcome(A.response.data):u.OperationResult.fromMatchboxError(A.message),this.update=!1})}onUpdate(){this.errorMessage=null,this.selection.name=this.addPackageId.value,this.selection.version=this.addVersion.value,this.selection.packageId=this.addPackageId.value,this.selection.url=this.addUrl.value,this.update=!0,this.client.update({resourceType:this.selection.resourceType,id:this.selection.id,body:this.selection,options:{headers:{Prefer:"return=OperationOutcome"}}}).then(I=>{this.errorMessage="Updated Implementation Guide "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error updating Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message),this.update=!1})}onDelete(){this.errorMessage=null,this.update=!0,this.client.delete({resourceType:this.selection.resourceType,id:this.selection.id,options:{headers:{Prefer:"return=OperationOutcome","X-Cascade":"delete"}}}).then(I=>{this.errorMessage="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error deleting Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message),this.update=!1})}static#e=this.\u0275fac=function(P){return new(P||M)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(m.FhirPathService))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:M,selectors:[["app-igs"]],decls:40,vars:8,consts:[[1,"white-block","card-igs"],[3,"click",4,"ngFor","ngForOf"],[1,"white-block","Search","card-igs"],["matInput","",3,"formControl"],[2,"width","50vw"],["href","https://packages.fhir.org"],["type","submit",3,"click"],[4,"ngIf"],["class","white-block logs",4,"ngIf"],[3,"click"],[1,"secondary"],["mode","indeterminate"],[1,"white-block","logs"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(P,A){1&P&&(v.\u0275\u0275elementStart(0,"div",0)(1,"h2"),v.\u0275\u0275text(2,"ImplementationGuides installed on the server"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"table")(4,"thead")(5,"tr")(6,"th"),v.\u0275\u0275text(7,"Package"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"th"),v.\u0275\u0275text(9,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(10,"th"),v.\u0275\u0275text(11,"Title"),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(12,"tbody"),v.\u0275\u0275template(13,g,7,3,"tr",1),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(14,"div",2)(15,"h3"),v.\u0275\u0275text(16,"Install an ImplementationGuide"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(17,"mat-form-field")(18,"mat-label"),v.\u0275\u0275text(19,"PackageId"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(20,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(21," \xa0 "),v.\u0275\u0275elementStart(22,"mat-form-field")(23,"mat-label"),v.\u0275\u0275text(24,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(25,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(26," \xa0 "),v.\u0275\u0275elementStart(27,"mat-form-field",4)(28,"mat-label"),v.\u0275\u0275text(29,"Package url (optional, use only if not available through "),v.\u0275\u0275elementStart(30,"a",5),v.\u0275\u0275text(31,"packages.fhir.org"),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(32,") "),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(33,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(34,"button",6),v.\u0275\u0275listener("click",function(){return A.onSubmit()}),v.\u0275\u0275text(35,"Upload"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(36,b,4,0,"ng-container",7)(37,C,4,0,"ng-container",7),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(38,x,2,0,"ng-container",7)(39,T,4,1,"div",8)),2&P&&(v.\u0275\u0275advance(13),v.\u0275\u0275property("ngForOf",A.igs),v.\u0275\u0275advance(7),v.\u0275\u0275property("formControl",A.addPackageId),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",A.addVersion),v.\u0275\u0275advance(8),v.\u0275\u0275property("formControl",A.addUrl),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.update),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.errorMessage))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatFormField,l.MatLabel,r.MatInput,c.MatProgressSpinner,d.OperationResultComponent],styles:[".secondary[_ngcontent-%COMP%]{color:#6b7280}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:1px solid rgb(209,213,219);padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:1px solid rgb(229,231,235);padding-top:1rem;padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:hover{background:#eee}.mat-form-field.url[_ngcontent-%COMP%]{width:200px}.mat-table[_ngcontent-%COMP%]{margin:1rem}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.mat-table[_ngcontent-%COMP%] .mat-cell.title[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.title[_ngcontent-%COMP%]{flex:2;justify-content:flex-end}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:first-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:first-child{padding-left:1rem}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:last-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:1rem}.card-igs[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return M})()},5389:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.MappingLanguageComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importDefault(_(563)),s=n.__importStar(_(9212)),m=n.__importStar(_(7088)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8582));function d(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function g(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,d,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcome.issue)}}function b(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("Successfully created on server: ",M.structureMap.url," ")}}function C(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,C,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,v.default)("app:");constructor(S,M){this.cd=S,this.data=M,this.client=M.getFhirClient(),this.source=new y.UntypedFormControl,this.map=new y.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>{w.log("create StructureMap"),this.client.create({resourceType:"StructureMap",body:k,headers:{accept:"application/fhir+json","content-type":"text/fhir-mapping"}}).then(I=>{this.operationOutcome=null,this.structureMap=I,this.transform()}).catch(I=>{this.structureMap=null,this.operationOutcome=I.response.data})}),this.source.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>this.transform())}transform(){w.log("transform Source");let S=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:S}).then(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}ngOnInit(){}fileSource(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.source.setValue(M.result),this.cd.markForCheck()}}}fileChange(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.map.setValue(M.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(M){return new(M||w)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(m.FhirConfigService))};static#n=this.\u0275cmp=s.\u0275\u0275defineComponent({type:w,selectors:[["app-mapping-language"]],decls:31,vars:8,consts:[[1,"card-maps"],[1,"fixtextarea"],["accept",".json","placeholder","Upload source","type","file",3,"change"],["cols","400","matNativeControl","","rows","15",3,"formControl"],["accept",".map","placeholder","Upload map","type","file",3,"change"],["cols","400","matNativeControl","","rows","20",3,"formControl"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(M,k){1&M&&(s.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),s.\u0275\u0275text(4,"Source"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(5,"mat-form-field",1)(6,"mat-card-actions")(7,"input",2),s.\u0275\u0275listener("change",function(P){return k.fileSource(P)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(8,"textarea",3),s.\u0275\u0275text(9," "),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-card-content")(12,"mat-card-header")(13,"mat-card-title"),s.\u0275\u0275text(14,"FHIR Mapping Language map"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(15,"mat-form-field",1)(16,"mat-card-actions")(17,"input",4),s.\u0275\u0275listener("change",function(P){return k.fileChange(P)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(18,"textarea",5),s.\u0275\u0275text(19," "),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(20,g,3,1,"mat-error",6)(21,b,2,1,"mat-hint",6),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(22,"mat-card",0)(23,"mat-card-content")(24,"mat-card-header")(25,"mat-card-title"),s.\u0275\u0275text(26,"Transformed"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(27,x,3,1,"mat-error",6),s.\u0275\u0275elementStart(28,"pre"),s.\u0275\u0275text(29),s.\u0275\u0275pipe(30,"json"),s.\u0275\u0275elementEnd()()()),2&M&&(s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",k.source),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",k.map),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",k.operationOutcome),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",k.structureMap),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",k.operationOutcomeTransformed),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(30,6,k.transformed)))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatCard,l.MatCardActions,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatHint,r.MatError,c.MatInput,h.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}ie.MappingLanguageComponent=w},5135:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.OperationResultComponent=void 0;const n=_(655),f=_(9212),u=(_(6593),_(6504),n.__importStar(_(9212))),v=n.__importStar(_(6593)),s=n.__importStar(_(6814));function m(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"li",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=b.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C," ")}}function h(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ol"),u.\u0275\u0275template(1,m,2,1,"li",7),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.sliceInfo)}}function o(g,b){if(1&g){const C=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"li",3),u.\u0275\u0275listener("click",function(){const T=u.\u0275\u0275restoreView(C).$implicit,S=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(S.select.emit(T))}),u.\u0275\u0275elementStart(1,"span",4),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(3,"span",5)(4,"br"),u.\u0275\u0275elementStart(5,"p"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,h,2,1,"ol",6),u.\u0275\u0275elementEnd()}if(2&g){const C=b.$implicit,x=u.\u0275\u0275nextContext(2);u.\u0275\u0275classMapInterpolate1("issue ",C.severity,""),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(C.severity),u.\u0275\u0275advance(1),u.\u0275\u0275property("innerHtml",x.getTemplateHeaderLine(C),u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(C.text),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.sliceInfo.length)}}const l=g=>({clickable:g});function r(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ul",1),u.\u0275\u0275template(1,o,8,7,"li",2),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngClass",u.\u0275\u0275pureFunction1(2,l,C.reactsToClick)),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.result.issues)}}const c=["fatal","error","warning","information"];ie.OperationResultComponent=(()=>{class g{set operationResult(C){this.result=C,this.result&&this.result.issues.length&&this.result.issues.sort(g.sortIssues)}constructor(C){this.sanitized=C,this.select=new f.EventEmitter,this.reactsToClick=!1}ngOnInit(){this.reactsToClick=this.select.observed}static sortIssues(C,x){const w=c.indexOf(C.severity)-c.indexOf(x.severity);return 0!==w?w:(C.line??0)-(x.line??0)}getTemplateHeaderLine(C){let x="";C.code&&(x+=` [${C.code}]`),x+=": ";const w=[];return C.line&&w.push(`line ${C.line}`),C.col&&w.push(`column ${C.col}`),C.expression&&w.push(`in ${C.expression}`),w.length&&(x+=w.join(", ")+":"),this.sanitized.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(x){return new(x||g)(u.\u0275\u0275directiveInject(v.DomSanitizer))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:g,selectors:[["app-operation-result"]],inputs:{operationResult:"operationResult"},outputs:{select:"select"},decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"class","click",4,"ngFor","ngForOf"],[3,"click"],[1,"severity"],[3,"innerHtml"],[4,"ngIf"],["class","slice",4,"ngFor","ngForOf"],[1,"slice"]],template:function(x,w){1&x&&u.\u0275\u0275template(0,r,2,4,"ul",0),2&x&&u.\u0275\u0275property("ngIf",w.result)},dependencies:[s.NgClass,s.NgForOf,s.NgIf],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.app-ace-editor[_ngcontent-%COMP%]{border:2px solid #f8f9fa;box-shadow:0 .5rem 1rem #00000026}ul[_ngcontent-%COMP%]{list-style:none;padding:0}.clickable[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{cursor:pointer}.issue[_ngcontent-%COMP%]{border:1px solid #e1e1e1;background:#fbfbfb;border-radius:5px;padding:5px 8px;--color: #000;border-left:4px solid var(--color);margin-bottom:4px}.issue[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px 0 0}.issue[_ngcontent-%COMP%] .severity[_ngcontent-%COMP%]{color:var(--color);font-weight:600}.issue.fatal[_ngcontent-%COMP%], .issue.error[_ngcontent-%COMP%]{--color: #d9534f}.issue.warning[_ngcontent-%COMP%]{--color: #f0ad4e}.issue.information[_ngcontent-%COMP%]{--color: #4ca8de}[_nghost-%COMP%] .issue .code{font-size:.9em;color:#636363}[_nghost-%COMP%] .issue>span>code{background:#e1e1e1;border-radius:4px;padding:2px 4px;font-family:courier,monospace} .ace-highlight-fatal{position:absolute;background:#cc3300;opacity:.4} .ace-highlight-error{position:absolute;background:#ff9966;opacity:.4} .ace-highlight-warning{position:absolute;background:#ffcc00;opacity:.4} .ace-highlight-information{position:absolute;background:#99cc33;opacity:.4}"]})}return g})()},3835:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SettingsComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212));ie.SettingsComponent=(()=>{class u{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:u,selectors:[["app-settings"]],decls:12,vars:1,consts:[["id","settings",1,"white-block"],["href","https://github.com/ahdis/matchbox","rel","external nofollow noopener","target","_blank"]],template:function(m,h){1&m&&(D.\u0275\u0275elementStart(0,"div",0)(1,"h2"),D.\u0275\u0275text(2,"Matchbox settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(3,"h5"),D.\u0275\u0275text(4),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"p")(6,"em"),D.\u0275\u0275text(7,"There are no configurable settings here right now"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(8,"p"),D.\u0275\u0275text(9," Source code: "),D.\u0275\u0275elementStart(10,"a",1),D.\u0275\u0275text(11,"github.com/ahdis/matchbox"),D.\u0275\u0275elementEnd()()()),2&m&&(D.\u0275\u0275advance(4),D.\u0275\u0275textInterpolate1("Version ",h.version,""))}})}return u})()},6208:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SharedModule=void 0;const n=_(655),f=_(6814),D=_(6223),y=_(6593),u=_(4630),v=_(2296),s=_(5195),m=_(5986),h=_(3680),o=_(8034),l=_(6385),r=_(4170),c=_(617),d=_(8582),g=_(7988),b=_(1476),C=_(7466),x=_(8525),w=_(2599),T=_(2202),S=_(5313),M=_(4104),k=_(1274),I=_(9515),P=_(5940),A=n.__importStar(_(9212)),L=[f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule];ie.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ee){return new(ee||U)};static#t=this.\u0275mod=A.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=A.\u0275\u0275defineInjector({imports:[L,f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule]})}return U})()},7154:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.TransformComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(6814)),h=n.__importStar(_(6223)),o=n.__importStar(_(3680)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8525)),d=n.__importStar(_(9949)),g=n.__importStar(_(9009));function b(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-option",7),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275propertyInterpolate("value",M.url),v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1("",M.name," ")}}function C(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"li"),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),v.\u0275\u0275template(2,C,2,1,"li",8),v.\u0275\u0275elementEnd()()),2&T){const M=v.\u0275\u0275nextContext();v.\u0275\u0275advance(2),v.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}ie.TransformComponent=(()=>{class T{constructor(M,k){this.data=M,this.cd=k,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=M.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(I=>(this.setMaps(I),I)),this.selectedMap=new y.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,u.debounceTime)(400),(0,u.distinctUntilChanged)()).subscribe(I=>{this.selectedUrl=I,this.transform()})}transform(){null!=this.source&&null!=this.selectedUrl&&this.client.operation({name:"transform?source="+encodeURIComponent(this.selectedUrl),resourceType:"StructureMap",input:this.source,options:{headers:{"content-type":this.mimeType}}}).then(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(M){this.structureMaps=M.entry.map(k=>k.resource)}ngOnInit(){}addFile(M){this.transformed=null,("application/json"===M.contentType||M.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===M.contentType||M.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const k=new FileReader;k.readAsText(M.blob),k.onload=()=>{this.source=k.result}}static#e=this.\u0275fac=function(k){return new(k||T)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(v.ChangeDetectorRef))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:T,selectors:[["app-transform"]],decls:24,vars:8,consts:[[1,"card-maps"],[3,"addFiles"],[3,"highlight","lineNumbers"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"]],template:function(k,I){1&k&&(v.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd()(),v.\u0275\u0275elementStart(5,"div"),v.\u0275\u0275text(6,"Resource"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(7,"app-upload",1),v.\u0275\u0275listener("addFiles",function(A){return I.addFile(A)}),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"pre"),v.\u0275\u0275element(9,"code",2),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),v.\u0275\u0275text(13,"Map for transforming"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(14,"mat-select",4),v.\u0275\u0275template(15,b,2,2,"mat-option",5),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),v.\u0275\u0275text(20,"Transformed"),v.\u0275\u0275elementEnd()(),v.\u0275\u0275template(21,x,3,1,"mat-error",6),v.\u0275\u0275elementStart(22,"pre"),v.\u0275\u0275element(23,"code",2),v.\u0275\u0275elementEnd()()()),2&k&&(v.\u0275\u0275advance(4),v.\u0275\u0275textInterpolate(I.client.baseUrl),v.\u0275\u0275advance(5),v.\u0275\u0275property("highlight",I.getSource())("lineNumbers",!0),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",I.selectedMap),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngForOf",I.structureMaps),v.\u0275\u0275advance(6),v.\u0275\u0275property("ngIf",I.operationOutcomeTransformed),v.\u0275\u0275advance(2),v.\u0275\u0275property("highlight",I.getMapped())("lineNumbers",!0))},dependencies:[m.NgForOf,m.NgIf,h.NgControlStatus,h.FormControlDirective,o.MatOption,l.MatCard,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatLabel,r.MatError,c.MatSelect,d.Highlight,g.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return T})()},9009:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.UploadComponent=void 0;const f=_(655),D=_(9212),y=f.__importStar(_(9212)),u=f.__importStar(_(2296)),v=f.__importStar(_(617));ie.UploadComponent=(()=>{class m{constructor(){this.addFiles=new D.EventEmitter,this.dragCounter=0}checkStatus(o){if(!o.ok)throw new Error(`HTTP ${o.status} - ${o.statusText}`);return o}onDrop(o){o.preventDefault(),this.dragCounter=0;const l=o.target.files||o.dataTransfer.items;if(l)for(let c=0;c0))},dependencies:[u.MatButton,v.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#f0f3f6}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%]{border-bottom:1px solid #dedede;display:flex;align-items:center;height:40px}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-name[_ngcontent-%COMP%]{flex:1;padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-size[_ngcontent-%COMP%]:last-child{margin-right:1rem}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;line-height:inherit}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]{text-align:center;padding:2rem;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone.file-over[_ngcontent-%COMP%]{background:#e0e6ec}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{line-height:3rem}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:700}"],changeDetection:0})}return m})()},6504:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Issue=ie.OperationResult=void 0;class _{constructor(D,y){this.operationOutcome=y,this.issues=D??[]}static fromOperationOutcome(D){const y=D.issue?.map(u=>n.fromOoIssue(u));return new _(y,D)}static fromMatchboxError(D){const y=new _;return y.issues.push(new n("fatal","matchbox",D,void 0,void 0,void 0,void 0)),y}}ie.OperationResult=_;class n{constructor(D,y,u,v,s,m,h){this.sliceInfo=[],this.severity=D,this.code=y,this.text=u,this.expression=v,this.line=s,this.col=m,this.sliceInfo=h??[]}static fromOoIssue(D){let y;D.expression&&D.expression.length?y=D.expression[0]:D.location&&D.location.length&&(y=D.location[0]);const u=D.diagnostics?.indexOf("Slice info: 1.)");let v,s=null;return u>=0?(v=D.diagnostics.substring(0,u).trimEnd(),s=D.diagnostics.substring(u+15).trimStart().split(/\d+[.][)]/)):v=D.diagnostics,new n(D.severity,D.code,v,y,n.getLineNo(D),n.getColNo(D),s)}static getLineNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line");return y&&y>0?y:void 0}static getColNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col");return y&&y>0?y:void 0}static getExtensionIntValue(D,y){if(D.extension)for(const u of D.extension)if(u.url===y)return u.valueInteger}}ie.Issue=n},9936:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidateComponent=void 0;const f=_(655),u=(_(9212),_(7088),f.__importDefault(_(827))),v=f.__importDefault(_(1328)),s=f.__importDefault(_(5101)),m=_(5892),h=_(3538),o=_(6504),l=_(6223),r=f.__importStar(_(9212)),c=f.__importStar(_(7088)),d=f.__importStar(_(6814)),g=f.__importStar(_(6223)),b=f.__importStar(_(3680)),C=f.__importStar(_(2296)),x=f.__importStar(_(5195)),w=f.__importStar(_(4170)),T=f.__importStar(_(617)),S=f.__importStar(_(8582)),M=f.__importStar(_(7988)),k=f.__importStar(_(8525)),I=f.__importStar(_(5940)),P=f.__importStar(_(3427)),A=f.__importStar(_(5135)),L=f.__importStar(_(9009));function F(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275text(1," a "),r.\u0275\u0275elementStart(2,"span"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(4,", from "),r.\u0275\u0275elementStart(5,"em"),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.filename)}}function R(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"None"),r.\u0275\u0275elementEnd())}function U(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function W(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ne(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function ee(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"p",24)(1,"mat-icon"),r.\u0275\u0275text(2,"report"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",Ee.errorMessage,"")}}function j(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",13),r.\u0275\u0275listener("addFiles",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.addFile(Ce))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",14),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,F,7,2,"ng-container",3)(5,R,2,0,"em",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"div",15)(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Validation profile (required)"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",16),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedProfile=Ce)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",17),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.profileFilter=Ce)})("ngModelChange",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,U,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(14,W,2,0,"mat-error",3),r.\u0275\u0275elementStart(15,"mat-hint"),r.\u0275\u0275text(16,"A profile is required to validate against."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(17,"div",15)(18,"mat-form-field")(19,"mat-label"),r.\u0275\u0275text(20,"Validation IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(21,"mat-select",19),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedIg=Ce)}),r.\u0275\u0275elementStart(22,"mat-option",20)(23,"em"),r.\u0275\u0275text(24,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(25,ne,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(26,"mat-hint"),r.\u0275\u0275text(27,"A specific IG version may be specified."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(28,"button",21),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.onValidate())}),r.\u0275\u0275text(29,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ee,4,1,"p",22),r.\u0275\u0275elementContainerEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",Ee.currentResource),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngModel",Ee.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngModel",Ee.profileFilter),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.filteredProfiles),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ee.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngModel",Ee.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",Ee.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",Ee.errorMessage)}}function B(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"div",15)(1,"mat-form-field",26)(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",27),r.\u0275\u0275elementEnd()()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.param.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",Ee.formControl)}}function $(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,B,5,2,"div",25),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.validatorSettings)}}function Z(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",33)}function H(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-icon",34),r.\u0275\u0275text(2,"error"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275element(4,"br"),r.\u0275\u0275elementStart(5,"mat-icon",35),r.\u0275\u0275text(6,"warning"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7),r.\u0275\u0275element(8,"br"),r.\u0275\u0275elementStart(9,"mat-icon",36),r.\u0275\u0275text(10,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(11),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.result?Ee.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.result?Ee.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",Ee.result?Ee.getInfos():"-"," ")}}const te=Te=>({selected:Te});function ue(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",28),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.show(ge))}),r.\u0275\u0275elementStart(1,"td",29),r.\u0275\u0275text(2),r.\u0275\u0275element(3,"br"),r.\u0275\u0275elementStart(4,"time"),r.\u0275\u0275text(5),r.\u0275\u0275pipe(6,"date"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(7,"at"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"td",29),r.\u0275\u0275text(9),r.\u0275\u0275element(10,"br"),r.\u0275\u0275text(11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"td",30),r.\u0275\u0275template(13,Z,1,0,"mat-spinner",11)(14,H,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",31)(16,"mat-icon",32),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.removeEntryFromHistory(ge))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Te){const Ee=qe.$implicit,Ie=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,te,Ee===Ie.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,Ee.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",Ee.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",Ee.loading),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.loading)}}function ye(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"dl")(1,"dt"),r.\u0275\u0275text(2,"Filename"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"dd"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"dt"),r.\u0275\u0275text(6,"Profile"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"dd"),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"dt"),r.\u0275\u0275text(10,"IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"dd"),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()()),2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.ig)}}function Ge(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",37),r.\u0275\u0275listener("select",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.highlightIssue(Ce))}),r.\u0275\u0275elementEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",Ee.selectedEntry.result)}}function $e(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",33)}ie.ValidateComponent=(()=>{class Te{constructor(Ee,Ie){this.cd=Ie,this.validationEntries=new Array,this.selectedEntry=null,this.capabilityStatement=null,this.installedIgs=new Set,this.supportedProfiles=new Set,this.validatorSettings=new Array,this.filteredProfiles=new Set,this.profileFilter="",this.selectedIg=null,this.profileControl=new l.FormControl(null,l.Validators.required),this.showSettings=!1,this.currentResource=null,this.errorMessage=null,this.client=Ee.getFhirClient(),this.client.capabilityStatement().then(Ce=>{this.capabilityStatement=Ce,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(ge=>{ge.parameter?.forEach(Ae=>{"profile"==Ae.name&&(Ae.targetProfile.forEach(q=>this.supportedProfiles.add(q)),this.updateProfileFilter())}),ge.parameter.filter(Ae=>"in"==Ae.use&&"resource"!=Ae.name&&"profile"!=Ae.name&&"ig"!=Ae.name).forEach(Ae=>{this.validatorSettings.push(new h.ValidationParameter(Ae))})})}).catch(Ce=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Ce=>{Ce.entry.map(ge=>ge.resource).map(ge=>`${ge.packageId}#${ge.version}`).sort().forEach(ge=>this.installedIgs.add(ge))}).catch(Ce=>{this.errorMessage="Error accessing FHIR server"})}ngAfterViewInit(){this.editor=s.default.edit("editor"),this.editor.setReadOnly(!0),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({tabSize:4,wrap:!0,useWorker:!1,useSvgGutterIcons:!1})}addFile(Ee){if(Ee.name.endsWith(".tgz"))try{this.addPackage(Ee.blob)}catch(Ie){console.error(Ie)}else{let Ie=null;try{this.selectedProfile=null,this.selectedIg=null;const Ce=new FileReader;Ce.readAsText(Ee.blob),Ce.onload=()=>{this.cd.markForCheck(),Ie=new m.ValidationEntry(Ee.blob.name,Ce.result,Ee.contentType,null),this.currentResource=new Et(Ee.name,Ee.contentType,Ce.result,Ie.resourceType),Ie.selectedProfile&&(this.selectedProfile=Ie.selectedProfile),this.validationEntries.unshift(Ie),this.show(Ie),this.validate(Ie)}}catch(Ce){console.error(Ce),Ie&&(Ie.result=o.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Ce.message))}}}onValidateIg(){let Ee="";null!=this.selectedIg&&(Ee=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg,Ee=Ee.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+Ee))}fetchData(Ee){var Ie=this;return n(function*(){const ge=yield(yield fetch(Ee,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();Ie.addPackage(ge)})()}addPackage(Ee){this.selectedProfile=null,this.selectedIg=null;const Ie=new FileReader;Ie.readAsArrayBuffer(Ee),Ie.onload=()=>{if(this.package=Ie.result,this.cd.markForCheck(),null!=this.package){const Ce=u.default.inflate(new Uint8Array(this.package)),ge=new Array;let Ae=null,q=null;const Re=this;(0,v.default)(Ce.buffer).then(function(ke){ge.forEach(Ke=>{Re.validationEntries.unshift(Ke),Re.validate(Ke)})},function(ke){},function(ke){if(ke.name?.indexOf("package.json")>=0){let Ke=new TextDecoder("utf-8"),me=JSON.parse(Ke.decode(ke.buffer));Ae=me.fhirVersions[0],q=me.name+"#"+me.version}if(ke.name?.indexOf("example")>=0&&-1==ke.name?.indexOf(".index.json")){let Ke=ke.name;Ke.startsWith("package/example/")&&(Ke=Ke.substring(16)),Ke.startsWith("example/")&&(Ke=Ke.substring(8));let me=new TextDecoder("utf-8"),Pe=JSON.parse(me.decode(ke.buffer)),Ne=Pe.meta?.profile,Be=new m.ValidationEntry(Ke,JSON.stringify(Pe,null,2),"application/fhir+json",Ne);ge.push(Be)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(Ee){if(null!=this.selectedProfile&&(Ee.profiles.includes(this.selectedProfile)||Ee.profiles.push(this.selectedProfile),Ee.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(Ee.ig=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg),!Ee.selectedProfile)return void console.error("No profile selected, won't run validation");const Ie=new URLSearchParams;Ie.set("profile",Ee.selectedProfile),Ee.ig&&Ie.set("ig",Ee.ig);for(const Ce of this.validatorSettings)null!=Ce.formControl.value&&Ce.formControl.value.length>0&&Ie.set(Ce.param.name,Ce.formControl.value);Ee.loading=!0,this.client.operation({name:"validate?"+Ie.toString(),resourceType:void 0,input:Ee.resource,options:{headers:{accept:"application/fhir+json","content-type":Ee.mimetype}}}).then(Ce=>{Ee.loading=!1,Ee.setOperationOutcome(Ce),Ee===this.selectedEntry&&this.updateEditorIssues()}).catch(Ce=>{Ee.loading=!1,Ee.result=o.OperationResult.fromMatchboxError("Error while sending the validation request: "+Ce.message),console.error(Ce)})}show(Ee){if(this.errorMessage=null,this.selectedEntry=Ee,!Ee)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Et(Ee.filename,Ee.mimetype,Ee.resource,Ee.resourceType),this.editor.setValue(Ee.resource,-1),"application/fhir+json"===Ee.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===Ee.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(Ee){Ee===this.selectedEntry&&this.show(null);const Ie=this.validationEntries.indexOf(Ee);this.validationEntries.splice(Ie,1)}onValidate(){let Ee=new m.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);Ee.ig=this.selectedIg,this.validationEntries.unshift(Ee),this.validate(Ee)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const Ee=this.selectedEntry.result.issues.filter(Ie=>Ie.line).map(Ie=>{let Ce;switch(Ie.severity){case"fatal":case"error":Ce="error";break;case"warning":Ce="warning";break;case"information":Ce="info"}return{row:Ie.line-1,column:Ie.col,text:Ie.text,type:Ce}});this.editor.session.setAnnotations(Ee)}highlightIssue(Ee){Ee.line&&(this.editor.gotoLine(Ee.line,Ee.col,!0),this.editor.scrollToLine(Ee.line,!1,!0,()=>{}))}updateProfileFilter(){this.filteredProfiles=new Set([...this.supportedProfiles].filter(Ee=>Ee.includes(this.profileFilter)))}static#e=this.\u0275fac=function(Ie){return new(Ie||Te)(r.\u0275\u0275directiveInject(c.FhirConfigService),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))};static#t=this.\u0275cmp=r.\u0275\u0275defineComponent({type:Te,selectors:[["app-validate"]],decls:37,vars:6,consts:[[1,"row"],[1,"card-maps","white-block"],["mat-menu-item","",1,"setting",3,"click"],[4,"ngIf"],[1,"mat-table"],[1,"mat-header-row"],[1,"mat-header-cell"],["class","mat-row",3,"ngClass","click",4,"ngFor","ngForOf"],["mat-raised-button","","type","submit",3,"click"],[1,"row","row-full-height"],[3,"operationResult","select",4,"ngIf"],["diameter","30",4,"ngIf"],["id","editor"],[3,"addFiles"],[1,"current"],[1,"form-field-group"],["name","selectProfile","placeholder","Validate against specific Profile",3,"ngModel","ngModelChange"],["placeholderLabel","Find a profile\u2026","noEntriesFoundLabel","'no matching profile found'",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","selectIg","placeholder","Validate against specific Implementation Guide",3,"ngModel","ngModelChange"],["value",""],["color","primary","mat-raised-button","",3,"click"],["class","error",4,"ngIf"],[3,"value"],[1,"error"],["class","form-field-group",4,"ngFor","ngForOf"],[1,"column50"],["matInput","",3,"formControl"],[1,"mat-row",3,"ngClass","click"],[1,"mat-cell"],[1,"issues","mat-cell"],[1,"actions","mat-cell"],["aria-label","Remove","title","Remove from history",3,"click"],["diameter","30"],["inline","",1,"error"],["inline","",1,"warning"],["inline","",1,"info"],[3,"operationResult","select"]],template:function(Ie,Ce){1&Ie&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return Ce.toggleSettings()}),r.\u0275\u0275elementStart(3,"mat-icon"),r.\u0275\u0275text(4,"settings"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"h2"),r.\u0275\u0275text(6,"Validate FHIR Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,j,31,9,"ng-container",3)(8,$,2,1,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",1)(10,"h2"),r.\u0275\u0275text(11,"Validation history"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"table",4)(13,"tr",5)(14,"th",6),r.\u0275\u0275text(15,"Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(16,"th",6),r.\u0275\u0275text(17,"Profile/IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(18,"th",6),r.\u0275\u0275text(19,"Issues"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(20,"th",6),r.\u0275\u0275text(21,"Actions"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(22,ue,18,12,"tr",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(23,"mat-card-actions")(24,"button",8),r.\u0275\u0275listener("click",function(){return Ce.onClear()}),r.\u0275\u0275text(25,"Clear history"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(26,"div",9)(27,"div",1)(28,"h2"),r.\u0275\u0275text(29,"Result of the validation"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ye,13,3,"dl",3)(31,Ge,1,1,"app-operation-result",10)(32,$e,1,0,"mat-spinner",11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"div",1)(34,"h2"),r.\u0275\u0275text(35,"Document content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(36,"div",12),r.\u0275\u0275elementEnd()()),2&Ie&&(r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",!Ce.showSettings),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.showSettings),r.\u0275\u0275advance(14),r.\u0275\u0275property("ngForOf",Ce.validationEntries),r.\u0275\u0275advance(8),r.\u0275\u0275property("ngIf",Ce.selectedEntry),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.result),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.loading))},dependencies:[d.NgClass,d.NgForOf,d.NgIf,g.DefaultValueAccessor,g.NgControlStatus,g.NgModel,g.FormControlDirective,b.MatOption,C.MatButton,x.MatCardActions,w.MatFormField,w.MatLabel,w.MatHint,w.MatError,T.MatIcon,S.MatInput,M.MatMenuItem,k.MatSelect,I.MatProgressSpinner,P.MatSelectSearchComponent,A.OperationResultComponent,L.UploadComponent,d.DatePipe],styles:["[_nghost-%COMP%]{margin:0 auto;min-width:1400px;width:100%}button.setting[_ngcontent-%COMP%]{float:right}button.setting[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}p.current[_ngcontent-%COMP%]{margin:10px 0}p.current[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}mat-hint[_ngcontent-%COMP%]{color:#7db99e}p.error[_ngcontent-%COMP%]{color:#d9534f;margin-top:20px}p.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-self:stretch;margin:1em auto;min-width:1400px;width:100%;justify-content:space-evenly}.row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:46%}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#d8f1e6}table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%]{font-size:12px;line-height:12px;color:#818181}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-right:2px;vertical-align:bottom}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#d9534f}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.warning[_ngcontent-%COMP%]{color:#f0ad4e}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#4ca8de}table[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;color:#d9534f}.form-field-group[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;display:flex;flex-direction:row}.form-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card-maps[_ngcontent-%COMP%]{padding:8px 16px}.row-full-height[_ngcontent-%COMP%] .card-maps[_ngcontent-%COMP%]{height:96vh;max-height:96vh;overflow-y:auto}#editor[_ngcontent-%COMP%]{height:calc(100% - 50px)}.column50[_ngcontent-%COMP%]{width:40%}"]})}return Te})();class Et{constructor(qe,Ee,Ie,Ce){this.filename=qe,this.contentType=Ee,this.content=Ie,this.resourceType=Ce}}},5892:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationEntry=void 0;const n=_(6504);ie.ValidationEntry=class f{constructor(y,u,v,s){this.profiles=[],this.loading=!1,this.filename=y,this.resource=u,this.mimetype=v||(y.endsWith(".json")?"application/fhir+json":"application/fhir+xml"),s&&(this.profiles=s),this.date=new Date,"application/fhir+json"===this.mimetype?this.extractJsonInfo():this.extractXmlInfo(),this.profiles&&this.profiles.length?this.selectedProfile=this.profiles[0]:this.resourceType&&(this.selectedProfile="http://hl7.org/fhir/StructureDefinition/"+this.resourceType)}getErrors(){if(this.result)return this.result.issues.filter(y=>"error"===y.severity||"fatal"===y.severity).length}getWarnings(){if(this.result)return this.result.issues.filter(y=>"warning"===y.severity).length}getInfos(){if(this.result)return this.result.issues.filter(y=>"information"===y.severity).length}setOperationOutcome(y){this.result=n.OperationResult.fromOperationOutcome(y)}extractJsonInfo(){const y=JSON.parse(this.resource);y?.resourceType&&(this.resourceType=y.resourceType,this.resourceId=y.id),y.meta?.profile&&this.profiles.push(...y.meta.profile)}extractXmlInfo(){let y=this.resource.indexOf("",u);if(u0&&(s=s.substring(0,m)),m=s.indexOf(":"),m>0&&(s=s.substring(m+1)),this.resourceType=s;let h=this.resource.indexOf("profile",v);if(h>0){let o=this.resource.indexOf('value="',h)+7,l=this.resource.indexOf('"',o);o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationParameter=void 0;const n=_(6223);ie.ValidationParameter=class f{constructor(y){this.param=y,this.formControl=new n.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},553:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.environment=void 0,ie.environment={production:!0}},4913:(Me,ie,_)=>{"use strict";const D=_(655).__importStar(_(6593)),y=_(9212),u=_(8629);_(553).environment.production&&(0,y.enableProdMode)(),D.platformBrowser().bootstrapModule(u.AppModule).catch(s=>console.log(s))},5101:(Me,ie,_)=>{Me=_.nmd(Me),function(){var f=function(){return this}();!f&&typeof window<"u"&&(f=window);var D=function(h,o,l){"string"==typeof h?(2==arguments.length&&(l=o),D.modules[h]||(D.payloads[h]=l,D.modules[h]=null)):D.original?D.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};D.modules={},D.payloads={};var y=function(h,o,l){if("string"==typeof o){var r=s(h,o);if(null!=r)return l&&l(),r}else if("[object Array]"===Object.prototype.toString.call(o)){for(var c=[],d=0,g=o.length;ds.length)&&(v=s.length);var m=s.indexOf(u,v-=u.length);return-1!==m&&m===v}),String.prototype.repeat||y(String.prototype,"repeat",function(u){for(var v="",s=this;u>0;)1&u&&(v+=s),(u>>=1)&&(s+=s);return v}),String.prototype.includes||y(String.prototype,"includes",function(u,v){return-1!=this.indexOf(u,v)}),Object.assign||(Object.assign=function(u){if(null==u)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(u),s=1;s>>0,h=arguments[1]>>0,o=h<0?Math.max(s+h,0):Math.min(h,s),l=arguments[2],r=void 0===l?s:l>>0,c=r<0?Math.max(s+r,0):Math.min(r,s);o0;)1&s&&(m+=v),(s>>=1)&&(v+=v);return m};var y=/^\s\s*/,u=/\s\s*$/;f.stringTrimLeft=function(v){return v.replace(y,"")},f.stringTrimRight=function(v){return v.replace(u,"")},f.copyObject=function(v){var s={};for(var m in v)s[m]=v[m];return s},f.copyArray=function(v){for(var s=[],m=0,h=v.length;m65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(n,f,D){"use strict";f.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},f.getOS=function(){return f.isMac?f.OS.MAC:f.isLinux?f.OS.LINUX:f.OS.WINDOWS};var y="object"==typeof navigator?navigator:{},u=(/mac|win|linux/i.exec(y.platform)||["other"])[0].toLowerCase(),v=y.userAgent||"",s=y.appName||"";f.isWin="win"==u,f.isMac="mac"==u,f.isLinux="linux"==u,f.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((v.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((v.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),f.isOldIE=f.isIE&&f.isIE<9,f.isGecko=f.isMozilla=v.match(/ Gecko\/\d+/),f.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),f.isWebKit=parseFloat(v.split("WebKit/")[1])||void 0,f.isChrome=parseFloat(v.split(" Chrome/")[1])||void 0,f.isSafari=parseFloat(v.split(" Safari/")[1])&&!f.isChrome||void 0,f.isEdge=parseFloat(v.split(" Edge/")[1])||void 0,f.isAIR=v.indexOf("AdobeAIR")>=0,f.isAndroid=v.indexOf("Android")>=0,f.isChromeOS=v.indexOf(" CrOS ")>=0,f.isIOS=/iPad|iPhone|iPod/.test(v)&&!window.MSStream,f.isIOS&&(f.isMac=!0),f.isMobile=f.isIOS||f.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("./useragent");f.buildDom=function l(r,c,d){if("string"==typeof r&&r){var g=document.createTextNode(r);return c&&c.appendChild(g),g}if(!Array.isArray(r))return r&&r.appendChild&&c&&c.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var b=[],C=0;C"u")){if(s)if(c)m();else if(!1===c)return s.push([l,r]);if(!v){var d=c;c&&c.getRootNode?(!(d=c.getRootNode())||d==c)&&(d=document):d=document;var g=d.ownerDocument||d;if(r&&f.hasCssString(r,d))return null;r&&(l+="\n/*# sourceURL=ace/css/"+r+" */");var b=f.createElement("style");b.appendChild(g.createTextNode(l)),r&&(b.id=r),d==g&&(d=f.getDocumentHead(g)),d.insertBefore(b,d.firstChild)}}}if(f.useStrictCSP=function(l){v=l,0==l?m():s||(s=[])},f.importCssString=h,f.importCssStylsheet=function(l,r){f.buildDom(["link",{rel:"stylesheet",href:l}],f.getDocumentHead(r))},f.scrollbarWidth=function(l){var r=f.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var c=f.createElement("ace_outer"),d=c.style;d.position="absolute",d.left="-10000px",d.overflow="hidden",d.width="200px",d.minWidth="0px",d.height="150px",d.display="block",c.appendChild(r);var g=l&&l.documentElement||document&&document.documentElement;if(!g)return 0;g.appendChild(c);var b=r.offsetWidth;d.overflow="scroll";var C=r.offsetWidth;return b===C&&(C=c.clientWidth),g.removeChild(c),b-C},f.computedStyle=function(l,r){return window.getComputedStyle(l,"")||{}},f.setStyle=function(l,r,c){l[r]!==c&&(l[r]=c)},f.HAS_CSS_ANIMATION=!1,f.HAS_CSS_TRANSFORMS=!1,f.HI_DPI=!y.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,y.isChromeOS&&(f.HI_DPI=!1),typeof document<"u"){var o=document.createElement("div");f.HI_DPI&&void 0!==o.style.transform&&(f.HAS_CSS_TRANSFORMS=!0),!y.isEdge&&typeof o.style.animationName<"u"&&(f.HAS_CSS_ANIMATION=!0),o=null}f.translate=f.HAS_CSS_TRANSFORMS?function(l,r,c){l.style.transform="translate("+Math.round(r)+"px, "+Math.round(c)+"px)"}:function(l,r,c){l.style.top=Math.round(c)+"px",l.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./dom");f.get=function(u,v){var s=new XMLHttpRequest;s.open("GET",u,!0),s.onreadystatechange=function(){4===s.readyState&&v(s.responseText)},s.send(null)},f.loadScript=function(u,v){var s=y.getDocumentHead(),m=document.createElement("script");m.src=u,s.appendChild(m),m.onload=m.onreadystatechange=function(h,o){(o||!m.readyState||"loaded"==m.readyState||"complete"==m.readyState)&&(m=m.onload=m.onreadystatechange=null,o||v())}},f.qualifyURL=function(u){var v=document.createElement("a");return v.href=u,v.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(n,f,D){"use strict";f.inherits=function(y,u){y.super_=u,y.prototype=Object.create(u.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(y,u){for(var v in u)y[v]=u[v];return y},f.implement=function(y,u){f.mixin(y,u)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(n,f,D){"use strict";var y={},u=function(){this.propagationStopped=!0},v=function(){this.defaultPrevented=!0};y._emit=y._dispatchEvent=function(s,m){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var h=this._eventRegistry[s]||[],o=this._defaultHandlers[s];if(h.length||o){("object"!=typeof m||!m)&&(m={}),m.type||(m.type=s),m.stopPropagation||(m.stopPropagation=u),m.preventDefault||(m.preventDefault=v),h=h.slice();for(var l=0;l1&&(b=d[d.length-2]);var x=m[c+"Path"];return null==x?x=m.basePath:"/"==g&&(c=g=""),x&&"/"!=x.slice(-1)&&(x+="/"),x+c+g+b+this.get("suffix")},f.setModuleUrl=function(r,c){return m.$moduleUrls[r]=c},f.setLoader=function(r){o=r},f.dynamicModules=Object.create(null),f.$loading={},f.$loaded={},f.loadModule=function(r,c){var d;if(Array.isArray(r))var g=r[0],b=r[1];else"string"==typeof r&&(b=r);var C=function(x){if(x&&!f.$loading[b])return c&&c(x);if(f.$loading[b]||(f.$loading[b]=[]),f.$loading[b].push(c),!(f.$loading[b].length>1)){var w=function(){!function(r,c){"ace/theme/textmate"===r||"./theme/textmate"===r?c(0,n("./theme/textmate")):o?o(r,c):console.error("loader is not configured")}(b,function(T,S){S&&(f.$loaded[b]=S),f._emit("load.module",{name:b,module:S});var M=f.$loading[b];f.$loading[b]=null,M.forEach(function(k){k&&k(S)})})};if(!f.get("packaged"))return w();u.loadScript(f.moduleUrl(b,g),w),l()}};if(f.dynamicModules[b])f.dynamicModules[b]().then(function(x){C(x.default?x.default:x)});else{try{d=this.$require(b)}catch{}C(d||f.$loaded[b])}},f.$require=function(r){if("function"==typeof D.require)return D.require(r)},f.setModuleLoader=function(r,c){f.dynamicModules[r]=c};var l=function(){!m.basePath&&!m.workerPath&&!m.modePath&&!m.themePath&&!Object.keys(m.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),l=function(){})};f.version="1.32.3"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(n,f,D){"use strict";n("./lib/fixoldbrowsers");var y=n("./config");y.setLoader(function(m,h){n([m],function(o){h(null,o)})});var u=function(){return this||typeof window<"u"&&window}();function v(m){if(u&&u.document){y.set("packaged",m||n.packaged||D.packaged||u.define&&_.amdD.packaged);var h={},o="",l=document.currentScript||document._currentScript,r=l&&l.ownerDocument||document;l&&l.src&&(o=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var c=r.getElementsByTagName("script"),d=0;d ["+this.end.row+"/"+this.end.column+"]"},u.prototype.contains=function(v,s){return 0==this.compare(v,s)},u.prototype.compareRange=function(v){var s,m=v.end,h=v.start;return 1==(s=this.compare(m.row,m.column))?1==(s=this.compare(h.row,h.column))?2:0==s?1:0:-1==s?-2:-1==(s=this.compare(h.row,h.column))?-1:1==s?42:0},u.prototype.comparePoint=function(v){return this.compare(v.row,v.column)},u.prototype.containsRange=function(v){return 0==this.comparePoint(v.start)&&0==this.comparePoint(v.end)},u.prototype.intersects=function(v){var s=this.compareRange(v);return-1==s||0==s||1==s},u.prototype.isEnd=function(v,s){return this.end.row==v&&this.end.column==s},u.prototype.isStart=function(v,s){return this.start.row==v&&this.start.column==s},u.prototype.setStart=function(v,s){"object"==typeof v?(this.start.column=v.column,this.start.row=v.row):(this.start.row=v,this.start.column=s)},u.prototype.setEnd=function(v,s){"object"==typeof v?(this.end.column=v.column,this.end.row=v.row):(this.end.row=v,this.end.column=s)},u.prototype.inside=function(v,s){return 0==this.compare(v,s)&&!(this.isEnd(v,s)||this.isStart(v,s))},u.prototype.insideStart=function(v,s){return 0==this.compare(v,s)&&!this.isEnd(v,s)},u.prototype.insideEnd=function(v,s){return 0==this.compare(v,s)&&!this.isStart(v,s)},u.prototype.compare=function(v,s){return this.isMultiLine()||v!==this.start.row?vthis.end.row?1:this.start.row===v?s>=this.start.column?0:-1:this.end.row===v?s<=this.end.column?0:1:0:sthis.end.column?1:0},u.prototype.compareStart=function(v,s){return this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.compareEnd=function(v,s){return this.end.row==v&&this.end.column==s?1:this.compare(v,s)},u.prototype.compareInside=function(v,s){return this.end.row==v&&this.end.column==s?1:this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.clipRows=function(v,s){if(this.end.row>s)var m={row:s+1,column:0};else this.end.rows)var h={row:s+1,column:0};else this.start.row1?++k>4&&(k=1):k=1,u.isIE){var U=Math.abs(R.clientX-I)>5||Math.abs(R.clientY-P)>5;(!A||U)&&(k=1),A&&clearTimeout(A),A=setTimeout(function(){A=null},w[k-1]||600),1==k&&(I=R.clientX,P=R.clientY)}if(R._clicks=k,T[S]("mousedown",R),k>4)k=0;else if(k>1)return T[S](L[k],R)}Array.isArray(x)||(x=[x]),x.forEach(function(R){r(R,"mousedown",F,M)})};var d=function(x){return 0|(x.ctrlKey?1:0)|(x.altKey?2:0)|(x.shiftKey?4:0)|(x.metaKey?8:0)};function b(){v=Object.create(null)}if(f.getModifierString=function(x){return y.KEY_MODS[d(x)]},f.addCommandKeyListener=function(x,w,T){var S=null;r(x,"keydown",function(M){v[M.keyCode]=(v[M.keyCode]||0)+1;var k=function g(x,w,T){var S=d(w);if(!u.isMac&&v){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(S|=8),v.altGr){if(3==(3&S))return;v.altGr=0}if(18===T||17===T){var M="location"in w?w.location:w.keyLocation;17===T&&1===M?1==v[T]&&(s=w.timeStamp):18===T&&3===S&&2===M&&w.timeStamp-s<50&&(v.altGr=!0)}}if(T in y.MODIFIER_KEYS&&(T=-1),S||13!==T||3!==(M="location"in w?w.location:w.keyLocation)||(x(w,S,-T),!w.defaultPrevented)){if(u.isChromeOS&&8&S){if(x(w,S,T),w.defaultPrevented)return;S&=-9}return!!(S||T in y.FUNCTION_KEYS||T in y.PRINTABLE_KEYS)&&x(w,S,T)}}(w,M,M.keyCode);return S=M.defaultPrevented,k},T),r(x,"keypress",function(M){S&&(M.ctrlKey||M.altKey||M.shiftKey||M.metaKey)&&(f.stopEvent(M),S=null)},T),r(x,"keyup",function(M){v[M.keyCode]=null},T),v||(b(),r(window,"focus",b))},"object"==typeof window&&window.postMessage&&!u.isOldIE){var C=1;f.nextTick=function(x,w){w=w||window;var T="zero-timeout-message-"+C++,S=function(M){M.data==T&&(f.stopPropagation(M),c(w,"message",S),x())};r(w,"message",S),w.postMessage(T,"*")}}f.$idleBlocked=!1,f.onIdle=function(x,w){return setTimeout(function T(){f.$idleBlocked?setTimeout(T,100):x()},w)},f.$idleBlockId=null,f.blockIdle=function(x){f.$idleBlockId&&clearTimeout(f.$idleBlockId),f.$idleBlocked=!0,f.$idleBlockId=setTimeout(function(){f.$idleBlocked=!1},x||100)},f.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),f.nextFrame=f.nextFrame?f.nextFrame.bind(window):function(x){setTimeout(x,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(n,f,D){"use strict";var y;D.exports={lineMode:!1,pasteCancelled:function(){return!!(y&&y>Date.now()-50)||(y=!1)},cancel:function(){y=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(n,f,D){"use strict";var y=n("../lib/event"),u=n("../config").nls,v=n("../lib/useragent"),s=n("../lib/dom"),m=n("../lib/lang"),h=n("../clipboard"),o=v.isChrome<18,l=v.isIE,r=v.isChrome>63,c=400,d=n("../lib/keys"),g=d.KEY_MODS,b=v.isIOS,C=b?/\s/:/\n/,x=v.isMobile;f.TextInput=function(T,S){var M=s.createElement("textarea");M.className="ace_text-input",M.setAttribute("wrap","off"),M.setAttribute("autocorrect","off"),M.setAttribute("autocapitalize","off"),M.setAttribute("spellcheck","false"),M.style.opacity="0",T.insertBefore(M,T.firstChild);var k=!1,I=!1,P=!1,A=!1,L="";x||(M.style.fontSize="1px");var F=!1,R=!1,U="",W=0,ne=0,ee=0,j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=0;try{var Z=document.activeElement===M}catch{}this.setNumberOfExtraLines=function(Be){j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=Be<0?0:Be},this.setAriaOptions=function(Be){Be.activeDescendant?(M.setAttribute("aria-haspopup","true"),M.setAttribute("aria-autocomplete",Be.inline?"both":"list"),M.setAttribute("aria-activedescendant",Be.activeDescendant)):(M.setAttribute("aria-haspopup","false"),M.setAttribute("aria-autocomplete","both"),M.removeAttribute("aria-activedescendant")),Be.role&&M.setAttribute("role",Be.role),Be.setLabel&&(M.setAttribute("aria-roledescription",u("editor")),S.session)&&M.setAttribute("aria-label",u("Cursor at row $0",[S.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),y.addListener(M,"blur",function(Be){R||(S.onBlur(Be),Z=!1)},S),y.addListener(M,"focus",function(Be){if(!R){if(Z=!0,v.isEdge)try{if(!document.hasFocus())return}catch{}S.onFocus(Be),v.isEdge?setTimeout(te):te()}},S),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:S.renderer.enableKeyboardAccessibility}),L||r||"browser"==this.$focusScroll)return M.focus({preventScroll:!0});var Be=M.style.top;M.style.position="fixed",M.style.top="0px";try{var yt=0!=M.getBoundingClientRect().top}catch{return}var Ot=[];if(yt)for(var Yt=M.parentElement;Yt&&1==Yt.nodeType;)Ot.push(Yt),Yt.setAttribute("ace_nocontext","true"),Yt=!Yt.parentElement&&Yt.getRootNode?Yt.getRootNode().host:Yt.parentElement;M.focus({preventScroll:!0}),yt&&Ot.forEach(function(jt){jt.removeAttribute("ace_nocontext")}),setTimeout(function(){M.style.position="","0px"==M.style.top&&(M.style.top=Be)},0)},this.blur=function(){M.blur()},this.isFocused=function(){return Z},S.on("beforeEndOperation",function(){var Be=S.curOp,yt=Be&&Be.command&&Be.command.name;"insertstring"!=yt&&(P&&yt&&(Be.docChanged||Be.selectionChanged)&&(U=M.value="",Ae()),te())});var H=function(Be,yt){for(var Ot=yt,Yt=1;Yt<=Be-j&&Yt<2*$+1;Yt++)Ot+=S.session.getLine(Be-Yt).length+1;return Ot},te=b?function(Be){if(Z&&(!k||Be)&&!A){Be||(Be="");var yt="\n ab"+Be+"cde fg\n";yt!=M.value&&(M.value=U=yt);var Yt=4+(Be.length||(S.selection.isEmpty()?0:1));(4!=W||ne!=Yt)&&M.setSelectionRange(4,Yt),W=4,ne=Yt}}:function(){if(!P&&!A&&(Z||$e)){P=!0;var Be=0,yt=0,Ot="";if(S.session){var Yt=S.selection,jt=Yt.getRange(),cn=Yt.cursor.row;cn===B+1?B=(j=B+1)+2*$:cn===j-1?j=(B=j-1)-2*$:(cnB+1)&&(j=cn>$?cn-$:0,B=cn>$?cn+$:2*$);for(var fn=[],an=j;an<=B;an++)fn.push(S.session.getLine(an));if(Ot=fn.join("\n"),Be=H(jt.start.row,jt.start.column),yt=H(jt.end.row,jt.end.column),jt.start.rowB){var un=S.session.getLine(B+1);yt=jt.end.row>B+1?un.length:jt.end.column,yt+=Ot.length+1,Ot=Ot+"\n"+un}else x&&cn>0&&(Ot="\n"+Ot,yt+=1,Be+=1);Ot.length>c&&(Be0&&U[un]==Be[un];)un++,jt--;for(fn=fn.slice(un),un=1;cn>0&&U.length-un>W-1&&U[U.length-un]==Be[Be.length-un];)un++,cn--;an-=un-1,En-=un-1;var Bt=fn.length-un+1;if(Bt<0&&(jt=-Bt,Bt=0),fn=fn.slice(0,Bt),!(yt||fn||an||jt||cn||En))return"";A=!0;var Ft=!1;return v.isAndroid&&". "==fn&&(fn=" ",Ft=!0),fn&&!jt&&!cn&&!an&&!En||F?S.onTextInput(fn):S.onTextInput(fn,{extendLeft:jt,extendRight:cn,restoreStart:an,restoreEnd:En}),A=!1,U=Be,W=Ot,ne=Yt,ee=En,Ft?"\n":fn},Ze=function(Be){if(P)return ge();if(Be&&Be.inputType){if("historyUndo"==Be.inputType)return S.execCommand("undo");if("historyRedo"==Be.inputType)return S.execCommand("redo")}var yt=M.value,Ot=Ye(yt,!0);(yt.length>500||C.test(Ot)||x&&W<1&&W==ne)&&te()},Et=function(Be,yt,Ot){var Yt=Be.clipboardData||window.clipboardData;if(Yt&&!o){var jt=l||Ot?"Text":"text/plain";try{return yt?!1!==Yt.setData(jt,yt):Yt.getData(jt)}catch(cn){if(!Ot)return Et(cn,yt,!0)}}},Te=function(Be,yt){var Ot=S.getCopyText();if(!Ot)return y.preventDefault(Be);Et(Be,Ot)?(b&&(te(Ot),k=Ot,setTimeout(function(){k=!1},10)),yt?S.onCut():S.onCopy(),y.preventDefault(Be)):(k=!0,M.value=Ot,M.select(),setTimeout(function(){k=!1,te(),yt?S.onCut():S.onCopy()}))},qe=function(Be){Te(Be,!0)},Ee=function(Be){Te(Be,!1)},Ie=function(Be){var yt=Et(Be);h.pasteCancelled()||("string"==typeof yt?(yt&&S.onPaste(yt,Be),v.isIE&&setTimeout(te),y.preventDefault(Be)):(M.value="",I=!0))};y.addCommandKeyListener(M,S.onCommandKey.bind(S),S),y.addListener(M,"select",function(Be){P||(k?k=!1:function(Be){return 0===Be.selectionStart&&Be.selectionEnd>=U.length&&Be.value===U&&U&&Be.selectionEnd!==ne}(M)?(S.selectAll(),te()):x&&M.selectionStart!=W&&te())},S),y.addListener(M,"input",Ze,S),y.addListener(M,"cut",qe,S),y.addListener(M,"copy",Ee,S),y.addListener(M,"paste",Ie,S),(!("oncut"in M)||!("oncopy"in M)||!("onpaste"in M))&&y.addListener(T,"keydown",function(Be){if((!v.isMac||Be.metaKey)&&Be.ctrlKey)switch(Be.keyCode){case 67:Ee(Be);break;case 86:Ie(Be);break;case 88:qe(Be)}},S);var ge=function(){if(P&&S.onCompositionUpdate&&!S.$readOnly){if(F)return q();P.useTextareaForIME?S.onCompositionUpdate(M.value):(Ye(M.value),P.markerRange&&(P.context&&(P.markerRange.start.column=P.selectionStart=P.context.compositionStartOffset),P.markerRange.end.column=P.markerRange.start.column+ne-P.selectionStart+ee))}},Ae=function(Be){!S.onCompositionEnd||S.$readOnly||(P=!1,S.onCompositionEnd(),S.off("mousedown",q),Be&&Ze())};function q(){R=!0,M.blur(),M.focus(),R=!1}var Ke,Re=m.delayedCall(ge,50).schedule.bind(null,null);function me(){clearTimeout(Ke),Ke=setTimeout(function(){L&&(M.style.cssText=L,L=""),S.renderer.$isMousePressed=!1,S.renderer.$keepTextAreaAtCursor&&S.renderer.$moveTextAreaToCursor()},0)}y.addListener(M,"compositionstart",function(Be){if(!P&&S.onCompositionStart&&!S.$readOnly&&(P={},!F)){Be.data&&(P.useTextareaForIME=!1),setTimeout(ge,0),S._signal("compositionStart"),S.on("mousedown",q);var yt=S.getSelectionRange();yt.end.row=yt.start.row,yt.end.column=yt.start.column,P.markerRange=yt,P.selectionStart=W,S.onCompositionStart(P),P.useTextareaForIME?(U=M.value="",W=0,ne=0):(M.msGetInputContext&&(P.context=M.msGetInputContext()),M.getInputContext&&(P.context=M.getInputContext()))}},S),y.addListener(M,"compositionupdate",ge,S),y.addListener(M,"keyup",function ke(Be){27==Be.keyCode&&M.value.lengthne&&"\n"==U[En]?un=d.end:anne&&U.slice(0,En).split("\n").length>2?un=d.down:En>ne&&" "==U[En-1]?(un=d.right,Bt=g.option):(En>ne||En==ne&&ne!=W&&an==En)&&(un=d.right),an!==En&&(Bt|=g.shift),un){if(!yt.onCommandKey({},Bt,un)&&yt.commands){un=d.keyCodeToString(un);var De=yt.commands.findKeyCommand(Bt,un);De&&yt.execCommand(De)}W=an,ne=En,te("")}}};document.addEventListener("selectionchange",cn),yt.on("destroy",function(){document.removeEventListener("selectionchange",cn)})}(0,S,M),this.destroy=function(){M.parentElement&&M.parentElement.removeChild(M)}},f.$setUserAgentForTests=function(T,S){x=T,b=S}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/useragent"),s=function(){function o(l){l.$clickSelection=null;var r=l.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(d){l[d]=this[d]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}return o.prototype.onMouseDown=function(l){var r=l.inSelection(),c=l.getDocumentPosition();this.mousedownEvent=l;var d=this.editor,g=l.getButton();return 0!==g?((d.getSelectionRange().isEmpty()||1==g)&&d.selection.moveToPosition(c),void(2==g&&(d.textInput.onContextMenu(l.domEvent),y.isMozilla||l.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||d.isFocused()||(d.focus(),!this.$focusTimeout||this.$clickSelection||d.inMultiSelectMode)?(this.captureMouse(l),this.startSelect(c,l.domEvent._clicks>1),l.preventDefault()):(this.setState("focusWait"),void this.captureMouse(l)))},o.prototype.startSelect=function(l,r){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var c=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?c.selection.selectToPosition(l):r||c.selection.moveToPosition(l),r||this.select(),c.setStyle("ace_selecting"),this.setState("select"))},o.prototype.select=function(){var l,r=this.editor,c=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var d=this.$clickSelection.comparePoint(c);if(-1==d)l=this.$clickSelection.end;else if(1==d)l=this.$clickSelection.start;else{var g=h(this.$clickSelection,c);c=g.cursor,l=g.anchor}r.selection.setSelectionAnchor(l.row,l.column)}r.selection.selectToPosition(c),r.renderer.scrollCursorIntoView()},o.prototype.extendSelectionBy=function(l){var r,c=this.editor,d=c.renderer.screenToTextCoordinates(this.x,this.y),g=c.selection[l](d.row,d.column);if(this.$clickSelection){var b=this.$clickSelection.comparePoint(g.start),C=this.$clickSelection.comparePoint(g.end);if(-1==b&&C<=0)r=this.$clickSelection.end,(g.end.row!=d.row||g.end.column!=d.column)&&(d=g.start);else if(1==C&&b>=0)r=this.$clickSelection.start,(g.start.row!=d.row||g.start.column!=d.column)&&(d=g.end);else if(-1==b&&1==C)d=g.end,r=g.start;else{var x=h(this.$clickSelection,d);d=x.cursor,r=x.anchor}c.selection.setSelectionAnchor(r.row,r.column)}c.selection.selectToPosition(d),c.renderer.scrollCursorIntoView()},o.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},o.prototype.focusWait=function(){var l=function m(o,l,r,c){return Math.sqrt(Math.pow(r-o,2)+Math.pow(c-l,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(l>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},o.prototype.onDoubleClick=function(l){var r=l.getDocumentPosition(),c=this.editor,g=c.session.getBracketRange(r);g?(g.isEmpty()&&(g.start.column--,g.end.column++),this.setState("select")):(g=c.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=g,this.select()},o.prototype.onTripleClick=function(l){var r=l.getDocumentPosition(),c=this.editor;this.setState("selectByLines");var d=c.getSelectionRange();d.isMultiLine()&&d.contains(r.row,r.column)?(this.$clickSelection=c.selection.getLineRange(d.start.row),this.$clickSelection.end=c.selection.getLineRange(d.end.row).end):this.$clickSelection=c.selection.getLineRange(r.row),this.select()},o.prototype.onQuadClick=function(l){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},o.prototype.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var c=this.$lastScroll,d=l.domEvent.timeStamp,g=d-c.t,b=g?l.wheelX/g:c.vx,C=g?l.wheelY/g:c.vy;g<550&&(b=(b+c.vx)/2,C=(C+c.vy)/2);var x=Math.abs(b/C),w=!1;if(x>=1&&r.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(w=!0),x<=1&&r.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(w=!0),w?c.allowed=d:d-c.allowed<550&&(Math.abs(b)<=1.5*Math.abs(c.vx)&&Math.abs(C)<=1.5*Math.abs(c.vy)?(w=!0,c.allowed=d):c.allowed=0),c.t=d,c.vx=b,c.vy=C,w)return r.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},o}();function h(o,l){if(o.start.row==o.end.row)var r=2*l.column-o.start.column-o.end.column;else if(o.start.row!=o.end.row-1||o.start.column||o.end.column)r=2*l.row-o.start.row-o.end.row;else r=l.column-4;return r<0?{cursor:o.start,anchor:o.end}:{cursor:o.end,anchor:o.start}}s.prototype.selectEnd=s.prototype.selectByLinesEnd,s.prototype.selectAllEnd=s.prototype.selectByLinesEnd,s.prototype.selectByWordsEnd=s.prototype.selectByLinesEnd,f.DefaultHandlers=s}),ace.define("ace/lib/scroll",["require","exports","module"],function(n,f,D){f.preventParentScroll=function(u){u.stopPropagation();var v=u.currentTarget;v.scrollHeight>v.clientHeight||u.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(n,f,D){"use strict";var g,y=this&&this.__extends||(g=function(b,C){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,w){x.__proto__=w}||function(x,w){for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(x[T]=w[T])})(b,C)},function(b,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function x(){this.constructor=b}g(b,C),b.prototype=null===C?Object.create(C):(x.prototype=C.prototype,new x)}),u=this&&this.__values||function(g){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&g[b],x=0;if(C)return C.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&x>=g.length&&(g=void 0),{value:g&&g[x++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("./lib/dom"),m=(n("./lib/event"),n("./range").Range),h=n("./lib/scroll").preventParentScroll,o="ace_tooltip",l=function(){function g(b){this.isOpen=!1,this.$element=null,this.$parentNode=b}return g.prototype.$init=function(){return this.$element=v.createElement("div"),this.$element.className=o,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},g.prototype.getElement=function(){return this.$element||this.$init()},g.prototype.setText=function(b){this.getElement().textContent=b},g.prototype.setHtml=function(b){this.getElement().innerHTML=b},g.prototype.setPosition=function(b,C){this.getElement().style.left=b+"px",this.getElement().style.top=C+"px"},g.prototype.setClassName=function(b){v.addCssClass(this.getElement(),b)},g.prototype.setTheme=function(b){this.$element.className=o+" "+(b.isDark?"ace_dark ":"")+(b.cssClass||"")},g.prototype.show=function(b,C,x){null!=b&&this.setText(b),null!=C&&null!=x&&this.setPosition(C,x),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},g.prototype.hide=function(b){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=o,this.isOpen=!1)},g.prototype.getHeight=function(){return this.getElement().offsetHeight},g.prototype.getWidth=function(){return this.getElement().offsetWidth},g.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},g}(),r=function(){function g(){this.popups=[]}return g.prototype.addPopup=function(b){this.popups.push(b),this.updatePopups()},g.prototype.removePopup=function(b){var C=this.popups.indexOf(b);-1!==C&&(this.popups.splice(C,1),this.updatePopups())},g.prototype.updatePopups=function(){var b,C,x,w;this.popups.sort(function(F,R){return R.priority-F.priority});var T=[];try{for(var S=u(this.popups),M=S.next();!M.done;M=S.next()){var k=M.value,I=!0;try{for(var P=(x=void 0,u(T)),A=P.next();!A.done;A=P.next())if(this.doPopupsOverlap(A.value,k)){I=!1;break}}catch(F){x={error:F}}finally{try{A&&!A.done&&(w=P.return)&&w.call(P)}finally{if(x)throw x.error}}I?T.push(k):k.hide()}}catch(F){b={error:F}}finally{try{M&&!M.done&&(C=S.return)&&C.call(S)}finally{if(b)throw b.error}}},g.prototype.doPopupsOverlap=function(b,C){var x=b.getElement().getBoundingClientRect(),w=C.getElement().getBoundingClientRect();return x.leftw.left&&x.topw.top},g}(),c=new r;f.popupManager=c,f.Tooltip=l;var d=function(g){function b(C){void 0===C&&(C=document.body);var x=g.call(this,C)||this;x.timeout=void 0,x.lastT=0,x.idleTime=350,x.lastEvent=void 0,x.onMouseOut=x.onMouseOut.bind(x),x.onMouseMove=x.onMouseMove.bind(x),x.waitForHover=x.waitForHover.bind(x),x.hide=x.hide.bind(x);var w=x.getElement();return w.style.whiteSpace="pre-wrap",w.style.pointerEvents="auto",w.addEventListener("mouseout",x.onMouseOut),w.tabIndex=-1,w.addEventListener("blur",function(){w.contains(document.activeElement)||this.hide()}.bind(x)),w.addEventListener("wheel",h),x}return y(b,g),b.prototype.addToEditor=function(C){C.on("mousemove",this.onMouseMove),C.on("mousedown",this.hide),C.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},b.prototype.removeFromEditor=function(C){C.off("mousemove",this.onMouseMove),C.off("mousedown",this.hide),C.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},b.prototype.onMouseMove=function(C,x){this.lastEvent=C,this.lastT=Date.now();var w=x.$mouseHandler.isMousePressed;if(this.isOpen){var T=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(T.row,T.column)||w||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||w||(this.lastEvent=C,this.timeout=setTimeout(this.waitForHover,this.idleTime))},b.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var C=Date.now()-this.lastT;this.idleTime-C>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-C):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},b.prototype.isOutsideOfText=function(C){var x=C.editor,w=C.getDocumentPosition(),T=x.session.getLine(w.row);if(w.column==T.length){var S=x.renderer.pixelToScreenCoordinates(C.clientX,C.clientY),M=x.session.documentToScreenPosition(w.row,w.column);if(M.column!=S.column||M.row!=S.row)return!0}return!1},b.prototype.setDataProvider=function(C){this.$gatherData=C},b.prototype.showForRange=function(C,x,w,T){if(!(T&&T!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var M=C.renderer;this.isOpen||(c.addPopup(this),this.$registerCloseEvents(),this.setTheme(M.theme)),this.isOpen=!0,this.addMarker(x,C.session),this.range=m.fromPoints(x.start,x.end);var k=M.textToScreenCoordinates(x.start.row,x.start.column),I=M.scroller.getBoundingClientRect();k.pageX=r.length&&(r=void 0),{value:r&&r[g++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("../lib/dom"),s=n("../lib/event"),m=n("../tooltip").Tooltip,h=n("../config").nls;f.GutterHandler=function o(r){var b,C,c=r.editor,d=c.renderer.$gutterLayer,g=new l(c);function w(){b&&(b=clearTimeout(b)),g.isOpen&&(g.hideTooltip(),c.off("mousewheel",w))}function T(S){g.setPosition(S.x,S.y)}r.editor.setDefaultHandler("guttermousedown",function(S){if(c.isFocused()&&0==S.getButton()&&"foldWidgets"!=d.getRegion(S)){var k=S.getDocumentPosition().row,I=c.session.selection;if(S.getShiftKey())I.selectTo(k,0);else{if(2==S.domEvent.detail)return c.selectAll(),S.preventDefault();r.$clickSelection=c.selection.getLineRange(k)}return r.setState("selectByLines"),r.captureMouse(S),S.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(S){if(v.hasCssClass(S.domEvent.target||S.domEvent.srcElement,"ace_fold-widget"))return w();g.isOpen&&r.$tooltipFollowsMouse&&T(S),C=S,!b&&(b=setTimeout(function(){b=null,C&&!r.isMousePressed?function x(){var S=C.getDocumentPosition().row;if(S==c.session.getLength()){var k=c.renderer.pixelToScreenCoordinates(0,C.y).row,I=C.$pos;if(k>c.session.documentToScreenRow(I.row,I.column))return w()}if(g.showTooltip(S),g.isOpen)if(c.on("mousewheel",w),r.$tooltipFollowsMouse)T(C);else{var P=C.getGutterRow(),A=d.$lines.get(P);if(A){var F=A.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),R=g.getElement().style;R.left=F.right+"px",R.top=F.bottom+"px"}else T(C)}}():w()},50))}),s.addListener(c.renderer.$gutter,"mouseout",function(S){C=null,g.isOpen&&!b&&(b=setTimeout(function(){b=null,w()},50))},c),c.on("changeSession",w),c.on("input",w)};var l=function(r){function c(d){var g=r.call(this,d.container)||this;return g.editor=d,g}return y(c,r),c.prototype.setPosition=function(d,g){var b=window.innerWidth||document.documentElement.clientWidth,C=window.innerHeight||document.documentElement.clientHeight,x=this.getWidth(),w=this.getHeight();(d+=15)+x>b&&(d-=d+x-b),(g+=15)+w>C&&(g-=20+w),m.prototype.setPosition.call(this,d,g)},Object.defineProperty(c,"annotationLabels",{get:function(){return{error:{singular:h("error"),plural:h("errors")},warning:{singular:h("warning"),plural:h("warnings")},info:{singular:h("information message"),plural:h("information messages")}}},enumerable:!1,configurable:!0}),c.prototype.showTooltip=function(d){var C,g=this.editor.renderer.$gutterLayer,b=g.$annotations[d];C=b?{text:Array.from(b.text),type:Array.from(b.type)}:{text:[],type:[]};var x=g.session.getFoldLine(d);if(x&&g.$showFoldedAnnotations){for(var T,w={error:[],warning:[],info:[]},S=d+1;S<=x.end.row;S++)if(g.$annotations[S])for(var M=0;M ").concat(C.text[S]);P[C.type[S].replace("_fold","")].push(L)}var F=[].concat(P.error,P.warning,P.info).join("
");this.setHtml(F),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},c.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},c.annotationsToSummaryString=function(d){var g,b,C=[];try{for(var w=u(["error","warning","info"]),T=w.next();!T.done;T=w.next()){var S=T.value;if(d[S].length){var M=1===d[S].length?c.annotationLabels[S].singular:c.annotationLabels[S].plural;C.push("".concat(d[S].length," ").concat(M))}}}catch(k){g={error:k}}finally{try{T&&!T.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return C.join(", ")},c}(m);f.GutterTooltip=l}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/event"),u=n("../lib/useragent"),v=function(){function s(m,h){this.domEvent=m,this.editor=h,this.x=this.clientX=m.clientX,this.y=this.clientY=m.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){y.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){y.preventDefault(this.domEvent),this.defaultPrevented=!0},s.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},s.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},s.prototype.getGutterRow=function(){var m=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(m,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},s.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var h=this.editor.getSelectionRange();if(h.isEmpty())this.$inSelection=!1;else{var o=this.getDocumentPosition();this.$inSelection=h.contains(o.row,o.column)}return this.$inSelection},s.prototype.getButton=function(){return y.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return u.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();f.MouseEvent=v}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/event"),v=n("../lib/useragent");function o(r){var c=r.editor,d=y.createElement("div");d.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",d.textContent="\xa0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(H){r[H]=this[H]},this),c.on("mousedown",this.onMouseDown.bind(r));var C,x,w,T,S,M,I,P,A,L,F,b=c.container,k=0;function W(){var H=M;(function R(H,te){var ue=Date.now();L&&te&&H.row==te.row&&te&&H.column==te.column?l(F.x,F.y,x,w)>5?L=null:ue-L>=200&&(c.renderer.scrollCursorIntoView(),L=null):(c.moveCursorToPosition(H),L=ue,F={x,y:w})})(M=c.renderer.screenToTextCoordinates(x,w),H),function U(H,te){var ue=Date.now(),ye=c.renderer.layerConfig.lineHeight,Ge=c.renderer.layerConfig.characterWidth,$e=c.renderer.scroller.getBoundingClientRect(),Ye={x:{left:x-$e.left,right:$e.right-x},y:{top:w-$e.top,bottom:$e.bottom-w}},Ze=Math.min(Ye.x.left,Ye.x.right),Et=Math.min(Ye.y.top,Ye.y.bottom),Te={row:H.row,column:H.column};Ze/Ge<=2&&(Te.column+=Ye.x.left=200&&c.renderer.scrollCursorIntoView(Te):A=ue:A=null}(M,H)}function ne(){S=c.selection.toOrientedRange(),C=c.session.addMarker(S,"ace_selection",c.getSelectionStyle()),c.clearSelection(),c.isFocused()&&c.renderer.$cursorLayer.setBlinking(!1),clearInterval(T),W(),T=setInterval(W,20),k=0,u.addListener(document,"mousemove",B)}function ee(){clearInterval(T),c.session.removeMarker(C),C=null,c.selection.fromOrientedRange(S),c.isFocused()&&!P&&c.$resetCursorStyle(),S=null,M=null,k=0,A=null,L=null,u.removeListener(document,"mousemove",B)}this.onDragStart=function(H){if(this.cancelDrag||!b.draggable){var te=this;return setTimeout(function(){te.startSelect(),te.captureMouse(H)},0),H.preventDefault()}S=c.getSelectionRange();var ue=H.dataTransfer;ue.effectAllowed=c.getReadOnly()?"copy":"copyMove",c.container.appendChild(d),ue.setDragImage&&ue.setDragImage(d,0,0),setTimeout(function(){c.container.removeChild(d)}),ue.clearData(),ue.setData("Text",c.session.getTextRange()),P=!0,this.setState("drag")},this.onDragEnd=function(H){b.draggable=!1,P=!1,this.setState(null),c.getReadOnly()||(!I&&"move"==H.dataTransfer.dropEffect&&c.session.remove(c.getSelectionRange()),c.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||ne(),k++,H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragOver=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||(ne(),k++),null!==j&&(j=null),H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragLeave=function(H){if(--k<=0&&C)return ee(),I=null,u.preventDefault(H)},this.onDrop=function(H){if(M){var te=H.dataTransfer;if(P)switch(I){case"move":S=S.contains(M.row,M.column)?{start:M,end:M}:c.moveText(S,M);break;case"copy":S=c.moveText(S,M,!0)}else{var ue=te.getData("Text");S={start:M,end:c.session.insert(M,ue)},c.focus(),I=null}return ee(),u.preventDefault(H)}},u.addListener(b,"dragstart",this.onDragStart.bind(r),c),u.addListener(b,"dragend",this.onDragEnd.bind(r),c),u.addListener(b,"dragenter",this.onDragEnter.bind(r),c),u.addListener(b,"dragover",this.onDragOver.bind(r),c),u.addListener(b,"dragleave",this.onDragLeave.bind(r),c),u.addListener(b,"drop",this.onDrop.bind(r),c);var j=null;function B(){null==j&&(j=setTimeout(function(){null!=j&&C&&ee()},20))}function $(H){var te=H.types;return!te||Array.prototype.some.call(te,function(ue){return"text/plain"==ue||"Text"==ue})}function Z(H){var te=["copy","copymove","all","uninitialized"],ye=v.isMac?H.altKey:H.ctrlKey,Ge="uninitialized";try{Ge=H.dataTransfer.effectAllowed.toLowerCase()}catch{}var $e="none";return ye&&te.indexOf(Ge)>=0?$e="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(Ge)>=0?$e="move":te.indexOf(Ge)>=0&&($e="copy"),$e}}function l(r,c,d,g){return Math.sqrt(Math.pow(d-r,2)+Math.pow(g-c,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(r){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var r=this.editor;r.container.draggable=!0,r.renderer.$cursorLayer.setBlinking(!1),r.setStyle("ace_dragging"),r.renderer.setCursorStyle(v.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var c=this.editor.container;v.isIE&&"dragReady"==this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&c.dragDrop(),"dragWait"===this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(c.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(r){if(this.$dragEnabled){this.mousedownEvent=r;var c=this.editor,d=r.inSelection(),g=r.getButton();if(1===(r.domEvent.detail||1)&&0===g&&d){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var C=r.domEvent.target||r.domEvent.srcElement;"unselectable"in C&&(C.unselectable="on"),c.getDragDelay()?(v.isWebKit&&(this.cancelDrag=!0,c.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(r,this.onMouseDrag.bind(this)),r.defaultPrevented=!0}}}}).call(o.prototype),f.DragdropHandler=o}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./mouse_event").MouseEvent,u=n("../lib/event"),v=n("../lib/dom");f.addTouchListeners=function(s,m){var o,l,r,c,d,g,C,S,M,h="scroll",b=0,x=0,w=0,T=0;function I(){M||function k(){var R=window.navigator&&window.navigator.clipboard,U=!1,ne=function(ee){var j=ee.target.getAttribute("action");if("more"==j||!U)return U=!U,function(){var ee=m.getCopyText(),j=m.session.getUndoManager().hasUndo();M.replaceChild(v.buildDom(U?["span",!ee&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ee&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ee&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],R&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],j&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),M.firstChild)}();"paste"==j?R.readText().then(function(B){m.execCommand(j,B)}):j&&(("cut"==j||"copy"==j)&&(R?R.writeText(m.getCopyText()):document.execCommand("copy")),m.execCommand(j)),M.firstChild.style.display="none",U=!1,"openCommandPalette"!=j&&m.focus()};M=v.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ee){h="menu",ee.stopPropagation(),ee.preventDefault(),m.textInput.focus()},ontouchend:function(ee){ee.stopPropagation(),ee.preventDefault(),ne(ee)},onclick:ne},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],m.container)}();var R=m.selection.cursor,U=m.renderer.textToScreenCoordinates(R.row,R.column),W=m.renderer.textToScreenCoordinates(0,0).pageX,ne=m.renderer.scrollLeft,ee=m.container.getBoundingClientRect();M.style.top=U.pageY-ee.top-3+"px",U.pageX-ee.left1)return clearTimeout(d),d=null,r=-1,void(h="zoom");S=m.$mouseHandler.isMousePressed=!0;var W=m.renderer.layerConfig.lineHeight,ne=m.renderer.layerConfig.lineHeight,ee=R.timeStamp;c=ee;var j=U[0],B=j.clientX,$=j.clientY;Math.abs(o-B)+Math.abs(l-$)>W&&(r=-1),o=R.clientX=B,l=R.clientY=$,w=T=0;var Z=new y(R,m);if(C=Z.getDocumentPosition(),ee-r<500&&1==U.length&&!b)x++,R.preventDefault(),R.button=0,function L(){d=null,clearTimeout(d),m.selection.moveToPosition(C);var R=x>=2?m.selection.getLineRange(C.row):m.session.getBracketRange(C);R&&!R.isEmpty()?m.selection.setRange(R):m.selection.selectWord(),h="wait"}();else{x=0;var H=m.selection.cursor,te=m.selection.isEmpty()?H:m.selection.anchor,ue=m.renderer.$cursorLayer.getPixelPosition(H,!0),ye=m.renderer.$cursorLayer.getPixelPosition(te,!0),Ge=m.renderer.scroller.getBoundingClientRect(),$e=m.renderer.layerConfig.offset,Ye=m.renderer.scrollLeft,Ze=function(qe,Ee){return(qe/=ne)*qe+(Ee=Ee/W-.75)*Ee};if(R.clientXTe?"cursor":"anchor"),h=Te<3.5?"anchor":Et<3.5?"cursor":"scroll",d=setTimeout(A,450)}r=ee},m),u.addListener(s,"touchend",function(R){S=m.$mouseHandler.isMousePressed=!1,g&&clearInterval(g),"zoom"==h?(h="",b=0):d?(m.selection.moveToPosition(C),b=0,I()):"scroll"==h?(function F(){b+=60,g=setInterval(function(){b--<=0&&(clearInterval(g),g=null),Math.abs(w)<.01&&(w=0),Math.abs(T)<.01&&(T=0),b<20&&(w*=.9),b<20&&(T*=.9);var R=m.session.getScrollTop();m.renderer.scrollBy(10*w,10*T),R==m.session.getScrollTop()&&(b=0)},10)}(),P()):I(),clearTimeout(d),d=null},m),u.addListener(s,"touchmove",function(R){d&&(clearTimeout(d),d=null);var U=R.touches;if(!(U.length>1||"zoom"==h)){var W=U[0],ne=o-W.clientX,ee=l-W.clientY;if("wait"==h){if(!(ne*ne+ee*ee>4))return R.preventDefault();h="cursor"}o=W.clientX,l=W.clientY,R.clientX=W.clientX,R.clientY=W.clientY;var j=R.timeStamp,B=j-c;if(c=j,"scroll"==h){var $=new y(R,m);$.speed=1,$.wheelX=ne,$.wheelY=ee,10*Math.abs(ne)=Ye){for(Ee=qe+1;Ee=Ye;)Ee++;for(Ie=qe,Ce=Ee-1;Ie=Ze.length||2!=(Ee=Et[Te-1])&&3!=Ee||2!=(Ie=Ze[Te+1])&&3!=Ie?4:(m&&(Ie=3),Ie==Ee?Ie:4);case 10:return 2==(Ee=Te>0?Et[Te-1]:5)&&Te+10&&2==Et[Te-1])return 2;if(m)return 4;for(ge=Te+1,Ce=Ze.length;ge=1425&&Ae<=2303||64286==Ae)&&(1==Ee||7==Ee))return 1}return Te<1||5==(Ee=Ze[Te-1])?4:Et[Te-1];case 5:return m=!1,o=!0,v;case 6:return l=!0,4;case 13:case 14:case 16:case 17:case 15:m=!1;case $:return 4}}function Ge(Ye){var Ze=Ye.charCodeAt(0),Et=Ze>>8;return 0==Et?Ze>191?0:Z[Ze]:5==Et?/[\u0591-\u05f4]/.test(Ye)?1:0:6==Et?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Ye)?12:/[\u0660-\u0669\u066b-\u066c]/.test(Ye)?3:1642==Ze?R:/[\u06f0-\u06f9]/.test(Ye)?2:7:32==Et&&Ze<=8287?H[255&Ze]:254==Et&&Ze>=65136?7:4}f.L=0,f.R=1,f.EN=2,f.ON_R=3,f.AN=4,f.R_H=5,f.B=6,f.RLE=7,f.DOT="\xb7",f.doBidiReorder=function(Ye,Ze,Et){if(Ye.length<2)return{};var Te=Ye.split(""),qe=new Array(Te.length),Ee=new Array(Te.length),Ie=[];v=Et?1:0,function te(Ye,Ze,Et,Te){var qe=v?g:d,Ee=null,Ie=null,Ce=null,ge=0,Ae=null,Re=-1,ke=null,Ke=null,me=[];if(!Te)for(ke=0,Te=[];ke0)if(16==Ae){for(ke=Re;ke-1){for(ke=Re;ke=0&&8==Te[Pe];Pe--)Ze[Pe]=v}}(Te,Ie,Te.length,Ze);for(var Ce=0;Ce7&&Ze[Ce]<13||4===Ze[Ce]||Ze[Ce]===$)?Ie[Ce]=f.ON_R:Ce>0&&"\u0644"===Te[Ce-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Te[Ce])&&(Ie[Ce-1]=Ie[Ce]=f.R_H,Ce++);for(Te[Te.length-1]===f.DOT&&(Ie[Te.length-1]=f.B),"\u202b"===Te[0]&&(Ie[0]=f.RLE),Ce=0;Ce=0&&(h=this.session.$docRowCache[l])}return h},m.prototype.getSplitIndex=function(){var h=0,o=this.session.$screenRowCache;if(o.length)for(var l,r=this.session.$getRowCacheIndex(o,this.currentRow);this.currentRow-h>0&&(l=this.session.$getRowCacheIndex(o,this.currentRow-h-1))===r;)r=l,h++;else h=this.currentRow;return h},m.prototype.updateRowLine=function(h,o){void 0===h&&(h=this.getDocumentRow());var r=h===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(h),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var c=this.session.$wrapData[h];c&&(void 0===o&&(o=this.getSplitIndex()),o>0&&c.length?(this.wrapIndent=c.indent,this.wrapOffset=this.wrapIndent*this.charWidths[y.L],this.line=oo?this.session.getOverwrite()?h:h-1:o,r=y.getVisualFromLogicalIdx(l,this.bidiMap),c=this.bidiMap.bidiLevels,d=0;!this.session.getOverwrite()&&h<=o&&c[r]%2!=0&&r++;for(var g=0;go&&c[r]%2==0&&(d+=this.charWidths[c[r]]),this.wrapIndent&&(d+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(d+=this.rtlLineOffset),d},m.prototype.getSelections=function(h,o){var c,l=this.bidiMap,r=l.bidiLevels,d=[],g=0,b=Math.min(h,o)-this.wrapIndent,C=Math.max(h,o)-this.wrapIndent,x=!1,w=!1,T=0;this.wrapIndent&&(g+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var S,M=0;M=b&&Sr+g/2;){if(r+=g,c===d.length-1){g=0;break}g=this.charWidths[d[++c]]}return c>0&&d[c-1]%2!=0&&d[c]%2==0?(l0&&d[c-1]%2==0&&d[c]%2!=0?o=1+(l>r?this.bidiMap.logicalFromVisual[c]:this.bidiMap.logicalFromVisual[c-1]):this.isRtlDir&&c===d.length-1&&0===g&&d[c-1]%2==0||!this.isRtlDir&&0===c&&d[c]%2!=0?o=1+this.bidiMap.logicalFromVisual[c]:(c>0&&d[c-1]%2!=0&&0!==g&&c--,o=this.bidiMap.logicalFromVisual[c]),0===o&&this.isRtlDir&&o++,o+this.wrapIndent},m}();f.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/lang"),v=n("./lib/event_emitter").EventEmitter,s=n("./range").Range,m=function(){function h(o){this.session=o,this.doc=o.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var l=this;this.cursor.on("change",function(r){l.$cursorChanged=!0,l.$silent||l._emit("changeCursor"),!l.$isEmpty&&!l.$silent&&l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(l.$desiredColumn=null)}),this.anchor.on("change",function(){l.$anchorChanged=!0,!l.$isEmpty&&!l.$silent&&l._emit("changeSelection")})}return h.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},h.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},h.prototype.getCursor=function(){return this.lead.getPosition()},h.prototype.setAnchor=function(o,l){this.$isEmpty=!1,this.anchor.setPosition(o,l)},h.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},h.prototype.getSelectionLead=function(){return this.lead.getPosition()},h.prototype.isBackwards=function(){var o=this.anchor,l=this.lead;return o.row>l.row||o.row==l.row&&o.column>l.column},h.prototype.getRange=function(){var o=this.anchor,l=this.lead;return this.$isEmpty?s.fromPoints(l,l):this.isBackwards()?s.fromPoints(l,o):s.fromPoints(o,l)},h.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},h.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},h.prototype.setRange=function(o,l){var r=l?o.end:o.start,c=l?o.start:o.end;this.$setSelection(r.row,r.column,c.row,c.column)},h.prototype.$setSelection=function(o,l,r,c){if(!this.$silent){var d=this.$isEmpty,g=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(o,l),this.cursor.setPosition(r,c),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||d!=this.$isEmpty||g)&&this._emit("changeSelection")}},h.prototype.$moveSelection=function(o){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),o.call(this)},h.prototype.selectTo=function(o,l){this.$moveSelection(function(){this.moveCursorTo(o,l)})},h.prototype.selectToPosition=function(o){this.$moveSelection(function(){this.moveCursorToPosition(o)})},h.prototype.moveTo=function(o,l){this.clearSelection(),this.moveCursorTo(o,l)},h.prototype.moveToPosition=function(o){this.clearSelection(),this.moveCursorToPosition(o)},h.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},h.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},h.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},h.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},h.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},h.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},h.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},h.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},h.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},h.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},h.prototype.getWordRange=function(o,l){if(typeof l>"u"){var r=o||this.lead;o=r.row,l=r.column}return this.session.getWordRange(o,l)},h.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},h.prototype.selectAWord=function(){var o=this.getCursor(),l=this.session.getAWordRange(o.row,o.column);this.setSelectionRange(l)},h.prototype.getLineRange=function(o,l){var c,r="number"==typeof o?o:this.lead.row,d=this.session.getFoldLine(r);return d?(r=d.start.row,c=d.end.row):c=r,!0===l?new s(r,0,c,this.session.getLine(c).length):new s(r,0,c+1,0)},h.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},h.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},h.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},h.prototype.wouldMoveIntoSoftTab=function(o,l,r){var c=o.column,d=o.column+l;return r<0&&(c=o.column-l,d=o.column),this.session.isTabStop(o)&&this.doc.getLine(o.row).slice(c,d).split(" ").length-1==l},h.prototype.moveCursorLeft=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(0===o.column)o.row>0&&this.moveCursorTo(o.row-1,this.doc.getLine(o.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(o,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},h.prototype.moveCursorRight=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(l.column=c)}}this.moveCursorTo(l.row,l.column)},h.prototype.moveCursorFileEnd=function(){var o=this.doc.getLength()-1,l=this.doc.getLine(o).length;this.moveCursorTo(o,l)},h.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},h.prototype.moveCursorLongWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var d=this.session.getFoldAt(o,l,1);if(!d)return this.session.nonTokenRe.exec(c)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,c=r.substring(l)),l>=r.length?(this.moveCursorTo(o,r.length),this.moveCursorRight(),void(o0&&this.moveCursorWordLeft());this.session.tokenRe.exec(d)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(o,l)}},h.prototype.$shortWordEndIndex=function(o){var r,l=0,c=/\s/,d=this.session.tokenRe;if(d.lastIndex=0,this.session.tokenRe.exec(o))l=this.session.tokenRe.lastIndex;else{for(;(r=o[l])&&c.test(r);)l++;if(l<1)for(d.lastIndex=0;(r=o[l])&&!d.test(r);)if(d.lastIndex=0,l++,c.test(r)){if(l>2){l--;break}for(;(r=o[l])&&c.test(r);)l++;if(l>2)break}}return d.lastIndex=0,l},h.prototype.moveCursorShortWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l),d=this.session.getFoldAt(o,l,1);if(d)return this.moveCursorTo(d.end.row,d.end.column);if(l==r.length){var g=this.doc.getLength();do{o++,c=this.doc.getLine(o)}while(o0&&/^\s*$/.test(c));l=c.length,/\s+$/.test(c)||(c="")}var d=u.stringReverse(c),g=this.$shortWordEndIndex(d);return this.moveCursorTo(o,l-g)},h.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},h.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},h.prototype.moveCursorBy=function(o,l){var c,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===l&&(0!==o&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(c=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(c/this.session.$bidiHandler.charWidths[0])):c=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=o&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var d=this.session.lineWidgets[this.lead.row];o<0?o-=d.rowsAbove||0:o>0&&(o+=d.rowCount-(d.rowsAbove||0))}var g=this.session.screenToDocumentPosition(r.row+o,r.column,c);this.moveCursorTo(g.row,g.column+l,0===l)},h.prototype.moveCursorToPosition=function(o){this.moveCursorTo(o.row,o.column)},h.prototype.moveCursorTo=function(o,l,r){var c=this.session.getFoldAt(o,l,1);c&&(o=c.start.row,l=c.start.column),this.$keepDesiredColumnOnChange=!0;var d=this.session.getLine(o);/[\uDC00-\uDFFF]/.test(d.charAt(l))&&d.charAt(l-1)&&(this.lead.row==o&&this.lead.column==l+1?l-=1:l+=1),this.lead.setPosition(o,l),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},h.prototype.moveCursorToScreen=function(o,l,r){var c=this.session.screenToDocumentPosition(o,l);this.moveCursorTo(c.row,c.column,r)},h.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},h.prototype.fromOrientedRange=function(o){this.setSelectionRange(o,o.cursor==o.start),this.$desiredColumn=o.desiredColumn||this.$desiredColumn},h.prototype.toOrientedRange=function(o){var l=this.getRange();return o?(o.start.column=l.start.column,o.start.row=l.start.row,o.end.column=l.end.column,o.end.row=l.end.row):o=l,o.cursor=this.isBackwards()?o.start:o.end,o.desiredColumn=this.$desiredColumn,o},h.prototype.getRangeOfMovements=function(o){var l=this.getCursor();try{o(this);var r=this.getCursor();return s.fromPoints(l,r)}catch{return s.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},h.prototype.toJSON=function(){if(this.rangeCount)var o=this.ranges.map(function(l){var r=l.clone();return r.isBackwards=l.cursor==l.start,r});else(o=this.getRange()).isBackwards=this.isBackwards();return o},h.prototype.fromJSON=function(o){if(null==o.start){if(this.rangeList&&o.length>1){this.toSingleRange(o[0]);for(var l=o.length;l--;){var r=s.fromPoints(o[l].start,o[l].end);o[l].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}o=o[0]}this.rangeList&&this.toSingleRange(o),this.setSelectionRange(o,o.isBackwards)},h.prototype.isEqual=function(o){if((o.length||this.rangeCount)&&o.length!=this.rangeCount)return!1;if(!o.length||!this.ranges)return this.getRange().isEqual(o);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(o[l]))return!1;return!0},h}();m.prototype.setSelectionAnchor=m.prototype.setAnchor,m.prototype.getSelectionAnchor=m.prototype.getAnchor,m.prototype.setSelectionRange=m.prototype.setRange,y.implement(m.prototype,v),f.Selection=m}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(n,f,D){"use strict";var y=n("./lib/report_error").reportError,u=2e3,v=function(){function s(m){for(var h in this.states=m,this.regExps={},this.matchMappings={},this.states){for(var o=this.states[h],l=[],r=0,c=this.matchMappings[h]={defaultToken:"text"},d="g",g=[],b=0;b1?this.$applyToken:C.token),w>1&&(/\\\d/.test(C.regex)?x=C.regex.replace(/\\([0-9]+)/g,function(T,S){return"\\"+(parseInt(S,10)+r+1)}):(w=1,x=this.removeCapturingGroups(C.regex)),!C.splitRegex&&"string"!=typeof C.token&&g.push(C)),c[r]=b,r+=w,l.push(x),C.onMatch||(C.onMatch=null)}}l.length||(c[0]=0,l.push("$")),g.forEach(function(T){T.splitRegex=this.createSplitterRegexp(T.regex,d)},this),this.regExps[h]=new RegExp("("+l.join(")|(")+")|($)",d)}}return s.prototype.$setMaxTokenCount=function(m){u=0|m},s.prototype.$applyToken=function(m){var h=this.splitRegex.exec(m).slice(1),o=this.token.apply(this,h);if("string"==typeof o)return[{type:o,value:m}];for(var l=[],r=0,c=o.length;rC){var I=m.substring(C,k-M.length);w.type==T?w.value+=I:(w.type&&b.push(w),w={type:T,value:I})}for(var P=0;Pu){for(x>2*m.length&&this.reportError("infinite loop with in ace tokenizer",{startState:h,line:m});C1&&o[0]!==l&&o.unshift("#tmp",l),{tokens:b,state:o.length?o:l}},s}();v.prototype.reportError=y,f.Tokenizer=v}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(n,f,D){"use strict";var u,y=n("../lib/deep_copy").deepCopy;(function(){this.addRules=function(m,h){if(h)for(var o in m){for(var l=m[o],r=0;r=this.$rowTokens.length;){if(this.$row+=1,s||(s=this.$session.getLength()),this.$row>=s)return this.$row=s-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentTokenRow=function(){return this.$row},v.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,m=this.$tokenIndex,h=s[m].start;if(void 0!==h)return h;for(h=0;m>0;)h+=s[m-=1].value.length;return h},v.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},v.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],m=this.getCurrentTokenColumn();return new y(this.$row,m,this.$row,m+s.value.length)},v}();f.TokenIterator=u}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(n,f,D){"use strict";var o,g,y=n("../../lib/oop"),u=n("../behaviour").Behaviour,v=n("../../token_iterator").TokenIterator,s=n("../../lib/lang"),m=["text","paren.rparen","rparen","paren","punctuation.operator"],h=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],l={},r={'"':'"',"'":"'"},c=function(b){var C=-1;if(b.multiSelect&&(C=b.selection.index,l.rangeCount!=b.multiSelect.rangeCount&&(l={rangeCount:b.multiSelect.rangeCount})),l[C])return o=l[C];o=l[C]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},d=function(b,C,x,w){var T=b.end.row-b.start.row;return{text:x+C+w,selection:[0,b.start.column+1,T,b.end.column+(T?0:1)]}};(g=function(b){b=b||{},this.add("braces","insertion",function(C,x,w,T,S){var M=w.getCursorPosition(),k=T.doc.getLine(M.row);if("{"==S){c(w);var I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&"{"!==P&&w.getWrapBehavioursEnabled())return d(I,P,"{","}");if(g.isSaneInsertion(w,T))return/[\]\}\)]/.test(k[M.column])||w.inMultiSelectMode||b.braces?(g.recordAutoInsert(w,T,"}"),{text:"{}",selection:[1,1]}):(g.recordMaybeInsert(w,T,"{"),{text:"{",selection:[1,1]})}else if("}"==S){if(c(w),"}"==k.substring(M.column,M.column+1)&&null!==T.$findOpeningBracket("}",{column:M.column+1,row:M.row})&&g.isAutoInsertedClosing(M,k,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==S||"\r\n"==S){c(w);var F="";if(g.isMaybeInsertedClosing(M,k)&&(F=s.stringRepeat("}",o.maybeInsertedBrackets),g.clearMaybeInsertedClosing()),"}"===k.substring(M.column,M.column+1)){var R=T.findMatchingBracket({row:M.row,column:M.column+1},"}");if(!R)return null;var U=this.$getIndent(T.getLine(R.row))}else{if(!F)return void g.clearMaybeInsertedClosing();U=this.$getIndent(k)}var W=U+T.getTabString();return{text:"\n"+W+"\n"+U+F,selection:[1,W.length,1,W.length]}}g.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"{"==M){if(c(w),"}"==T.doc.getLine(S.start.row).substring(S.end.column,S.end.column+1))return S.end.column++,S;o.maybeInsertedBrackets--}}),this.add("parens","insertion",function(C,x,w,T,S){if("("==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"(",")");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,")"),{text:"()",selection:[1,1]}}else if(")"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if(")"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket(")",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"("==M&&(c(w),")"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("brackets","insertion",function(C,x,w,T,S){if("["==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"[","]");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,"]"),{text:"[]",selection:[1,1]}}else if("]"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if("]"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket("]",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"["==M&&(c(w),"]"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("string_dquotes","insertion",function(C,x,w,T,S){var M=T.$mode.$quotes||r;if(1==S.length&&M[S]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(S))return;c(w);var k=S,I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&(1!=P.length||!M[P])&&w.getWrapBehavioursEnabled())return d(I,P,k,k);if(!P){var A=w.getCursorPosition(),L=T.doc.getLine(A.row),F=L.substring(A.column-1,A.column),R=L.substring(A.column,A.column+1),U=T.getTokenAt(A.row,A.column),W=T.getTokenAt(A.row,A.column+1);if("\\"==F&&U&&/escape/.test(U.type))return null;var j,ne=U&&/string|escape/.test(U.type),ee=!W||/string|escape/.test(W.type);if(R==k)(j=ne!==ee)&&/string\.end/.test(W.type)&&(j=!1);else{if(ne&&!ee||ne&&ee)return null;var B=T.$mode.tokenRe;B.lastIndex=0;var $=B.test(F);B.lastIndex=0;var Z=B.test(R),H=T.$mode.$pairQuotesAfter;if(!(H&&H[k]&&H[k].test(F))&&$||Z||R&&!/[\s;,.})\]\\]/.test(R))return null;var ue=L[A.column-2];if(F==k&&(ue==k||B.test(ue)))return null;j=!0}return{text:j?k+k:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(C,x,w,T,S){var M=T.$mode.$quotes||r,k=T.doc.getTextRange(S);if(!S.isMultiLine()&&M.hasOwnProperty(k)&&(c(w),T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)==k))return S.end.column++,S}),!1!==b.closeDocComment&&this.add("doc comment end","insertion",function(C,x,w,T,S){if("doc-start"===C&&("\n"===S||"\r\n"===S)&&w.selection.isEmpty()){var M=w.getCursorPosition(),k=T.doc.getLine(M.row),I=T.doc.getLine(M.row+1),P=this.$getIndent(k);if(/\s*\*/.test(I))return/^\s*\*/.test(k)?{text:S+P+"* ",selection:[1,3+P.length,1,3+P.length]}:{text:S+P+" * ",selection:[1,3+P.length,1,3+P.length]};if(/\/\*\*/.test(k.substring(0,M.column)))return{text:S+P+" * "+S+" "+P+"*/",selection:[1,4+P.length,1,4+P.length]}}})}).isSaneInsertion=function(b,C){var x=b.getCursorPosition(),w=new v(C,x.row,x.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",m)){if(/[)}\]]/.test(b.session.getLine(x.row)[x.column]))return!0;var T=new v(C,x.row,x.column+1);if(!this.$matchTokenType(T.getCurrentToken()||"text",m))return!1}return w.stepForward(),w.getCurrentTokenRow()!==x.row||this.$matchTokenType(w.getCurrentToken()||"text",h)},g.$matchTokenType=function(b,C){return C.indexOf(b.type||b)>-1},g.recordAutoInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isAutoInsertedClosing(w,T,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=w.row,o.autoInsertedLineEnd=x+T.substr(w.column),o.autoInsertedBrackets++},g.recordMaybeInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isMaybeInsertedClosing(w,T)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=w.row,o.maybeInsertedLineStart=T.substr(0,w.column)+x,o.maybeInsertedLineEnd=T.substr(w.column),o.maybeInsertedBrackets++},g.isAutoInsertedClosing=function(b,C,x){return o.autoInsertedBrackets>0&&b.row===o.autoInsertedRow&&x===o.autoInsertedLineEnd[0]&&C.substr(b.column)===o.autoInsertedLineEnd},g.isMaybeInsertedClosing=function(b,C){return o.maybeInsertedBrackets>0&&b.row===o.maybeInsertedRow&&C.substr(b.column)===o.maybeInsertedLineEnd&&C.substr(0,b.column)==o.maybeInsertedLineStart},g.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},g.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},y.inherits(g,u),f.CstyleBehaviour=g}),ace.define("ace/unicode",["require","exports","module"],function(n,f,D){"use strict";for(var y=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],u=0,v=[],s=0;s2?ue%S!=S-1:ue%S==0}}else{if(!this.blockComment)return!1;k=this.blockComment.start;var I=this.blockComment.end,A=(P=new RegExp("^(\\s*)(?:"+h.escapeRegExp(k)+")"),new RegExp("(?:"+h.escapeRegExp(I)+")\\s*$"));L=function(j,B){R(j,B)||(!x||/\S/.test(j))&&(C.insertInLine({row:B,column:j.length},I),C.insertInLine({row:B,column:T},k))},F=function(j,B){var $;($=j.match(A))&&C.removeInLine(B,j.length-$[0].length,j.length),($=j.match(P))&&C.removeInLine(B,$[1].length,$[0].length)},R=function(j,B){if(P.test(j))return!0;for(var $=d.getTokens(B),Z=0;Z<$.length;Z++)if("comment"===$[Z].type)return!0}}function ne(j){for(var B=g;B<=b;B++)j(C.getLine(B),B)}var ee=1/0;ne(function(j,B){var $=j.search(/\S/);-1!==$?($j.length&&(ee=j.length)}),T==1/0&&(T=ee,x=!1,w=!1),M&&T%S!=0&&(T=Math.floor(T/S)*S),ne(w?F:L)},this.toggleBlockComment=function(c,d,g,b){var C=this.blockComment;if(C){!C.start&&C[0]&&(C=C[0]);var M,k,w=(x=new o(d,b.row,b.column)).getCurrentToken(),S=d.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var I,P;w&&/comment/.test(w.type);){if(-1!=(A=w.value.indexOf(C.start))){var L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A;I=new l(L,F,L,F+C.start.length);break}w=x.stepBackward()}var x;for(w=(x=new o(d,b.row,b.column)).getCurrentToken();w&&/comment/.test(w.type);){var A;if(-1!=(A=w.value.indexOf(C.end))){L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A,P=new l(L,F,L,F+C.end.length);break}w=x.stepForward()}P&&d.remove(P),I&&(d.remove(I),M=I.start.row,k=-C.start.length)}else k=C.start.length,M=g.start.row,d.insert(g.end,C.end),d.insert(g.start,C.start);S.start.row==M&&(S.start.column+=k),S.end.row==M&&(S.end.column+=k),d.selection.fromOrientedRange(S)}},this.getNextLineIndent=function(c,d,g){return this.$getIndent(d)},this.checkOutdent=function(c,d,g){return!1},this.autoOutdent=function(c,d,g){},this.$getIndent=function(c){return c.match(/^\s*/)[0]},this.createWorker=function(c){return null},this.createModeDelegates=function(c){for(var d in this.$embeds=[],this.$modes={},c)if(c[d]){var g=c[d],b=g.prototype.$id,C=y.$modes[b];C||(y.$modes[b]=C=new g),y.$modes[d]||(y.$modes[d]=C),this.$embeds.push(d),this.$modes[d]=C}var x=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],w=function(S){var M,k,I;I=(M=T)[k=x[S]],M[x[S]]=function(){return this.$delegator(k,arguments,I)}},T=this;for(d=0;dthis.row)){var l=function m(h,o,l){var r="insert"==h.action,c=(r?1:-1)*(h.end.row-h.start.row),d=(r?1:-1)*(h.end.column-h.start.column),g=h.start,b=r?g:h.end;return s(o,g,l)?{row:o.row,column:o.column}:s(b,o,!l)?{row:o.row+c,column:o.column+(o.row==b.row?d:0)}:{row:g.row,column:g.column}}(o,{row:this.row,column:this.column},this.$insertRight);this.setPosition(l.row,l.column,!0)}},h.prototype.setPosition=function(o,l,r){var c;if(c=r?{row:o,column:l}:this.$clipPositionToDocument(o,l),this.row!=c.row||this.column!=c.column){var d={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:d,value:c})}},h.prototype.detach=function(){this.document.off("change",this.$onChange)},h.prototype.attach=function(o){this.document=o||this.document,this.document.on("change",this.$onChange)},h.prototype.$clipPositionToDocument=function(o,l){var r={};return o>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):o<0?(r.row=0,r.column=0):(r.row=o,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,l))),l<0&&(r.column=0),r},h}();function s(h,o,l){return h.row=c&&(l=c-1,r=void 0);var d=this.getLine(l);return null==r&&(r=d.length),{row:l,column:r=Math.min(Math.max(r,0),d.length)}},o.prototype.clonePos=function(l){return{row:l.row,column:l.column}},o.prototype.pos=function(l,r){return{row:l,column:r}},o.prototype.$clipPosition=function(l){var r=this.getLength();return l.row>=r?(l.row=Math.max(0,r-1),l.column=this.getLine(r-1).length):(l.row=Math.max(0,l.row),l.column=Math.min(Math.max(l.column,0),this.getLine(l.row).length)),l},o.prototype.insertFullLines=function(l,r){var c=0;(l=Math.min(Math.max(l,0),this.getLength()))0,d=r=0&&this.applyDelta({start:this.pos(l,this.getLine(l).length),end:this.pos(l+1,0),action:"remove",lines:["",""]})},o.prototype.replace=function(l,r){return l instanceof s||(l=s.fromPoints(l.start,l.end)),0===r.length&&l.isEmpty()?l.start:r==this.getTextRange(l)?l.end:(this.remove(l),r?this.insert(l.start,r):l.start)},o.prototype.applyDeltas=function(l){for(var r=0;r=0;r--)this.revertDelta(l[r])},o.prototype.applyDelta=function(l,r){var c="insert"==l.action;(c?l.lines.length<=1&&!l.lines[0]:!s.comparePoints(l.start,l.end))||(c&&l.lines.length>2e4?this.$splitAndapplyLargeDelta(l,2e4):(u(this.$lines,l,r),this._signal("change",l)))},o.prototype.$safeApplyDelta=function(l){var r=this.$lines.length;("remove"==l.action&&l.start.row20){o.running=setTimeout(o.$worker,20);break}}o.currentLine=r,-1==c&&(c=r),g<=c&&o.fireUpdateEvent(g,c)}}}return s.prototype.setTokenizer=function(m){this.tokenizer=m,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(m){this.doc=m,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(m,h){this._signal("update",{data:{first:m,last:h}})},s.prototype.start=function(m){this.currentLine=Math.min(m||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},s.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},s.prototype.$updateOnChange=function(m){var h=m.start.row,o=m.end.row-h;if(0===o)this.lines[h]=null;else if("remove"==m.action)this.lines.splice(h,o+1,null),this.states.splice(h,o+1,null);else{var l=Array(o+1);l.unshift(h,1),this.lines.splice.apply(this.lines,l),this.states.splice.apply(this.states,l)}this.currentLine=Math.min(h,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(m){return this.lines[m]||this.$tokenizeRow(m)},s.prototype.getState=function(m){return this.currentLine==m&&this.$tokenizeRow(m),this.states[m]||"start"},s.prototype.$tokenizeRow=function(m){var h=this.doc.getLine(m),l=this.tokenizer.getLineTokens(h,this.states[m-1],m);return this.states[m]+""!=l.state+""?(this.states[m]=l.state,this.lines[m+1]=null,this.currentLine>m+1&&(this.currentLine=m+1)):this.currentLine==m&&(this.currentLine=m+1),this.lines[m]=l.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();y.implement(v.prototype,u),f.BackgroundTokenizer=v}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./range").Range,v=function(){function s(m,h,o){void 0===o&&(o="text"),this.setRegexp(m),this.clazz=h,this.type=o}return s.prototype.setRegexp=function(m){this.regExp+""!=m+""&&(this.regExp=m,this.cache=[])},s.prototype.update=function(m,h,o,l){if(this.regExp)for(var c=l.lastRow,d={},g=l.firstRow;g<=c;g++){var b=this.cache[g];null==b&&((b=y.getMatchOffsets(o.getLine(g),this.regExp)).length>this.MAX_RANGES&&(b=b.slice(0,this.MAX_RANGES)),b=b.map(function(T){return new u(g,T.offset,g,T.offset+T.length)}),this.cache[g]=b.length?b:"");for(var C=b.length;C--;){var x=b[C].toScreenRange(o),w=x.toString();d[w]||(d[w]=!0,h.drawSingleLineMarker(m,x,this.clazz,l))}}},s}();v.prototype.MAX_RANGES=500,f.SearchHighlight=v}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=function(){function M(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return M.prototype.addSession=function(k){this.$session=k},M.prototype.add=function(k,I,P){if(!this.$fromUndo&&k!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===I||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),k.id=this.$rev=++this.$maxRev}("remove"==k.action||"insert"==k.action)&&(this.$lastDelta=k),this.lastDeltas.push(k)}},M.prototype.addSelection=function(k,I){this.selections.push({value:k,rev:I||this.$rev})},M.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},M.prototype.markIgnored=function(k,I){null==I&&(I=this.$rev+1);for(var P=this.$undoStack,A=P.length;A--;){var L=P[A][0];if(L.id<=k)break;L.id0},M.prototype.canRedo=function(){return this.$redoStack.length>0},M.prototype.bookmark=function(k){null==k&&(k=this.$rev),this.mark=k},M.prototype.isAtBookmark=function(){return this.$rev===this.mark},M.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},M.prototype.fromJSON=function(k){this.reset(),this.$undoStack=k.$undoStack,this.$redoStack=k.$redoStack},M.prototype.$prettyPrint=function(k){return k?r(k):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},M}();y.prototype.hasUndo=y.prototype.canUndo,y.prototype.hasRedo=y.prototype.canRedo,y.prototype.isClean=y.prototype.isAtBookmark,y.prototype.markClean=y.prototype.bookmark;var v=n("./range").Range,s=v.comparePoints;function o(M){return{row:M.row,column:M.column}}function r(M){if(M=M||this,Array.isArray(M))return M.map(r).join("\n");var k="";return M.action?(k="insert"==M.action?"+":"-",k+="["+M.lines+"]"):M.value&&(k=Array.isArray(M.value)?M.value.map(c).join("\n"):c(M.value)),M.start&&(k+=c(M)),(M.id||M.rev)&&(k+="\t("+(M.id||M.rev)+")"),k}function c(M){return M.start.row+":"+M.start.column+"=>"+M.end.row+":"+M.end.column}function d(M,k){var I="insert"==M.action,P="insert"==k.action;if(I&&P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}else if(!I&&P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(!I&&!P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}return[k,M]}function g(M,k){for(var I=M.length;I--;)for(var P=0;P=0?C(M,k,-1):(s(M.start,k.start)<=0||C(M,v.fromPoints(k.start,M.start),-1),C(k,M,1));else if(!I&&P)s(k.start,M.end)>=0?C(k,M,-1):(s(k.start,M.start)<=0||C(k,v.fromPoints(M.start,k.start),-1),C(M,k,1));else if(!I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{var A,L;if(!(s(k.end,M.start)<=0))return s(M.start,k.start)<0&&(A=M,M=w(M,k.start)),s(M.end,k.end)>0&&(L=w(M,k.end)),x(k.end,M.start,M.end,-1),L&&!A&&(M.lines=L.lines,M.start=L.start,M.end=L.end,L=M),[k,A,L].filter(Boolean);C(M,k,-1)}return[k,M]}function C(M,k,I){x(M.start,k.start,k.end,I),x(M.end,k.start,k.end,I)}function x(M,k,I,P){M.row==(1==P?k:I).row&&(M.column+=P*(I.column-k.column)),M.row+=P*(I.row-k.row)}function w(M,k){var I=M.lines,P=M.end;M.end=o(k);var A=M.end.row-M.start.row,L=I.splice(A,I.length),F=A?k.column:k.column-M.start.column;return I.push(L[0].substring(0,F)),L[0]=L[0].substr(F),{start:o(k),end:P,lines:L,action:M.action}}function T(M,k){k=function l(M){return{start:o(M.start),end:o(M.end),action:M.action,lines:M.lines.slice()}}(k);for(var I=M.length;I--;){for(var P=M[I],A=0;Athis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(s),this.folds.sort(function(m,h){return-m.range.compareEnd(h.start.row,h.start.column)}),this.range.compareEnd(s.start.row,s.start.column)>0?(this.end.row=s.end.row,this.end.column=s.end.column):this.range.compareStart(s.end.row,s.end.column)<0&&(this.start.row=s.start.row,this.start.column=s.start.column)}else if(s.start.row==this.end.row)this.folds.push(s),this.end.row=s.end.row,this.end.column=s.end.column;else{if(s.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(s),this.start.row=s.start.row,this.start.column=s.start.column}s.foldLine=this},v.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},v.prototype.walk=function(s,m,h){var r,c,o=0,l=this.folds,g=!0;null==m&&(m=this.end.row,h=this.end.column);for(var b=0;b0)){var g=u(m,c.start);return 0===d?h&&0!==g?-r-2:r:g>0||0===g&&!h?r:-r-1}}return-r-1},s.prototype.add=function(m){var h=!m.isEmpty(),o=this.pointIndex(m.start,h);o<0&&(o=-o-1);var l=this.pointIndex(m.end,h,o);return l<0?l=-l-1:l++,this.ranges.splice(o,l-o,m)},s.prototype.addList=function(m){for(var h=[],o=m.length;o--;)h.push.apply(h,this.add(m[o]));return h},s.prototype.substractPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges.splice(h,1)},s.prototype.merge=function(){for(var l,m=[],h=this.ranges,o=(h=h.sort(function(d,g){return u(d.start,g.start)}))[0],r=1;r=0},s.prototype.containsPoint=function(m){return this.pointIndex(m)>=0},s.prototype.rangeAtPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges[h]},s.prototype.clipRows=function(m,h){var o=this.ranges;if(o[0].start.row>h||o[o.length-1].start.row=l);d++);if("insert"==m.action){for(var C=r-l,x=-h.column+o.column;dl);d++)if(b.start.row==l&&b.start.column>=h.column&&(b.start.column==h.column&&this.$bias<=0||(b.start.column+=x,b.start.row+=C)),b.end.row==l&&b.end.column>=h.column){if(b.end.column==h.column&&this.$bias<0)continue;b.end.column==h.column&&x>0&&db.start.column&&b.end.column==c[d+1].start.column&&(b.end.column-=x),b.end.column+=x,b.end.row+=C}}else for(C=l-r,x=h.column-o.column;dr);d++)b.end.rowh.column)&&(b.end.column=h.column,b.end.row=h.row):(b.end.column+=x,b.end.row+=C):b.end.row>r&&(b.end.row+=C),b.start.rowh.column)&&(b.start.column=h.column,b.start.row=h.row):(b.start.column+=x,b.start.row+=C):b.start.row>r&&(b.start.row+=C);if(0!=C&&d=o)return d;if(d.end.row>o)return null}return null},this.getNextFoldLine=function(o,l){var r=this.$foldData,c=0;for(l&&(c=r.indexOf(l)),-1==c&&(c=0);c=o)return d}return null},this.getFoldedRowCount=function(o,l){for(var r=this.$foldData,c=l-o+1,d=0;d=l){C=o?c-=l-C:c=0);break}b>=o&&(c-=C>=o?b-C:b-o+1)}return c},this.$addFoldLine=function(o){return this.$foldData.push(o),this.$foldData.sort(function(l,r){return l.start.row-r.start.row}),o},this.addFold=function(o,l){var d,r=this.$foldData,c=!1;o instanceof v?d=o:(d=new v(l,o)).collapseChildren=l.collapseChildren,this.$clipRangeToDocument(d.range);var g=d.start.row,b=d.start.column,C=d.end.row,x=d.end.column,w=this.getFoldAt(g,b,1),T=this.getFoldAt(C,x,-1);if(w&&T==w)return w.addSubFold(d);w&&!w.range.isStart(g,b)&&this.removeFold(w),T&&!T.range.isEnd(C,x)&&this.removeFold(T);var S=this.getFoldsInRange(d.range);S.length>0&&(this.removeFolds(S),d.collapseChildren||S.forEach(function(P){d.addSubFold(P)}));for(var M=0;M0&&this.foldAll(o.start.row+1,o.end.row,o.collapseChildren-1),o.subFolds=[]},this.expandFolds=function(o){o.forEach(function(l){this.expandFold(l)},this)},this.unfold=function(o,l){var r,c;if(null==o)r=new y(0,0,this.getLength(),0),null==l&&(l=!0);else if("number"==typeof o)r=new y(o,0,o,this.getLine(o).length);else if("row"in o)r=y.fromPoints(o,o);else{if(Array.isArray(o))return c=[],o.forEach(function(g){c=c.concat(this.unfold(g))},this),c;r=o}for(var d=c=this.getFoldsInRangeList(r);1==c.length&&y.comparePoints(c[0].start,r.start)<0&&y.comparePoints(c[0].end,r.end)>0;)this.expandFolds(c),c=this.getFoldsInRangeList(r);if(0!=l?this.removeFolds(c):this.expandFolds(c),d.length)return d},this.isRowFolded=function(o,l){return!!this.getFoldLine(o,l)},this.getRowFoldEnd=function(o,l){var r=this.getFoldLine(o,l);return r?r.end.row:o},this.getRowFoldStart=function(o,l){var r=this.getFoldLine(o,l);return r?r.start.row:o},this.getFoldDisplayLine=function(o,l,r,c,d){null==c&&(c=o.start.row),null==d&&(d=0),null==l&&(l=o.end.row),null==r&&(r=this.getLine(l).length);var g=this.doc,b="";return o.walk(function(C,x,w,T){if(!(xx)break}while(d&&b.test(d.type)&&!/^comment.start/.test(d.type));d=c.stepBackward()}else d=c.getCurrentToken();return C.end.row=c.getCurrentTokenRow(),C.end.column=c.getCurrentTokenColumn(),/^comment.end/.test(d.type)||(C.end.column+=d.value.length-2),C}},this.foldAll=function(o,l,r,c){null==r&&(r=1e5);var d=this.foldWidgets;if(d){l=l||this.getLength();for(var g=o=o||0;g=o&&(g=b.end.row,b.collapseChildren=r,this.addFold("...",b))}}},this.foldToLevel=function(o){for(this.foldAll();o-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var o=this;this.foldAll(null,null,null,function(l){for(var r=o.getTokens(l),c=0;c=0;){var g=r[c];if(null==g&&(g=r[c]=this.getFoldWidget(c)),"start"==g){var b=this.getFoldWidgetRange(c);if(d||(d=b),b&&b.end.row>=o)break}c--}return{range:-1!==c&&b,firstRange:d}},this.onFoldWidgetClick=function(o,l){if(l instanceof m&&(l=l.domEvent),!this.$toggleFoldWidget(o,{children:l.shiftKey,all:l.ctrlKey||l.metaKey,siblings:l.altKey})){var d=l.target||l.srcElement;d&&/ace_fold-widget/.test(d.className)&&(d.className+=" ace_invalid")}},this.$toggleFoldWidget=function(o,l){if(this.getFoldWidget){var r=this.getFoldWidget(o),c=this.getLine(o),d="end"===r?-1:1,g=this.getFoldAt(o,-1===d?0:c.length,d);if(g)return l.children||l.all?this.removeFold(g):this.expandFold(g),g;var b=this.getFoldWidgetRange(o,!0);if(b&&!b.isMultiLine()&&(g=this.getFoldAt(b.start.row,b.start.column,1))&&b.isEqual(g.range))return this.removeFold(g),g;if(l.siblings){var C=this.getParentFoldRangeData(o);if(C.range)var x=C.range.start.row+1,w=C.range.end.row;this.foldAll(x,w,l.all?1e4:0)}else l.children?(w=b?b.end.row:this.getLength(),this.foldAll(o+1,w,l.all?1e4:0)):b&&(l.all&&(b.collapseChildren=1e4),this.addFold("...",b));return b}},this.toggleFoldWidget=function(o){var l=this.selection.getCursor().row;l=this.getRowFoldStart(l);var r=this.$toggleFoldWidget(l,{});if(!r){var c=this.getParentFoldRangeData(l,!0);if(r=c.range||c.firstRange){var d=this.getFoldAt(l=r.start.row,this.getLine(l).length,1);d?this.removeFold(d):this.addFold("...",r)}}},this.updateFoldWidgets=function(o){var l=o.start.row,r=o.end.row-l;if(0===r)this.foldWidgets[l]=null;else if("remove"==o.action)this.foldWidgets.splice(l,r+1,null);else{var c=Array(r+1);c.unshift(l,1),this.foldWidgets.splice.apply(this.foldWidgets,c)}},this.tokenizerUpdateFoldWidgets=function(o){var l=o.data;l.first!=l.last&&this.foldWidgets.length>l.first&&this.foldWidgets.splice(l.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(n,f,D){"use strict";var y=n("../token_iterator").TokenIterator,u=n("../range").Range;f.BracketMatch=function v(){this.findMatchingBracket=function(s,m){if(0==s.column)return null;var h=m||this.getLine(s.row).charAt(s.column-1);if(""==h)return null;var o=h.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],s):this.$findOpeningBracket(o[2],s):null},this.getBracketRange=function(s){var o,m=this.getLine(s.row),h=!0,l=m.charAt(s.column-1),r=l&&l.match(/([\(\[\{])|([\)\]\}])/);if(r||(l=m.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(/([\(\[\{])|([\)\]\}])/),h=!1),!r)return null;if(r[1]){if(!(c=this.$findClosingBracket(r[1],s)))return null;o=u.fromPoints(s,c),h||(o.end.column++,o.start.column--),o.cursor=o.end}else{var c;if(!(c=this.$findOpeningBracket(r[2],s)))return null;o=u.fromPoints(c,s),h||(o.start.column++,o.end.column--),o.cursor=o.start}return o},this.getMatchingBracketRanges=function(s,m){var h=this.getLine(s.row),o=/([\(\[\{])|([\)\]\}])/,l=!m&&h.charAt(s.column-1),r=l&&l.match(o);if(r||(l=(void 0===m||m)&&h.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(o)),!r)return null;var c=new u(s.row,s.column-1,s.row,s.column),d=r[1]?this.$findClosingBracket(r[1],s):this.$findOpeningBracket(r[2],s);return d?[c,new u(d.row,d.column,d.row,d.column+1)]:[c]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn()-2,g=c.value;;){for(;d>=0;){var b=g.charAt(d);if(b==o){if(0==(l-=1))return{row:r.getCurrentTokenRow(),column:d+r.getCurrentTokenColumn()}}else b==s&&(l+=1);d-=1}do{c=r.stepBackward()}while(c&&!h.test(c.type));if(null==c)break;d=(g=c.value).length-1}return null}},this.$findClosingBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn();;){for(var g=c.value,b=g.length;d"===m.value?o=!0:-1!==m.type.indexOf("tag-name")&&(h=!0))}while(m&&!h);return m},this.$findClosingTag=function(s,m){var h,o=m.value,l=m.value,r=0,c=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);m=s.stepForward();var d=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length),g=!1;do{if(h=m,m=s.stepForward()){if(">"===m.value&&!g){var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);g=!0}if(-1!==m.type.indexOf("tag-name")){if(l===(o=m.value))if("<"===h.value)r++;else if(""!==m.value)return;var w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else l===o&&"/>"===m.value&&--r<0&&(w=x=C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),b=new u(d.end.row,d.end.column,d.end.row,d.end.column+1))}}while(m&&r>=0);if(c&&b&&C&&w&&d&&x)return{openTag:new u(c.start.row,c.start.column,b.end.row,b.end.column),closeTag:new u(C.start.row,C.start.column,w.end.row,w.end.column),openTagName:d,closeTagName:x}},this.$findOpeningTag=function(s,m){var h=s.getCurrentToken(),o=m.value,l=0,r=s.getCurrentTokenRow(),c=s.getCurrentTokenColumn(),d=c+2,g=new u(r,c,r,d);s.stepForward();var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length);if((m=s.stepForward())&&">"===m.value){var C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do{if(m=h,r=s.getCurrentTokenRow(),d=(c=s.getCurrentTokenColumn())+m.value.length,h=s.stepBackward(),m)if(-1!==m.type.indexOf("tag-name")){if(o===m.value)if("<"===h.value){if(++l>0){var x=new u(r,c,r,d),w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do{m=s.stepForward()}while(m&&">"!==m.value);var T=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else""===m.value){for(var S=0,M=h;M;){if(-1!==M.type.indexOf("tag-name")&&M.value===o){l--;break}if("<"===M.value)break;M=s.stepBackward(),S++}for(var k=0;kR&&(this.$docRowCache.splice(R,F),this.$screenRowCache.splice(R,F))},A.prototype.$getRowCacheIndex=function(L,F){for(var R=0,U=L.length-1;R<=U;){var W=R+U>>1,ne=L[W];if(F>ne)R=W+1;else{if(!(F=F);ne++);return(U=R[ne])?(U.index=ne,U.start=W-U.value.length,U):null},A.prototype.setUndoManager=function(L){if(this.$undoManager=L,this.$informUndoManager&&this.$informUndoManager.cancel(),L){var F=this;L.addSession(this),this.$syncInformUndoManager=function(){F.$informUndoManager.cancel(),F.mergeUndoDeltas=!1},this.$informUndoManager=u.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},A.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},A.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},A.prototype.getTabString=function(){return this.getUseSoftTabs()?u.stringRepeat(" ",this.getTabSize()):"\t"},A.prototype.setUseSoftTabs=function(L){this.setOption("useSoftTabs",L)},A.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},A.prototype.setTabSize=function(L){this.setOption("tabSize",L)},A.prototype.getTabSize=function(){return this.$tabSize},A.prototype.isTabStop=function(L){return this.$useSoftTabs&&L.column%this.$tabSize==0},A.prototype.setNavigateWithinSoftTabs=function(L){this.setOption("navigateWithinSoftTabs",L)},A.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},A.prototype.setOverwrite=function(L){this.setOption("overwrite",L)},A.prototype.getOverwrite=function(){return this.$overwrite},A.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},A.prototype.addGutterDecoration=function(L,F){this.$decorations[L]||(this.$decorations[L]=""),this.$decorations[L]+=" "+F,this._signal("changeBreakpoint",{})},A.prototype.removeGutterDecoration=function(L,F){this.$decorations[L]=(this.$decorations[L]||"").replace(" "+F,""),this._signal("changeBreakpoint",{})},A.prototype.getBreakpoints=function(){return this.$breakpoints},A.prototype.setBreakpoints=function(L){this.$breakpoints=[];for(var F=0;F0&&(U=!!R.charAt(F-1).match(this.tokenRe)),U||(U=!!R.charAt(F).match(this.tokenRe)),U)var W=this.tokenRe;else W=/^\s+$/.test(R.slice(F-1,F+1))?/\s/:this.nonTokenRe;var ne=F;if(ne>0){do{ne--}while(ne>=0&&R.charAt(ne).match(W));ne++}for(var ee=F;eeL&&(L=F.screenWidth)}),this.lineWidgetWidth=L},A.prototype.$computeWidth=function(L){if(this.$modified||L){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var F=this.doc.getAllLines(),R=this.$rowLengthCache,U=0,W=0,ne=this.$foldData[W],ee=ne?ne.start.row:1/0,j=F.length,B=0;Bee){if((B=ne.end.row+1)>=j)break;ee=(ne=this.$foldData[W++])?ne.start.row:1/0}null==R[B]&&(R[B]=this.$getStringScreenWidth(F[B])[0]),R[B]>U&&(U=R[B])}this.screenWidth=U}},A.prototype.getLine=function(L){return this.doc.getLine(L)},A.prototype.getLines=function(L,F){return this.doc.getLines(L,F)},A.prototype.getLength=function(){return this.doc.getLength()},A.prototype.getTextRange=function(L){return this.doc.getTextRange(L||this.selection.getRange())},A.prototype.insert=function(L,F){return this.doc.insert(L,F)},A.prototype.remove=function(L){return this.doc.remove(L)},A.prototype.removeFullLines=function(L,F){return this.doc.removeFullLines(L,F)},A.prototype.undoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=L.length-1;-1!=R;R--){var U=L[R];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!F&&this.$undoSelect&&(L.selectionBefore?this.selection.fromJSON(L.selectionBefore):this.selection.setRange(this.$getUndoSelection(L,!0))),this.$fromUndo=!1}},A.prototype.redoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=0;RL.end.column&&(ne.start.column+=j),ne.end.row==L.end.row&&ne.end.column>L.end.column&&(ne.end.column+=j)),ee&&ne.start.row>=L.end.row&&(ne.start.row+=ee,ne.end.row+=ee)),ne.end=this.insert(ne.start,U),W.length){var B=L.start,$=ne.start,ee=$.row-B.row,j=$.column-B.column;this.addFolds(W.map(function(te){return(te=te.clone()).start.row==B.row&&(te.start.column+=j),te.end.row==B.row&&(te.end.column+=j),te.start.row+=ee,te.end.row+=ee,te}))}return ne},A.prototype.indentRows=function(L,F,R){R=R.replace(/\t/g,this.getTabString());for(var U=L;U<=F;U++)this.doc.insertInLine({row:U,column:0},R)},A.prototype.outdentRows=function(L){for(var F=L.collapseRows(),R=new l(0,0,0,0),U=this.getTabSize(),W=F.start.row;W<=F.end.row;++W){var ne=this.getLine(W);R.start.row=W,R.end.row=W;for(var ee=0;ee0){var U;if((U=this.getRowFoldEnd(F+R))>this.doc.getLength()-1)return 0;W=U-F}else L=this.$clipRowToDocument(L),W=(F=this.$clipRowToDocument(F))-L+1;var ne=new l(L,0,F,Number.MAX_VALUE),ee=this.getFoldsInRange(ne).map(function(B){return(B=B.clone()).start.row+=W,B.end.row+=W,B}),j=0==R?this.doc.getLines(L,F):this.doc.removeFullLines(L,F);return this.doc.insertFullLines(L+W,j),ee.length&&this.addFolds(ee),W},A.prototype.moveLinesUp=function(L,F){return this.$moveLines(L,F,-1)},A.prototype.moveLinesDown=function(L,F){return this.$moveLines(L,F,1)},A.prototype.duplicateLines=function(L,F){return this.$moveLines(L,F,0)},A.prototype.$clipRowToDocument=function(L){return Math.max(0,Math.min(L,this.doc.getLength()-1))},A.prototype.$clipColumnToRow=function(L,F){return F<0?0:Math.min(this.doc.getLine(L).length,F)},A.prototype.$clipPositionToDocument=function(L,F){if(F=Math.max(0,F),L<0)L=0,F=0;else{var R=this.doc.getLength();L>=R?(L=R-1,F=this.doc.getLine(R-1).length):F=Math.min(this.doc.getLine(L).length,F)}return{row:L,column:F}},A.prototype.$clipRangeToDocument=function(L){L.start.row<0?(L.start.row=0,L.start.column=0):L.start.column=this.$clipColumnToRow(L.start.row,L.start.column);var F=this.doc.getLength()-1;return L.end.row>F?(L.end.row=F,L.end.column=this.doc.getLine(F).length):L.end.column=this.$clipColumnToRow(L.end.row,L.end.column),L},A.prototype.setUseWrapMode=function(L){if(L!=this.$useWrapMode){if(this.$useWrapMode=L,this.$modified=!0,this.$resetRowCache(0),L){var F=this.getLength();this.$wrapData=Array(F),this.$updateWrapData(0,F-1)}this._signal("changeWrapMode")}},A.prototype.getUseWrapMode=function(){return this.$useWrapMode},A.prototype.setWrapLimitRange=function(L,F){(this.$wrapLimitRange.min!==L||this.$wrapLimitRange.max!==F)&&(this.$wrapLimitRange={min:L,max:F},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},A.prototype.adjustWrapLimit=function(L,F){var R=this.$wrapLimitRange;R.max<0&&(R={min:F,max:F});var U=this.$constrainWrapLimit(L,R.min,R.max);return U!=this.$wrapLimit&&U>1&&(this.$wrapLimit=U,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},A.prototype.$constrainWrapLimit=function(L,F,R){return F&&(L=Math.max(F,L)),R&&(L=Math.min(R,L)),L},A.prototype.getWrapLimit=function(){return this.$wrapLimit},A.prototype.setWrapLimit=function(L){this.setWrapLimitRange(L,L)},A.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},A.prototype.$updateInternalDataOnChange=function(L){var F=this.$useWrapMode,R=L.action,U=L.start,W=L.end,ne=U.row,ee=W.row,j=ee-ne,B=null;if(this.$updating=!0,0!=j)if("remove"===R){this[F?"$wrapData":"$rowLengthCache"].splice(ne,j);var $=this.$foldData;B=this.getFoldsInRange(L),this.removeFolds(B);var H=0;if(Z=this.getFoldLine(W.row)){Z.addRemoveChars(W.row,W.column,U.column-W.column),Z.shiftRow(-j);var te=this.getFoldLine(ne);te&&te!==Z&&(te.merge(Z),Z=te),H=$.indexOf(Z)+1}for(;H<$.length;H++)(Z=$[H]).start.row>=W.row&&Z.shiftRow(-j);ee=ne}else{var ue=Array(j);ue.unshift(ne,0);var ye=F?this.$wrapData:this.$rowLengthCache;if(ye.splice.apply(ye,ue),$=this.$foldData,H=0,Z=this.getFoldLine(ne)){var Ge=Z.range.compareInside(U.row,U.column);0==Ge?(Z=Z.split(U.row,U.column))&&(Z.shiftRow(j),Z.addRemoveChars(ee,0,W.column-U.column)):-1==Ge&&(Z.addRemoveChars(ne,0,W.column-U.column),Z.shiftRow(j)),H=$.indexOf(Z)+1}for(;H<$.length;H++){var Z;(Z=$[H]).start.row>=ne&&Z.shiftRow(j)}}else j=Math.abs(L.start.column-L.end.column),"remove"===R&&(B=this.getFoldsInRange(L),this.removeFolds(B),j=-j),(Z=this.getFoldLine(ne))&&Z.addRemoveChars(ne,U.column,j);return F&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,F?this.$updateWrapData(ne,ee):this.$updateRowLengthCache(ne,ee),B},A.prototype.$updateRowLengthCache=function(L,F){this.$rowLengthCache[L]=null,this.$rowLengthCache[F]=null},A.prototype.$updateWrapData=function(L,F){var ee,j,R=this.doc.getAllLines(),U=this.getTabSize(),W=this.$wrapData,ne=this.$wrapLimit,B=L;for(F=Math.min(F,R.length-1);B<=F;)(j=this.getFoldLine(B,j))?(ee=[],j.walk(function($,Z,H,te){var ue;if(null!=$){(ue=this.$getDisplayTokens($,ee.length))[0]=w;for(var ye=1;yeF-te;){var ue=ne+F-te;if(L[ue-1]>=M&&L[ue]>=M)H(ue);else if(L[ue]!=w&&L[ue]!=T){for(var ye=Math.max(ue-(F-(F>>2)),ne-1);ue>ye&&L[ue]ye&&L[ue]ye&&L[ue]==S;)ue--}else for(;ue>ye&&L[ue]ye?H(++ue):(L[ue=ne+F]==x&&ue--,H(ue-te))}else{for(;ue!=ne-1&&L[ue]!=w;ue--);if(ue>ne){H(ue);continue}for(ue=ne+F;ue39&&ne<48||ne>57&&ne<64?R.push(S):ne>=4352&&P(ne)?R.push(C,x):R.push(C)}return R},A.prototype.$getStringScreenWidth=function(L,F,R){if(0==F)return[0,0];var U,W;for(null==F&&(F=1/0),R=R||0,W=0;W=4352&&P(U)?R+=2:R+=1,!(R>F));W++);return[R,W]},A.prototype.getRowLength=function(L){var F=1;return this.lineWidgets&&(F+=this.lineWidgets[L]&&this.lineWidgets[L].rowCount||0),this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+F:F},A.prototype.getRowLineCount=function(L){return this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+1:1},A.prototype.getRowWrapIndent=function(L){if(this.$useWrapMode){var F=this.screenToDocumentPosition(L,Number.MAX_VALUE),R=this.$wrapData[F.row];return R.length&&R[0]=0){j=$[Z],W=this.$docRowCache[Z];var te=L>$[H-1]}else te=!H;for(var ue=this.getLength()-1,ye=this.getNextFoldLine(W),Ge=ye?ye.start.row:1/0;j<=L&&!(j+(B=this.getRowLength(W))>L||W>=ue);)j+=B,++W>Ge&&(Ge=(ye=this.getNextFoldLine(W=ye.end.row+1,ye))?ye.start.row:1/0),te&&(this.$docRowCache.push(W),this.$screenRowCache.push(j));if(ye&&ye.start.row<=W)U=this.getFoldDisplayLine(ye),W=ye.start.row;else{if(j+B<=L||W>ue)return{row:ue,column:this.getLine(ue).length};U=this.getLine(W),ye=null}var $e=0,Ye=Math.floor(L-j);if(this.$useWrapMode){var Ze=this.$wrapData[W];Ze&&(ee=Ze[Ye],Ye>0&&Ze.length&&($e=Ze.indent,U=U.substring(ne=Ze[Ye-1]||Ze[Ze.length-1])))}return void 0!==R&&this.$bidiHandler.isBidiRow(j+Ye,W,Ye)&&(F=this.$bidiHandler.offsetToCol(R)),ne+=this.$getStringScreenWidth(U,F-$e)[1],this.$useWrapMode&&ne>=ee&&(ne=ee-1),ye?ye.idxToPosition(ne):{row:W,column:ne}},A.prototype.documentToScreenPosition=function(L,F){if(typeof F>"u")var R=this.$clipPositionToDocument(L.row,L.column);else R=this.$clipPositionToDocument(L,F);var ne,U=0,W=null;(ne=this.getFoldAt(L=R.row,F=R.column,1))&&(L=ne.start.row,F=ne.start.column);var ee,j=0,B=this.$docRowCache,$=this.$getRowCacheIndex(B,L),Z=B.length;if(Z&&$>=0){j=B[$],U=this.$screenRowCache[$];var H=L>B[Z-1]}else H=!Z;for(var te=this.getNextFoldLine(j),ue=te?te.start.row:1/0;j=ue){if((ee=te.end.row+1)>L)break;ue=(te=this.getNextFoldLine(ee,te))?te.start.row:1/0}else ee=j+1;U+=this.getRowLength(j),j=ee,H&&(this.$docRowCache.push(j),this.$screenRowCache.push(U))}var ye="";te&&j>=ue?(ye=this.getFoldDisplayLine(te,L,F),W=te.start.row):(ye=this.getLine(L).substring(0,F),W=L);var Ge=0;if(this.$useWrapMode){var $e=this.$wrapData[W];if($e){for(var Ye=0;ye.length>=$e[Ye];)U++,Ye++;ye=ye.substring($e[Ye-1]||0,ye.length),Ge=Ye>0?$e.indent:0}}return this.lineWidgets&&this.lineWidgets[j]&&this.lineWidgets[j].rowsAbove&&(U+=this.lineWidgets[j].rowsAbove),{row:U,column:Ge+this.$getStringScreenWidth(ye)[0]}},A.prototype.documentToScreenColumn=function(L,F){return this.documentToScreenPosition(L,F).column},A.prototype.documentToScreenRow=function(L,F){return this.documentToScreenPosition(L,F).row},A.prototype.getScreenLength=function(){var L=0,F=null;if(this.$useWrapMode)for(var W=this.$wrapData.length,ne=0,U=0,ee=(F=this.$foldData[U++])?F.start.row:1/0;neee&&(ne=F.end.row+1,ee=(F=this.$foldData[U++])?F.start.row:1/0)}else{L=this.getLength();var R=this.$foldData;for(U=0;UR);ne++);return[U,ne]})},A.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},A}();b.$uid=0,b.prototype.$modes=s.$modes,b.prototype.getValue=b.prototype.toString,b.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},b.prototype.$overwrite=!1,b.prototype.$mode=null,b.prototype.$modeId=null,b.prototype.$scrollTop=0,b.prototype.$scrollLeft=0,b.prototype.$wrapLimit=80,b.prototype.$useWrapMode=!1,b.prototype.$wrapLimitRange={min:null,max:null},b.prototype.lineWidgets=null,b.prototype.isFullWidth=P,y.implement(b.prototype,m);var C=1,x=2,w=3,T=4,S=9,M=10,k=11,I=12;function P(A){return!(A<4352)&&(A>=4352&&A<=4447||A>=4515&&A<=4519||A>=4602&&A<=4607||A>=9001&&A<=9002||A>=11904&&A<=11929||A>=11931&&A<=12019||A>=12032&&A<=12245||A>=12272&&A<=12283||A>=12288&&A<=12350||A>=12353&&A<=12438||A>=12441&&A<=12543||A>=12549&&A<=12589||A>=12593&&A<=12686||A>=12688&&A<=12730||A>=12736&&A<=12771||A>=12784&&A<=12830||A>=12832&&A<=12871||A>=12880&&A<=13054||A>=13056&&A<=19903||A>=19968&&A<=42124||A>=42128&&A<=42182||A>=43360&&A<=43388||A>=44032&&A<=55203||A>=55216&&A<=55238||A>=55243&&A<=55291||A>=63744&&A<=64255||A>=65040&&A<=65049||A>=65072&&A<=65106||A>=65108&&A<=65126||A>=65128&&A<=65131||A>=65281&&A<=65376||A>=65504&&A<=65510)}n("./edit_session/folding").Folding.call(b.prototype),n("./edit_session/bracket_match").BracketMatch.call(b.prototype),s.defineOptions(b.prototype,"session",{wrap:{set:function(A){if(A&&"off"!=A?"free"==A?A=!0:"printMargin"==A?A=-1:"string"==typeof A&&(A=parseInt(A,10)||!1):A=!1,this.$wrap!=A)if(this.$wrap=A,A){var L="number"==typeof A?A:null;this.setWrapLimitRange(L,L),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(A){(A="auto"==A?"text"!=this.$mode.type:"text"!=A)!=this.$wrapAsCode&&(this.$wrapAsCode=A,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(A){this.$useWorker=A,this.$stopWorker(),A&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(A){(A=parseInt(A))>0&&this.$tabSize!==A&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=A,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(A){this.setFoldStyle(A)},handlesSet:!0},overwrite:{set:function(A){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(A){this.doc.setNewLineMode(A)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(A){this.setMode(A)},get:function(){return this.$modeId},handlesSet:!0}}),f.EditSession=b}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./lib/oop"),v=n("./range").Range,s=function(){function h(){this.$options={}}return h.prototype.set=function(o){return u.mixin(this.$options,o),this},h.prototype.getOptions=function(){return y.copyObject(this.$options)},h.prototype.setOptions=function(o){this.$options=o},h.prototype.find=function(o){var l=this.$options,r=this.$matchIterator(o,l);if(!r)return!1;var c=null;return r.forEach(function(d,g,b,C){return c=new v(d,g,b,C),!(g==C&&l.start&&l.start.start&&0!=l.skipCurrent&&c.isEqual(l.start)&&(c=null,1))}),c},h.prototype.findAll=function(o){var l=this.$options;if(!l.needle)return[];this.$assembleRegExp(l);var r=l.range,c=r?o.getLines(r.start.row,r.end.row):o.doc.getAllLines(),d=[],g=l.re;if(l.$isMultiLine){var x,b=g.length,C=c.length-b;e:for(var w=g.offset||0;w<=C;w++){for(var T=0;Tk||(d.push(x=new v(w,k,w+b-1,I)),b>2&&(w=w+b-2))}}else for(var P=0;PR&&d[T].end.row==U;)T--;for(d=d.slice(P,T+1),P=0,T=d.length;P=x;I--)if(M(I,Number.MAX_VALUE,k))return;if(0!=l.wrap)for(I=w,x=C.row;I>=x;I--)if(M(I,Number.MAX_VALUE,k))return}};else T=function(I){var P=C.row;if(!M(P,C.column,I)){for(P+=1;P<=w;P++)if(M(P,0,I))return;if(0!=l.wrap)for(P=x,w=C.row;P<=w;P++)if(M(P,0,I))return}};if(l.$isMultiLine)var S=r.length,M=function(k,I,P){var A=c?k-S+1:k;if(!(A<0||A+S>o.getLength())){var L=o.getLine(A),F=L.search(r[0]);if(!(!c&&FI)&&P(A,F,A+S-1,U))return!0}}};else M=c?function(I,P,A){var R,L=o.getLine(I),F=[],U=0;for(r.lastIndex=0;R=r.exec(L);){if(U=R.index,!(W=R[0].length)){if(U>=L.length)break;r.lastIndex=U+=y.skipEmptyMatch(L,U,g)}if(R.index+W>P)break;F.push(R.index,W)}for(var ne=F.length-1;ne>=0;ne-=2){var W,ee=F[ne-1];if(A(I,ee,I,ee+(W=F[ne])))return!0}}:function(I,P,A){var F,R,L=o.getLine(I);for(r.lastIndex=P;R=r.exec(L);){var U=R[0].length;if(A(I,F=R.index,I,F+U))return!0;if(!U&&(r.lastIndex=F+=y.skipEmptyMatch(L,F,g),F>=L.length))return!1}};return{forEach:T}},h}();f.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(n,f,D){"use strict";var l,y=this&&this.__extends||(l=function(r,c){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(d[b]=g[b])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}l(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}),u=n("../lib/keys"),v=n("../lib/useragent"),s=u.KEY_MODS,m=function(){function l(r,c){this.$init(r,c,!1)}return l.prototype.$init=function(r,c,d){this.platform=c||(v.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=d},l.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},l.prototype.removeCommand=function(r,c){var d=r&&("string"==typeof r?r:r.name);r=this.commands[d],c||delete this.commands[d];var g=this.commandKeyBinding;for(var b in g){var C=g[b];if(C==r)delete g[b];else if(Array.isArray(C)){var x=C.indexOf(r);-1!=x&&(C.splice(x,1),1==C.length&&(g[b]=C[0]))}}},l.prototype.bindKey=function(r,c,d){if("object"==typeof r&&r&&(null==d&&(d=r.position),r=r[this.platform]),r){if("function"==typeof c)return this.addCommand({exec:c,bindKey:r,name:c.name||r});r.split("|").forEach(function(g){var b="";if(-1!=g.indexOf(" ")){var C=g.split(/\s+/);g=C.pop(),C.forEach(function(T){var S=this.parseKeys(T);this._addCommandToBinding(b+=(b?" ":"")+(s[S.hashId]+S.key),"chainKeys")},this),b+=" "}var x=this.parseKeys(g);this._addCommandToBinding(b+(s[x.hashId]+x.key),c,d)},this)}},l.prototype._addCommandToBinding=function(r,c,d){var b,g=this.commandKeyBinding;if(c)if(!g[r]||this.$singleCommand)g[r]=c;else{Array.isArray(g[r])?-1!=(b=g[r].indexOf(c))&&g[r].splice(b,1):g[r]=[g[r]],"number"!=typeof d&&(d=h(c));var C=g[r];for(b=0;bd);b++);C.splice(b,0,c)}else delete g[r]},l.prototype.addCommands=function(r){r&&Object.keys(r).forEach(function(c){var d=r[c];if(d){if("string"==typeof d)return this.bindKey(d,c);"function"==typeof d&&(d={exec:d}),"object"==typeof d&&(d.name||(d.name=c),this.addCommand(d))}},this)},l.prototype.removeCommands=function(r){Object.keys(r).forEach(function(c){this.removeCommand(r[c])},this)},l.prototype.bindKeys=function(r){Object.keys(r).forEach(function(c){this.bindKey(c,r[c])},this)},l.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},l.prototype.parseKeys=function(r){var c=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),d=c.pop(),g=u[d];if(u.FUNCTION_KEYS[g])d=u.FUNCTION_KEYS[g].toLowerCase();else{if(!c.length)return{key:d,hashId:-1};if(1==c.length&&"shift"==c[0])return{key:d.toUpperCase(),hashId:-1}}for(var b=0,C=c.length;C--;){var x=u.KEY_MODS[c[C]];if(null==x)return typeof console<"u"&&console.error("invalid modifier "+c[C]+" in "+r),!1;b|=x}return{key:d,hashId:b}},l.prototype.findKeyCommand=function(r,c){return this.commandKeyBinding[s[r]+c]},l.prototype.handleKeyboard=function(r,c,d,g){if(!(g<0)){var b=s[c]+d,C=this.commandKeyBinding[b];return r.$keyChain&&(r.$keyChain+=" "+b,C=this.commandKeyBinding[r.$keyChain]||C),!C||"chainKeys"!=C&&"chainKeys"!=C[C.length-1]?(r.$keyChain&&(c&&4!=c||1!=d.length?(-1==c||g>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-b.length-1)),{command:C}):(r.$keyChain=r.$keyChain||b,{command:"null"})}},l.prototype.getStatusText=function(r,c){return c.$keyChain||""},l}();function h(l){return"object"==typeof l&&l.bindKey&&l.bindKey.position||(l.isDefault?-100:0)}var o=function(l){function r(c,d){var g=l.call(this,c,d)||this;return g.$singleCommand=!0,g}return y(r,l),r}(m);o.call=function(l,r,c){m.prototype.$init.call(l,r,c,!0)},m.call=function(l,r,c){m.prototype.$init.call(l,r,c,!1)},f.HashHandler=o,f.MultiHashHandler=m}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(n,f,D){"use strict";var h,y=this&&this.__extends||(h=function(o,l){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(r[d]=c[d])})(o,l)},function(o,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function r(){this.constructor=o}h(o,l),o.prototype=null===l?Object.create(l):(r.prototype=l.prototype,new r)}),u=n("../lib/oop"),v=n("../keyboard/hash_handler").MultiHashHandler,s=n("../lib/event_emitter").EventEmitter,m=function(h){function o(l,r){var c=h.call(this,r,l)||this;return c.byName=c.commands,c.setDefaultHandler("exec",function(d){return d.args?d.command.exec(d.editor,d.args,d.event,!1):d.command.exec(d.editor,{},d.event,!0)}),c}return y(o,h),o.prototype.exec=function(l,r,c){if(Array.isArray(l)){for(var d=l.length;d--;)if(this.exec(l[d],r,c))return!0;return!1}if("string"==typeof l&&(l=this.commands[l]),!l||r&&r.$readOnly&&!l.readOnly||0!=this.$checkCommandState&&l.isAvailable&&!l.isAvailable(r))return!1;var g={editor:r,command:l,args:c};return g.returnValue=this._emit("exec",g),this._signal("afterExec",g),!1!==g.returnValue},o.prototype.toggleRecording=function(l){if(!this.$inReplay)return l&&l._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(r){this.macro.push([r.command,r.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},o.prototype.replay=function(l){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(l);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,l):this.exec(r[0],l,r[1])},this)}finally{this.$inReplay=!1}}},o.prototype.trimMacro=function(l){return l.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},o}(v);u.implement(m.prototype,s),f.CommandManager=m}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(n,f,D){"use strict";var y=n("../lib/lang"),u=n("../config"),v=n("../range").Range;function s(h,o){return{win:h,mac:o}}f.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(h){u.loadModule("ace/ext/settings_menu",function(o){o.init(h),h.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(h){h.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(h){h.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(h,o){"number"==typeof o&&!isNaN(o)&&h.gotoLine(o),h.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(h){h.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(h){h.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(h){h.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(h){h.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(h){h.session.foldAll(),h.session.unfold(h.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(h){h.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(h){h.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(h){h.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(h){h.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(h){h.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(h){h.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(h){h.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(h,o){h.navigateUp(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(h){h.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(h){h.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(h){h.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(h,o){h.navigateDown(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(h){h.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(h){h.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(h){h.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(h){h.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(h){h.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(h,o){h.navigateLeft(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(h){h.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(h){h.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(h){h.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(h){h.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(h){h.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(h,o){h.navigateRight(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(h){h.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(h){h.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(h){h.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(h){h.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(h){h.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(h){h.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(h){h.renderer.scrollBy(0,-2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(h){h.renderer.scrollBy(0,2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(h){h.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(h){h.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(h){h.commands.toggleRecording(h)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(h){h.commands.replay(h)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(h){h.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(h){h.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(h){h.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(h){},readOnly:!0},{name:"cut",description:"Cut",exec:function(h){var l=h.$copyWithEmptySelection&&h.selection.isEmpty()?h.selection.getLineRange():h.selection.getRange();h._emit("cut",l),l.isEmpty()||h.session.remove(l),h.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(h,o){h.$handlePaste(o)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(h){h.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(h){h.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(h){h.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(h){h.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(h){h.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(h){h.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(h){h.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(h){h.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(h){h.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(h){h.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(h){h.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(h){h.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(h){h.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(h){h.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(h){h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(h){if(!h.selection.isEmpty())return!1;h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(h){h.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(h){h.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(h){var o=h.selection.getRange();o.start.column=0,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(h){var o=h.selection.getRange();o.end.column=Number.MAX_VALUE,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(h){h.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(h){h.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(h){h.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(h){h.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(h){h.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(h){h.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(h,o){h.insert(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(h,o){h.insert(y.stringRepeat(o.text||"",o.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(h){h.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(h){h.transposeLetters()},multiSelectAction:function(h){h.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(h){h.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(h){h.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(h){h.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(h){var o=h.selection.getRange();o.start.column=o.end.column=0,o.end.row++,h.selection.setRange(o,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(h){h.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(h){for(var o=h.selection.isBackwards(),l=o?h.selection.getSelectionLead():h.selection.getSelectionAnchor(),r=o?h.selection.getSelectionAnchor():h.selection.getSelectionLead(),c=h.session.doc.getLine(l.row).length,g=h.session.doc.getTextRange(h.selection.getRange()).replace(/\n\s*/," ").length,b=h.session.doc.getLine(l.row),C=l.row+1;C<=r.row+1;C++){var x=y.stringTrimLeft(y.stringTrimRight(h.session.doc.getLine(C)));0!==x.length&&(x=" "+x),b+=x}r.row+10?(h.selection.moveCursorTo(l.row,l.column),h.selection.selectTo(l.row,l.column+g)):(c=h.session.doc.getLine(l.row).length>c?c+1:c,h.selection.moveCursorTo(l.row,c))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(h){var o=h.session.doc.getLength()-1,l=h.session.doc.getLine(o).length,r=h.selection.rangeList.ranges,c=[];r.length<1&&(r=[h.selection.getRange()]);for(var d=0;dm[h].column&&h++,r.unshift(h,0),m.splice.apply(m,r),this.$updateRows()}}},v.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(s){var m=!0;s.forEach(function(h,o){if(h)for(m=!1,h.row=o;h.$oldWidget;)h.$oldWidget.row=o,h=h.$oldWidget}),m&&(this.session.lineWidgets=null)}},v.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var m=this.session.lineWidgets[s.row];return m&&(s.$oldWidget=m,m.el&&m.el.parentNode&&(m.el.parentNode.removeChild(m.el),m._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},v.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var m=this.editor.renderer;s.html&&!s.el&&(s.el=y.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=y.createElement("div"),s.el.textContent=s.text),s.el&&(y.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&y.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",m.container.appendChild(s.el),s._inDocument=!0,s.coverGutter||(s.el.style.zIndex="3"),null==s.pixelHeight&&(s.pixelHeight=s.el.offsetHeight)),null==s.rowCount&&(s.rowCount=s.pixelHeight/m.layerConfig.lineHeight);var h=this.session.getFoldAt(s.row,0);if(s.$fold=h,h){var o=this.session.lineWidgets;s.row!=h.end.row||o[h.start.row]?s.hidden=!0:o[h.start.row]=s}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,m),this.onWidgetChanged(s),s},v.prototype.removeLineWidget=function(s){if(s._inDocument=!1,s.session=null,s.el&&s.el.parentNode&&s.el.parentNode.removeChild(s.el),s.editor&&s.editor.destroy)try{s.editor.destroy()}catch{}if(this.session.lineWidgets){var m=this.session.lineWidgets[s.row];if(m==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;m;){if(m.$oldWidget==s){m.$oldWidget=s.$oldWidget;break}m=m.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},v.prototype.getWidgetsAtRow=function(s){for(var m=this.session.lineWidgets,h=m&&m[s],o=[];h;)o.push(h),h=h.$oldWidget;return o},v.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},v.prototype.measureWidgets=function(s,m){var h=this.session._changedWidgets,o=m.layerConfig;if(h&&h.length){for(var l=1/0,r=0;r0&&!o[l];)l--;this.firstRow=h.firstRow,this.lastRow=h.lastRow,m.$cursorLayer.config=h;for(var c=l;c<=r;c++){var d=o[c];if(d&&d.el){if(d.hidden){d.el.style.top=-100-(d.pixelHeight||0)+"px";continue}d._inDocument||(d._inDocument=!0,m.container.appendChild(d.el));var g=m.$cursorLayer.getPixelPosition({row:c,column:0},!0).top;d.coverLine||(g+=h.lineHeight*this.session.getRowLineCount(d.row)),d.el.style.top=g-h.offset+"px";var b=d.coverGutter?0:m.gutterWidth;d.fixedWidth||(b-=m.scrollLeft),d.el.style.left=b+"px",d.fullWidth&&d.screenWidth&&(d.el.style.minWidth=h.width+2*h.padding+"px"),d.el.style.right=d.fixedWidth?m.scrollBar.getWidth()+"px":""}}}},v}();f.LineWidgets=u}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(n,f,D){"use strict";var y=n("../lib/keys"),u=n("../mouse/default_gutter_handler").GutterTooltip,v=function(){function m(h){this.editor=h,this.gutterLayer=h.renderer.$gutterLayer,this.element=h.renderer.$gutter,this.lines=h.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new u(this.editor)}return m.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},m.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},m.prototype.$onGutterKeyDown=function(h){if(this.annotationTooltip.isOpen)return h.preventDefault(),void(h.keyCode===y.escape&&this.annotationTooltip.hideTooltip());if(h.target===this.element){if(h.keyCode!=y.enter)return;h.preventDefault();var o=this.editor.getCursorPosition().row;return this.editor.isRowVisible(o)||this.editor.scrollToLine(o,!0,!0),void setTimeout(function(){var l=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(l),c=this.$findNearestAnnotation(l);if(null!==r||null!==c)return null===r&&null!==c?(this.activeRowIndex=c,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==r&&null===c?(this.activeRowIndex=r,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(c-l)0||h+o=0&&this.$isFoldWidgetVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(h+o))return h+o}return null},m.prototype.$findNearestAnnotation=function(h){if(this.$isAnnotationVisible(h))return h;for(var o=0;h-o>0||h+o=0&&this.$isAnnotationVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isAnnotationVisible(h+o))return h+o}return null},m.prototype.$focusFoldWidget=function(h){if(null!=h){var o=this.$getFoldWidget(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$focusAnnotation=function(h){if(null!=h){var o=this.$getAnnotation(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$blurFoldWidget=function(h){var o=this.$getFoldWidget(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$blurAnnotation=function(h){var o=this.$getAnnotation(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$moveFoldWidgetUp=function(){for(var h=this.activeRowIndex;h>0;)if(h--,this.$isFoldWidgetVisible(h))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=h,void this.$focusFoldWidget(this.activeRowIndex)},m.prototype.$moveFoldWidgetDown=function(){for(var h=this.activeRowIndex;h0;)if(h--,this.$isAnnotationVisible(h))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=h,void this.$focusAnnotation(this.activeRowIndex)},m.prototype.$moveAnnotationDown=function(){for(var h=this.activeRowIndex;h=F.length&&(F=void 0),{value:F&&F[W++],done:!F}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/lang"),m=n("./lib/useragent"),h=n("./keyboard/textinput").TextInput,o=n("./mouse/mouse_handler").MouseHandler,l=n("./mouse/fold_handler").FoldHandler,r=n("./keyboard/keybinding").KeyBinding,c=n("./edit_session").EditSession,d=n("./search").Search,g=n("./range").Range,b=n("./lib/event_emitter").EventEmitter,C=n("./commands/command_manager").CommandManager,x=n("./commands/default_commands").commands,w=n("./config"),T=n("./token_iterator").TokenIterator,S=n("./line_widgets").LineWidgets,M=n("./keyboard/gutter_handler").GutterKeyboardHandler,k=n("./config").nls,I=n("./clipboard"),P=n("./lib/keys"),A=function(){function F(R,U,W){this.$toDestroy=[];var ne=R.getContainerElement();this.container=ne,this.renderer=R,this.id="editor"+ ++F.$uid,this.commands=new C(m.isMac?"mac":"win",x),"object"==typeof document&&(this.textInput=new h(R.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new o(this),new l(this)),this.keyBinding=new r(this),this.$search=(new d).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(ee,j){j._$emitInputEvent.schedule(31)}),this.setSession(U||W&&W.session||new c("")),w.resetOptions(this),W&&this.setOptions(W),w._signal("editor",this)}return F.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},F.prototype.startOperation=function(R){if(this.curOp){if(!R||this.curOp.command)return;this.prevOp=this.curOp}R||(this.previousCommand=null,R={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:R.command||{},args:R.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},F.prototype.endOperation=function(R){if(this.curOp&&this.session){if(R&&!1===R.returnValue||!this.session)return this.curOp=null;if(1==R&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var U=this.curOp.command,W=U&&U.scrollIntoView;if(W){switch(W){case"center-animate":W="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ne=this.selection.getRange(),ee=this.renderer.layerConfig;(ne.start.row>=ee.lastRow||ne.end.row<=ee.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==W&&this.renderer.animateScrolling(this.curOp.scrollTop)}var j=this.selection.toJSON();this.curOp.selectionAfter=j,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(j),this.prevOp=this.curOp,this.curOp=null}},F.prototype.$historyTracker=function(R){if(this.$mergeUndoDeltas){var U=this.prevOp,W=this.$mergeableCommands,ne=U.command&&R.command.name==U.command.name;if("insertstring"==R.command.name){var ee=R.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ne=ne&&this.mergeNextCommand&&(!/\s/.test(ee)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ne=ne&&-1!==W.indexOf(R.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ne=!1),ne?this.session.mergeUndoDeltas=!0:-1!==W.indexOf(R.command.name)&&(this.sequenceStartTime=Date.now())}},F.prototype.setKeyboardHandler=function(R,U){if(R&&"string"==typeof R&&"ace"!=R){this.$keybindingId=R;var W=this;w.loadModule(["keybinding",R],function(ne){W.$keybindingId==R&&W.keyBinding.setKeyboardHandler(ne&&ne.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(R),U&&U()},F.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},F.prototype.setSession=function(R){if(this.session!=R){this.curOp&&this.endOperation(),this.curOp={};var U=this.session;if(U){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var W=this.session.getSelection();W.off("changeCursor",this.$onCursorChange),W.off("changeSelection",this.$onSelectionChange)}this.session=R,R?(this.$onDocumentChange=this.onDocumentChange.bind(this),R.on("change",this.$onDocumentChange),this.renderer.setSession(R),this.$onChangeMode=this.onChangeMode.bind(this),R.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),R.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),R.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),R.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),R.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),R.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=R.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(R)),this._signal("changeSession",{session:R,oldSession:U}),this.curOp=null,U&&U._signal("changeEditor",{oldEditor:this}),R&&R._signal("changeEditor",{editor:this}),R&&!R.destroyed&&R.bgTokenizer.scheduleStart()}},F.prototype.getSession=function(){return this.session},F.prototype.setValue=function(R,U){return this.session.doc.setValue(R),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),R},F.prototype.getValue=function(){return this.session.getValue()},F.prototype.getSelection=function(){return this.selection},F.prototype.resize=function(R){this.renderer.onResize(R)},F.prototype.setTheme=function(R,U){this.renderer.setTheme(R,U)},F.prototype.getTheme=function(){return this.renderer.getTheme()},F.prototype.setStyle=function(R){this.renderer.setStyle(R)},F.prototype.unsetStyle=function(R){this.renderer.unsetStyle(R)},F.prototype.getFontSize=function(){return this.getOption("fontSize")||v.computedStyle(this.container).fontSize},F.prototype.setFontSize=function(R){this.setOption("fontSize",R)},F.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var R=this;this.$highlightPending=!0,setTimeout(function(){R.$highlightPending=!1;var U=R.session;if(U&&!U.destroyed){U.$bracketHighlight&&(U.$bracketHighlight.markerIds.forEach(function(te){U.removeMarker(te)}),U.$bracketHighlight=null);var W=R.getCursorPosition(),ne=R.getKeyboardHandler(),ee=ne&&ne.$getDirectionForHighlight&&ne.$getDirectionForHighlight(R),j=U.getMatchingBracketRanges(W,ee);if(!j){var $=new T(U,W.row,W.column).getCurrentToken();if($&&/\b(?:tag-open|tag-name)/.test($.type)){var Z=U.getMatchingTags(W);Z&&(j=[Z.openTagName,Z.closeTagName])}}if(!j&&U.$mode.getMatching&&(j=U.$mode.getMatching(R.session)),!j)return void(R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide());var H="ace_bracket";Array.isArray(j)?1==j.length&&(H="ace_error_bracket"):j=[j],2==j.length&&(0==g.comparePoints(j[0].end,j[1].start)?j=[g.fromPoints(j[0].start,j[1].end)]:0==g.comparePoints(j[0].start,j[1].end)&&(j=[g.fromPoints(j[1].start,j[0].end)])),U.$bracketHighlight={ranges:j,markerIds:j.map(function(te){return U.addMarker(te,H,"text")})},R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide()}},50)}},F.prototype.focus=function(){this.textInput.focus()},F.prototype.isFocused=function(){return this.textInput.isFocused()},F.prototype.blur=function(){this.textInput.blur()},F.prototype.onFocus=function(R){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",R))},F.prototype.onBlur=function(R){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",R))},F.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},F.prototype.onDocumentChange=function(R){this.renderer.updateLines(R.start.row,R.start.row==R.end.row?R.end.row:1/0,this.session.$useWrapMode),this._signal("change",R),this.$cursorChange()},F.prototype.onTokenizerUpdate=function(R){var U=R.data;this.renderer.updateLines(U.first,U.last)},F.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},F.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},F.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},F.prototype.$updateHighlightActiveLine=function(){var U,R=this.getSession();if(this.$highlightActiveLine&&(("line"!=this.$selectionStyle||!this.selection.isMultiLine())&&(U=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(U=!1),this.renderer.$maxLines&&1===this.session.getLength()&&!(this.renderer.$minLines>1)&&(U=!1)),R.$highlightLineMarker&&!U)R.removeMarker(R.$highlightLineMarker.id),R.$highlightLineMarker=null;else if(!R.$highlightLineMarker&&U){var W=new g(U.row,U.column,U.row,1/0);W.id=R.addMarker(W,"ace_active-line","screenLine"),R.$highlightLineMarker=W}else U&&(R.$highlightLineMarker.start.row=U.row,R.$highlightLineMarker.end.row=U.row,R.$highlightLineMarker.start.column=U.column,R._signal("changeBackMarker"))},F.prototype.onSelectionChange=function(R){var U=this.session;if(U.$selectionMarker&&U.removeMarker(U.$selectionMarker),U.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var W=this.selection.getRange(),ne=this.getSelectionStyle();U.$selectionMarker=U.addMarker(W,"ace_selection",ne)}var ee=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ee),this._signal("changeSelection")},F.prototype.$getSelectionHighLightRegexp=function(){var R=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var W=U.start.column,ne=U.end.column,ee=R.getLine(U.start.row),j=ee.substring(W,ne);if(!(j.length>5e3)&&/[\w\d]/.test(j)){var B=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:j}),$=ee.substring(W-1,ne+1);if(B.test($))return B}}},F.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},F.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},F.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},F.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},F.prototype.onChangeMode=function(R){this.renderer.updateText(),this._emit("changeMode",R)},F.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},F.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},F.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},F.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},F.prototype.getCopyText=function(){var R=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),W=!1;if(!R&&this.$copyWithEmptySelection){W=!0;for(var ne=this.selection.getAllRanges(),ee=0;eete.search(/\S|$/)){var $=te.substr(ee.column).search(/\S|$/);W.doc.removeInLine(ee.row,ee.column,ee.column+$)}}this.clearSelection();var Z=ee.column,H=W.getState(ee.row),ue=(te=W.getLine(ee.row),ne.checkOutdent(H,te,R));if(W.insert(ee,R),j&&j.selection&&this.selection.setSelectionRange(2==j.selection.length?new g(ee.row,Z+j.selection[0],ee.row,Z+j.selection[1]):new g(ee.row+j.selection[0],j.selection[1],ee.row+j.selection[2],j.selection[3])),this.$enableAutoIndent){if(W.getDocument().isNewLine(R)){var ye=ne.getNextLineIndent(H,te.slice(0,ee.column),W.getTabString());W.insert({row:ee.row+1,column:0},ye)}ue&&ne.autoOutdent(H,W,ee.row)}},F.prototype.autoIndent=function(){var W,ne,R=this.session,U=R.getMode();if(this.selection.isEmpty())W=0,ne=R.doc.getLength()-1;else{var ee=this.getSelectionRange();W=ee.start.row,ne=ee.end.row}for(var Z,H,te,j="",B="",$="",ue=R.getTabString(),ye=W;ye<=ne;ye++)ye>0&&(j=R.getState(ye-1),B=R.getLine(ye-1),$=U.getNextLineIndent(j,B,ue)),Z=R.getLine(ye),$!==(H=U.$getIndent(Z))&&(H.length>0&&(te=new g(ye,0,ye,H.length),R.remove(te)),$.length>0&&R.insert({row:ye,column:0},$)),U.autoOutdent(j,R,ye)},F.prototype.onTextInput=function(R,U){if(!U)return this.keyBinding.onTextInput(R);this.startOperation({command:{name:"insertstring"}});var W=this.applyComposition.bind(this,R,U);this.selection.rangeCount?this.forEachSelection(W):W(),this.endOperation()},F.prototype.applyComposition=function(R,U){var W;(U.extendLeft||U.extendRight)&&((W=this.selection.getRange()).start.column-=U.extendLeft,W.end.column+=U.extendRight,W.start.column<0&&(W.start.row--,W.start.column+=this.session.getLine(W.start.row).length+1),this.selection.setRange(W),!R&&!W.isEmpty()&&this.remove()),(R||!this.selection.isEmpty())&&this.insert(R,!0),(U.restoreStart||U.restoreEnd)&&((W=this.selection.getRange()).start.column-=U.restoreStart,W.end.column-=U.restoreEnd,this.selection.setRange(W))},F.prototype.onCommandKey=function(R,U,W){return this.keyBinding.onCommandKey(R,U,W)},F.prototype.setOverwrite=function(R){this.session.setOverwrite(R)},F.prototype.getOverwrite=function(){return this.session.getOverwrite()},F.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},F.prototype.setScrollSpeed=function(R){this.setOption("scrollSpeed",R)},F.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},F.prototype.setDragDelay=function(R){this.setOption("dragDelay",R)},F.prototype.getDragDelay=function(){return this.getOption("dragDelay")},F.prototype.setSelectionStyle=function(R){this.setOption("selectionStyle",R)},F.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},F.prototype.setHighlightActiveLine=function(R){this.setOption("highlightActiveLine",R)},F.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},F.prototype.setHighlightGutterLine=function(R){this.setOption("highlightGutterLine",R)},F.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},F.prototype.setHighlightSelectedWord=function(R){this.setOption("highlightSelectedWord",R)},F.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},F.prototype.setAnimatedScroll=function(R){this.renderer.setAnimatedScroll(R)},F.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},F.prototype.setShowInvisibles=function(R){this.renderer.setShowInvisibles(R)},F.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},F.prototype.setDisplayIndentGuides=function(R){this.renderer.setDisplayIndentGuides(R)},F.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},F.prototype.setHighlightIndentGuides=function(R){this.renderer.setHighlightIndentGuides(R)},F.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},F.prototype.setShowPrintMargin=function(R){this.renderer.setShowPrintMargin(R)},F.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},F.prototype.setPrintMarginColumn=function(R){this.renderer.setPrintMarginColumn(R)},F.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},F.prototype.setReadOnly=function(R){this.setOption("readOnly",R)},F.prototype.getReadOnly=function(){return this.getOption("readOnly")},F.prototype.setBehavioursEnabled=function(R){this.setOption("behavioursEnabled",R)},F.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},F.prototype.setWrapBehavioursEnabled=function(R){this.setOption("wrapBehavioursEnabled",R)},F.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},F.prototype.setShowFoldWidgets=function(R){this.setOption("showFoldWidgets",R)},F.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},F.prototype.setFadeFoldWidgets=function(R){this.setOption("fadeFoldWidgets",R)},F.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},F.prototype.remove=function(R){this.selection.isEmpty()&&("left"==R?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var W=this.session,ne=W.getState(U.start.row),ee=W.getMode().transformAction(ne,"deletion",this,W,U);if(0===U.end.column){var j=W.getTextRange(U);if("\n"==j[j.length-1]){var B=W.getLine(U.end.row);/^\s+$/.test(B)&&(U.end.column=B.length)}}ee&&(U=ee)}this.session.remove(U),this.clearSelection()},F.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var R=this.getSelectionRange();R.start.column==R.end.column&&R.start.row==R.end.row&&(R.end.column=0,R.end.row++),this.session.remove(R),this.clearSelection()},F.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var R=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(R)},F.prototype.setGhostText=function(R,U){this.session.widgetManager||(this.session.widgetManager=new S(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(R,U)},F.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},F.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var R=this.getCursorPosition(),U=R.column;if(0!==U){var ne,ee,W=this.session.getLine(R.row);U$.toLowerCase()?1:0});var ee=new g(0,0,0,0);for(ne=R.first;ne<=R.last;ne++){var j=U.getLine(ne);ee.start.row=ne,ee.end.row=ne,ee.end.column=j.length,U.replace(ee,W[ne-R.first])}},F.prototype.toggleCommentLines=function(){var R=this.session.getState(this.getCursorPosition().row),U=this.$getSelectedRows();this.session.getMode().toggleCommentLines(R,this.session,U.first,U.last)},F.prototype.toggleBlockComment=function(){var R=this.getCursorPosition(),U=this.session.getState(R.row),W=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,W,R)},F.prototype.getNumberAt=function(R,U){var W=/[\-]?[0-9]+(?:\.[0-9]+)?/g;W.lastIndex=0;for(var ne=this.session.getLine(R);W.lastIndex=U)return{value:ee[0],start:ee.index,end:ee.index+ee[0].length}}return null},F.prototype.modifyNumber=function(R){var U=this.selection.getCursor().row,W=this.selection.getCursor().column,ne=new g(U,W-1,U,W),ee=this.session.getTextRange(ne);if(!isNaN(parseFloat(ee))&&isFinite(ee)){var j=this.getNumberAt(U,W);if(j){var B=j.value.indexOf(".")>=0?j.start+j.value.indexOf(".")+1:j.end,$=j.start+j.value.length-B,Z=parseFloat(j.value);Z*=Math.pow(10,$),Z+=R*=B!==j.end&&W=B&&j<=$&&(W=Et,Z.selection.clearSelection(),Z.moveCursorTo(R,B+ne),Z.selection.selectTo(R,$+ne)),B=$});for(var te,H=this.$toggleWordPairs,ue=0;ue=$&&B<=Z&&ye.match(/((?:https?|ftp):\/\/[\S]+)/)){H=ye.replace(/[\s:.,'";}\]]+$/,"");break}$=Z}}catch(Ge){W={error:Ge}}finally{try{ue&&!ue.done&&(ne=te.return)&&ne.call(te)}finally{if(W)throw W.error}}return H},F.prototype.openLink=function(){var R=this.selection.getCursor(),U=this.findLinkAt(R.row,R.column);return U&&window.open(U,"_blank"),null!=U},F.prototype.removeLines=function(){var R=this.$getSelectedRows();this.session.removeFullLines(R.first,R.last),this.clearSelection()},F.prototype.duplicateSelection=function(){var R=this.selection,U=this.session,W=R.getRange(),ne=R.isBackwards();if(W.isEmpty()){var ee=W.start.row;U.duplicateLines(ee,ee)}else{var j=ne?W.start:W.end,B=U.insert(j,U.getTextRange(W));W.start=j,W.end=B,R.setSelectionRange(W,ne)}},F.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},F.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},F.prototype.moveText=function(R,U,W){return this.session.moveText(R,U,W)},F.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},F.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},F.prototype.$moveLines=function(R,U){var W,ne,ee=this.selection;if(!ee.inMultiSelectMode||this.inVirtualSelectionMode){var j=ee.toOrientedRange();W=this.$getSelectedRows(j),ne=this.session.$moveLines(W.first,W.last,U?0:R),U&&-1==R&&(ne=0),j.moveBy(ne,0),ee.fromOrientedRange(j)}else{var B=ee.rangeList.ranges;ee.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var $=0,Z=0,H=B.length,te=0;teGe+1)break;Ge=$e.last}for(te--,$=this.session.$moveLines(ye,Ge,U?0:R),U&&-1==R&&(ue=te+1);ue<=te;)B[ue].moveBy($,0),ue++;U||($=0),Z+=$}ee.fromOrientedRange(ee.ranges[0]),ee.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},F.prototype.$getSelectedRows=function(R){return R=(R||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(R.start.row),last:this.session.getRowFoldEnd(R.end.row)}},F.prototype.onCompositionStart=function(R){this.renderer.showComposition(R)},F.prototype.onCompositionUpdate=function(R){this.renderer.setCompositionText(R)},F.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},F.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},F.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},F.prototype.isRowVisible=function(R){return R>=this.getFirstVisibleRow()&&R<=this.getLastVisibleRow()},F.prototype.isRowFullyVisible=function(R){return R>=this.renderer.getFirstFullyVisibleRow()&&R<=this.renderer.getLastFullyVisibleRow()},F.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},F.prototype.$moveByPage=function(R,U){var W=this.renderer,ne=this.renderer.layerConfig,ee=R*Math.floor(ne.height/ne.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ee,0)}):!1===U&&(this.selection.moveCursorBy(ee,0),this.selection.clearSelection());var j=W.scrollTop;W.scrollBy(0,ee*ne.lineHeight),null!=U&&W.scrollCursorIntoView(null,.5),W.animateScrolling(j)},F.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},F.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},F.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},F.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},F.prototype.scrollPageDown=function(){this.$moveByPage(1)},F.prototype.scrollPageUp=function(){this.$moveByPage(-1)},F.prototype.scrollToRow=function(R){this.renderer.scrollToRow(R)},F.prototype.scrollToLine=function(R,U,W,ne){this.renderer.scrollToLine(R,U,W,ne)},F.prototype.centerSelection=function(){var R=this.getSelectionRange(),U={row:Math.floor(R.start.row+(R.end.row-R.start.row)/2),column:Math.floor(R.start.column+(R.end.column-R.start.column)/2)};this.renderer.alignCursor(U,.5)},F.prototype.getCursorPosition=function(){return this.selection.getCursor()},F.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},F.prototype.getSelectionRange=function(){return this.selection.getRange()},F.prototype.selectAll=function(){this.selection.selectAll()},F.prototype.clearSelection=function(){this.selection.clearSelection()},F.prototype.moveCursorTo=function(R,U){this.selection.moveCursorTo(R,U)},F.prototype.moveCursorToPosition=function(R){this.selection.moveCursorToPosition(R)},F.prototype.jumpToMatching=function(R,U){var W=this.getCursorPosition(),ne=new T(this.session,W.row,W.column),ee=ne.getCurrentToken(),j=0;ee&&-1!==ee.type.indexOf("tag-name")&&(ee=ne.stepBackward());var B=ee||ne.stepForward();if(B){var $,ue,Z=!1,H={},te=W.column-B.start,ye={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(B.value.match(/[{}()\[\]]/g)){for(;te1?H[B.value]++:"=0;--j)this.$tryReplace(W[j],R)&&ne++;return this.selection.setSelectionRange(ee),ne},F.prototype.$tryReplace=function(R,U){var W=this.session.getTextRange(R);return null!==(U=this.$search.replace(W,U))?(R.end=this.session.replace(R,U),R):null},F.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},F.prototype.find=function(R,U,W){U||(U={}),"string"==typeof R||R instanceof RegExp?U.needle=R:"object"==typeof R&&u.mixin(U,R);var ne=this.selection.getRange();null==U.needle&&((R=this.session.getTextRange(ne)||this.$search.$options.needle)||(ne=this.session.getWordRange(ne.start.row,ne.start.column),R=this.session.getTextRange(ne)),this.$search.set({needle:R})),this.$search.set(U),U.start||this.$search.set({start:ne});var ee=this.$search.find(this.session);return U.preventScroll?ee:ee?(this.revealRange(ee,W),ee):(U.backwards?ne.start=ne.end:ne.end=ne.start,void this.selection.setRange(ne))},F.prototype.findNext=function(R,U){this.find({skipCurrent:!0,backwards:!1},R,U)},F.prototype.findPrevious=function(R,U){this.find(R,{skipCurrent:!0,backwards:!0},U)},F.prototype.revealRange=function(R,U){this.session.unfold(R),this.selection.setSelectionRange(R);var W=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(R.start,R.end,.5),!1!==U&&this.renderer.animateScrolling(W)},F.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(R){R.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},F.prototype.setAutoScrollEditorIntoView=function(R){if(R){var U,W=this,ne=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ee=this.$scrollAnchor;ee.style.cssText="position:absolute",this.container.insertBefore(ee,this.container.firstChild);var j=this.on("changeSelection",function(){ne=!0}),B=this.renderer.on("beforeRender",function(){ne&&(U=W.renderer.container.getBoundingClientRect())}),$=this.renderer.on("afterRender",function(){if(ne&&U&&(W.isFocused()||W.searchBox&&W.searchBox.isFocused())){var Z=W.renderer,H=Z.$cursorLayer.$pixelPos,te=Z.layerConfig,ue=H.top-te.offset;null!=(ne=H.top>=0&&ue+U.top<0||!(H.topwindow.innerHeight)&&null)&&(ee.style.top=ue+"px",ee.style.left=H.left+"px",ee.style.height=te.lineHeight+"px",ee.scrollIntoView(ne)),ne=U=null}});this.setAutoScrollEditorIntoView=function(Z){Z||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",j),this.renderer.off("afterRender",$),this.renderer.off("beforeRender",B))}}},F.prototype.$resetCursorStyle=function(){var R=this.$cursorStyle||"ace",U=this.renderer.$cursorLayer;U&&(U.setSmoothBlinking(/smooth/.test(R)),U.isBlinking=!this.$readOnly&&"wide"!=R,v.setCssClass(U.element,"ace_slim-cursors",/slim/.test(R)))},F.prototype.prompt=function(R,U,W){var ne=this;w.loadModule("ace/ext/prompt",function(ee){ee.prompt(ne,R,U,W)})},F}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],u.implement(A.prototype,b),w.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(F){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:F})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(F){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(F){this.textInput.setReadOnly(F),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(F){this.textInput.setCopyWithEmptySelection(F)},initialValue:!1},cursorStyle:{set:function(F){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(F){this.setAutoScrollEditorIntoView(F)}},keyboardHandler:{set:function(F){this.setKeyboardHandler(F)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(F){this.session.setValue(F)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(F){this.setSession(F)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(F){this.renderer.$gutterLayer.setShowLineNumbers(F),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),F&&this.$relativeLineNumbers?L.attach(this):L.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(F){this.$showLineNumbers&&F?L.attach(this):L.detach(this)}},placeholder:{set:function(F){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var R=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(R&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),v.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(R||this.renderer.placeholderNode)!R&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),v.addCssClass(this.container,"ace_hasPlaceholder");var U=v.createElement("div");U.className="ace_placeholder",U.textContent=this.$placeholder||"",this.renderer.placeholderNode=U,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(F){var W,R={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(ne){ne.blur(),ne.renderer.scroller.focus()},readOnly:!0},U=function(ne){if(ne.target==this.renderer.scroller&&ne.keyCode===P.enter){ne.preventDefault();var ee=this.getCursorPosition().row;this.isRowVisible(ee)||this.scrollToLine(ee,!0,!0),this.focus()}};F?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(m.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",k("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",k("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",U.bind(this)),this.commands.addCommand(R),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",k("editor")),this.renderer.$gutter.setAttribute("aria-label",k("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),W||(W=new M(this)),W.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",U.bind(this)),this.commands.removeCommand(R),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),W&&W.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var L={getText:function(F,R){return(Math.abs(F.selection.lead.row-R)||R+1+(R<9?"\xb7":""))+""},getWidth:function(F,R,U){return Math.max(R.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(F,R){R.renderer.$loop.schedule(R.renderer.CHANGE_GUTTER)},attach:function(F){F.renderer.$gutterLayer.$renderer=this,F.on("changeSelection",this.update),this.update(null,F)},detach:function(F){F.renderer.$gutterLayer.$renderer==this&&(F.renderer.$gutterLayer.$renderer=null),F.off("changeSelection",this.update),this.update(null,F)}};f.Editor=A}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s,m){this.element=s,this.canvasHeight=m||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return v.prototype.moveContainer=function(s){y.translate(this.element,0,-s.firstRowScreen*s.lineHeight%this.canvasHeight-s.offset*this.$offsetCoefficient)},v.prototype.pageChanged=function(s,m){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight)},v.prototype.computeLineTop=function(s,m,h){var l=Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight);return h.documentToScreenRow(s,0)*m.lineHeight-l*this.canvasHeight},v.prototype.computeLineHeight=function(s,m,h){return m.lineHeight*h.getRowLineCount(s)},v.prototype.getLength=function(){return this.cells.length},v.prototype.get=function(s){return this.cells[s]},v.prototype.shift=function(){this.$cacheCell(this.cells.shift())},v.prototype.pop=function(){this.$cacheCell(this.cells.pop())},v.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var m=y.createFragment(this.element),h=0;hx&&(x=(C=d.getNextFoldLine(S=C.end.row+1,C))?C.start.row:1/0),S>b){for(;this.$lines.getLength()>T+1;)this.$lines.pop();break}(w=this.$lines.get(++T))?w.row=S:(w=this.$lines.createCell(S,c,this.session,l),this.$lines.push(w)),this.$renderCell(w,c,C,S),S++}this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$updateGutterWidth=function(c){var d=this.session,g=d.gutterRenderer||this.$renderer,b=d.$firstLineNumber,C=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||d.$useWrapMode)&&(C=d.getLength()+b-1);var x=g?g.getWidth(d,C,c):C.toString().length*c.characterWidth,w=this.$padding||this.$computePadding();(x+=w.left+w.right)!==this.gutterWidth&&!isNaN(x)&&(this.gutterWidth=x,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",x))},r.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var c=this.session.selection.getCursor();this.$cursorRow!==c.row&&(this.$cursorRow=c.row)}},r.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var c=this.session.selection.cursor.row;if(this.$cursorRow=c,!this.$cursorCell||this.$cursorCell.row!=c){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var d=this.$lines.cells;this.$cursorCell=null;for(var g=0;g=this.$cursorRow){if(b.row>this.$cursorRow){var C=this.session.getFoldLine(this.$cursorRow);if(!(g>0&&C&&C.start.row==d[g-1].row))break;b=d[g-1]}b.element.className="ace_gutter-active-line "+b.element.className,this.$cursorCell=b;break}}}}},r.prototype.scrollLines=function(c){var d=this.config;if(this.config=c,this.$updateCursorRow(),this.$lines.pageChanged(d,c))return this.update(c);this.$lines.moveContainer(c);var g=Math.min(c.lastRow+c.gutterOffset,this.session.getLength()-1),b=this.oldLastRow;if(this.oldLastRow=g,!d||b0;C--)this.$lines.shift();if(b>g)for(C=this.session.getFoldedRowCount(g+1,b);C>0;C--)this.$lines.pop();c.firstRowb&&this.$lines.push(this.$renderLines(c,b+1,g)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$renderLines=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session,l);this.$renderCell(T,c,x,C),b.push(T),C++}return b},r.prototype.$renderCell=function(c,d,g,b){var C=c.element,x=this.session,w=C.childNodes[0],T=C.childNodes[1],S=C.childNodes[2],M=S.firstChild,k=x.$firstLineNumber,I=x.$breakpoints,P=x.$decorations,A=x.gutterRenderer||this.$renderer,L=this.$showFoldWidgets&&x.foldWidgets,F=g?g.start.row:Number.MAX_VALUE,R=d.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",W=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ne=(A?A.getText(x,b):b+k).toString();if(this.$highlightGutterLine&&(b==this.$cursorRow||g&&b=F&&this.$cursorRow<=g.end.row)&&(U+="ace_gutter-active-line ",this.$cursorCell!=c&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=c)),I[b]&&(U+=I[b]),P[b]&&(U+=P[b]),this.$annotations[b]&&b!==F&&(U+=this.$annotations[b].className),L){var ee=L[b];null==ee&&(ee=L[b]=x.getFoldWidget(b))}if(ee){var j="ace_fold-widget ace_"+ee,B="start"==ee&&b==F&&bg.right-d.right?"foldWidgets":void 0},r}();function l(r){var c=document.createTextNode("");r.appendChild(c);var d=y.createElement("span");r.appendChild(d);var g=y.createElement("span");r.appendChild(g);var b=y.createElement("span");return g.appendChild(b),r}o.prototype.$fixedWidth=!1,o.prototype.$highlightGutterLine=!0,o.prototype.$renderer="",o.prototype.$showLineNumbers=!0,o.prototype.$showFoldWidgets=!0,u.implement(o.prototype,s),f.Gutter=o}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../range").Range,u=n("../lib/dom"),v=function(){function m(h){this.element=u.createElement("div"),this.element.className="ace_layer ace_marker-layer",h.appendChild(this.element)}return m.prototype.setPadding=function(h){this.$padding=h},m.prototype.setSession=function(h){this.session=h},m.prototype.setMarkers=function(h){this.markers=h},m.prototype.elt=function(h,o){var l=-1!=this.i&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=o,l.className=h},m.prototype.update=function(h){if(h){var o;for(var l in this.config=h,this.i=0,this.markers){var r=this.markers[l];if(r.range){var c=r.range.clipRows(h.firstRow,h.lastRow);if(!c.isEmpty())if(c=c.toScreenRange(this.session),r.renderer){var d=this.$getTop(c.start.row,h);r.renderer(o,c,this.$padding+c.start.column*h.characterWidth,d,h)}else"fullLine"==r.type?this.drawFullLineMarker(o,c,r.clazz,h):"screenLine"==r.type?this.drawScreenLineMarker(o,c,r.clazz,h):c.isMultiLine()?"text"==r.type?this.drawTextMarker(o,c,r.clazz,h):this.drawMultiLineMarker(o,c,r.clazz,h):this.drawSingleLineMarker(o,c,r.clazz+" ace_start ace_br15",h)}else r.update(o,this,this.session,h)}if(-1!=this.i)for(;this.iT,C==b),r,C==b?0:1,c)},m.prototype.drawMultiLineMarker=function(h,o,l,r,c){var x,d=this.$padding,g=r.lineHeight,b=this.$getTop(o.start.row,r),C=d+o.start.column*r.characterWidth;if(c=c||"",this.session.$bidiHandler.isBidiRow(o.start.row)?((x=o.clone()).end.row=x.start.row,x.end.column=this.session.getLine(x.start.row).length,this.drawBidiSingleLineMarker(h,x,l+" ace_br1 ace_start",r,null,c)):this.elt(l+" ace_br1 ace_start","height:"+g+"px;right:0;top:"+b+"px;left:"+C+"px;"+(c||"")),this.session.$bidiHandler.isBidiRow(o.end.row)?((x=o.clone()).start.row=x.end.row,x.start.column=0,this.drawBidiSingleLineMarker(h,x,l+" ace_br12",r,null,c)):(b=this.$getTop(o.end.row,r),this.elt(l+" ace_br12","height:"+g+"px;width:"+o.end.column*r.characterWidth+"px;top:"+b+"px;left:"+d+"px;"+(c||""))),!((g=(o.end.row-o.start.row-1)*r.lineHeight)<=0)){b=this.$getTop(o.start.row+1,r);var T=(o.start.column?1:0)|(o.end.column?0:8);this.elt(l+(T?" ace_br"+T:""),"height:"+g+"px;right:0;top:"+b+"px;left:"+d+"px;"+(c||""))}},m.prototype.drawSingleLineMarker=function(h,o,l,r,c,d){if(this.session.$bidiHandler.isBidiRow(o.start.row))return this.drawBidiSingleLineMarker(h,o,l,r,c,d);var g=r.lineHeight,b=(o.end.column+(c||0)-o.start.column)*r.characterWidth,C=this.$getTop(o.start.row,r);this.elt(l,"height:"+g+"px;width:"+b+"px;top:"+C+"px;left:"+(this.$padding+o.start.column*r.characterWidth)+"px;"+(d||""))},m.prototype.drawBidiSingleLineMarker=function(h,o,l,r,c,d){var g=r.lineHeight,b=this.$getTop(o.start.row,r),C=this.$padding;this.session.$bidiHandler.getSelections(o.start.column,o.end.column).forEach(function(w){this.elt(l,"height:"+g+"px;width:"+(w.width+(c||0))+"px;top:"+b+"px;left:"+(C+w.left)+"px;"+(d||""))},this)},m.prototype.drawFullLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r),g=r.lineHeight;o.start.row!=o.end.row&&(g+=this.$getTop(o.end.row,r)-d),this.elt(l,"height:"+g+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m.prototype.drawScreenLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r);this.elt(l,"height:"+r.lineHeight+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m}();function s(m,h,o,l){return(m?1:0)|(h?2:0)|(o?4:0)|(l?8:0)}v.prototype.$padding=0,f.Marker=v}),ace.define("ace/layer/text_util",["require","exports","module"],function(n,f,D){var y=new Set(["text","rparen","lparen"]);f.isTextToken=function(u){return y.has(u)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("./lines").Lines,m=n("../lib/event_emitter").EventEmitter,h=n("../config").nls,o=n("./text_util").isTextToken,l=function(){function r(c){this.dom=u,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",c.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return r.prototype.$updateEolChar=function(){var c=this.session.doc,g="\n"==c.getNewLineCharacter()&&"windows"!=c.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=g)return this.EOL_CHAR=g,!0},r.prototype.setPadding=function(c){this.$padding=c,this.element.style.margin="0 "+c+"px"},r.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},r.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},r.prototype.$setFontMetrics=function(c){this.$fontMetrics=c,this.$fontMetrics.on("changeCharacterSize",function(d){this._signal("changeCharacterSize",d)}.bind(this)),this.$pollSizeChanges()},r.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},r.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},r.prototype.setSession=function(c){this.session=c,c&&this.$computeTabString()},r.prototype.setShowInvisibles=function(c){return this.showInvisibles!=c&&(this.showInvisibles=c,"string"==typeof c?(this.showSpaces=/tab/i.test(c),this.showTabs=/space/i.test(c),this.showEOL=/eol/i.test(c)):this.showSpaces=this.showTabs=this.showEOL=c,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(c){return this.displayIndentGuides!=c&&(this.displayIndentGuides=c,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(c){return this.$highlightIndentGuides!==c&&(this.$highlightIndentGuides=c,c)},r.prototype.$computeTabString=function(){var c=this.session.getTabSize();this.tabSize=c;for(var d=this.$tabStrings=[0],g=1;gk&&(k=(M=this.session.getNextFoldLine(S=M.end.row+1,M))?M.start.row:1/0),!(S>C);){var I=x[w++];if(I){this.dom.removeChildren(I),this.$renderLine(I,S,S==k&&M),T&&(I.style.top=this.$lines.computeLineTop(S,c,this.session)+"px");var P=c.lineHeight*this.session.getRowLength(S)+"px";I.style.height!=P&&(T=!0,I.style.height=P)}S++}if(T)for(;w0;C--)this.$lines.shift();if(d.lastRow>c.lastRow)for(C=this.session.getFoldedRowCount(c.lastRow+1,d.lastRow);C>0;C--)this.$lines.pop();c.firstRowd.lastRow&&this.$lines.push(this.$renderLinesFragment(c,d.lastRow+1,c.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session),S=T.element;this.dom.removeChildren(S),u.setStyle(S.style,"height",this.$lines.computeLineHeight(C,c,this.session)+"px"),u.setStyle(S.style,"top",this.$lines.computeLineTop(C,c,this.session)+"px"),this.$renderLine(S,C,C==w&&x),S.className=this.$useLineGroups()?"ace_line_group":"ace_line",b.push(T),C++}return b},r.prototype.update=function(c){this.$lines.moveContainer(c),this.config=c;for(var d=c.firstRow,g=c.lastRow,b=this.$lines;b.getLength();)b.pop();b.push(this.$renderLinesFragment(c,d,g))},r.prototype.$renderToken=function(c,d,g,b){for(var T,C=this,x=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,w=this.dom.createFragment(this.element),S=0;T=x.exec(b);){var M=T[1],k=T[2],I=T[3],P=T[4],A=T[5];if(C.showSpaces||!k){var L=S!=T.index?b.slice(S,T.index):"";if(S=T.index+T[0].length,L&&w.appendChild(this.dom.createTextNode(L,this.element)),M){var F=C.session.getScreenTabSize(d+T.index);w.appendChild(C.$tabStrings[F].cloneNode(!0)),d+=F-1}else k?C.showSpaces?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",R.textContent=v.stringRepeat(C.SPACE_CHAR,k.length),w.appendChild(R)):w.appendChild(this.dom.createTextNode(k,this.element)):I?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",R.textContent=v.stringRepeat(C.SPACE_CHAR,I.length),w.appendChild(R)):P?(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className=C.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",R.textContent=C.showSpaces?C.SPACE_CHAR:P,w.appendChild(R)):A&&(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className="ace_cjk",R.textContent=A,w.appendChild(R))}}if(w.appendChild(this.dom.createTextNode(S?b.slice(S):b,this.element)),o(g.type))c.appendChild(w);else{var U="ace_"+g.type.replace(/\./g," ace_"),R=this.dom.createElement("span");"fold"==g.type&&(R.style.width=g.value.length*this.config.characterWidth+"px",R.setAttribute("title",h("Unfold code"))),R.className=U,R.appendChild(w),c.appendChild(R)}return d+b.length},r.prototype.renderIndentGuide=function(c,d,g){var b=d.search(this.$indentGuideRe);if(b<=0||b>=g)return d;if(" "==d[0]){for(var C=(b-=b%this.tabSize)/this.tabSize,x=0;xx[w].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==c[d.row]&&d.column===c[d.row].length)for(this.$highlightIndentGuideMarker.dir=1,w=d.row+1;w0)for(var C=0;C=this.$highlightIndentGuideMarker.start+1){if(b.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(b,d)}}else for(g=c.length-1;g>=0;g--)if(b=c[g],this.$highlightIndentGuideMarker.end&&b.row=x;)w=this.$renderToken(T,w,M,k.substring(0,x-b)),k=k.substring(x-b),b=x,T=this.$createLineElement(),c.appendChild(T),T.appendChild(this.dom.createTextNode(v.stringRepeat("\xa0",g.indent),this.element)),w=0,x=g[++C]||Number.MAX_VALUE;0!=k.length&&(b+=k.length,w=this.$renderToken(T,w,M,k))}}g[g.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(T,w,null,"",!0)},r.prototype.$renderSimpleLine=function(c,d){for(var g=0,b=0;bthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(c,g,C,x);g=this.$renderToken(c,g,C,x)}}},r.prototype.$renderOverflowMessage=function(c,d,g,b,C){g&&this.$renderToken(c,d,g,b.slice(0,this.MAX_LINE_LENGTH-d));var x=this.dom.createElement("span");x.className="ace_inline_button ace_keyword ace_toggle_wrap",x.textContent=C?"":"",c.appendChild(x)},r.prototype.$renderLine=function(c,d,g){if(!g&&0!=g&&(g=this.session.getFoldLine(d)),g)var b=this.$getFoldLineTokens(d,g);else b=this.session.getTokens(d);var C=c;if(b.length){var x=this.session.getRowSplitData(d);x&&x.length?(this.$renderWrappedLine(c,b,x),C=c.lastChild):(C=c,this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C)),this.$renderSimpleLine(C,b))}else this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C));if(this.showEOL&&C){g&&(d=g.end.row);var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_eol",w.textContent=d==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,C.appendChild(w)}},r.prototype.$getFoldLineTokens=function(c,d){var g=this.session,b=[],x=g.getTokens(c);return d.walk(function(w,T,S,M,k){null!=w?b.push({type:"fold",value:w}):(k&&(x=g.getTokens(T)),x.length&&function C(w,T,S){for(var M=0,k=0;k+w[M].value.lengthS-T&&(I=I.substring(0,S-T)),b.push({type:w[M].type,value:I}),k=T+I.length,M+=1);kS?{type:w[M].type,value:I.substring(0,S-k)}:w[M]),k+=I.length,M+=1}}(x,M,S))},d.end.row,this.session.getLine(d.end.row).length),b},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();l.prototype.EOF_CHAR="\xb6",l.prototype.EOL_CHAR_LF="\xac",l.prototype.EOL_CHAR_CRLF="\xa4",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="\u2014",l.prototype.SPACE_CHAR="\xb7",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,y.implement(l.prototype,m),f.Text=l}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s){this.element=y.createElement("div"),this.element.className="ace_layer ace_cursor-layer",s.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),y.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return v.prototype.$updateOpacity=function(s){for(var m=this.cursors,h=m.length;h--;)y.setStyle(m[h].style,"opacity",s?"":"0")},v.prototype.$startCssAnimation=function(){for(var s=this.cursors,m=s.length;m--;)s[m].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&y.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},v.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,y.removeCssClass(this.element,"ace_animate-blinking")},v.prototype.setPadding=function(s){this.$padding=s},v.prototype.setSession=function(s){this.session=s},v.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},v.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},v.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,y.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},v.prototype.addCursor=function(){var s=y.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},v.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},v.prototype.hideCursor=function(){this.isVisible=!1,y.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.showCursor=function(){this.isVisible=!0,y.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,y.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&y.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),y.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var m=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),m()},this.blinkInterval),m()}else this.$stopCssAnimation()},v.prototype.getPixelPosition=function(s,m){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var h=this.session.documentToScreenPosition(s);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(h.row,s.row)?this.session.$bidiHandler.getPosLeft(h.column):h.column*this.config.characterWidth),top:(h.row-(m?this.config.firstRowScreen:0))*this.config.lineHeight}},v.prototype.isCursorInView=function(s,m){return s.top>=0&&s.tops.height+s.offset||r.top<0)&&h>1)){var c=this.cursors[o++]||this.addCursor(),d=c.style;this.drawCursor?this.drawCursor(c,r,s,m[h],this.session):this.isCursorInView(r,s)?(y.setStyle(d,"display","block"),y.translate(c,r.left,r.top),y.setStyle(d,"width",Math.round(s.characterWidth)+"px"),y.setStyle(d,"height",s.lineHeight+"px")):y.setStyle(d,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var g=this.session.getOverwrite();this.$setOverwrite(g),this.$pixelPos=r,this.restartTimer()},v.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?y.addCssClass(this.element,"ace_overwrite-cursors"):y.removeCssClass(this.element,"ace_overwrite-cursors"))},v.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},v}();u.prototype.$padding=0,u.prototype.drawCursor=null,f.Cursor=u}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var c,y=this&&this.__extends||(c=function(d,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,C){b.__proto__=C}||function(b,C){for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&(b[x]=C[x])})(d,g)},function(d,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function b(){this.constructor=d}c(d,g),d.prototype=null===g?Object.create(g):(b.prototype=g.prototype,new b)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter,h=32768,o=function(){function c(d,g){this.element=v.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+g,this.inner=v.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),d.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addListener(this.element,"scroll",this.onScroll.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)}return c.prototype.setVisible=function(d){this.element.style.display=d?"":"none",this.isVisible=d,this.coeff=1},c}();u.implement(o.prototype,m);var l=function(c){function d(g,b){var C=c.call(this,g,"-v")||this;return C.scrollTop=0,C.scrollHeight=0,b.$scrollbarWidth=C.width=v.scrollbarWidth(g.ownerDocument),C.inner.style.width=C.element.style.width=(C.width||15)+5+"px",C.$minWidth=0,C}return y(d,c),d.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var g=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-g)/(this.coeff-g)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},d.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},d.prototype.setHeight=function(g){this.element.style.height=g+"px"},d.prototype.setScrollHeight=function(g){this.scrollHeight=g,g>h?(this.coeff=h/g,g=h):1!=this.coeff&&(this.coeff=1),this.inner.style.height=g+"px"},d.prototype.setScrollTop=function(g){this.scrollTop!=g&&(this.skipEvent=!0,this.scrollTop=g,this.element.scrollTop=g*this.coeff)},d}(o);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var r=function(c){function d(g,b){var C=c.call(this,g,"-h")||this;return C.scrollLeft=0,C.height=b.$scrollbarWidth,C.inner.style.height=C.element.style.height=(C.height||15)+5+"px",C}return y(d,c),d.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},d.prototype.getHeight=function(){return this.isVisible?this.height:0},d.prototype.setWidth=function(g){this.element.style.width=g+"px"},d.prototype.setInnerWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollLeft=function(g){this.scrollLeft!=g&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=g)},d}(o);f.ScrollBar=l,f.ScrollBarV=l,f.ScrollBarH=r,f.VScrollBar=l,f.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var r,y=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var C in b)Object.prototype.hasOwnProperty.call(b,C)&&(g[C]=b[C])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter;v.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var h=function(){function r(c,d){this.element=v.createElement("div"),this.element.className="ace_sb"+d,this.inner=v.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,c.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return r.prototype.setVisible=function(c){this.element.style.display=c?"":"none",this.isVisible=c,this.coeff=1},r}();u.implement(h.prototype,m);var o=function(r){function c(d,g){var b=r.call(this,d,"-v")||this;return b.scrollTop=0,b.scrollHeight=0,b.parent=d,b.width=b.VScrollWidth,b.renderer=g,b.inner.style.width=b.element.style.width=(b.width||15)+"px",b.$minWidth=0,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientY,T=g.clientY,S=this.thumbTop;s.capture(this.inner,function(P){C=P.clientY},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollTopFromThumbTop(S+C-T);P!==b.scrollTop&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.height},c.prototype.scrollTopFromThumbTop=function(d){var g=d*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(g>>=0)<0?g=0:g>this.pageHeight-this.viewHeight&&(g=this.pageHeight-this.viewHeight),g},c.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},c.prototype.setHeight=function(d){this.height=Math.max(0,d),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},c.prototype.setScrollHeight=function(d,g){this.pageHeight===d&&!g||(this.pageHeight=d,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},c.prototype.setScrollTop=function(d){this.scrollTop=d,d<0&&(d=0),this.thumbTop=d*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},c}(h);o.prototype.setInnerHeight=o.prototype.setScrollHeight;var l=function(r){function c(d,g){var b=r.call(this,d,"-h")||this;return b.scrollLeft=0,b.scrollWidth=0,b.height=b.HScrollHeight,b.inner.style.height=b.element.style.height=(b.height||12)+"px",b.renderer=g,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientX,T=g.clientX,S=this.thumbLeft;s.capture(this.inner,function(P){C=P.clientX},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollLeftFromThumbLeft(S+C-T);P!==b.scrollLeft&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.isVisible?this.height:0},c.prototype.scrollLeftFromThumbLeft=function(d){var g=d*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(g>>=0)<0?g=0:g>this.pageWidth-this.viewWidth&&(g=this.pageWidth-this.viewWidth),g},c.prototype.setWidth=function(d){this.width=Math.max(0,d),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},c.prototype.setScrollWidth=function(d,g){this.pageWidth===d&&!g||(this.pageWidth=d,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},c.prototype.setScrollLeft=function(d){this.scrollLeft=d,d<0&&(d=0),this.thumbLeft=d*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},c}(h);l.prototype.setInnerWidth=l.prototype.setScrollWidth,f.ScrollBar=o,f.ScrollBarV=o,f.ScrollBarH=l,f.VScrollBar=o,f.HScrollBar=l}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(n,f,D){"use strict";var y=n("./lib/event"),u=function(){function v(s,m){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=m||window;var h=this;this._flush=function(o){h.pending=!1;var l=h.changes;if(l&&(y.blockIdle(100),h.changes=0,h.onRender(l)),h.changes){if(h.$recursionLimit--<0)return;h.schedule()}else h.$recursionLimit=2}}return v.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(y.nextFrame(this._flush),this.pending=!0)},v.prototype.clear=function(s){var m=this.changes;return this.changes=0,m},v}();f.RenderLoop=u}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(n,f,D){var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("../lib/event"),m=n("../lib/useragent"),h=n("../lib/event_emitter").EventEmitter,o=512,l="function"==typeof ResizeObserver,r=200,c=function(){function d(g){this.el=u.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=u.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=u.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),g.appendChild(this.el),this.$measureNode.textContent=v.stringRepeat("X",o),this.$characterSize={width:0,height:0},l?this.$addObserver():this.checkForSizeChanges()}return d.prototype.$setMeasureNodeStyles=function(g,b){g.width=g.height="auto",g.left=g.top="0px",g.visibility="hidden",g.position="absolute",g.whiteSpace="pre",m.isIE<8?g["font-family"]="inherit":g.font="inherit",g.overflow=b?"hidden":"visible"},d.prototype.checkForSizeChanges=function(g){if(void 0===g&&(g=this.$measureSizes()),g&&(this.$characterSize.width!==g.width||this.$characterSize.height!==g.height)){this.$measureNode.style.fontWeight="bold";var b=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=g,this.charSizes=Object.create(null),this.allowBoldFonts=b&&b.width===g.width&&b.height===g.height,this._emit("changeCharacterSize",{data:g})}},d.prototype.$addObserver=function(){var g=this;this.$observer=new window.ResizeObserver(function(b){g.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},d.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var g=this;return this.$pollSizeChangesTimer=s.onIdle(function b(){g.checkForSizeChanges(),s.onIdle(b,500)},500)},d.prototype.setPolling=function(g){g?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},d.prototype.$measureSizes=function(g){var b={height:(g||this.$measureNode).clientHeight,width:(g||this.$measureNode).clientWidth/o};return 0===b.width||0===b.height?null:b},d.prototype.$measureCharWidth=function(g){return this.$main.textContent=v.stringRepeat(g,o),this.$main.getBoundingClientRect().width/o},d.prototype.getCharacterWidth=function(g){var b=this.charSizes[g];return void 0===b&&(b=this.charSizes[g]=this.$measureCharWidth(g)/this.$characterSize.width),b},d.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},d.prototype.$getZoom=function(g){return g&&g.parentElement?(window.getComputedStyle(g).zoom||1)*this.$getZoom(g.parentElement):1},d.prototype.$initTransformMeasureNodes=function(){var g=function(b,C){return["div",{style:"position: absolute;top:"+b+"px;left:"+C+"px;"}]};this.els=u.buildDom([g(0,0),g(r,0),g(0,r),g(r,r)],this.el)},d.prototype.transformCoordinates=function(g,b){function x(B,$,Z){var H=B[1]*$[0]-B[0]*$[1];return[(-$[1]*Z[0]+$[0]*Z[1])/H,(+B[1]*Z[0]-B[0]*Z[1])/H]}function w(B,$){return[B[0]-$[0],B[1]-$[1]]}function T(B,$){return[B[0]+$[0],B[1]+$[1]]}function S(B,$){return[B*$[0],B*$[1]]}function M(B){var $=B.getBoundingClientRect();return[$.left,$.top]}g&&(g=S(1/this.$getZoom(this.el),g)),this.els||this.$initTransformMeasureNodes();var k=M(this.els[0]),I=M(this.els[1]),P=M(this.els[2]),A=M(this.els[3]),L=x(w(A,I),w(A,P),w(T(I,P),T(A,k))),F=S(1+L[0],w(I,k)),R=S(1+L[1],w(P,k));if(b){var U=b,W=L[0]*U[0]/r+L[1]*U[1]/r+1,ne=T(S(U[0],F),S(U[1],R));return T(S(1/W/r,ne),k)}var ee=w(g,k),j=x(w(F,S(L[0],ee)),w(R,S(L[1],ee)),ee);return S(r,j)},d}();c.prototype.$characterSize={width:0,height:0},y.implement(c.prototype,h),f.FontMetrics=c}),ace.define("ace/css/editor-css",["require","exports","module"],function(n,f,D){D.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/oop"),v=n("../lib/event_emitter").EventEmitter,s=function(){function m(h,o){this.canvas=y.createElement("canvas"),this.renderer=o,this.pixelRatio=1,this.maxHeight=o.layerConfig.maxHeight,this.lineHeight=o.layerConfig.lineHeight,this.canvasHeight=h.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=h.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},h.element.appendChild(this.canvas)}return m.prototype.$updateDecorators=function(h){var o=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;h&&(this.maxHeight=h.maxHeight,this.lineHeight=h.lineHeight,this.canvasHeight=h.height,this.heightRatio=(h.lastRow+1)*this.lineHeightL.priority?1:0});for(var b=this.renderer.session.$foldData,C=0;Cthis.canvasHeight&&(I=this.canvasHeight-this.halfMinDecorationHeight),S=Math.round(I-this.halfMinDecorationHeight),M=Math.round(I+this.halfMinDecorationHeight)}r.fillStyle=o[d[C].type]||null,r.fillRect(0,T,this.canvasWidth,M-S)}}var P=this.renderer.session.selection.getCursor();P&&(w=this.compensateFoldRows(P.row,b),T=Math.round((P.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,T,this.canvasWidth,2))},m.prototype.compensateFoldRows=function(h,o){var l=0;if(o&&o.length>0)for(var r=0;ro[r].start.row&&h=o[r].end.row&&(l+=o[r].end.row-o[r].start.row);return l},m}();u.implement(s.prototype,v),f.Decorator=s}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/dom"),v=n("./lib/lang"),s=n("./config"),m=n("./layer/gutter").Gutter,h=n("./layer/marker").Marker,o=n("./layer/text").Text,l=n("./layer/cursor").Cursor,r=n("./scrollbar").HScrollBar,c=n("./scrollbar").VScrollBar,d=n("./scrollbar_custom").HScrollBar,g=n("./scrollbar_custom").VScrollBar,b=n("./renderloop").RenderLoop,C=n("./layer/font_metrics").FontMetrics,x=n("./lib/event_emitter").EventEmitter,w=n("./css/editor-css"),T=n("./layer/decorators").Decorator,S=n("./lib/useragent");u.importCssString(w,"ace_editor.css",!1);var M=function(){function k(I,P){var A=this;this.container=I||u.createElement("div"),u.addCssClass(this.container,"ace_editor"),u.HI_DPI&&u.addCssClass(this.container,"ace_hidpi"),this.setTheme(P),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=u.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=u.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=u.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new m(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new h(this.content);var L=this.$textLayer=new o(this.content);this.canvas=L.element,this.$markerFront=new h(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new c(this.container,this),this.scrollBarH=new r(this.container,this),this.scrollBarV.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollTop(F.data-A.scrollMargin.top)}),this.scrollBarH.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollLeft(F.data-A.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new C(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(F){A.updateCharacterSize(),A.onResize(!0,A.gutterWidth,A.$size.width,A.$size.height),A._signal("changeCharacterSize",F)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!S.isIOS,this.$loop=new b(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return k.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),u.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},k.prototype.setSession=function(I){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=I,I&&this.scrollMargin.top&&I.getScrollTop()<=0&&I.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(I),this.$markerBack.setSession(I),this.$markerFront.setSession(I),this.$gutterLayer.setSession(I),this.$textLayer.setSession(I),I&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},k.prototype.updateLines=function(I,P,A){if(void 0===P&&(P=1/0),this.$changedLines?(this.$changedLines.firstRow>I&&(this.$changedLines.firstRow=I),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},k.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},k.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},k.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},k.prototype.updateFull=function(I){I?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},k.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},k.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},k.prototype.onResize=function(I,P,A,L){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=I?1:0;var F=this.container;L||(L=F.clientHeight||F.scrollHeight),A||(A=F.clientWidth||F.scrollWidth);var R=this.$updateCachedSize(I,P,A,L);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!A&&!L)return this.resizing=0;I&&(this.$gutterLayer.$padding=null),I?this.$renderChanges(R|this.$changes,!0):this.$loop.schedule(R|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},k.prototype.$updateCachedSize=function(I,P,A,L){var F=0,R=this.$size,U={width:R.width,height:R.height,scrollerHeight:R.scrollerHeight,scrollerWidth:R.scrollerWidth};if((L-=this.$extraHeight||0)&&(I||R.height!=L)&&(R.height=L,F|=this.CHANGE_SIZE,R.scrollerHeight=R.height,this.$horizScroll&&(R.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(R.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",F|=this.CHANGE_SCROLL),A&&(I||R.width!=A)){F|=this.CHANGE_SIZE,R.width=A,null==P&&(P=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=P,u.setStyle(this.scrollBarH.element.style,"left",P+"px"),u.setStyle(this.scroller.style,"left",P+this.margin.left+"px"),R.scrollerWidth=Math.max(0,A-P-this.scrollBarV.getWidth()-this.margin.h),u.setStyle(this.$gutter.style,"left",this.margin.left+"px");var W=this.scrollBarV.getWidth()+"px";u.setStyle(this.scrollBarH.element.style,"right",W),u.setStyle(this.scroller.style,"right",W),u.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(R.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||I)&&(F|=this.CHANGE_FULL)}return R.$dirty=!A||!L,F&&this._signal("resize",U),F},k.prototype.onGutterResize=function(I){var P=this.$showGutter?I:0;P!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,P,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},k.prototype.adjustWrapLimit=function(){var P=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(P,this.$showPrintMargin&&this.$printMarginColumn)},k.prototype.setAnimatedScroll=function(I){this.setOption("animatedScroll",I)},k.prototype.getAnimatedScroll=function(){return this.$animatedScroll},k.prototype.setShowInvisibles=function(I){this.setOption("showInvisibles",I),this.session.$bidiHandler.setShowInvisibles(I)},k.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},k.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},k.prototype.setDisplayIndentGuides=function(I){this.setOption("displayIndentGuides",I)},k.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},k.prototype.setHighlightIndentGuides=function(I){this.setOption("highlightIndentGuides",I)},k.prototype.setShowPrintMargin=function(I){this.setOption("showPrintMargin",I)},k.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},k.prototype.setPrintMarginColumn=function(I){this.setOption("printMarginColumn",I)},k.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},k.prototype.getShowGutter=function(){return this.getOption("showGutter")},k.prototype.setShowGutter=function(I){return this.setOption("showGutter",I)},k.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},k.prototype.setFadeFoldWidgets=function(I){this.setOption("fadeFoldWidgets",I)},k.prototype.setHighlightGutterLine=function(I){this.setOption("highlightGutterLine",I)},k.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},k.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var I=u.createElement("div");I.className="ace_layer ace_print-margin-layer",this.$printMarginEl=u.createElement("div"),this.$printMarginEl.className="ace_print-margin",I.appendChild(this.$printMarginEl),this.content.insertBefore(I,this.content.firstChild)}var P=this.$printMarginEl.style;P.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",P.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},k.prototype.getContainerElement=function(){return this.container},k.prototype.getMouseEventTarget=function(){return this.scroller},k.prototype.getTextAreaContainer=function(){return this.container},k.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var I=this.textarea.style,P=this.$composition;if(!this.$keepTextAreaAtCursor&&!P)return void u.translate(this.textarea,-100,0);var A=this.$cursorLayer.$pixelPos;if(A){P&&P.markerRange&&(A=this.$cursorLayer.getPixelPosition(P.markerRange.start,!0));var L=this.layerConfig,F=A.top,R=A.left,U=P&&P.useTextareaForIME||S.isMobile?this.lineHeight:1;if((F-=L.offset)<0||F>L.height-U)return void u.translate(this.textarea,0,0);var W=1,ne=this.$size.height-U;P?P.useTextareaForIME?W=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:F+=this.lineHeight+2:F+=this.lineHeight,(R-=this.scrollLeft)>this.$size.scrollerWidth-W&&(R=this.$size.scrollerWidth-W),R+=this.gutterWidth+this.margin.left,u.setStyle(I,"height",U+"px"),u.setStyle(I,"width",W+"px"),u.translate(this.textarea,Math.min(R,this.$size.scrollerWidth-W),Math.min(F,ne))}}},k.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},k.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},k.prototype.getLastFullyVisibleRow=function(){var I=this.layerConfig,P=I.lastRow;return this.session.documentToScreenRow(P,0)*I.lineHeight-this.session.getScrollTop()>I.height-I.lineHeight?P-1:P},k.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},k.prototype.setPadding=function(I){this.$padding=I,this.$textLayer.setPadding(I),this.$cursorLayer.setPadding(I),this.$markerFront.setPadding(I),this.$markerBack.setPadding(I),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},k.prototype.setScrollMargin=function(I,P,A,L){var F=this.scrollMargin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,F.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-F.top),this.updateFull()},k.prototype.setMargin=function(I,P,A,L){var F=this.margin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},k.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},k.prototype.setHScrollBarAlwaysVisible=function(I){this.setOption("hScrollBarAlwaysVisible",I)},k.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},k.prototype.setVScrollBarAlwaysVisible=function(I){this.setOption("vScrollBarAlwaysVisible",I)},k.prototype.$updateScrollBarV=function(){var I=this.layerConfig.maxHeight,P=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(I-=(P-this.lineHeight)*this.$scrollPastEnd)-P&&(I=this.scrollTop+P,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(I+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},k.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},k.prototype.freeze=function(){this.$frozen=!0},k.prototype.unfreeze=function(){this.$frozen=!1},k.prototype.$renderChanges=function(I,P){if(this.$changes&&(I|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(I||P)){if(this.$size.$dirty)return this.$changes|=I,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",I),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var A=this.layerConfig;if(I&this.CHANGE_FULL||I&this.CHANGE_SIZE||I&this.CHANGE_TEXT||I&this.CHANGE_LINES||I&this.CHANGE_SCROLL||I&this.CHANGE_H_SCROLL){if(I|=this.$computeLayerConfig()|this.$loop.clear(),A.firstRow!=this.layerConfig.firstRow&&A.firstRowScreen==this.layerConfig.firstRowScreen){var L=this.scrollTop+(A.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;L>0&&(this.scrollTop=L,I|=this.CHANGE_SCROLL,I|=this.$computeLayerConfig()|this.$loop.clear())}A=this.layerConfig,this.$updateScrollBarV(),I&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),u.translate(this.content,-this.scrollLeft,-A.offset);var R=A.minHeight+"px";u.setStyle(this.content.style,"width",A.width+2*this.$padding+"px"),u.setStyle(this.content.style,"height",R)}return I&this.CHANGE_H_SCROLL&&(u.translate(this.content,-this.scrollLeft,-A.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),I&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):I&this.CHANGE_SCROLL?(this.$changedLines=null,I&this.CHANGE_TEXT||I&this.CHANGE_LINES?this.$textLayer.update(A):this.$textLayer.scrollLines(A),this.$showGutter&&(I&this.CHANGE_GUTTER||I&this.CHANGE_LINES?this.$gutterLayer.update(A):this.$gutterLayer.scrollLines(A)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):(I&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_LINES?((this.$updateLines()||I&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_TEXT||I&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)),I&this.CHANGE_CURSOR&&(this.$cursorLayer.update(A),this.$moveTextAreaToCursor()),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(A),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(A),void this._signal("afterRender",I))}this.$changes|=I},k.prototype.$autosize=function(){var I=this.session.getScreenLength()*this.lineHeight,P=this.$maxLines*this.lineHeight,A=Math.min(P,Math.max((this.$minLines||1)*this.lineHeight,I))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(A+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&A>this.$maxPixelHeight&&(A=this.$maxPixelHeight);var F=!(A<=2*this.lineHeight)&&I>P;if(A!=this.desiredHeight||this.$size.height!=this.desiredHeight||F!=this.$vScroll){F!=this.$vScroll&&(this.$vScroll=F,this.scrollBarV.setVisible(F));var R=this.container.clientWidth;this.container.style.height=A+"px",this.$updateCachedSize(!0,this.$gutterWidth,R,A),this.desiredHeight=A,this._signal("autosize")}},k.prototype.$computeLayerConfig=function(){var I=this.session,P=this.$size,A=P.height<=2*this.lineHeight,F=this.session.getScreenLength()*this.lineHeight,R=this.$getLongestLine(),U=!A&&(this.$hScrollBarAlwaysVisible||P.scrollerWidth-R-2*this.$padding<0),W=this.$horizScroll!==U;W&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ne=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ee=P.scrollerHeight+this.lineHeight,j=!this.$maxLines&&this.$scrollPastEnd?(P.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;F+=j;var B=this.scrollMargin;this.session.setScrollTop(Math.max(-B.top,Math.min(this.scrollTop,F-P.scrollerHeight+B.bottom))),this.session.setScrollLeft(Math.max(-B.left,Math.min(this.scrollLeft,R+2*this.$padding-P.scrollerWidth+B.right)));var $=!A&&(this.$vScrollBarAlwaysVisible||P.scrollerHeight-F+j<0||this.scrollTop>B.top),Z=ne!==$;Z&&(this.$vScroll=$,this.scrollBarV.setVisible($));var Ge,$e,H=this.scrollTop%this.lineHeight,te=Math.ceil(ee/this.lineHeight)-1,ue=Math.max(0,Math.round((this.scrollTop-H)/this.lineHeight)),ye=ue+te,Ye=this.lineHeight;ue=I.screenToDocumentRow(ue,0);var Ze=I.getFoldLine(ue);Ze&&(ue=Ze.start.row),Ge=I.documentToScreenRow(ue,0),$e=I.getRowLength(ue)*Ye,ye=Math.min(I.screenToDocumentRow(ye,0),I.getLength()-1),ee=P.scrollerHeight+I.getRowLength(ye)*Ye+$e,H=this.scrollTop-Ge*Ye;var Et=0;return(this.layerConfig.width!=R||W)&&(Et=this.CHANGE_H_SCROLL),(W||Z)&&(Et|=this.$updateCachedSize(!0,this.gutterWidth,P.width,P.height),this._signal("scrollbarVisibilityChanged"),Z&&(R=this.$getLongestLine())),this.layerConfig={width:R,padding:this.$padding,firstRow:ue,firstRowScreen:Ge,lastRow:ye,lineHeight:Ye,characterWidth:this.characterWidth,minHeight:ee,maxHeight:F,offset:H,gutterOffset:Ye?Math.max(0,Math.ceil((H+P.height-P.scrollerHeight)/Ye)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(R-this.$padding),Et},k.prototype.$updateLines=function(){if(this.$changedLines){var I=this.$changedLines.firstRow,P=this.$changedLines.lastRow;this.$changedLines=null;var A=this.layerConfig;if(!(I>A.lastRow+1||Pthis.$textLayer.MAX_LINE_LENGTH&&(I=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(I*this.characterWidth))},k.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},k.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},k.prototype.addGutterDecoration=function(I,P){this.$gutterLayer.addGutterDecoration(I,P)},k.prototype.removeGutterDecoration=function(I,P){this.$gutterLayer.removeGutterDecoration(I,P)},k.prototype.updateBreakpoints=function(I){this._rows=I,this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.setAnnotations=function(I){this.$gutterLayer.setAnnotations(I),this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},k.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},k.prototype.showCursor=function(){this.$cursorLayer.showCursor()},k.prototype.scrollSelectionIntoView=function(I,P,A){this.scrollCursorIntoView(I,A),this.scrollCursorIntoView(P,A)},k.prototype.scrollCursorIntoView=function(I,P,A){if(0!==this.$size.scrollerHeight){var L=this.$cursorLayer.getPixelPosition(I),F=L.left,R=L.top,U=A&&A.top||0,W=A&&A.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ne=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ne+U>R?(P&&ne+U>R+this.lineHeight&&(R-=P*this.$size.scrollerHeight),0===R&&(R=-this.scrollMargin.top),this.session.setScrollTop(R)):ne+this.$size.scrollerHeight-W=1-this.scrollMargin.top||P>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||I<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||I>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},k.prototype.pixelToScreenCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=Math.floor((P+this.scrollTop-A.top)/this.lineHeight),W=this.$blockCursor?Math.floor(R):Math.round(R);return{row:U,column:W,side:R-W>0?1:-1,offsetX:F}},k.prototype.screenToTextCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=this.$blockCursor?Math.floor(R):Math.round(R),W=Math.floor((P+this.scrollTop-A.top)/this.lineHeight);return this.session.screenToDocumentPosition(W,Math.max(U,0),F)},k.prototype.textToScreenCoordinates=function(I,P){var A=this.scroller.getBoundingClientRect(),L=this.session.documentToScreenPosition(I,P),F=this.$padding+(this.session.$bidiHandler.isBidiRow(L.row,I)?this.session.$bidiHandler.getPosLeft(L.column):Math.round(L.column*this.characterWidth));return{pageX:A.left+F-this.scrollLeft,pageY:A.top+L.row*this.lineHeight-this.scrollTop}},k.prototype.visualizeFocus=function(){u.addCssClass(this.container,"ace_focus")},k.prototype.visualizeBlur=function(){u.removeCssClass(this.container,"ace_focus")},k.prototype.showComposition=function(I){this.$composition=I,I.cssText||(I.cssText=this.textarea.style.cssText),null==I.useTextareaForIME&&(I.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(u.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):I.markerId=this.session.addMarker(I.markerRange,"ace_composition_marker","text")},k.prototype.setCompositionText=function(I){var P=this.session.selection.cursor;this.addToken(I,"composition_placeholder",P.row,P.column),this.$moveTextAreaToCursor()},k.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),u.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var I=this.session.selection.cursor;this.removeExtraToken(I.row,I.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},k.prototype.setGhostText=function(I,P){var A=this.session.selection.cursor,L=P||{row:A.row,column:A.column};this.removeGhostText();var F=I.split("\n");if(this.addToken(F[0],"ghost_text",L.row,L.column),this.$ghostText={text:I,position:{row:L.row,column:L.column}},F.length>1){this.$ghostTextWidget={text:F.slice(1).join("\n"),row:L.row,column:L.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var R=this.$cursorLayer.getPixelPosition(L,!0),W=this.container.getBoundingClientRect().height,ne=F.length*this.lineHeight;if(ne1||Math.abs(I.$size.height-L)>1?I.$resizeTimer.delay():I.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},k}();M.prototype.CHANGE_CURSOR=1,M.prototype.CHANGE_MARKER=2,M.prototype.CHANGE_GUTTER=4,M.prototype.CHANGE_SCROLL=8,M.prototype.CHANGE_LINES=16,M.prototype.CHANGE_TEXT=32,M.prototype.CHANGE_SIZE=64,M.prototype.CHANGE_MARKER_BACK=128,M.prototype.CHANGE_MARKER_FRONT=256,M.prototype.CHANGE_FULL=512,M.prototype.CHANGE_H_SCROLL=1024,M.prototype.$changes=0,M.prototype.$padding=null,M.prototype.$frozen=!1,M.prototype.STEPS=8,y.implement(M.prototype,x),s.defineOptions(M.prototype,"renderer",{useResizeObserver:{set:function(k){!k&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):k&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(k){this.$textLayer.setShowInvisibles(k)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(k){"number"==typeof k&&(this.$printMarginColumn=k),this.$showPrintMargin=!!k,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(k){this.$gutter.style.display=k?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(k){this.$gutterLayer.$useSvgGutterIcons=k},initialValue:!1},showFoldedAnnotations:{set:function(k){this.$gutterLayer.$showFoldedAnnotations=k},initialValue:!1},fadeFoldWidgets:{set:function(k){u.setCssClass(this.$gutter,"ace_fade-fold-widgets",k)},initialValue:!1},showFoldWidgets:{set:function(k){this.$gutterLayer.setShowFoldWidgets(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(k){this.$textLayer.setDisplayIndentGuides(k)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(k){1==this.$textLayer.setHighlightIndentGuides(k)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(k){this.$gutterLayer.setHighlightGutterLine(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(k){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(k){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(k){"number"==typeof k&&(k+="px"),this.container.style.fontSize=k,this.updateFontSize()},initialValue:12},fontFamily:{set:function(k){this.container.style.fontFamily=k,this.updateFontSize()}},maxLines:{set:function(k){this.updateFull()}},minLines:{set:function(k){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(k){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(k){this.$scrollPastEnd!=(k=+k||0)&&(this.$scrollPastEnd=k,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(k){this.$gutterLayer.$fixedWidth=!!k,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(k){this.$updateCustomScrollbar(k)},initialValue:!1},theme:{set:function(k){this.setTheme(k)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!S.isMobile&&!S.isIE}}),f.VirtualRenderer=M}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/net"),v=n("../lib/event_emitter").EventEmitter,s=n("../config");function h(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var c=function m(r){var c="importScripts('"+u.qualifyURL(r)+"');";try{return new Blob([c],{type:"application/javascript"})}catch{var g=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return g.append(c),g.getBlob("application/javascript")}}(r),g=(window.URL||window.webkitURL).createObjectURL(c);return new Worker(g)}return new Worker(r)}var o=function(r){r.postMessage||(r=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=r,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){y.implement(this,v),this.$createWorkerFromOldConfig=function(r,c,d,g,b){if(n.nameToUrl&&!n.toUrl&&(n.toUrl=n.nameToUrl),s.get("packaged")||!n.toUrl)g=g||s.moduleUrl(c,"worker");else{var C=this.$normalizePath;g=g||C(n.toUrl("ace/worker/worker.js",null,"_"));var x={};r.forEach(function(w){x[w]=C(n.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=h(g),b&&this.send("importScripts",b),this.$worker.postMessage({init:!0,tlns:x,module:c,classname:d}),this.$worker},this.onMessage=function(r){var c=r.data;switch(c.type){case"event":this._signal(c.name,{data:c.data});break;case"call":var d=this.callbacks[c.id];d&&(d(c.data),delete this.callbacks[c.id]);break;case"error":this.reportError(c.data);break;case"log":window.console&&console.log&&console.log.apply(console,c.data)}},this.reportError=function(r){window.console&&console.error&&console.error(r)},this.$normalizePath=function(r){return u.qualifyURL(r)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(r){r.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(r,c){this.$worker.postMessage({command:r,args:c})},this.call=function(r,c,d){if(d){var g=this.callbackId++;this.callbacks[g]=d,c.push(g)}this.send(r,c)},this.emit=function(r,c){try{c.data&&c.data.err&&(c.data.err={message:c.data.err.message,stack:c.data.err.stack,code:c.data.err.code}),this.$worker&&this.$worker.postMessage({event:r,data:{data:c.data}})}catch(d){console.error(d.stack)}},this.attachToDocument=function(r){this.$doc&&this.terminate(),this.$doc=r,this.call("setValue",[r.getValue()]),r.on("change",this.changeListener,!0)},this.changeListener=function(r){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(r.start,"insert"==r.action?r.lines:r.end)},this.$sendDeltaQueue=function(){var r=this.deltaQueue;r&&(this.deltaQueue=null,r.length>50&&r.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:r}))}}).call(o.prototype),f.UIWorkerClient=function(r,c,d){var g=null,b=!1,C=Object.create(v),x=[],w=new o({messageBuffer:x,terminate:function(){},postMessage:function(S){x.push(S),g&&(b?setTimeout(T):T())}});w.setEmitSync=function(S){b=S};var T=function(){var S=x.shift();S.command?g[S.command].apply(g,S.args):S.event&&C._signal(S.event,S.data)};return C.postMessage=function(S){w.onMessage({data:S})},C.callback=function(S,M){this.postMessage({type:"call",id:M,data:S})},C.emit=function(S,M){this.postMessage({type:"event",name:S,data:M})},s.loadModule(["worker",c],function(S){for(g=new S[d](C);x.length;)T()}),w},f.WorkerClient=o,f.createWorker=h}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(n,f,D){"use strict";var y=n("./range").Range,u=n("./lib/event_emitter").EventEmitter,v=n("./lib/oop"),s=function(){function m(h,o,l,r,c,d){var g=this;this.length=o,this.session=h,this.doc=h.getDocument(),this.mainClass=c,this.othersClass=d,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){g.onCursorChange()})},this.$pos=l;var b=h.getUndoManager().$undoStack||h.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=b.length,this.setup(),h.selection.on("changeCursor",this.$onCursorChange)}return m.prototype.setup=function(){var h=this,o=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=o.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=l.addMarker(new y(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(c){var d=o.createAnchor(c.row,c.column);d.$insertRight=!0,d.detach(),h.others.push(d)}),l.setUndoSelect(!1)},m.prototype.showOtherMarkers=function(){if(!this.othersActive){var h=this.session,o=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=h.addMarker(new y(l.row,l.column,l.row,l.column+o.length),o.othersClass,null,!1)})}},m.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var h=0;h=this.pos.column&&o.start.column<=this.pos.column+this.length+1,c=o.start.column-this.pos.column;if(this.updateAnchors(h),r&&(this.length+=l),r&&!this.session.$fromUndo)if("insert"===h.action)for(var d=this.others.length-1;d>=0;d--)this.doc.insertMergedLines(b={row:(g=this.others[d]).row,column:g.column+c},h.lines);else if("remove"===h.action)for(d=this.others.length-1;d>=0;d--){var g,b;this.doc.remove(new y((b={row:(g=this.others[d]).row,column:g.column+c}).row,b.column,b.row,b.column-l))}this.$updating=!1,this.updateMarkers()}},m.prototype.updateAnchors=function(h){this.pos.onChange(h);for(var o=this.others.length;o--;)this.others[o].onChange(h);this.updateMarkers()},m.prototype.updateMarkers=function(){if(!this.$updating){var h=this,o=this.session,l=function(c,d){o.removeMarker(c.markerId),c.markerId=o.addMarker(new y(c.row,c.column,c.row,c.column+h.length),d,null,!1)};l(this.pos,this.mainClass);for(var r=this.others.length;r--;)l(this.others[r],this.othersClass)}},m.prototype.onCursorChange=function(h){if(!this.$updating&&this.session){var o=this.session.selection.getCursor();o.row===this.pos.row&&o.column>=this.pos.column&&o.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",h)):(this.hideOtherMarkers(),this._emit("cursorLeave",h))}},m.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},m.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var h=this.session.getUndoManager(),o=(h.$undoStack||h.$undostack).length-this.$undoStackDepth,l=0;l1?u.multiSelect.joinSelections():u.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(u){u.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(u){u.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(u){u.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],f.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(u){u.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(u){return u&&u.inMultiSelectMode}}];var y=n("../keyboard/hash_handler").HashHandler;f.keyboardHandler=new y(f.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(n,f,D){var y=n("./range_list").RangeList,u=n("./range").Range,v=n("./selection").Selection,s=n("./mouse/multi_select_handler").onMouseDown,m=n("./lib/event"),h=n("./lib/lang"),o=n("./commands/multi_select_commands");f.commands=o.defaultCommands.concat(o.multiSelectCommands);var r=new(0,n("./search").Search),d=n("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,T){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var S=this.toOrientedRange();if(this.rangeList.add(S),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),T||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(S),this.$onAddRange(S)}w.cursor||(w.cursor=w.end);var M=this.rangeList.add(w);return this.$onAddRange(w),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),T||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var T=this.rangeList.removeAll();T.length&&this.$onRemoveRange(T),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var T=this.rangeList.substractPoint(w);if(T)return this.$onRemoveRange(T),T[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var T=this.rangeList.ranges.pop();w.push(T),this.rangeCount=0}for(var S=w.length;S--;){var M=this.ranges.indexOf(w[S]);this.ranges.splice(M,1)}this._signal("removeRange",{ranges:w}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(T=T||this.ranges[0])&&!T.isEqual(this.getRange())&&this.fromOrientedRange(T)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new y,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],T=[],S=0;S1){var w=this.rangeList.ranges,T=w[w.length-1],S=u.fromPoints(w[0].start,T.end);this.toSingleRange(),this.setSelectionRange(S,T.cursor==T.start)}else{var M=this.session.documentToScreenPosition(this.cursor),k=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(M,k).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,T,S){var M=[],k=w.column0;)j--;if(j>0)for(var B=0;M[B].isEmpty();)B++;for(var $=j;$>=B;$--)M[$].isEmpty()&&M.splice($,1)}return M}}.call(v.prototype);var g=n("./editor").Editor;function b(w,T){return w.row==T.row&&w.column==T.column}function C(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=f.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",s),w.commands.addCommands(o.defaultCommands),function x(w){if(w.textInput){var T=w.textInput.getElement(),S=!1;m.addListener(T,"keydown",function(k){w.$blockSelectEnabled&&18==k.keyCode&&!(k.ctrlKey||k.shiftKey||k.metaKey)?S||(w.renderer.setMouseCursor("crosshair"),S=!0):S&&M()},w),m.addListener(T,"keyup",M,w),m.addListener(T,"blur",M,w)}function M(k){S&&(w.renderer.setMouseCursor(""),S=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var T=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",T),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(w.marker){this.session.removeMarker(w.marker);var T=this.session.$selectionMarkers.indexOf(w);-1!=T&&this.session.$selectionMarkers.splice(T,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var T=this.session.$selectionMarkers,S=w.length;S--;){var M=w[S];if(M.marker){this.session.removeMarker(M.marker);var k=T.indexOf(M);-1!=k&&T.splice(k,1)}}this.session.selectionMarkerCount=T.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(o.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(o.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var T=w.command,S=w.editor;if(S.multiSelect){if(T.multiSelectAction)"forEach"==T.multiSelectAction?M=S.forEachSelection(T,w.args):"forEachLine"==T.multiSelectAction?M=S.forEachSelection(T,w.args,!0):"single"==T.multiSelectAction?(S.exitMultiSelectMode(),M=T.exec(S,w.args||{})):M=T.multiSelectAction(S,w.args||{});else{var M=T.exec(S,w.args||{});S.multiSelect.addRange(S.multiSelect.toOrientedRange()),S.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(w,T,S){if(!this.inVirtualSelectionMode){var F,k=1==S||S&&S.$byLines,I=this.session,P=this.selection,L=(S&&S.keepOrder?P:P.rangeList).ranges;if(!L.length)return w.exec?w.exec(this,T||{}):w(this,T||{});var R=P._eventRegistry;P._eventRegistry={};var U=new v(I);this.inVirtualSelectionMode=!0;for(var W=L.length;W--;){if(k)for(;W>0&&L[W].start.row==L[W-1].end.row;)W--;U.fromOrientedRange(L[W]),U.index=W,this.selection=I.selection=U;var ne=w.exec?w.exec(this,T||{}):w(this,T||{});!F&&void 0!==ne&&(F=ne),U.toOrientedRange(L[W])}U.detach(),this.selection=I.selection=P,this.inVirtualSelectionMode=!1,P._eventRegistry=R,P.mergeOverlappingRanges(),P.ranges[0]&&P.fromOrientedRange(P.ranges[0]);var ee=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ee&&ee.from==ee.to&&this.renderer.animateScrolling(ee.from),F}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var T=this.multiSelect.rangeList.ranges,S=[],M=0;MW&&(W=B.column),ZH?w.insert($,h.stringRepeat(" ",Z-H)):w.remove(new u($.row,$.column,$.row,$.column-Z+H)),j.start.column=j.end.column=W,j.start.row=j.end.row=$.row,j.cursor=j.end}),T.fromOrientedRange(S[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var I=this.selection.getRange(),P=I.start.row,A=I.end.row,L=P==A;if(L){var R,F=this.session.getLength();do{R=this.session.getLine(A)}while(/[=:]/.test(R)&&++A0);P<0&&(P=0),A>=F&&(A=F-1)}var U=this.session.removeFullLines(P,A);U=this.$reAlignText(U,L),this.session.insert({row:P,column:0},U.join("\n")+"\n"),L||(I.start.column=0,I.end.column=U[U.length-1].length),this.selection.setRange(I)}},this.$reAlignText=function(w,T){var k,I,P,S=!0,M=!0;return w.map(function(U){var W=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return W?null==k?(k=W[1].length,I=W[2].length,P=W[3].length,W):(k+I+P!=W[1].length+W[2].length+W[3].length&&(M=!1),k!=W[1].length&&(S=!1),k>W[1].length&&(k=W[1].length),IW[3].length&&(P=W[3].length),W):[U]}).map(T?L:S?M?function F(U){return U[2]?A(k+I-U[2].length)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:L:function R(U){return U[2]?A(k)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function A(U){return h.stringRepeat(" ",U)}function L(U){return U[2]?A(k)+U[2]+A(I-U[2].length+P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}}}).call(g.prototype),f.onSessionChange=function(w){var T=w.session;T&&!T.multiSelect&&(T.$selectionMarkers=[],T.selection.$initRangeList(),T.multiSelect=T.selection),this.multiSelect=T&&T.multiSelect;var S=w.oldSession;S&&(S.multiSelect.off("addRange",this.$onAddRange),S.multiSelect.off("removeRange",this.$onRemoveRange),S.multiSelect.off("multiSelect",this.$onMultiSelect),S.multiSelect.off("singleSelect",this.$onSingleSelect),S.multiSelect.lead.off("change",this.$checkMultiselectChange),S.multiSelect.anchor.off("change",this.$checkMultiselectChange)),T&&(T.multiSelect.on("addRange",this.$onAddRange),T.multiSelect.on("removeRange",this.$onRemoveRange),T.multiSelect.on("multiSelect",this.$onMultiSelect),T.multiSelect.on("singleSelect",this.$onSingleSelect),T.multiSelect.lead.on("change",this.$checkMultiselectChange),T.multiSelect.anchor.on("change",this.$checkMultiselectChange)),T&&this.inMultiSelectMode!=T.selection.inMultiSelectMode&&(T.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},f.MultiSelect=C,n("./config").defineOptions(g.prototype,"editor",{enableMultiselect:{set:function(w){C(this),w?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=n("../../range").Range,u=f.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(v,s,m){var h=v.getLine(m);return this.foldingStartMarker.test(h)?"start":"markbeginend"==s&&this.foldingStopMarker&&this.foldingStopMarker.test(h)?"end":""},this.getFoldWidgetRange=function(v,s,m){return null},this.indentationBlock=function(v,s,m){var h=/\S/,o=v.getLine(s),l=o.search(h);if(-1!=l){for(var r=m||o.length,c=v.getLength(),d=s,g=s;++sd){var x=v.getLine(g).length;return new y(d,r,g,x)}}},this.openingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h+1},r=v.$findClosingBracket(s,l,o);if(r){var c=v.foldWidgets[r.row];return null==c&&(c=v.getFoldWidget(r.row)),"start"==c&&r.row>l.row&&(r.row--,r.column=v.getLine(r.row).length),y.fromPoints(l,r)}},this.closingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h},r=v.$findOpeningBracket(s,l);if(r)return r.column++,l.column--,y.fromPoints(r,l)}}).call(u.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(n,f,D){"use strict";var y=n("../line_widgets").LineWidgets,u=n("../lib/dom"),v=n("../range").Range,s=n("../config").nls;f.showErrorMarker=function(o,l){var r=o.session;r.widgetManager||(r.widgetManager=new y(r),r.widgetManager.attach(o));var c=o.getCursorPosition(),d=c.row,g=r.widgetManager.getWidgetsAtRow(d).filter(function(I){return"errorMarker"==I.type})[0];g?g.destroy():d-=l;var C,b=function h(o,l,r){var c=o.getAnnotations().sort(v.comparePoints);if(c.length){var d=function m(o,l,r){for(var c=0,d=o.length-1;c<=d;){var g=c+d>>1,b=r(l,o[g]);if(b>0)c=g+1;else{if(!(b<0))return g;d=g-1}}return-(c+1)}(c,{row:l,column:-1},v.comparePoints);d<0&&(d=-d-1),d>=c.length?d=r>0?0:c.length-1:0===d&&r<0&&(d=c.length-1);var g=c[d];if(g&&r){if(g.row===l){do{g=c[d+=r]}while(g&&g.row===l);if(!g)return c.slice()}var b=[];l=g.row;do{b[r<0?"unshift":"push"](g),g=c[d+=r]}while(g&&g.row==l);return b.length&&b}}}(r,d,l);if(b){var x=b[0];c.column=(x.pos&&"number"!=typeof x.column?x.pos.sc:x.column)||0,c.row=x.row,C=o.renderer.$gutterLayer.$annotations[c.row]}else{if(g)return;C={text:[s("Looks good!")],className:"ace_ok"}}o.session.unfold(c.row),o.selection.moveToPosition(c);var w={row:c.row,fixedWidth:!0,coverGutter:!0,el:u.createElement("div"),type:"errorMarker"},T=w.el.appendChild(u.createElement("div")),S=w.el.appendChild(u.createElement("div"));S.className="error_widget_arrow "+C.className;var M=o.renderer.$cursorLayer.getPixelPosition(c).left;S.style.left=M+o.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",T.className="error_widget "+C.className,T.innerHTML=C.text.join("
"),T.appendChild(u.createElement("div"));var k=function(I,P,A){if(0===P&&("esc"===A||"return"===A))return w.destroy(),{command:"null"}};w.destroy=function(){o.$mouseHandler.isMousePressed||(o.keyBinding.removeKeyboardHandler(k),r.widgetManager.removeLineWidget(w),o.off("changeSelection",w.destroy),o.off("changeSession",w.destroy),o.off("mouseup",w.destroy),o.off("change",w.destroy))},o.keyBinding.addKeyboardHandler(k),o.on("changeSelection",w.destroy),o.on("changeSession",w.destroy),o.on("mouseup",w.destroy),o.on("change",w.destroy),o.session.widgetManager.addLineWidget(w),w.el.onmousedown=o.focus.bind(o),o.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},u.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(n,f,D){"use strict";n("./loader_build")(f);var y=n("./lib/dom"),u=n("./range").Range,v=n("./editor").Editor,s=n("./edit_session").EditSession,m=n("./undomanager").UndoManager,h=n("./virtual_renderer").VirtualRenderer;n("./worker/worker_client"),n("./keyboard/hash_handler"),n("./placeholder"),n("./multi_select"),n("./mode/folding/fold_mode"),n("./theme/textmate"),n("./ext/error_marker"),f.config=n("./config"),f.edit=function(o,l){if("string"==typeof o){var r=o;if(!(o=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(o&&o.env&&o.env.editor instanceof v)return o.env.editor;var c="";if(o&&/input|textarea/i.test(o.tagName)){var d=o;c=d.value,o=y.createElement("pre"),d.parentNode.replaceChild(o,d)}else o&&(c=o.textContent,o.innerHTML="");var g=f.createEditSession(c),b=new v(new h(o),g,l),C={document:g,editor:b,onResize:b.resize.bind(b,null)};return d&&(C.textarea=d),b.on("destroy",function(){C.editor.container.env=null}),b.container.env=b.env=C,b},f.createEditSession=function(o,l){var r=new s(o,l);return r.setUndoManager(new m),r},f.Range=u,f.Editor=v,f.EditSession=s,f.UndoManager=m,f.VirtualRenderer=h,f.version=f.config.version}),ace.require(["ace/ace"],function(n){n&&(n.config.init(!0),n.define=ace.define);var f=function(){return this}();for(var D in!f&&typeof window<"u"&&(f=window),!f&&typeof self<"u"&&(f=self),f.ace||(f.ace=n),n)n.hasOwnProperty(D)&&(f.ace[D]=n[D]);f.ace.default=f.ace,Me&&(Me.exports=f.ace)})},2919:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text_highlight_rules").TextHighlightRules,v=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};y.inherits(v,u),f.JsonHighlightRules=v}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=n("../range").Range,u=function(){};(function(){this.checkOutdent=function(v,s){return!!/^\s+$/.test(v)&&/^\s*\}/.test(s)},this.autoOutdent=function(v,s){var h=v.getLine(s).match(/^(\s*\})/);if(!h)return 0;var o=h[1].length,l=v.findMatchingBracket({row:s,column:o});if(!l||l.row==s)return 0;var r=this.$getIndent(v.getLine(l.row));v.replace(new y(s,0,s,o-1),r)},this.$getIndent=function(v){return v.match(/^\s*/)[0]}}).call(u.prototype),f.MatchingBraceOutdent=u}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,f,D){"use strict";var y=n("../../lib/oop"),u=n("../../range").Range,v=n("./fold_mode").FoldMode,s=f.FoldMode=function(m){m&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+m.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+m.end)))};y.inherits(s,v),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(m,h,o){var l=m.getLine(o);if(this.singleLineBlockCommentRe.test(l)&&!this.startRegionRe.test(l)&&!this.tripleStarBlockCommentRe.test(l))return"";var r=this._getFoldWidgetBase(m,h,o);return!r&&this.startRegionRe.test(l)?"start":r},this.getFoldWidgetRange=function(m,h,o,l){var g,r=m.getLine(o);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(m,r,o);if(g=r.match(this.foldingStartMarker)){var c=g.index;if(g[1])return this.openingBracketBlock(m,g[1],o,c);var d=m.getCommentFoldRange(o,c+g[0].length,1);return d&&!d.isMultiLine()&&(l?d=this.getSectionRange(m,o):"all"!=h&&(d=null)),d}return"markbegin"!==h&&(g=r.match(this.foldingStopMarker))?(c=g.index+g[0].length,g[1]?this.closingBracketBlock(m,g[1],o,c):m.getCommentFoldRange(o,c,-1)):void 0},this.getSectionRange=function(m,h){for(var o=m.getLine(h),l=o.search(/\S/),r=h,c=o.length,d=h+=1,g=m.getLength();++hb)break;var C=this.getFoldWidgetRange(m,"all",h);if(C){if(C.start.row<=r)break;if(C.isMultiLine())h=C.end.row;else if(l==b)break}d=h}}return new u(r,c,d,m.getLine(d).length)},this.getCommentRegionBlock=function(m,h,o){for(var l=h.search(/\s*$/),r=m.getLength(),c=o,d=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,g=1;++oc)return new u(c,l,o,h.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text").Mode,v=n("./json_highlight_rules").JsonHighlightRules,s=n("./matching_brace_outdent").MatchingBraceOutdent,m=n("./folding/cstyle").FoldMode,h=n("../worker/worker_client").WorkerClient,o=function(){this.HighlightRules=v,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new m};y.inherits(o,u),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(l,r,c){var d=this.$getIndent(r);return"start"==l&&r.match(/^.*[\{\(\[]\s*$/)&&(d+=c),d},this.checkOutdent=function(l,r,c){return this.$outdent.checkOutdent(r,c)},this.autoOutdent=function(l,r,c){this.$outdent.autoOutdent(r,c)},this.createWorker=function(l){var r=new h(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(l.getDocument()),r.on("annotate",function(c){l.setAnnotations(c.data)}),r.on("terminate",function(){l.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(o.prototype),f.Mode=o}),ace.require(["ace/mode/json"],function(n){Me&&(Me.exports=n)})},9811:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(n,f,D){"use strict";f.isDark=!1,f.cssClass="ace-tm",f.cssText=n("./textmate-css"),f.$id="ace/theme/textmate",n("../lib/dom").importCssString(f.cssText,f.cssClass,!1)}),ace.require(["ace/theme/textmate"],function(n){Me&&(Me.exports=n)})},5899:Me=>{function ie(){}Me.exports=ie,Me.exports.HttpsAgent=ie},6357:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),{Interval:D}=_(9173);class y{}Me.exports=class u extends y{constructor(s){super(),this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(s){}reset(){this.seek(0)}seek(s){this.lazyInit(),this.index=this.adjustSeekIndex(s)}get(s){return this.lazyInit(),this.tokens[s]}consume(){let s=!1;if(s=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(m)>=m}fetch(s){if(this.fetchedEOF)return 0;for(let m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(let l=s;l=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]}adjustSeekIndex(s){return s}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(s){this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(s,m){if(this.sync(s),s>=this.tokens.length)return-1;let h=this.tokens[s];for(;h.channel!==this.channel;){if(h.type===n.EOF)return-1;this.sync(s+=1),h=this.tokens[s]}return s}previousTokenOnChannel(s,m){for(;s>=0&&this.tokens[s].channel!==m;)s-=1;return s}getHiddenTokensToRight(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.nextTokenOnChannel(s+1,f.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(s+1,-1===h?this.tokens.length-1:h,m)}getHiddenTokensToLeft(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.previousTokenOnChannel(s-1,f.DEFAULT_TOKEN_CHANNEL);return h===s-1?null:this.filterForChannel(h+1,s-1,m)}filterForChannel(s,m,h){const o=[];for(let l=s;l=this.tokens.length&&(h=this.tokens.length-1);let o="";for(let l=m;l{const n=_(6205).CommonToken;class f{}class D extends f{constructor(u){super(),this.copyText=void 0!==u&&u}create(u,v,s,m,h,o,l,r){const c=new n(u,v,m,h,o);return c.line=l,c.column=r,null!==s?c.text=s:this.copyText&&null!==u[1]&&(c.text=u[1].getText(h,o)),c}createThin(u,v){const s=new n(null,u);return s.text=v,s}}D.DEFAULT=new D,Me.exports=D},7456:(Me,ie,_)=>{const n=_(6205).Token,f=_(6357);Me.exports=class D extends f{constructor(u,v){super(u),this.channel=void 0===v?n.DEFAULT_CHANNEL:v}adjustSeekIndex(u){return this.nextTokenOnChannel(u,this.channel)}LB(u){if(0===u||this.index-u<0)return null;let v=this.index,s=1;for(;s<=u;)v=this.previousTokenOnChannel(v-1,this.channel),s+=1;return v<0?null:this.tokens[v]}LT(u){if(this.lazyInit(),0===u)return null;if(u<0)return this.LB(-u);let v=this.index,s=1;for(;s{const{Token:n}=_(6205);_(6419),_(9182),Me.exports=class f{constructor(y,u){if(this.name="",this.strdata=y,this.decodeToUnicodeCodePoints=u||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let v=0;v=this._size)throw"cannot consume EOF";this._index+=1}LA(y){if(0===y)return 0;y<0&&(y+=1);const u=this._index+y-1;return u<0||u>=this._size?n.EOF:this.data[u]}LT(y){return this.LA(y)}mark(){return-1}release(y){}seek(y){this._index=y<=this._index?y:Math.min(y,this._size)}getText(y,u){if(u>=this._size&&(u=this._size-1),y>=this._size)return"";if(this.decodeToUnicodeCodePoints){let v="";for(let s=y;s<=u;s++)v+=String.fromCodePoint(this.data[s]);return v}return this.strdata.slice(y,u+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Me,ie,_)=>{const{Token:n}=_(6205);class f{constructor(u,v){this.start=u,this.stop=v}clone(){return new f(this.start,this.stop)}contains(u){return u>=this.start&&uthis.addInterval(v),this),this}reduce(u){if(u=s.stop?(this.intervals.splice(u+1,1),this.reduce(u)):v.stop>=s.start&&(this.intervals[u]=new f(v.start,s.stop),this.intervals.splice(u+1,1))}}complement(u,v){const s=new D;return s.addInterval(new f(u,v+1)),null!==this.intervals&&this.intervals.forEach(m=>s.removeRange(m)),s}contains(u){if(null===this.intervals)return!1;for(let v=0;vm.start&&u.stop=m.stop?(this.intervals.splice(v,1),v-=1):u.start":"'"+String.fromCharCode(s.start)+"'":"'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return u.length>1?"{"+u.join(", ")+"}":u[0]}toIndexString(){const u=[];for(let v=0;v":s.start.toString():s.start.toString()+".."+(s.stop-1).toString())}return u.length>1?"{"+u.join(", ")+"}":u[0]}toTokenString(u,v){const s=[];for(let m=0;m1?"{"+s.join(", ")+"}":s[0]}elementName(u,v,s){return s===n.EOF?"":s===n.EPSILON?"":u[s]||v[s]}get length(){return this.intervals.map(u=>u.length).reduce((u,v)=>u+v)}}Me.exports={Interval:f,IntervalSet:D}},4589:(Me,ie,_)=>{const{Set:n,BitSet:f}=_(3340),{Token:D}=_(6205),{ATNConfig:y}=_(7745),{IntervalSet:u}=_(9173),{RuleStopState:v}=_(5516),{RuleTransition:s,NotSetTransition:m,WildcardTransition:h,AbstractPredicateTransition:o}=_(6850),{predictionContextFromRuleContext:l,PredictionContext:r,SingletonPredictionContext:c}=_(6185);class d{constructor(b){this.atn=b}getDecisionLookahead(b){if(null===b)return null;const C=b.transitions.length,x=[];for(let w=0;w{const{Token:n}=_(6205),f=_(9495),D=_(9882),{RecognitionException:y}=_(5858),{LexerNoViableAltException:u}=_(5858);class s extends f{constructor(h){super(),this._input=h,this._factory=D.DEFAULT,this._tokenFactorySourcePair=[this,h],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=s.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=s.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const h=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let o=!1;for(;;){this._type=n.INVALID_TYPE;let l=s.SKIP;try{l=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof y))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=l),this._type===s.SKIP){o=!0;break}if(this._type!==s.MORE)break}if(!o)return null===this._token&&this.emit(),this._token}}finally{this._input.release(h)}}skip(){this._type=s.SKIP}more(){this._type=s.MORE}mode(h){this._mode=h}pushMode(h){this._interp.debug&&console.log("pushMode "+h),this._modeStack.push(this._mode),this.mode(h)}popMode(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(h){this._token=h}emit(){const h=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(h),h}emitEOF(){const l=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(l),l}getCharIndex(){return this._input.index}getAllTokens(){const h=[];let o=this.nextToken();for(;o.type!==n.EOF;)h.push(o),o=this.nextToken();return h}notifyListeners(h){const r=this._input.getText(this._tokenStartCharIndex,this._input.index),c="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,c,h)}getErrorDisplay(h){const o=[];for(let l=0;l":"\n"===h?"\\n":"\t"===h?"\\t":"\r"===h?"\\r":h}getCharErrorDisplay(h){return"'"+this.getErrorDisplayForChar(h)+"'"}recover(h){this._input.LA(1)!==n.EOF&&(h instanceof u?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(h){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=h,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(h){this._type=h}get line(){return this._interp.line}set line(h){this._interp.line=h}get column(){return this._interp.column}set column(h){this._interp.column=h}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(h){this._text=h}}s.DEFAULT_MODE=0,s.MORE=-2,s.SKIP=-3,s.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,s.HIDDEN=n.HIDDEN_CHANNEL,s.MIN_CHAR_VALUE=0,s.MAX_CHAR_VALUE=1114111,Me.exports=s},111:(Me,ie,_)=>{const{Token:n}=_(6205),{ParseTreeListener:f,TerminalNode:D,ErrorNode:y}=_(5829),u=_(9495),{DefaultErrorStrategy:v}=_(2487),s=_(7499),m=_(2905),h=_(9042);class o extends f{constructor(c){super(),this.parser=c}enterEveryRule(c){console.log("enter "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(c){console.log("consume "+c.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(c){console.log("exit "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}Me.exports=(()=>{class r extends u{constructor(d){super(),this._input=null,this._errHandler=new v,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(d)}reset(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()}match(d){let g=this.getCurrentToken();return g.type===d?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g}matchWildcard(){let d=this.getCurrentToken();return d.type>0?(this._errHandler.reportMatch(this),this.consume()):(d=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===d.tokenIndex&&this._ctx.addErrorNode(d)),d}getParseListeners(){return this._parseListeners||[]}addParseListener(d){if(null===d)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(d)}removeParseListener(d){if(null!==this._parseListeners){const g=this._parseListeners.indexOf(d);g>=0&&this._parseListeners.splice(g,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.forEach(function(g){g.enterEveryRule(d),d.enterRule(g)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(g){d.exitRule(g),g.exitEveryRule(d)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(d){this._input.tokenSource._factory=d}getATNWithBypassAlts(){const d=this.getSerializedATN();if(null===d)throw"The current parser does not support an ATN with bypass alternatives.";let g=this.bypassAltsAtnCache[d];if(null===g){const b=new m;b.generateRuleBypassTransitions=!0,g=new s(b).deserialize(d),this.bypassAltsAtnCache[d]=g}return g}compileParseTreePattern(d,g,b){if(null===(b=b||null)&&null!==this.getTokenStream()){const x=this.getTokenStream().tokenSource;x instanceof h&&(b=x)}if(null===b)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(b,this).compile(d,g)}getInputStream(){return this.getTokenStream()}setInputStream(d){this.setTokenStream(d)}getTokenStream(){return this._input}setTokenStream(d){this._input=null,this.reset(),this._input=d}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(d,g,b){b=b||null,null===(g=g||null)&&(g=this.getCurrentToken()),this._syntaxErrors+=1;const C=g.line,x=g.column;this.getErrorListenerDispatch().syntaxError(this,g,C,x,d,b)}consume(){const d=this.getCurrentToken();d.type!==n.EOF&&this.getInputStream().consume();const g=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||g){let b;b=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(d):this._ctx.addTokenNode(d),b.invokingState=this.state,g&&this._parseListeners.forEach(function(C){b instanceof y||void 0!==b.isErrorNode&&b.isErrorNode()?C.visitErrorNode(b):b instanceof D&&C.visitTerminal(b)})}return d}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(d,g,b){this.state=g,this._ctx=d,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(d,g){d.setAltNumber(g),this.buildParseTrees&&this._ctx!==d&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(d)),this._ctx=d}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(d,g,b,C){this.state=g,this._precedenceStack.push(C),this._ctx=d,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(d,g,b){const C=this._ctx;C.parentCtx=d,C.invokingState=g,C.stop=this._input.LT(-1),this._ctx=d,this._ctx.start=C.start,this.buildParseTrees&&this._ctx.addChild(C),this.triggerEnterRuleEvent()}unrollRecursionContexts(d){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const g=this._ctx,b=this.getParseListeners();if(null!==b&&b.length>0)for(;this._ctx!==d;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=d;g.parentCtx=d,this.buildParseTrees&&null!==d&&d.addChild(g)}getInvokingContext(d){let g=this._ctx;for(;null!==g;){if(g.ruleIndex===d)return g;g=g.parentCtx}return null}precpred(d,g){return g>=this._precedenceStack[this._precedenceStack.length-1]}inContext(d){return!1}isExpectedToken(d){const g=this._interp.atn;let b=this._ctx,x=g.nextTokens(g.states[this.state]);if(x.contains(d))return!0;if(!x.contains(n.EPSILON))return!1;for(;null!==b&&b.invokingState>=0&&x.contains(n.EPSILON);){if(x=g.nextTokens(g.states[b.invokingState].transitions[0].followState),x.contains(d))return!0;b=b.parentCtx}return!(!x.contains(n.EPSILON)||d!==n.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const d=this._interp.atn;return d.nextTokens(d.states[this.state])}getRuleIndex(d){const g=this.getRuleIndexMap()[d];return null!==g?g:-1}getRuleInvocationStack(d){null===(d=d||null)&&(d=this._ctx);const g=[];for(;null!==d;){const b=d.ruleIndex;g.push(b<0?"n/a":this.ruleNames[b]),d=d.parentCtx}return g}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let d=!1;for(let g=0;g0&&(d&&console.log(),this.printer.println("Decision "+b.decision+":"),this.printer.print(b.toString(this.literalNames,this.symbolicNames)),d=!0)}}getSourceName(){return this._input.sourceName}setTrace(d){d?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new o(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return r.bypassAltsAtnCache={},r})()},7293:(Me,ie,_)=>{const n=_(13),f=_(5829),D=f.INVALID_INTERVAL,y=f.TerminalNode,u=f.TerminalNodeImpl,v=f.ErrorNodeImpl,s=_(9173).Interval;class m extends n{constructor(l,r){super(l=l||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(l){this.parentCtx=l.parentCtx,this.invokingState=l.invokingState,this.children=null,this.start=l.start,this.stop=l.stop,l.children&&(this.children=[],l.children.map(function(r){r instanceof v&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(l){}exitRule(l){}addChild(l){return null===this.children&&(this.children=[]),this.children.push(l),l}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(l){const r=new u(l);return this.addChild(r),r.parentCtx=this,r}addErrorNode(l){const r=new v(l);return this.addChild(r),r.parentCtx=this,r}getChild(l,r){if(null===this.children||l<0||l>=this.children.length)return null;if(null===(r=r||null))return this.children[l];for(let c=0;c=this.children.length)return null;for(let c=0;c{const n=_(13),{Hash:f,Map:D,equalArrays:y}=_(3340);class u{constructor(w){this.cachedHashCode=w}isEmpty(){return this===u.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===u.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}u.EMPTY=null,u.EMPTY_RETURN_STATE=2147483647,u.globalNodeCount=1,u.id=u.globalNodeCount;class s extends u{constructor(w,T){let S=0;const M=new f;null!==w?M.update(w,T):M.update(1),S=M.finish(),super(S),this.parentCtx=w,this.returnState=T}getParent(w){return this.parentCtx}getReturnState(w){return this.returnState}equals(w){return this===w||w instanceof s&&this.hashCode()===w.hashCode()&&this.returnState===w.returnState&&(null==this.parentCtx?null==w.parentCtx:this.parentCtx.equals(w.parentCtx))}toString(){const w=null===this.parentCtx?"":this.parentCtx.toString();return 0===w.length?this.returnState===u.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,T){return T===u.EMPTY_RETURN_STATE&&null===w?u.EMPTY:new s(w,T)}}class m extends s{constructor(){super(null,u.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}u.EMPTY=new m;class h extends u{constructor(w,T){const S=new f;return S.update(w,T),super(S.finish()),this.parents=w,this.returnStates=T,this}isEmpty(){return this.returnStates[0]===u.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof h&&this.hashCode()===w.hashCode()&&y(this.returnStates,w.returnStates)&&y(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let T=0;T0&&(w+=", "),this.returnStates[T]!==u.EMPTY_RETURN_STATE?(w+=this.returnStates[T],null!==this.parents[T]?w=w+" "+this.parents[T]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}Me.exports={merge:function l(x,w,T,S){if(x===w)return x;if(x instanceof s&&w instanceof s)return function r(x,w,T,S){if(null!==S){let k=S.get(x,w);if(null!==k||(k=S.get(w,x),null!==k))return k}const M=function c(x,w,T){if(T){if(x===u.EMPTY||w===u.EMPTY)return u.EMPTY}else{if(x===u.EMPTY&&w===u.EMPTY)return u.EMPTY;if(x===u.EMPTY)return new h([w.parentCtx,null],[w.returnState,u.EMPTY_RETURN_STATE]);if(w===u.EMPTY)return new h([x.parentCtx,null],[x.returnState,u.EMPTY_RETURN_STATE])}return null}(x,w,T);if(null!==M)return null!==S&&S.set(x,w,M),M;if(x.returnState===w.returnState){const k=l(x.parentCtx,w.parentCtx,T,S);if(k===x.parentCtx)return x;if(k===w.parentCtx)return w;const I=s.create(k,x.returnState);return null!==S&&S.set(x,w,I),I}{let k=null;if((x===w||null!==x.parentCtx&&x.parentCtx===w.parentCtx)&&(k=x.parentCtx),null!==k){const L=[x.returnState,w.returnState];x.returnState>w.returnState&&(L[0]=w.returnState,L[1]=x.returnState);const R=new h([k,k],L);return null!==S&&S.set(x,w,R),R}const I=[x.returnState,w.returnState];let P=[x.parentCtx,w.parentCtx];x.returnState>w.returnState&&(I[0]=w.returnState,I[1]=x.returnState,P=[w.parentCtx,x.parentCtx]);const A=new h(P,I);return null!==S&&S.set(x,w,A),A}}(x,w,T,S);if(T){if(x instanceof m)return x;if(w instanceof m)return w}return x instanceof s&&(x=new h([x.getParent()],[x.returnState])),w instanceof s&&(w=new h([w.getParent()],[w.returnState])),function d(x,w,T,S){if(null!==S){let F=S.get(x,w);if(null!==F||(F=S.get(w,x),null!==F))return F}let M=0,k=0,I=0,P=[],A=[];for(;M{const{Token:n}=_(6205),{ConsoleErrorListener:f}=_(7967),{ProxyErrorListener:D}=_(7967);Me.exports=(()=>{class u{constructor(){this._listeners=[f.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(s){"4.9.3"!==s&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+s)}addErrorListener(s){this._listeners.push(s)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const s=this.getLiteralNames(),m=this.getSymbolicNames(),h=s.length>m.length?s.length:m.length;this.tokenNames=[];for(let o=0;o";let m=s.text;return null===m&&(m=s.type===n.EOF?"":"<"+s.type+">"),m=m.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+m+"'"}getErrorListenerDispatch(){return new D(this._listeners)}sempred(s,m,h){return!0}precpred(s,m){return!0}get state(){return this._stateNumber}set state(s){this._stateNumber=s}}return u.tokenTypeMapCache={},u.ruleIndexMapCache={},u})()},13:(Me,ie,_)=>{const{RuleNode:n}=_(5829),{INVALID_INTERVAL:f}=_(5829),D=_(5140);Me.exports=class y extends n{constructor(v,s){super(),this.parentCtx=v||null,this.invokingState=s||-1}depth(){let v=0,s=this;for(;null!==s;)s=s.parentCtx,v+=1;return v}isEmpty(){return-1===this.invokingState}getSourceInterval(){return f}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(v){return v.getText()}).join("")}getAltNumber(){return 0}setAltNumber(v){}getChild(v){return null}getChildCount(){return 0}accept(v){return v.visitChildren(this)}toStringTree(v,s){return D.toStringTree(this,v,s)}toString(v,s){v=v||null,s=s||null;let m=this,h="[";for(;null!==m&&m!==s;){if(null===v)m.isEmpty()||(h+=m.invokingState);else{const o=m.ruleIndex;h+=o>=0&&o{let ie=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(D){this._text=D}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Me.exports={Token:ie,CommonToken:(()=>{class n extends ie{constructor(D,y,u,v,s){super(),this.source=void 0!==D?D:n.EMPTY_SOURCE,this.type=void 0!==y?y:null,this.channel=void 0!==u?u:ie.DEFAULT_CHANNEL,this.start=void 0!==v?v:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=D[0].line,this.column=D[0].column):this.column=-1}clone(){const D=new n(this.source,this.type,this.channel,this.start,this.stop);return D.tokenIndex=this.tokenIndex,D.line=this.line,D.column=this.column,D.text=this.text,D}toString(){let D=this.text;return D=null!==D?D.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+D+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const D=this.getInputStream();if(null===D)return null;const y=D.size;return this.start"}set text(D){this._text=D}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Me=>{function ie(c){return null===c?"null":c}function _(c){return Array.isArray(c)?"["+c.map(ie).join(", ")+"]":"null"}function n(c,d){return c?c.equals(d):c==d}function f(c){return c?c.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const c=this.toString();let d,g;const b=3&c.length,C=c.length-b;let x=String.prototype.seed;const w=3432918353,T=461845907;let S=0;for(;S>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g,x=x<<13|x>>>19,d=5*(65535&x)+((5*(x>>>16)&65535)<<16)&4294967295,x=27492+(65535&d)+((58964+(d>>>16)&65535)<<16);switch(g=0,b){case 3:g^=(255&c.charCodeAt(S+2))<<16;case 2:g^=(255&c.charCodeAt(S+1))<<8;case 1:g^=255&c.charCodeAt(S),g=(65535&g)*w+(((g>>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g}return x^=c.length,x^=x>>>16,x=2246822507*(65535&x)+((2246822507*(x>>>16)&65535)<<16)&4294967295,x^=x>>>13,x=3266489909*(65535&x)+((3266489909*(x>>>16)&65535)<<16)&4294967295,x^=x>>>16,x>>>0};class y{constructor(){this.data=[]}add(d){this.data[d]=!0}or(d){const g=this;Object.keys(d.data).map(function(b){g.add(b)})}remove(d){delete this.data[d]}contains(d){return!0===this.data[d]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const d=new m;return d.update(this.values()),d.finish()}equals(d){return d instanceof y&&this.hashCode()===d.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class u{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}put(d,g){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x>>17,b*=461845907,this.count=this.count+1;let C=this.hash^b;C=C<<13|C>>>19,C=5*C+3864292196,this.hash=C}}}finish(){let d=this.hash^4*this.count;return d^=d>>>16,d*=2246822507,d^=d>>>13,d*=3266489909,d^=d>>>16,d}}Me.exports={Hash:m,Set:class D{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}add(d){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x{const n=_(4589),{IntervalSet:f}=_(9173),{Token:D}=_(6205);Me.exports=(()=>{class u{constructor(s,m){this.grammarType=s,this.maxTokenType=m,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(s,m){return new n(this).LOOK(s,null,m)}nextTokensNoContext(s){return null!==s.nextTokenWithinRule||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}nextTokens(s,m){return void 0===m?this.nextTokensNoContext(s):this.nextTokensInContext(s,m)}addState(s){null!==s&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}removeState(s){this.states[s.stateNumber]=null}defineDecisionState(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}getDecisionState(s){return 0===this.decisionToState.length?null:this.decisionToState[s]}getExpectedTokens(s,m){if(s<0||s>=this.states.length)throw"Invalid state number.";let o=this.nextTokens(this.states[s]);if(!o.contains(D.EPSILON))return o;const l=new f;for(l.addSet(o),l.removeOne(D.EPSILON);null!==m&&m.invokingState>=0&&o.contains(D.EPSILON);)o=this.nextTokens(this.states[m.invokingState].transitions[0].followState),l.addSet(o),l.removeOne(D.EPSILON),m=m.parentCtx;return o.contains(D.EPSILON)&&l.addOne(D.EOF),l}}return u.INVALID_ALT_NUMBER=0,u})()},7745:(Me,ie,_)=>{const{DecisionState:n}=_(5516),{SemanticContext:f}=_(9454),{Hash:D}=_(3340);function y(s,m){if(null===s){const h={state:null,alt:null,context:null,semanticContext:null};return m&&(h.reachesIntoOuterContext=0),h}{const h={};return h.state=s.state||null,h.alt=void 0===s.alt?null:s.alt,h.context=s.context||null,h.semanticContext=s.semanticContext||null,m&&(h.reachesIntoOuterContext=s.reachesIntoOuterContext||0,h.precedenceFilterSuppressed=s.precedenceFilterSuppressed||!1),h}}class u{constructor(m,h){this.checkContext(m,h),m=y(m),h=y(h,!0),this.state=null!==m.state?m.state:h.state,this.alt=null!==m.alt?m.alt:h.alt,this.context=null!==m.context?m.context:h.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==h.semanticContext?h.semanticContext:f.NONE,this.reachesIntoOuterContext=h.reachesIntoOuterContext,this.precedenceFilterSuppressed=h.precedenceFilterSuppressed}checkContext(m,h){null==m.context&&(null===h||null==h.context)&&(this.context=null)}hashCode(){const m=new D;return this.updateHashCode(m),m.finish()}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed}hashCodeForConfigSet(){const m=new D;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()}equalsForConfigSet(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==f.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class v extends u{constructor(m,h){return super(m,h),this.lexerActionExecutor=m.lexerActionExecutor||(null!==h?h.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==h&&this.checkNonGreedyDecision(h,this.state),this.hashCodeForConfigSet=v.prototype.hashCode,this.equalsForConfigSet=v.prototype.equals,this}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(m){return this===m||m instanceof v&&this.passedThroughNonGreedyDecision===m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&super.equals(m)}checkNonGreedyDecision(m,h){return m.passedThroughNonGreedyDecision||h instanceof n&&h.nonGreedy}}Me.exports.ATNConfig=u,Me.exports.LexerATNConfig=v},4280:(Me,ie,_)=>{const n=_(9800),f=_(3340),{SemanticContext:D}=_(9454),{merge:y}=_(6185);function u(h){return h.hashCodeForConfigSet()}function v(h,o){return h===o||null!==h&&null!==o&&h.equalsForConfigSet(o)}class s{constructor(o){this.configLookup=new f.Set(u,v),this.fullCtx=void 0===o||o,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(o,l){if(void 0===l&&(l=null),this.readOnly)throw"This set is readonly";o.semanticContext!==D.NONE&&(this.hasSemanticContext=!0),o.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(o);if(r===o)return this.cachedHashCode=-1,this.configs.push(o),!0;const d=y(r.context,o.context,!this.fullCtx,l);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,o.reachesIntoOuterContext),o.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=d,!0}getStates(){const o=new f.Set;for(let l=0;l{class ie{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}ie.defaultOptions=new ie,ie.defaultOptions.readOnly=!0,Me.exports=ie},7499:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9800),D=_(8729),{ATNState:y,BasicState:u,DecisionState:v,BlockStartState:s,BlockEndState:m,LoopEndState:h,RuleStartState:o,RuleStopState:l,TokensStartState:r,PlusLoopbackState:c,StarLoopbackState:d,StarLoopEntryState:g,PlusBlockStartState:b,StarBlockStartState:C,BasicBlockStartState:x}=_(5516),{Transition:w,AtomTransition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,RangeTransition:I,ActionTransition:P,EpsilonTransition:A,WildcardTransition:L,PredicateTransition:F,PrecedencePredicateTransition:R}=_(6850),{IntervalSet:U}=_(9173),W=_(2905),{LexerActionType:ne,LexerSkipAction:ee,LexerChannelAction:j,LexerCustomAction:B,LexerMoreAction:$,LexerTypeAction:Z,LexerPushModeAction:H,LexerPopModeAction:te,LexerModeAction:ue}=_(201),Ge="59627784-3BE5-417A-B9EB-8131A7286089",$e=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Ge],Ze=Ge;function Et(Ie,Ce){const ge=[];return ge[Ie-1]=Ce,ge.map(function(Ae){return Ce})}const Ee=function qe(){const Ie=[];for(let Ce=0;Ce<256;Ce++)Ie[Ce]=(Ce+256).toString(16).substr(1).toUpperCase();return Ie}();Me.exports=class Te{constructor(Ce){null==Ce&&(Ce=W.defaultOptions),this.deserializationOptions=Ce,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Ce,ge){const Ae=$e.indexOf(Ce);return!(Ae<0)&&$e.indexOf(ge)>=Ae}deserialize(Ce){this.reset(Ce),this.checkVersion(),this.checkUUID();const ge=this.readATN();this.readStates(ge),this.readRules(ge),this.readModes(ge);const Ae=[];return this.readSets(ge,Ae,this.readInt.bind(this)),this.isFeatureSupported(Ge,this.uuid)&&this.readSets(ge,Ae,this.readInt32.bind(this)),this.readEdges(ge,Ae),this.readDecisions(ge),this.readLexerActions(ge),this.markPrecedenceDecisions(ge),this.verifyATN(ge),this.deserializationOptions.generateRuleBypassTransitions&&ge.grammarType===D.PARSER&&(this.generateRuleBypassTransitions(ge),this.verifyATN(ge)),ge}reset(Ce){const Ae=Ce.split("").map(function(q){const Re=q.charCodeAt(0);return Re>1?Re-2:Re+65534});Ae[0]=Ce.charCodeAt(0),this.data=Ae,this.pos=0}checkVersion(){const Ce=this.readInt();if(3!==Ce)throw"Could not deserialize ATN with version "+Ce+" (expected 3)."}checkUUID(){const Ce=this.readUUID();if($e.indexOf(Ce)<0)throw Ze;this.uuid=Ce}readATN(){const Ce=this.readInt(),ge=this.readInt();return new f(Ce,ge)}readStates(Ce){let ge,Ae,q;const Re=[],ke=[],Ke=this.readInt();for(let Ne=0;Ne0;)Re.addTransition(Pe.transitions[Ne-1]),Pe.transitions=Pe.transitions.slice(-1);Ce.ruleToStartState[ge].addTransition(new A(Re)),ke.addTransition(new A(me));const Be=new u;Ce.addState(Be),Be.addTransition(new T(ke,Ce.ruleToTokenType[ge])),Re.addTransition(new A(Be))}stateIsEndStateFor(Ce,ge){if(Ce.ruleIndex!==ge||!(Ce instanceof g))return null;const Ae=Ce.transitions[Ce.transitions.length-1].target;return Ae instanceof h&&Ae.epsilonOnlyTransitions&&Ae.transitions[0].target instanceof l?Ce:null}markPrecedenceDecisions(Ce){for(let ge=0;ge=0:Ae.transitions.length<=1||Ae instanceof l)}}checkCondition(Ce,ge){if(!Ce)throw null==ge&&(ge="IllegalState"),ge}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Ce=[];for(let ge=7;ge>=0;ge--){const Ae=this.readInt();Ce[2*ge+1]=255&Ae,Ce[2*ge]=Ae>>8&255}return Ee[Ce[0]]+Ee[Ce[1]]+Ee[Ce[2]]+Ee[Ce[3]]+"-"+Ee[Ce[4]]+Ee[Ce[5]]+"-"+Ee[Ce[6]]+Ee[Ce[7]]+"-"+Ee[Ce[8]]+Ee[Ce[9]]+"-"+Ee[Ce[10]]+Ee[Ce[11]]+Ee[Ce[12]]+Ee[Ce[13]]+Ee[Ce[14]]+Ee[Ce[15]]}edgeFactory(Ce,ge,Ae,q,Re,ke,Ke,me){const Pe=Ce.states[q];switch(ge){case w.EPSILON:return new A(Pe);case w.RANGE:return new I(Pe,0!==Ke?n.EOF:Re,ke);case w.RULE:return new k(Ce.states[Re],ke,Ke,Pe);case w.PREDICATE:return new F(Pe,Re,ke,0!==Ke);case w.PRECEDENCE:return new R(Pe,Re);case w.ATOM:return new T(Pe,0!==Ke?n.EOF:Re);case w.ACTION:return new P(Pe,Re,ke,0!==Ke);case w.SET:return new S(Pe,me[Re]);case w.NOT_SET:return new M(Pe,me[Re]);case w.WILDCARD:return new L(Pe);default:throw"The specified transition type: "+ge+" is not valid."}}stateFactory(Ce,ge){if(null===this.stateFactories){const Ae=[];Ae[y.INVALID_TYPE]=null,Ae[y.BASIC]=()=>new u,Ae[y.RULE_START]=()=>new o,Ae[y.BLOCK_START]=()=>new x,Ae[y.PLUS_BLOCK_START]=()=>new b,Ae[y.STAR_BLOCK_START]=()=>new C,Ae[y.TOKEN_START]=()=>new r,Ae[y.RULE_STOP]=()=>new l,Ae[y.BLOCK_END]=()=>new m,Ae[y.STAR_LOOP_BACK]=()=>new d,Ae[y.STAR_LOOP_ENTRY]=()=>new g,Ae[y.PLUS_LOOP_BACK]=()=>new c,Ae[y.LOOP_END]=()=>new h,this.stateFactories=Ae}if(Ce>this.stateFactories.length||null===this.stateFactories[Ce])throw"The specified state type "+Ce+" is not valid.";{const Ae=this.stateFactories[Ce]();if(null!==Ae)return Ae.ruleIndex=ge,Ae}}lexerActionFactory(Ce,ge,Ae){if(null===this.actionFactories){const q=[];q[ne.CHANNEL]=(Re,ke)=>new j(Re),q[ne.CUSTOM]=(Re,ke)=>new B(Re,ke),q[ne.MODE]=(Re,ke)=>new ue(Re),q[ne.MORE]=(Re,ke)=>$.INSTANCE,q[ne.POP_MODE]=(Re,ke)=>te.INSTANCE,q[ne.PUSH_MODE]=(Re,ke)=>new H(Re),q[ne.SKIP]=(Re,ke)=>ee.INSTANCE,q[ne.TYPE]=(Re,ke)=>new Z(Re),this.actionFactories=q}if(Ce>this.actionFactories.length||null===this.actionFactories[Ce])throw"The specified lexer action type "+Ce+" is not valid.";return this.actionFactories[Ce](ge,Ae)}}},4675:(Me,ie,_)=>{const{DFAState:n}=_(5468),{ATNConfigSet:f}=_(4280),{getCachedPredictionContext:D}=_(6185),{Map:y}=_(3340);class u{constructor(s,m){return this.atn=s,this.sharedContextCache=m,this}getCachedContext(s){if(null===this.sharedContextCache)return s;const m=new y;return D(s,this.sharedContextCache,m)}}u.ERROR=new n(2147483647,new f),Me.exports=u},5516:Me=>{let _=(()=>{class g{constructor(){this.atn=null,this.stateNumber=g.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(C){return C instanceof g&&this.stateNumber===C.stateNumber}isNonGreedyExitState(){return!1}addTransition(C,x){void 0===x&&(x=-1),0===this.transitions.length?this.epsilonOnlyTransitions=C.isEpsilon:this.epsilonOnlyTransitions!==C.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===x?this.transitions.push(C):this.transitions.splice(x,1,C)}}return g.INVALID_TYPE=0,g.BASIC=1,g.RULE_START=2,g.BLOCK_START=3,g.PLUS_BLOCK_START=4,g.STAR_BLOCK_START=5,g.TOKEN_START=6,g.RULE_STOP=7,g.BLOCK_END=8,g.STAR_LOOP_BACK=9,g.STAR_LOOP_ENTRY=10,g.PLUS_LOOP_BACK=11,g.LOOP_END=12,g.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],g.INVALID_STATE_NUMBER=-1,g})();class f extends _{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class D extends f{constructor(){return super(),this.endState=null,this}}Me.exports={ATNState:_,BasicState:class n extends _{constructor(){super(),this.stateType=_.BASIC}},DecisionState:f,BlockStartState:D,BlockEndState:class u extends _{constructor(){return super(),this.stateType=_.BLOCK_END,this.startState=null,this}},LoopEndState:class c extends _{constructor(){return super(),this.stateType=_.LOOP_END,this.loopBackState=null,this}},RuleStartState:class s extends _{constructor(){return super(),this.stateType=_.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class v extends _{constructor(){return super(),this.stateType=_.RULE_STOP,this}},TokensStartState:class d extends f{constructor(){return super(),this.stateType=_.TOKEN_START,this}},PlusLoopbackState:class m extends f{constructor(){return super(),this.stateType=_.PLUS_LOOP_BACK,this}},StarLoopbackState:class l extends _{constructor(){return super(),this.stateType=_.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends f{constructor(){return super(),this.stateType=_.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class h extends D{constructor(){return super(),this.stateType=_.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class o extends D{constructor(){return super(),this.stateType=_.STAR_BLOCK_START,this}},BasicBlockStartState:class y extends D{constructor(){return super(),this.stateType=_.BLOCK_START,this}}}},8729:Me=>{Me.exports={LEXER:0,PARSER:1}},9462:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),D=_(9800),y=_(4675),{DFAState:u}=_(5468),{OrderedATNConfigSet:v}=_(4280),{PredictionContext:s}=_(6185),{SingletonPredictionContext:m}=_(6185),{RuleStopState:h}=_(5516),{LexerATNConfig:o}=_(7745),{Transition:l}=_(6850),r=_(5168),{LexerNoViableAltException:c}=_(5858);function d(C){C.index=-1,C.line=0,C.column=-1,C.dfaState=null}class g{constructor(){d(this)}reset(){d(this)}}Me.exports=(()=>{class C extends y{constructor(w,T,S,M){super(T,M),this.decisionToDFA=S,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE,this.prevAccept=new g}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,T){this.match_calls+=1,this.mode=T;const S=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const M=this.decisionToDFA[T];return null===M.s0?this.matchATN(w):this.execATN(w,M.s0)}finally{w.release(S)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE}matchATN(w){const T=this.atn.modeToStartState[this.mode];C.debug&&console.log("matchATN mode "+this.mode+" start: "+T);const S=this.mode,M=this.computeStartState(w,T),k=M.hasSemanticContext;M.hasSemanticContext=!1;const I=this.addDFAState(M);k||(this.decisionToDFA[this.mode].s0=I);const P=this.execATN(w,I);return C.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[S].toLexerString()),P}execATN(w,T){C.debug&&console.log("start state closure="+T.configs),T.isAcceptState&&this.captureSimState(this.prevAccept,w,T);let S=w.LA(1),M=T;for(;;){C.debug&&console.log("execATN loop starting closure: "+M.configs);let k=this.getExistingTargetState(M,S);if(null===k&&(k=this.computeTargetState(w,M,S)),k===y.ERROR||(S!==n.EOF&&this.consume(w),k.isAcceptState&&(this.captureSimState(this.prevAccept,w,k),S===n.EOF)))break;S=w.LA(1),M=k}return this.failOrAccept(this.prevAccept,w,M.configs,S)}getExistingTargetState(w,T){if(null===w.edges||TC.MAX_DFA_EDGE)return null;let S=w.edges[T-C.MIN_DFA_EDGE];return void 0===S&&(S=null),C.debug&&null!==S&&console.log("reuse state "+w.stateNumber+" edge to "+S.stateNumber),S}computeTargetState(w,T,S){const M=new v;return this.getReachableConfigSet(w,T.configs,M,S),0===M.items.length?(M.hasSemanticContext||this.addDFAEdge(T,S,y.ERROR),y.ERROR):this.addDFAEdge(T,S,null,M)}failOrAccept(w,T,S,M){if(null!==this.prevAccept.dfaState)return this.accept(T,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(M===n.EOF&&T.index===this.startIndex)return n.EOF;throw new c(this.recog,T,this.startIndex,S)}getReachableConfigSet(w,T,S,M){let k=D.INVALID_ALT_NUMBER;for(let I=0;IC.MAX_DFA_EDGE||(C.debug&&console.log("EDGE "+w+" -> "+S+" upon "+T),null===w.edges&&(w.edges=[]),w.edges[T-C.MIN_DFA_EDGE]=S),S}addDFAState(w){const T=new u(null,w);let S=null;for(let P=0;P{const ie={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class _{constructor(l){this.actionType=l,this.isPositionDependent=!1}hashCode(){const l=new Hash;return this.updateHashCode(l),l.finish()}updateHashCode(l){l.update(this.actionType)}equals(l){return this===l}}class n extends _{constructor(){super(ie.SKIP)}execute(l){l.skip()}toString(){return"skip"}}n.INSTANCE=new n;class f extends _{constructor(l){super(ie.TYPE),this.type=l}execute(l){l.type=this.type}updateHashCode(l){l.update(this.actionType,this.type)}equals(l){return this===l||l instanceof f&&this.type===l.type}toString(){return"type("+this.type+")"}}class D extends _{constructor(l){super(ie.PUSH_MODE),this.mode=l}execute(l){l.pushMode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof D&&this.mode===l.mode}toString(){return"pushMode("+this.mode+")"}}class y extends _{constructor(){super(ie.POP_MODE)}execute(l){l.popMode()}toString(){return"popMode"}}y.INSTANCE=new y;class u extends _{constructor(){super(ie.MORE)}execute(l){l.more()}toString(){return"more"}}u.INSTANCE=new u;class v extends _{constructor(l){super(ie.MODE),this.mode=l}execute(l){l.mode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof v&&this.mode===l.mode}toString(){return"mode("+this.mode+")"}}class s extends _{constructor(l,r){super(ie.CUSTOM),this.ruleIndex=l,this.actionIndex=r,this.isPositionDependent=!0}execute(l){l.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(l){l.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(l){return this===l||l instanceof s&&this.ruleIndex===l.ruleIndex&&this.actionIndex===l.actionIndex}}class m extends _{constructor(l){super(ie.CHANNEL),this.channel=l}execute(l){l._channel=this.channel}updateHashCode(l){l.update(this.actionType,this.channel)}equals(l){return this===l||l instanceof m&&this.channel===l.channel}toString(){return"channel("+this.channel+")"}}class h extends _{constructor(l,r){super(r.actionType),this.offset=l,this.action=r,this.isPositionDependent=!0}execute(l){this.action.execute(l)}updateHashCode(l){l.update(this.actionType,this.offset,this.action)}equals(l){return this===l||l instanceof h&&this.offset===l.offset&&this.action===l.action}}Me.exports={LexerActionType:ie,LexerSkipAction:n,LexerChannelAction:m,LexerCustomAction:s,LexerIndexedCustomAction:h,LexerMoreAction:u,LexerTypeAction:f,LexerPushModeAction:D,LexerPopModeAction:y,LexerModeAction:v}},5168:(Me,ie,_)=>{const{hashStuff:n}=_(3340),{LexerIndexedCustomAction:f}=_(201);class D{constructor(u){return this.lexerActions=null===u?[]:u,this.cachedHashCode=n(u),this}fixOffsetBeforeMatch(u){let v=null;for(let s=0;s{const n=_(3340),{Set:f,BitSet:D,DoubleDict:y}=n,u=_(9800),{ATNState:v,RuleStopState:s}=_(5516),{ATNConfig:m}=_(7745),{ATNConfigSet:h}=_(4280),{Token:o}=_(6205),{DFAState:l,PredPrediction:r}=_(5468),c=_(4675),d=_(5359),g=_(13),{SemanticContext:C}=(_(7293),_(9454)),{PredictionContext:x}=_(6185),{Interval:w}=_(9173),{Transition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,ActionTransition:I}=_(6850),{NoViableAltException:P}=_(5858),{SingletonPredictionContext:A,predictionContextFromRuleContext:L}=_(6185);Me.exports=class F extends c{constructor(U,W,ne,ee){super(W,ee),this.parser=U,this.decisionToDFA=ne,this.predictionMode=d.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(U,W,ne){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+W+" exec LA(1)=="+this.getLookaheadName(U)+" line "+U.LT(1).line+":"+U.LT(1).column),this._input=U,this._startIndex=U.index,this._outerContext=ne;const ee=this.decisionToDFA[W];this._dfa=ee;const j=U.mark(),B=U.index;try{let $;if($=ee.precedenceDfa?ee.getPrecedenceStartState(this.parser.getPrecedence()):ee.s0,null===$){null===ne&&(ne=g.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ee.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ne.toString(this.parser.ruleNames));let te=this.computeStartState(ee.atnStartState,g.EMPTY,!1);ee.precedenceDfa?(ee.s0.configs=te,te=this.applyPrecedenceFilter(te),$=this.addDFAState(ee,new l(null,te)),ee.setPrecedenceStartState(this.parser.getPrecedence(),$)):($=this.addDFAState(ee,new l(null,te)),ee.s0=$)}const Z=this.execATN(ee,$,U,B,ne);return this.debug&&console.log("DFA after predictATN: "+ee.toString(this.parser.literalNames,this.parser.symbolicNames)),Z}finally{this._dfa=null,this.mergeCache=null,U.seek(B),U.release(j)}}execATN(U,W,ne,ee,j){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+U.decision+" exec LA(1)=="+this.getLookaheadName(ne)+" line "+ne.LT(1).line+":"+ne.LT(1).column);let B,$=W;this.debug&&console.log("s0 = "+W);let Z=ne.LA(1);for(;;){let H=this.getExistingTargetState($,Z);if(null===H&&(H=this.computeTargetState(U,$,Z)),H===c.ERROR){const te=this.noViableAlt(ne,j,$.configs,ee);if(ne.seek(ee),B=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule($.configs,j),B!==u.INVALID_ALT_NUMBER)return B;throw te}if(H.requiresFullContext&&this.predictionMode!==d.SLL){let te=null;if(null!==H.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Ge=ne.index;if(Ge!==ee&&ne.seek(ee),te=this.evalSemanticContext(H.predicates,j,!0),1===te.length)return this.debug&&console.log("Full LL avoided"),te.minValue();Ge!==ee&&ne.seek(Ge)}this.dfa_debug&&console.log("ctx sensitive state "+j+" in "+H);const ye=this.computeStartState(U.atnStartState,j,!0);return this.reportAttemptingFullContext(U,te,H.configs,ee,ne.index),B=this.execATNWithFullContext(U,H,ye,ne,ee,j),B}if(H.isAcceptState){if(null===H.predicates)return H.prediction;const te=ne.index;ne.seek(ee);const ue=this.evalSemanticContext(H.predicates,j,!0);if(0===ue.length)throw this.noViableAlt(ne,j,H.configs,ee);return 1===ue.length||this.reportAmbiguity(U,H,ee,te,!1,ue,H.configs),ue.minValue()}$=H,Z!==o.EOF&&(ne.consume(),Z=ne.LA(1))}}getExistingTargetState(U,W){const ne=U.edges;return null===ne?null:ne[W+1]||null}computeTargetState(U,W,ne){const ee=this.computeReachSet(W.configs,ne,!1);if(null===ee)return this.addDFAEdge(U,W,ne,c.ERROR),c.ERROR;let j=new l(null,ee);const B=this.getUniqueAlt(ee);if(this.debug){const $=d.getConflictingAltSubsets(ee);console.log("SLL altSubSets="+n.arrayToString($)+", configs="+ee+", predict="+B+", allSubsetsConflict="+d.allSubsetsConflict($)+", conflictingAlts="+this.getConflictingAlts(ee))}return B!==u.INVALID_ALT_NUMBER?(j.isAcceptState=!0,j.configs.uniqueAlt=B,j.prediction=B):d.hasSLLConflictTerminatingPrediction(this.predictionMode,ee)&&(j.configs.conflictingAlts=this.getConflictingAlts(ee),j.requiresFullContext=!0,j.isAcceptState=!0,j.prediction=j.configs.conflictingAlts.minValue()),j.isAcceptState&&j.configs.hasSemanticContext&&(this.predicateDFAState(j,this.atn.getDecisionState(U.decision)),null!==j.predicates&&(j.prediction=u.INVALID_ALT_NUMBER)),j=this.addDFAEdge(U,W,ne,j),j}predicateDFAState(U,W){const ne=W.transitions.length,ee=this.getConflictingAltsOrUniqueAlt(U.configs),j=this.getPredsForAmbigAlts(ee,U.configs,ne);null!==j?(U.predicates=this.getPredicatePredictions(ee,j),U.prediction=u.INVALID_ALT_NUMBER):U.prediction=ee.minValue()}execATNWithFullContext(U,W,ne,ee,j,B){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ne);let H,Z=!1,te=ne;ee.seek(j);let ue=ee.LA(1),ye=-1;for(;;){if(H=this.computeReachSet(te,ue,!0),null===H){const $e=this.noViableAlt(ee,B,te,j);ee.seek(j);const Ye=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(te,B);if(Ye!==u.INVALID_ALT_NUMBER)return Ye;throw $e}const Ge=d.getConflictingAltSubsets(H);if(this.debug&&console.log("LL altSubSets="+Ge+", predict="+d.getUniqueAlt(Ge)+", resolvesToJustOneViableAlt="+d.resolvesToJustOneViableAlt(Ge)),H.uniqueAlt=this.getUniqueAlt(H),H.uniqueAlt!==u.INVALID_ALT_NUMBER){ye=H.uniqueAlt;break}if(this.predictionMode!==d.LL_EXACT_AMBIG_DETECTION){if(ye=d.resolvesToJustOneViableAlt(Ge),ye!==u.INVALID_ALT_NUMBER)break}else if(d.allSubsetsConflict(Ge)&&d.allSubsetsEqual(Ge)){Z=!0,ye=d.getSingleViableAlt(Ge);break}te=H,ue!==o.EOF&&(ee.consume(),ue=ee.LA(1))}return H.uniqueAlt!==u.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ye,H,j,ee.index),ye):(this.reportAmbiguity(U,W,j,ee.index,Z,null,H),ye)}computeReachSet(U,W,ne){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new y);const ee=new h(ne);let j=null;for(let $=0;$0&&(B=this.getAltThatFinishedDecisionEntryRule(j),B!==u.INVALID_ALT_NUMBER)?B:u.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const W=[];for(let ne=0;ne0||ee.state instanceof s&&ee.context.hasEmptyPath())&&W.indexOf(ee.alt)<0&&W.push(ee.alt)}return 0===W.length?u.INVALID_ALT_NUMBER:Math.min.apply(null,W)}splitAccordingToSemanticValidity(U,W){const ne=new h(U.fullCtx),ee=new h(U.fullCtx);for(let j=0;j50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let Z=0;Z=0&&(Ge+=1)}this.closureCheckingStopState(ye,W,ne,ue,j,Ge,$)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const W=U.state;if(W.stateType!==v.STAR_LOOP_ENTRY||W.stateType!==v.STAR_LOOP_ENTRY||!W.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ne=U.context.length;for(let $=0;$=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,W,ne,ee,j,B){switch(W.serializationType){case T.RULE:return this.ruleTransition(U,W);case T.PRECEDENCE:return this.precedenceTransition(U,W,ne,ee,j);case T.PREDICATE:return this.predTransition(U,W,ne,ee,j);case T.ACTION:return this.actionTransition(U,W);case T.EPSILON:return new m({state:W.target},U);case T.ATOM:case T.RANGE:case T.SET:return B&&W.matches(o.EOF,0,1)?new m({state:W.target},U):null;default:return null}}actionTransition(U,W){return this.debug&&console.log("ACTION edge "+W.ruleIndex+":"+(-1===W.actionIndex?65535:W.actionIndex)),new m({state:W.target},U)}precedenceTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&ee)if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}predTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.ruleIndex+":"+W.predIndex+", ctx dependent="+W.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&(W.isCtxDependent&&ee||!W.isCtxDependent))if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}ruleTransition(U,W){this.debug&&console.log("CALL rule "+this.getRuleName(W.target.ruleIndex)+", ctx="+U.context);const ee=A.create(U.context,W.followState.stateNumber);return new m({state:W.target,context:ee},U)}getConflictingAlts(U){const W=d.getConflictingAltSubsets(U);return d.getAlts(W)}getConflictingAltsOrUniqueAlt(U){let W=null;return U.uniqueAlt!==u.INVALID_ALT_NUMBER?(W=new D,W.add(U.uniqueAlt)):W=U.conflictingAlts,W}getTokenName(U){if(U===o.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(U>=this.parser.literalNames.length&&U>=this.parser.symbolicNames.length))return(this.parser.literalNames[U]||this.parser.symbolicNames[U])+"<"+U+">";console.log(U+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+U}getLookaheadName(U){return this.getTokenName(U.LA(1))}dumpDeadEndConfigs(U){console.log("dead end configs: ");const W=U.getDeadEndConfigs();for(let ne=0;ne0){const B=ee.state.transitions[0];B instanceof AtomTransition?j="Atom "+this.getTokenName(B.label):B instanceof S&&(j=(B instanceof M?"~":"")+"Set "+B.set)}console.error(ee.toString(this.parser,!0)+":"+j)}}noViableAlt(U,W,ne,ee){return new P(this.parser,U,U.get(ee),U.LT(1),ne,W)}getUniqueAlt(U){let W=u.INVALID_ALT_NUMBER;for(let ne=0;ne "+ee+" upon "+this.getTokenName(ne)),null===ee?null:(ee=this.addDFAState(U,ee),null===W||ne<-1||ne>this.atn.maxTokenType||(null===W.edges&&(W.edges=[]),W.edges[ne+1]=ee,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ee)}addDFAState(U,W){if(W===c.ERROR)return W;const ne=U.states.get(W);return null!==ne?ne:(W.stateNumber=U.states.length,W.configs.readOnly||(W.configs.optimizeConfigs(this),W.configs.setReadonly(!0)),U.states.add(W),this.debug&&console.log("adding new DFA state: "+W),W)}reportAttemptingFullContext(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ee,j,W,ne)}reportContextSensitivity(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportContextSensitivity decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ee,j,W,ne)}reportAmbiguity(U,W,ne,ee,j,B,$){if(this.debug||this.retry_debug){const Z=new w(ne,ee+1);console.log("reportAmbiguity "+B+":"+$+", input="+this.parser.getTokenStream().getText(Z))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ne,ee,j,B,$)}}},5359:(Me,ie,_)=>{const{Map:n,BitSet:f,AltDict:D,hashStuff:y}=_(3340),u=_(9800),{RuleStopState:v}=_(5516),{ATNConfigSet:s}=_(4280),{ATNConfig:m}=_(7745),{SemanticContext:h}=_(9454),o={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(l,r){if(o.allConfigsInRuleStopStates(r))return!0;if(l===o.SLL&&r.hasSemanticContext){const d=new s;for(let g=0;g1)return!0;return!1},allSubsetsEqual:function(l){let r=null;for(let c=0;c{const{Set:n,Hash:f,equalArrays:D}=_(3340);class y{hashCode(){const o=new f;return this.updateHashCode(o),o.finish()}evaluate(o,l){}evalPrecedence(o,l){return this}static andContext(o,l){if(null===o||o===y.NONE)return l;if(null===l||l===y.NONE)return o;const r=new s(o,l);return 1===r.opnds.length?r.opnds[0]:r}static orContext(o,l){if(null===o)return l;if(null===l)return o;if(o===y.NONE||l===y.NONE)return y.NONE;const r=new m(o,l);return 1===r.opnds.length?r.opnds[0]:r}}class u extends y{constructor(o,l,r){super(),this.ruleIndex=void 0===o?-1:o,this.predIndex=void 0===l?-1:l,this.isCtxDependent=void 0!==r&&r}evaluate(o,l){return o.sempred(this.isCtxDependent?l:null,this.ruleIndex,this.predIndex)}updateHashCode(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(o){return this===o||o instanceof u&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}y.NONE=new u;class v extends y{constructor(o){super(),this.precedence=void 0===o?0:o}evaluate(o,l){return o.precpred(l,this.precedence)}evalPrecedence(o,l){return o.precpred(l,this.precedence)?y.NONE:null}compareTo(o){return this.precedence-o.precedence}updateHashCode(o){o.update(this.precedence)}equals(o){return this===o||o instanceof v&&this.precedence===o.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(o){const l=[];return o.values().map(function(r){r instanceof v&&l.push(r)}),l}}class s extends y{constructor(o,l){super();const r=new n;o instanceof s?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof s?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){let d=null;c.map(function(g){(null===d||g.precedencel.toString());return(o.length>3?o.slice(3):o).join("&&")}}class m extends y{constructor(o,l){super();const r=new n;o instanceof m?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof m?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){const d=c.sort(function(b,C){return b.compareTo(C)});r.add(d[d.length-1])}this.opnds=Array.from(r.values())}equals(o){return this===o||o instanceof m&&D(this.opnds,o.opnds)}updateHashCode(o){o.update(this.opnds,"OR")}evaluate(o,l){for(let r=0;rl.toString());return(o.length>3?o.slice(3):o).join("||")}}Me.exports={SemanticContext:y,PrecedencePredicate:v,Predicate:u}},6850:(Me,ie,_)=>{const{Token:n}=_(6205),{IntervalSet:f}=_(9173),{Predicate:D,PrecedencePredicate:y}=_(9454);class u{constructor(x){if(null==x)throw"target cannot be null.";this.target=x,this.isEpsilon=!1,this.label=null}}u.EPSILON=1,u.RANGE=2,u.RULE=3,u.PREDICATE=4,u.ATOM=5,u.ACTION=6,u.SET=7,u.NOT_SET=8,u.WILDCARD=9,u.PRECEDENCE=10,u.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],u.serializationTypes={EpsilonTransition:u.EPSILON,RangeTransition:u.RANGE,RuleTransition:u.RULE,PredicateTransition:u.PREDICATE,AtomTransition:u.ATOM,ActionTransition:u.ACTION,SetTransition:u.SET,NotSetTransition:u.NOT_SET,WildcardTransition:u.WILDCARD,PrecedencePredicateTransition:u.PRECEDENCE};class o extends u{constructor(x){super(x)}}class c extends u{constructor(x,w){super(x),this.serializationType=u.SET,null!=w?this.label=w:(this.label=new f,this.label.addOne(n.INVALID_TYPE))}matches(x,w,T){return this.label.contains(x)}toString(){return this.label.toString()}}Me.exports={Transition:u,AtomTransition:class v extends u{constructor(x,w){super(x),this.label_=w,this.label=this.makeLabel(),this.serializationType=u.ATOM}makeLabel(){const x=new f;return x.addOne(this.label_),x}matches(x,w,T){return this.label_===x}toString(){return this.label_}},SetTransition:c,NotSetTransition:class d extends c{constructor(x,w){super(x,w),this.serializationType=u.NOT_SET}matches(x,w,T){return x>=w&&x<=T&&!super.matches(x,w,T)}toString(){return"~"+super.toString()}},RuleTransition:class s extends u{constructor(x,w,T,S){super(x),this.ruleIndex=w,this.precedence=T,this.followState=S,this.serializationType=u.RULE,this.isEpsilon=!0}matches(x,w,T){return!1}},ActionTransition:class r extends u{constructor(x,w,T,S){super(x),this.serializationType=u.ACTION,this.ruleIndex=w,this.actionIndex=void 0===T?-1:T,this.isCtxDependent=void 0!==S&&S,this.isEpsilon=!0}matches(x,w,T){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class m extends u{constructor(x,w){super(x),this.serializationType=u.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(x,w,T){return!1}toString(){return"epsilon"}},RangeTransition:class h extends u{constructor(x,w,T){super(x),this.serializationType=u.RANGE,this.start=w,this.stop=T,this.label=this.makeLabel()}makeLabel(){const x=new f;return x.addRange(this.start,this.stop),x}matches(x,w,T){return x>=this.start&&x<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class g extends u{constructor(x){super(x),this.serializationType=u.WILDCARD}matches(x,w,T){return x>=w&&x<=T}toString(){return"."}},PredicateTransition:class l extends o{constructor(x,w,T,S){super(x),this.serializationType=u.PREDICATE,this.ruleIndex=w,this.predIndex=T,this.isCtxDependent=S,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new D(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class b extends o{constructor(x,w){super(x),this.serializationType=u.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new y(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:o}},871:(Me,ie,_)=>{ie.ATN=_(9800),ie.ATNDeserializer=_(7499),ie.LexerATNSimulator=_(9462),ie.ParserATNSimulator=_(6877),ie.PredictionMode=_(5359)},5343:(Me,ie,_)=>{const{Set:n}=_(3340),{DFAState:f}=_(5468),{StarLoopEntryState:D}=_(5516),{ATNConfigSet:y}=_(4280),{DFASerializer:u}=_(7279),{LexerDFASerializer:v}=_(7279);Me.exports=class s{constructor(h,o){if(void 0===o&&(o=0),this.atnStartState=h,this.decision=o,this._states=new n,this.s0=null,this.precedenceDfa=!1,h instanceof D&&h.isPrecedenceDecision){this.precedenceDfa=!0;const l=new f(null,new y);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}getPrecedenceStartState(h){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return h<0||h>=this.s0.edges.length?null:this.s0.edges[h]||null}setPrecedenceStartState(h,o){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";h<0||(this.s0.edges[h]=o)}setPrecedenceDfa(h){if(this.precedenceDfa!==h){if(this._states=new n,h){const o=new f(null,new y);o.edges=[],o.isAcceptState=!1,o.requiresFullContext=!1,this.s0=o}else this.s0=null;this.precedenceDfa=h}}sortedStates(){return this._states.values().sort(function(o,l){return o.stateNumber-l.stateNumber})}toString(h,o){return h=h||null,o=o||null,null===this.s0?"":new u(this,h,o).toString()}toLexerString(){return null===this.s0?"":new v(this).toString()}get states(){return this._states}}},7279:(Me,ie,_)=>{const n=_(3340);class f{constructor(u,v,s){this.dfa=u,this.literalNames=v||[],this.symbolicNames=s||[]}toString(){if(null===this.dfa.s0)return null;let u="";const v=this.dfa.sortedStates();for(let s=0;s"),u=u.concat(this.getStateString(l)),u=u.concat("\n"))}}}return 0===u.length?null:u}getEdgeLabel(u){return 0===u?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[u-1]||this.symbolicNames[u-1]:String.fromCharCode(u-1)}getStateString(u){const v=(u.isAcceptState?":":"")+"s"+u.stateNumber+(u.requiresFullContext?"^":"");return u.isAcceptState?null!==u.predicates?v+"=>"+n.arrayToString(u.predicates):v+"=>"+u.prediction.toString():v}}Me.exports={DFASerializer:f,LexerDFASerializer:class D extends f{constructor(u){super(u,null)}getEdgeLabel(u){return"'"+String.fromCharCode(u)+"'"}}}},5468:(Me,ie,_)=>{const{ATNConfigSet:n}=_(4280),{Hash:f,Set:D}=_(3340);class u{constructor(s,m){return null===s&&(s=-1),null===m&&(m=new n),this.stateNumber=s,this.configs=m,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const s=new D;if(null!==this.configs)for(let m=0;m{ie.DFA=_(5343),ie.DFASerializer=_(7279).DFASerializer,ie.LexerDFASerializer=_(7279).LexerDFASerializer,ie.PredPrediction=_(5468).PredPrediction},9935:(Me,ie,_)=>{const{BitSet:n}=_(3340),{ErrorListener:f}=_(7967),{Interval:D}=_(9173);Me.exports=class y extends f{constructor(v){super(),this.exactOnly=v=v||!0}reportAmbiguity(v,s,m,h,o,l,r){if(this.exactOnly&&!o)return;const c="reportAmbiguity d="+this.getDecisionDescription(v,s)+": ambigAlts="+this.getConflictingAlts(l,r)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(c)}reportAttemptingFullContext(v,s,m,h,o,l){const r="reportAttemptingFullContext d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}reportContextSensitivity(v,s,m,h,o,l){const r="reportContextSensitivity d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}getDecisionDescription(v,s){const m=s.decision,h=s.atnStartState.ruleIndex,o=v.ruleNames;if(h<0||h>=o.length)return""+m;const l=o[h]||null;return null===l||0===l.length?""+m:`${m} (${l})`}getConflictingAlts(v,s){if(null!==v)return v;const m=new n;for(let h=0;h{class ie{syntaxError(D,y,u,v,s,m){}reportAmbiguity(D,y,u,v,s,m,h){}reportAttemptingFullContext(D,y,u,v,s,m){}reportContextSensitivity(D,y,u,v,s,m){}}class _ extends ie{constructor(){super()}syntaxError(D,y,u,v,s,m){console.error("line "+u+":"+v+" "+s)}}_.INSTANCE=new _,Me.exports={ErrorListener:ie,ConsoleErrorListener:_,ProxyErrorListener:class n extends ie{constructor(D){if(super(),null===D)throw"delegates";return this.delegates=D,this}syntaxError(D,y,u,v,s,m){this.delegates.map(h=>h.syntaxError(D,y,u,v,s,m))}reportAmbiguity(D,y,u,v,s,m,h){this.delegates.map(o=>o.reportAmbiguity(D,y,u,v,s,m,h))}reportAttemptingFullContext(D,y,u,v,s,m){this.delegates.map(h=>h.reportAttemptingFullContext(D,y,u,v,s,m))}reportContextSensitivity(D,y,u,v,s,m){this.delegates.map(h=>h.reportContextSensitivity(D,y,u,v,s,m))}}}},2487:(Me,ie,_)=>{const{Token:n}=_(6205),{NoViableAltException:f,InputMismatchException:D,FailedPredicateException:y,ParseCancellationException:u}=_(5858),{ATNState:v}=_(5516),{Interval:s,IntervalSet:m}=_(9173);class h{reset(c){}recoverInline(c){}recover(c,d){}sync(c){}inErrorRecoveryMode(c){}reportError(c){}}class o extends h{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(c){this.endErrorCondition(c)}beginErrorCondition(c){this.errorRecoveryMode=!0}inErrorRecoveryMode(c){return this.errorRecoveryMode}endErrorCondition(c){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(c){this.endErrorCondition(c)}reportError(c,d){this.inErrorRecoveryMode(c)||(this.beginErrorCondition(c),d instanceof f?this.reportNoViableAlternative(c,d):d instanceof D?this.reportInputMismatch(c,d):d instanceof y?this.reportFailedPredicate(c,d):(console.log("unknown recognition error type: "+d.constructor.name),console.log(d.stack),c.notifyErrorListeners(d.getOffendingToken(),d.getMessage(),d)))}recover(c,d){this.lastErrorIndex===c.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(c.state)>=0&&c.consume(),this.lastErrorIndex=c._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(c.state);const g=this.getErrorRecoverySet(c);this.consumeUntil(c,g)}sync(c){if(this.inErrorRecoveryMode(c))return;const d=c._interp.atn.states[c.state],g=c.getTokenStream().LA(1),b=c.atn.nextTokens(d);if(b.contains(g))return this.nextTokensContext=null,void(this.nextTokenState=v.INVALID_STATE_NUMBER);if(b.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=c._ctx,this.nextTokensState=c._stateNumber);else switch(d.stateType){case v.BLOCK_START:case v.STAR_BLOCK_START:case v.PLUS_BLOCK_START:case v.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(c))return;throw new D(c);case v.PLUS_LOOP_BACK:case v.STAR_LOOP_BACK:this.reportUnwantedToken(c);const C=new m;C.addSet(c.getExpectedTokens());const x=C.addSet(this.getErrorRecoverySet(c));this.consumeUntil(c,x)}}reportNoViableAlternative(c,d){const g=c.getTokenStream();let b;b=null!==g?d.startToken.type===n.EOF?"":g.getText(new s(d.startToken.tokenIndex,d.offendingToken.tokenIndex)):"";const C="no viable alternative at input "+this.escapeWSAndQuote(b);c.notifyErrorListeners(C,d.offendingToken,d)}reportInputMismatch(c,d){const g="mismatched input "+this.getTokenErrorDisplay(d.offendingToken)+" expecting "+d.getExpectedTokens().toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(g,d.offendingToken,d)}reportFailedPredicate(c,d){c.notifyErrorListeners("rule "+c.ruleNames[c._ctx.ruleIndex]+" "+d.message,d.offendingToken,d)}reportUnwantedToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),C="extraneous input "+this.getTokenErrorDisplay(d)+" expecting "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(C,d,null)}reportMissingToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),b="missing "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames)+" at "+this.getTokenErrorDisplay(d);c.notifyErrorListeners(b,d,null)}recoverInline(c){const d=this.singleTokenDeletion(c);if(null!==d)return c.consume(),d;if(this.singleTokenInsertion(c))return this.getMissingSymbol(c);throw new D(c)}singleTokenInsertion(c){const d=c.getTokenStream().LA(1),g=c._interp.atn;return!!g.nextTokens(g.states[c.state].transitions[0].target,c._ctx).contains(d)&&(this.reportMissingToken(c),!0)}singleTokenDeletion(c){const d=c.getTokenStream().LA(2);if(this.getExpectedTokens(c).contains(d)){this.reportUnwantedToken(c),c.consume();const b=c.getCurrentToken();return this.reportMatch(c),b}return null}getMissingSymbol(c){const d=c.getCurrentToken(),b=this.getExpectedTokens(c).first();let C;C=b===n.EOF?"":"";let x=d;const w=c.getTokenStream().LT(-1);return x.type===n.EOF&&null!==w&&(x=w),c.getTokenFactory().create(x.source,b,C,n.DEFAULT_CHANNEL,-1,-1,x.line,x.column)}getExpectedTokens(c){return c.getExpectedTokens()}getTokenErrorDisplay(c){if(null===c)return"";let d=c.text;return null===d&&(d=c.type===n.EOF?"":"<"+c.type+">"),this.escapeWSAndQuote(d)}escapeWSAndQuote(c){return"'"+(c=(c=(c=c.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(c){const d=c._interp.atn;let g=c._ctx;const b=new m;for(;null!==g&&g.invokingState>=0;){const w=d.nextTokens(d.states[g.invokingState].transitions[0].followState);b.addSet(w),g=g.parentCtx}return b.removeOne(n.EPSILON),b}consumeUntil(c,d){let g=c.getTokenStream().LA(1);for(;g!==n.EOF&&!d.contains(g);)c.consume(),g=c.getTokenStream().LA(1)}}Me.exports={BailErrorStrategy:class l extends o{constructor(){super()}recover(c,d){let g=c._ctx;for(;null!==g;)g.exception=d,g=g.parentCtx;throw new u(d)}recoverInline(c){this.recover(c,new D(c))}sync(c){}},DefaultErrorStrategy:o}},5858:(Me,ie,_)=>{const{PredicateTransition:n}=_(6850),{Interval:f}=_(9173).Interval;class D extends Error{constructor(l){super(l.message),Error.captureStackTrace?Error.captureStackTrace(this,D):new Error,this.message=l.message,this.recognizer=l.recognizer,this.input=l.input,this.ctx=l.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}function s(o,l){return null!==l?l:"failed predicate: {"+o+"}?"}class h extends Error{constructor(){super(),Error.captureStackTrace(this,h)}}Me.exports={RecognitionException:D,NoViableAltException:class u extends D{constructor(l,r,c,d,g,b){b=b||l._ctx,d=d||l.getCurrentToken(),c=c||l.getCurrentToken(),r=r||l.getInputStream(),super({message:"",recognizer:l,input:r,ctx:b}),this.deadEndConfigs=g,this.startToken=c,this.offendingToken=d}},LexerNoViableAltException:class y extends D{constructor(l,r,c,d){super({message:"",recognizer:l,input:r,ctx:null}),this.startIndex=c,this.deadEndConfigs=d}toString(){let l="";return this.startIndex>=0&&this.startIndex{Me.exports.RecognitionException=_(5858).RecognitionException,Me.exports.NoViableAltException=_(5858).NoViableAltException,Me.exports.LexerNoViableAltException=_(5858).LexerNoViableAltException,Me.exports.InputMismatchException=_(5858).InputMismatchException,Me.exports.FailedPredicateException=_(5858).FailedPredicateException,Me.exports.DiagnosticErrorListener=_(9935),Me.exports.BailErrorStrategy=_(2487).BailErrorStrategy,Me.exports.DefaultErrorStrategy=_(2487).DefaultErrorStrategy,Me.exports.ErrorListener=_(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Me=function(){let _;try{const n={},f=Object.defineProperty;_=f(n,n,n)&&f}catch{}return _}();const ie=function(_){if(null==this)throw TypeError();const n=String(this),f=n.length;let D=_?Number(_):0;if(D!=D&&(D=0),D<0||D>=f)return;const y=n.charCodeAt(D);let u;return y>=55296&&y<=56319&&f>D+1&&(u=n.charCodeAt(D+1),u>=56320&&u<=57343)?1024*(y-55296)+u-56320+65536:y};Me?Me(String.prototype,"codePointAt",{value:ie,configurable:!0,writable:!0}):String.prototype.codePointAt=ie}()},9182:()=>{String.fromCodePoint||function(){const Me=function(){let f;try{const D={},y=Object.defineProperty;f=y(D,D,D)&&y}catch{}return f}(),ie=String.fromCharCode,_=Math.floor,n=function(f){const y=[];let u,v,s=-1;const m=arguments.length;if(!m)return"";let h="";for(;++s1114111||_(o)!==o)throw RangeError("Invalid code point: "+o);o<=65535?y.push(o):(o-=65536,u=55296+(o>>10),v=o%1024+56320,y.push(u,v)),(s+1===m||y.length>16384)&&(h+=ie.apply(null,y),y.length=0)}return h};Me?Me(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Me,ie,_)=>{const{Token:n}=_(6205),{Interval:f}=_(9173),D=new f(-1,-2);class y{}class u extends y{constructor(){super()}}class v extends u{constructor(){super()}}class m extends v{constructor(){super()}}class h extends m{constructor(){super()}}class r extends m{constructor(b){super(),this.parentCtx=null,this.symbol=b}getChild(b){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return D;const b=this.symbol.tokenIndex;return new f(b,b)}getChildCount(){return 0}accept(b){return b.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class d{walk(b,C){if(C instanceof h||void 0!==C.isErrorNode&&C.isErrorNode())b.visitErrorNode(C);else if(C instanceof m)b.visitTerminal(C);else{this.enterRule(b,C);for(let w=0;w{const n=_(3340),{Token:f}=_(6205),{ErrorNode:D,TerminalNode:y,RuleNode:u}=_(5829),v={toStringTree:function(s,m,h){m=m||null,null!==(h=h||null)&&(m=h.ruleNames);let o=v.getNodeText(s,m);o=n.escapeWhitespace(o,!1);const l=s.getChildCount();if(0===l)return o;let r="("+o+" ";l>0&&(o=v.toStringTree(s.getChild(0),m),r=r.concat(o));for(let c=1;c{const n=_(5829),f=_(5140);Me.exports={...n,Trees:f}},9807:function(){var Me;Me=typeof self<"u"?self:this,function(_){var n_searchParams="URLSearchParams"in Me,n_iterable="Symbol"in Me&&"iterator"in Symbol,n_blob="FileReader"in Me&&"Blob"in Me&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Me,n_arrayBuffer="ArrayBuffer"in Me;if(n_arrayBuffer)var D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(I){return I&&D.indexOf(Object.prototype.toString.call(I))>-1};function u(I){if("string"!=typeof I&&(I=String(I)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(I))throw new TypeError("Invalid character in header field name");return I.toLowerCase()}function v(I){return"string"!=typeof I&&(I=String(I)),I}function s(I){var P={next:function(){var A=I.shift();return{done:void 0===A,value:A}}};return n_iterable&&(P[Symbol.iterator]=function(){return P}),P}function m(I){this.map={},I instanceof m?I.forEach(function(P,A){this.append(A,P)},this):Array.isArray(I)?I.forEach(function(P){this.append(P[0],P[1])},this):I&&Object.getOwnPropertyNames(I).forEach(function(P){this.append(P,I[P])},this)}function h(I){if(I.bodyUsed)return Promise.reject(new TypeError("Already read"));I.bodyUsed=!0}function o(I){return new Promise(function(P,A){I.onload=function(){P(I.result)},I.onerror=function(){A(I.error)}})}function l(I){var P=new FileReader,A=o(P);return P.readAsArrayBuffer(I),A}function d(I){if(I.slice)return I.slice(0);var P=new Uint8Array(I.byteLength);return P.set(new Uint8Array(I)),P.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(I){this._bodyInit=I,I?"string"==typeof I?this._bodyText=I:n_blob&&Blob.prototype.isPrototypeOf(I)?this._bodyBlob=I:n_formData&&FormData.prototype.isPrototypeOf(I)?this._bodyFormData=I:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)?this._bodyText=I.toString():n_arrayBuffer&&n_blob&&function f(I){return I&&DataView.prototype.isPrototypeOf(I)}(I)?(this._bodyArrayBuffer=d(I.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(I)||y(I))?this._bodyArrayBuffer=d(I):this._bodyText=I=Object.prototype.toString.call(I):this._bodyText="",this.headers.get("content-type")||("string"==typeof I?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var I=h(this);if(I)return I;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var I=h(this);if(I)return I;if(this._bodyBlob)return function r(I){var P=new FileReader,A=o(P);return P.readAsText(I),A}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function c(I){for(var P=new Uint8Array(I),A=new Array(P.length),L=0;L-1?P:I}(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}function w(I){var P=new FormData;return I.trim().split("&").forEach(function(A){if(A){var L=A.split("="),F=L.shift().replace(/\+/g," "),R=L.join("=").replace(/\+/g," ");P.append(decodeURIComponent(F),decodeURIComponent(R))}}),P}function T(I){var P=new m;return I.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(L){var F=L.split(":"),R=F.shift().trim();if(R){var U=F.join(":").trim();P.append(R,U)}}),P}function S(I,P){P||(P={}),this.type="default",this.status=void 0===P.status?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in P?P.statusText:"OK",this.headers=new m(P.headers),this.url=P.url||"",this._initBody(I)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},S.error=function(){var I=new S(null,{status:0,statusText:""});return I.type="error",I};var M=[301,302,303,307,308];S.redirect=function(I,P){if(-1===M.indexOf(P))throw new RangeError("Invalid status code");return new S(null,{status:P,headers:{location:I}})},_.DOMException=Me.DOMException;try{new _.DOMException}catch{_.DOMException=function(P,A){this.message=P,this.name=A;var L=Error(P);this.stack=L.stack},_.DOMException.prototype=Object.create(Error.prototype),_.DOMException.prototype.constructor=_.DOMException}function k(I,P){return new Promise(function(A,L){var F=new x(I,P);if(F.signal&&F.signal.aborted)return L(new _.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function U(){R.abort()}R.onload=function(){var W={status:R.status,statusText:R.statusText,headers:T(R.getAllResponseHeaders()||"")};W.url="responseURL"in R?R.responseURL:W.headers.get("X-Request-URL"),A(new S("response"in R?R.response:R.responseText,W))},R.onerror=function(){L(new TypeError("Network request failed"))},R.ontimeout=function(){L(new TypeError("Network request failed"))},R.onabort=function(){L(new _.DOMException("Aborted","AbortError"))},R.open(F.method,F.url,!0),"include"===F.credentials?R.withCredentials=!0:"omit"===F.credentials&&(R.withCredentials=!1),"responseType"in R&&n_blob&&(R.responseType="blob"),F.headers.forEach(function(W,ne){R.setRequestHeader(ne,W)}),F.signal&&(F.signal.addEventListener("abort",U),R.onreadystatechange=function(){4===R.readyState&&F.signal.removeEventListener("abort",U)}),R.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}k.polyfill=!0,Me.fetch||(Me.fetch=k,Me.Headers=m,Me.Request=x,Me.Response=S),_.Headers=m,_.Request=x,_.Response=S,_.fetch=k,Object.defineProperty(_,"__esModule",{value:!0})}({})},7098:Me=>{Me.exports=function(n){var f=new Date(n.getTime()),D=f.getTimezoneOffset();return f.setSeconds(0,0),6e4*D+f.getTime()%6e4}},2860:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D),v=Number(y);return u.setDate(u.getDate()+v),u}},6888:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,36e5*v)}},3895:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D).getTime(),v=Number(y);return new Date(u+v)}},3745:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,6e4*v)}},1277:(Me,ie,_)=>{var n=_(1420),f=_(7255);Me.exports=function D(y,u){var v=n(y),s=Number(u),m=v.getMonth()+s,h=new Date(0);h.setFullYear(v.getFullYear(),m,1),h.setHours(0,0,0,0);var o=f(h);return v.setMonth(m,Math.min(o,v.getDate())),v}},3857:(Me,ie,_)=>{var n=_(3895);Me.exports=function f(D,y){var u=Number(y);return n(D,1e3*u)}},338:(Me,ie,_)=>{var n=_(2860);Me.exports=function f(D,y){var u=Number(y);return n(D,7*u)}},3763:(Me,ie,_)=>{var n=_(1277);Me.exports=function f(D,y){var u=Number(y);return n(D,12*u)}},7255:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D){var y=n(D),u=y.getFullYear(),v=y.getMonth(),s=new Date(0);return s.setFullYear(u,v+1,0),s.setHours(0,0,0,0),s.getDate()}},4853:Me=>{Me.exports=function ie(_){return _ instanceof Date}},1420:(Me,ie,_)=>{var n=_(7098),f=_(4853),D=36e5,y=6e4,v=/[T ]/,s=/:/,m=/^(\d{2})$/,h=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],o=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,c=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,g=/^-?W(\d{2})$/,b=/^-?W(\d{2})-?(\d{1})$/,C=/^(\d{2}([.,]\d*)?)$/,x=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,T=/([Z+-].*)$/,S=/^(Z)$/,M=/^([+-])(\d{2})$/,k=/^([+-])(\d{2}):?(\d{2})$/;function U(W,ne,ee){ne=ne||0,ee=ee||0;var j=new Date(0);j.setUTCFullYear(W,0,4);var $=7*ne+ee+1-(j.getUTCDay()||7);return j.setUTCDate(j.getUTCDate()+$),j}Me.exports=function I(W,ne){if(f(W))return new Date(W.getTime());if("string"!=typeof W)return new Date(W);var j=(ne||{}).additionalDigits;j=null==j?2:Number(j);var B=function P(W){var j,ne={},ee=W.split(v);if(s.test(ee[0])?(ne.date=null,j=ee[0]):(ne.date=ee[0],j=ee[1]),j){var B=T.exec(j);B?(ne.time=j.replace(B[1],""),ne.timezone=B[1]):ne.time=j}return ne}(W),$=function A(W,ne){var B,ee=h[ne],j=l[ne];if(B=o.exec(W)||j.exec(W)){var $=B[1];return{year:parseInt($,10),restDateString:W.slice($.length)}}if(B=m.exec(W)||ee.exec(W)){var Z=B[1];return{year:100*parseInt(Z,10),restDateString:W.slice(Z.length)}}return{year:null}}(B.date,j),te=function L(W,ne){if(null===ne)return null;var ee,j,B;if(0===W.length)return(j=new Date(0)).setUTCFullYear(ne),j;if(ee=r.exec(W))return j=new Date(0),B=parseInt(ee[1],10)-1,j.setUTCFullYear(ne,B),j;if(ee=c.exec(W)){j=new Date(0);var Z=parseInt(ee[1],10);return j.setUTCFullYear(ne,0,Z),j}if(ee=d.exec(W)){j=new Date(0),B=parseInt(ee[1],10)-1;var H=parseInt(ee[2],10);return j.setUTCFullYear(ne,B,H),j}return(ee=g.exec(W))?U(ne,parseInt(ee[1],10)-1):(ee=b.exec(W))?U(ne,parseInt(ee[1],10)-1,parseInt(ee[2],10)-1):null}($.restDateString,$.year);if(te){var Ge,ue=te.getTime(),ye=0;if(B.time&&(ye=function F(W){var ne,ee,j;if(ne=C.exec(W))return(ee=parseFloat(ne[1].replace(",",".")))%24*D;if(ne=x.exec(W))return ee=parseInt(ne[1],10),j=parseFloat(ne[2].replace(",",".")),ee%24*D+j*y;if(ne=w.exec(W)){ee=parseInt(ne[1],10),j=parseInt(ne[2],10);var B=parseFloat(ne[3].replace(",","."));return ee%24*D+j*y+1e3*B}return null}(B.time)),B.timezone)Ge=function R(W){var ne,ee;return(ne=S.exec(W))?0:(ne=M.exec(W))?(ee=60*parseInt(ne[2],10),"+"===ne[1]?-ee:ee):(ne=k.exec(W))?(ee=60*parseInt(ne[2],10)+parseInt(ne[3],10),"+"===ne[1]?-ee:ee):0}(B.timezone)*y;else{var $e=ue+ye,Ye=new Date($e);Ge=n(Ye);var Ze=new Date($e);Ze.setDate(Ye.getDate()+1);var Et=n(Ze)-n(Ye);Et>0&&(Ge+=Et)}return new Date(ue+ye+Ge)}return new Date(W)}},563:(Me,ie,_)=>{ie.formatArgs=function f(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+Me.exports.humanize(this.diff),!this.useColors)return;const m="color: "+this.color;s.splice(1,0,m,"color: inherit");let h=0,o=0;s[0].replace(/%[a-zA-Z%]/g,l=>{"%%"!==l&&(h++,"%c"===l&&(o=h))}),s.splice(o,0,m)},ie.save=function D(s){try{s?ie.storage.setItem("debug",s):ie.storage.removeItem("debug")}catch{}},ie.load=function y(){let s;try{s=ie.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},ie.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},ie.storage=function u(){try{return localStorage}catch{}}(),ie.destroy=(()=>{let s=!1;return()=>{s||(s=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),ie.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],ie.log=console.debug||console.log||(()=>{}),Me.exports=_(6018)(ie);const{formatters:v}=Me.exports;v.j=function(s){try{return JSON.stringify(s)}catch(m){return"[UnexpectedJSONParseError]: "+m.message}}},6018:(Me,ie,_)=>{Me.exports=function n(f){function y(r){let c,g,b,d=null;function C(...x){if(!C.enabled)return;const w=C,T=Number(new Date);w.diff=T-(c||T),w.prev=c,w.curr=T,c=T,x[0]=y.coerce(x[0]),"string"!=typeof x[0]&&x.unshift("%O");let M=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(I,P)=>{if("%%"===I)return"%";M++;const A=y.formatters[P];return"function"==typeof A&&(I=A.call(w,x[M]),x.splice(M,1),M--),I}),y.formatArgs.call(w,x),(w.log||y.log).apply(w,x)}return C.namespace=r,C.useColors=y.useColors(),C.color=y.selectColor(r),C.extend=u,C.destroy=y.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==d?d:(g!==y.namespaces&&(g=y.namespaces,b=y.enabled(r)),b),set:x=>{d=x}}),"function"==typeof y.init&&y.init(C),C}function u(r,c){const d=y(this.namespace+(typeof c>"u"?":":c)+r);return d.log=this.log,d}function h(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return y.debug=y,y.default=y,y.coerce=function o(r){return r instanceof Error?r.stack||r.message:r},y.disable=function s(){const r=[...y.names.map(h),...y.skips.map(h).map(c=>"-"+c)].join(",");return y.enable(""),r},y.enable=function v(r){let c;y.save(r),y.namespaces=r,y.names=[],y.skips=[];const d=("string"==typeof r?r:"").split(/[\s,]+/),g=d.length;for(c=0;c{y[r]=f[r]}),y.names=[],y.skips=[],y.formatters={},y.selectColor=function D(r){let c=0;for(let d=0;d{"use strict";var ie="%[a-f0-9]{2}",_=new RegExp("("+ie+")|([^%]+?)","gi"),n=new RegExp("("+ie+")+","gi");function f(u,v){try{return[decodeURIComponent(u.join(""))]}catch{}if(1===u.length)return u;var s=u.slice(0,v=v||1),m=u.slice(v);return Array.prototype.concat.call([],f(s),f(m))}function D(u){try{return decodeURIComponent(u)}catch{for(var v=u.match(_)||[],s=1;s"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),c=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function x(){var ke=setTimeout;return function(){return ke(T,1)}}var w=new Array(1e3);function T(){for(var ke=0;ke{Me.exports=class ie{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,f){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:f}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,f){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:f}})}supportFor({resourceType:n,capabilityType:f,where:D}={}){let y;if(y=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!y)return!1;const u=y[f];if(D&&u){const v=Object.keys(D)[0];return void 0!==u.find(m=>m[v]===D[v])}return void 0!==u}interactionsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f?[]:f.interaction.map(D=>D.code)}searchParamsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f||void 0===f.searchParam?[]:f.searchParam.map(D=>D.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(y=>y.type===n)}capabilityContents({resourceType:n,capabilityType:f}={}){const D=this.resourceCapabilities({resourceType:n});if(void 0!==D)return D[f]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Me,ie,_)=>{var n=_(7156).default;const f=_(133),{authFromCapability:D,authFromWellKnown:y}=_(6686),u=_(8237),v=_(7681),s=_(1370),{createQueryString:m,validResourceType:h}=_(9047),{FetchQueue:o}=_(1335),{deprecatePaginationArgs:l,deprecateHeaders:r}=_(3820),c=_(6836);Me.exports=class d{constructor({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w,bearerToken:T}={}){this.httpClient=new u({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w}),T&&(this.httpClient.bearerToken=T),this.resolver=new v(this),this.pagination=new s(this.httpClient)}static httpFor(b){return{request:u.requestFor(b),response:u.responseFor(b)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(b){this.httpClient&&(this.httpClient.baseUrl=b)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(b){this.httpClient.customHeaders=b}set bearerToken(b){this.httpClient.bearerToken=b}resolve({reference:b,context:C,headers:x,options:w={}}={}){return this.resolver.resolve({reference:b,context:C,options:r(w,x)})}smartAuthMetadata({headers:b,options:C={}}={}){var x=this;return n(function*(){const w={options:r(C,b)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const T=x.baseUrl.replace(/\/*$/,"/"),S=new o,M=S.buildJob(),k=S.buildJob(),I=S.buildJob(),P=[];return new Promise((A,L)=>{function F(R){P.push(R)===S.numJobs&&L(new Error(P.map(U=>U.message).join("; ")))}x.httpClient.request("GET",`${T}.well-known/smart-configuration`,k.addSignalOption(w)).then(R=>(S.safeAbortOthers(k),A(y(R)))).catch(R=>F(R)),x.capabilityStatement(M.addSignalOption(w)).then(R=>(S.safeAbortOthers(M),A(D(R)))).catch(R=>F(R)),x.httpClient.request("GET",`${T}.well-known/openid-configuration`,I.addSignalOption(w)).then(R=>(S.safeAbortOthers(I),A(y(R)))).catch(R=>F(R))})})()}capabilityStatement({headers:b,options:C={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(C,b))),this.metadata}request(b,{method:C="GET",options:x={},body:w}={}){return x.method&&x.method!==C&&console.warn(`WARNING: 'options.method' has been specified: ${x.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(C,b,x,w)}read({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}`,r(w,x))}vread({resourceType:b,id:C,version:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history/${x}`,r(T,w))}create({resourceType:b,body:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.post(b,C,r(w,x))}delete({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.delete(`${b}/${C}`,r(w,x))}update({resourceType:b,id:C,searchParams:x,body:w,headers:T,options:S={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);if(C&&x)throw new Error("Conditional update with search params cannot be with id",b);if(x){const M=m(x);return this.httpClient.put(`${b}?${M}`,w,r(S,T))}return this.httpClient.put(`${b}/${C}`,w,r(S,T))}patch({resourceType:b,id:C,JSONPatch:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const M={...r(T,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${b}/${C}`,x,{...T,headers:M})}batch({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}transaction({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}operation({name:b,resourceType:C,id:x,method:w="POST",input:T,options:S={}}={}){const M=["/"];if(C){if(!h(C))throw new Error("Invalid resourceType",C);M.push(`${C}/`)}return x&&M.push(`${x}/`),M.push(`${b.startsWith("$")?b:`$${b}`}`),"POST"===w.toUpperCase()?this.httpClient.post(M.join(""),T,S):"GET"===w.toUpperCase()?(T&&M.push(`?${f.stringify(T)}`),this.httpClient.get(M.join(""),S)):void 0}nextPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.nextPage(x,w)}prevPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.prevPage(x,w)}search({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);if(C&&b)return this.compartmentSearch({resourceType:b,compartment:C,searchParams:x,options:r(T,w)});if(b)return this.resourceSearch({resourceType:b,searchParams:x,options:r(T,w)});if(x instanceof Object&&Object.keys(x).length>0)return this.systemSearch({searchParams:x,options:r(T,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:b,searchParams:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);let T=b;return w.postSearch&&(T+="/_search"),this.baseSearch({searchPath:T,searchParams:C,headers:x,options:w})}systemSearch({searchParams:b,headers:C,options:x={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:b,headers:C,options:x})}compartmentSearch({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const{resourceType:S,id:M}=C;if(!h(S))throw new Error("Invalid compartmentType",S);let k=`/${S}/${M}/${b}`;return T.postSearch&&(k+="/_search"),this.baseSearch({searchPath:k,searchParams:x,headers:w,options:T})}baseSearch({searchPath:b,searchParams:C,headers:x,options:w}){const T=m(C),S=r(w,x);return this[w.postSearch?"postSearch":"getSearch"](b,T,S)}postSearch(b,C,x){const T={"Content-Type":"application/x-www-form-urlencoded",...x.headers},S={...x,headers:T};return this.httpClient.post(b,C,S)}getSearch(b,C,x){let w=b;return C&&(w+=`?${C}`),this.httpClient.get(w,x)}history({resourceType:b,id:C,headers:x,options:w={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);return C&&b?this.resourceHistory({resourceType:b,id:C,options:r(w,x)}):b?this.typeHistory({resourceType:b,options:r(w,x)}):this.systemHistory({options:r(w,x)})}resourceHistory({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history`,r(w,x))}typeHistory({resourceType:b,headers:C,options:x={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/_history`,r(x,C))}systemHistory({headers:b,options:C={}}={}){return this.httpClient.get("_history",r(C,b))}},Me.exports.CapabilityTool=c},3820:Me=>{Me.exports={deprecateHeaders:(n,f)=>f?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(f,null," ")),{headers:f,...n}):n,deprecatePaginationArgs:(n,f)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const D={bundle:n};return f&&(D.options={headers:f}),D}return n}}},1335:(Me,ie,_)=>{const{AbortController:n}=_(4783);class f{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(u){return{signal:this.controller.signal,...u}}safeAbort(){this.resolving||this.controller.abort()}}Me.exports={FetchQueue:class D{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const u=new f;return this.numJobs=this.jobs.push(u),u}safeAbortOthers(u){u.resolving=!0;for(let v=0,s=this.numJobs;v{Me.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Me,ie,_)=>{var n=_(7156).default;_(1098).polyfill(),_(9807);const{logRequestError:f,logRequestInfo:D,logResponseInfo:y}=_(1566),u={accept:"application/fhir+json"},v="__response",s="__request";let h,o,m=!1;try{h=_(5899),o=_(5899).HttpsAgent,m=!0}catch{D("HTTP Agent is not available")}const l=new WeakMap;function c({status:g,data:b,method:C,headers:x,url:w}){const T={response:{status:g,data:b},config:{method:C,url:w,headers:x}};return f(T),T}Me.exports=class Wu{static lcKeys(b){return b&&Object.keys(b).reduce((C,x)=>(C[x.toLowerCase()]=b[x],C),{})}constructor({baseUrl:b,customHeaders:C={},requestOptions:x={},requestSigner:w}){this.baseUrl=b,this.customHeaders=C,this.baseRequestOptions=x,this.requestSigner=w}set baseUrl(b){if(!b)throw new Error("baseUrl cannot be blank");if("string"!=typeof b)throw new Error("baseUrl must be a string");this.baseUrlValue=b}get baseUrl(){return this.baseUrlValue}static responseFor(b){return b[v]}static requestFor(b){return b[s]}set bearerToken(b){this.authHeader={authorization:`Bearer ${b}`}}requestBuilder(b,C,x,w){const T={...this.baseRequestOptions,...x,method:b,body:(g=w,"string"==typeof g?g:JSON.stringify(g))};var g;let S={};return m||(S={keepalive:!Object.prototype.hasOwnProperty.call(T,"keepalive")||T.keepalive}),Object.assign(T,S,{headers:new Headers(this.mergeHeaders(x.headers))},function r(g,b={}){const C={baseUrl:g,agentOptions:b};return m?(l.get(C)||(g.startsWith("https")?l.set(C,{agent:new o(b)}):l.set(C,{agent:new h(b)})),l.get(C)):{}}(this.baseUrl,T)),this.requestSigner&&this.requestSigner(C,T),new Request(C,T)}request(b,C,x={},w){var T=this;return n(function*(){const S=T.expandUrl(C),M=T.requestBuilder(b,S,x,w);D(b,S,M.headers);const k=yield fetch(M),{status:I,headers:P}=k;y({status:I,response:k});const A=yield k.text();let L={};if(A)try{L=JSON.parse(A)}catch{throw L=A,c({status:I,data:L,method:b,headers:P,url:S})}if(!k.ok)throw c({status:I,data:L,method:b,headers:P,url:S});return Object.defineProperty(L,v,{writable:!1,enumerable:!1,value:k}),Object.defineProperty(L,s,{writable:!1,enumerable:!1,value:M}),L})()}get(b,C){var x=this;return n(function*(){return x.request("GET",b,C)})()}delete(b,C){var x=this;return n(function*(){return x.request("DELETE",b,C)})()}put(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("PUT",b,S,C)})()}post(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("POST",b,S,C)})()}patch(b,C,x){var w=this;return n(function*(){return w.request("PATCH",b,x,C)})()}expandUrl(b=""){return b.toLowerCase().startsWith("http")?b:this.baseUrl.endsWith("/")&&b.startsWith("/")?this.baseUrl+b.slice(1):this.baseUrl.endsWith("/")||b.startsWith("/")?this.baseUrl+b:`${this.baseUrl}/${b}`}mergeHeaders(b){const{lcKeys:C}=Wu;return{...C(u),...C(this.authHeader),...C(this.customHeaders),...C(b)}}}},1566:(Me,ie,_)=>{const n=_(3187),f=_(563)("fhir-kit-client:error"),D=_(563)("fhir-kit-client:info");function y(o){return n(o)}function u(o){return y(o.raw&&"function"==typeof o.raw?o.raw():o)}Me.exports={logRequestError:function v(o){f.enabled&&(f("!!! Error"),o.response&&f(` Status: ${o.response.status}`),o.config&&(f(` ${o.config.method.toUpperCase()}: ${o.config.url}`),f(` Headers: ${u(o.config.headers)}`)),o.response&&o.response.data&&f(y(o.response.data)),f("!!! Request Error"))},logRequestInfo:function s(o,l,r){D.enabled&&(l&&D(`Request: ${o.toUpperCase()} ${l.toString()}`),D(`Request Headers: ${u(r)}`))},logResponseInfo:function m(o){D.enabled&&(D(`Response: ${o.status}`),o.data&&D(y(o.data)))},logError:function h(o){f.enabled&&f(o)}}},1370:Me=>{Me.exports=class ie{constructor(n){this.httpClient=n}nextPage(n,{headers:f}={}){const D=n.link.find(y=>"next"===y.relation);return D?this.httpClient.get(D.url,{headers:f}):void 0}prevPage(n,{headers:f}={}){const D=n.link.find(y=>y.relation.match(/^prev(ious)?$/));return D?this.httpClient.get(D.url,{headers:f}):void 0}}},7681:(Me,ie,_)=>{var n=_(7156).default;const{splitReference:f}=_(9047),{deprecateHeaders:D}=_(3820);Me.exports=class{constructor(y){this.client=y}resolve({reference:y,context:u,headers:v,options:s={}}={}){var m=this;return n(function*(){return void 0===u?y.startsWith("http")?m.resolveAbsoluteReference(y,D(s,v)):m.client.httpClient.get(y,D(s,v)):y.startsWith("#")?m.resolveContainedReference(y,u):m.resolveBundleReference(y,u,D(s,v))})()}resolveAbsoluteReference(y,u){var v=this;return n(function*(){if(y.startsWith(v.client.baseUrl))return v.client.httpClient.get(y,u);const{baseUrl:s,resourceType:m,id:h}=f(y);return new(_(8907))({baseUrl:s}).read({resourceType:m,id:h,options:u})})()}resolveContainedReference(y,u){if(u.contained){const v=y.slice(1),s=u.contained.find(m=>m.id===v);if(s)return s}throw new Error(`Unable to resolve contained reference: ${y}`)}resolveBundleReference(y,u,v){var s=this;return n(function*(){const m=new RegExp(`(^|/)${y}$`),h=u.entry.find(o=>m.test(o.fullUrl));return h?h.resource:s.resolve({reference:y,options:v})})()}}},6686:(Me,ie,_)=>{const{logError:f}=_(1566);Me.exports={authFromCapability:function D(u){const v={};try{return u.rest.forEach(s=>{s.security.extension.find(h=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===h.url).extension.forEach(h=>{switch(h.url){case"authorize":v.authorizeUrl=new URL(h.valueUri);break;case"token":v.tokenUrl=new URL(h.valueUri);break;case"register":v.registerUrl=new URL(h.valueUri);break;case"manage":v.manageUrl=new URL(h.valueUri)}})}),v}catch(s){return f(s),v}},authFromWellKnown:function y(u){const{authorization_endpoint:v,token_endpoint:s,registration_endpoint:m}=u;return{authorizeUrl:v&&new URL(v),tokenUrl:s&&new URL(s),registerUrl:m&&new URL(m)}}}},9047:(Me,ie,_)=>{const n=_(133),{fhirReferenceRegEx:f}=_(4115);Me.exports={createQueryString:function u(v){if(v instanceof Object&&Object.keys(v).length>0)return n.stringify(v)},splitReference:function D(v){if(!v.match(f))throw new Error(`${v} is not a recognized FHIR reference`);let s,m=v;v.startsWith("http")&&([,s]=f.exec(v),m=v.slice(s.length),s.endsWith("/")&&(s=s.slice(0,-1)));const[h,o]=m.split("/");return{baseUrl:s,resourceType:h,id:o}},validResourceType:function y(v){return!v.startsWith("/")&&!v.includes(":")&&/\S/.test(v)}}},4258:(Me,ie,_)=>{let n={};const f=_(7353),D=_(5117),y=_(5827);n.aggregateMacro=function(u,v,s){return u.reduce((m,h,o)=>(this.$index=o,this.$total=v(h)),this.$total=s)},n.countFn=function(u){return u&&u.length?u.length:0},n.sumFn=function(u){return n.aggregateMacro.apply(this,[u,v=>f.plus(y.arraify(v),y.arraify(this.$total)),0])},n.minFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.lt(s,m)?s:m}])},n.maxFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.gt(s,m)?s:m}])},n.avgFn=function(u){return f.div(n.sumFn(u),n.countFn(u))},Me.exports=n},500:(Me,ie,_)=>{const{deepEqual:n}=_(2825),f={};function D(y,u){if(0==u.length)return!0;for(var v=0;v1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(u));return D(y,u)},f.in=function(y,u){if(0==y.length)return[];if(0==u.length)return!1;if(y.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(u));return D(u,y)},Me.exports=f},8330:(Me,ie,_)=>{const n={},{distinctFn:f}=_(5073),D=_(6190),{deepEqual:y,maxCollSizeForDeepEqual:u}=_(2825);n.union=function(v,s){return f(v.concat(s))},n.combineFn=function(v,s){return v.concat(s)},n.intersect=function(v,s){let m=[];const h=v.length;let o=s.length;if(h&&o)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]?o--:l[c]=!0});for(let r=0;r0;++r){let c=v[r],d=D(c);l[d]&&(m.push(c),l[d]=!1,o--)}}else m=f(v).filter(l=>s.some(r=>y(l,r)));return m},n.exclude=function(v,s){let m=[];const h=v.length,o=s.length;if(!o)return v;if(h)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]=!0}),m=v.filter(r=>!l[D(r)])}else m=v.filter(l=>!s.some(r=>y(l,r)));return m},Me.exports=n},9285:Me=>{Me.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Me,ie,_)=>{var n={};const f=_(4217),D=_(9285),y=f.FP_Date,u=f.FP_DateTime,v=f.FP_Time;n.now=function(){if(!D.now){var m=u.isoDateTime(D.nowDate);D.now=new u(m)}return D.now},n.today=function(){if(!D.today){var m=y.isoDate(D.nowDate);D.today=new y(m)}return D.today},n.timeOfDay=function(){if(!D.timeOfDay){const m=u.isoTime(D.nowDate);D.timeOfDay=new v(m)}return D.timeOfDay},Me.exports=n},2825:(Me,ie,_)=>{var f=_(4217).FP_Type,D=_(5827),y=_(4192),u=Array.prototype.slice,v=Object.keys,s=function(d){return"[object Arguments]"==Object.prototype.toString.call(d)};function m(d){return"string"==typeof d||d instanceof String}function h(d){return!isNaN(parseFloat(d))&&isFinite(d)}function o(d){return d.toUpperCase().replace(/\s+/," ")}function r(d){return null==d}Me.exports={deepEqual:function l(d,g,b){if(b||(b={}),(d=D.valDataConverted(d))===(g=D.valDataConverted(g)))return!0;if(b.fuzzy){if(m(d)&&m(g))return o(d)==o(g);if(h(d)&&h(g))return y.isEquivalent(d,g)}else if("number"==typeof d&&"number"==typeof g)return y.isEqual(d,g);if(d instanceof Date&&g instanceof Date)return d.getTime()===g.getTime();if(!d||!g||"object"!=typeof d&&"object"!=typeof g)return d===g;var C=d instanceof f,x=g instanceof f;return C&&x?b.fuzzy?d.equivalentTo(g):d.equals(g):!C&&!x&&function c(d,g,b){var C,x;if(r(d)||r(g)||d.prototype!==g.prototype)return!1;if(s(d)||s(g))return l(d=s(d)?u.call(d):d,g=s(g)?u.call(g):g,b);try{var w=v(d),T=v(g)}catch{return!1}if(w.length!=T.length)return!1;for(w.sort(),T.sort(),C=w.length-1;C>=0;C--)if(w[C]!=T[C])return!1;if(1===w.length)return l(d[x=w[0]],g[x],b);for(C=w.length-1;C>=0;C--)if(!l(d[x=w[C]],g[x],b))return!1;return typeof d==typeof g}(d,g,b)},maxCollSizeForDeepEqual:6}},5117:(Me,ie,_)=>{const n=_(5827),{deepEqual:f}=_(2825),D=_(4217),y=D.FP_Type,u=D.FP_DateTime;var v={};function s(o,l){return n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l)}function m(o,l){return n.isEmpty(o)&&n.isEmpty(l)?[!0]:n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l,{fuzzy:!0})}function h(o,l){n.assertAtMostOne(o,"Singleton was expected"),n.assertAtMostOne(l,"Singleton was expected"),o=n.valDataConverted(o[0]),l=n.valDataConverted(l[0]);let r=o instanceof u?u:o.constructor,c=l instanceof u?u:l.constructor;return r!==c&&n.raiseError('Type of "'+o+'" ('+r.name+') did not match type of "'+l+'" ('+c.name+")","InequalityExpression"),[o,l]}v.equal=function(o,l){return s(o,l)},v.unequal=function(o,l){var r=s(o,l);return void 0===r?void 0:!r},v.equival=function(o,l){return m(o,l)},v.unequival=function(o,l){return!m(o,l)},v.lt=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<0}return r0}return r>c},v.lte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<=0}return r<=c},v.gte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d>=0}return r>=c},Me.exports=v},631:(Me,ie,_)=>{const n=_(5827),{whereMacro:f,distinctFn:D}=_(5073),y=_(6777),u=_(6190),{deepEqual:v,maxCollSizeForDeepEqual:s}=_(2825),m={};function h(o,l){const r=o.length,c=l.length;let d=r<=c;if(d)if(r+c>s){const g=l.reduce((b,C)=>(b[u(C)]=!0,b),{});d=!o.some(b=>!g[u(b)])}else for(let g=0,b=o.length;gv(C,n.valData(x)))}return d}m.emptyFn=n.isEmpty,m.notFn=function(o){let l=y.singleton(o,"Boolean");return"boolean"==typeof l?!l:[]},m.existsMacro=function(o,l){var r=o;return l?m.existsMacro(f.call(this,o,l)):!n.isEmpty(r)},m.allMacro=function(o,l){for(let r=0,c=o.length;r{const{version:n}=_(82),f=_(7661),D=_(5827);_(4835);const y=_(9285);let u={},v=_(631),s=_(5073),m=_(4258),h=_(8330),o=_(6777),l=_(5117),r=_(500),c=_(7353),d=_(4702),g=_(3774),b=_(1605),C=_(2804);const x=_(4217),{FP_Date:w,FP_DateTime:T,FP_Time:S,FP_Quantity:M,FP_Type:k,ResourceNode:I,TypeInfo:P}=x;let A=I.makeResNode;function L(Z,H,te,ue){if("Expr"===te)return function(Ge){const $e=D.arraify(Ge);return u.doEval({...Z,$this:$e},$e,ue)};if("AnyAtRoot"===te){const Ge=Z.$this||Z.dataRoot;return u.doEval({...Z,$this:Ge},Ge,ue)}if("Identifier"===te){if("TermExpression"===ue.type)return ue.text;throw new Error("Expected identifier node, got "+JSON.stringify(ue))}if("TypeSpecifier"===te)return u.TypeSpecifier(Z,H,ue);const ye=u.doEval(Z,H,ue);if("Any"===te)return ye;if(Array.isArray(te)){if(0===ye.length)return[];te=te[0]}return o.singleton(ye,te)}function R(Z){return null==Z||D.isEmpty(Z)}function U(Z,H,te,ue){var ye=u.invocationTable[H];if(ye&&ye.fn){var Ge=ue?ue.length:0;if(2!==Ge)throw new Error("Infix invoke should have arity 2");var $e=ye.arity[Ge];if($e){for(var Ye=[],Ze=0;ZeZe?.__path__?A(Ze,Ze?.__path__):Ze),$e={context:Ge,ucum:"http://unitsofmeasure.org"};te&&(te=Object.keys(te).reduce((Ze,Et)=>(Ze[Et]=Array.isArray(te[Et])?te[Et].map(Te=>Te?.__path__?A(Te,Te.__path__):Te):te[Et]?.__path__?A(te[Et],te[Et].__path__):te[Et],Ze),{}));let Ye={dataRoot:Ge,vars:Object.assign($e,te),model:ue};return ye.traceFn&&(Ye.customTraceFn=ye.traceFn),ye.userInvocationTable&&(Ye.userInvocationTable=ye.userInvocationTable),u.doEval(Ye,Ge,H.children[0]).map(Ze=>{let Et=Ze instanceof I?Ze.path:null;return(Ze=D.valData(Ze))instanceof k&&ye.resolveInternalTypes&&(Ze=Ze.toString()),Et&&"object"==typeof Ze&&Object.defineProperty(Ze,"__path__",{value:Et}),Ze})}function B(Z,H,te){const ue=(te={resolveInternalTypes:!0,...te}).userInvocationTable;if(ue&&(te.userInvocationTable=Object.keys(ue).reduce((ye,Ge)=>(ye[Ge]=ue[Ge].internalStructures?ue[Ge]:{...ue[Ge],fn:(...$e)=>ue[Ge].fn.apply(this,$e.map(Ye=>Array.isArray(Ye)?Ye.map(Ze=>D.valData(Ze)):Ye))},ye),{})),"object"==typeof Z){const ye=W(Z.expression);return function(Ge,$e){const Ye=Z.base?A(Ge,Z.base):Ge;return P.model=H,ne(Ye,ye,$e,H,te)}}{const ye=W(Z);return function(Ge,$e){return P.model=H,ne(Ge,ye,$e,H,te)}}}u.invocationTable={empty:{fn:v.emptyFn},not:{fn:v.notFn},exists:{fn:v.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:v.allMacro,arity:{1:["Expr"]}},allTrue:{fn:v.allTrueFn},anyTrue:{fn:v.anyTrueFn},allFalse:{fn:v.allFalseFn},anyFalse:{fn:v.anyFalseFn},subsetOf:{fn:v.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:v.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:v.isDistinctFn},distinct:{fn:s.distinctFn},count:{fn:m.countFn},where:{fn:s.whereMacro,arity:{1:["Expr"]}},extension:{fn:s.extension,arity:{1:["String"]}},select:{fn:s.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:m.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:m.sumFn},min:{fn:m.minFn},max:{fn:m.maxFn},avg:{fn:m.avgFn},single:{fn:s.singleFn},first:{fn:s.firstFn},last:{fn:s.lastFn},type:{fn:x.typeFn,arity:{0:[]}},ofType:{fn:s.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:x.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:x.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:s.tailFn},take:{fn:s.takeFn,arity:{1:["Integer"]}},skip:{fn:s.skipFn,arity:{1:["Integer"]}},combine:{fn:h.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:h.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:h.intersect,arity:{1:["AnyAtRoot"]}},exclude:{fn:h.exclude,arity:{1:["AnyAtRoot"]}},iif:{fn:o.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:o.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:o.toInteger},toDecimal:{fn:o.toDecimal},toString:{fn:o.toString},toDate:{fn:o.toDate},toDateTime:{fn:o.toDateTime},toTime:{fn:o.toTime},toBoolean:{fn:o.toBoolean},toQuantity:{fn:o.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:o.hasValueFn},convertsToBoolean:{fn:o.createConvertsToFn(o.toBoolean,"boolean")},convertsToInteger:{fn:o.createConvertsToFn(o.toInteger,"number")},convertsToDecimal:{fn:o.createConvertsToFn(o.toDecimal,"number")},convertsToString:{fn:o.createConvertsToFn(o.toString,"string")},convertsToDate:{fn:o.createConvertsToFn(o.toDate,w)},convertsToDateTime:{fn:o.createConvertsToFn(o.toDateTime,T)},convertsToTime:{fn:o.createConvertsToFn(o.toTime,S)},convertsToQuantity:{fn:o.createConvertsToFn(o.toQuantity,M)},indexOf:{fn:d.indexOf,arity:{1:["String"]}},substring:{fn:d.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:d.startsWith,arity:{1:["String"]}},endsWith:{fn:d.endsWith,arity:{1:["String"]}},contains:{fn:d.containsFn,arity:{1:["String"]}},upper:{fn:d.upper},lower:{fn:d.lower},replace:{fn:d.replace,arity:{2:["String","String"]}},matches:{fn:d.matches,arity:{1:["String"]}},replaceMatches:{fn:d.replaceMatches,arity:{2:["String","String"]}},length:{fn:d.length},toChars:{fn:d.toChars},join:{fn:d.joinFn,arity:{0:[],1:["String"]}},split:{fn:d.splitFn,arity:{1:["String"]}},trim:{fn:d.trimFn},encode:{fn:d.encodeFn,arity:{1:["String"]}},decode:{fn:d.decodeFn,arity:{1:["String"]}},abs:{fn:c.abs},ceiling:{fn:c.ceiling},exp:{fn:c.exp},floor:{fn:c.floor},ln:{fn:c.ln},log:{fn:c.log,arity:{1:["Number"]},nullable:!0},power:{fn:c.power,arity:{1:["Number"]},nullable:!0},round:{fn:c.round,arity:{1:["Number"]}},sqrt:{fn:c.sqrt},truncate:{fn:c.truncate},now:{fn:b.now},today:{fn:b.today},timeOfDay:{fn:b.timeOfDay},repeat:{fn:s.repeatMacro,arity:{1:["Expr"]}},children:{fn:g.children},descendants:{fn:g.descendants},"|":{fn:h.union,arity:{2:["Any","Any"]}},"=":{fn:l.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:l.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:l.equival,arity:{2:["Any","Any"]}},"!~":{fn:l.unequival,arity:{2:["Any","Any"]}},"<":{fn:l.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:l.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:l.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:l.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:r.contains,arity:{2:["Any","Any"]}},inOp:{fn:r.in,arity:{2:["Any","Any"]}},isOp:{fn:x.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:x.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:c.amp,arity:{2:["String","String"]}},"+":{fn:c.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:c.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:c.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:c.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:c.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:c.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:C.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:C.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:C.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:C.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},u.InvocationExpression=function(Z,H,te){return te.children.reduce(function(ue,ye){return u.doEval(Z,ue,ye)},H)},u.TermExpression=function(Z,H,te){return H&&(H=H.map(ue=>ue instanceof Object&&ue.resourceType?A(ue,ue.resourceType):ue)),u.doEval(Z,H,te.children[0])},u.PolarityExpression=function(Z,H,te){var ue=te.terminalNodeText[0],ye=u.doEval(Z,H,te.children[0]);if(1!==ye.length)throw new Error("Unary "+ue+" can only be applied to an individual number.");if("number"!=typeof ye[0]||isNaN(ye[0]))throw new Error("Unary "+ue+" can only be applied to a number.");return"-"===ue&&(ye[0]=-ye[0]),ye},u.TypeSpecifier=function(Z,H,te){let ue,ye;const Ge=te.text.split(".").map($e=>$e.replace(/(^`|`$)/g,""));switch(Ge.length){case 2:[ue,ye]=Ge;break;case 1:[ye]=Ge;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(te))}return new P({namespace:ue,name:ye})},u.ExternalConstantTerm=function(Z,H,te){var Ge=u.Identifier(Z,H,te.children[0].children[0])[0],$e=Z.vars[Ge];if(!(Ge in Z.vars))throw new Error("Attempting to access an undefined environment variable: "+Ge);return null==$e?[]:$e instanceof Array?$e:[$e]},u.LiteralTerm=function(Z,H,te){var ue=te.children[0];return ue?u.doEval(Z,H,ue):[te.text]},u.StringLiteral=function(Z,H,te){var ue=te.text.replace(/(^'|'$)/g,"");return[ue=ue.replace(/\\(u\d{4}|.)/g,function(ye,Ge){switch(ye){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Ge.length>1?String.fromCharCode("0x"+Ge.slice(1)):Ge}})]},u.BooleanLiteral=function(Z,H,te){return"true"===te.text?[!0]:[!1]},u.QuantityLiteral=function(Z,H,te){var ue=te.children[0],ye=Number(ue.terminalNodeText[0]),Ge=ue.children[0],$e=Ge.terminalNodeText[0];return!$e&&Ge.children&&($e=Ge.children[0].terminalNodeText[0]),[new M(ye,$e)]},u.DateTimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new T(ue)]},u.TimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new S(ue)]},u.NumberLiteral=function(Z,H,te){return[Number(te.text)]},u.Identifier=function(Z,H,te){return[te.text.replace(/(^`|`$)/g,"")]},u.InvocationTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.MemberInvocation=function(Z,H,te){const ue=u.doEval(Z,H,te.children[0])[0],ye=Z.model;if(H){if(D.isCapitalized(ue))return H.filter(Ge=>Ge instanceof I&&Ge.path===ue);{const Ge=H.path||H.__path__;return H.reduce(function($e,Ye){var Ze=(Ye=A(Ye,Ge)).path+"."+ue;if(ye){let Ee=ye.pathsDefinedElsewhere[Ze];Ee&&(Ze=Ee)}let Et,Te,qe=ye&&ye.choiceTypePaths[Ze];if(qe)for(let Ee of qe){let Ie=ue+Ee;if(Et=Ye.data?.[Ie],Te=Ye.data?.["_"+Ie],void 0!==Et||void 0!==Te){Ze+=Ee;break}}else Et=Ye.data?.[ue],Te=Ye.data?.["_"+ue],void 0===Et&&void 0===Te&&(Et=Ye._data[ue]),"extension"===ue&&(Ze="Extension");return Ze=ye&&ye.path2Type[Ze]||Ze,(D.isSome(Et)||D.isSome(Te))&&(Array.isArray(Et)?$e=$e.concat(Et.map((Ee,Ie)=>A(Ee,Ze,Te&&Te[Ie]))):$e.push(A(Et,Ze,Te))),$e},[])}}return[]},u.IndexerExpression=function(Z,H,te){const ye=te.children[1];var Ge=u.doEval(Z,H,te.children[0]),$e=u.doEval(Z,H,ye);if(D.isEmpty($e))return[];var Ye=parseInt($e[0]);return Ge&&D.isSome(Ye)&&Ge.length>Ye&&Ye>=0?[Ge[Ye]]:[]},u.Functn=function(Z,H,te){return te.children.map(function(ue){return u.doEval(Z,H,ue)})},u.realizeParams=function(Z,H,te){return te&&te[0]&&te[0].children?te[0].children.map(function(ue){return u.doEval(Z,H,ue)}):[]},u.FunctionInvocation=function(Z,H,te){var ue=u.doEval(Z,H,te.children[0]);const ye=ue[0];return ue.shift(),function F(Z,H,te,ue){var Ge,ye=Z.userInvocationTable?.[H]??u.invocationTable[H];if(ye){if(ye.arity){var $e=ue?ue.length:0,Ye=ye.arity[$e];if(Ye){for(var Ze=[],Et=0;Et<$e;Et++)Ze.push(L(Z,te,Ye[Et],ue[Et]));return Ze.unshift(te),ye.nullable&&Ze.some(R)?[]:(Ge=ye.fn.apply(Z,Ze),D.arraify(Ge))}return console.log(H+" wrong arity: got "+$e),[]}if(ue)throw new Error(H+" expects no params");return Ge=ye.fn.call(Z,D.arraify(te)),D.arraify(Ge)}throw new Error("Not implemented: "+H)}(Z,ye,H,ue&&ue[0]&&ue[0].children)},u.ParamList=function(Z,H,te){return te},u.UnionExpression=function(Z,H,te){return U(Z,"|",H,te.children)},u.ThisInvocation=function(Z){return Z.$this},u.TotalInvocation=function(Z){return D.arraify(Z.$total)},u.IndexInvocation=function(Z){return D.arraify(Z.$index)},u.OpExpression=function(Z,H,te){return U(Z,te.terminalNodeText[0],H,te.children)},u.AliasOpExpression=function(Z){return function(H,te,ue){var ye=ue.terminalNodeText[0],Ge=Z[ye];if(!Ge)throw new Error("Do not know how to alias "+ye+" by "+JSON.stringify(Z));return U(H,Ge,te,ue.children)}},u.NullLiteral=function(){return[]},u.ParenthesizedTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.evalTable={BooleanLiteral:u.BooleanLiteral,EqualityExpression:u.OpExpression,FunctionInvocation:u.FunctionInvocation,Functn:u.Functn,Identifier:u.Identifier,IndexerExpression:u.IndexerExpression,InequalityExpression:u.OpExpression,InvocationExpression:u.InvocationExpression,AdditiveExpression:u.OpExpression,MultiplicativeExpression:u.OpExpression,TypeExpression:u.AliasOpExpression({is:"isOp",as:"asOp"}),MembershipExpression:u.AliasOpExpression({contains:"containsOp",in:"inOp"}),NullLiteral:u.NullLiteral,EntireExpression:u.InvocationTerm,InvocationTerm:u.InvocationTerm,LiteralTerm:u.LiteralTerm,MemberInvocation:u.MemberInvocation,NumberLiteral:u.NumberLiteral,ParamList:u.ParamList,ParenthesizedTerm:u.ParenthesizedTerm,StringLiteral:u.StringLiteral,TermExpression:u.TermExpression,ThisInvocation:u.ThisInvocation,TotalInvocation:u.TotalInvocation,IndexInvocation:u.IndexInvocation,UnionExpression:u.UnionExpression,OrExpression:u.OpExpression,ImpliesExpression:u.OpExpression,AndExpression:u.OpExpression,XorExpression:u.OpExpression},u.doEval=function(Z,H,te){const ue=u.evalTable[te.type]||u[te.type];if(ue)return ue.call(u,Z,H,te);throw new Error("No "+te.type+" evaluator ")},Me.exports={version:n,parse:W,compile:B,evaluate:function j(Z,H,te,ue,ye){return B(H,ue,ye)(Z,te)},resolveInternalTypes:function ee(Z){if(Array.isArray(Z))for(let H=0,te=Z.length;H{const te=P.fromValue(H?.__path__?new I(H,H.__path__):H);return`${te.namespace}.${te.name}`})},ucumUtils:_(2207).ng.getInstance(),util:D}},5073:(Me,ie,_)=>{const n=_(5827),{TypeInfo:f,ResourceNode:D}=_(4217),y=_(6190),{deepEqual:u,maxCollSizeForDeepEqual:v}=_(2825);Me.exports={whereMacro:function(m,h){return!1===m||m?n.flatten(m.filter((o,l)=>(this.$index=l,h(o)[0]))):[]},extension:function(m,h){return!1!==m&&!m||!h?[]:n.flatten(m.map((o,l)=>{this.$index=l;const r=o&&(o.data&&o.data.extension||o._data&&o._data.extension);return r?r.filter(c=>c.url===h).map(c=>D.makeResNode(c,"Extension")):[]}))},selectMacro:function(m,h){return!1===m||m?n.flatten(m.map((o,l)=>(this.$index=l,h(o)))):[]},repeatMacro:function(m,h){if(!1!==m&&!m)return[];let o=[];const l={},r=m.length;for(let c=0;c{const b=y(g),C=!l[b];return C&&(l[b]=!0),C})}while(o.lengthf.fromValue(o).is(h))},distinctFn:function(m){let h=[];if(m.length>0)if(m.length>v){let o={};for(let l=0,r=m.length;l!u(o,l))}while(m.length)}return h}}},6190:(Me,ie,_)=>{const n=_(2207).ng.getInstance(),{roundToMaxPrecision:f}=_(4192),{valDataConverted:D}=_(5827),{FP_Type:y,FP_Quantity:u}=_(4217);function s(m){if("number"==typeof(m=D(m)))return f(m);if(m instanceof Date)return m.toISOString();if(m instanceof u){const h=u._yearMonthConversionFactor[m.unit];if(h)return"_!yearMonth!_:"+h*m.value;{const o=u.toUcumQuantity(m.value,m.unit),l=n.getSpecifiedUnit(o.unit).unit;return"_!"+l.property_+"!_:"+l.magnitude_*o.value}}return m instanceof y?m.toString():"object"==typeof m?Array.isArray(m)?m.map(s):Object.keys(m).sort().reduce((h,o)=>(h[o]=s(m[o]),h),{}):m}Me.exports=function v(m){return JSON.stringify(s(m))}},2804:Me=>{Me.exports={orOp:function(_,n){if(Array.isArray(n)){if(!0===_)return!0;if(!1===_)return[];if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:_||n},andOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!1;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n&&[]:_&&n},xorOp:function(_,n){return Array.isArray(_)||Array.isArray(n)?[]:_&&!n||!_&&n},impliesOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!0;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:!1===_||_&&n}}},7353:(Me,ie,_)=>{var n=_(4217);let{FP_TimeBase:f,FP_Quantity:D}=n;const y=_(5827);var u={};function v(m){let h=y.valData(m);if("number"!=typeof h){if(1==h.length&&"number"==typeof(h=y.valData(h[0])))return h;throw new Error("Expected number, but got "+JSON.stringify(h||m))}return h}function s(m){return"number"!=typeof m&&0==m.length}u.amp=function(m,h){return(m||"")+(h||"")},u.plus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("string"==typeof o&&"string"==typeof l||"number"==typeof o&&"number"==typeof l)return o+l;if(o instanceof f&&l instanceof D)return o.plus(l)}throw new Error("Cannot "+JSON.stringify(m)+" + "+JSON.stringify(h))},u.minus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("number"==typeof o&&"number"==typeof l)return o-l;if(o instanceof f&&l instanceof D)return o.plus(new D(-l.value,l.unit))}throw new Error("Cannot "+JSON.stringify(m)+" - "+JSON.stringify(h))},u.mul=function(m,h){return m*h},u.div=function(m,h){return 0===h?[]:m/h},u.intdiv=function(m,h){return 0===h?[]:Math.floor(m/h)},u.mod=function(m,h){return 0===h?[]:m%h},u.abs=function(m){if(s(m))return[];{let h=v(m);return Math.abs(h)}},u.ceiling=function(m){if(s(m))return[];{let h=v(m);return Math.ceil(h)}},u.exp=function(m){if(s(m))return[];{let h=v(m);return Math.exp(h)}},u.floor=function(m){if(s(m))return[];{let h=v(m);return Math.floor(h)}},u.ln=function(m){if(s(m))return[];{let h=v(m);return Math.log(h)}},u.log=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return Math.log(o)/Math.log(l)}},u.power=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return o<0&&Math.floor(l)!=l?[]:Math.pow(o,l)}},u.round=function(m,h){if(s(m))return[];{let o=v(m);if(s(h))return Math.round(o);{let l=v(h),r=Math.pow(10,l);return Math.round(o*r)/r}}},u.sqrt=function(m){if(s(m))return[];{let h=v(m);return h<0?[]:Math.sqrt(h)}},u.truncate=function(m){if(s(m))return[];{let h=v(m);return Math.trunc(h)}},Me.exports=u},6777:(Me,ie,_)=>{var n=_(5827),f=_(4217);const{FP_Quantity:D}=f;var y={iifMacro:function(g,b,C,x){return n.isTrue(b(g))?C(g):x?x(g):[]},traceFn:function(g,b,C){return this.customTraceFn?this.customTraceFn(C?C(g):g,b??""):C?console.log("TRACE:["+(b||"")+"]",JSON.stringify(C(g),null," ")):console.log("TRACE:["+(b||"")+"]",JSON.stringify(g,null," ")),g}},u=/^[+-]?\d+$/;y.toInteger=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?Number.isInteger(b)?b:[]:"string"==typeof b&&u.test(b)?parseInt(b):[]};const v=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;y.toQuantity=function(g,b){let C;if(b&&!D.mapTimeUnitsToUCUMCode[b]&&(b=`'${b}'`),g.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===g.length){var x=n.valDataConverted(g[0]);let w;if("number"==typeof x)C=new D(x,"'1'");else if(x instanceof D)C=x;else if("boolean"==typeof x)C=new D(x?1:0,"'1'");else if("string"==typeof x&&(w=v.exec(x))){const S=w[5],M=w[6];(!M||D.mapTimeUnitsToUCUMCode[M])&&(C=new D(Number(w[1]),S||M||"'1'"))}C&&b&&C.unit!==b&&(C=D.convUnitTo(C.unit,C.value,b))}return C||[]};var m=/^[+-]?\d+(\.\d+)?$/;function h(g){let b=g.slice(3);y["to"+b]=function(C){var x=[];if(C.length>1)throw Error("to "+b+" called for a collection of length "+C.length);if(1===C.length){var w=f[g].checkString(n.valData(C[0]));w&&(x=w)}return x}}y.toDecimal=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?b:"string"==typeof b&&m.test(b)?parseFloat(b):[]},y.toString=function(g){return 1!==g.length?[]:n.valDataConverted(g[0]).toString()},h("FP_Date"),h("FP_DateTime"),h("FP_Time");const o=["true","t","yes","y","1","1.0"].reduce((g,b)=>(g[b]=!0,g),{}),l=["false","f","no","n","0","0.0"].reduce((g,b)=>(g[b]=!0,g),{});y.toBoolean=function(g){if(1!==g.length)return[];const b=n.valData(g[0]);switch(typeof b){case"boolean":return b;case"number":if(1===b)return!0;if(0===b)return!1;break;case"string":const C=b.toLowerCase();if(o[C])return!0;if(l[C])return!1}return[]},y.createConvertsToFn=function(g,b){return"string"==typeof b?function(C){return 1!==C.length?[]:typeof g(C)===b}:function(C){return 1!==C.length?[]:g(C)instanceof b}};const r={Integer:function(g){const b=n.valData(g[0]);if(Number.isInteger(b))return b},Boolean:function(g){const b=n.valData(g[0]);return!0===b||!1===b?b:1===g.length||void 0},Number:function(g){const b=n.valData(g[0]);if("number"==typeof b)return b},String:function(g){const b=n.valData(g[0]);if("string"==typeof b)return b}};y.singleton=function(g,b){if(g.length>1)throw new Error("Unexpected collection"+JSON.stringify(g)+"; expected singleton of type "+b);if(0===g.length)return[];const C=r[b];if(C){const x=C(g);if(void 0!==x)return x;throw new Error(`Expected ${b.toLowerCase()}, but got: ${JSON.stringify(g)}`)}throw new Error("Not supported type "+b)};const c=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function d(g){switch(typeof g){case"string":case"number":case"boolean":return!0;default:return!1}}y.hasValueFn=function(g){return 1===g.length?this.model?[c.has(g[0].path)]:[d(n.valData(g[0]))]:[!1]},Me.exports=y},3774:(Me,ie,_)=>{const n=_(5827),{ResourceNode:f}=_(4217);let D=f.makeResNode;var y={children:function(u){let v=this.model;return u.reduce(function(s,m){let h=n.valData(m);if(m=D(m),"object"==typeof h){for(var o of Object.keys(h)){var l=h[o],r=m.path+"."+o;if(v){let c=v.pathsDefinedElsewhere[r];c&&(r=c)}Array.isArray(l)?s.push.apply(s,l.map(c=>D(c,r))):s.push(D(l,r))}return s}return s},[])},descendants:function(u){for(var v=y.children.call(this,u),s=[];v.length>0;)s.push.apply(s,v),v=y.children.call(this,v);return s}};Me.exports=y},4192:Me=>{let ie={};function _(y){const v=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +y);if(!v)return 0;const s=v[2];return Math.max(0,("0"===s?0:(s||"").length)-(v[3]||0))}function n(y,u){const v=Math.pow(10,u);return Math.round(y*v)/v}const D=ie.roundToMaxPrecision=function(y){return 1e-8*Math.round(y/1e-8)};ie.isEquivalent=function(y,u){if(Number.isInteger(y)&&Number.isInteger(u))return y===u;const v=Math.min(_(y),_(u));return 0===v?Math.round(y)===Math.round(u):n(y,v)===n(u,v)},ie.isEqual=function(y,u){return D(y)===D(u)},Me.exports=ie},5815:(Me,ie,_)=>{ie.atn=_(871),ie.codepointat=_(6419),ie.dfa=_(7061),ie.fromcodepoint=_(9182),ie.tree=_(9804),ie.error=_(6405),ie.Token=_(6205).Token,ie.CommonToken=_(6205).CommonToken,ie.InputStream=_(1466),ie.CommonTokenStream=_(7456),ie.Lexer=_(9042),ie.Parser=_(111);var n=_(6185);ie.PredictionContextCache=n.PredictionContextCache,ie.ParserRuleContext=_(7293),ie.Interval=_(9173).Interval,ie.IntervalSet=_(9173).IntervalSet,ie.Utils=_(3340),ie.LL1Analyzer=_(4589).LL1Analyzer},2472:(Me,ie,_)=>{const n=_(5815),f=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x02A\u0203\b\x01\x04\x02\t\x02\x04\x03\t\x03","\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07","\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04","\f\t\f\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10","\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13","\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17","\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1a\t\x1a","\x04\x1b\t\x1b\x04\x1c\t\x1c\x04\x1d\t\x1d\x04\x1e",'\t\x1e\x04\x1f\t\x1f\x04 \t \x04!\t!\x04"\t"\x04#',"\t#\x04$\t$\x04%\t%\x04&\t&\x04'\t'\x04(\t(\x04)\t)\x04","*\t*\x04+\t+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x04","1\t1\x042\t2\x043\t3\x044\t4\x045\t5\x046\t6\x047\t7\x04","8\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04=\t=\x04>\t>\x04","?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x03\x02\x03","\x02\x03\x03\x03\x03\x03\x04\x03\x04\x03\x05\x03","\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\b\x03","\b\x03\t\x03\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x03","\v\x03\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0e","\x03\x0e\x03\x0f\x03\x0f\x03\x10\x03\x10\x03\x10","\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12","\x03\x13\x03\x13\x03\x14\x03\x14\x03\x15\x03\x15","\x03\x15\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17","\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18","\x03\x18\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19","\x03\x19\x03\x19\x03\x1a\x03\x1a\x03\x1a\x03\x1b","\x03\x1b\x03\x1b\x03\x1b\x03\x1c\x03\x1c\x03\x1c","\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1d","\x03\x1d\x03\x1e\x03\x1e\x03\x1f\x03\x1f\x03 ",'\x03 \x03!\x03!\x03!\x03!\x03!\x03"\x03"\x03"\x03','"\x03"\x03"\x03#\x03#\x03$\x03$\x03$\x03$\x03$',"\x03$\x03%\x03%\x03%\x03%\x03%\x03%\x03%\x03&\x03","&\x03&\x03&\x03&\x03&\x03&\x03'\x03'\x03(\x03(\x03","(\x03(\x03(\x03)\x03)\x03)\x03)\x03)\x03)\x03*\x03","*\x03*\x03*\x03*\x03+\x03+\x03+\x03+\x03,\x03,\x03",",\x03,\x03,\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03",".\x03.\x03.\x03.\x03.\x03.\x03.\x03/\x03/\x03/\x03","/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x030\x03","0\x030\x030\x030\x030\x031\x031\x031\x031\x031\x03","1\x031\x032\x032\x032\x032\x032\x032\x033\x033\x03","3\x033\x033\x034\x034\x034\x034\x034\x034\x035\x03","5\x035\x035\x035\x035\x035\x035\x036\x036\x036\x03","6\x036\x036\x036\x036\x037\x037\x037\x037\x037\x03","7\x037\x037\x037\x037\x037\x037\x037\x038\x038\x03","8\x038\x038\x038\x038\x038\x038\x038\x038\x038\x03","8\x058\u0183\n8\x058\u0185\n8\x058\u0187\n8\x038\x058\u018a","\n8\x039\x039\x039\x039\x03:\x03:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x03:\x06:\u019a\n:\r:\x0e:\u019b\x05",":\u019e\n:\x05:\u01a0\n:\x05:\u01a2\n:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x05:\u01ab\n:\x03;\x05;\u01ae\n;\x03",";\x07;\u01b1\n;\f;\x0e;\u01b4\v;\x03<\x03<\x03<\x07","<\u01b9\n<\f<\x0e<\u01bc\v<\x03<\x03<\x03=\x03=\x03","=\x07=\u01c3\n=\f=\x0e=\u01c6\v=\x03=\x03=\x03>\x06",">\u01cb\n>\r>\x0e>\u01cc\x03>\x03>\x06>\u01d1\n>\r>\x0e>\u01d2","\x05>\u01d5\n>\x03?\x06?\u01d8\n?\r?\x0e?\u01d9\x03?\x03","?\x03@\x03@\x03@\x03@\x07@\u01e2\n@\f@\x0e@\u01e5\v","@\x03@\x03@\x03@\x03@\x03@\x03A\x03A\x03A\x03A\x07","A\u01f0\nA\fA\x0eA\u01f3\vA\x03A\x03A\x03B\x03B\x03","B\x05B\u01fa\nB\x03C\x03C\x03C\x03C\x03C\x03C\x03D\x03","D\x03\u01e3\x02E\x03\x03\x05\x04\x07\x05\t\x06\v","\x07\r\b\x0f\t\x11\n\x13\v\x15\f\x17\r\x19\x0e\x1b","\x0f\x1d\x10\x1f\x11!\x12#\x13%\x14'\x15)\x16+","\x17-\x18/\x191\x1a3\x1b5\x1c7\x1d9\x1e;\x1f= ?!A","\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s\x02u;w}","?\x7f@\x81A\x83\x02\x85\x02\x87\x02\x03\x02\f\x03","\x022;\x04\x02--//\x05\x02C\\aac|\x06\x022;C\\aac|\x04",'\x02^^bb\x03\x02))\x05\x02\v\f\x0f\x0f""\x04\x02',"\f\f\x0f\x0f\n\x02))11^^bbhhppttvv\x05\x022;CHch\x02\u0214","\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02","\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02","\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02","\x02\x0f\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02","\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02","\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02","\x02\x1b\x03\x02\x02\x02\x02\x1d\x03\x02\x02\x02","\x02\x1f\x03\x02\x02\x02\x02!\x03\x02\x02\x02","\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x02","'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03","\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02","\x02\x02\x021\x03\x02\x02\x02\x023\x03\x02\x02","\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02","\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x02","=\x03\x02\x02\x02\x02?\x03\x02\x02\x02\x02A\x03","\x02\x02\x02\x02C\x03\x02\x02\x02\x02E\x03\x02","\x02\x02\x02G\x03\x02\x02\x02\x02I\x03\x02\x02","\x02\x02K\x03\x02\x02\x02\x02M\x03\x02\x02\x02","\x02O\x03\x02\x02\x02\x02Q\x03\x02\x02\x02\x02","S\x03\x02\x02\x02\x02U\x03\x02\x02\x02\x02W\x03","\x02\x02\x02\x02Y\x03\x02\x02\x02\x02[\x03\x02","\x02\x02\x02]\x03\x02\x02\x02\x02_\x03\x02\x02","\x02\x02a\x03\x02\x02\x02\x02c\x03\x02\x02\x02","\x02e\x03\x02\x02\x02\x02g\x03\x02\x02\x02\x02","i\x03\x02\x02\x02\x02k\x03\x02\x02\x02\x02m\x03","\x02\x02\x02\x02o\x03\x02\x02\x02\x02q\x03\x02","\x02\x02\x02u\x03\x02\x02\x02\x02w\x03\x02\x02","\x02\x02y\x03\x02\x02\x02\x02{\x03\x02\x02\x02","\x02}\x03\x02\x02\x02\x02\x7f\x03\x02\x02\x02","\x02\x81\x03\x02\x02\x02\x03\x89\x03\x02\x02\x02","\x05\x8b\x03\x02\x02\x02\x07\x8d\x03\x02\x02\x02","\t\x8f\x03\x02\x02\x02\v\x91\x03\x02\x02\x02","\r\x93\x03\x02\x02\x02\x0f\x95\x03\x02\x02\x02","\x11\x97\x03\x02\x02\x02\x13\x9b\x03\x02\x02\x02","\x15\x9f\x03\x02\x02\x02\x17\xa1\x03\x02\x02\x02","\x19\xa3\x03\x02\x02\x02\x1b\xa6\x03\x02\x02\x02","\x1d\xa8\x03\x02\x02\x02\x1f\xaa\x03\x02\x02\x02","!\xad\x03\x02\x02\x02#\xb0\x03\x02\x02\x02%\xb3","\x03\x02\x02\x02'\xb5\x03\x02\x02\x02)\xb7\x03","\x02\x02\x02+\xba\x03\x02\x02\x02-\xbd\x03\x02","\x02\x02/\xc0\x03\x02\x02\x021\xc9\x03\x02\x02","\x023\xcd\x03\x02\x02\x025\xd0\x03\x02\x02\x02","7\xd4\x03\x02\x02\x029\xdc\x03\x02\x02\x02;\xde","\x03\x02\x02\x02=\xe0\x03\x02\x02\x02?\xe2\x03","\x02\x02\x02A\xe4\x03\x02\x02\x02C\xe9\x03\x02","\x02\x02E\xef\x03\x02\x02\x02G\xf1\x03\x02\x02","\x02I\xf7\x03\x02\x02\x02K\xfe\x03\x02\x02\x02","M\u0105\x03\x02\x02\x02O\u0107\x03\x02\x02\x02Q\u010c","\x03\x02\x02\x02S\u0112\x03\x02\x02\x02U\u0117\x03","\x02\x02\x02W\u011b\x03\x02\x02\x02Y\u0120\x03\x02","\x02\x02[\u0127\x03\x02\x02\x02]\u012e\x03\x02\x02","\x02_\u013a\x03\x02\x02\x02a\u0140\x03\x02\x02\x02","c\u0147\x03\x02\x02\x02e\u014d\x03\x02\x02\x02g\u0152","\x03\x02\x02\x02i\u0158\x03\x02\x02\x02k\u0160\x03","\x02\x02\x02m\u0168\x03\x02\x02\x02o\u0175\x03\x02","\x02\x02q\u018b\x03\x02\x02\x02s\u018f\x03\x02\x02","\x02u\u01ad\x03\x02\x02\x02w\u01b5\x03\x02\x02\x02","y\u01bf\x03\x02\x02\x02{\u01ca\x03\x02\x02\x02}\u01d7","\x03\x02\x02\x02\x7f\u01dd\x03\x02\x02\x02\x81\u01eb","\x03\x02\x02\x02\x83\u01f6\x03\x02\x02\x02\x85\u01fb","\x03\x02\x02\x02\x87\u0201\x03\x02\x02\x02\x89\x8a","\x070\x02\x02\x8a\x04\x03\x02\x02\x02\x8b\x8c","\x07]\x02\x02\x8c\x06\x03\x02\x02\x02\x8d\x8e","\x07_\x02\x02\x8e\b\x03\x02\x02\x02\x8f\x90\x07","-\x02\x02\x90\n\x03\x02\x02\x02\x91\x92\x07/\x02","\x02\x92\f\x03\x02\x02\x02\x93\x94\x07,\x02\x02","\x94\x0e\x03\x02\x02\x02\x95\x96\x071\x02\x02","\x96\x10\x03\x02\x02\x02\x97\x98\x07f\x02\x02","\x98\x99\x07k\x02\x02\x99\x9a\x07x\x02\x02\x9a","\x12\x03\x02\x02\x02\x9b\x9c\x07o\x02\x02\x9c","\x9d\x07q\x02\x02\x9d\x9e\x07f\x02\x02\x9e\x14","\x03\x02\x02\x02\x9f\xa0\x07(\x02\x02\xa0\x16","\x03\x02\x02\x02\xa1\xa2\x07~\x02\x02\xa2\x18","\x03\x02\x02\x02\xa3\xa4\x07>\x02\x02\xa4\xa5","\x07?\x02\x02\xa5\x1a\x03\x02\x02\x02\xa6\xa7","\x07>\x02\x02\xa7\x1c\x03\x02\x02\x02\xa8\xa9","\x07@\x02\x02\xa9\x1e\x03\x02\x02\x02\xaa\xab","\x07@\x02\x02\xab\xac\x07?\x02\x02\xac \x03\x02","\x02\x02\xad\xae\x07k\x02\x02\xae\xaf\x07u\x02",'\x02\xaf"\x03\x02\x02\x02\xb0\xb1\x07c\x02\x02',"\xb1\xb2\x07u\x02\x02\xb2$\x03\x02\x02\x02\xb3","\xb4\x07?\x02\x02\xb4&\x03\x02\x02\x02\xb5\xb6","\x07\x80\x02\x02\xb6(\x03\x02\x02\x02\xb7\xb8","\x07#\x02\x02\xb8\xb9\x07?\x02\x02\xb9*\x03\x02","\x02\x02\xba\xbb\x07#\x02\x02\xbb\xbc\x07\x80","\x02\x02\xbc,\x03\x02\x02\x02\xbd\xbe\x07k\x02","\x02\xbe\xbf\x07p\x02\x02\xbf.\x03\x02\x02\x02","\xc0\xc1\x07e\x02\x02\xc1\xc2\x07q\x02\x02\xc2","\xc3\x07p\x02\x02\xc3\xc4\x07v\x02\x02\xc4\xc5","\x07c\x02\x02\xc5\xc6\x07k\x02\x02\xc6\xc7\x07","p\x02\x02\xc7\xc8\x07u\x02\x02\xc80\x03\x02\x02","\x02\xc9\xca\x07c\x02\x02\xca\xcb\x07p\x02\x02","\xcb\xcc\x07f\x02\x02\xcc2\x03\x02\x02\x02\xcd","\xce\x07q\x02\x02\xce\xcf\x07t\x02\x02\xcf4\x03","\x02\x02\x02\xd0\xd1\x07z\x02\x02\xd1\xd2\x07","q\x02\x02\xd2\xd3\x07t\x02\x02\xd36\x03\x02\x02","\x02\xd4\xd5\x07k\x02\x02\xd5\xd6\x07o\x02\x02","\xd6\xd7\x07r\x02\x02\xd7\xd8\x07n\x02\x02\xd8","\xd9\x07k\x02\x02\xd9\xda\x07g\x02\x02\xda\xdb","\x07u\x02\x02\xdb8\x03\x02\x02\x02\xdc\xdd\x07","*\x02\x02\xdd:\x03\x02\x02\x02\xde\xdf\x07+\x02","\x02\xdf<\x03\x02\x02\x02\xe0\xe1\x07}\x02\x02","\xe1>\x03\x02\x02\x02\xe2\xe3\x07\x7f\x02\x02","\xe3@\x03\x02\x02\x02\xe4\xe5\x07v\x02\x02\xe5","\xe6\x07t\x02\x02\xe6\xe7\x07w\x02\x02\xe7\xe8","\x07g\x02\x02\xe8B\x03\x02\x02\x02\xe9\xea\x07","h\x02\x02\xea\xeb\x07c\x02\x02\xeb\xec\x07n\x02","\x02\xec\xed\x07u\x02\x02\xed\xee\x07g\x02\x02","\xeeD\x03\x02\x02\x02\xef\xf0\x07'\x02\x02\xf0","F\x03\x02\x02\x02\xf1\xf2\x07&\x02\x02\xf2\xf3","\x07v\x02\x02\xf3\xf4\x07j\x02\x02\xf4\xf5\x07","k\x02\x02\xf5\xf6\x07u\x02\x02\xf6H\x03\x02\x02","\x02\xf7\xf8\x07&\x02\x02\xf8\xf9\x07k\x02\x02","\xf9\xfa\x07p\x02\x02\xfa\xfb\x07f\x02\x02\xfb","\xfc\x07g\x02\x02\xfc\xfd\x07z\x02\x02\xfdJ\x03","\x02\x02\x02\xfe\xff\x07&\x02\x02\xff\u0100\x07","v\x02\x02\u0100\u0101\x07q\x02\x02\u0101\u0102\x07v\x02","\x02\u0102\u0103\x07c\x02\x02\u0103\u0104\x07n\x02\x02","\u0104L\x03\x02\x02\x02\u0105\u0106\x07.\x02\x02\u0106","N\x03\x02\x02\x02\u0107\u0108\x07{\x02\x02\u0108\u0109","\x07g\x02\x02\u0109\u010a\x07c\x02\x02\u010a\u010b\x07","t\x02\x02\u010bP\x03\x02\x02\x02\u010c\u010d\x07o\x02","\x02\u010d\u010e\x07q\x02\x02\u010e\u010f\x07p\x02\x02","\u010f\u0110\x07v\x02\x02\u0110\u0111\x07j\x02\x02\u0111","R\x03\x02\x02\x02\u0112\u0113\x07y\x02\x02\u0113\u0114","\x07g\x02\x02\u0114\u0115\x07g\x02\x02\u0115\u0116\x07","m\x02\x02\u0116T\x03\x02\x02\x02\u0117\u0118\x07f\x02","\x02\u0118\u0119\x07c\x02\x02\u0119\u011a\x07{\x02\x02","\u011aV\x03\x02\x02\x02\u011b\u011c\x07j\x02\x02\u011c","\u011d\x07q\x02\x02\u011d\u011e\x07w\x02\x02\u011e\u011f","\x07t\x02\x02\u011fX\x03\x02\x02\x02\u0120\u0121\x07","o\x02\x02\u0121\u0122\x07k\x02\x02\u0122\u0123\x07p\x02","\x02\u0123\u0124\x07w\x02\x02\u0124\u0125\x07v\x02\x02","\u0125\u0126\x07g\x02\x02\u0126Z\x03\x02\x02\x02\u0127","\u0128\x07u\x02\x02\u0128\u0129\x07g\x02\x02\u0129\u012a","\x07e\x02\x02\u012a\u012b\x07q\x02\x02\u012b\u012c\x07","p\x02\x02\u012c\u012d\x07f\x02\x02\u012d\\\x03\x02\x02","\x02\u012e\u012f\x07o\x02\x02\u012f\u0130\x07k\x02\x02","\u0130\u0131\x07n\x02\x02\u0131\u0132\x07n\x02\x02\u0132","\u0133\x07k\x02\x02\u0133\u0134\x07u\x02\x02\u0134\u0135","\x07g\x02\x02\u0135\u0136\x07e\x02\x02\u0136\u0137\x07","q\x02\x02\u0137\u0138\x07p\x02\x02\u0138\u0139\x07f\x02","\x02\u0139^\x03\x02\x02\x02\u013a\u013b\x07{\x02\x02","\u013b\u013c\x07g\x02\x02\u013c\u013d\x07c\x02\x02\u013d","\u013e\x07t\x02\x02\u013e\u013f\x07u\x02\x02\u013f`\x03","\x02\x02\x02\u0140\u0141\x07o\x02\x02\u0141\u0142\x07","q\x02\x02\u0142\u0143\x07p\x02\x02\u0143\u0144\x07v\x02","\x02\u0144\u0145\x07j\x02\x02\u0145\u0146\x07u\x02\x02","\u0146b\x03\x02\x02\x02\u0147\u0148\x07y\x02\x02\u0148","\u0149\x07g\x02\x02\u0149\u014a\x07g\x02\x02\u014a\u014b","\x07m\x02\x02\u014b\u014c\x07u\x02\x02\u014cd\x03\x02","\x02\x02\u014d\u014e\x07f\x02\x02\u014e\u014f\x07c\x02","\x02\u014f\u0150\x07{\x02\x02\u0150\u0151\x07u\x02\x02","\u0151f\x03\x02\x02\x02\u0152\u0153\x07j\x02\x02\u0153","\u0154\x07q\x02\x02\u0154\u0155\x07w\x02\x02\u0155\u0156","\x07t\x02\x02\u0156\u0157\x07u\x02\x02\u0157h\x03\x02","\x02\x02\u0158\u0159\x07o\x02\x02\u0159\u015a\x07k\x02","\x02\u015a\u015b\x07p\x02\x02\u015b\u015c\x07w\x02\x02","\u015c\u015d\x07v\x02\x02\u015d\u015e\x07g\x02\x02\u015e","\u015f\x07u\x02\x02\u015fj\x03\x02\x02\x02\u0160\u0161","\x07u\x02\x02\u0161\u0162\x07g\x02\x02\u0162\u0163\x07","e\x02\x02\u0163\u0164\x07q\x02\x02\u0164\u0165\x07p\x02","\x02\u0165\u0166\x07f\x02\x02\u0166\u0167\x07u\x02\x02","\u0167l\x03\x02\x02\x02\u0168\u0169\x07o\x02\x02\u0169","\u016a\x07k\x02\x02\u016a\u016b\x07n\x02\x02\u016b\u016c","\x07n\x02\x02\u016c\u016d\x07k\x02\x02\u016d\u016e\x07","u\x02\x02\u016e\u016f\x07g\x02\x02\u016f\u0170\x07e\x02","\x02\u0170\u0171\x07q\x02\x02\u0171\u0172\x07p\x02\x02","\u0172\u0173\x07f\x02\x02\u0173\u0174\x07u\x02\x02\u0174","n\x03\x02\x02\x02\u0175\u0176\x07B\x02\x02\u0176\u0177","\t\x02\x02\x02\u0177\u0178\t\x02\x02\x02\u0178\u0179\t\x02","\x02\x02\u0179\u0186\t\x02\x02\x02\u017a\u017b\x07/\x02","\x02\u017b\u017c\t\x02\x02\x02\u017c\u0184\t\x02\x02\x02","\u017d\u017e\x07/\x02\x02\u017e\u017f\t\x02\x02\x02\u017f","\u0182\t\x02\x02\x02\u0180\u0181\x07V\x02\x02\u0181\u0183","\x05s:\x02\u0182\u0180\x03\x02\x02\x02\u0182\u0183\x03","\x02\x02\x02\u0183\u0185\x03\x02\x02\x02\u0184\u017d\x03","\x02\x02\x02\u0184\u0185\x03\x02\x02\x02\u0185\u0187\x03","\x02\x02\x02\u0186\u017a\x03\x02\x02\x02\u0186\u0187\x03","\x02\x02\x02\u0187\u0189\x03\x02\x02\x02\u0188\u018a\x07","\\\x02\x02\u0189\u0188\x03\x02\x02\x02\u0189\u018a\x03","\x02\x02\x02\u018ap\x03\x02\x02\x02\u018b\u018c\x07","B\x02\x02\u018c\u018d\x07V\x02\x02\u018d\u018e\x05s:\x02","\u018er\x03\x02\x02\x02\u018f\u0190\t\x02\x02\x02\u0190","\u01a1\t\x02\x02\x02\u0191\u0192\x07<\x02\x02\u0192\u0193","\t\x02\x02\x02\u0193\u019f\t\x02\x02\x02\u0194\u0195\x07","<\x02\x02\u0195\u0196\t\x02\x02\x02\u0196\u019d\t\x02\x02","\x02\u0197\u0199\x070\x02\x02\u0198\u019a\t\x02\x02\x02","\u0199\u0198\x03\x02\x02\x02\u019a\u019b\x03\x02\x02\x02","\u019b\u0199\x03\x02\x02\x02\u019b\u019c\x03\x02\x02\x02","\u019c\u019e\x03\x02\x02\x02\u019d\u0197\x03\x02\x02\x02","\u019d\u019e\x03\x02\x02\x02\u019e\u01a0\x03\x02\x02\x02","\u019f\u0194\x03\x02\x02\x02\u019f\u01a0\x03\x02\x02\x02","\u01a0\u01a2\x03\x02\x02\x02\u01a1\u0191\x03\x02\x02\x02","\u01a1\u01a2\x03\x02\x02\x02\u01a2\u01aa\x03\x02\x02\x02","\u01a3\u01ab\x07\\\x02\x02\u01a4\u01a5\t\x03\x02\x02\u01a5","\u01a6\t\x02\x02\x02\u01a6\u01a7\t\x02\x02\x02\u01a7\u01a8","\x07<\x02\x02\u01a8\u01a9\t\x02\x02\x02\u01a9\u01ab\t\x02","\x02\x02\u01aa\u01a3\x03\x02\x02\x02\u01aa\u01a4\x03\x02","\x02\x02\u01aa\u01ab\x03\x02\x02\x02\u01abt\x03\x02","\x02\x02\u01ac\u01ae\t\x04\x02\x02\u01ad\u01ac\x03\x02","\x02\x02\u01ae\u01b2\x03\x02\x02\x02\u01af\u01b1\t\x05","\x02\x02\u01b0\u01af\x03\x02\x02\x02\u01b1\u01b4\x03\x02","\x02\x02\u01b2\u01b0\x03\x02\x02\x02\u01b2\u01b3\x03\x02","\x02\x02\u01b3v\x03\x02\x02\x02\u01b4\u01b2\x03\x02","\x02\x02\u01b5\u01ba\x07b\x02\x02\u01b6\u01b9\x05\x83","B\x02\u01b7\u01b9\n\x06\x02\x02\u01b8\u01b6\x03\x02\x02","\x02\u01b8\u01b7\x03\x02\x02\x02\u01b9\u01bc\x03\x02\x02","\x02\u01ba\u01b8\x03\x02\x02\x02\u01ba\u01bb\x03\x02\x02","\x02\u01bb\u01bd\x03\x02\x02\x02\u01bc\u01ba\x03\x02\x02","\x02\u01bd\u01be\x07b\x02\x02\u01bex\x03\x02\x02\x02","\u01bf\u01c4\x07)\x02\x02\u01c0\u01c3\x05\x83B\x02\u01c1","\u01c3\n\x07\x02\x02\u01c2\u01c0\x03\x02\x02\x02\u01c2","\u01c1\x03\x02\x02\x02\u01c3\u01c6\x03\x02\x02\x02\u01c4","\u01c2\x03\x02\x02\x02\u01c4\u01c5\x03\x02\x02\x02\u01c5","\u01c7\x03\x02\x02\x02\u01c6\u01c4\x03\x02\x02\x02\u01c7","\u01c8\x07)\x02\x02\u01c8z\x03\x02\x02\x02\u01c9\u01cb","\t\x02\x02\x02\u01ca\u01c9\x03\x02\x02\x02\u01cb\u01cc","\x03\x02\x02\x02\u01cc\u01ca\x03\x02\x02\x02\u01cc\u01cd","\x03\x02\x02\x02\u01cd\u01d4\x03\x02\x02\x02\u01ce\u01d0","\x070\x02\x02\u01cf\u01d1\t\x02\x02\x02\u01d0\u01cf\x03","\x02\x02\x02\u01d1\u01d2\x03\x02\x02\x02\u01d2\u01d0\x03","\x02\x02\x02\u01d2\u01d3\x03\x02\x02\x02\u01d3\u01d5\x03","\x02\x02\x02\u01d4\u01ce\x03\x02\x02\x02\u01d4\u01d5\x03","\x02\x02\x02\u01d5|\x03\x02\x02\x02\u01d6\u01d8\t\b\x02","\x02\u01d7\u01d6\x03\x02\x02\x02\u01d8\u01d9\x03\x02\x02","\x02\u01d9\u01d7\x03\x02\x02\x02\u01d9\u01da\x03\x02\x02","\x02\u01da\u01db\x03\x02\x02\x02\u01db\u01dc\b?\x02\x02","\u01dc~\x03\x02\x02\x02\u01dd\u01de\x071\x02\x02\u01de","\u01df\x07,\x02\x02\u01df\u01e3\x03\x02\x02\x02\u01e0","\u01e2\v\x02\x02\x02\u01e1\u01e0\x03\x02\x02\x02\u01e2","\u01e5\x03\x02\x02\x02\u01e3\u01e4\x03\x02\x02\x02\u01e3","\u01e1\x03\x02\x02\x02\u01e4\u01e6\x03\x02\x02\x02\u01e5","\u01e3\x03\x02\x02\x02\u01e6\u01e7\x07,\x02\x02\u01e7","\u01e8\x071\x02\x02\u01e8\u01e9\x03\x02\x02\x02\u01e9","\u01ea\b@\x02\x02\u01ea\x80\x03\x02\x02\x02\u01eb\u01ec","\x071\x02\x02\u01ec\u01ed\x071\x02\x02\u01ed\u01f1\x03","\x02\x02\x02\u01ee\u01f0\n\t\x02\x02\u01ef\u01ee\x03\x02","\x02\x02\u01f0\u01f3\x03\x02\x02\x02\u01f1\u01ef\x03\x02","\x02\x02\u01f1\u01f2\x03\x02\x02\x02\u01f2\u01f4\x03\x02","\x02\x02\u01f3\u01f1\x03\x02\x02\x02\u01f4\u01f5\bA\x02","\x02\u01f5\x82\x03\x02\x02\x02\u01f6\u01f9\x07^\x02","\x02\u01f7\u01fa\t\n\x02\x02\u01f8\u01fa\x05\x85C\x02\u01f9","\u01f7\x03\x02\x02\x02\u01f9\u01f8\x03\x02\x02\x02\u01fa","\x84\x03\x02\x02\x02\u01fb\u01fc\x07w\x02\x02\u01fc","\u01fd\x05\x87D\x02\u01fd\u01fe\x05\x87D\x02\u01fe\u01ff","\x05\x87D\x02\u01ff\u0200\x05\x87D\x02\u0200\x86\x03","\x02\x02\x02\u0201\u0202\t\v\x02\x02\u0202\x88\x03","\x02\x02\x02\x1a\x02\u0182\u0184\u0186\u0189\u019b\u019d\u019f","\u01a1\u01aa\u01ad\u01b0\u01b2\u01b8\u01ba\u01c2\u01c4\u01cc\u01d2\u01d4","\u01d9\u01e3\u01f1\u01f9\x03\x02\x03\x02"].join(""),D=(new n.atn.ATNDeserializer).deserialize(f),y=D.decisionToState.map((v,s)=>new n.dfa.DFA(v,s));class u extends n.Lexer{static grammarFileName="FHIRPath.g4";static channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"];static modeNames=["DEFAULT_MODE"];static literalNames=[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"];static symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"];static ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","T__53","DATETIME","TIME","TIMEFORMAT","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT","ESC","UNICODE","HEX"];constructor(s){super(s),this._interp=new n.atn.LexerATNSimulator(this,D,y,new n.PredictionContextCache)}get atn(){return D}}u.EOF=n.Token.EOF,u.T__0=1,u.T__1=2,u.T__2=3,u.T__3=4,u.T__4=5,u.T__5=6,u.T__6=7,u.T__7=8,u.T__8=9,u.T__9=10,u.T__10=11,u.T__11=12,u.T__12=13,u.T__13=14,u.T__14=15,u.T__15=16,u.T__16=17,u.T__17=18,u.T__18=19,u.T__19=20,u.T__20=21,u.T__21=22,u.T__22=23,u.T__23=24,u.T__24=25,u.T__25=26,u.T__26=27,u.T__27=28,u.T__28=29,u.T__29=30,u.T__30=31,u.T__31=32,u.T__32=33,u.T__33=34,u.T__34=35,u.T__35=36,u.T__36=37,u.T__37=38,u.T__38=39,u.T__39=40,u.T__40=41,u.T__41=42,u.T__42=43,u.T__43=44,u.T__44=45,u.T__45=46,u.T__46=47,u.T__47=48,u.T__48=49,u.T__49=50,u.T__50=51,u.T__51=52,u.T__52=53,u.T__53=54,u.DATETIME=55,u.TIME=56,u.IDENTIFIER=57,u.DELIMITEDIDENTIFIER=58,u.STRING=59,u.NUMBER=60,u.WS=61,u.COMMENT=62,u.LINE_COMMENT=63,Me.exports=u},6647:(Me,ie,_)=>{const n=_(5815);Me.exports=class f extends n.tree.ParseTreeListener{enterEntireExpression(y){}exitEntireExpression(y){}enterIndexerExpression(y){}exitIndexerExpression(y){}enterPolarityExpression(y){}exitPolarityExpression(y){}enterAdditiveExpression(y){}exitAdditiveExpression(y){}enterMultiplicativeExpression(y){}exitMultiplicativeExpression(y){}enterUnionExpression(y){}exitUnionExpression(y){}enterOrExpression(y){}exitOrExpression(y){}enterAndExpression(y){}exitAndExpression(y){}enterMembershipExpression(y){}exitMembershipExpression(y){}enterInequalityExpression(y){}exitInequalityExpression(y){}enterInvocationExpression(y){}exitInvocationExpression(y){}enterEqualityExpression(y){}exitEqualityExpression(y){}enterImpliesExpression(y){}exitImpliesExpression(y){}enterTermExpression(y){}exitTermExpression(y){}enterTypeExpression(y){}exitTypeExpression(y){}enterInvocationTerm(y){}exitInvocationTerm(y){}enterLiteralTerm(y){}exitLiteralTerm(y){}enterExternalConstantTerm(y){}exitExternalConstantTerm(y){}enterParenthesizedTerm(y){}exitParenthesizedTerm(y){}enterNullLiteral(y){}exitNullLiteral(y){}enterBooleanLiteral(y){}exitBooleanLiteral(y){}enterStringLiteral(y){}exitStringLiteral(y){}enterNumberLiteral(y){}exitNumberLiteral(y){}enterDateTimeLiteral(y){}exitDateTimeLiteral(y){}enterTimeLiteral(y){}exitTimeLiteral(y){}enterQuantityLiteral(y){}exitQuantityLiteral(y){}enterExternalConstant(y){}exitExternalConstant(y){}enterMemberInvocation(y){}exitMemberInvocation(y){}enterFunctionInvocation(y){}exitFunctionInvocation(y){}enterThisInvocation(y){}exitThisInvocation(y){}enterIndexInvocation(y){}exitIndexInvocation(y){}enterTotalInvocation(y){}exitTotalInvocation(y){}enterFunctn(y){}exitFunctn(y){}enterParamList(y){}exitParamList(y){}enterQuantity(y){}exitQuantity(y){}enterUnit(y){}exitUnit(y){}enterDateTimePrecision(y){}exitDateTimePrecision(y){}enterPluralDateTimePrecision(y){}exitPluralDateTimePrecision(y){}enterTypeSpecifier(y){}exitTypeSpecifier(y){}enterQualifiedIdentifier(y){}exitQualifiedIdentifier(y){}enterIdentifier(y){}exitIdentifier(y){}}},8827:(Me,ie,_)=>{const n=_(5815),f=_(6647),D=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x03A\x9c\x04\x02\t\x02\x04\x03\t\x03\x04\x04","\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07","\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f","\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10\t\x10","\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03","\x03\x03\x05\x03(\n\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x07\x03","P\n\x03\f\x03\x0e\x03S\v\x03\x03\x04\x03\x04\x03","\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04\\","\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05","\x03\x05\x03\x05\x03\x05\x05\x05f\n\x05\x03\x06","\x03\x06\x03\x06\x05\x06k\n\x06\x03\x07\x03\x07","\x03\x07\x03\x07\x03\x07\x05\x07r\n\x07\x03\b\x03","\b\x03\b\x05\bw\n\b\x03\b\x03\b\x03\t\x03\t\x03\t\x07","\t~\n\t\f\t\x0e\t\x81\v\t\x03\n\x03\n\x05\n\x85\n\n","\x03\v\x03\v\x03\v\x05\v\x8a\n\v\x03","\f\x03\f\x03\r\x03\r\x03\x0e\x03\x0e\x03\x0f\x03","\x0f\x03\x0f\x07\x0f\x95\n\x0f\f\x0f\x0e\x0f\x98","\v\x0f\x03\x10\x03\x10\x03\x10\x02\x03\x04\x11","\x02\x04\x06\b\n\f\x0e\x10\x12\x14\x16\x18\x1a\x1c","\x1e\x02\x0e\x03\x02\x06\x07\x03\x02\b\v\x04","\x02\x06\x07\f\f\x03\x02\x0e\x11\x03\x02\x14\x17","\x03\x02\x18\x19\x03\x02\x1b\x1c\x03\x02\x12\x13",'\x03\x02"#\x03\x02)0\x03\x0218\x05\x02\x12\x13',"\x18\x19;<\x02\xad\x02 \x03\x02\x02\x02\x04'\x03","\x02\x02\x02\x06[\x03\x02\x02\x02\be\x03\x02\x02","\x02\ng\x03\x02\x02\x02\fq\x03\x02\x02\x02\x0es","\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x82","\x03\x02\x02\x02\x14\x89\x03\x02\x02\x02\x16\x8b","\x03\x02\x02\x02\x18\x8d\x03\x02\x02\x02\x1a\x8f","\x03\x02\x02\x02\x1c\x91\x03\x02\x02\x02\x1e\x99",'\x03\x02\x02\x02 !\x05\x04\x03\x02!"\x07\x02\x02','\x03"\x03\x03\x02\x02\x02#$\b\x03\x01\x02$(\x05',"\x06\x04\x02%&\t\x02\x02\x02&(\x05\x04\x03\r'#\x03","\x02\x02\x02'%\x03\x02\x02\x02(Q\x03\x02\x02\x02",")*\f\f\x02\x02*+\t\x03\x02\x02+P\x05\x04\x03\r,-\f\v","\x02\x02-.\t\x04\x02\x02.P\x05\x04\x03\f/0\f\n\x02","\x0201\x07\r\x02\x021P\x05\x04\x03\v23\f\t\x02\x02","34\t\x05\x02\x024P\x05\x04\x03\n56\f\x07\x02\x026","7\t\x06\x02\x027P\x05\x04\x03\b89\f\x06\x02\x029:","\t\x07\x02\x02:P\x05\x04\x03\x07;<\f\x05\x02\x02","<=\x07\x1a\x02\x02=P\x05\x04\x03\x06>?\f\x04\x02","\x02?@\t\b\x02\x02@P\x05\x04\x03\x05AB\f\x03\x02\x02","BC\x07\x1d\x02\x02CP\x05\x04\x03\x04DE\f\x0f\x02","\x02EF\x07\x03\x02\x02FP\x05\f\x07\x02GH\f\x0e\x02","\x02HI\x07\x04\x02\x02IJ\x05\x04\x03\x02JK\x07\x05","\x02\x02KP\x03\x02\x02\x02LM\f\b\x02\x02MN\t\t\x02","\x02NP\x05\x1a\x0e\x02O)\x03\x02\x02\x02O,\x03\x02","\x02\x02O/\x03\x02\x02\x02O2\x03\x02\x02\x02O5\x03","\x02\x02\x02O8\x03\x02\x02\x02O;\x03\x02\x02\x02","O>\x03\x02\x02\x02OA\x03\x02\x02\x02OD\x03\x02\x02","\x02OG\x03\x02\x02\x02OL\x03\x02\x02\x02PS\x03\x02","\x02\x02QO\x03\x02\x02\x02QR\x03\x02\x02\x02R\x05","\x03\x02\x02\x02SQ\x03\x02\x02\x02T\\\x05\f\x07","\x02U\\\x05\b\x05\x02V\\\x05\n\x06\x02WX\x07\x1e\x02","\x02XY\x05\x04\x03\x02YZ\x07\x1f\x02\x02Z\\\x03","\x02\x02\x02[T\x03\x02\x02\x02[U\x03\x02\x02\x02","[V\x03\x02\x02\x02[W\x03\x02\x02\x02\\\x07\x03\x02","\x02\x02]^\x07 \x02\x02^f\x07!\x02\x02_f\t\n\x02\x02","`f\x07=\x02\x02af\x07>\x02\x02bf\x079\x02\x02cf\x07",":\x02\x02df\x05\x12\n\x02e]\x03\x02\x02\x02e_\x03","\x02\x02\x02e`\x03\x02\x02\x02ea\x03\x02\x02\x02","eb\x03\x02\x02\x02ec\x03\x02\x02\x02ed\x03\x02\x02","\x02f\t\x03\x02\x02\x02gj\x07$\x02\x02hk\x05\x1e","\x10\x02ik\x07=\x02\x02jh\x03\x02\x02\x02ji\x03","\x02\x02\x02k\v\x03\x02\x02\x02lr\x05\x1e\x10","\x02mr\x05\x0e\b\x02nr\x07%\x02\x02or\x07&\x02\x02","pr\x07'\x02\x02ql\x03\x02\x02\x02qm\x03\x02\x02","\x02qn\x03\x02\x02\x02qo\x03\x02\x02\x02qp\x03\x02","\x02\x02r\r\x03\x02\x02\x02st\x05\x1e\x10\x02tv","\x07\x1e\x02\x02uw\x05\x10\t\x02vu\x03\x02\x02\x02","vw\x03\x02\x02\x02wx\x03\x02\x02\x02xy\x07\x1f\x02","\x02y\x0f\x03\x02\x02\x02z\x7f\x05\x04\x03\x02","{|\x07(\x02\x02|~\x05\x04\x03\x02}{\x03\x02\x02","\x02~\x81\x03\x02\x02\x02\x7f}\x03\x02\x02\x02","\x7f\x80\x03\x02\x02\x02\x80\x11\x03\x02\x02\x02","\x81\x7f\x03\x02\x02\x02\x82\x84\x07>\x02\x02","\x83\x85\x05\x14\v\x02\x84\x83\x03\x02\x02\x02","\x84\x85\x03\x02\x02\x02\x85\x13\x03\x02\x02\x02","\x86\x8a\x05\x16\f\x02\x87\x8a\x05\x18\r\x02\x88","\x8a\x07=\x02\x02\x89\x86\x03\x02\x02\x02\x89","\x87\x03\x02\x02\x02\x89\x88\x03\x02\x02\x02\x8a","\x15\x03\x02\x02\x02\x8b\x8c\t\v\x02\x02\x8c","\x17\x03\x02\x02\x02\x8d\x8e\t\f\x02\x02\x8e\x19","\x03\x02\x02\x02\x8f\x90\x05\x1c\x0f\x02\x90\x1b","\x03\x02\x02\x02\x91\x96\x05\x1e\x10\x02\x92\x93","\x07\x03\x02\x02\x93\x95\x05\x1e\x10\x02\x94\x92","\x03\x02\x02\x02\x95\x98\x03\x02\x02\x02\x96\x94","\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97\x1d","\x03\x02\x02\x02\x98\x96\x03\x02\x02\x02\x99\x9a","\t\r\x02\x02\x9a\x1f\x03\x02\x02\x02\x0e'OQ[ejqv","\x7f\x84\x89\x96"].join(""),y=(new n.atn.ATNDeserializer).deserialize(D),u=y.decisionToState.map((Ae,q)=>new n.dfa.DFA(Ae,q)),v=new n.PredictionContextCache;class s extends n.Parser{static grammarFileName="FHIRPath.g4";static literalNames=[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"];static symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"];static ruleNames=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];constructor(q){super(q),this._interp=new n.atn.ParserATNSimulator(this,y,u,v),this.ruleNames=s.ruleNames,this.literalNames=s.literalNames,this.symbolicNames=s.symbolicNames}get atn(){return y}sempred(q,Re,ke){if(1===Re)return this.expression_sempred(q,ke);throw"No predicate with index:"+Re}expression_sempred(q,Re){switch(Re){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+Re}}entireExpression(){let q=new m(this,this._ctx,this.state);this.enterRule(q,0,s.RULE_entireExpression);try{this.enterOuterAlt(q,1),this.state=30,this.expression(0),this.state=31,this.match(s.EOF)}catch(Re){if(!(Re instanceof n.error.RecognitionException))throw Re;q.exception=Re,this._errHandler.reportError(this,Re),this._errHandler.recover(this,Re)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const Re=this._ctx,ke=this.state;let Ke=new h(this,this._ctx,ke),me=Ke;this.enterRecursionRule(Ke,2,s.RULE_expression,q);var Ne=0;try{switch(this.enterOuterAlt(Ke,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case s.T__15:case s.T__16:case s.T__21:case s.T__22:case s.T__27:case s.T__29:case s.T__31:case s.T__32:case s.T__33:case s.T__34:case s.T__35:case s.T__36:case s.DATETIME:case s.TIME:case s.IDENTIFIER:case s.DELIMITEDIDENTIFIER:case s.STRING:case s.NUMBER:Ke=new M(this,Ke),this._ctx=Ke,me=Ke,this.state=34,this.term();break;case s.T__3:case s.T__4:Ke=new l(this,Ke),this._ctx=Ke,me=Ke,this.state=35,(Ne=this._input.LA(1))===s.T__3||Ne===s.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Be=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Be&&Be!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Be)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),me=Ke,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(Ke=new c(this,new h(this,Re,ke)),this.pushNewRecursionContext(Ke,2,s.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Ne=this._input.LA(1)))&&1<{const n=_(5815),f=_(2472),D=_(8827),y=_(6647);class u extends n.error.ErrorListener{constructor(m){super(),this.errors=m}syntaxError(m,h,o,l,r,c){this.errors.push([m,h,o,l,r,c])}}Me.exports={parse:function(s){var m=new n.InputStream(s),h=new f(m),o=new n.CommonTokenStream(h),l=new D(o);l.buildParseTrees=!0;var r=[],c=new u(r);h.removeErrorListeners(),h.addErrorListener(c),l.removeErrorListeners(),l.addErrorListener(c);var d=l.entireExpression();class g extends y{constructor(){super()}}var C,b={},x=[b];for(let S of Object.getOwnPropertyNames(y.prototype))S.startsWith("enter")?g.prototype[S]=function(M){let k=x[x.length-1];(C={type:S.slice(5)}).text=M.getText(),k.children||(k.children=[]),k.children.push(C),x.push(C),C.terminalNodeText=[];for(let P of M.children)P.symbol&&C.terminalNodeText.push(P.getText())}:S.startsWith("exit")&&(g.prototype[S]=function(){x.pop()});var w=new g;if(n.tree.ParseTreeWalker.DEFAULT.walk(w,d),r.length>0){let S=[];for(let M=0,k=r.length;M{const Me=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(ie){return"number"==typeof ie&&isFinite(ie)&&Math.floor(ie)===ie},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(ie,_){return this.indexOf(ie,_=_||0)===_}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(ie,_){var n=this.toString();(void 0===_||_>n.length)&&(_=n.length);var f=n.indexOf(ie,_-=ie.length);return-1!==f&&f===_}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return-1!==this.indexOf.apply(this,arguments)}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(ie){if(null==ie)throw new TypeError("Cannot convert undefined or null to object");return Me(arguments,1).reduce(function(_,n){return Object.keys(Object(n)).forEach(function(f){_[f]=n[f]}),_},Object(ie))}}),typeof btoa>"u"&&(global.btoa=function(ie){return new Buffer.from(ie,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(ie){return new Buffer.from(ie,"base64").toString("binary")})},4702:(Me,ie,_)=>{const n=_(5827),f=_(6777),D={},y={};D.indexOf=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.indexOf(m)},D.substring=function(s,m,h){const o=f.singleton(s,"String");return n.isEmpty(o)||n.isEmpty(m)||m<0||m>=o.length?[]:void 0===h||n.isEmpty(h)?o.substring(m):o.substring(m,m+h)},D.startsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.startsWith(m)},D.endsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.endsWith(m)},D.containsFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.includes(m)},D.upper=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toUpperCase()},D.lower=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toLowerCase()},D.joinFn=function(s,m){return void 0===m&&(m=""),s.map(o=>{const l=n.valData(o);if("string"==typeof l)return l;throw new Error("Join requires a collection of strings.")}).join(m)},D.splitFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:h.split(m)},D.trimFn=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.trim()},D.encodeFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:"urlbase64"===m||"base64url"===m?btoa(h).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===m?btoa(h):"hex"===m?Array.from(h).map(o=>o.charCodeAt(0)<128?o.charCodeAt(0).toString(16):encodeURIComponent(o).replace(/%/g,"")).join(""):[]},D.decodeFn=function(s,m){const h=f.singleton(s,"String");if(n.isEmpty(h))return[];if("urlbase64"===m||"base64url"===m)return atob(h.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===m)return atob(h);if("hex"===m){if(h.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+h.match(/.{2}/g).join("%"))}return[]},D.matches=!1===new RegExp("").dotAll?function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(m,"s").test(h)}:function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(function u(s){return y[s]||(y[s]=s.replace(/\./g,(m,h,o)=>{const r=o.substr(0,h).replace(/\\\\/g,"").replace(/\\[\][]/g,""),c="\\"===r[r.length-1],d=r.lastIndexOf("["),g=r.lastIndexOf("]");return c||d>g?".":"[^]"})),y[s]}(m)).test(h)},D.replace=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(n.escapeStringForRegExp(m),"g");return o.replace(l,h)},D.replaceMatches=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(m,"g");return o.replace(l,h)},D.length=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.length},D.toChars=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.split("")},Me.exports=D},4217:(Me,ie,_)=>{const n=_(3745),f=_(2207).ng.getInstance(),D=_(4192);let u="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",v=new RegExp("^T?"+u+"$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+u+")?)?)?Z?$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),h=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?))(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9]))))$");class o{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class l extends o{constructor(P,A){super(),this.asStr=P+" "+A,this.value=P,this.unit=A}equals(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEqual(this.value,P.value);const A=this._compareYearsAndMonths(P);if(A)return A.isEqual;const L=l.toUcumQuantity(this.value,this.unit),F=l.toUcumQuantity(P.value,P.unit),R=f.convertUnitTo(F.unit,F.value,L.unit);return"succeeded"===R.status&&D.isEqual(L.value,R.toVal)}equivalentTo(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEquivalent(this.value,P.value);const A=l.getEquivalentUcumUnitCode(this.unit),L=l.getEquivalentUcumUnitCode(P.unit),F=f.convertUnitTo(L,P.value,A);return"succeeded"===F.status&&D.isEquivalent(this.value,F.toVal)}_compareYearsAndMonths(P){const A=l._yearMonthConversionFactor[this.unit],L=l._yearMonthConversionFactor[P.unit];return A&&L?{isEqual:D.isEqual(this.value*A,P.value*L)}:null}}const r=/^'|'$/g;l.getEquivalentUcumUnitCode=function(I){return l.mapTimeUnitsToUCUMCode[I]||I.replace(r,"")},l.toUcumQuantity=function(I,P){const A=l._calendarDuration2Seconds[P];return A?{value:A*I,unit:"s"}:{value:I,unit:P.replace(r,"")}},l.convUnitTo=function(I,P,A){const L=l._yearMonthConversionFactor[I],F=l._yearMonthConversionFactor[A];if(L&&F)return new l(L*P/F,A);const R=l._calendarDuration2Seconds[I],U=l._calendarDuration2Seconds[A];if(U){if(R)return new l(R*P/U,A);{const W=f.convertUnitTo(I.replace(/^'|'$/g,""),P,"s");if("succeeded"===W.status)return new l(W.toVal/U,A)}}else{const W=R?f.convertUnitTo("s",R*P,A.replace(/^'|'$/g,"")):f.convertUnitTo(I.replace(/^'|'$/g,""),P,A.replace(/^'|'$/g,""));if("succeeded"===W.status)return new l(W.toVal,A)}return null},l._calendarDuration2Seconds={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1,millisecond:.001},l._yearMonthConversionFactor={years:12,months:1,year:12,month:1},l.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},l.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},l.mapTimeUnitsToUCUMCode=Object.keys(l.mapUCUMCodeToTimeUnits).reduce(function(I,P){return I[l.mapUCUMCodeToTimeUnits[P]]=P,I[l.mapUCUMCodeToTimeUnits[P]+"s"]=P,I},{});class c extends o{constructor(P){super(),this.asStr=P}plus(P){let L=l.arithmeticDurationUnits[P.unit];if(!L)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(l.arithmeticDurationUnits));const F=this.constructor,R=F._timeUnitToDatePrecision[L];if(void 0===R)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(F._timeUnitToDatePrecision).join(", ")+".");let U=P.value;const W=F===g;if((W?R<2:R<5)&&(U=Math.trunc(U)),this._getPrecision()2?new d(U)._getTimeParts():this._getTimeParts(),ee=F>2?new d(W)._getTimeParts():P._getTimeParts(),j=0;j<=R&&!1!==A;++j)A=ne[j]==ee[j];A&&(A=void 0)}}else A=!1;return A}equivalentTo(P){var A=P instanceof this.constructor;return A&&(A=this._getPrecision()==P._getPrecision())&&(A=this._getDateObj().getTime()==P._getDateObj().getTime()),A}compare(P){var A=this._getPrecision(),L=P._getPrecision(),F=A<=L?this._getDateObj().getTime():this._dateAtPrecision(L).getTime(),R=L<=A?P._getDateObj().getTime():P._dateAtPrecision(A).getTime();return A!==L&&F===R?null:F-R}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(P,A){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(P),this.timeMatchData))for(let L=A;L>=0&&void 0===this.precision;--L)this.timeMatchData[L]&&(this.precision=L);return this.timeMatchData}_getTimeParts(P){var A=[];A=[P[0]];var L=P[4];if(L){let W=A[0];A[0]=W.slice(0,W.length-L.length)}var F=P[1];if(F){let W=A[0];A[0]=W.slice(0,W.length-F.length),A[1]=F;var R=P[2];if(R){A[1]=F.slice(0,F.length-R.length),A[2]=R;var U=P[3];U&&(A[2]=R.slice(0,R.length-U.length),A[3]=U)}}return A}_getDateObj(){if(!this.dateObj){var P=this._getPrecision();this.dateObj=this._dateAtPrecision(P)}return this.dateObj}_createDate(P,A,L,F,R,U,W,ne){var ee=new Date(P,A,L,F,R,U,W);if(ne){var j=ee.getTimezoneOffset(),B=0;if("Z"!=ne){var $=ne.split(":"),Z=parseInt($[0]);B=parseInt($[1]),Z<0&&(B=-B),B+=60*Z}ee=n(ee,-j-B)}return ee}}c.timeUnitToAddFn={year:_(3763),month:_(1277),week:_(338),day:_(2860),hour:_(6888),minute:_(3745),second:_(3857),millisecond:_(3895)};let d=(()=>{class I extends c{constructor(A){super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a DateTime with something else";return super.compare(A)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let L=this._getMatchData(),F=L[0];this.timeParts=[F];var A=L[1];if(A){this.timeParts[0]=F.slice(0,F.length-A.length),this.timeParts[1]=A;let R=L[2];if(R){this.timeParts[1]=A.slice(0,A.length-R.length),this.timeParts[2]=R;let U=L[3];U&&(this.timeParts[2]=R.slice(0,R.length-U.length),"T"===U[0]&&(L[3]=U.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(L.slice(3))))}}}return this.timeParts}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[7],R=this._getPrecision(),U=parseInt(L[0]),W=R>0?parseInt(L[1].slice(1))-1:0,ne=R>1?parseInt(L[2].slice(1)):1,ee=R>2?parseInt(L[3]):0,j=R>3?parseInt(L[4].slice(1)):0,B=R>4?parseInt(L[5].slice(1)):0,$=L.length>6?parseInt(L[6].slice(1)):0,Z=this._createDate(U,W,ne,ee,j,B,$,F);return A0?Z.getMonth():0,ne=A>1?Z.getDate():1,ee=A>2?Z.getHours():0,j=A>3?Z.getMinutes():0,Z=new Date(U,W,ne,ee,j)),Z}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},I._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],I})(),g=(()=>{class I extends c{constructor(A){"T"==A[0]&&(A=A.slice(1)),super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a time with something else";return super.compare(A)}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[4],R=this._getPrecision(),U=2010,ee=parseInt(L[0]),j=R>0?parseInt(L[1].slice(1)):0,B=R>1?parseInt(L[2].slice(1)):0,$=L.length>3?parseInt(L[3].slice(1)):0,Z=this._createDate(U,0,1,ee,j,B,$,F);return F&&(Z.setYear(U),Z.setMonth(0),Z.setDate(1)),A0?Z.getMinutes():0,Z=new Date(U,0,1,ee,j)),Z}_getMatchData(){return super._getMatchData(v,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},I._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],I})();function b(I,P){var A=I;return 3===P&&I<100&&(A="0"+I),I<10&&(A="0"+A),A}d.isoDateTime=function(I,P){void 0===P&&(P=5);var A=""+I.getFullYear();if(P>0&&(A+="-"+b(I.getMonth()+1),P>1&&(A+="-"+b(I.getDate()),P>2&&(A+="T"+d.isoTime(I,P-3)))),P>2){var L=I.getTimezoneOffset(),F=L<0?"+":"-",R=(L=Math.abs(L))%60;A+=F+b((L-R)/60)+":"+b(R)}return A},d.isoTime=function(I,P){void 0===P&&(P=2);let A=""+b(I.getHours());return P>0&&(A+=":"+b(I.getMinutes()),P>1&&(A+=":"+b(I.getSeconds()),I.getMilliseconds()&&(A+="."+b(I.getMilliseconds(),3)))),A};let C=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[m,2])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I.isoDate=function(P,A){return(void 0===A||A>2)&&(A=2),d.isoDateTime(P,A)},I})(),x=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[h,5])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I})(),w=(()=>{class I{constructor(A,L,F){A?.resourceType&&(L=A.resourceType),this.path=L,this.data=A,this._data=F||{}}getTypeInfo(){const A=T.FHIR;return/^System\.(.*)$/.test(this.path)?new T({namespace:T.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new T({namespace:A,name:this.path}):T.model?new T({namespace:A,name:"BackboneElement"}):T.createByValueInNamespace({namespace:A,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var A=this.data;const L=T.typeToClassWithCheckString[this.path];if(L)A=L.checkString(A)||A;else if(T.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===A?.system&&"number"==typeof A.value&&"string"==typeof A.code){if(void 0!==A.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");A=new l(A.value,l.mapUCUMCodeToTimeUnits[A.code]||"'"+A.code+"'")}return A}}return I.makeResNode=function(P,A,L){return P instanceof I?P:new I(P,A,L)},I})(),T=(()=>{class I{constructor({name:A,namespace:L}){this.name=A,this.namespace=L}static model=null;is(A){return A instanceof I&&(!this.namespace||!A.namespace||this.namespace===A.namespace)&&(!I.model||this.namespace&&this.namespace!==I.FHIR?this.name===A.name:I.isType(this.name,A.name))}}return I.typeToClassWithCheckString={date:C,dateTime:d,instant:x,time:g},I.isType=function(P,A){do{if(P===A)return!0}while(P=I.model?.type2Parent[P]);return!1},I.System="System",I.FHIR="FHIR",I.createByValueInNamespace=function({namespace:P,value:A}){let L=typeof A;return Number.isInteger(A)?L="integer":"number"===L?L="decimal":A instanceof C?L="date":A instanceof d?L="dateTime":A instanceof g?L="time":A instanceof l&&(L="Quantity"),P===I.System&&(L=L.replace(/^\w/,F=>F.toUpperCase())),new I({namespace:P,name:L})},I.fromValue=function(P){return P instanceof w?P.getTypeInfo():I.createByValueInNamespace({namespace:I.System,value:P})},I})();Me.exports={FP_Type:o,FP_TimeBase:c,FP_Date:C,FP_DateTime:d,FP_Instant:x,FP_Time:g,FP_Quantity:l,timeRE:v,dateTimeRE:s,ResourceNode:w,TypeInfo:T,typeFn:function S(I){return I.map(P=>T.fromValue(P))},isFn:function M(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)},asFn:function k(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)?I:[]}}},5827:(Me,ie,_)=>{const n={},f=_(4217);let{ResourceNode:D}=f;n.raiseError=function(y,u){throw(u=u?u+": ":"")+y},n.assertAtMostOne=function(y,u){y.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(y),u)},n.assertType=function(y,u,v){let s=this.valData(y);if(u.indexOf(typeof s)<0){let m=u.length>1?"one of "+u.join(", "):u[0];n.raiseError("Found type '"+typeof y+"' but was expecting "+m,v)}return s},n.isEmpty=function(y){return Array.isArray(y)&&0==y.length},n.isSome=function(y){return null!=y&&!n.isEmpty(y)},n.isTrue=function(y){return null!=y&&(!0===y||1==y.length&&!0===y[0])},n.isFalse=function(y){return null!=y&&(!1===y||1==y.length&&!1===y[0])},n.isCapitalized=function(y){return y&&y[0]===y[0].toUpperCase()},n.flatten=function(y){return y.reduce(function(u,v){return Array.isArray(v)?u=u.concat(v):u.push(v),u},[])},n.arraify=function(y){return Array.isArray(y)?y:n.isSome(y)?[y]:[]},n.valData=function(y){return y instanceof D?y.data:y},n.valDataConverted=function(y){return y instanceof D&&(y=y.convertData()),y},n.escapeStringForRegExp=function(y){return y.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Me.exports=n},220:Me=>{"use strict";Me.exports=function(ie,_){for(var n={},f=Object.keys(ie),D=Array.isArray(_),y=0;y{!function(Me,ie){"use strict";var _="hljs-ln",n="hljs-ln-line",f="hljs-ln-code",D="hljs-ln-numbers",y="hljs-ln-n",u="data-line-number",v=/\r\n|\r|\n/g;function r(R){try{var U=ie.querySelectorAll("code.hljs,code.nohighlight");for(var W in U)U.hasOwnProperty(W)&&(c(U[W])||d(U[W],R))}catch(ne){Me.console.error("LineNumbers error: ",ne)}}function c(R){return R.classList.contains("nohljsln")}function d(R,U){"object"==typeof R&&function P(R){Me.setTimeout(R,0)}(function(){R.innerHTML=b(R,U)})}function b(R,U){var W=function x(R,U){return{singleLine:w(U=U||{}),startFrom:T(R,U)}}(R,U);return S(R),function C(R,U){var W=k(R);if(""===W[W.length-1].trim()&&W.pop(),W.length>1||U.singleLine){for(var ne="",ee=0,j=W.length;ee
{6}',[n,D,y,u,f,ee+U.startFrom,W[ee].length>0?W[ee]:" "]);return A('{1}
',[_,ne])}return R}(R.innerHTML,W)}function w(R){return!!R.singleLine&&R.singleLine}function T(R,U){var ne=1;isFinite(U.startFrom)&&(ne=U.startFrom);var ee=function L(R,U){return R.hasAttribute(U)?R.getAttribute(U):null}(R,"data-ln-start-from");return null!==ee&&(ne=function F(R,U){if(!R)return U;var W=Number(R);return isFinite(W)?W:U}(ee,1)),ne}function S(R){var U=R.childNodes;for(var W in U)if(U.hasOwnProperty(W)){var ne=U[W];I(ne.textContent)>0&&(ne.childNodes.length>0?S(ne):M(ne.parentNode))}}function M(R){var U=R.className;if(/hljs-/.test(U)){for(var W=k(R.innerHTML),ne=0,ee="";ne{1}\n',[U,W[ne].length>0?W[ne]:" "]);R.innerHTML=ee.trim()}}function k(R){return 0===R.length?[]:R.split(v)}function I(R){return(R.trim().match(v)||[]).length}function A(R,U){return R.replace(/\{(\d+)\}/g,function(W,ne){return void 0!==U[ne]?U[ne]:W})}Me.hljs?(Me.hljs.initLineNumbersOnLoad=function l(R){"interactive"===ie.readyState||"complete"===ie.readyState?r(R):Me.addEventListener("DOMContentLoaded",function(){r(R)})},Me.hljs.lineNumbersBlock=d,Me.hljs.lineNumbersValue=function g(R,U){if("string"==typeof R){var W=document.createElement("code");return W.innerHTML=R,b(W,U)}},function o(){var R=ie.createElement("style");R.type="text/css",R.innerHTML=A(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[_,y,u]),ie.getElementsByTagName("head")[0].appendChild(R)}()):Me.console.error("highlight.js not detected!"),document.addEventListener("copy",function(R){var W,U=window.getSelection();(function s(R){for(var U=R;U;){if(U.className&&-1!==U.className.indexOf("hljs-ln-code"))return!0;U=U.parentNode}return!1})(U.anchorNode)&&(W=-1!==window.navigator.userAgent.indexOf("Edge")?function h(R){for(var U=R.toString(),W=R.anchorNode;"TD"!==W.nodeName;)W=W.parentNode;for(var ne=R.focusNode;"TD"!==ne.nodeName;)ne=ne.parentNode;var ee=parseInt(W.dataset.lineNumber),j=parseInt(ne.dataset.lineNumber);if(ee!=j){var B=W.textContent,$=ne.textContent;if(ee>j){var Z=ee;ee=j,j=Z,Z=B,B=$,$=Z}for(;0!==U.indexOf(B);)B=B.slice(1);for(;-1===U.lastIndexOf($);)$=$.slice(0,-1);for(var H=B,te=function m(R){for(var U=R;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(W),ue=ee+1;ue{"use strict";Me.exports=Number.isFinite||function(ie){return!("number"!=typeof ie||ie!=ie||ie===1/0||ie===-1/0)}},4864:(Me,ie,_)=>{var n=_(9136);Me.exports=Number.isInteger||function(f){return"number"==typeof f&&n(f)&&Math.floor(f)===f}},1328:function(Me,ie){var _,f;void 0!==(f="function"==typeof(_=function(){"use strict";function D(o){function l(b){for(var C=0,x=r.length;C127){if(a>191&&a<224){if(t>=e.length)throw"UTF-8 decode: incomplete 2-byte sequence";a=(31&a)<<6|63&e[t]}else if(a>223&&a<240){if(t+1>=e.length)throw"UTF-8 decode: incomplete 3-byte sequence";a=(15&a)<<12|(63&e[t])<<6|63&e[++t]}else{if(!(a>239&&a<248))throw"UTF-8 decode: unknown multibyte start 0x"+a.toString(16)+" at index "+(t-1);if(t+2>=e.length)throw"UTF-8 decode: incomplete 4-byte sequence";a=(7&a)<<18|(63&e[t])<<12|(63&e[++t])<<6|63&e[++t]}++t}if(a<=65535)r+=String.fromCharCode(a);else{if(!(a<=1114111))throw"UTF-8 decode: code point 0x"+a.toString(16)+" exceeds UTF-16 reach";a-=65536,r+=String.fromCharCode(a>>10|55296),r+=String.fromCharCode(1023&a|56320)}}return r}function PaxHeader(e){this._fields=e}function TarFile(){}function UntarStream(e){this._bufferView=new DataView(e),this._position=0}function UntarFileStream(e){this._stream=new UntarStream(e),this._globalPaxHeader=null}if(UntarWorker.prototype={onmessage:function(e){try{if("extract"!==e.data.type)throw new Error("Unknown message type: "+e.data.type);this.untarBuffer(e.data.buffer)}catch(r){this.postError(r)}},postError:function(e){this.postMessage({type:"error",data:{message:e.message}})},postLog:function(e,r){this.postMessage({type:"log",data:{level:e,msg:r}})},untarBuffer:function(e){try{for(var r=new UntarFileStream(e);r.hasNext();){var t=r.next();this.postMessage({type:"extract",data:t},[t.buffer])}this.postMessage({type:"complete"})}catch(a){this.postError(a)}},postMessage:function(e,r){self.postMessage(e,r)}},"undefined"!=typeof self){var worker=new UntarWorker;self.onmessage=function(e){worker.onmessage(e)}}PaxHeader.parse=function(e){for(var r=new Uint8Array(e),t=[];r.length>0;){var a=parseInt(decodeUTF8(r.subarray(0,r.indexOf(32)))),n=decodeUTF8(r.subarray(0,a)),i=n.match(/^\\d+ ([^=]+)=(.*)\\n$/);if(null===i)throw new Error("Invalid PAX header data format.");var s=i[1],o=i[2];0===o.length?o=null:null!==o.match(/^\\d+$/)&&(o=parseInt(o));var f={name:s,value:o};t.push(f),r=r.subarray(a)}return new PaxHeader(t)},PaxHeader.prototype={applyHeader:function(e){this._fields.forEach(function(r){var t=r.name,a=r.value;"path"===t?(t="name",void 0!==e.prefix&&delete e.prefix):"linkpath"===t&&(t="linkname"),null===a?delete e[t]:e[t]=a})}},UntarStream.prototype={readString:function(e){for(var r=1,t=e*r,a=[],n=0;n-1&&(r.version=e.readString(2),r.uname=e.readString(32),r.gname=e.readString(32),r.devmajor=parseInt(e.readString(8)),r.devminor=parseInt(e.readString(8)),r.namePrefix=e.readString(155),r.namePrefix.length>0&&(r.name=r.namePrefix+"/"+r.name)),e.position(i),r.type){case"0":case"":r.buffer=e.readBuffer(r.size);break;case"1":break;case"2":break;case"3":break;case"4":break;case"5":break;case"6":break;case"7":break;case"g":t=!0,this._globalPaxHeader=PaxHeader.parse(e.readBuffer(r.size));break;case"x":t=!0,a=PaxHeader.parse(e.readBuffer(r.size))}void 0===r.buffer&&(r.buffer=new ArrayBuffer(0));var s=i+r.size;return r.size%512!==0&&(s+=512-r.size%512),e.position(s),t&&(r=this._readNextFile()),null!==this._globalPaxHeader&&this._globalPaxHeader.applyHeader(r),null!==a&&a.applyHeader(r),r}};'])),function y(o){if(!(o instanceof ArrayBuffer))throw new TypeError("arrayBuffer is not an instance of ArrayBuffer.");if(!s.Worker)throw new Error("Worker implementation is not available in this environment.");return new D(function(l,r,c){var d=new Worker(v),g=[];d.onerror=function(b){r(b)},d.onmessage=function(b){switch((b=b.data).type){case"log":console[b.data.level]("Worker: "+b.data.msg);break;case"extract":var C=function u(o){return Object.defineProperties(o,h),o}(b.data);g.push(C),c(C);break;case"complete":d.terminate(),l(g);break;case"error":d.terminate(),r(new Error(b.data.message));break;default:d.terminate(),r(new Error("Unknown message from worker: "+b.type))}},d.postMessage({type:"extract",buffer:o},[o])})}})?_.apply(ie,[]):_)&&(Me.exports=f)},3187:(Me,ie)=>{function n(f,D){var y=[],u=[];return null==D&&(D=function(v,s){return y[0]===s?"[Circular ~]":"[Circular ~."+u.slice(0,y.indexOf(s)).join(".")+"]"}),function(v,s){if(y.length>0){var m=y.indexOf(this);~m?y.splice(m+1):y.push(this),~m?u.splice(m,1/0,v):u.push(v),~y.indexOf(s)&&(s=D.call(this,v,s))}else y.push(s);return null==f?s:f.call(this,v,s)}}(Me.exports=function _(f,D,y,u){return JSON.stringify(f,n(D,u),y)}).getSerialize=n},7253:Me=>{var ie=1e3,_=6e4,n=60*_,f=24*n;function m(h,o,l,r){var c=o>=1.5*l;return Math.round(h/l)+" "+r+(c?"s":"")}Me.exports=function(h,o){o=o||{};var l=typeof h;if("string"===l&&h.length>0)return function u(h){if(!((h=String(h)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(o){var l=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return l*f;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*_;case"seconds":case"second":case"secs":case"sec":case"s":return l*ie;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(h);if("number"===l&&isFinite(h))return o.long?function s(h){var o=Math.abs(h);return o>=f?m(h,o,f,"day"):o>=n?m(h,o,n,"hour"):o>=_?m(h,o,_,"minute"):o>=ie?m(h,o,ie,"second"):h+" ms"}(h):function v(h){var o=Math.abs(h);return o>=f?Math.round(h/f)+"d":o>=n?Math.round(h/n)+"h":o>=_?Math.round(h/_)+"m":o>=ie?Math.round(h/ie)+"s":h+"ms"}(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))}},4783:Me=>{"use strict";const ie=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!ie)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!ie.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Me.exports.AbortController=ie.AbortController},133:(Me,ie,_)=>{"use strict";const n=_(8385),f=_(4989),D=_(6144),y=_(220),v=Symbol("encodeFragmentIdentifier");function h(x){if("string"!=typeof x||1!==x.length)throw new TypeError("arrayFormatSeparator must be single character string")}function o(x,w){return w.encode?w.strict?n(x):encodeURIComponent(x):x}function l(x,w){return w.decode?f(x):x}function r(x){return Array.isArray(x)?x.sort():"object"==typeof x?r(Object.keys(x)).sort((w,T)=>Number(w)-Number(T)).map(w=>x[w]):x}function c(x){const w=x.indexOf("#");return-1!==w&&(x=x.slice(0,w)),x}function g(x){const w=(x=c(x)).indexOf("?");return-1===w?"":x.slice(w+1)}function b(x,w){return w.parseNumbers&&!Number.isNaN(Number(x))&&"string"==typeof x&&""!==x.trim()?x=Number(x):w.parseBooleans&&null!==x&&("true"===x.toLowerCase()||"false"===x.toLowerCase())&&(x="true"===x.toLowerCase()),x}function C(x,w){h((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const T=function m(x){let w;switch(x.arrayFormat){case"index":return(T,S,M)=>{w=/\[(\d*)\]$/.exec(T),T=T.replace(/\[\d*\]$/,""),w?(void 0===M[T]&&(M[T]={}),M[T][w[1]]=S):M[T]=S};case"bracket":return(T,S,M)=>{w=/(\[\])$/.exec(T),M[T=T.replace(/\[\]$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"colon-list-separator":return(T,S,M)=>{w=/(:list)$/.exec(T),M[T=T.replace(/:list$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"comma":case"separator":return(T,S,M)=>{const k="string"==typeof S&&S.includes(x.arrayFormatSeparator),I="string"==typeof S&&!k&&l(S,x).includes(x.arrayFormatSeparator);S=I?l(S,x):S;const P=k||I?S.split(x.arrayFormatSeparator).map(A=>l(A,x)):null===S?S:l(S,x);M[T]=P};case"bracket-separator":return(T,S,M)=>{const k=/(\[\])$/.test(T);if(T=T.replace(/\[\]$/,""),!k)return void(M[T]=S&&l(S,x));const I=null===S?[]:S.split(x.arrayFormatSeparator).map(P=>l(P,x));M[T]=void 0!==M[T]?[].concat(M[T],I):I};default:return(T,S,M)=>{M[T]=void 0!==M[T]?[].concat(M[T],S):S}}}(w),S=Object.create(null);if("string"!=typeof x||!(x=x.trim().replace(/^[?#&]/,"")))return S;for(const M of x.split("&")){if(""===M)continue;let[k,I]=D(w.decode?M.replace(/\+/g," "):M,"=");I=void 0===I?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?I:l(I,w),T(l(k,w),I,S)}for(const M of Object.keys(S)){const k=S[M];if("object"==typeof k&&null!==k)for(const I of Object.keys(k))k[I]=b(k[I],w);else S[M]=b(k,w)}return!1===w.sort?S:(!0===w.sort?Object.keys(S).sort():Object.keys(S).sort(w.sort)).reduce((M,k)=>{const I=S[k];return M[k]=I&&"object"==typeof I&&!Array.isArray(I)?r(I):I,M},Object.create(null))}ie.extract=g,ie.parse=C,ie.stringify=(x,w)=>{if(!x)return"";h((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const T=I=>w.skipNull&&(x=>null==x)(x[I])||w.skipEmptyString&&""===x[I],S=function s(x){switch(x.arrayFormat){case"index":return w=>(T,S)=>{const M=T.length;return void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[",M,"]"].join("")]:[...T,[o(w,x),"[",o(M,x),"]=",o(S,x)].join("")]};case"bracket":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[]"].join("")]:[...T,[o(w,x),"[]=",o(S,x)].join("")];case"colon-list-separator":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),":list="].join("")]:[...T,[o(w,x),":list=",o(S,x)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===x.arrayFormat?"[]=":"=";return T=>(S,M)=>void 0===M||x.skipNull&&null===M||x.skipEmptyString&&""===M?S:(M=null===M?"":M,0===S.length?[[o(T,x),w,o(M,x)].join("")]:[[S,o(M,x)].join(x.arrayFormatSeparator)])}default:return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,o(w,x)]:[...T,[o(w,x),"=",o(S,x)].join("")]}}(w),M={};for(const I of Object.keys(x))T(I)||(M[I]=x[I]);const k=Object.keys(M);return!1!==w.sort&&k.sort(w.sort),k.map(I=>{const P=x[I];return void 0===P?"":null===P?o(I,w):Array.isArray(P)?0===P.length&&"bracket-separator"===w.arrayFormat?o(I,w)+"[]":P.reduce(S(I),[]).join("&"):o(I,w)+"="+o(P,w)}).filter(I=>I.length>0).join("&")},ie.parseUrl=(x,w)=>{w=Object.assign({decode:!0},w);const[T,S]=D(x,"#");return Object.assign({url:T.split("?")[0]||"",query:C(g(x),w)},w&&w.parseFragmentIdentifier&&S?{fragmentIdentifier:l(S,w)}:{})},ie.stringifyUrl=(x,w)=>{w=Object.assign({encode:!0,strict:!0,[v]:!0},w);const T=c(x.url).split("?")[0]||"",S=ie.extract(x.url),M=ie.parse(S,{sort:!1}),k=Object.assign(M,x.query);let I=ie.stringify(k,w);I&&(I=`?${I}`);let P=function d(x){let w="";const T=x.indexOf("#");return-1!==T&&(w=x.slice(T)),w}(x.url);return x.fragmentIdentifier&&(P=`#${w[v]?o(x.fragmentIdentifier,w):x.fragmentIdentifier}`),`${T}${I}${P}`},ie.pick=(x,w,T)=>{T=Object.assign({parseFragmentIdentifier:!0,[v]:!1},T);const{url:S,query:M,fragmentIdentifier:k}=ie.parseUrl(x,T);return ie.stringifyUrl({url:S,query:y(M,w),fragmentIdentifier:k},T)},ie.exclude=(x,w,T)=>{const S=Array.isArray(w)?M=>!w.includes(M):(M,k)=>!w(M,k);return ie.pick(x,S,T)}},5619:(Me,ie,_)=>{"use strict";_.d(ie,{X:()=>f});var n=_(8645);class f extends n.x{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const u=super._subscribe(y);return!u.closed&&y.next(this._value),u}getValue(){const{hasError:y,thrownError:u,_value:v}=this;if(y)throw u;return this._throwIfClosed(),v}next(y){super.next(this._value=y)}}},5592:(Me,ie,_)=>{"use strict";_.d(ie,{y:()=>m});var n=_(305),f=_(7394),D=_(4850),y=_(8407),u=_(2653),v=_(4674),s=_(1441);let m=(()=>{class r{constructor(d){d&&(this._subscribe=d)}lift(d){const g=new r;return g.source=this,g.operator=d,g}subscribe(d,g,b){const C=function l(r){return r&&r instanceof n.Lv||function o(r){return r&&(0,v.m)(r.next)&&(0,v.m)(r.error)&&(0,v.m)(r.complete)}(r)&&(0,f.Nn)(r)}(d)?d:new n.Hp(d,g,b);return(0,s.x)(()=>{const{operator:x,source:w}=this;C.add(x?x.call(C,w):w?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(d){try{return this._subscribe(d)}catch(g){d.error(g)}}forEach(d,g){return new(g=h(g))((b,C)=>{const x=new n.Hp({next:w=>{try{d(w)}catch(T){C(T),x.unsubscribe()}},error:C,complete:b});this.subscribe(x)})}_subscribe(d){var g;return null===(g=this.source)||void 0===g?void 0:g.subscribe(d)}[D.L](){return this}pipe(...d){return(0,y.U)(d)(this)}toPromise(d){return new(d=h(d))((g,b)=>{let C;this.subscribe(x=>C=x,x=>b(x),()=>g(C))})}}return r.create=c=>new r(c),r})();function h(r){var c;return null!==(c=r??u.config.Promise)&&void 0!==c?c:Promise}},7328:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>D});var n=_(8645),f=_(4552);class D extends n.x{constructor(u=1/0,v=1/0,s=f.l){super(),this._bufferSize=u,this._windowTime=v,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=v===1/0,this._bufferSize=Math.max(1,u),this._windowTime=Math.max(1,v)}next(u){const{isStopped:v,_buffer:s,_infiniteTimeWindow:m,_timestampProvider:h,_windowTime:o}=this;v||(s.push(u),!m&&s.push(h.now()+o)),this._trimBuffer(),super.next(u)}_subscribe(u){this._throwIfClosed(),this._trimBuffer();const v=this._innerSubscribe(u),{_infiniteTimeWindow:s,_buffer:m}=this,h=m.slice();for(let o=0;o{"use strict";_.d(ie,{x:()=>s});var n=_(5592),f=_(7394);const y=(0,_(2306).d)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var u=_(9039),v=_(1441);let s=(()=>{class h extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(l){const r=new m(this,this);return r.operator=l,r}_throwIfClosed(){if(this.closed)throw new y}next(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(l)}})}error(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=l;const{observers:r}=this;for(;r.length;)r.shift().error(l)}})}complete(){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:l}=this;for(;l.length;)l.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var l;return(null===(l=this.observers)||void 0===l?void 0:l.length)>0}_trySubscribe(l){return this._throwIfClosed(),super._trySubscribe(l)}_subscribe(l){return this._throwIfClosed(),this._checkFinalizedStatuses(l),this._innerSubscribe(l)}_innerSubscribe(l){const{hasError:r,isStopped:c,observers:d}=this;return r||c?f.Lc:(this.currentObservers=null,d.push(l),new f.w0(()=>{this.currentObservers=null,(0,u.P)(d,l)}))}_checkFinalizedStatuses(l){const{hasError:r,thrownError:c,isStopped:d}=this;r?l.error(c):d&&l.complete()}asObservable(){const l=new n.y;return l.source=this,l}}return h.create=(o,l)=>new m(o,l),h})();class m extends s{constructor(o,l){super(),this.destination=o,this.source=l}next(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.next)||void 0===r||r.call(l,o)}error(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.error)||void 0===r||r.call(l,o)}complete(){var o,l;null===(l=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===l||l.call(o)}_subscribe(o){var l,r;return null!==(r=null===(l=this.source)||void 0===l?void 0:l.subscribe(o))&&void 0!==r?r:f.Lc}}},305:(Me,ie,_)=>{"use strict";_.d(ie,{Hp:()=>b,Lv:()=>r});var n=_(4674),f=_(7394),D=_(2653),y=_(3894),u=_(2420);const v=h("C",void 0,void 0);function h(S,M,k){return{kind:S,value:M,error:k}}var o=_(7599),l=_(1441);class r extends f.w0{constructor(M){super(),this.isStopped=!1,M?(this.destination=M,(0,f.Nn)(M)&&M.add(this)):this.destination=T}static create(M,k,I){return new b(M,k,I)}next(M){this.isStopped?w(function m(S){return h("N",S,void 0)}(M),this):this._next(M)}error(M){this.isStopped?w(function s(S){return h("E",void 0,S)}(M),this):(this.isStopped=!0,this._error(M))}complete(){this.isStopped?w(v,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(M){this.destination.next(M)}_error(M){try{this.destination.error(M)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const c=Function.prototype.bind;function d(S,M){return c.call(S,M)}class g{constructor(M){this.partialObserver=M}next(M){const{partialObserver:k}=this;if(k.next)try{k.next(M)}catch(I){C(I)}}error(M){const{partialObserver:k}=this;if(k.error)try{k.error(M)}catch(I){C(I)}else C(M)}complete(){const{partialObserver:M}=this;if(M.complete)try{M.complete()}catch(k){C(k)}}}class b extends r{constructor(M,k,I){let P;if(super(),(0,n.m)(M)||!M)P={next:M??void 0,error:k??void 0,complete:I??void 0};else{let A;this&&D.config.useDeprecatedNextContext?(A=Object.create(M),A.unsubscribe=()=>this.unsubscribe(),P={next:M.next&&d(M.next,A),error:M.error&&d(M.error,A),complete:M.complete&&d(M.complete,A)}):P=M}this.destination=new g(P)}}function C(S){D.config.useDeprecatedSynchronousErrorHandling?(0,l.O)(S):(0,y.h)(S)}function w(S,M){const{onStoppedNotification:k}=D.config;k&&o.z.setTimeout(()=>k(S,M))}const T={closed:!0,next:u.Z,error:function x(S){throw S},complete:u.Z}},7394:(Me,ie,_)=>{"use strict";_.d(ie,{Lc:()=>v,w0:()=>u,Nn:()=>s});var n=_(4674);const D=(0,_(2306).d)(h=>function(l){h(this),this.message=l?`${l.length} errors occurred during unsubscription:\n${l.map((r,c)=>`${c+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=l});var y=_(9039);class u{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;const{_parentage:l}=this;if(l)if(this._parentage=null,Array.isArray(l))for(const d of l)d.remove(this);else l.remove(this);const{initialTeardown:r}=this;if((0,n.m)(r))try{r()}catch(d){o=d instanceof D?d.errors:[d]}const{_finalizers:c}=this;if(c){this._finalizers=null;for(const d of c)try{m(d)}catch(g){o=o??[],g instanceof D?o=[...o,...g.errors]:o.push(g)}}if(o)throw new D(o)}}add(o){var l;if(o&&o!==this)if(this.closed)m(o);else{if(o instanceof u){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(l=this._finalizers)&&void 0!==l?l:[]).push(o)}}_hasParent(o){const{_parentage:l}=this;return l===o||Array.isArray(l)&&l.includes(o)}_addParent(o){const{_parentage:l}=this;this._parentage=Array.isArray(l)?(l.push(o),l):l?[l,o]:o}_removeParent(o){const{_parentage:l}=this;l===o?this._parentage=null:Array.isArray(l)&&(0,y.P)(l,o)}remove(o){const{_finalizers:l}=this;l&&(0,y.P)(l,o),o instanceof u&&o._removeParent(this)}}u.EMPTY=(()=>{const h=new u;return h.closed=!0,h})();const v=u.EMPTY;function s(h){return h instanceof u||h&&"closed"in h&&(0,n.m)(h.remove)&&(0,n.m)(h.add)&&(0,n.m)(h.unsubscribe)}function m(h){(0,n.m)(h)?h():h.unsubscribe()}},2653:(Me,ie,_)=>{"use strict";_.d(ie,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>v});var n=_(5592),f=_(7394),D=_(6196),y=_(8251),u=_(9360);class v extends n.y{constructor(m,h){super(),this.source=m,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,u.A)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new f.w0;const h=this.getSubject();m.add(this.source.subscribe((0,y.x)(h,void 0,()=>{this._teardown(),h.complete()},o=>{this._teardown(),h.error(o)},()=>this._teardown()))),m.closed&&(this._connection=null,m=f.w0.EMPTY)}return m}refCount(){return(0,D.x)()(this)}}},2572:(Me,ie,_)=>{"use strict";_.d(ie,{a:()=>o,l:()=>l});var n=_(5592),f=_(7453),D=_(2459),y=_(2737),u=_(7400),v=_(9940),s=_(2714),m=_(8251),h=_(7103);function o(...c){const d=(0,v.yG)(c),g=(0,v.jO)(c),{args:b,keys:C}=(0,f.D)(c);if(0===b.length)return(0,D.D)([],d);const x=new n.y(l(b,d,C?w=>(0,s.n)(C,w):y.y));return g?x.pipe((0,u.Z)(g)):x}function l(c,d,g=y.y){return b=>{r(d,()=>{const{length:C}=c,x=new Array(C);let w=C,T=C;for(let S=0;S{const M=(0,D.D)(c[S],d);let k=!1;M.subscribe((0,m.x)(b,I=>{x[S]=I,k||(k=!0,T--),T||b.next(g(x.slice()))},()=>{--w||b.complete()}))},b)},b)}}function r(c,d,g){c?(0,h.f)(g,c,d):d()}},34:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>y});var n=_(1948),f=_(9940),D=_(2459);function y(...u){return(0,n.u)()((0,D.D)(u,(0,f.yG)(u)))}},4911:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>D});var n=_(5592),f=_(4829);function D(y){return new n.y(u=>{(0,f.Xf)(y()).subscribe(u)})}},6232:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>f});const f=new(_(5592).y)(u=>u.complete())},9315:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>m});var n=_(5592),f=_(7453),D=_(4829),y=_(9940),u=_(8251),v=_(7400),s=_(2714);function m(...h){const o=(0,y.jO)(h),{args:l,keys:r}=(0,f.D)(h),c=new n.y(d=>{const{length:g}=l;if(!g)return void d.complete();const b=new Array(g);let C=g,x=g;for(let w=0;w{T||(T=!0,x--),b[w]=S},()=>C--,void 0,()=>{(!C||!T)&&(x||d.next(r?(0,s.n)(r,b):b),d.complete())}))}});return o?c.pipe((0,v.Z)(o)):c}},2459:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>M});var n=_(4829),f=_(3093),D=_(5137),v=_(5592),m=_(4971),h=_(4674),o=_(7103);function r(k,I){if(!k)throw new Error("Iterable cannot be null");return new v.y(P=>{(0,o.f)(P,I,()=>{const A=k[Symbol.asyncIterator]();(0,o.f)(P,I,()=>{A.next().then(L=>{L.done?P.complete():P.next(L.value)})},0,!0)})})}var c=_(8382),d=_(4026),g=_(4266),b=_(3664),C=_(5726),x=_(9853),w=_(541);function M(k,I){return I?function S(k,I){if(null!=k){if((0,c.c)(k))return function y(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,g.z)(k))return function s(k,I){return new v.y(P=>{let A=0;return I.schedule(function(){A===k.length?P.complete():(P.next(k[A++]),P.closed||this.schedule())})})}(k,I);if((0,d.t)(k))return function u(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,C.D)(k))return r(k,I);if((0,b.T)(k))return function l(k,I){return new v.y(P=>{let A;return(0,o.f)(P,I,()=>{A=k[m.h](),(0,o.f)(P,I,()=>{let L,F;try{({value:L,done:F}=A.next())}catch(R){return void P.error(R)}F?P.complete():P.next(L)},0,!0)}),()=>(0,h.m)(A?.return)&&A.return()})}(k,I);if((0,w.L)(k))return function T(k,I){return r((0,w.Q)(k),I)}(k,I)}throw(0,x.z)(k)}(k,I):(0,n.Xf)(k)}},2438:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>o});var n=_(4829),f=_(5592),D=_(9769),y=_(4266),u=_(4674),v=_(7400);const s=["addListener","removeListener"],m=["addEventListener","removeEventListener"],h=["on","off"];function o(g,b,C,x){if((0,u.m)(C)&&(x=C,C=void 0),x)return o(g,b,C).pipe((0,v.Z)(x));const[w,T]=function d(g){return(0,u.m)(g.addEventListener)&&(0,u.m)(g.removeEventListener)}(g)?m.map(S=>M=>g[S](b,M,C)):function r(g){return(0,u.m)(g.addListener)&&(0,u.m)(g.removeListener)}(g)?s.map(l(g,b)):function c(g){return(0,u.m)(g.on)&&(0,u.m)(g.off)}(g)?h.map(l(g,b)):[];if(!w&&(0,y.z)(g))return(0,D.z)(S=>o(S,b,C))((0,n.Xf)(g));if(!w)throw new TypeError("Invalid event target");return new f.y(S=>{const M=(...k)=>S.next(1T(M)})}function l(g,b){return C=>x=>g[C](b,x)}},4829:(Me,ie,_)=>{"use strict";_.d(ie,{Xf:()=>c});var n=_(655),f=_(4266),D=_(4026),y=_(5592),u=_(8382),v=_(5726),s=_(9853),m=_(3664),h=_(541),o=_(4674),l=_(3894),r=_(4850);function c(S){if(S instanceof y.y)return S;if(null!=S){if((0,u.c)(S))return function d(S){return new y.y(M=>{const k=S[r.L]();if((0,o.m)(k.subscribe))return k.subscribe(M);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(S);if((0,f.z)(S))return function g(S){return new y.y(M=>{for(let k=0;k{S.then(k=>{M.closed||(M.next(k),M.complete())},k=>M.error(k)).then(null,l.h)})}(S);if((0,v.D)(S))return x(S);if((0,m.T)(S))return function C(S){return new y.y(M=>{for(const k of S)if(M.next(k),M.closed)return;M.complete()})}(S);if((0,h.L)(S))return function w(S){return x((0,h.Q)(S))}(S)}throw(0,s.z)(S)}function x(S){return new y.y(M=>{(function T(S,M){var k,I,P,A;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(k=(0,n.__asyncValues)(S);!(I=yield k.next()).done;)if(M.next(I.value),M.closed)return}catch(L){P={error:L}}finally{try{I&&!I.done&&(A=k.return)&&(yield A.call(k))}finally{if(P)throw P.error}}M.complete()})})(S,M).catch(k=>M.error(k))})}},3019:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>v});var n=_(7537),f=_(4829),D=_(6232),y=_(9940),u=_(2459);function v(...s){const m=(0,y.yG)(s),h=(0,y._6)(s,1/0),o=s;return o.length?1===o.length?(0,f.Xf)(o[0]):(0,n.J)(h)((0,u.D)(o,m)):D.E}},2096:(Me,ie,_)=>{"use strict";_.d(ie,{of:()=>D});var n=_(9940),f=_(2459);function D(...y){const u=(0,n.yG)(y);return(0,f.D)(y,u)}},3684:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>v,S:()=>u});var n=_(5592),f=_(4829),D=_(7728),y=_(8251);function u(...s){return 1===(s=(0,D.k)(s)).length?(0,f.Xf)(s[0]):new n.y(v(s))}function v(s){return m=>{let h=[];for(let o=0;h&&!m.closed&&o{if(h){for(let r=0;r{"use strict";_.d(ie,{_:()=>D});var n=_(5592),f=_(4674);function D(y,u){const v=(0,f.m)(y)?y:()=>y,s=m=>m.error(v());return new n.y(u?m=>u.schedule(s,0,m):s)}},9080:(Me,ie,_)=>{"use strict";_.d(ie,{H:()=>u});var n=_(5592),f=_(6321),D=_(671),y=_(93);function u(v=0,s,m=f.P){let h=-1;return null!=s&&((0,D.K)(s)?m=s:h=s),new n.y(o=>{let l=(0,y.q)(v)?+v-m.now():v;l<0&&(l=0);let r=0;return m.schedule(function(){o.closed||(o.next(r++),0<=h?this.schedule(void 0,h):o.complete())},l)})}},9278:(Me,ie,_)=>{"use strict";_.d(ie,{$:()=>s});var n=_(5592),f=_(4829),D=_(7728),y=_(6232),u=_(8251),v=_(9940);function s(...m){const h=(0,v.jO)(m),o=(0,D.k)(m);return o.length?new n.y(l=>{let r=o.map(()=>[]),c=o.map(()=>!1);l.add(()=>{r=c=null});for(let d=0;!l.closed&&d{if(r[d].push(g),r.every(b=>b.length)){const b=r.map(C=>C.shift());l.next(h?h(...b):b),r.some((C,x)=>!C.length&&c[x])&&l.complete()}},()=>{c[d]=!0,!r[d].length&&l.complete()}));return()=>{r=c=null}}):y.E}},8251:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>D,x:()=>f});var n=_(305);function f(y,u,v,s,m){return new D(y,u,v,s,m)}class D extends n.Lv{constructor(u,v,s,m,h,o){super(u),this.onFinalize=h,this.shouldUnsubscribe=o,this._next=v?function(l){try{v(l)}catch(r){u.error(r)}}:super._next,this._error=m?function(l){try{m(l)}catch(r){u.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(l){u.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:v}=this;super.unsubscribe(),!v&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}}}},6301:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>y});var n=_(9360),f=_(4829),D=_(8251);function y(u){return(0,n.e)((v,s)=>{let m=!1,h=null,o=null,l=!1;const r=()=>{if(o?.unsubscribe(),o=null,m){m=!1;const d=h;h=null,s.next(d)}l&&s.complete()},c=()=>{o=null,l&&s.complete()};v.subscribe((0,D.x)(s,d=>{m=!0,h=d,o||(0,f.Xf)(u(d)).subscribe(o=(0,D.x)(s,r,c))},()=>{l=!0,(!m||!o||o.closed)&&s.complete()}))})}},8672:(Me,ie,_)=>{"use strict";_.d(ie,{e:()=>y});var n=_(6321),f=_(6301),D=_(9080);function y(u,v=n.z){return(0,f.U)(()=>(0,D.H)(u,v))}},6306:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>y});var n=_(4829),f=_(8251),D=_(9360);function y(u){return(0,D.e)((v,s)=>{let o,m=null,h=!1;m=v.subscribe((0,f.x)(s,void 0,void 0,l=>{o=(0,n.Xf)(u(l,y(u)(v))),m?(m.unsubscribe(),m=null,o.subscribe(s)):h=!0})),h&&(m.unsubscribe(),m=null,o.subscribe(s))})}},1948:(Me,ie,_)=>{"use strict";_.d(ie,{u:()=>f});var n=_(7537);function f(){return(0,n.J)(1)}},6328:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(9769),f=_(4674);function D(y,u){return(0,f.m)(u)?(0,n.z)(y,u,1):(0,n.z)(y,1)}},3620:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>y});var n=_(6321),f=_(9360),D=_(8251);function y(u,v=n.z){return(0,f.e)((s,m)=>{let h=null,o=null,l=null;const r=()=>{if(h){h.unsubscribe(),h=null;const d=o;o=null,m.next(d)}};function c(){const d=l+u,g=v.now();if(g{o=d,l=v.now(),h||(h=v.schedule(c,u),m.add(h))},()=>{r(),m.complete()},void 0,()=>{o=h=null}))})}},3572:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(9360),f=_(8251);function D(y){return(0,n.e)((u,v)=>{let s=!1;u.subscribe((0,f.x)(v,m=>{s=!0,v.next(m)},()=>{s||v.next(y),v.complete()}))})}},7547:(Me,ie,_)=>{"use strict";_.d(ie,{g:()=>y});var n=_(6321),f=_(4610),D=_(9080);function y(u,v=n.z){const s=(0,D.H)(u,v);return(0,f.j)(()=>s)}},4610:(Me,ie,_)=>{"use strict";_.d(ie,{j:()=>s});var n=_(34),f=_(8180),D=_(7538),y=_(975),u=_(9769),v=_(4829);function s(m,h){return h?o=>(0,n.z)(h.pipe((0,f.q)(1),(0,D.l)()),o.pipe(s(m))):(0,u.z)((o,l)=>(0,v.Xf)(m(o,l)).pipe((0,f.q)(1),(0,y.h)(o)))}},3997:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>y});var n=_(2737),f=_(9360),D=_(8251);function y(v,s=n.y){return v=v??u,(0,f.e)((m,h)=>{let o,l=!0;m.subscribe((0,D.x)(h,r=>{const c=s(r);(l||!v(o,c))&&(l=!1,o=c,h.next(r))}))})}function u(v,s){return v===s}},2181:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>y.call(u,h,m++)&&s.next(h)))})}},4716:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>f});var n=_(9360);function f(D){return(0,n.e)((y,u)=>{try{y.subscribe(u)}finally{u.add(D)}})}},1374:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>s});var n=_(6973),f=_(2181),D=_(8180),y=_(3572),u=_(3026),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.q)(1),o?(0,y.d)(h):(0,u.T)(()=>new n.K))}},7538:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>y});var n=_(9360),f=_(8251),D=_(2420);function y(){return(0,n.e)((u,v)=>{u.subscribe((0,f.x)(v,D.Z))})}},2032:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(6973),f=_(2181),D=_(4418),y=_(3026),u=_(3572),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.h)(1),o?(0,u.d)(h):(0,y.T)(()=>new n.K))}},7398:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{s.next(y.call(u,h,m++))}))})}},975:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});var n=_(7398);function f(D){return(0,n.U)(()=>D)}},7537:(Me,ie,_)=>{"use strict";_.d(ie,{J:()=>D});var n=_(9769),f=_(2737);function D(y=1/0){return(0,n.z)(f.y,y)}},564:(Me,ie,_)=>{"use strict";_.d(ie,{p:()=>y});var n=_(4829),f=_(7103),D=_(8251);function y(u,v,s,m,h,o,l,r){const c=[];let d=0,g=0,b=!1;const C=()=>{b&&!c.length&&!d&&v.complete()},x=T=>d{o&&v.next(T),d++;let S=!1;(0,n.Xf)(s(T,g++)).subscribe((0,D.x)(v,M=>{h?.(M),o?x(M):v.next(M)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&dw(M)):w(M)}C()}catch(M){v.error(M)}}))};return u.subscribe((0,D.x)(v,x,()=>{b=!0,C()})),()=>{r?.()}}},9769:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>v});var n=_(7398),f=_(4829),D=_(9360),y=_(564),u=_(4674);function v(s,m,h=1/0){return(0,u.m)(m)?v((o,l)=>(0,n.U)((r,c)=>m(o,r,l,c))((0,f.Xf)(s(o,l))),h):("number"==typeof m&&(h=m),(0,D.e)((o,l)=>(0,y.p)(o,l,s,h)))}},3093:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>y});var n=_(7103),f=_(9360),D=_(8251);function y(u,v=0){return(0,f.e)((s,m)=>{s.subscribe((0,D.x)(m,h=>(0,n.f)(m,u,()=>m.next(h),v),()=>(0,n.f)(m,u,()=>m.complete(),v),h=>(0,n.f)(m,u,()=>m.error(h),v)))})}},6196:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>D});var n=_(9360),f=_(8251);function D(){return(0,n.e)((y,u)=>{let v=null;y._refCount++;const s=(0,f.x)(u,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(v=null);const m=y._connection,h=v;v=null,m&&(!h||m===h)&&m.unsubscribe(),u.unsubscribe()});y.subscribe(s),s.closed||(v=y.connect())})}},6424:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>D});var n=_(9360),f=_(9732);function D(y,u){return(0,n.e)((0,f.U)(y,u,arguments.length>=2,!0))}},9732:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>f});var n=_(8251);function f(D,y,u,v,s){return(m,h)=>{let o=u,l=y,r=0;m.subscribe((0,n.x)(h,c=>{const d=r++;l=o?D(l,c,d):(o=!0,c),v&&h.next(l)},s&&(()=>{o&&h.next(l),h.complete()})))}}},3020:(Me,ie,_)=>{"use strict";_.d(ie,{B:()=>u});var n=_(4829),f=_(8645),D=_(305),y=_(9360);function u(s={}){const{connector:m=(()=>new f.x),resetOnError:h=!0,resetOnComplete:o=!0,resetOnRefCountZero:l=!0}=s;return r=>{let c,d,g,b=0,C=!1,x=!1;const w=()=>{d?.unsubscribe(),d=void 0},T=()=>{w(),c=g=void 0,C=x=!1},S=()=>{const M=c;T(),M?.unsubscribe()};return(0,y.e)((M,k)=>{b++,!x&&!C&&w();const I=g=g??m();k.add(()=>{b--,0===b&&!x&&!C&&(d=v(S,l))}),I.subscribe(k),!c&&b>0&&(c=new D.Hp({next:P=>I.next(P),error:P=>{x=!0,w(),d=v(T,h,P),I.error(P)},complete:()=>{C=!0,w(),d=v(T,o),I.complete()}}),(0,n.Xf)(M).subscribe(c))})(r)}}function v(s,m,...h){if(!0===m)return void s();if(!1===m)return;const o=new D.Hp({next:()=>{o.unsubscribe(),s()}});return(0,n.Xf)(m(...h)).subscribe(o)}},7081:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(7328),f=_(3020);function D(y,u,v){let s,m=!1;return y&&"object"==typeof y?({bufferSize:s=1/0,windowTime:u=1/0,refCount:m=!1,scheduler:v}=y):s=y??1/0,(0,f.B)({connector:()=>new n.t(s,u,v),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:m})}},836:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>f});var n=_(2181);function f(D){return(0,n.h)((y,u)=>D<=u)}},7921:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y});var n=_(34),f=_(9940),D=_(9360);function y(...u){const v=(0,f.yG)(u);return(0,D.e)((s,m)=>{(v?(0,n.z)(u,s,v):(0,n.z)(u,s)).subscribe(m)})}},5137:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>f});var n=_(9360);function f(D,y=0){return(0,n.e)((u,v)=>{v.add(D.schedule(()=>u.subscribe(v),y))})}},4664:(Me,ie,_)=>{"use strict";_.d(ie,{w:()=>y});var n=_(4829),f=_(9360),D=_(8251);function y(u,v){return(0,f.e)((s,m)=>{let h=null,o=0,l=!1;const r=()=>l&&!h&&m.complete();s.subscribe((0,D.x)(m,c=>{h?.unsubscribe();let d=0;const g=o++;(0,n.Xf)(u(c,g)).subscribe(h=(0,D.x)(m,b=>m.next(v?v(c,b,g,d++):b),()=>{h=null,r()}))},()=>{l=!0,r()}))})}},8180:(Me,ie,_)=>{"use strict";_.d(ie,{q:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=0;v.subscribe((0,D.x)(s,h=>{++m<=u&&(s.next(h),u<=m&&s.complete())}))})}},4418:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=[];v.subscribe((0,D.x)(s,h=>{m.push(h),u{for(const h of m)s.next(h);s.complete()},void 0,()=>{m=null}))})}},9773:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>u});var n=_(9360),f=_(8251),D=_(4829),y=_(2420);function u(v){return(0,n.e)((s,m)=>{(0,D.Xf)(v).subscribe((0,f.x)(m,()=>m.complete(),y.Z)),!m.closed&&s.subscribe(m)})}},812:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>D});var n=_(9360),f=_(8251);function D(y,u=!1){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{const o=y(h,m++);(o||u)&&s.next(h),!o&&s.complete()}))})}},9397:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>u});var n=_(4674),f=_(9360),D=_(8251),y=_(2737);function u(v,s,m){const h=(0,n.m)(v)||s||m?{next:v,error:s,complete:m}:v;return h?(0,f.e)((o,l)=>{var r;null===(r=h.subscribe)||void 0===r||r.call(h);let c=!0;o.subscribe((0,D.x)(l,d=>{var g;null===(g=h.next)||void 0===g||g.call(h,d),l.next(d)},()=>{var d;c=!1,null===(d=h.complete)||void 0===d||d.call(h),l.complete()},d=>{var g;c=!1,null===(g=h.error)||void 0===g||g.call(h,d),l.error(d)},()=>{var d,g;c&&(null===(d=h.unsubscribe)||void 0===d||d.call(h)),null===(g=h.finalize)||void 0===g||g.call(h)}))}):y.y}},3026:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>y});var n=_(6973),f=_(9360),D=_(8251);function y(v=u){return(0,f.e)((s,m)=>{let h=!1;s.subscribe((0,D.x)(m,o=>{h=!0,m.next(o)},()=>h?m.complete():m.error(v())))})}function u(){return new n.K}},5178:(Me,ie,_)=>{"use strict";_.d(ie,{V:()=>h});var n=_(6321),f=_(93),D=_(9360),y=_(4829),u=_(2306),v=_(8251),s=_(7103);const m=(0,u.d)(l=>function(c=null){l(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=c});function h(l,r){const{first:c,each:d,with:g=o,scheduler:b=r??n.z,meta:C=null}=(0,f.q)(l)?{first:l}:"number"==typeof l?{each:l}:l;if(null==c&&null==d)throw new TypeError("No timeout provided.");return(0,D.e)((x,w)=>{let T,S,M=null,k=0;const I=P=>{S=(0,s.f)(w,b,()=>{try{T.unsubscribe(),(0,y.Xf)(g({meta:C,lastValue:M,seen:k})).subscribe(w)}catch(A){w.error(A)}},P)};T=x.subscribe((0,v.x)(w,P=>{S?.unsubscribe(),k++,w.next(M=P),d>0&&I(d)},void 0,void 0,()=>{S?.closed||S?.unsubscribe(),M=null})),!k&&I(null!=c?"number"==typeof c?c:+c-b.now():d)})}function o(l){throw new m(l)}},1954:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>u});var n=_(7394);class f extends n.w0{constructor(s,m){super()}schedule(s,m=0){return this}}const D={setInterval(v,s,...m){const{delegate:h}=D;return h?.setInterval?h.setInterval(v,s,...m):setInterval(v,s,...m)},clearInterval(v){const{delegate:s}=D;return(s?.clearInterval||clearInterval)(v)},delegate:void 0};var y=_(9039);class u extends f{constructor(s,m){super(s,m),this.scheduler=s,this.work=m,this.pending=!1}schedule(s,m=0){var h;if(this.closed)return this;this.state=s;const o=this.id,l=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(l,o,m)),this.pending=!0,this.delay=m,this.id=null!==(h=this.id)&&void 0!==h?h:this.requestAsyncId(l,this.id,m),this}requestAsyncId(s,m,h=0){return D.setInterval(s.flush.bind(s,this),h)}recycleAsyncId(s,m,h=0){if(null!=h&&this.delay===h&&!1===this.pending)return m;null!=m&&D.clearInterval(m)}execute(s,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(s,m);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,m){let o,h=!1;try{this.work(s)}catch(l){h=!0,o=l||new Error("Scheduled action threw falsy error")}if(h)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:s,scheduler:m}=this,{actions:h}=m;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.P)(h,this),null!=s&&(this.id=this.recycleAsyncId(m,s,null)),this.delay=null,super.unsubscribe()}}}},2631:(Me,ie,_)=>{"use strict";_.d(ie,{v:()=>D});var n=_(4552);class f{constructor(u,v=f.now){this.schedulerActionCtor=u,this.now=v}schedule(u,v=0,s){return new this.schedulerActionCtor(this,u).schedule(s,v)}}f.now=n.l.now;class D extends f{constructor(u,v=f.now){super(u,v),this.actions=[],this._active=!1}flush(u){const{actions:v}=this;if(this._active)return void v.push(u);let s;this._active=!0;do{if(s=u.execute(u.state,u.delay))break}while(u=v.shift());if(this._active=!1,s){for(;u=v.shift();)u.unsubscribe();throw s}}}},927:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(1954),f=_(7394);const D={schedule(h){let o=requestAnimationFrame,l=cancelAnimationFrame;const{delegate:r}=D;r&&(o=r.requestAnimationFrame,l=r.cancelAnimationFrame);const c=o(d=>{l=void 0,h(d)});return new f.w0(()=>l?.(c))},requestAnimationFrame(...h){const{delegate:o}=D;return(o?.requestAnimationFrame||requestAnimationFrame)(...h)},cancelAnimationFrame(...h){const{delegate:o}=D;return(o?.cancelAnimationFrame||cancelAnimationFrame)(...h)},delegate:void 0};var u=_(2631);const s=new class v extends u.v{flush(o){this._active=!0;const l=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let c;o=o||r.shift();do{if(c=o.execute(o.state,o.delay))break}while((o=r[0])&&o.id===l&&r.shift());if(this._active=!1,c){for(;(o=r[0])&&o.id===l&&r.shift();)o.unsubscribe();throw c}}}(class y extends n.o{constructor(o,l){super(o,l),this.scheduler=o,this.work=l}requestAsyncId(o,l,r=0){return null!==r&&r>0?super.requestAsyncId(o,l,r):(o.actions.push(this),o._scheduled||(o._scheduled=D.requestAnimationFrame(()=>o.flush(void 0))))}recycleAsyncId(o,l,r=0){var c;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(o,l,r);const{actions:d}=o;null!=l&&(null===(c=d[d.length-1])||void 0===c?void 0:c.id)!==l&&(D.cancelAnimationFrame(l),o._scheduled=void 0)}})},6410:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>d});var n=_(1954);let D,f=1;const y={};function u(b){return b in y&&(delete y[b],!0)}const v={setImmediate(b){const C=f++;return y[C]=!0,D||(D=Promise.resolve()),D.then(()=>u(C)&&b()),C},clearImmediate(b){u(b)}},{setImmediate:m,clearImmediate:h}=v,o={setImmediate(...b){const{delegate:C}=o;return(C?.setImmediate||m)(...b)},clearImmediate(b){const{delegate:C}=o;return(C?.clearImmediate||h)(b)},delegate:void 0};var r=_(2631);const d=new class c extends r.v{flush(C){this._active=!0;const x=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let T;C=C||w.shift();do{if(T=C.execute(C.state,C.delay))break}while((C=w[0])&&C.id===x&&w.shift());if(this._active=!1,T){for(;(C=w[0])&&C.id===x&&w.shift();)C.unsubscribe();throw T}}}(class l extends n.o{constructor(C,x){super(C,x),this.scheduler=C,this.work=x}requestAsyncId(C,x,w=0){return null!==w&&w>0?super.requestAsyncId(C,x,w):(C.actions.push(this),C._scheduled||(C._scheduled=o.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,x,w=0){var T;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(C,x,w);const{actions:S}=C;null!=x&&(null===(T=S[S.length-1])||void 0===T?void 0:T.id)!==x&&(o.clearImmediate(x),C._scheduled===x&&(C._scheduled=void 0))}})},6321:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>y,z:()=>D});var n=_(1954);const D=new(_(2631).v)(n.o),y=D},4552:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n={setTimeout(f,D,...y){const{delegate:u}=n;return u?.setTimeout?u.setTimeout(f,D,...y):setTimeout(f,D,...y)},clearTimeout(f){const{delegate:D}=n;return(D?.clearTimeout||clearTimeout)(f)},delegate:void 0}},4971:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});const f=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});const f=(0,_(2306).d)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Me,ie,_)=>{"use strict";_.d(ie,{_6:()=>v,jO:()=>y,yG:()=>u});var n=_(4674),f=_(671);function D(s){return s[s.length-1]}function y(s){return(0,n.m)(D(s))?s.pop():void 0}function u(s){return(0,f.K)(D(s))?s.pop():void 0}function v(s,m){return"number"==typeof D(s)?s.pop():m}},7453:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>u});const{isArray:n}=Array,{getPrototypeOf:f,prototype:D,keys:y}=Object;function u(s){if(1===s.length){const m=s[0];if(n(m))return{args:m,keys:null};if(function v(s){return s&&"object"==typeof s&&f(s)===D}(m)){const h=y(m);return{args:h.map(o=>m[o]),keys:h}}}return{args:s,keys:null}}},7728:(Me,ie,_)=>{"use strict";_.d(ie,{k:()=>f});const{isArray:n}=Array;function f(D){return 1===D.length&&n(D[0])?D[0]:D}},9039:(Me,ie,_)=>{"use strict";function n(f,D){if(f){const y=f.indexOf(D);0<=y&&f.splice(y,1)}}_.d(ie,{P:()=>n})},2306:(Me,ie,_)=>{"use strict";function n(f){const y=f(u=>{Error.call(u),u.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}_.d(ie,{d:()=>n})},2714:(Me,ie,_)=>{"use strict";function n(f,D){return f.reduce((y,u,v)=>(y[u]=D[v],y),{})}_.d(ie,{n:()=>n})},1441:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y,x:()=>D});var n=_(2653);let f=null;function D(u){if(n.config.useDeprecatedSynchronousErrorHandling){const v=!f;if(v&&(f={errorThrown:!1,error:null}),u(),v){const{errorThrown:s,error:m}=f;if(f=null,s)throw m}}else u()}function y(u){n.config.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=u)}},7103:(Me,ie,_)=>{"use strict";function n(f,D,y,u=0,v=!1){const s=D.schedule(function(){y(),v?f.add(this.schedule(null,u)):this.unsubscribe()},u);if(f.add(s),!v)return s}_.d(ie,{f:()=>n})},2737:(Me,ie,_)=>{"use strict";function n(f){return f}_.d(ie,{y:()=>n})},4266:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n=f=>f&&"number"==typeof f.length&&"function"!=typeof f},5726:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>f});var n=_(4674);function f(D){return Symbol.asyncIterator&&(0,n.m)(D?.[Symbol.asyncIterator])}},93:(Me,ie,_)=>{"use strict";function n(f){return f instanceof Date&&!isNaN(f)}_.d(ie,{q:()=>n})},4674:(Me,ie,_)=>{"use strict";function n(f){return"function"==typeof f}_.d(ie,{m:()=>n})},8382:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>D});var n=_(4850),f=_(4674);function D(y){return(0,f.m)(y[n.L])}},3664:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>D});var n=_(4971),f=_(4674);function D(y){return(0,f.m)(y?.[n.h])}},2664:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(5592),f=_(4674);function D(y){return!!y&&(y instanceof n.y||(0,f.m)(y.lift)&&(0,f.m)(y.subscribe))}},4026:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>f});var n=_(4674);function f(D){return(0,n.m)(D?.then)}},541:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>y,Q:()=>D});var n=_(655),f=_(4674);function D(u){return(0,n.__asyncGenerator)(this,arguments,function*(){const s=u.getReader();try{for(;;){const{value:m,done:h}=yield(0,n.__await)(s.read());if(h)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(m)}}finally{s.releaseLock()}})}function y(u){return(0,f.m)(u?.getReader)}},671:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});var n=_(4674);function f(D){return D&&(0,n.m)(D.schedule)}},9360:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>f,e:()=>D});var n=_(4674);function f(y){return(0,n.m)(y?.lift)}function D(y){return u=>{if(f(u))return u.lift(function(v){try{return y(v,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>y});var n=_(7398);const{isArray:f}=Array;function y(u){return(0,n.U)(v=>function D(u,v){return f(v)?u(...v):u(v)}(u,v))}},2420:(Me,ie,_)=>{"use strict";function n(){}_.d(ie,{Z:()=>n})},8407:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D,z:()=>f});var n=_(2737);function f(...y){return D(y)}function D(y){return 0===y.length?n.y:1===y.length?y[0]:function(v){return y.reduce((s,m)=>m(s),v)}}},3894:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(2653),f=_(7599);function D(y){f.z.setTimeout(()=>{const{onUnhandledError:u}=n.config;if(!u)throw y;u(y)})}},9853:(Me,ie,_)=>{"use strict";function n(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(ie,{z:()=>n})},1385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{audit:()=>n.U,auditTime:()=>f.e,buffer:()=>s,bufferCount:()=>h,bufferTime:()=>d,bufferToggle:()=>g,bufferWhen:()=>b,catchError:()=>C.K,combineAll:()=>R,combineLatest:()=>W,combineLatestAll:()=>F,combineLatestWith:()=>ne,concat:()=>B,concatAll:()=>ee.u,concatMap:()=>$.b,concatMapTo:()=>H,concatWith:()=>te,connect:()=>Ye,count:()=>Ze,debounce:()=>Et,debounceTime:()=>Te.b,defaultIfEmpty:()=>qe.d,delay:()=>Ee.g,delayWhen:()=>Ie.j,dematerialize:()=>Ke,distinct:()=>me,distinctUntilChanged:()=>Pe.x,distinctUntilKeyChanged:()=>Ne,elementAt:()=>cn,endWith:()=>an,every:()=>En,exhaust:()=>De,exhaustAll:()=>Ft,exhaustMap:()=>Bt,expand:()=>Xe,filter:()=>Ot.h,finalize:()=>St.x,find:()=>tt,findIndex:()=>Oe,first:()=>Ct.P,flatMap:()=>nt,groupBy:()=>Pt,ignoreElements:()=>Nt.l,isEmpty:()=>bt,last:()=>_e.Z,map:()=>un.U,mapTo:()=>ce.h,materialize:()=>z,max:()=>oe,merge:()=>at,mergeAll:()=>Se.J,mergeMap:()=>M.z,mergeMapTo:()=>mt,mergeScan:()=>He,mergeWith:()=>rt,min:()=>Lt,multicast:()=>tn,observeOn:()=>Nn.Q,onErrorResumeNext:()=>Hi,pairwise:()=>Yn,partition:()=>pn,pluck:()=>Ue,publish:()=>ot,publishBehavior:()=>qt,publishLast:()=>dt,publishReplay:()=>Ut,race:()=>Ht,raceWith:()=>vt,reduce:()=>I,refCount:()=>de.x,repeat:()=>ze,repeatWhen:()=>en,retry:()=>Y,retryWhen:()=>pe,sample:()=>Qe,sampleTime:()=>hn,scan:()=>On.R,sequenceEqual:()=>Bn,share:()=>Zn.B,shareReplay:()=>Ei.d,single:()=>Gi,skip:()=>fr.T,skipLast:()=>Tn,skipUntil:()=>Ki,skipWhile:()=>qn,startWith:()=>Pn.O,subscribeOn:()=>Qn.R,switchAll:()=>mr,switchMap:()=>Fi.w,switchMapTo:()=>er,switchScan:()=>_n,take:()=>jt.q,takeLast:()=>wn.h,takeUntil:()=>Fn.R,takeWhile:()=>Ln.o,tap:()=>Mi.b,throttle:()=>Vn,throttleTime:()=>Ui,throwIfEmpty:()=>Yt.T,timeInterval:()=>sr,timeout:()=>Gr.V,timeoutWith:()=>Lr,timestamp:()=>Cr,toArray:()=>A,window:()=>Zi,windowCount:()=>or,windowTime:()=>oi,windowToggle:()=>wr,windowWhen:()=>Fr,withLatestFrom:()=>ps,zip:()=>Tr,zipAll:()=>qr,zipWith:()=>Ur});var n=_(6301),f=_(8672),D=_(9360),y=_(2420),u=_(8251),v=_(4829);function s(Dt){return(0,D.e)((gt,Tt)=>{let It=[];return gt.subscribe((0,u.x)(Tt,$t=>It.push($t),()=>{Tt.next(It),Tt.complete()})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{const $t=It;It=[],Tt.next($t)},y.Z)),()=>{It=null}})}var m=_(9039);function h(Dt,gt=null){return gt=gt??Dt,(0,D.e)((Tt,It)=>{let $t=[],Gt=0;Tt.subscribe((0,u.x)(It,on=>{let vn=null;Gt++%gt==0&&$t.push([]);for(const bn of $t)bn.push(on),Dt<=bn.length&&(vn=vn??[],vn.push(bn));if(vn)for(const bn of vn)(0,m.P)($t,bn),It.next(bn)},()=>{for(const on of $t)It.next(on);It.complete()},void 0,()=>{$t=null}))})}var o=_(7394),l=_(6321),r=_(9940),c=_(7103);function d(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=ri=>{const{buffer:Kn,subs:li}=ri;li.unsubscribe(),(0,m.P)(An,ri),bn.next(Kn),Gn&&Ti()},Ti=()=>{if(An){const ri=new o.w0;bn.add(ri);const li={buffer:[],subs:ri};An.push(li),(0,c.f)(ri,$t,()=>ai(li),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=(0,u.x)(bn,ri=>{const Kn=An.slice();for(const li of Kn){const{buffer:ji}=li;ji.push(ri),on<=ji.length&&ai(li)}},()=>{for(;An?.length;)bn.next(An.shift().buffer);Vi?.unsubscribe(),bn.complete(),bn.unsubscribe()},void 0,()=>An=null);vn.subscribe(Vi)})}function g(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[];(0,v.Xf)(Dt).subscribe((0,u.x)(It,Gt=>{const on=[];$t.push(on);const vn=new o.w0;vn.add((0,v.Xf)(gt(Gt)).subscribe((0,u.x)(It,()=>{(0,m.P)($t,on),It.next(on),vn.unsubscribe()},y.Z)))},y.Z)),Tt.subscribe((0,u.x)(It,Gt=>{for(const on of $t)on.push(Gt)},()=>{for(;$t.length>0;)It.next($t.shift());It.complete()}))})}function b(Dt){return(0,D.e)((gt,Tt)=>{let It=null,$t=null;const Gt=()=>{$t?.unsubscribe();const on=It;It=[],on&&Tt.next(on),(0,v.Xf)(Dt()).subscribe($t=(0,u.x)(Tt,Gt,y.Z))};Gt(),gt.subscribe((0,u.x)(Tt,on=>It?.push(on),()=>{It&&Tt.next(It),Tt.complete()},void 0,()=>It=$t=null))})}var C=_(6306),x=_(2572),w=_(2737),T=_(7400),S=_(8407),M=_(9769),k=_(9732);function I(Dt,gt){return(0,D.e)((0,k.U)(Dt,gt,arguments.length>=2,!1,!0))}const P=(Dt,gt)=>(Dt.push(gt),Dt);function A(){return(0,D.e)((Dt,gt)=>{I(P,[])(Dt).subscribe(gt)})}function L(Dt,gt){return(0,S.z)(A(),(0,M.z)(Tt=>Dt(Tt)),gt?(0,T.Z)(gt):w.y)}function F(Dt){return L(x.a,Dt)}const R=F;var U=_(7728);function W(...Dt){const gt=(0,r.jO)(Dt);return gt?(0,S.z)(W(...Dt),(0,T.Z)(gt)):(0,D.e)((Tt,It)=>{(0,x.l)([Tt,...(0,U.k)(Dt)])(It)})}function ne(...Dt){return W(...Dt)}var ee=_(1948),j=_(2459);function B(...Dt){const gt=(0,r.yG)(Dt);return(0,D.e)((Tt,It)=>{(0,ee.u)()((0,j.D)([Tt,...Dt],gt)).subscribe(It)})}var $=_(6328),Z=_(4674);function H(Dt,gt){return(0,Z.m)(gt)?(0,$.b)(()=>Dt,gt):(0,$.b)(()=>Dt)}function te(...Dt){return B(...Dt)}var ue=_(8645),ye=_(5592);const $e={connector:()=>new ue.x};function Ye(Dt,gt=$e){const{connector:Tt}=gt;return(0,D.e)((It,$t)=>{const Gt=Tt();(0,v.Xf)(Dt(function Ge(Dt){return new ye.y(gt=>Dt.subscribe(gt))}(Gt))).subscribe($t),$t.add(It.subscribe(Gt))})}function Ze(Dt){return I((gt,Tt,It)=>!Dt||Dt(Tt,It)?gt+1:gt,0)}function Et(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null,Gt=null;const on=()=>{if(Gt?.unsubscribe(),Gt=null,It){It=!1;const vn=$t;$t=null,Tt.next(vn)}};gt.subscribe((0,u.x)(Tt,vn=>{Gt?.unsubscribe(),It=!0,$t=vn,Gt=(0,u.x)(Tt,on,y.Z),(0,v.Xf)(Dt(vn)).subscribe(Gt)},()=>{on(),Tt.complete()},void 0,()=>{$t=Gt=null}))})}var Te=_(3620),qe=_(3572),Ee=_(7547),Ie=_(4610),Ce=_(6232),ge=_(2096),Ae=_(8504);class Re{constructor(gt,Tt,It){this.kind=gt,this.value=Tt,this.error=It,this.hasValue="N"===gt}observe(gt){return ke(this,gt)}do(gt,Tt,It){const{kind:$t,value:Gt,error:on}=this;return"N"===$t?gt?.(Gt):"E"===$t?Tt?.(on):It?.()}accept(gt,Tt,It){var $t;return(0,Z.m)(null===($t=gt)||void 0===$t?void 0:$t.next)?this.observe(gt):this.do(gt,Tt,It)}toObservable(){const{kind:gt,value:Tt,error:It}=this,$t="N"===gt?(0,ge.of)(Tt):"E"===gt?(0,Ae._)(()=>It):"C"===gt?Ce.E:0;if(!$t)throw new TypeError(`Unexpected notification kind ${gt}`);return $t}static createNext(gt){return new Re("N",gt)}static createError(gt){return new Re("E",void 0,gt)}static createComplete(){return Re.completeNotification}}function ke(Dt,gt){var Tt,It,$t;const{kind:Gt,value:on,error:vn}=Dt;if("string"!=typeof Gt)throw new TypeError('Invalid notification, missing "kind"');"N"===Gt?null===(Tt=gt.next)||void 0===Tt||Tt.call(gt,on):"E"===Gt?null===(It=gt.error)||void 0===It||It.call(gt,vn):null===($t=gt.complete)||void 0===$t||$t.call(gt)}function Ke(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>ke(Tt,gt)))})}function me(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=new Set;Tt.subscribe((0,u.x)(It,Gt=>{const on=Dt?Dt(Gt):Gt;$t.has(on)||($t.add(on),It.next(Gt))})),gt&&(0,v.Xf)(gt).subscribe((0,u.x)(It,()=>$t.clear(),y.Z))})}Re.completeNotification=new Re("C");var Pe=_(3997);function Ne(Dt,gt){return(0,Pe.x)((Tt,It)=>gt?gt(Tt[Dt],It[Dt]):Tt[Dt]===It[Dt])}var Be=_(2306);const yt=(0,Be.d)(Dt=>function(){Dt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Ot=_(2181),Yt=_(3026),jt=_(8180);function cn(Dt,gt){if(Dt<0)throw new yt;const Tt=arguments.length>=2;return It=>It.pipe((0,Ot.h)(($t,Gt)=>Gt===Dt),(0,jt.q)(1),Tt?(0,qe.d)(gt):(0,Yt.T)(()=>new yt))}var fn=_(34);function an(...Dt){return gt=>(0,fn.z)(gt,(0,ge.of)(...Dt))}function En(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=0;Tt.subscribe((0,u.x)(It,Gt=>{Dt.call(gt,Gt,$t++,Tt)||(It.next(!1),It.complete())},()=>{It.next(!0),It.complete()}))})}var un=_(7398);function Bt(Dt,gt){return gt?Tt=>Tt.pipe(Bt((It,$t)=>(0,v.Xf)(Dt(It,$t)).pipe((0,un.U)((Gt,on)=>gt(It,Gt,$t,on))))):(0,D.e)((Tt,It)=>{let $t=0,Gt=null,on=!1;Tt.subscribe((0,u.x)(It,vn=>{Gt||(Gt=(0,u.x)(It,void 0,()=>{Gt=null,on&&It.complete()}),(0,v.Xf)(Dt(vn,$t++)).subscribe(Gt))},()=>{on=!0,!Gt&&It.complete()}))})}function Ft(){return Bt(w.y)}const De=Ft;var Ve=_(564);function Xe(Dt,gt=1/0,Tt){return gt=(gt||0)<1?1/0:gt,(0,D.e)((It,$t)=>(0,Ve.p)(It,$t,Dt,gt,void 0,!0,Tt))}var St=_(4716);function tt(Dt,gt){return(0,D.e)(ut(Dt,gt,"value"))}function ut(Dt,gt,Tt){const It="index"===Tt;return($t,Gt)=>{let on=0;$t.subscribe((0,u.x)(Gt,vn=>{const bn=on++;Dt.call(gt,vn,bn,$t)&&(Gt.next(It?bn:vn),Gt.complete())},()=>{Gt.next(It?-1:void 0),Gt.complete()}))}}function Oe(Dt,gt){return(0,D.e)(ut(Dt,gt,"index"))}var Ct=_(1374);function Pt(Dt,gt,Tt,It){return(0,D.e)(($t,Gt)=>{let on;gt&&"function"!=typeof gt?({duration:Tt,element:on,connector:It}=gt):on=gt;const vn=new Map,bn=ri=>{vn.forEach(ri),ri(Gt)},An=ri=>bn(Kn=>Kn.error(ri));let Gn=0,ai=!1;const Ti=new u.Q(Gt,ri=>{try{const Kn=Dt(ri);let li=vn.get(Kn);if(!li){vn.set(Kn,li=It?It():new ue.x);const ji=function Vi(ri,Kn){const li=new ye.y(ji=>{Gn++;const lr=Kn.subscribe(ji);return()=>{lr.unsubscribe(),0==--Gn&&ai&&Ti.unsubscribe()}});return li.key=ri,li}(Kn,li);if(Gt.next(ji),Tt){const lr=(0,u.x)(li,()=>{li.complete(),lr?.unsubscribe()},void 0,void 0,()=>vn.delete(Kn));Ti.add((0,v.Xf)(Tt(ji)).subscribe(lr))}}li.next(on?on(ri):ri)}catch(Kn){An(Kn)}},()=>bn(ri=>ri.complete()),An,()=>vn.clear(),()=>(ai=!0,0===Gn));$t.subscribe(Ti)})}var Nt=_(7538);function bt(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,()=>{gt.next(!1),gt.complete()},()=>{gt.next(!0),gt.complete()}))})}var _e=_(2032),ce=_(975);function z(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>{gt.next(Re.createNext(Tt))},()=>{gt.next(Re.createComplete()),gt.complete()},Tt=>{gt.next(Re.createError(Tt)),gt.complete()}))})}function oe(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)>0?gt:Tt:(gt,Tt)=>gt>Tt?gt:Tt)}var Se=_(7537);function at(...Dt){const gt=(0,r.yG)(Dt),Tt=(0,r._6)(Dt,1/0);return Dt=(0,U.k)(Dt),(0,D.e)((It,$t)=>{(0,Se.J)(Tt)((0,j.D)([It,...Dt],gt)).subscribe($t)})}const nt=M.z;function mt(Dt,gt,Tt=1/0){return(0,Z.m)(gt)?(0,M.z)(()=>Dt,gt,Tt):("number"==typeof gt&&(Tt=gt),(0,M.z)(()=>Dt,Tt))}function He(Dt,gt,Tt=1/0){return(0,D.e)((It,$t)=>{let Gt=gt;return(0,Ve.p)(It,$t,(on,vn)=>Dt(Gt,on,vn),Tt,on=>{Gt=on},!1,void 0,()=>Gt=null)})}function rt(...Dt){return at(...Dt)}function Lt(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)<0?gt:Tt:(gt,Tt)=>gtDt;return(0,Z.m)(gt)?Ye(gt,{connector:Tt}):It=>new Xt.c(It,Tt)}var Nn=_(3093);const Hi=function _i(...Dt){const gt=(0,U.k)(Dt);return Tt=>function ui(...Dt){const gt=(0,U.k)(Dt);return new ye.y(Tt=>{let It=0;const $t=()=>{if(It{let Tt,It=!1;Dt.subscribe((0,u.x)(gt,$t=>{const Gt=Tt;Tt=$t,It&>.next([Gt,$t]),It=!0}))})}function st(Dt,gt){return(Tt,It)=>!Dt.call(gt,Tt,It)}function pn(Dt,gt){return Tt=>[(0,Ot.h)(Dt,gt)(Tt),(0,Ot.h)(st(Dt,gt))(Tt)]}function Ue(...Dt){const gt=Dt.length;if(0===gt)throw new Error("list of properties cannot be empty.");return(0,un.U)(Tt=>{let It=Tt;for(let $t=0;$tYe(Dt)(gt):gt=>tn(new ue.x)(gt)}var At=_(5619);function qt(Dt){return gt=>{const Tt=new At.X(Dt);return new Xt.c(gt,()=>Tt)}}class it extends ue.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(gt){const{hasError:Tt,_hasValue:It,_value:$t,thrownError:Gt,isStopped:on,_isComplete:vn}=this;Tt?gt.error(Gt):(on||vn)&&(It&>.next($t),gt.complete())}next(gt){this.isStopped||(this._value=gt,this._hasValue=!0)}complete(){const{_hasValue:gt,_value:Tt,_isComplete:It}=this;It||(this._isComplete=!0,gt&&super.next(Tt),super.complete())}}function dt(){return Dt=>{const gt=new it;return new Xt.c(Dt,()=>gt)}}var ct=_(7328);function Ut(Dt,gt,Tt,It){Tt&&!(0,Z.m)(Tt)&&(It=Tt);const $t=(0,Z.m)(Tt)?Tt:void 0;return Gt=>tn(new ct.t(Dt,gt,It),$t)(Gt)}var wt=_(3684);function vt(...Dt){return Dt.length?(0,D.e)((gt,Tt)=>{(0,wt.R)([gt,...Dt])(Tt)}):w.y}function Ht(...Dt){return vt(...(0,U.k)(Dt))}var dn=_(9080);function ze(Dt){let Tt,gt=1/0;return null!=Dt&&("object"==typeof Dt?({count:gt=1/0,delay:Tt}=Dt):gt=Dt),gt<=0?()=>Ce.E:(0,D.e)((It,$t)=>{let on,Gt=0;const vn=()=>{if(on?.unsubscribe(),on=null,null!=Tt){const An="number"==typeof Tt?(0,dn.H)(Tt):(0,v.Xf)(Tt(Gt)),Gn=(0,u.x)($t,()=>{Gn.unsubscribe(),bn()});An.subscribe(Gn)}else bn()},bn=()=>{let An=!1;on=It.subscribe((0,u.x)($t,void 0,()=>{++Gt{let It,Gt,$t=!1,on=!1,vn=!1;const bn=()=>vn&&on&&(Tt.complete(),!0),Gn=()=>{vn=!1,It=gt.subscribe((0,u.x)(Tt,void 0,()=>{vn=!0,!bn()&&(Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>{It?Gn():$t=!0},()=>{on=!0,bn()}))),Gt).next()})),$t&&(It.unsubscribe(),It=null,$t=!1,Gn())};Gn()})}function Y(Dt=1/0){let gt;gt=Dt&&"object"==typeof Dt?Dt:{count:Dt};const{count:Tt=1/0,delay:It,resetOnSuccess:$t=!1}=gt;return Tt<=0?w.y:(0,D.e)((Gt,on)=>{let bn,vn=0;const An=()=>{let Gn=!1;bn=Gt.subscribe((0,u.x)(on,ai=>{$t&&(vn=0),on.next(ai)},void 0,ai=>{if(vn++{bn?(bn.unsubscribe(),bn=null,An()):Gn=!0};if(null!=It){const Vi="number"==typeof It?(0,dn.H)(It):(0,v.Xf)(It(ai,vn)),ri=(0,u.x)(on,()=>{ri.unsubscribe(),Ti()},()=>{on.complete()});Vi.subscribe(ri)}else Ti()}else on.error(ai)})),Gn&&(bn.unsubscribe(),bn=null,An())};An()})}function pe(Dt){return(0,D.e)((gt,Tt)=>{let It,Gt,$t=!1;const on=()=>{It=gt.subscribe((0,u.x)(Tt,void 0,void 0,vn=>{Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>It?on():$t=!0))),Gt&&Gt.next(vn)})),$t&&(It.unsubscribe(),It=null,$t=!1,on())};on()})}var de=_(6196);function Qe(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null;gt.subscribe((0,u.x)(Tt,Gt=>{It=!0,$t=Gt})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{if(It){It=!1;const Gt=$t;$t=null,Tt.next(Gt)}},y.Z))})}function hn(Dt,gt=l.z){return Qe(function _t(Dt=0,gt=l.z){return Dt<0&&(Dt=0),(0,dn.H)(Dt,Dt,gt)}(Dt,gt))}var On=_(6424);function Bn(Dt,gt=((Tt,It)=>Tt===It)){return(0,D.e)((Tt,It)=>{const $t={buffer:[],complete:!1},Gt={buffer:[],complete:!1},on=bn=>{It.next(bn),It.complete()},vn=(bn,An)=>{const Gn=(0,u.x)(It,ai=>{const{buffer:Ti,complete:Vi}=An;0===Ti.length?Vi?on(!1):bn.buffer.push(ai):!gt(ai,Ti.shift())&&on(!1)},()=>{bn.complete=!0;const{complete:ai,buffer:Ti}=An;ai&&on(0===Ti.length),Gn?.unsubscribe()});return Gn};Tt.subscribe(vn($t,Gt)),(0,v.Xf)(Dt).subscribe(vn(Gt,$t))})}var Zn=_(3020),Ei=_(7081),qi=_(6973);const ki=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="SequenceError",this.message=Tt}),zi=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="NotFoundError",this.message=Tt});function Gi(Dt){return(0,D.e)((gt,Tt)=>{let $t,It=!1,Gt=!1,on=0;gt.subscribe((0,u.x)(Tt,vn=>{Gt=!0,(!Dt||Dt(vn,on++,gt))&&(It&&Tt.error(new ki("Too many matching values")),It=!0,$t=vn)},()=>{It?(Tt.next($t),Tt.complete()):Tt.error(Gt?new zi("No matching values"):new qi.K)}))})}var fr=_(836);function Tn(Dt){return Dt<=0?w.y:(0,D.e)((gt,Tt)=>{let It=new Array(Dt),$t=0;return gt.subscribe((0,u.x)(Tt,Gt=>{const on=$t++;if(on{It=null}})}function Ki(Dt){return(0,D.e)((gt,Tt)=>{let It=!1;const $t=(0,u.x)(Tt,()=>{$t?.unsubscribe(),It=!0},y.Z);(0,v.Xf)(Dt).subscribe($t),gt.subscribe((0,u.x)(Tt,Gt=>It&&Tt.next(Gt)))})}function qn(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=0;gt.subscribe((0,u.x)(Tt,Gt=>(It||(It=!Dt(Gt,$t++)))&&Tt.next(Gt)))})}var Pn=_(7921),Qn=_(5137),Fi=_(4664);function mr(){return(0,Fi.w)(w.y)}function er(Dt,gt){return(0,Z.m)(gt)?(0,Fi.w)(()=>Dt,gt):(0,Fi.w)(()=>Dt)}function _n(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=gt;return(0,Fi.w)((Gt,on)=>Dt($t,Gt,on),(Gt,on)=>($t=on,on))(Tt).subscribe(It),()=>{$t=null}})}var wn=_(4418),Fn=_(9773),Ln=_(812),Mi=_(9397);function Vn(Dt,gt){return(0,D.e)((Tt,It)=>{const{leading:$t=!0,trailing:Gt=!1}=gt??{};let on=!1,vn=null,bn=null,An=!1;const Gn=()=>{bn?.unsubscribe(),bn=null,Gt&&(Vi(),An&&It.complete())},ai=()=>{bn=null,An&&It.complete()},Ti=ri=>bn=(0,v.Xf)(Dt(ri)).subscribe((0,u.x)(It,Gn,ai)),Vi=()=>{if(on){on=!1;const ri=vn;vn=null,It.next(ri),!An&&Ti(ri)}};Tt.subscribe((0,u.x)(It,ri=>{on=!0,vn=ri,(!bn||bn.closed)&&($t?Vi():Ti(ri))},()=>{An=!0,(!(Gt&&on&&bn)||bn.closed)&&It.complete()}))})}function Ui(Dt,gt=l.z,Tt){const It=(0,dn.H)(Dt,gt);return Vn(()=>It,Tt)}function sr(Dt=l.z){return(0,D.e)((gt,Tt)=>{let It=Dt.now();gt.subscribe((0,u.x)(Tt,$t=>{const Gt=Dt.now(),on=Gt-It;It=Gt,Tt.next(new pr($t,on))}))})}class pr{constructor(gt,Tt){this.value=gt,this.interval=Tt}}var Gr=_(5178),Sr=_(93);function Lr(Dt,gt,Tt){let It,$t,Gt;if(Tt=Tt??l.P,(0,Sr.q)(Dt)?It=Dt:"number"==typeof Dt&&($t=Dt),!gt)throw new TypeError("No observable provided to switch to");if(Gt=()=>gt,null==It&&null==$t)throw new TypeError("No timeout provided.");return(0,Gr.V)({first:It,each:$t,scheduler:Tt,with:Gt})}var tr=_(4552);function Cr(Dt=tr.l){return(0,un.U)(gt=>({value:gt,timestamp:Dt.now()}))}function Zi(Dt){return(0,D.e)((gt,Tt)=>{let It=new ue.x;Tt.next(It.asObservable());const $t=Gt=>{It.error(Gt),Tt.error(Gt)};return gt.subscribe((0,u.x)(Tt,Gt=>It?.next(Gt),()=>{It.complete(),Tt.complete()},$t)),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{It.complete(),Tt.next(It=new ue.x)},y.Z,$t)),()=>{It?.unsubscribe(),It=null}})}function or(Dt,gt=0){const Tt=gt>0?gt:Dt;return(0,D.e)((It,$t)=>{let Gt=[new ue.x],on=[],vn=0;$t.next(Gt[0].asObservable()),It.subscribe((0,u.x)($t,bn=>{for(const Gn of Gt)Gn.next(bn);const An=vn-Dt+1;if(An>=0&&An%Tt==0&&Gt.shift().complete(),++vn%Tt==0){const Gn=new ue.x;Gt.push(Gn),$t.next(Gn.asObservable())}},()=>{for(;Gt.length>0;)Gt.shift().complete();$t.complete()},bn=>{for(;Gt.length>0;)Gt.shift().error(bn);$t.error(bn)},()=>{on=null,Gt=null}))})}function oi(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=Kn=>{const{window:li,subs:ji}=Kn;li.complete(),ji.unsubscribe(),(0,m.P)(An,Kn),Gn&&Ti()},Ti=()=>{if(An){const Kn=new o.w0;bn.add(Kn);const li=new ue.x,ji={window:li,subs:Kn,seen:0};An.push(ji),bn.next(li.asObservable()),(0,c.f)(Kn,$t,()=>ai(ji),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=Kn=>An.slice().forEach(Kn),ri=Kn=>{Vi(({window:li})=>Kn(li)),Kn(bn),bn.unsubscribe()};return vn.subscribe((0,u.x)(bn,Kn=>{Vi(li=>{li.window.next(Kn),on<=++li.seen&&ai(li)})},()=>ri(Kn=>Kn.complete()),Kn=>ri(li=>li.error(Kn)))),()=>{An=null}})}function wr(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[],Gt=on=>{for(;0<$t.length;)$t.shift().error(on);It.error(on)};(0,v.Xf)(Dt).subscribe((0,u.x)(It,on=>{const vn=new ue.x;$t.push(vn);const bn=new o.w0;let Gn;try{Gn=(0,v.Xf)(gt(on))}catch(ai){return void Gt(ai)}It.next(vn.asObservable()),bn.add(Gn.subscribe((0,u.x)(It,()=>{(0,m.P)($t,vn),vn.complete(),bn.unsubscribe()},y.Z,Gt)))},y.Z)),Tt.subscribe((0,u.x)(It,on=>{const vn=$t.slice();for(const bn of vn)bn.next(on)},()=>{for(;0<$t.length;)$t.shift().complete();It.complete()},Gt,()=>{for(;0<$t.length;)$t.shift().unsubscribe()}))})}function Fr(Dt){return(0,D.e)((gt,Tt)=>{let It,$t;const Gt=vn=>{It.error(vn),Tt.error(vn)},on=()=>{let vn;$t?.unsubscribe(),It?.complete(),It=new ue.x,Tt.next(It.asObservable());try{vn=(0,v.Xf)(Dt())}catch(bn){return void Gt(bn)}vn.subscribe($t=(0,u.x)(Tt,on,on,Gt))};on(),gt.subscribe((0,u.x)(Tt,vn=>It.next(vn),()=>{It.complete(),Tt.complete()},Gt,()=>{$t?.unsubscribe(),It=null}))})}function ps(...Dt){const gt=(0,r.jO)(Dt);return(0,D.e)((Tt,It)=>{const $t=Dt.length,Gt=new Array($t);let on=Dt.map(()=>!1),vn=!1;for(let bn=0;bn<$t;bn++)(0,v.Xf)(Dt[bn]).subscribe((0,u.x)(It,An=>{Gt[bn]=An,!vn&&!on[bn]&&(on[bn]=!0,(vn=on.every(w.y))&&(on=null))},y.Z));Tt.subscribe((0,u.x)(It,bn=>{if(vn){const An=[bn,...Gt];It.next(gt?gt(...An):An)}}))})}var Jr=_(9278);function Tr(...Dt){return(0,D.e)((gt,Tt)=>{(0,Jr.$)(gt,...Dt).subscribe(Tt)})}function qr(Dt){return L(Jr.$,Dt)}function Ur(...Dt){return Tr(...Dt)}},6144:Me=>{"use strict";Me.exports=(ie,_)=>{if("string"!=typeof ie||"string"!=typeof _)throw new TypeError("Expected the arguments to be of type `string`");if(""===_)return[ie];const n=ie.indexOf(_);return-1===n?[ie]:[ie.slice(0,n),ie.slice(n+_.length)]}},8385:Me=>{"use strict";Me.exports=ie=>encodeURIComponent(ie).replace(/[!'()*]/g,_=>`%${_.charCodeAt(0).toString(16).toUpperCase()}`)},655:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{__addDisposableResource:()=>ne,__assign:()=>D,__asyncDelegator:()=>k,__asyncGenerator:()=>M,__asyncValues:()=>I,__await:()=>S,__awaiter:()=>r,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>U,__createBinding:()=>d,__decorate:()=>u,__disposeResources:()=>j,__esDecorate:()=>s,__exportStar:()=>g,__extends:()=>f,__generator:()=>c,__importDefault:()=>F,__importStar:()=>L,__makeTemplateObject:()=>P,__metadata:()=>l,__param:()=>v,__propKey:()=>h,__read:()=>C,__rest:()=>y,__runInitializers:()=>m,__setFunctionName:()=>o,__spread:()=>x,__spreadArray:()=>T,__spreadArrays:()=>w,__values:()=>b,default:()=>B});var n=function($,Z){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,te){H.__proto__=te}||function(H,te){for(var ue in te)Object.prototype.hasOwnProperty.call(te,ue)&&(H[ue]=te[ue])})($,Z)};function f($,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function H(){this.constructor=$}n($,Z),$.prototype=null===Z?Object.create(Z):(H.prototype=Z.prototype,new H)}var D=function(){return D=Object.assign||function(Z){for(var H,te=1,ue=arguments.length;te=0;$e--)(Ge=$[$e])&&(ye=(ue<3?Ge(ye):ue>3?Ge(Z,H,ye):Ge(Z,H))||ye);return ue>3&&ye&&Object.defineProperty(Z,H,ye),ye}function v($,Z){return function(H,te){Z(H,te,$)}}function s($,Z,H,te,ue,ye){function Ge(Ae){if(void 0!==Ae&&"function"!=typeof Ae)throw new TypeError("Function expected");return Ae}for(var Te,$e=te.kind,Ye="getter"===$e?"get":"setter"===$e?"set":"value",Ze=!Z&&$?te.static?$:$.prototype:null,Et=Z||(Ze?Object.getOwnPropertyDescriptor(Ze,te.name):{}),qe=!1,Ee=H.length-1;Ee>=0;Ee--){var Ie={};for(var Ce in te)Ie[Ce]="access"===Ce?{}:te[Ce];for(var Ce in te.access)Ie.access[Ce]=te.access[Ce];Ie.addInitializer=function(Ae){if(qe)throw new TypeError("Cannot add initializers after decoration has completed");ye.push(Ge(Ae||null))};var ge=(0,H[Ee])("accessor"===$e?{get:Et.get,set:Et.set}:Et[Ye],Ie);if("accessor"===$e){if(void 0===ge)continue;if(null===ge||"object"!=typeof ge)throw new TypeError("Object expected");(Te=Ge(ge.get))&&(Et.get=Te),(Te=Ge(ge.set))&&(Et.set=Te),(Te=Ge(ge.init))&&ue.unshift(Te)}else(Te=Ge(ge))&&("field"===$e?ue.unshift(Te):Et[Ye]=Te)}Ze&&Object.defineProperty(Ze,te.name,Et),qe=!0}function m($,Z,H){for(var te=arguments.length>2,ue=0;ue0&&ye[ye.length-1])&&(6===Ze[0]||2===Ze[0])){H=0;continue}if(3===Ze[0]&&(!ye||Ze[1]>ye[0]&&Ze[1]=$.length&&($=void 0),{value:$&&$[te++],done:!$}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")}function C($,Z){var H="function"==typeof Symbol&&$[Symbol.iterator];if(!H)return $;var ue,Ge,te=H.call($),ye=[];try{for(;(void 0===Z||Z-- >0)&&!(ue=te.next()).done;)ye.push(ue.value)}catch($e){Ge={error:$e}}finally{try{ue&&!ue.done&&(H=te.return)&&H.call(te)}finally{if(Ge)throw Ge.error}}return ye}function x(){for(var $=[],Z=0;Z1||$e(qe,Ee)})})}function $e(qe,Ee){try{!function Ye(qe){qe.value instanceof S?Promise.resolve(qe.value.v).then(Ze,Et):Te(ye[0][2],qe)}(te[qe](Ee))}catch(Ie){Te(ye[0][3],Ie)}}function Ze(qe){$e("next",qe)}function Et(qe){$e("throw",qe)}function Te(qe,Ee){qe(Ee),ye.shift(),ye.length&&$e(ye[0][0],ye[0][1])}}function k($){var Z,H;return Z={},te("next"),te("throw",function(ue){throw ue}),te("return"),Z[Symbol.iterator]=function(){return this},Z;function te(ue,ye){Z[ue]=$[ue]?function(Ge){return(H=!H)?{value:S($[ue](Ge)),done:!1}:ye?ye(Ge):Ge}:ye}}function I($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,Z=$[Symbol.asyncIterator];return Z?Z.call($):($=b($),H={},te("next"),te("throw"),te("return"),H[Symbol.asyncIterator]=function(){return this},H);function te(ye){H[ye]=$[ye]&&function(Ge){return new Promise(function($e,Ye){!function ue(ye,Ge,$e,Ye){Promise.resolve(Ye).then(function(Ze){ye({value:Ze,done:$e})},Ge)}($e,Ye,(Ge=$[ye](Ge)).done,Ge.value)})}}}function P($,Z){return Object.defineProperty?Object.defineProperty($,"raw",{value:Z}):$.raw=Z,$}var A=Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z};function L($){if($&&$.__esModule)return $;var Z={};if(null!=$)for(var H in $)"default"!==H&&Object.prototype.hasOwnProperty.call($,H)&&d(Z,$,H);return A(Z,$),Z}function F($){return $&&$.__esModule?$:{default:$}}function R($,Z,H,te){if("a"===H&&!te)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Z?$!==Z||!te:!Z.has($))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===H?te:"a"===H?te.call($):te?te.value:Z.get($)}function U($,Z,H,te,ue){if("m"===te)throw new TypeError("Private method is not writable");if("a"===te&&!ue)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Z?$!==Z||!ue:!Z.has($))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===te?ue.call($,H):ue?ue.value=H:Z.set($,H),H}function W($,Z){if(null===Z||"object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof $?Z===$:$.has(Z)}function ne($,Z,H){if(null!=Z){if("object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Object expected.");var te;if(H){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");te=Z[Symbol.asyncDispose]}if(void 0===te){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");te=Z[Symbol.dispose]}if("function"!=typeof te)throw new TypeError("Object not disposable.");$.stack.push({value:Z,dispose:te,async:H})}else H&&$.stack.push({async:!0});return Z}var ee="function"==typeof SuppressedError?SuppressedError:function($,Z,H){var te=new Error(H);return te.name="SuppressedError",te.error=$,te.suppressed=Z,te};function j($){function Z(te){$.error=$.hasError?new ee(te,$.error,"An error was suppressed during disposal."):te,$.hasError=!0}return function H(){for(;$.stack.length;){var te=$.stack.pop();try{var ue=te.dispose&&te.dispose.call(te.value);if(te.async)return Promise.resolve(ue).then(H,function(ye){return Z(ye),H()})}catch(ye){Z(ye)}}if($.hasError)throw $.error}()}const B={__extends:f,__assign:D,__rest:y,__decorate:u,__param:v,__metadata:l,__awaiter:r,__generator:c,__createBinding:d,__exportStar:g,__values:b,__read:C,__spread:x,__spreadArrays:w,__spreadArray:T,__await:S,__asyncGenerator:M,__asyncDelegator:k,__asyncValues:I,__makeTemplateObject:P,__importStar:L,__importDefault:F,__classPrivateFieldGet:R,__classPrivateFieldSet:U,__classPrivateFieldIn:W,__addDisposableResource:ne,__disposeResources:j}},6548:Me=>{function ie(Oe){return Oe instanceof Map?Oe.clear=Oe.delete=Oe.set=function(){throw new Error("map is read-only")}:Oe instanceof Set&&(Oe.add=Oe.clear=Oe.delete=function(){throw new Error("set is read-only")}),Object.freeze(Oe),Object.getOwnPropertyNames(Oe).forEach(Ct=>{const Pt=Oe[Ct],Nt=typeof Pt;("object"===Nt||"function"===Nt)&&!Object.isFrozen(Pt)&&ie(Pt)}),Oe}class _{constructor(Ct){void 0===Ct.data&&(Ct.data={}),this.data=Ct.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Oe){return Oe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function f(Oe,...Ct){const Pt=Object.create(null);for(const Nt in Oe)Pt[Nt]=Oe[Nt];return Ct.forEach(function(Nt){for(const bt in Nt)Pt[bt]=Nt[bt]}),Pt}const y=Oe=>!!Oe.scope;class v{constructor(Ct,Pt){this.buffer="",this.classPrefix=Pt.classPrefix,Ct.walk(this)}addText(Ct){this.buffer+=n(Ct)}openNode(Ct){if(!y(Ct))return;const Pt=((Oe,{prefix:Ct})=>{if(Oe.startsWith("language:"))return Oe.replace("language:","language-");if(Oe.includes(".")){const Pt=Oe.split(".");return[`${Ct}${Pt.shift()}`,...Pt.map((Nt,bt)=>`${Nt}${"_".repeat(bt+1)}`)].join(" ")}return`${Ct}${Oe}`})(Ct.scope,{prefix:this.classPrefix});this.span(Pt)}closeNode(Ct){y(Ct)&&(this.buffer+="")}value(){return this.buffer}span(Ct){this.buffer+=``}}const s=(Oe={})=>{const Ct={children:[]};return Object.assign(Ct,Oe),Ct};class m{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ct){this.top.children.push(Ct)}openNode(Ct){const Pt=s({scope:Ct});this.add(Pt),this.stack.push(Pt)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ct){return this.constructor._walk(Ct,this.rootNode)}static _walk(Ct,Pt){return"string"==typeof Pt?Ct.addText(Pt):Pt.children&&(Ct.openNode(Pt),Pt.children.forEach(Nt=>this._walk(Ct,Nt)),Ct.closeNode(Pt)),Ct}static _collapse(Ct){"string"!=typeof Ct&&Ct.children&&(Ct.children.every(Pt=>"string"==typeof Pt)?Ct.children=[Ct.children.join("")]:Ct.children.forEach(Pt=>{m._collapse(Pt)}))}}class h extends m{constructor(Ct){super(),this.options=Ct}addText(Ct){""!==Ct&&this.add(Ct)}startScope(Ct){this.openNode(Ct)}endScope(){this.closeNode()}__addSublanguage(Ct,Pt){const Nt=Ct.root;Pt&&(Nt.scope=`language:${Pt}`),this.add(Nt)}toHTML(){return new v(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function o(Oe){return Oe?"string"==typeof Oe?Oe:Oe.source:null}function l(Oe){return d("(?=",Oe,")")}function r(Oe){return d("(?:",Oe,")*")}function c(Oe){return d("(?:",Oe,")?")}function d(...Oe){return Oe.map(Pt=>o(Pt)).join("")}function b(...Oe){return"("+(function g(Oe){const Ct=Oe[Oe.length-1];return"object"==typeof Ct&&Ct.constructor===Object?(Oe.splice(Oe.length-1,1),Ct):{}}(Oe).capture?"":"?:")+Oe.map(Nt=>o(Nt)).join("|")+")"}function C(Oe){return new RegExp(Oe.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function T(Oe,{joinWith:Ct}){let Pt=0;return Oe.map(Nt=>{Pt+=1;const bt=Pt;let _e=o(Nt),ce="";for(;_e.length>0;){const z=w.exec(_e);if(!z){ce+=_e;break}ce+=_e.substring(0,z.index),_e=_e.substring(z.index+z[0].length),"\\"===z[0][0]&&z[1]?ce+="\\"+String(Number(z[1])+bt):(ce+=z[0],"("===z[0]&&Pt++)}return ce}).map(Nt=>`(${Nt})`).join(Ct)}const M="[a-zA-Z]\\w*",k="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A="\\b(0b[01]+)",R={begin:"\\\\[\\s\\S]",relevance:0},U={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[R]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[R]},ee=function(Oe,Ct,Pt={}){const Nt=f({scope:"comment",begin:Oe,end:Ct,contains:[]},Pt);Nt.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const bt=b("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Nt.contains.push({begin:d(/[ ]+/,"(",bt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Nt},j=ee("//","$"),B=ee("/\\*","\\*/"),$=ee("#","$");var Ze=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:R,BINARY_NUMBER_MODE:{scope:"number",begin:A,relevance:0},BINARY_NUMBER_RE:A,COMMENT:ee,C_BLOCK_COMMENT_MODE:B,C_LINE_COMMENT_MODE:j,C_NUMBER_MODE:{scope:"number",begin:P,relevance:0},C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(Oe){return Object.assign(Oe,{"on:begin":(Ct,Pt)=>{Pt.data._beginMatch=Ct[1]},"on:end":(Ct,Pt)=>{Pt.data._beginMatch!==Ct[1]&&Pt.ignoreMatch()}})},HASH_COMMENT_MODE:$,IDENT_RE:M,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+k,relevance:0},NUMBER_MODE:{scope:"number",begin:I,relevance:0},NUMBER_RE:I,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:W,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[R,{begin:/\[/,end:/\]/,relevance:0,contains:[R]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Oe={})=>{const Ct=/^#![ ]*\//;return Oe.binary&&(Oe.begin=d(Ct,/.*\b/,Oe.binary,/\b.*/)),f({scope:"meta",begin:Ct,end:/$/,relevance:0,"on:begin":(Pt,Nt)=>{0!==Pt.index&&Nt.ignoreMatch()}},Oe)},TITLE_MODE:{scope:"title",begin:M,relevance:0},UNDERSCORE_IDENT_RE:k,UNDERSCORE_TITLE_MODE:{scope:"title",begin:k,relevance:0}});function Et(Oe,Ct){"."===Oe.input[Oe.index-1]&&Ct.ignoreMatch()}function Te(Oe,Ct){void 0!==Oe.className&&(Oe.scope=Oe.className,delete Oe.className)}function qe(Oe,Ct){Ct&&Oe.beginKeywords&&(Oe.begin="\\b("+Oe.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Oe.__beforeBegin=Et,Oe.keywords=Oe.keywords||Oe.beginKeywords,delete Oe.beginKeywords,void 0===Oe.relevance&&(Oe.relevance=0))}function Ee(Oe,Ct){Array.isArray(Oe.illegal)&&(Oe.illegal=b(...Oe.illegal))}function Ie(Oe,Ct){if(Oe.match){if(Oe.begin||Oe.end)throw new Error("begin & end are not supported with match");Oe.begin=Oe.match,delete Oe.match}}function Ce(Oe,Ct){void 0===Oe.relevance&&(Oe.relevance=1)}const ge=(Oe,Ct)=>{if(!Oe.beforeMatch)return;if(Oe.starts)throw new Error("beforeMatch cannot be used with starts");const Pt=Object.assign({},Oe);Object.keys(Oe).forEach(Nt=>{delete Oe[Nt]}),Oe.keywords=Pt.keywords,Oe.begin=d(Pt.beforeMatch,l(Pt.begin)),Oe.starts={relevance:0,contains:[Object.assign(Pt,{endsParent:!0})]},Oe.relevance=0,delete Pt.beforeMatch},Ae=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function Re(Oe,Ct,Pt=q){const Nt=Object.create(null);return"string"==typeof Oe?bt(Pt,Oe.split(" ")):Array.isArray(Oe)?bt(Pt,Oe):Object.keys(Oe).forEach(function(_e){Object.assign(Nt,Re(Oe[_e],Ct,_e))}),Nt;function bt(_e,ce){Ct&&(ce=ce.map(z=>z.toLowerCase())),ce.forEach(function(z){const oe=z.split("|");Nt[oe[0]]=[_e,ke(oe[0],oe[1])]})}}function ke(Oe,Ct){return Ct?Number(Ct):function Ke(Oe){return Ae.includes(Oe.toLowerCase())}(Oe)?0:1}const me={},Pe=Oe=>{console.error(Oe)},Ne=(Oe,...Ct)=>{console.log(`WARN: ${Oe}`,...Ct)},Be=(Oe,Ct)=>{me[`${Oe}/${Ct}`]||(console.log(`Deprecated as of ${Oe}. ${Ct}`),me[`${Oe}/${Ct}`]=!0)},yt=new Error;function Ot(Oe,Ct,{key:Pt}){let Nt=0;const bt=Oe[Pt],_e={},ce={};for(let z=1;z<=Ct.length;z++)ce[z+Nt]=bt[z],_e[z+Nt]=!0,Nt+=C(Ct[z-1]);Oe[Pt]=ce,Oe[Pt]._emit=_e,Oe[Pt]._multi=!0}function fn(Oe){(function cn(Oe){Oe.scope&&"object"==typeof Oe.scope&&null!==Oe.scope&&(Oe.beginScope=Oe.scope,delete Oe.scope)})(Oe),"string"==typeof Oe.beginScope&&(Oe.beginScope={_wrap:Oe.beginScope}),"string"==typeof Oe.endScope&&(Oe.endScope={_wrap:Oe.endScope}),function Yt(Oe){if(Array.isArray(Oe.begin)){if(Oe.skip||Oe.excludeBegin||Oe.returnBegin)throw Pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yt;if("object"!=typeof Oe.beginScope||null===Oe.beginScope)throw Pe("beginScope must be object"),yt;Ot(Oe,Oe.begin,{key:"beginScope"}),Oe.begin=T(Oe.begin,{joinWith:""})}}(Oe),function jt(Oe){if(Array.isArray(Oe.end)){if(Oe.skip||Oe.excludeEnd||Oe.returnEnd)throw Pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yt;if("object"!=typeof Oe.endScope||null===Oe.endScope)throw Pe("endScope must be object"),yt;Ot(Oe,Oe.end,{key:"endScope"}),Oe.end=T(Oe.end,{joinWith:""})}}(Oe)}function an(Oe){function Ct(ce,z){return new RegExp(o(ce),"m"+(Oe.case_insensitive?"i":"")+(Oe.unicodeRegex?"u":"")+(z?"g":""))}class Pt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(z,oe){oe.position=this.position++,this.matchIndexes[this.matchAt]=oe,this.regexes.push([oe,z]),this.matchAt+=C(z)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const z=this.regexes.map(oe=>oe[1]);this.matcherRe=Ct(T(z,{joinWith:"|"}),!0),this.lastIndex=0}exec(z){this.matcherRe.lastIndex=this.lastIndex;const oe=this.matcherRe.exec(z);if(!oe)return null;const Se=oe.findIndex((nt,mt)=>mt>0&&void 0!==nt),at=this.matchIndexes[Se];return oe.splice(0,Se),Object.assign(oe,at)}}class Nt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(z){if(this.multiRegexes[z])return this.multiRegexes[z];const oe=new Pt;return this.rules.slice(z).forEach(([Se,at])=>oe.addRule(Se,at)),oe.compile(),this.multiRegexes[z]=oe,oe}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(z,oe){this.rules.push([z,oe]),"begin"===oe.type&&this.count++}exec(z){const oe=this.getMatcher(this.regexIndex);oe.lastIndex=this.lastIndex;let Se=oe.exec(z);if(this.resumingScanAtSamePosition()&&(!Se||Se.index!==this.lastIndex)){const at=this.getMatcher(0);at.lastIndex=this.lastIndex+1,Se=at.exec(z)}return Se&&(this.regexIndex+=Se.position+1,this.regexIndex===this.count&&this.considerAll()),Se}}if(Oe.compilerExtensions||(Oe.compilerExtensions=[]),Oe.contains&&Oe.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Oe.classNameAliases=f(Oe.classNameAliases||{}),function _e(ce,z){const oe=ce;if(ce.isCompiled)return oe;[Te,Ie,fn,ge].forEach(at=>at(ce,z)),Oe.compilerExtensions.forEach(at=>at(ce,z)),ce.__beforeBegin=null,[qe,Ee,Ce].forEach(at=>at(ce,z)),ce.isCompiled=!0;let Se=null;return"object"==typeof ce.keywords&&ce.keywords.$pattern&&(ce.keywords=Object.assign({},ce.keywords),Se=ce.keywords.$pattern,delete ce.keywords.$pattern),Se=Se||/\w+/,ce.keywords&&(ce.keywords=Re(ce.keywords,Oe.case_insensitive)),oe.keywordPatternRe=Ct(Se,!0),z&&(ce.begin||(ce.begin=/\B|\b/),oe.beginRe=Ct(oe.begin),!ce.end&&!ce.endsWithParent&&(ce.end=/\B|\b/),ce.end&&(oe.endRe=Ct(oe.end)),oe.terminatorEnd=o(oe.end)||"",ce.endsWithParent&&z.terminatorEnd&&(oe.terminatorEnd+=(ce.end?"|":"")+z.terminatorEnd)),ce.illegal&&(oe.illegalRe=Ct(ce.illegal)),ce.contains||(ce.contains=[]),ce.contains=[].concat(...ce.contains.map(function(at){return function un(Oe){return Oe.variants&&!Oe.cachedVariants&&(Oe.cachedVariants=Oe.variants.map(function(Ct){return f(Oe,{variants:null},Ct)})),Oe.cachedVariants?Oe.cachedVariants:En(Oe)?f(Oe,{starts:Oe.starts?f(Oe.starts):null}):Object.isFrozen(Oe)?f(Oe):Oe}("self"===at?ce:at)})),ce.contains.forEach(function(at){_e(at,oe)}),ce.starts&&_e(ce.starts,z),oe.matcher=function bt(ce){const z=new Nt;return ce.contains.forEach(oe=>z.addRule(oe.begin,{rule:oe,type:"begin"})),ce.terminatorEnd&&z.addRule(ce.terminatorEnd,{type:"end"}),ce.illegal&&z.addRule(ce.illegal,{type:"illegal"}),z}(oe),oe}(Oe)}function En(Oe){return!!Oe&&(Oe.endsWithParent||En(Oe.starts))}class Ft extends Error{constructor(Ct,Pt){super(Ct),this.name="HTMLInjectionError",this.html=Pt}}const De=n,Ve=f,Xe=Symbol("nomatch"),tt=function(Oe){const Ct=Object.create(null),Pt=Object.create(null),Nt=[];let bt=!0;const _e="Could not find the language '{}', did you forget to load/include a language module?",ce={disableAutodetect:!0,name:"Plain text",contains:[]};let z={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function oe(wt){return z.noHighlightRe.test(wt)}function at(wt,vt,Ht){let dn="",ze="";"object"==typeof vt?(dn=wt,Ht=vt.ignoreIllegals,ze=vt.language):(Be("10.7.0","highlight(lang, code, ...args) has been deprecated."),Be("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),ze=wt,dn=vt),void 0===Ht&&(Ht=!0);const en={code:dn,language:ze};ct("before:highlight",en);const Y=en.result?en.result:nt(en.language,en.code,Ht);return Y.code=en.code,ct("after:highlight",Y),Y}function nt(wt,vt,Ht,dn){const ze=Object.create(null);function en(_n,wn){return _n.keywords[wn]}function Y(){if(!Tn.keywords)return void qn.addText(Pn);let _n=0;Tn.keywordPatternRe.lastIndex=0;let wn=Tn.keywordPatternRe.exec(Pn),Fn="";for(;wn;){Fn+=Pn.substring(_n,wn.index);const Ln=zi.case_insensitive?wn[0].toLowerCase():wn[0],Mi=en(Tn,Ln);if(Mi){const[Vn,Ui]=Mi;qn.addText(Fn),Fn="",ze[Ln]=(ze[Ln]||0)+1,ze[Ln]<=7&&(Qn+=Ui),Vn.startsWith("_")?Fn+=wn[0]:Qe(wn[0],zi.classNameAliases[Vn]||Vn)}else Fn+=wn[0];_n=Tn.keywordPatternRe.lastIndex,wn=Tn.keywordPatternRe.exec(Pn)}Fn+=Pn.substring(_n),qn.addText(Fn)}function de(){null!=Tn.subLanguage?function pe(){if(""===Pn)return;let _n=null;if("string"==typeof Tn.subLanguage){if(!Ct[Tn.subLanguage])return void qn.addText(Pn);_n=nt(Tn.subLanguage,Pn,!0,Ki[Tn.subLanguage]),Ki[Tn.subLanguage]=_n._top}else _n=He(Pn,Tn.subLanguage.length?Tn.subLanguage:null);Tn.relevance>0&&(Qn+=_n.relevance),qn.__addSublanguage(_n._emitter,_n.language)}():Y(),Pn=""}function Qe(_n,wn){""!==_n&&(qn.startScope(wn),qn.addText(_n),qn.endScope())}function _t(_n,wn){let Fn=1;const Ln=wn.length-1;for(;Fn<=Ln;){if(!_n._emit[Fn]){Fn++;continue}const Mi=zi.classNameAliases[_n[Fn]]||_n[Fn],Vn=wn[Fn];Mi?Qe(Vn,Mi):(Pn=Vn,Y(),Pn=""),Fn++}}function hn(_n,wn){return _n.scope&&"string"==typeof _n.scope&&qn.openNode(zi.classNameAliases[_n.scope]||_n.scope),_n.beginScope&&(_n.beginScope._wrap?(Qe(Pn,zi.classNameAliases[_n.beginScope._wrap]||_n.beginScope._wrap),Pn=""):_n.beginScope._multi&&(_t(_n.beginScope,wn),Pn="")),Tn=Object.create(_n,{parent:{value:Tn}}),Tn}function On(_n,wn,Fn){let Ln=function x(Oe,Ct){const Pt=Oe&&Oe.exec(Ct);return Pt&&0===Pt.index}(_n.endRe,Fn);if(Ln){if(_n["on:end"]){const Mi=new _(_n);_n["on:end"](wn,Mi),Mi.isMatchIgnored&&(Ln=!1)}if(Ln){for(;_n.endsParent&&_n.parent;)_n=_n.parent;return _n}}if(_n.endsWithParent)return On(_n.parent,wn,Fn)}function Bn(_n){return 0===Tn.matcher.regexIndex?(Pn+=_n[0],1):(er=!0,0)}function Zn(_n){const wn=_n[0],Fn=vt.substring(_n.index),Ln=On(Tn,_n,Fn);if(!Ln)return Xe;const Mi=Tn;Tn.endScope&&Tn.endScope._wrap?(de(),Qe(wn,Tn.endScope._wrap)):Tn.endScope&&Tn.endScope._multi?(de(),_t(Tn.endScope,_n)):Mi.skip?Pn+=wn:(Mi.returnEnd||Mi.excludeEnd||(Pn+=wn),de(),Mi.excludeEnd&&(Pn=wn));do{Tn.scope&&qn.closeNode(),!Tn.skip&&!Tn.subLanguage&&(Qn+=Tn.relevance),Tn=Tn.parent}while(Tn!==Ln.parent);return Ln.starts&&hn(Ln.starts,_n),Mi.returnEnd?0:wn.length}let qi={};function ki(_n,wn){const Fn=wn&&wn[0];if(Pn+=_n,null==Fn)return de(),0;if("begin"===qi.type&&"end"===wn.type&&qi.index===wn.index&&""===Fn){if(Pn+=vt.slice(wn.index,wn.index+1),!bt){const Ln=new Error(`0 width match regex (${wt})`);throw Ln.languageName=wt,Ln.badRule=qi.rule,Ln}return 1}if(qi=wn,"begin"===wn.type)return function Ci(_n){const wn=_n[0],Fn=_n.rule,Ln=new _(Fn),Mi=[Fn.__beforeBegin,Fn["on:begin"]];for(const Vn of Mi)if(Vn&&(Vn(_n,Ln),Ln.isMatchIgnored))return Bn(wn);return Fn.skip?Pn+=wn:(Fn.excludeBegin&&(Pn+=wn),de(),!Fn.returnBegin&&!Fn.excludeBegin&&(Pn=wn)),hn(Fn,_n),Fn.returnBegin?0:wn.length}(wn);if("illegal"===wn.type&&!Ht){const Ln=new Error('Illegal lexeme "'+Fn+'" for mode "'+(Tn.scope||"")+'"');throw Ln.mode=Tn,Ln}if("end"===wn.type){const Ln=Zn(wn);if(Ln!==Xe)return Ln}if("illegal"===wn.type&&""===Fn)return 1;if(mr>1e5&&mr>3*wn.index)throw new Error("potential infinite loop, way more iterations than matches");return Pn+=Fn,Fn.length}const zi=Ue(wt);if(!zi)throw Pe(_e.replace("{}",wt)),new Error('Unknown language: "'+wt+'"');const Gi=an(zi);let fr="",Tn=dn||Gi;const Ki={},qn=new z.__emitter(z);!function Ei(){const _n=[];for(let wn=Tn;wn!==zi;wn=wn.parent)wn.scope&&_n.unshift(wn.scope);_n.forEach(wn=>qn.openNode(wn))}();let Pn="",Qn=0,Fi=0,mr=0,er=!1;try{if(zi.__emitTokens)zi.__emitTokens(vt,qn);else{for(Tn.matcher.considerAll();;){mr++,er?er=!1:Tn.matcher.considerAll(),Tn.matcher.lastIndex=Fi;const _n=Tn.matcher.exec(vt);if(!_n)break;const Fn=ki(vt.substring(Fi,_n.index),_n);Fi=_n.index+Fn}ki(vt.substring(Fi))}return qn.finalize(),fr=qn.toHTML(),{language:wt,value:fr,relevance:Qn,illegal:!1,_emitter:qn,_top:Tn}}catch(_n){if(_n.message&&_n.message.includes("Illegal"))return{language:wt,value:De(vt),illegal:!0,relevance:0,_illegalBy:{message:_n.message,index:Fi,context:vt.slice(Fi-100,Fi+100),mode:_n.mode,resultSoFar:fr},_emitter:qn};if(bt)return{language:wt,value:De(vt),illegal:!1,relevance:0,errorRaised:_n,_emitter:qn,_top:Tn};throw _n}}function He(wt,vt){vt=vt||z.languages||Object.keys(Ct);const Ht=function mt(wt){const vt={value:De(wt),illegal:!1,relevance:0,_top:ce,_emitter:new z.__emitter(z)};return vt._emitter.addText(wt),vt}(wt),dn=vt.filter(Ue).filter(At).map(de=>nt(de,wt,!1));dn.unshift(Ht);const ze=dn.sort((de,Qe)=>{if(de.relevance!==Qe.relevance)return Qe.relevance-de.relevance;if(de.language&&Qe.language){if(Ue(de.language).supersetOf===Qe.language)return 1;if(Ue(Qe.language).supersetOf===de.language)return-1}return 0}),[en,Y]=ze,pe=en;return pe.secondBest=Y,pe}function Lt(wt){let vt=null;const Ht=function Se(wt){let vt=wt.className+" ";vt+=wt.parentNode?wt.parentNode.className:"";const Ht=z.languageDetectRe.exec(vt);if(Ht){const dn=Ue(Ht[1]);return dn||(Ne(_e.replace("{}",Ht[1])),Ne("Falling back to no-highlight mode for this block.",wt)),dn?Ht[1]:"no-highlight"}return vt.split(/\s+/).find(dn=>oe(dn)||Ue(dn))}(wt);if(oe(Ht))return;if(ct("before:highlightElement",{el:wt,language:Ht}),wt.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",wt);if(wt.children.length>0&&(z.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(wt)),z.throwUnescapedHTML))throw new Ft("One of your code blocks includes unescaped HTML.",wt.innerHTML);vt=wt;const dn=vt.textContent,ze=Ht?at(dn,{language:Ht,ignoreIllegals:!0}):He(dn);wt.innerHTML=ze.value,wt.dataset.highlighted="yes",function rt(wt,vt,Ht){const dn=vt&&Pt[vt]||Ht;wt.classList.add("hljs"),wt.classList.add(`language-${dn}`)}(wt,Ht,ze.language),wt.result={language:ze.language,re:ze.relevance,relevance:ze.relevance},ze.secondBest&&(wt.secondBest={language:ze.secondBest.language,relevance:ze.secondBest.relevance}),ct("after:highlightElement",{el:wt,result:ze,text:dn})}let ui=!1;function _i(){"loading"!==document.readyState?document.querySelectorAll(z.cssSelector).forEach(Lt):ui=!0}function Ue(wt){return wt=(wt||"").toLowerCase(),Ct[wt]||Ct[Pt[wt]]}function ot(wt,{languageName:vt}){"string"==typeof wt&&(wt=[wt]),wt.forEach(Ht=>{Pt[Ht.toLowerCase()]=vt})}function At(wt){const vt=Ue(wt);return vt&&!vt.disableAutodetect}function ct(wt,vt){const Ht=wt;Nt.forEach(function(dn){dn[Ht]&&dn[Ht](vt)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Hi(){ui&&_i()},!1),Object.assign(Oe,{highlight:at,highlightAuto:He,highlightAll:_i,highlightElement:Lt,highlightBlock:function Ut(wt){return Be("10.7.0","highlightBlock will be removed entirely in v12.0"),Be("10.7.0","Please use highlightElement now."),Lt(wt)},configure:function Xt(wt){z=Ve(z,wt)},initHighlighting:()=>{_i(),Be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Nn(){_i(),Be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Yn(wt,vt){let Ht=null;try{Ht=vt(Oe)}catch(dn){if(Pe("Language definition for '{}' could not be registered.".replace("{}",wt)),!bt)throw dn;Pe(dn),Ht=ce}Ht.name||(Ht.name=wt),Ct[wt]=Ht,Ht.rawDefinition=vt.bind(null,Oe),Ht.aliases&&ot(Ht.aliases,{languageName:wt})},unregisterLanguage:function st(wt){delete Ct[wt];for(const vt of Object.keys(Pt))Pt[vt]===wt&&delete Pt[vt]},listLanguages:function pn(){return Object.keys(Ct)},getLanguage:Ue,registerAliases:ot,autoDetection:At,inherit:Ve,addPlugin:function it(wt){(function qt(wt){wt["before:highlightBlock"]&&!wt["before:highlightElement"]&&(wt["before:highlightElement"]=vt=>{wt["before:highlightBlock"](Object.assign({block:vt.el},vt))}),wt["after:highlightBlock"]&&!wt["after:highlightElement"]&&(wt["after:highlightElement"]=vt=>{wt["after:highlightBlock"](Object.assign({block:vt.el},vt))})})(wt),Nt.push(wt)},removePlugin:function dt(wt){const vt=Nt.indexOf(wt);-1!==vt&&Nt.splice(vt,1)}}),Oe.debugMode=function(){bt=!1},Oe.safeMode=function(){bt=!0},Oe.versionString="11.9.0",Oe.regex={concat:d,lookahead:l,either:b,optional:c,anyNumberOfTimes:r};for(const wt in Ze)"object"==typeof Ze[wt]&&ie(Ze[wt]);return Object.assign(Oe,Ze),Oe},ut=tt({});ut.newInstance=()=>tt({}),Me.exports=ut,ut.HighlightJS=ut,ut.default=ut},5454:Me=>{Me.exports=function ie(_){const D=["true","false","null"],y={scope:"literal",beginKeywords:D.join(" ")};return{name:"JSON",keywords:{literal:D},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},_.QUOTE_STRING_MODE,y,_.C_NUMBER_MODE,_.C_LINE_COMMENT_MODE,_.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Me=>{Me.exports=function ie(_){const n=_.regex,f=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),y={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=_.inherit(u,{begin:/\(/,end:/\)/}),s=_.inherit(_.APOS_STRING_MODE,{className:"string"}),m=_.inherit(_.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[u,m,s,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[u,v,m,s]}]}]},_.COMMENT(//,{relevance:10}),{begin://,relevance:10},y,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:h}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Me=>{function ie(n,f,D,y,u,v,s){try{var m=n[v](s),h=m.value}catch(o){return void D(o)}m.done?f(h):Promise.resolve(h).then(y,u)}Me.exports=function _(n){return function(){var f=this,D=arguments;return new Promise(function(y,u){var v=n.apply(f,D);function s(h){ie(v,y,u,s,m,"next",h)}function m(h){ie(v,y,u,s,m,"throw",h)}s(void 0)})}},Me.exports.__esModule=!0,Me.exports.default=Me.exports},6825:(Me,ie,_)=>{"use strict";function f(A,L){return{type:7,name:A,definitions:L,options:{}}}function D(A,L=null){return{type:4,styles:L,timings:A}}function y(A,L=null){return{type:3,steps:A,options:L}}function v(A){return{type:6,styles:A,offset:null}}function s(A,L,F){return{type:0,name:A,styles:L,options:F}}function m(A){return{type:5,steps:A}}function h(A,L,F=null){return{type:1,expr:A,animation:L,options:F}}function l(A=null){return{type:9,options:A}}function c(A,L,F=null){return{type:11,selector:A,animation:L,options:F}}_.d(ie,{F4:()=>m,IO:()=>c,SB:()=>s,X$:()=>f,eR:()=>h,jt:()=>D,oB:()=>v,pV:()=>l,ru:()=>y})},4191:(Me,ie,_)=>{"use strict";_.d(ie,{rt:()=>at,s1:()=>Ye,$s:()=>ue,kH:()=>_e,mK:()=>yt,Em:()=>Ze,tE:()=>bt,qm:()=>Se,Kd:()=>Oe,Zf:()=>ee,X6:()=>an,yG:()=>En,iD:()=>j});var n=_(6814),f=_(9212),D=_(2831),y=_(8645),u=_(7394),v=_(5619),s=_(2096),m=_(6028),h=_(9397),o=_(3620),l=_(2181),r=_(7398),c=_(8180),d=_(836),g=_(3997),b=_(9773),C=_(7131),x=_(2495),w=_(2572),T=_(34),S=_(5592),M=_(7921);const I=new Set;let P,A=(()=>{class nt{constructor(He,rt){this._platform=He,this._nonce=rt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):F}matchMedia(He){return(this._platform.WEBKIT||this._platform.BLINK)&&function L(nt,mt){if(!I.has(nt))try{P||(P=document.createElement("style"),mt&&(P.nonce=mt),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${nt} {body{ }}`,0),I.add(nt))}catch(He){console.error(He)}}(He,this._nonce),this._matchMedia(He)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.CSP_NONCE,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function F(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let R=(()=>{class nt{constructor(He,rt){this._mediaMatcher=He,this._zone=rt,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(He){return U((0,x.Eq)(He)).some(Lt=>this._registerQuery(Lt).mql.matches)}observe(He){const Lt=U((0,x.Eq)(He)).map(tn=>this._registerQuery(tn).observable);let Xt=(0,w.a)(Lt);return Xt=(0,T.z)(Xt.pipe((0,c.q)(1)),Xt.pipe((0,d.T)(1),(0,o.b)(0))),Xt.pipe((0,r.U)(tn=>{const Nn={matches:!1,breakpoints:{}};return tn.forEach(({matches:ui,query:_i})=>{Nn.matches=Nn.matches||ui,Nn.breakpoints[_i]=ui}),Nn}))}_registerQuery(He){if(this._queries.has(He))return this._queries.get(He);const rt=this._mediaMatcher.matchMedia(He),Xt={observable:new S.y(tn=>{const Nn=ui=>this._zone.run(()=>tn.next(ui));return rt.addListener(Nn),()=>{rt.removeListener(Nn)}}).pipe((0,M.O)(rt),(0,r.U)(({matches:tn})=>({query:He,matches:tn})),(0,b.R)(this._destroySubject)),mql:rt};return this._queries.set(He,Xt),Xt}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(A),f.\u0275\u0275inject(f.NgZone))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function U(nt){return nt.map(mt=>mt.split(",")).reduce((mt,He)=>mt.concat(He)).map(mt=>mt.trim())}const ne=" ";function ee(nt,mt,He){const rt=B(nt,mt);rt.some(Lt=>Lt.trim()==He.trim())||(rt.push(He.trim()),nt.setAttribute(mt,rt.join(ne)))}function j(nt,mt,He){const Lt=B(nt,mt).filter(Xt=>Xt!=He.trim());Lt.length?nt.setAttribute(mt,Lt.join(ne)):nt.removeAttribute(mt)}function B(nt,mt){return(nt.getAttribute(mt)||"").match(/\S+/g)||[]}const Z="cdk-describedby-message",H="cdk-describedby-host";let te=0,ue=(()=>{class nt{constructor(He,rt){this._platform=rt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+te++,this._document=He,this._id=(0,f.inject)(f.APP_ID)+"-"+te++}describe(He,rt,Lt){if(!this._canBeDescribed(He,rt))return;const Xt=ye(rt,Lt);"string"!=typeof rt?(Ge(rt,this._id),this._messageRegistry.set(Xt,{messageElement:rt,referenceCount:0})):this._messageRegistry.has(Xt)||this._createMessageElement(rt,Lt),this._isElementDescribedByMessage(He,Xt)||this._addMessageReference(He,Xt)}removeDescription(He,rt,Lt){if(!rt||!this._isElementNode(He))return;const Xt=ye(rt,Lt);if(this._isElementDescribedByMessage(He,Xt)&&this._removeMessageReference(He,Xt),"string"==typeof rt){const tn=this._messageRegistry.get(Xt);tn&&0===tn.referenceCount&&this._deleteMessageElement(Xt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const He=this._document.querySelectorAll(`[${H}="${this._id}"]`);for(let rt=0;rt0!=Lt.indexOf(Z));He.setAttribute("aria-describedby",rt.join(" "))}_addMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);ee(He,"aria-describedby",Lt.messageElement.id),He.setAttribute(H,this._id),Lt.referenceCount++}_removeMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);Lt.referenceCount--,j(He,"aria-describedby",Lt.messageElement.id),He.removeAttribute(H)}_isElementDescribedByMessage(He,rt){const Lt=B(He,"aria-describedby"),Xt=this._messageRegistry.get(rt),tn=Xt&&Xt.messageElement.id;return!!tn&&-1!=Lt.indexOf(tn)}_canBeDescribed(He,rt){if(!this._isElementNode(He))return!1;if(rt&&"object"==typeof rt)return!0;const Lt=null==rt?"":`${rt}`.trim(),Xt=He.getAttribute("aria-label");return!(!Lt||Xt&&Xt.trim()===Lt)}_isElementNode(He){return He.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function ye(nt,mt){return"string"==typeof nt?`${mt||""}/${nt}`:nt}function Ge(nt,mt){nt.id||(nt.id=`${Z}-${mt}-${te++}`)}class $e{constructor(mt){this._items=mt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new y.x,this._typeaheadSubscription=u.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=He=>He.disabled,this._pressedLetters=[],this.tabOut=new y.x,this.change=new y.x,mt instanceof f.QueryList&&(this._itemChangesSubscription=mt.changes.subscribe(He=>{if(this._activeItem){const Lt=He.toArray().indexOf(this._activeItem);Lt>-1&&Lt!==this._activeItemIndex&&(this._activeItemIndex=Lt)}}))}skipPredicate(mt){return this._skipPredicateFn=mt,this}withWrap(mt=!0){return this._wrap=mt,this}withVerticalOrientation(mt=!0){return this._vertical=mt,this}withHorizontalOrientation(mt){return this._horizontal=mt,this}withAllowedModifierKeys(mt){return this._allowedModifierKeys=mt,this}withTypeAhead(mt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.b)(He=>this._pressedLetters.push(He)),(0,o.b)(mt),(0,l.h)(()=>this._pressedLetters.length>0),(0,r.U)(()=>this._pressedLetters.join(""))).subscribe(He=>{const rt=this._getItemsArray();for(let Lt=1;Lt!mt[Xt]||this._allowedModifierKeys.indexOf(Xt)>-1);switch(He){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&Lt){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&Lt){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&Lt){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&Lt){this.setLastItemActive();break}return;case m.Ku:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xt>0?Xt:0,1);break}return;case m.VM:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex+this._pageUpAndDown.delta,tn=this._getItemsArray().length;this._setActiveItemByIndex(Xt=m.A&&He<=m.Z||He>=m.xE&&He<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(He))))}this._pressedLetters=[],mt.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(mt){const He=this._getItemsArray(),rt="number"==typeof mt?mt:He.indexOf(mt);this._activeItem=He[rt]??null,this._activeItemIndex=rt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(mt){this._wrap?this._setActiveInWrapMode(mt):this._setActiveInDefaultMode(mt)}_setActiveInWrapMode(mt){const He=this._getItemsArray();for(let rt=1;rt<=He.length;rt++){const Lt=(this._activeItemIndex+mt*rt+He.length)%He.length;if(!this._skipPredicateFn(He[Lt]))return void this.setActiveItem(Lt)}}_setActiveInDefaultMode(mt){this._setActiveItemByIndex(this._activeItemIndex+mt,mt)}_setActiveItemByIndex(mt,He){const rt=this._getItemsArray();if(rt[mt]){for(;this._skipPredicateFn(rt[mt]);)if(!rt[mt+=He])return;this.setActiveItem(mt)}}_getItemsArray(){return this._items instanceof f.QueryList?this._items.toArray():this._items}}class Ye extends $e{setActiveItem(mt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(mt),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends $e{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(mt){return this._origin=mt,this}setActiveItem(mt){super.setActiveItem(mt),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class nt{constructor(He){this._platform=He}isDisabled(He){return He.hasAttribute("disabled")}isVisible(He){return function Ee(nt){return!!(nt.offsetWidth||nt.offsetHeight||"function"==typeof nt.getClientRects&&nt.getClientRects().length)}(He)&&"visible"===getComputedStyle(He).visibility}isTabbable(He){if(!this._platform.isBrowser)return!1;const rt=function qe(nt){try{return nt.frameElement}catch{return null}}(function Pe(nt){return nt.ownerDocument&&nt.ownerDocument.defaultView||window}(He));if(rt&&(-1===ke(rt)||!this.isVisible(rt)))return!1;let Lt=He.nodeName.toLowerCase(),Xt=ke(He);return He.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===Lt||"object"===Lt||this._platform.WEBKIT&&this._platform.IOS&&!function Ke(nt){let mt=nt.nodeName.toLowerCase(),He="input"===mt&&nt.type;return"text"===He||"password"===He||"select"===mt||"textarea"===mt}(He))&&("audio"===Lt?!!He.hasAttribute("controls")&&-1!==Xt:"video"===Lt?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||He.hasAttribute("controls")):He.tabIndex>=0)}isFocusable(He,rt){return function me(nt){return!function Ce(nt){return function Ae(nt){return"input"==nt.nodeName.toLowerCase()}(nt)&&"hidden"==nt.type}(nt)&&(function Ie(nt){let mt=nt.nodeName.toLowerCase();return"input"===mt||"select"===mt||"button"===mt||"textarea"===mt}(nt)||function ge(nt){return function q(nt){return"a"==nt.nodeName.toLowerCase()}(nt)&&nt.hasAttribute("href")}(nt)||nt.hasAttribute("contenteditable")||Re(nt))}(He)&&!this.isDisabled(He)&&(rt?.ignoreVisibility||this.isVisible(He))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function Re(nt){if(!nt.hasAttribute("tabindex")||void 0===nt.tabIndex)return!1;let mt=nt.getAttribute("tabindex");return!(!mt||isNaN(parseInt(mt,10)))}function ke(nt){if(!Re(nt))return null;const mt=parseInt(nt.getAttribute("tabindex")||"",10);return isNaN(mt)?-1:mt}class Ne{get enabled(){return this._enabled}set enabled(mt){this._enabled=mt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}constructor(mt,He,rt,Lt,Xt=!1){this._element=mt,this._checker=He,this._ngZone=rt,this._document=Lt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xt||this.attachAnchors()}destroy(){const mt=this._startAnchor,He=this._endAnchor;mt&&(mt.removeEventListener("focus",this.startAnchorListener),mt.remove()),He&&(He.removeEventListener("focus",this.endAnchorListener),He.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(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusInitialElement(mt)))})}focusFirstTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusFirstTabbableElement(mt)))})}focusLastTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusLastTabbableElement(mt)))})}_getRegionBoundary(mt){const He=this._element.querySelectorAll(`[cdk-focus-region-${mt}], [cdkFocusRegion${mt}], [cdk-focus-${mt}]`);return"start"==mt?He.length?He[0]:this._getFirstTabbableElement(this._element):He.length?He[He.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(mt){const He=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(He){if(!this._checker.isFocusable(He)){const rt=this._getFirstTabbableElement(He);return rt?.focus(mt),!!rt}return He.focus(mt),!0}return this.focusFirstTabbableElement(mt)}focusFirstTabbableElement(mt){const He=this._getRegionBoundary("start");return He&&He.focus(mt),!!He}focusLastTabbableElement(mt){const He=this._getRegionBoundary("end");return He&&He.focus(mt),!!He}hasAttached(){return this._hasAttached}_getFirstTabbableElement(mt){if(this._checker.isFocusable(mt)&&this._checker.isTabbable(mt))return mt;const He=mt.children;for(let rt=0;rt=0;rt--){const Lt=He[rt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(He[rt]):null;if(Lt)return Lt}return null}_createAnchor(){const mt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,mt),mt.classList.add("cdk-visually-hidden"),mt.classList.add("cdk-focus-trap-anchor"),mt.setAttribute("aria-hidden","true"),mt}_toggleAnchorTabIndex(mt,He){mt?He.setAttribute("tabindex","0"):He.removeAttribute("tabindex")}toggleAnchors(mt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}_executeOnStable(mt){this._ngZone.isStable?mt():this._ngZone.onStable.pipe((0,c.q)(1)).subscribe(mt)}}let Be=(()=>{class nt{constructor(He,rt,Lt){this._checker=He,this._ngZone=rt,this._document=Lt}create(He,rt=!1){return new Ne(He,this._checker,this._ngZone,this._document,rt)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Te),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),yt=(()=>{class nt{get enabled(){return this.focusTrap.enabled}set enabled(He){this.focusTrap.enabled=He}constructor(He,rt,Lt){this._elementRef=He,this._focusTrapFactory=rt,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}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(He){const rt=He.autoCapture;rt&&!rt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Be),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",f.booleanAttribute],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",f.booleanAttribute]},exportAs:["cdkTrapFocus"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275NgOnChangesFeature]})}return nt})();function an(nt){return 0===nt.buttons||0===nt.detail}function En(nt){const mt=nt.touches&&nt.touches[0]||nt.changedTouches&&nt.changedTouches[0];return!(!mt||-1!==mt.identifier||null!=mt.radiusX&&1!==mt.radiusX||null!=mt.radiusY&&1!==mt.radiusY)}const un=new f.InjectionToken("cdk-input-modality-detector-options"),Bt={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},De=(0,D.i$)({passive:!0,capture:!0});let Ve=(()=>{class nt{get mostRecentModality(){return this._modality.value}constructor(He,rt,Lt,Xt){this._platform=He,this._mostRecentTarget=null,this._modality=new v.X(null),this._lastTouchMs=0,this._onKeydown=tn=>{this._options?.ignoreKeys?.some(Nn=>Nn===tn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(tn))},this._onMousedown=tn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(an(tn)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(tn))},this._onTouchstart=tn=>{En(tn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(tn))},this._options={...Bt,...Xt},this.modalityDetected=this._modality.pipe((0,d.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),He.isBrowser&&rt.runOutsideAngular(()=>{Lt.addEventListener("keydown",this._onKeydown,De),Lt.addEventListener("mousedown",this._onMousedown,De),Lt.addEventListener("touchstart",this._onTouchstart,De)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,De),document.removeEventListener("mousedown",this._onMousedown,De),document.removeEventListener("touchstart",this._onTouchstart,De))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(un,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();const Xe=new f.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function St(){return null}}),tt=new f.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ut=0,Oe=(()=>{class nt{constructor(He,rt,Lt,Xt){this._ngZone=rt,this._defaultOptions=Xt,this._document=Lt,this._liveElement=He||this._createLiveElement()}announce(He,...rt){const Lt=this._defaultOptions;let Xt,tn;return 1===rt.length&&"number"==typeof rt[0]?tn=rt[0]:[Xt,tn]=rt,this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=Lt&&Lt.politeness?Lt.politeness:"polite"),null==tn&&Lt&&(tn=Lt.duration),this._liveElement.setAttribute("aria-live",Xt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Nn=>this._currentResolve=Nn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=He,"number"==typeof tn&&(this._previousTimeout=setTimeout(()=>this.clear(),tn)),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 He="cdk-live-announcer-element",rt=this._document.getElementsByClassName(He),Lt=this._document.createElement("div");for(let Xt=0;Xt .cdk-overlay-container [aria-modal="true"]');for(let Lt=0;Lt{class nt{constructor(He,rt,Lt,Xt,tn){this._ngZone=He,this._platform=rt,this._inputModalityDetector=Lt,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 y.x,this._rootNodeFocusAndBlurListener=Nn=>{for(let _i=(0,D.sA)(Nn);_i;_i=_i.parentElement)"focus"===Nn.type?this._onFocus(Nn,_i):this._onBlur(Nn,_i)},this._document=Xt,this._detectionMode=tn?.detectionMode||0}monitor(He,rt=!1){const Lt=(0,x.fI)(He);if(!this._platform.isBrowser||1!==Lt.nodeType)return(0,s.of)();const Xt=(0,D.kV)(Lt)||this._getDocument(),tn=this._elementInfo.get(Lt);if(tn)return rt&&(tn.checkChildren=!0),tn.subject;const Nn={checkChildren:rt,subject:new y.x,rootNode:Xt};return this._elementInfo.set(Lt,Nn),this._registerGlobalListeners(Nn),Nn.subject}stopMonitoring(He){const rt=(0,x.fI)(He),Lt=this._elementInfo.get(rt);Lt&&(Lt.subject.complete(),this._setClasses(rt),this._elementInfo.delete(rt),this._removeGlobalListeners(Lt))}focusVia(He,rt,Lt){const Xt=(0,x.fI)(He);Xt===this._getDocument().activeElement?this._getClosestElementsInfo(Xt).forEach(([Nn,ui])=>this._originChanged(Nn,rt,ui)):(this._setOrigin(rt),"function"==typeof Xt.focus&&Xt.focus(Lt))}ngOnDestroy(){this._elementInfo.forEach((He,rt)=>this.stopMonitoring(rt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(He){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(He)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:He&&this._isLastInteractionFromInputLabel(He)?"mouse":"program"}_shouldBeAttributedToTouch(He){return 1===this._detectionMode||!!He?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(He,rt){He.classList.toggle("cdk-focused",!!rt),He.classList.toggle("cdk-touch-focused","touch"===rt),He.classList.toggle("cdk-keyboard-focused","keyboard"===rt),He.classList.toggle("cdk-mouse-focused","mouse"===rt),He.classList.toggle("cdk-program-focused","program"===rt)}_setOrigin(He,rt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=He,this._originFromTouchInteraction="touch"===He&&rt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(He,rt){const Lt=this._elementInfo.get(rt),Xt=(0,D.sA)(He);!Lt||!Lt.checkChildren&&rt!==Xt||this._originChanged(rt,this._getFocusOrigin(Xt),Lt)}_onBlur(He,rt){const Lt=this._elementInfo.get(rt);!Lt||Lt.checkChildren&&He.relatedTarget instanceof Node&&rt.contains(He.relatedTarget)||(this._setClasses(rt),this._emitOrigin(Lt,null))}_emitOrigin(He,rt){He.subject.observers.length&&this._ngZone.run(()=>He.subject.next(rt))}_registerGlobalListeners(He){if(!this._platform.isBrowser)return;const rt=He.rootNode,Lt=this._rootNodeFocusListenerCount.get(rt)||0;Lt||this._ngZone.runOutsideAngular(()=>{rt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nt)}),this._rootNodeFocusListenerCount.set(rt,Lt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,b.R)(this._stopInputModalityDetector)).subscribe(Xt=>{this._setOrigin(Xt,!0)}))}_removeGlobalListeners(He){const rt=He.rootNode;if(this._rootNodeFocusListenerCount.has(rt)){const Lt=this._rootNodeFocusListenerCount.get(rt);Lt>1?this._rootNodeFocusListenerCount.set(rt,Lt-1):(rt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nt),this._rootNodeFocusListenerCount.delete(rt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(He,rt,Lt){this._setClasses(He,rt),this._emitOrigin(Lt,rt),this._lastFocusOrigin=rt}_getClosestElementsInfo(He){const rt=[];return this._elementInfo.forEach((Lt,Xt)=>{(Xt===He||Lt.checkChildren&&Xt.contains(He))&&rt.push([Xt,Lt])}),rt}_isLastInteractionFromInputLabel(He){const{_mostRecentTarget:rt,mostRecentModality:Lt}=this._inputModalityDetector;if("mouse"!==Lt||!rt||rt===He||"INPUT"!==He.nodeName&&"TEXTAREA"!==He.nodeName||He.disabled)return!1;const Xt=He.labels;if(Xt)for(let tn=0;tn{class nt{constructor(He,rt){this._elementRef=He,this._focusMonitor=rt,this._focusOrigin=null,this.cdkFocusChange=new f.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const He=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(He,1===He.nodeType&&He.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(rt=>{this._focusOrigin=rt,this.cdkFocusChange.emit(rt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(bt))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return nt})();const ce="cdk-high-contrast-black-on-white",z="cdk-high-contrast-white-on-black",oe="cdk-high-contrast-active";let Se=(()=>{class nt{constructor(He,rt){this._platform=He,this._document=rt,this._breakpointSubscription=(0,f.inject)(R).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const He=this._document.createElement("div");He.style.backgroundColor="rgb(1,2,3)",He.style.position="absolute",this._document.body.appendChild(He);const rt=this._document.defaultView||window,Lt=rt&&rt.getComputedStyle?rt.getComputedStyle(He):null,Xt=(Lt&&Lt.backgroundColor||"").replace(/ /g,"");switch(He.remove(),Xt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const He=this._document.body.classList;He.remove(oe,ce,z),this._hasCheckedHighContrastMode=!0;const rt=this.getHighContrastMode();1===rt?He.add(oe,ce):2===rt&&He.add(oe,z)}}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),at=(()=>{class nt{constructor(He){He._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Se))};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:nt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[C.Q8]})}return nt})()},9388:(Me,ie,_)=>{"use strict";_.d(ie,{Is:()=>s,vT:()=>h});var n=_(9212),f=_(6814);const D=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,n.inject)(f.DOCUMENT)}}),u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class o{constructor(r){this.value="ltr",this.change=new n.EventEmitter,r&&(this.value=function v(o){const l=o?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?u.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(c){return new(c||o)(n.\u0275\u0275inject(D,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return o})()},2495:(Me,ie,_)=>{"use strict";_.d(ie,{Eq:()=>u,HM:()=>v,Ig:()=>f,du:()=>m,fI:()=>s,su:()=>D,t6:()=>y});var n=_(9212);function f(h){return null!=h&&"false"!=`${h}`}function D(h,o=0){return y(h)?Number(h):o}function y(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function u(h){return Array.isArray(h)?h:[h]}function v(h){return null==h?"":"string"==typeof h?h:`${h}px`}function s(h){return h instanceof n.ElementRef?h.nativeElement:h}function m(h,o=/\s+/){const l=[];if(null!=h){const r=Array.isArray(h)?h:`${h}`.split(o);for(const c of r){const d=`${c}`.trim();d&&l.push(d)}}return l}},8337:(Me,ie,_)=>{"use strict";_.d(ie,{A8:()=>l,Ov:()=>h,Z9:()=>u,eX:()=>m,k:()=>r,o2:()=>y,yy:()=>s});var n=_(3168),f=_(8645),D=_(9212);class y{}function u(c){return c&&"function"==typeof c.connect&&!(c instanceof n.c)}class s{applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;if(null==w.previousIndex){const I=b(w,T,S);M=g.createEmbeddedView(I.templateRef,I.context,I.index),k=1}else null==S?(g.remove(T),k=3):(M=g.get(T),g.move(M,S),k=2);x&&x({context:M?.context,operation:k,record:w})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;null==w.previousIndex?(M=this._insertView(()=>b(w,T,S),S,g,C(w)),k=M?1:0):null==S?(this._detachAndCacheView(T,g),k=3):(M=this._moveView(T,S,g,C(w)),k=2),x&&x({context:M?.context,operation:k,record:w})})}detach(){for(const d of this._viewCache)d.destroy();this._viewCache=[]}_insertView(d,g,b,C){const x=this._insertViewFromCache(g,b);if(x)return void(x.context.$implicit=C);const w=d();return b.createEmbeddedView(w.templateRef,w.context,w.index)}_detachAndCacheView(d,g){const b=g.detach(d);this._maybeCacheView(b,g)}_moveView(d,g,b,C){const x=b.get(d);return b.move(x,g),x.context.$implicit=C,x}_maybeCacheView(d,g){if(this._viewCache.lengththis._markSelected(x)):this._markSelected(g[0]),this._selectedToEmit.length=0)}select(...d){this._verifyValueAssignment(d),d.forEach(b=>this._markSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}deselect(...d){this._verifyValueAssignment(d),d.forEach(b=>this._unmarkSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}setSelection(...d){this._verifyValueAssignment(d);const g=this.selected,b=new Set(d);d.forEach(x=>this._markSelected(x)),g.filter(x=>!b.has(x)).forEach(x=>this._unmarkSelected(x));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}toggle(d){return this.isSelected(d)?this.deselect(d):this.select(d)}clear(d=!0){this._unmarkAll();const g=this._hasQueuedChanges();return d&&this._emitChangeEvent(),g}isSelected(d){return this._selection.has(this._getConcreteValue(d))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(d){this._multiple&&this.selected&&this._selected.sort(d)}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(d){d=this._getConcreteValue(d),this.isSelected(d)||(this._multiple||this._unmarkAll(),this.isSelected(d)||this._selection.add(d),this._emitChanges&&this._selectedToEmit.push(d))}_unmarkSelected(d){d=this._getConcreteValue(d),this.isSelected(d)&&(this._selection.delete(d),this._emitChanges&&this._deselectedToEmit.push(d))}_unmarkAll(){this.isEmpty()||this._selection.forEach(d=>this._unmarkSelected(d))}_verifyValueAssignment(d){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(d){if(this.compareWith){for(let g of this._selection)if(this.compareWith(d,g))return g;return d}return d}}let l=(()=>{class c{constructor(){this._listeners=[]}notify(g,b){for(let C of this._listeners)C(g,b)}listen(g){return this._listeners.push(g),()=>{this._listeners=this._listeners.filter(b=>g!==b)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(b){return new(b||c)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const r=new D.InjectionToken("_ViewRepeater")},6028:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>te,JH:()=>T,JU:()=>v,K5:()=>u,Ku:()=>c,LH:()=>x,L_:()=>r,MW:()=>jt,Mf:()=>D,SV:()=>w,Sd:()=>b,VM:()=>d,Vb:()=>de,Z:()=>Yt,ZH:()=>f,aO:()=>j,b2:()=>pe,hY:()=>l,jx:()=>s,oh:()=>C,uR:()=>g,xE:()=>P,zL:()=>m});const f=8,D=9,u=13,v=16,s=17,m=18,l=27,r=32,c=33,d=34,g=35,b=36,C=37,x=38,w=39,T=40,P=48,j=57,te=65,Yt=90,jt=91,pe=224;function de(Qe,..._t){return _t.length?_t.some(hn=>Qe[hn]):Qe.altKey||Qe.shiftKey||Qe.ctrlKey||Qe.metaKey}},7131:(Me,ie,_)=>{"use strict";_.d(ie,{Q8:()=>h,wD:()=>m});var n=_(2495),f=_(9212),D=_(5592),y=_(8645),u=_(3620);let v=(()=>{class o{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),s=(()=>{class o{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,c)=>this._cleanupObserver(c))}observe(r){const c=(0,n.fI)(r);return new D.y(d=>{const b=this._observeElement(c).subscribe(d);return()=>{b.unsubscribe(),this._unobserveElement(c)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const c=new y.x,d=this._mutationObserverFactory.create(g=>c.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:c,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:c,stream:d}=this._observedElements.get(r);c&&c.disconnect(),d.complete(),this._observedElements.delete(r)}}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275inject(v))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),m=(()=>{class o{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=(0,n.su)(r),this._subscribe()}constructor(r,c,d){this._contentObserver=r,this._elementRef=c,this._ngZone=d,this.event=new f.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe((0,u.b)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275directiveInject(s),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.NgZone))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",f.booleanAttribute],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[f.\u0275\u0275InputTransformsFeature]})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[v]})}return o})()},9594:(Me,ie,_)=>{"use strict";_.d(ie,{U8:()=>Re,X_:()=>P,_G:()=>H,aV:()=>qe,pI:()=>ge,xu:()=>Ce});var n=_(6672),f=_(6814),D=_(9212),y=_(2495),u=_(2831),v=_(2181),s=_(8180),m=_(9773),h=_(812),o=_(9388),l=_(8484),r=_(8645),c=_(7394),d=_(3019),g=_(6028);const b=(0,u.Mq)();class C{constructor(me,Pe){this._viewportRuler=me,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Pe}attach(){}enable(){if(this._canBeEnabled()){const me=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=me.style.left||"",this._previousHTMLStyles.top=me.style.top||"",me.style.left=(0,y.HM)(-this._previousScrollPosition.left),me.style.top=(0,y.HM)(-this._previousScrollPosition.top),me.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const me=this._document.documentElement,Ne=me.style,Be=this._document.body.style,yt=Ne.scrollBehavior||"",Ot=Be.scrollBehavior||"";this._isEnabled=!1,Ne.left=this._previousHTMLStyles.left,Ne.top=this._previousHTMLStyles.top,me.classList.remove("cdk-global-scrollblock"),b&&(Ne.scrollBehavior=Be.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Ne.scrollBehavior=yt,Be.scrollBehavior=Ot)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Pe=this._document.body,Ne=this._viewportRuler.getViewportSize();return Pe.scrollHeight>Ne.height||Pe.scrollWidth>Ne.width}}class w{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._ngZone=Pe,this._viewportRuler=Ne,this._config=Be,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(me){this._overlayRef=me}enable(){if(this._scrollSubscription)return;const me=this._scrollDispatcher.scrolled(0).pipe((0,v.h)(Pe=>!Pe||!this._overlayRef.overlayElement.contains(Pe.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=me.subscribe(()=>{const Pe=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Pe-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=me.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class T{enable(){}disable(){}attach(){}}function S(Ke,me){return me.some(Pe=>Ke.bottomPe.bottom||Ke.rightPe.right)}function M(Ke,me){return me.some(Pe=>Ke.topPe.bottom||Ke.leftPe.right)}class k{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._viewportRuler=Pe,this._ngZone=Ne,this._config=Be,this._scrollSubscription=null}attach(me){this._overlayRef=me}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 Pe=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ne,height:Be}=this._viewportRuler.getViewportSize();S(Pe,[{width:Ne,height:Be,bottom:Be,right:Ne,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 I=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._scrollDispatcher=Pe,this._viewportRuler=Ne,this._ngZone=Be,this.noop=()=>new T,this.close=Ot=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ot),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=Ot=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ot),this._document=yt}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.mF),D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();class P{constructor(me){if(this.scrollStrategy=new T,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,me){const Pe=Object.keys(me);for(const Ne of Pe)void 0!==me[Ne]&&(this[Ne]=me[Ne])}}}class F{constructor(me,Pe){this.connectionPair=me,this.scrollableViewProperties=Pe}}let W=(()=>{class Ke{constructor(Pe){this._attachedOverlays=[],this._document=Pe}ngOnDestroy(){this.detach()}add(Pe){this.remove(Pe),this._attachedOverlays.push(Pe)}remove(Pe){const Ne=this._attachedOverlays.indexOf(Pe);Ne>-1&&this._attachedOverlays.splice(Ne,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ne=(()=>{class Ke extends W{constructor(Pe,Ne){super(Pe),this._ngZone=Ne,this._keydownListener=Be=>{const yt=this._attachedOverlays;for(let Ot=yt.length-1;Ot>-1;Ot--)if(yt[Ot]._keydownEvents.observers.length>0){const Yt=yt[Ot]._keydownEvents;this._ngZone?this._ngZone.run(()=>Yt.next(Be)):Yt.next(Be);break}}}add(Pe){super.add(Pe),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)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ee=(()=>{class Ke extends W{constructor(Pe,Ne,Be){super(Pe),this._platform=Ne,this._ngZone=Be,this._cursorStyleIsSet=!1,this._pointerDownListener=yt=>{this._pointerDownEventTarget=(0,u.sA)(yt)},this._clickListener=yt=>{const Ot=(0,u.sA)(yt),Yt="click"===yt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ot;this._pointerDownEventTarget=null;const jt=this._attachedOverlays.slice();for(let cn=jt.length-1;cn>-1;cn--){const fn=jt[cn];if(fn._outsidePointerEvents.observers.length<1||!fn.hasAttached())continue;if(fn.overlayElement.contains(Ot)||fn.overlayElement.contains(Yt))break;const an=fn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>an.next(yt)):an.next(yt)}}}add(Pe){if(super.add(Pe),!this._isAttached){const Ne=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ne)):this._addEventListeners(Ne),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ne.style.cursor,Ne.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Pe=this._document.body;Pe.removeEventListener("pointerdown",this._pointerDownListener,!0),Pe.removeEventListener("click",this._clickListener,!0),Pe.removeEventListener("auxclick",this._clickListener,!0),Pe.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Pe.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Pe){Pe.addEventListener("pointerdown",this._pointerDownListener,!0),Pe.addEventListener("click",this._clickListener,!0),Pe.addEventListener("auxclick",this._clickListener,!0),Pe.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),j=(()=>{class Ke{constructor(Pe,Ne){this._platform=Ne,this._document=Pe}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Pe="cdk-overlay-container";if(this._platform.isBrowser||(0,u.Oy)()){const Be=this._document.querySelectorAll(`.${Pe}[platform="server"], .${Pe}[platform="test"]`);for(let yt=0;ytthis._backdropClick.next(an),this._backdropTransitionendHandler=an=>{this._disposeBackdrop(an.target)},this._keydownEvents=new r.x,this._outsidePointerEvents=new r.x,Be.scrollStrategy&&(this._scrollStrategy=Be.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Be.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(me){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Pe=this._portalOutlet.attach(me);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),"function"==typeof Pe?.onDestroy&&Pe.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Pe}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const me=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),me}dispose(){const me=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,me&&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(me){me!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=me,this.hasAttached()&&(me.attach(this),this.updatePosition()))}updateSize(me){this._config={...this._config,...me},this._updateElementSize()}setDirection(me){this._config={...this._config,direction:me},this._updateElementDirection()}addPanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!0)}removePanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!1)}getDirection(){const me=this._config.direction;return me?"string"==typeof me?me:me.value:"ltr"}updateScrollStrategy(me){me!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=me,this.hasAttached()&&(me.attach(this),me.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const me=this._pane.style;me.width=(0,y.HM)(this._config.width),me.height=(0,y.HM)(this._config.height),me.minWidth=(0,y.HM)(this._config.minWidth),me.minHeight=(0,y.HM)(this._config.minHeight),me.maxWidth=(0,y.HM)(this._config.maxWidth),me.maxHeight=(0,y.HM)(this._config.maxHeight)}_togglePointerEvents(me){this._pane.style.pointerEvents=me?"":"none"}_attachBackdrop(){const me="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(me)})}):this._backdropElement.classList.add(me)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const me=this._backdropElement;if(me){if(this._animationsDisabled)return void this._disposeBackdrop(me);me.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{me.addEventListener("transitionend",this._backdropTransitionendHandler)}),me.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(me)},500))}}_toggleClasses(me,Pe,Ne){const Be=(0,y.Eq)(Pe||[]).filter(yt=>!!yt);Be.length&&(Ne?me.classList.add(...Be):me.classList.remove(...Be))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const me=this._ngZone.onStable.pipe((0,m.R)((0,d.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()),me.unsubscribe())})})}_disposeScrollStrategy(){const me=this._scrollStrategy;me&&(me.disable(),me.detach&&me.detach())}_disposeBackdrop(me){me&&(me.removeEventListener("click",this._backdropClickHandler),me.removeEventListener("transitionend",this._backdropTransitionendHandler),me.remove(),this._backdropElement===me&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",Z=/([A-Za-z%]+)$/;class H{get positions(){return this._preferredPositions}constructor(me,Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt,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 r.x,this._resizeSubscription=c.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(me)}attach(me){this._validatePositions(),me.hostElement.classList.add($),this._overlayRef=me,this._boundingBox=me.hostElement,this._pane=me.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 me=this._originRect,Pe=this._overlayRect,Ne=this._viewportRect,Be=this._containerRect,yt=[];let Ot;for(let Yt of this._preferredPositions){let jt=this._getOriginPoint(me,Be,Yt),cn=this._getOverlayPoint(jt,Pe,Yt),fn=this._getOverlayFit(cn,Pe,Ne,Yt);if(fn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Yt,jt);this._canFitWithFlexibleDimensions(fn,cn,Ne)?yt.push({position:Yt,origin:jt,overlayRect:Pe,boundingBoxRect:this._calculateBoundingBoxRect(jt,Yt)}):(!Ot||Ot.overlayFit.visibleAreajt&&(jt=fn,Yt=cn)}return this._isPushed=!1,void this._applyPosition(Yt.position,Yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ot.position,Ot.originPoint);this._applyPosition(Ot.position,Ot.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&te(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 me=this._lastPosition;if(me){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Pe=this._getOriginPoint(this._originRect,this._containerRect,me);this._applyPosition(me,Pe)}else this.apply()}withScrollableContainers(me){return this._scrollables=me,this}withPositions(me){return this._preferredPositions=me,-1===me.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(me){return this._viewportMargin=me,this}withFlexibleDimensions(me=!0){return this._hasFlexibleDimensions=me,this}withGrowAfterOpen(me=!0){return this._growAfterOpen=me,this}withPush(me=!0){return this._canPush=me,this}withLockedPosition(me=!0){return this._positionLocked=me,this}setOrigin(me){return this._origin=me,this}withDefaultOffsetX(me){return this._offsetX=me,this}withDefaultOffsetY(me){return this._offsetY=me,this}withTransformOriginOn(me){return this._transformOriginSelector=me,this}_getOriginPoint(me,Pe,Ne){let Be,yt;if("center"==Ne.originX)Be=me.left+me.width/2;else{const Ot=this._isRtl()?me.right:me.left,Yt=this._isRtl()?me.left:me.right;Be="start"==Ne.originX?Ot:Yt}return Pe.left<0&&(Be-=Pe.left),yt="center"==Ne.originY?me.top+me.height/2:"top"==Ne.originY?me.top:me.bottom,Pe.top<0&&(yt-=Pe.top),{x:Be,y:yt}}_getOverlayPoint(me,Pe,Ne){let Be,yt;return Be="center"==Ne.overlayX?-Pe.width/2:"start"===Ne.overlayX?this._isRtl()?-Pe.width:0:this._isRtl()?0:-Pe.width,yt="center"==Ne.overlayY?-Pe.height/2:"top"==Ne.overlayY?0:-Pe.height,{x:me.x+Be,y:me.y+yt}}_getOverlayFit(me,Pe,Ne,Be){const yt=ye(Pe);let{x:Ot,y:Yt}=me,jt=this._getOffset(Be,"x"),cn=this._getOffset(Be,"y");jt&&(Ot+=jt),cn&&(Yt+=cn);let En=0-Yt,un=Yt+yt.height-Ne.height,Bt=this._subtractOverflows(yt.width,0-Ot,Ot+yt.width-Ne.width),Ft=this._subtractOverflows(yt.height,En,un),De=Bt*Ft;return{visibleArea:De,isCompletelyWithinViewport:yt.width*yt.height===De,fitsInViewportVertically:Ft===yt.height,fitsInViewportHorizontally:Bt==yt.width}}_canFitWithFlexibleDimensions(me,Pe,Ne){if(this._hasFlexibleDimensions){const Be=Ne.bottom-Pe.y,yt=Ne.right-Pe.x,Ot=ue(this._overlayRef.getConfig().minHeight),Yt=ue(this._overlayRef.getConfig().minWidth);return(me.fitsInViewportVertically||null!=Ot&&Ot<=Be)&&(me.fitsInViewportHorizontally||null!=Yt&&Yt<=yt)}return!1}_pushOverlayOnScreen(me,Pe,Ne){if(this._previousPushAmount&&this._positionLocked)return{x:me.x+this._previousPushAmount.x,y:me.y+this._previousPushAmount.y};const Be=ye(Pe),yt=this._viewportRect,Ot=Math.max(me.x+Be.width-yt.width,0),Yt=Math.max(me.y+Be.height-yt.height,0),jt=Math.max(yt.top-Ne.top-me.y,0),cn=Math.max(yt.left-Ne.left-me.x,0);let fn=0,an=0;return fn=Be.width<=yt.width?cn||-Ot:me.xBt&&!this._isInitialRender&&!this._growAfterOpen&&(Ot=me.y-Bt/2)}if("end"===Pe.overlayX&&!Be||"start"===Pe.overlayX&&Be)En=Ne.width-me.x+this._viewportMargin,fn=me.x-this._viewportMargin;else if("start"===Pe.overlayX&&!Be||"end"===Pe.overlayX&&Be)an=me.x,fn=Ne.right-me.x;else{const un=Math.min(Ne.right-me.x+Ne.left,me.x),Bt=this._lastBoundingBoxSize.width;fn=2*un,an=me.x-un,fn>Bt&&!this._isInitialRender&&!this._growAfterOpen&&(an=me.x-Bt/2)}return{top:Ot,left:an,bottom:Yt,right:En,width:fn,height:yt}}_setBoundingBoxStyles(me,Pe){const Ne=this._calculateBoundingBoxRect(me,Pe);!this._isInitialRender&&!this._growAfterOpen&&(Ne.height=Math.min(Ne.height,this._lastBoundingBoxSize.height),Ne.width=Math.min(Ne.width,this._lastBoundingBoxSize.width));const Be={};if(this._hasExactPosition())Be.top=Be.left="0",Be.bottom=Be.right=Be.maxHeight=Be.maxWidth="",Be.width=Be.height="100%";else{const yt=this._overlayRef.getConfig().maxHeight,Ot=this._overlayRef.getConfig().maxWidth;Be.height=(0,y.HM)(Ne.height),Be.top=(0,y.HM)(Ne.top),Be.bottom=(0,y.HM)(Ne.bottom),Be.width=(0,y.HM)(Ne.width),Be.left=(0,y.HM)(Ne.left),Be.right=(0,y.HM)(Ne.right),Be.alignItems="center"===Pe.overlayX?"center":"end"===Pe.overlayX?"flex-end":"flex-start",Be.justifyContent="center"===Pe.overlayY?"center":"bottom"===Pe.overlayY?"flex-end":"flex-start",yt&&(Be.maxHeight=(0,y.HM)(yt)),Ot&&(Be.maxWidth=(0,y.HM)(Ot))}this._lastBoundingBoxSize=Ne,te(this._boundingBox.style,Be)}_resetBoundingBoxStyles(){te(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){te(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(me,Pe){const Ne={},Be=this._hasExactPosition(),yt=this._hasFlexibleDimensions,Ot=this._overlayRef.getConfig();if(Be){const fn=this._viewportRuler.getViewportScrollPosition();te(Ne,this._getExactOverlayY(Pe,me,fn)),te(Ne,this._getExactOverlayX(Pe,me,fn))}else Ne.position="static";let Yt="",jt=this._getOffset(Pe,"x"),cn=this._getOffset(Pe,"y");jt&&(Yt+=`translateX(${jt}px) `),cn&&(Yt+=`translateY(${cn}px)`),Ne.transform=Yt.trim(),Ot.maxHeight&&(Be?Ne.maxHeight=(0,y.HM)(Ot.maxHeight):yt&&(Ne.maxHeight="")),Ot.maxWidth&&(Be?Ne.maxWidth=(0,y.HM)(Ot.maxWidth):yt&&(Ne.maxWidth="")),te(this._pane.style,Ne)}_getExactOverlayY(me,Pe,Ne){let Be={top:"",bottom:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),"bottom"===me.overlayY?Be.bottom=this._document.documentElement.clientHeight-(yt.y+this._overlayRect.height)+"px":Be.top=(0,y.HM)(yt.y),Be}_getExactOverlayX(me,Pe,Ne){let Ot,Be={left:"",right:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),Ot=this._isRtl()?"end"===me.overlayX?"left":"right":"end"===me.overlayX?"right":"left","right"===Ot?Be.right=this._document.documentElement.clientWidth-(yt.x+this._overlayRect.width)+"px":Be.left=(0,y.HM)(yt.x),Be}_getScrollVisibility(){const me=this._getOriginRect(),Pe=this._pane.getBoundingClientRect(),Ne=this._scrollables.map(Be=>Be.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(me,Ne),isOriginOutsideView:S(me,Ne),isOverlayClipped:M(Pe,Ne),isOverlayOutsideView:S(Pe,Ne)}}_subtractOverflows(me,...Pe){return Pe.reduce((Ne,Be)=>Ne-Math.max(Be,0),me)}_getNarrowedViewportRect(){const me=this._document.documentElement.clientWidth,Pe=this._document.documentElement.clientHeight,Ne=this._viewportRuler.getViewportScrollPosition();return{top:Ne.top+this._viewportMargin,left:Ne.left+this._viewportMargin,right:Ne.left+me-this._viewportMargin,bottom:Ne.top+Pe-this._viewportMargin,width:me-2*this._viewportMargin,height:Pe-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(me,Pe){return"x"===Pe?null==me.offsetX?this._offsetX:me.offsetX:null==me.offsetY?this._offsetY:me.offsetY}_validatePositions(){}_addPanelClasses(me){this._pane&&(0,y.Eq)(me).forEach(Pe=>{""!==Pe&&-1===this._appliedPanelClasses.indexOf(Pe)&&(this._appliedPanelClasses.push(Pe),this._pane.classList.add(Pe))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(me=>{this._pane.classList.remove(me)}),this._appliedPanelClasses=[])}_getOriginRect(){const me=this._origin;if(me instanceof D.ElementRef)return me.nativeElement.getBoundingClientRect();if(me instanceof Element)return me.getBoundingClientRect();const Pe=me.width||0,Ne=me.height||0;return{top:me.y,bottom:me.y+Ne,left:me.x,right:me.x+Pe,height:Ne,width:Pe}}}function te(Ke,me){for(let Pe in me)me.hasOwnProperty(Pe)&&(Ke[Pe]=me[Pe]);return Ke}function ue(Ke){if("number"!=typeof Ke&&null!=Ke){const[me,Pe]=Ke.split(Z);return Pe&&"px"!==Pe?null:parseFloat(me)}return Ke||null}function ye(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const Ye="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(me){const Pe=me.getConfig();this._overlayRef=me,this._width&&!Pe.width&&me.updateSize({width:this._width}),this._height&&!Pe.height&&me.updateSize({height:this._height}),me.hostElement.classList.add(Ye),this._isDisposed=!1}top(me=""){return this._bottomOffset="",this._topOffset=me,this._alignItems="flex-start",this}left(me=""){return this._xOffset=me,this._xPosition="left",this}bottom(me=""){return this._topOffset="",this._bottomOffset=me,this._alignItems="flex-end",this}right(me=""){return this._xOffset=me,this._xPosition="right",this}start(me=""){return this._xOffset=me,this._xPosition="start",this}end(me=""){return this._xOffset=me,this._xPosition="end",this}width(me=""){return this._overlayRef?this._overlayRef.updateSize({width:me}):this._width=me,this}height(me=""){return this._overlayRef?this._overlayRef.updateSize({height:me}):this._height=me,this}centerHorizontally(me=""){return this.left(me),this._xPosition="center",this}centerVertically(me=""){return this.top(me),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement.style,Ne=this._overlayRef.getConfig(),{width:Be,height:yt,maxWidth:Ot,maxHeight:Yt}=Ne,jt=!("100%"!==Be&&"100vw"!==Be||Ot&&"100%"!==Ot&&"100vw"!==Ot),cn=!("100%"!==yt&&"100vh"!==yt||Yt&&"100%"!==Yt&&"100vh"!==Yt),fn=this._xPosition,an=this._xOffset,En="rtl"===this._overlayRef.getConfig().direction;let un="",Bt="",Ft="";jt?Ft="flex-start":"center"===fn?(Ft="center",En?Bt=an:un=an):En?"left"===fn||"end"===fn?(Ft="flex-end",un=an):("right"===fn||"start"===fn)&&(Ft="flex-start",Bt=an):"left"===fn||"start"===fn?(Ft="flex-start",un=an):("right"===fn||"end"===fn)&&(Ft="flex-end",Bt=an),me.position=this._cssPosition,me.marginLeft=jt?"0":un,me.marginTop=cn?"0":this._topOffset,me.marginBottom=this._bottomOffset,me.marginRight=jt?"0":Bt,Pe.justifyContent=Ft,Pe.alignItems=cn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement,Ne=Pe.style;Pe.classList.remove(Ye),Ne.justifyContent=Ne.alignItems=me.marginTop=me.marginBottom=me.marginLeft=me.marginRight=me.position="",this._overlayRef=null,this._isDisposed=!0}}let Et=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt}global(){return new Ze}flexibleConnectedTo(Pe){return new H(Pe,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(j))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),Te=0,qe=(()=>{class Ke{constructor(Pe,Ne,Be,yt,Ot,Yt,jt,cn,fn,an,En,un){this.scrollStrategies=Pe,this._overlayContainer=Ne,this._componentFactoryResolver=Be,this._positionBuilder=yt,this._keyboardDispatcher=Ot,this._injector=Yt,this._ngZone=jt,this._document=cn,this._directionality=fn,this._location=an,this._outsideClickDispatcher=En,this._animationsModuleType=un}create(Pe){const Ne=this._createHostElement(),Be=this._createPaneElement(Ne),yt=this._createPortalOutlet(Be),Ot=new P(Pe);return Ot.direction=Ot.direction||this._directionality.value,new B(yt,Ne,Be,Ot,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Pe){const Ne=this._document.createElement("div");return Ne.id="cdk-overlay-"+Te++,Ne.classList.add("cdk-overlay-pane"),Pe.appendChild(Ne),Ne}_createHostElement(){const Pe=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Pe),Pe}_createPortalOutlet(Pe){return this._appRef||(this._appRef=this._injector.get(D.ApplicationRef)),new l.u0(Pe,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(I),D.\u0275\u0275inject(j),D.\u0275\u0275inject(D.ComponentFactoryResolver),D.\u0275\u0275inject(Et),D.\u0275\u0275inject(ne),D.\u0275\u0275inject(D.Injector),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(o.Is),D.\u0275\u0275inject(f.Location),D.\u0275\u0275inject(ee),D.\u0275\u0275inject(D.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();const Ee=[{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"}],Ie=new D.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,D.inject)(qe);return()=>Ke.scrollStrategies.reposition()}});let Ce=(()=>{class Ke{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(D.ElementRef))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Ke})(),ge=(()=>{class Ke{get offsetX(){return this._offsetX}set offsetX(Pe){this._offsetX=Pe,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Pe){this._offsetY=Pe,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Pe){this._disposeOnNavigation=Pe}constructor(Pe,Ne,Be,yt,Ot){this._overlay=Pe,this._dir=Ot,this._backdropSubscription=c.w0.EMPTY,this._attachSubscription=c.w0.EMPTY,this._detachSubscription=c.w0.EMPTY,this._positionSubscription=c.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new D.EventEmitter,this.positionChange=new D.EventEmitter,this.attach=new D.EventEmitter,this.detach=new D.EventEmitter,this.overlayKeydown=new D.EventEmitter,this.overlayOutsideClick=new D.EventEmitter,this._templatePortal=new l.UE(Ne,Be),this._scrollStrategyFactory=yt,this.scrollStrategy=this._scrollStrategyFactory()}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(Pe){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Pe.origin&&this.open&&this._position.apply()),Pe.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ee);const Pe=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Pe.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Pe.detachments().subscribe(()=>this.detach.emit()),Pe.keydownEvents().subscribe(Ne=>{this.overlayKeydown.next(Ne),Ne.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(Ne)&&(Ne.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ne=>{this.overlayOutsideClick.next(Ne)})}_buildConfig(){const Pe=this._position=this.positionStrategy||this._createPositionStrategy(),Ne=new P({direction:this._dir,positionStrategy:Pe,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ne.width=this.width),(this.height||0===this.height)&&(Ne.height=this.height),(this.minWidth||0===this.minWidth)&&(Ne.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ne.minHeight=this.minHeight),this.backdropClass&&(Ne.backdropClass=this.backdropClass),this.panelClass&&(Ne.panelClass=this.panelClass),Ne}_updatePositionStrategy(Pe){const Ne=this.positions.map(Be=>({originX:Be.originX,originY:Be.originY,overlayX:Be.overlayX,overlayY:Be.overlayY,offsetX:Be.offsetX||this.offsetX,offsetY:Be.offsetY||this.offsetY,panelClass:Be.panelClass||void 0}));return Pe.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ne).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Pe=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Pe),Pe}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ce?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(Pe=>{this.backdropClick.emit(Pe)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,h.o)(()=>this.positionChange.observers.length>0)).subscribe(Pe=>{this.positionChange.emit(Pe),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(qe),D.\u0275\u0275directiveInject(D.TemplateRef),D.\u0275\u0275directiveInject(D.ViewContainerRef),D.\u0275\u0275directiveInject(Ie),D.\u0275\u0275directiveInject(o.Is,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,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",D.booleanAttribute],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",D.booleanAttribute],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.booleanAttribute],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.booleanAttribute],push:["cdkConnectedOverlayPush","push",D.booleanAttribute],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.booleanAttribute]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.\u0275\u0275InputTransformsFeature,D.\u0275\u0275NgOnChangesFeature]})}return Ke})();const q={provide:Ie,deps:[qe],useFactory:function Ae(Ke){return()=>Ke.scrollStrategies.reposition()}};let Re=(()=>{class Ke{static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[qe,q],imports:[o.vT,l.eL,n.Cl,n.Cl]})}return Ke})()},2831:(Me,ie,_)=>{"use strict";_.d(ie,{Mq:()=>d,Oy:()=>S,ht:()=>w,i$:()=>l,kV:()=>x,qK:()=>m,sA:()=>T,t4:()=>y});var n=_(9212),f=_(6814);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let v,y=(()=>{class M{constructor(I){this._platformId=I,this.isBrowser=this._platformId?(0,f.isPlatformBrowser)(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&&!D)&&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}static#e=this.\u0275fac=function(P){return new(P||M)(n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function m(){if(v)return v;if("object"!=typeof document||!document)return v=new Set(s),v;let M=document.createElement("input");return v=new Set(s.filter(k=>(M.setAttribute("type",k),M.type===k))),v}let h,c,b;function l(M){return function o(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?M:!!M.capture}function d(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const M=Element.prototype.scrollTo;c=!!M&&!/\{\s*\[native code\]\s*\}/.test(M.toString())}}return c}function x(M){if(function C(){if(null==b){const M=typeof document<"u"?document.head:null;b=!(!M||!M.createShadowRoot&&!M.attachShadow)}return b}()){const k=M.getRootNode?M.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&k instanceof ShadowRoot)return k}return null}function w(){let M=typeof document<"u"&&document?document.activeElement:null;for(;M&&M.shadowRoot;){const k=M.shadowRoot.activeElement;if(k===M)break;M=k}return M}function T(M){return M.composedPath?M.composedPath()[0]:M.target}function S(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Me,ie,_)=>{"use strict";_.d(ie,{C5:()=>o,Pl:()=>w,UE:()=>l,eL:()=>S,ig:()=>C,u0:()=>g});var n=_(9212),f=_(6814);class h{attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class o extends h{constructor(I,P,A,L,F){super(),this.component=I,this.viewContainerRef=P,this.injector=A,this.componentFactoryResolver=L,this.projectableNodes=F}}class l extends h{constructor(I,P,A,L){super(),this.templateRef=I,this.viewContainerRef=P,this.context=A,this.injector=L}get origin(){return this.templateRef.elementRef}attach(I,P=this.context){return this.context=P,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class r extends h{constructor(I){super(),this.element=I instanceof n.ElementRef?I.nativeElement:I}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof o?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof l?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof r?(this._attachedPortal=I,this.attachDomPortal(I)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class g extends c{constructor(I,P,A,L,F){super(),this.outletElement=I,this._componentFactoryResolver=P,this._appRef=A,this._defaultInjector=L,this.attachDomPortal=R=>{const U=R.element,W=this._document.createComment("dom-portal");U.parentNode.insertBefore(W,U),this.outletElement.appendChild(U),this._attachedPortal=R,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(U,W)})},this._document=F}attachComponentPortal(I){const A=(I.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(I.component);let L;return I.viewContainerRef?(L=I.viewContainerRef.createComponent(A,I.viewContainerRef.length,I.injector||I.viewContainerRef.injector,I.projectableNodes||void 0),this.setDisposeFn(()=>L.destroy())):(L=A.create(I.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(L.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(L.hostView),L.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(L)),this._attachedPortal=I,L}attachTemplatePortal(I){let P=I.viewContainerRef,A=P.createEmbeddedView(I.templateRef,I.context,{injector:I.injector});return A.rootNodes.forEach(L=>this.outletElement.appendChild(L)),A.detectChanges(),this.setDisposeFn(()=>{let L=P.indexOf(A);-1!==L&&P.remove(L)}),this._attachedPortal=I,A}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let C=(()=>{class k extends l{constructor(P,A){super(P,A)}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),w=(()=>{class k extends c{constructor(P,A,L){super(),this._componentFactoryResolver=P,this._viewContainerRef=A,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=F=>{const R=F.element,U=this._document.createComment("dom-portal");F.setAttachedHost(this),R.parentNode.insertBefore(U,R),this._getRootNode().appendChild(R),this._attachedPortal=F,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(R,U)})},this._document=L}get portal(){return this._attachedPortal}set portal(P){this.hasAttached()&&!P&&!this._isInitialized||(this.hasAttached()&&super.detach(),P&&super.attach(P),this._attachedPortal=P||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(P){P.setAttachedHost(this);const A=null!=P.viewContainerRef?P.viewContainerRef:this._viewContainerRef,F=(P.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(P.component),R=A.createComponent(F,A.length,P.injector||A.injector,P.projectableNodes||void 0);return A!==this._viewContainerRef&&this._getRootNode().appendChild(R.hostView.rootNodes[0]),super.setDisposeFn(()=>R.destroy()),this._attachedPortal=P,this._attachedRef=R,this.attached.emit(R),R}attachTemplatePortal(P){P.setAttachedHost(this);const A=this._viewContainerRef.createEmbeddedView(P.templateRef,P.context,{injector:P.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=P,this._attachedRef=A,this.attached.emit(A),A}_getRootNode(){const P=this._viewContainerRef.element.nativeElement;return P.nodeType===P.ELEMENT_NODE?P:P.parentNode}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(f.DOCUMENT))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),S=(()=>{class k{static#e=this.\u0275fac=function(A){return new(A||k)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return k})()},6672:(Me,ie,_)=>{"use strict";_.d(ie,{Cl:()=>B,ZD:()=>j,mF:()=>S,rL:()=>I});var n=_(2495),f=_(9212),D=_(8645),y=_(2096),u=_(5592),v=_(2438),h=(_(927),_(6410),_(8672)),o=_(2181),l=_(2831),r=_(6814),c=_(9388);let S=(()=>{class ${constructor(H,te,ue){this._ngZone=H,this._platform=te,this._scrolled=new D.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(H){this.scrollContainers.has(H)||this.scrollContainers.set(H,H.elementScrolled().subscribe(()=>this._scrolled.next(H)))}deregister(H){const te=this.scrollContainers.get(H);te&&(te.unsubscribe(),this.scrollContainers.delete(H))}scrolled(H=20){return this._platform.isBrowser?new u.y(te=>{this._globalSubscription||this._addGlobalListener();const ue=H>0?this._scrolled.pipe((0,h.e)(H)).subscribe(te):this._scrolled.subscribe(te);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((H,te)=>this.deregister(te)),this._scrolled.complete()}ancestorScrolled(H,te){const ue=this.getAncestorScrollContainers(H);return this.scrolled(te).pipe((0,o.h)(ye=>!ye||ue.indexOf(ye)>-1))}getAncestorScrollContainers(H){const te=[];return this.scrollContainers.forEach((ue,ye)=>{this._scrollableContainsElement(ye,H)&&te.push(ye)}),te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(H,te){let ue=(0,n.fI)(te),ye=H.getElementRef().nativeElement;do{if(ue==ye)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const H=this._getWindow();return(0,v.R)(H.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),I=(()=>{class ${constructor(H,te,ue){this._platform=H,this._change=new D.x,this._changeListener=ye=>{this._change.next(ye)},this._document=ue,te.runOutsideAngular(()=>{if(H.isBrowser){const ye=this._getWindow();ye.addEventListener("resize",this._changeListener),ye.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const H=this._getWindow();H.removeEventListener("resize",this._changeListener),H.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const H={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),H}getViewportRect(){const H=this.getViewportScrollPosition(),{width:te,height:ue}=this.getViewportSize();return{top:H.top,left:H.left,bottom:H.top+ue,right:H.left+te,height:ue,width:te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const H=this._document,te=this._getWindow(),ue=H.documentElement,ye=ue.getBoundingClientRect();return{top:-ye.top||H.body.scrollTop||te.scrollY||ue.scrollTop||0,left:-ye.left||H.body.scrollLeft||te.scrollX||ue.scrollLeft||0}}change(H=20){return H>0?this._change.pipe((0,h.e)(H)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const H=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:H.innerWidth,height:H.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),j=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({})}return $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[c.vT,j,c.vT,j]})}return $})()},6814:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{APP_BASE_HREF:()=>d,AsyncPipe:()=>Fi,BrowserPlatformLocation:()=>h,CommonModule:()=>Jr,CurrencyPipe:()=>or,DATE_PIPE_DEFAULT_OPTIONS:()=>Mi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Ln,DOCUMENT:()=>v,DatePipe:()=>Vn,DecimalPipe:()=>Cr,FormStyle:()=>P,FormatWidth:()=>L,HashLocationStrategy:()=>b,I18nPluralPipe:()=>sr,I18nSelectPipe:()=>pr,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>lr,JsonPipe:()=>Gr,KeyValuePipe:()=>Lr,LOCATION_INITIALIZED:()=>m,Location:()=>C,LocationStrategy:()=>c,LowerCasePipe:()=>mr,NgClass:()=>wt,NgComponentOutlet:()=>vt,NgFor:()=>ze,NgForOf:()=>ze,NgForOfContext:()=>dn,NgIf:()=>pe,NgIfContext:()=>de,NgLocaleLocalization:()=>qt,NgLocalization:()=>ot,NgOptimizedImage:()=>jr,NgPlural:()=>qi,NgPluralCase:()=>ki,NgStyle:()=>zi,NgSwitch:()=>On,NgSwitchCase:()=>Bn,NgSwitchDefault:()=>Ci,NgTemplateOutlet:()=>Gi,NumberFormatStyle:()=>k,NumberSymbol:()=>F,PRECONNECT_CHECK_BLOCKLIST:()=>_s,PathLocationStrategy:()=>g,PercentPipe:()=>Zi,PlatformLocation:()=>s,Plural:()=>I,SlicePipe:()=>Fr,TitleCasePipe:()=>_n,TranslationWidth:()=>A,UpperCasePipe:()=>wn,VERSION:()=>Gt,ViewportScroller:()=>on,WeekDay:()=>R,XhrFactory:()=>Gn,formatCurrency:()=>Nn,formatDate:()=>yt,formatNumber:()=>_i,formatPercent:()=>ui,getCurrencySymbol:()=>Ae,getLocaleCurrencyCode:()=>Ye,getLocaleCurrencyName:()=>$e,getLocaleCurrencySymbol:()=>Ge,getLocaleDateFormat:()=>Z,getLocaleDateTimeFormat:()=>te,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Ie,getLocaleEraNames:()=>j,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>Ee,getLocaleFirstDayOfWeek:()=>B,getLocaleId:()=>U,getLocaleMonthNames:()=>ee,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Et,getLocaleTimeFormat:()=>H,getLocaleWeekEndRange:()=>$,getNumberOfCurrencyDigits:()=>Re,isPlatformBrowser:()=>gt,isPlatformServer:()=>Tt,isPlatformWorkerApp:()=>It,isPlatformWorkerUi:()=>$t,provideCloudflareLoader:()=>ti,provideCloudinaryLoader:()=>Es,provideImageKitLoader:()=>Bi,provideImgixLoader:()=>je,registerLocaleData:()=>it,\u0275DomAdapter:()=>u,\u0275NullViewportScroller:()=>An,\u0275PLATFORM_BROWSER_ID:()=>Tr,\u0275PLATFORM_SERVER_ID:()=>qr,\u0275PLATFORM_WORKER_APP_ID:()=>Ur,\u0275PLATFORM_WORKER_UI_ID:()=>Dt,\u0275getDOM:()=>D,\u0275normalizeQueryParams:()=>r,\u0275parseCookieValue:()=>dt,\u0275setRootDomAdapter:()=>y});var n=_(9212);let f=null;function D(){return f}function y(J){f||(f=J)}class u{}const v=new n.InjectionToken("DocumentToken");let s=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(h),providedIn:"platform"})}return J})();const m=new n.InjectionToken("Location Initialized");let h=(()=>{class J extends s{constructor(){super(),this._doc=(0,n.inject)(v),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("popstate",le,!1),()=>ve.removeEventListener("popstate",le)}onHashChange(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("hashchange",le,!1),()=>ve.removeEventListener("hashchange",le)}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(le){this._location.pathname=le}pushState(le,ve,lt){this._history.pushState(le,ve,lt)}replaceState(le,ve,lt){this._history.replaceState(le,ve,lt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>new J,providedIn:"platform"})}return J})();function o(J,Fe){if(0==J.length)return Fe;if(0==Fe.length)return J;let le=0;return J.endsWith("/")&&le++,Fe.startsWith("/")&&le++,2==le?J+Fe.substring(1):1==le?J+Fe:J+"/"+Fe}function l(J){const Fe=J.match(/#|\?|$/),le=Fe&&Fe.index||J.length;return J.slice(0,le-("/"===J[le-1]?1:0))+J.slice(le)}function r(J){return J&&"?"!==J[0]?"?"+J:J}let c=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(g),providedIn:"root"})}return J})();const d=new n.InjectionToken("appBaseHref");let g=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._removeListenerFns=[],this._baseHref=ve??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return o(this._baseHref,le)}path(le=!1){const ve=this._platformLocation.pathname+r(this._platformLocation.search),lt=this._platformLocation.hash;return lt&&le?`${ve}${lt}`:ve}pushState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),b=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=ve&&(this._baseHref=ve)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let ve=this._platformLocation.hash;return null==ve&&(ve="#"),ve.length>0?ve.substring(1):ve}prepareExternalUrl(le){const ve=o(this._baseHref,le);return ve.length>0?"#"+ve:ve}pushState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})(),C=(()=>{class J{constructor(le){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=le;const ve=this._locationStrategy.getBaseHref();this._basePath=function S(J){if(new RegExp("^(https?:)?//").test(J)){const[,le]=J.split(/\/\/[^\/]+/);return le}return J}(l(T(ve))),this._locationStrategy.onPopState(lt=>{this._subject.emit({url:this.path(!0),pop:!0,state:lt.state,type:lt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(le=!1){return this.normalize(this._locationStrategy.path(le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(le,ve=""){return this.path()==this.normalize(le+r(ve))}normalize(le){return J.stripTrailingSlash(function w(J,Fe){if(!J||!Fe.startsWith(J))return Fe;const le=Fe.substring(J.length);return""===le||["/",";","?","#"].includes(le[0])?le:Fe}(this._basePath,T(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._locationStrategy.prepareExternalUrl(le)}go(le,ve="",lt=null){this._locationStrategy.pushState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}replaceState(le,ve="",lt=null){this._locationStrategy.replaceState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(le=0){this._locationStrategy.historyGo?.(le)}onUrlChange(le){return this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ve=>{this._notifyUrlChangeListeners(ve.url,ve.state)})),()=>{const ve=this._urlChangeListeners.indexOf(le);this._urlChangeListeners.splice(ve,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(le="",ve){this._urlChangeListeners.forEach(lt=>lt(le,ve))}subscribe(le,ve,lt){return this._subject.subscribe({next:le,error:ve,complete:lt})}static#e=this.normalizeQueryParams=r;static#t=this.joinWithSlash=o;static#n=this.stripTrailingSlash=l;static#i=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(c))};static#r=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>function x(){return new C((0,n.\u0275\u0275inject)(c))}(),providedIn:"root"})}return J})();function T(J){return J.replace(/\/index.html$/,"")}const M={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var k=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(k||{}),I=function(J){return J[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J}(I||{}),P=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(P||{}),A=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(A||{}),L=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(L||{}),F=function(J){return J[J.Decimal=0]="Decimal",J[J.Group=1]="Group",J[J.List=2]="List",J[J.PercentSign=3]="PercentSign",J[J.PlusSign=4]="PlusSign",J[J.MinusSign=5]="MinusSign",J[J.Exponential=6]="Exponential",J[J.SuperscriptingExponent=7]="SuperscriptingExponent",J[J.PerMille=8]="PerMille",J[J.Infinity=9]="Infinity",J[J.NaN=10]="NaN",J[J.TimeSeparator=11]="TimeSeparator",J[J.CurrencyDecimal=12]="CurrencyDecimal",J[J.CurrencyGroup=13]="CurrencyGroup",J}(F||{}),R=function(J){return J[J.Sunday=0]="Sunday",J[J.Monday=1]="Monday",J[J.Tuesday=2]="Tuesday",J[J.Wednesday=3]="Wednesday",J[J.Thursday=4]="Thursday",J[J.Friday=5]="Friday",J[J.Saturday=6]="Saturday",J}(R||{});function U(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.LocaleId]}function W(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DayPeriodsFormat],ve[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Fe);return Ce(zt,le)}function ne(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DaysFormat],ve[n.\u0275LocaleDataIndex.DaysStandalone]],Fe);return Ce(zt,le)}function ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.MonthsFormat],ve[n.\u0275LocaleDataIndex.MonthsStandalone]],Fe);return Ce(zt,le)}function j(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Eras],Fe)}function B(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function $(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.WeekendRange]}function Z(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateFormat],Fe)}function H(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.TimeFormat],Fe)}function te(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateTimeFormat],Fe)}function ue(J,Fe){const le=(0,n.\u0275findLocaleData)(J),ve=le[n.\u0275LocaleDataIndex.NumberSymbols][Fe];if(typeof ve>"u"){if(Fe===F.CurrencyDecimal)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Decimal];if(Fe===F.CurrencyGroup)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Group]}return ve}function ye(J,Fe){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.NumberFormats][Fe]}function Ge(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function $e(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencyName]||null}function Ye(J){return(0,n.\u0275getLocaleCurrencyCode)(J)}const Et=n.\u0275getLocalePluralCase;function Te(J){if(!J[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(J){const Fe=(0,n.\u0275findLocaleData)(J);return Te(Fe),(Fe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ve=>"string"==typeof ve?ge(ve):[ge(ve[0]),ge(ve[1])])}function Ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J);Te(ve);const zt=Ce([ve[n.\u0275LocaleDataIndex.ExtraData][0],ve[n.\u0275LocaleDataIndex.ExtraData][1]],Fe)||[];return Ce(zt,le)||[]}function Ie(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Directionality]}function Ce(J,Fe){for(let le=Fe;le>-1;le--)if(typeof J[le]<"u")return J[le];throw new Error("Locale data API: locale data undefined")}function ge(J){const[Fe,le]=J.split(":");return{hours:+Fe,minutes:+le}}function Ae(J,Fe,le="en"){const ve=function Ze(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Currencies]}(le)[J]||M[J]||[],lt=ve[1];return"narrow"===Fe&&"string"==typeof lt?lt:ve[0]||J}const q=2;function Re(J){let Fe;const le=M[J];return le&&(Fe=le[2]),"number"==typeof Fe?Fe:q}const ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ke={},me=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Pe=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(Pe||{}),Ne=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(Ne||{}),Be=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(Be||{});function yt(J,Fe,le,ve){let lt=function _e(J){if(z(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[lt,zt=1,nn=1]=J.split("-").map(xn=>+xn);return Ot(lt,zt-1,nn)}const le=parseFloat(J);if(!isNaN(J-le))return new Date(le);let ve;if(ve=J.match(ke))return function ce(J){const Fe=new Date(0);let le=0,ve=0;const lt=J[8]?Fe.setUTCFullYear:Fe.setFullYear,zt=J[8]?Fe.setUTCHours:Fe.setHours;J[9]&&(le=Number(J[9]+J[10]),ve=Number(J[9]+J[11])),lt.call(Fe,Number(J[1]),Number(J[2])-1,Number(J[3]));const nn=Number(J[4]||0)-le,xn=Number(J[5]||0)-ve,Li=Number(J[6]||0),di=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return zt.call(Fe,nn,xn,Li,di),Fe}(ve)}const Fe=new Date(J);if(!z(Fe))throw new Error(`Unable to convert "${J}" into a date`);return Fe}(J);Fe=Yt(le,Fe)||Fe;let xn,nn=[];for(;Fe;){if(xn=me.exec(Fe),!xn){nn.push(Fe);break}{nn=nn.concat(xn.slice(1));const Un=nn.pop();if(!Un)break;Fe=Un}}let Li=lt.getTimezoneOffset();ve&&(Li=Pt(ve,Li),lt=function bt(J,Fe,le){const ve=le?-1:1,lt=J.getTimezoneOffset();return function Nt(J,Fe){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+Fe),J}(J,ve*(Pt(Fe,lt)-lt))}(lt,ve,!0));let di="";return nn.forEach(Un=>{const Xn=function Ct(J){if(Oe[J])return Oe[J];let Fe;switch(J){case"G":case"GG":case"GGG":Fe=un(Be.Eras,A.Abbreviated);break;case"GGGG":Fe=un(Be.Eras,A.Wide);break;case"GGGGG":Fe=un(Be.Eras,A.Narrow);break;case"y":Fe=an(Ne.FullYear,1,0,!1,!0);break;case"yy":Fe=an(Ne.FullYear,2,0,!0,!0);break;case"yyy":Fe=an(Ne.FullYear,3,0,!1,!0);break;case"yyyy":Fe=an(Ne.FullYear,4,0,!1,!0);break;case"Y":Fe=ut(1);break;case"YY":Fe=ut(2,!0);break;case"YYY":Fe=ut(3);break;case"YYYY":Fe=ut(4);break;case"M":case"L":Fe=an(Ne.Month,1,1);break;case"MM":case"LL":Fe=an(Ne.Month,2,1);break;case"MMM":Fe=un(Be.Months,A.Abbreviated);break;case"MMMM":Fe=un(Be.Months,A.Wide);break;case"MMMMM":Fe=un(Be.Months,A.Narrow);break;case"LLL":Fe=un(Be.Months,A.Abbreviated,P.Standalone);break;case"LLLL":Fe=un(Be.Months,A.Wide,P.Standalone);break;case"LLLLL":Fe=un(Be.Months,A.Narrow,P.Standalone);break;case"w":Fe=tt(1);break;case"ww":Fe=tt(2);break;case"W":Fe=tt(1,!0);break;case"d":Fe=an(Ne.Date,1);break;case"dd":Fe=an(Ne.Date,2);break;case"c":case"cc":Fe=an(Ne.Day,1);break;case"ccc":Fe=un(Be.Days,A.Abbreviated,P.Standalone);break;case"cccc":Fe=un(Be.Days,A.Wide,P.Standalone);break;case"ccccc":Fe=un(Be.Days,A.Narrow,P.Standalone);break;case"cccccc":Fe=un(Be.Days,A.Short,P.Standalone);break;case"E":case"EE":case"EEE":Fe=un(Be.Days,A.Abbreviated);break;case"EEEE":Fe=un(Be.Days,A.Wide);break;case"EEEEE":Fe=un(Be.Days,A.Narrow);break;case"EEEEEE":Fe=un(Be.Days,A.Short);break;case"a":case"aa":case"aaa":Fe=un(Be.DayPeriods,A.Abbreviated);break;case"aaaa":Fe=un(Be.DayPeriods,A.Wide);break;case"aaaaa":Fe=un(Be.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":Fe=un(Be.DayPeriods,A.Abbreviated,P.Standalone,!0);break;case"bbbb":Fe=un(Be.DayPeriods,A.Wide,P.Standalone,!0);break;case"bbbbb":Fe=un(Be.DayPeriods,A.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":Fe=un(Be.DayPeriods,A.Abbreviated,P.Format,!0);break;case"BBBB":Fe=un(Be.DayPeriods,A.Wide,P.Format,!0);break;case"BBBBB":Fe=un(Be.DayPeriods,A.Narrow,P.Format,!0);break;case"h":Fe=an(Ne.Hours,1,-12);break;case"hh":Fe=an(Ne.Hours,2,-12);break;case"H":Fe=an(Ne.Hours,1);break;case"HH":Fe=an(Ne.Hours,2);break;case"m":Fe=an(Ne.Minutes,1);break;case"mm":Fe=an(Ne.Minutes,2);break;case"s":Fe=an(Ne.Seconds,1);break;case"ss":Fe=an(Ne.Seconds,2);break;case"S":Fe=an(Ne.FractionalSeconds,1);break;case"SS":Fe=an(Ne.FractionalSeconds,2);break;case"SSS":Fe=an(Ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Fe=Ft(Pe.Short);break;case"ZZZZZ":Fe=Ft(Pe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Fe=Ft(Pe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Fe=Ft(Pe.Long);break;default:return null}return Oe[J]=Fe,Fe}(Un);di+=Xn?Xn(lt,le,Li):"''"===Un?"'":Un.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),di}function Ot(J,Fe,le){const ve=new Date(0);return ve.setFullYear(J,Fe,le),ve.setHours(0,0,0),ve}function Yt(J,Fe){const le=U(J);if(Ke[le]=Ke[le]||{},Ke[le][Fe])return Ke[le][Fe];let ve="";switch(Fe){case"shortDate":ve=Z(J,L.Short);break;case"mediumDate":ve=Z(J,L.Medium);break;case"longDate":ve=Z(J,L.Long);break;case"fullDate":ve=Z(J,L.Full);break;case"shortTime":ve=H(J,L.Short);break;case"mediumTime":ve=H(J,L.Medium);break;case"longTime":ve=H(J,L.Long);break;case"fullTime":ve=H(J,L.Full);break;case"short":const lt=Yt(J,"shortTime"),zt=Yt(J,"shortDate");ve=jt(te(J,L.Short),[lt,zt]);break;case"medium":const nn=Yt(J,"mediumTime"),xn=Yt(J,"mediumDate");ve=jt(te(J,L.Medium),[nn,xn]);break;case"long":const Li=Yt(J,"longTime"),di=Yt(J,"longDate");ve=jt(te(J,L.Long),[Li,di]);break;case"full":const Un=Yt(J,"fullTime"),Xn=Yt(J,"fullDate");ve=jt(te(J,L.Full),[Un,Xn])}return ve&&(Ke[le][Fe]=ve),ve}function jt(J,Fe){return Fe&&(J=J.replace(/\{([^}]+)}/g,function(le,ve){return null!=Fe&&ve in Fe?Fe[ve]:le})),J}function cn(J,Fe,le="-",ve,lt){let zt="";(J<0||lt&&J<=0)&&(lt?J=1-J:(J=-J,zt=le));let nn=String(J);for(;nn.length0||xn>-le)&&(xn+=le),J===Ne.Hours)0===xn&&-12===le&&(xn=12);else if(J===Ne.FractionalSeconds)return function fn(J,Fe){return cn(J,3).substring(0,Fe)}(xn,Fe);const Li=ue(nn,F.MinusSign);return cn(xn,Fe,Li,ve,lt)}}function un(J,Fe,le=P.Format,ve=!1){return function(lt,zt){return function Bt(J,Fe,le,ve,lt,zt){switch(le){case Be.Months:return ee(Fe,lt,ve)[J.getMonth()];case Be.Days:return ne(Fe,lt,ve)[J.getDay()];case Be.DayPeriods:const nn=J.getHours(),xn=J.getMinutes();if(zt){const di=qe(Fe),Un=Ee(Fe,lt,ve),Xn=di.findIndex($i=>{if(Array.isArray($i)){const[Ii,Yi]=$i,is=nn>=Ii.hours&&xn>=Ii.minutes,kr=nn0?Math.floor(lt/60):Math.ceil(lt/60);switch(J){case Pe.Short:return(lt>=0?"+":"")+cn(nn,2,zt)+cn(Math.abs(lt%60),2,zt);case Pe.ShortGMT:return"GMT"+(lt>=0?"+":"")+cn(nn,1,zt);case Pe.Long:return"GMT"+(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);case Pe.Extended:return 0===ve?"Z":(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);default:throw new Error(`Unknown zone width "${J}"`)}}}const De=0,Ve=4;function St(J){return Ot(J.getFullYear(),J.getMonth(),J.getDate()+(Ve-J.getDay()))}function tt(J,Fe=!1){return function(le,ve){let lt;if(Fe){const zt=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,nn=le.getDate();lt=1+Math.floor((nn+zt)/7)}else{const zt=St(le),nn=function Xe(J){const Fe=Ot(J,De,1).getDay();return Ot(J,0,1+(Fe<=Ve?Ve:Ve+7)-Fe)}(zt.getFullYear()),xn=zt.getTime()-nn.getTime();lt=1+Math.round(xn/6048e5)}return cn(lt,J,ue(ve,F.MinusSign))}}function ut(J,Fe=!1){return function(le,ve){return cn(St(le).getFullYear(),J,ue(ve,F.MinusSign),Fe)}}const Oe={};function Pt(J,Fe){J=J.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(le)?Fe:le}function z(J){return J instanceof Date&&!isNaN(J.valueOf())}const oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Se=22,at=".",nt="0",mt=";",He=",",rt="#",Lt="\xa4",Xt="%";function tn(J,Fe,le,ve,lt,zt,nn=!1){let xn="",Li=!1;if(isFinite(J)){let di=function st(J){let ve,lt,zt,nn,xn,Fe=Math.abs(J)+"",le=0;for((lt=Fe.indexOf(at))>-1&&(Fe=Fe.replace(at,"")),(zt=Fe.search(/e/i))>0?(lt<0&&(lt=zt),lt+=+Fe.slice(zt+1),Fe=Fe.substring(0,zt)):lt<0&&(lt=Fe.length),zt=0;Fe.charAt(zt)===nt;zt++);if(zt===(xn=Fe.length))ve=[0],lt=1;else{for(xn--;Fe.charAt(xn)===nt;)xn--;for(lt-=zt,ve=[],nn=0;zt<=xn;zt++,nn++)ve[nn]=Number(Fe.charAt(zt))}return lt>Se&&(ve=ve.splice(0,Se-1),le=lt-1,lt=1),{digits:ve,exponent:le,integerLen:lt}}(J);nn&&(di=function Yn(J){if(0===J.digits[0])return J;const Fe=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===Fe?J.digits.push(0,0):1===Fe&&J.digits.push(0),J.integerLen+=2),J}(di));let Un=Fe.minInt,Xn=Fe.minFrac,$i=Fe.maxFrac;if(zt){const _r=zt.match(oe);if(null===_r)throw new Error(`${zt} is not a valid digit info`);const ur=_r[1],Ji=_r[3],rs=_r[5];null!=ur&&(Un=Ue(ur)),null!=Ji&&(Xn=Ue(Ji)),null!=rs?$i=Ue(rs):null!=Ji&&Xn>$i&&($i=Xn)}!function pn(J,Fe,le){if(Fe>le)throw new Error(`The minimum number of digits after fraction (${Fe}) is higher than the maximum (${le}).`);let ve=J.digits,lt=ve.length-J.integerLen;const zt=Math.min(Math.max(Fe,lt),le);let nn=zt+J.integerLen,xn=ve[nn];if(nn>0){ve.splice(Math.max(J.integerLen,nn));for(let Xn=nn;Xn=5)if(nn-1<0){for(let Xn=0;Xn>nn;Xn--)ve.unshift(0),J.integerLen++;ve.unshift(1),J.integerLen++}else ve[nn-1]++;for(;lt=di?Yi.pop():Li=!1),$i>=10?1:0},0);Un&&(ve.unshift(Un),J.integerLen++)}(di,Xn,$i);let Ii=di.digits,Yi=di.integerLen;const is=di.exponent;let kr=[];for(Li=Ii.every(_r=>!_r);Yi0?kr=Ii.splice(Yi,Ii.length):(kr=Ii,Ii=[0]);const ds=[];for(Ii.length>=Fe.lgSize&&ds.unshift(Ii.splice(-Fe.lgSize,Ii.length).join(""));Ii.length>Fe.gSize;)ds.unshift(Ii.splice(-Fe.gSize,Ii.length).join(""));Ii.length&&ds.unshift(Ii.join("")),xn=ds.join(ue(le,ve)),kr.length&&(xn+=ue(le,lt)+kr.join("")),is&&(xn+=ue(le,F.Exponential)+"+"+is)}else xn=ue(le,F.Infinity);return xn=J<0&&!Li?Fe.negPre+xn+Fe.negSuf:Fe.posPre+xn+Fe.posSuf,xn}function Nn(J,Fe,le,ve,lt){const nn=Hi(ye(Fe,k.Currency),ue(Fe,F.MinusSign));return nn.minFrac=Re(ve),nn.maxFrac=nn.minFrac,tn(J,nn,Fe,F.CurrencyGroup,F.CurrencyDecimal,lt).replace(Lt,le).replace(Lt,"").trim()}function ui(J,Fe,le){return tn(J,Hi(ye(Fe,k.Percent),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le,!0).replace(new RegExp(Xt,"g"),ue(Fe,F.PercentSign))}function _i(J,Fe,le){return tn(J,Hi(ye(Fe,k.Decimal),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le)}function Hi(J,Fe="-"){const le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ve=J.split(mt),lt=ve[0],zt=ve[1],nn=-1!==lt.indexOf(at)?lt.split(at):[lt.substring(0,lt.lastIndexOf(nt)+1),lt.substring(lt.lastIndexOf(nt)+1)],xn=nn[0],Li=nn[1]||"";le.posPre=xn.substring(0,xn.indexOf(rt));for(let Un=0;Un{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:function(ve){let lt=null;return ve?lt=new ve:(zt=n.\u0275\u0275inject(n.LOCALE_ID),lt=new qt(zt)),lt;var zt},providedIn:"root"})}return J})();function At(J,Fe,le,ve){let lt=`=${J}`;if(Fe.indexOf(lt)>-1||(lt=le.getPluralCategory(J,ve),Fe.indexOf(lt)>-1))return lt;if(Fe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${J}"`)}let qt=(()=>{class J extends ot{constructor(le){super(),this.locale=le}getPluralCategory(le,ve){switch(Et(ve||this.locale)(le)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})();function it(J,Fe,le){return(0,n.\u0275registerLocaleData)(J,Fe,le)}function dt(J,Fe){Fe=encodeURIComponent(Fe);for(const le of J.split(";")){const ve=le.indexOf("="),[lt,zt]=-1==ve?[le,""]:[le.slice(0,ve),le.slice(ve+1)];if(lt.trim()===Fe)return decodeURIComponent(zt)}return null}const ct=/\s+/,Ut=[];let wt=(()=>{class J{constructor(le,ve,lt,zt){this._iterableDiffers=le,this._keyValueDiffers=ve,this._ngEl=lt,this._renderer=zt,this.initialClasses=Ut,this.stateMap=new Map}set klass(le){this.initialClasses=null!=le?le.trim().split(ct):Ut}set ngClass(le){this.rawClass="string"==typeof le?le.trim().split(ct):le}ngDoCheck(){for(const ve of this.initialClasses)this._updateState(ve,!0);const le=this.rawClass;if(Array.isArray(le)||le instanceof Set)for(const ve of le)this._updateState(ve,!0);else if(null!=le)for(const ve of Object.keys(le))this._updateState(ve,!!le[ve]);this._applyStateDiff()}_updateState(le,ve){const lt=this.stateMap.get(le);void 0!==lt?(lt.enabled!==ve&&(lt.changed=!0,lt.enabled=ve),lt.touched=!0):this.stateMap.set(le,{enabled:ve,changed:!0,touched:!0})}_applyStateDiff(){for(const le of this.stateMap){const ve=le[0],lt=le[1];lt.changed?(this._toggleClass(ve,lt.enabled),lt.changed=!1):lt.touched||(lt.enabled&&this._toggleClass(ve,!1),this.stateMap.delete(ve)),lt.touched=!1}}_toggleClass(le,ve){(le=le.trim()).length>0&&le.split(ct).forEach(lt=>{ve?this._renderer.addClass(this._ngEl.nativeElement,lt):this._renderer.removeClass(this._ngEl.nativeElement,lt)})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return J})(),vt=(()=>{class J{constructor(le){this._viewContainerRef=le,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(le){return void 0!==le.ngComponentOutletNgModule||void 0!==le.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(le){return void 0!==le.ngComponentOutlet||void 0!==le.ngComponentOutletContent||void 0!==le.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(le)}ngOnChanges(le){if(this._needToReCreateComponentInstance(le)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ve=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(le)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Ht(ve)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ht(ve)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ve,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const le of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(le,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(le){for(const[ve,lt]of this._inputsUsed)lt?(le.setInput(ve,this.ngComponentOutletInputs[ve]),this._inputsUsed.set(ve,!1)):(le.setInput(ve,void 0),this._inputsUsed.delete(ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Ht(J){return J.get(n.NgModuleRef).injector}class dn{constructor(Fe,le,ve,lt){this.$implicit=Fe,this.ngForOf=le,this.index=ve,this.count=lt}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 ze=(()=>{class J{set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}constructor(le,ve,lt){this._viewContainer=le,this._template=ve,this._differs=lt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const ve=this._viewContainer;le.forEachOperation((lt,zt,nn)=>{if(null==lt.previousIndex)ve.createEmbeddedView(this._template,new dn(lt.item,this._ngForOf,-1,-1),null===nn?void 0:nn);else if(null==nn)ve.remove(null===zt?void 0:zt);else if(null!==zt){const xn=ve.get(zt);ve.move(xn,nn),en(xn,lt)}});for(let lt=0,zt=ve.length;lt{en(ve.get(lt.currentIndex),lt)})}static ngTemplateContextGuard(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return J})();function en(J,Fe){J.context.$implicit=Fe.item}let pe=(()=>{class J{constructor(le,ve){this._viewContainer=le,this._context=new de,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ve}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){Qe("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){Qe("ngIfElse",le),this._elseTemplateRef=le,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(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return J})();class de{constructor(){this.$implicit=null,this.ngIf=null}}function Qe(J,Fe){if(Fe&&!Fe.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Fe)}'.`)}class hn{constructor(Fe,le){this._viewContainerRef=Fe,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Fe){Fe&&!this._created?this.create():!Fe&&this._created&&this.destroy()}}let On=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews.push(le)}_matchCase(le){const ve=le===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ve,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ve}_updateDefaultCases(le){if(this._defaultViews.length>0&&le!==this._defaultUsed){this._defaultUsed=le;for(const ve of this._defaultViews)ve.enforceState(le)}}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return J})(),Bn=(()=>{class J{constructor(le,ve,lt){this.ngSwitch=lt,lt._addCase(),this._view=new hn(le,ve)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return J})(),Ci=(()=>{class J{constructor(le,ve,lt){lt._addDefault(new hn(le,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return J})(),qi=(()=>{class J{constructor(le){this._localization=le,this._caseViews={}}set ngPlural(le){this._updateView(le)}addCase(le,ve){this._caseViews[le]=ve}_updateView(le){this._clearViews();const lt=At(le,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[lt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(le){le&&(this._activeView=le,this._activeView.create())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return J})(),ki=(()=>{class J{constructor(le,ve,lt,zt){this.value=le;const nn=!isNaN(Number(le));zt.addCase(nn?`=${le}`:le,new hn(lt,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(qi,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPluralCase",""]],standalone:!0})}return J})(),zi=(()=>{class J{constructor(le,ve,lt){this._ngEl=le,this._differs=ve,this._renderer=lt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,ve){const[lt,zt]=le.split("."),nn=-1===lt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=ve?this._renderer.setStyle(this._ngEl.nativeElement,lt,zt?`${ve}${zt}`:ve,nn):this._renderer.removeStyle(this._ngEl.nativeElement,lt,nn)}_applyChanges(le){le.forEachRemovedItem(ve=>this._setStyle(ve.key,null)),le.forEachAddedItem(ve=>this._setStyle(ve.key,ve.currentValue)),le.forEachChangedItem(ve=>this._setStyle(ve.key,ve.currentValue))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return J})(),Gi=(()=>{class J{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(le){if(this._shouldRecreateView(le)){const ve=this._viewContainerRef;if(this._viewRef&&ve.remove(ve.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const lt=this._createContextForwardProxy();this._viewRef=ve.createEmbeddedView(this.ngTemplateOutlet,lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(le){return!!le.ngTemplateOutlet||!!le.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(le,ve,lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ve,lt),get:(le,ve,lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ve,lt)}})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Tn(J,Fe){return new n.\u0275RuntimeError(2100,!1)}class Ki{createSubscription(Fe,le){return(0,n.untracked)(()=>Fe.subscribe({next:le,error:ve=>{throw ve}}))}dispose(Fe){(0,n.untracked)(()=>Fe.unsubscribe())}}class qn{createSubscription(Fe,le){return Fe.then(le,ve=>{throw ve})}dispose(Fe){}}const Pn=new qn,Qn=new Ki;let Fi=(()=>{class J{constructor(le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,ve=>this._updateLatestValue(le,ve))}_selectStrategy(le){if((0,n.\u0275isPromise)(le))return Pn;if((0,n.\u0275isSubscribable)(le))return Qn;throw Tn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,ve){le===this._obj&&(this._latestValue=ve,this._ref.markForCheck())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:J,pure:!1,standalone:!0})}return J})(),mr=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toLowerCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:J,pure:!0,standalone:!0})}return J})();const er=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let _n=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.replace(er,ve=>ve[0].toUpperCase()+ve.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:J,pure:!0,standalone:!0})}return J})(),wn=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toUpperCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:J,pure:!0,standalone:!0})}return J})();const Ln=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Mi=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Vn=(()=>{class J{constructor(le,ve,lt){this.locale=le,this.defaultTimezone=ve,this.defaultOptions=lt}transform(le,ve,lt,zt){if(null==le||""===le||le!=le)return null;try{return yt(le,ve??this.defaultOptions?.dateFormat??"mediumDate",zt||this.locale,lt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(nn){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Ln,24),n.\u0275\u0275directiveInject(Mi,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:J,pure:!0,standalone:!0})}return J})();const Ui=/#/g;let sr=(()=>{class J{constructor(le){this._localization=le}transform(le,ve,lt){if(null==le)return"";if("object"!=typeof ve||null===ve)throw Tn();return ve[At(le,Object.keys(ve),this._localization,lt)].replace(Ui,le.toString())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:J,pure:!0,standalone:!0})}return J})(),pr=(()=>{class J{transform(le,ve){if(null==le)return"";if("object"!=typeof ve||"string"!=typeof le)throw Tn();return ve.hasOwnProperty(le)?ve[le]:ve.hasOwnProperty("other")?ve.other:""}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:J,pure:!0,standalone:!0})}return J})(),Gr=(()=>{class J{transform(le){return JSON.stringify(le,null,2)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:J,pure:!1,standalone:!0})}return J})(),Lr=(()=>{class J{constructor(le){this.differs=le,this.keyValues=[],this.compareFn=tr}transform(le,ve=tr){if(!le||!(le instanceof Map)&&"object"!=typeof le)return null;this.differ||(this.differ=this.differs.find(le).create());const lt=this.differ.diff(le),zt=ve!==this.compareFn;return lt&&(this.keyValues=[],lt.forEachItem(nn=>{this.keyValues.push(function Sr(J,Fe){return{key:J,value:Fe}}(nn.key,nn.currentValue))})),(lt||zt)&&(this.keyValues.sort(ve),this.compareFn=ve),this.keyValues}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:J,pure:!1,standalone:!0})}return J})();function tr(J,Fe){const le=J.key,ve=Fe.key;if(le===ve)return 0;if(void 0===le)return 1;if(void 0===ve)return-1;if(null===le)return 1;if(null===ve)return-1;if("string"==typeof le&&"string"==typeof ve)return le{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return _i(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:J,pure:!0,standalone:!0})}return J})(),Zi=(()=>{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return ui(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:J,pure:!0,standalone:!0})}return J})(),or=(()=>{class J{constructor(le,ve="USD"){this._locale=le,this._defaultCurrencyCode=ve}transform(le,ve=this._defaultCurrencyCode,lt="symbol",zt,nn){if(!oi(le))return null;nn=nn||this._locale,"boolean"==typeof lt&&(lt=lt?"symbol":"code");let xn=ve||this._defaultCurrencyCode;"code"!==lt&&(xn="symbol"===lt||"symbol-narrow"===lt?Ae(xn,"symbol"===lt?"wide":"narrow",nn):lt);try{return Nn(wr(le),nn,xn,ve,zt)}catch(Li){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:J,pure:!0,standalone:!0})}return J})();function oi(J){return!(null==J||""===J||J!=J)}function wr(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}let Fr=(()=>{class J{transform(le,ve,lt){if(null==le)return null;if(!this.supports(le))throw Tn();return le.slice(ve,lt)}supports(le){return"string"==typeof le||Array.isArray(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:J,pure:!1,standalone:!0})}return J})(),Jr=(()=>{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:J});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return J})();const Tr="browser",qr="server",Ur="browserWorkerApp",Dt="browserWorkerUi";function gt(J){return J===Tr}function Tt(J){return J===qr}function It(J){return J===Ur}function $t(J){return J===Dt}const Gt=new n.Version("17.0.8");let on=(()=>{class J{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:J,providedIn:"root",factory:()=>new vn((0,n.\u0275\u0275inject)(v),window)})}return J})();class vn{constructor(Fe,le){this.document=Fe,this.window=le,this.offset=()=>[0,0]}setOffset(Fe){this.offset=Array.isArray(Fe)?()=>Fe:Fe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Fe){this.supportsScrolling()&&this.window.scrollTo(Fe[0],Fe[1])}scrollToAnchor(Fe){if(!this.supportsScrolling())return;const le=function bn(J,Fe){const le=J.getElementById(Fe)||J.getElementsByName(Fe)[0];if(le)return le;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const ve=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let lt=ve.currentNode;for(;lt;){const zt=lt.shadowRoot;if(zt){const nn=zt.getElementById(Fe)||zt.querySelector(`[name="${Fe}"]`);if(nn)return nn}lt=ve.nextNode()}}return null}(this.document,Fe);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Fe){this.supportsScrolling()&&(this.window.history.scrollRestoration=Fe)}scrollToElement(Fe){const le=Fe.getBoundingClientRect(),ve=le.left+this.window.pageXOffset,lt=le.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(ve-zt[0],lt-zt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class An{setOffset(Fe){}getScrollPosition(){return[0,0]}scrollToPosition(Fe){}scrollToAnchor(Fe){}setHistoryScrollRestoration(Fe){}}class Gn{}function li(J){return J.startsWith("/")?J.slice(1):J}const ji=J=>J.src,lr=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>ji});function gr(J,Fe){return function(ve){return function ri(J){if("string"!=typeof J||""===J.trim())return!1;try{return new URL(J),!0}catch{return!1}}(ve)||function ls(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),ve=function Kn(J){return J.endsWith("/")?J.slice(0,-1):J}(ve),[{provide:lr,useValue:nn=>(function Ti(J){return/^https?:\/\//.test(J)}(nn.src)&&function Ys(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),J(ve,{...nn,src:li(nn.src)}))}]}}const ti=gr(wi);function wi(J,Fe){let le="format=auto";return Fe.width&&(le+=`,width=${Fe.width}`),`${J}/cdn-cgi/image/${le}/${Fe.src}`}const Es=gr($r);function $r(J,Fe){let le="f_auto,q_auto";return Fe.width&&(le+=`,w_${Fe.width}`),`${J}/image/upload/${le}/${Fe.src}`}const Bi=gr(yn);function yn(J,Fe){const{src:le,width:ve}=Fe;let lt;return lt=ve?[J,`tr:w-${ve}`,le]:[J,le],lt.join("/")}const je=gr(xt);function xt(J,Fe){const le=new URL(`${J}/${Fe.src}`);return le.searchParams.set("auto","format"),Fe.width&&le.searchParams.set("w",Fe.width.toString()),le.href}const _s=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),Pr=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Kr=(()=>{class J{constructor(){this.preloadedImages=(0,n.inject)(Pr),this.document=(0,n.inject)(v)}createPreloadLinkTag(le,ve,lt,zt){if(this.preloadedImages.has(ve))return;this.preloadedImages.add(ve);const nn=le.createElement("link");le.setAttribute(nn,"as","image"),le.setAttribute(nn,"href",ve),le.setAttribute(nn,"rel","preload"),le.setAttribute(nn,"fetchpriority","high"),zt&&le.setAttribute(nn,"imageSizes",zt),lt&&le.setAttribute(nn,"imageSrcset",lt),le.appendChild(this.document.head,nn)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const cs=/^((\s*\d+w\s*(,|$)){1,})$/,Hn=[1,2];let jr=(()=>{class J{constructor(){this.imageLoader=(0,n.inject)(lr),this.config=function Xi(J){let Fe={};return J.breakpoints&&(Fe.breakpoints=J.breakpoints.sort((le,ve)=>le-ve)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,J,Fe)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=Tt((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(Kr),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const le=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),le,this.sizes)}ngOnChanges(le){if(le.ngSrc&&!le.ngSrc.isFirstChange()){const ve=this._renderedSrc;this.updateSrcAndSrcset(!0);const lt=this._renderedSrc;null!==this.lcpObserver&&ve&<&&ve!==lt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ve,lt)})}}callImageLoader(le){let ve=le;return this.loaderParams&&(ve.loaderParams=this.loaderParams),this.imageLoader(ve)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const le=cs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(lt=>""!==lt).map(lt=>{lt=lt.trim();const zt=le?parseFloat(lt):parseFloat(lt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:zt})} ${lt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:le}=this.config;let ve=le;return"100vw"===this.sizes?.trim()&&(ve=le.filter(zt=>zt>=640)),ve.map(zt=>`${this.callImageLoader({src:this.ngSrc,width:zt})} ${zt}w`).join(", ")}updateSrcAndSrcset(le=!1){le&&(this._renderedSrc=null);const ve=this.getRewrittenSrc();let lt;return this.setHostAttribute("src",ve),this.ngSrcset?lt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(lt=this.getAutomaticSrcset()),lt&&this.setHostAttribute("srcset",lt),lt}getFixedSrcset(){return Hn.map(ve=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ve})} ${ve}x`).join(", ")}shouldGenerateAutomaticSrcset(){let le=!1;return this.sizes||(le=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ji&&!le}ngOnDestroy(){}setHostAttribute(le,ve){this.renderer.setAttribute(this.imgElement,le,ve)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(ve,lt){2&ve&&n.\u0275\u0275styleProp("position",lt.fill?"absolute":null)("width",lt.fill?"100%":null)("height",lt.fill?"100%":null)("inset",lt.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",us],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return J})();function us(J){return"string"==typeof J?J:(0,n.\u0275unwrapSafeValue)(J)}},9862:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{FetchBackend:()=>Ge,HTTP_INTERCEPTORS:()=>Ee,HttpBackend:()=>d,HttpClient:()=>H,HttpClientJsonpModule:()=>rt,HttpClientModule:()=>He,HttpClientXsrfModule:()=>mt,HttpContext:()=>P,HttpContextToken:()=>I,HttpErrorResponse:()=>$,HttpEventType:()=>ne,HttpFeatureKind:()=>Ct,HttpHandler:()=>c,HttpHeaderResponse:()=>j,HttpHeaders:()=>g,HttpParams:()=>k,HttpRequest:()=>W,HttpResponse:()=>B,HttpResponseBase:()=>ee,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>un,HttpXsrfTokenExtractor:()=>St,JsonpClientBackend:()=>jt,JsonpInterceptor:()=>fn,provideHttpClient:()=>Nt,withFetch:()=>nt,withInterceptors:()=>bt,withInterceptorsFromDi:()=>ce,withJsonpSupport:()=>Se,withNoXsrfProtection:()=>oe,withRequestsMadeViaParent:()=>at,withXsrfConfiguration:()=>z,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Ce,\u0275HttpInterceptingHandler:()=>ke,\u0275HttpInterceptorHandler:()=>ke,\u0275PRIMARY_HTTP_BACKEND:()=>ge,\u0275withHttpTransferCache:()=>At});var n=_(5861),f=_(9212),D=_(2096),y=_(5592),u=_(2459),v=_(6328),s=_(2181),m=_(7398),h=_(4716),o=_(4664),l=_(9397),r=_(6814);class c{}class d{}class g{constructor(dt){this.normalizedNames=new Map,this.lazyUpdate=null,dt?"string"==typeof dt?this.lazyInit=()=>{this.headers=new Map,dt.split("\n").forEach(ct=>{const Ut=ct.indexOf(":");if(Ut>0){const wt=ct.slice(0,Ut),vt=wt.toLowerCase(),Ht=ct.slice(Ut+1).trim();this.maybeSetNormalizedName(wt,vt),this.headers.has(vt)?this.headers.get(vt).push(Ht):this.headers.set(vt,[Ht])}})}:typeof Headers<"u"&&dt instanceof Headers?(this.headers=new Map,dt.forEach((ct,Ut)=>{this.setHeaderEntries(Ut,ct)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(dt).forEach(([ct,Ut])=>{this.setHeaderEntries(ct,Ut)})}:this.headers=new Map}has(dt){return this.init(),this.headers.has(dt.toLowerCase())}get(dt){this.init();const ct=this.headers.get(dt.toLowerCase());return ct&&ct.length>0?ct[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(dt){return this.init(),this.headers.get(dt.toLowerCase())||null}append(dt,ct){return this.clone({name:dt,value:ct,op:"a"})}set(dt,ct){return this.clone({name:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({name:dt,value:ct,op:"d"})}maybeSetNormalizedName(dt,ct){this.normalizedNames.has(ct)||this.normalizedNames.set(ct,dt)}init(){this.lazyInit&&(this.lazyInit instanceof g?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(dt=>this.applyUpdate(dt)),this.lazyUpdate=null))}copyFrom(dt){dt.init(),Array.from(dt.headers.keys()).forEach(ct=>{this.headers.set(ct,dt.headers.get(ct)),this.normalizedNames.set(ct,dt.normalizedNames.get(ct))})}clone(dt){const ct=new g;return ct.lazyInit=this.lazyInit&&this.lazyInit instanceof g?this.lazyInit:this,ct.lazyUpdate=(this.lazyUpdate||[]).concat([dt]),ct}applyUpdate(dt){const ct=dt.name.toLowerCase();switch(dt.op){case"a":case"s":let Ut=dt.value;if("string"==typeof Ut&&(Ut=[Ut]),0===Ut.length)return;this.maybeSetNormalizedName(dt.name,ct);const wt=("a"===dt.op?this.headers.get(ct):void 0)||[];wt.push(...Ut),this.headers.set(ct,wt);break;case"d":const vt=dt.value;if(vt){let Ht=this.headers.get(ct);if(!Ht)return;Ht=Ht.filter(dn=>-1===vt.indexOf(dn)),0===Ht.length?(this.headers.delete(ct),this.normalizedNames.delete(ct)):this.headers.set(ct,Ht)}else this.headers.delete(ct),this.normalizedNames.delete(ct)}}setHeaderEntries(dt,ct){const Ut=(Array.isArray(ct)?ct:[ct]).map(vt=>vt.toString()),wt=dt.toLowerCase();this.headers.set(wt,Ut),this.maybeSetNormalizedName(dt,wt)}forEach(dt){this.init(),Array.from(this.normalizedNames.keys()).forEach(ct=>dt(this.normalizedNames.get(ct),this.headers.get(ct)))}}class C{encodeKey(dt){return S(dt)}encodeValue(dt){return S(dt)}decodeKey(dt){return decodeURIComponent(dt)}decodeValue(dt){return decodeURIComponent(dt)}}const w=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function S(it){return encodeURIComponent(it).replace(w,(dt,ct)=>T[ct]??dt)}function M(it){return`${it}`}class k{constructor(dt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=dt.encoder||new C,dt.fromString){if(dt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function x(it,dt){const ct=new Map;return it.length>0&&it.replace(/^\?/,"").split("&").forEach(wt=>{const vt=wt.indexOf("="),[Ht,dn]=-1==vt?[dt.decodeKey(wt),""]:[dt.decodeKey(wt.slice(0,vt)),dt.decodeValue(wt.slice(vt+1))],ze=ct.get(Ht)||[];ze.push(dn),ct.set(Ht,ze)}),ct}(dt.fromString,this.encoder)}else dt.fromObject?(this.map=new Map,Object.keys(dt.fromObject).forEach(ct=>{const Ut=dt.fromObject[ct],wt=Array.isArray(Ut)?Ut.map(M):[M(Ut)];this.map.set(ct,wt)})):this.map=null}has(dt){return this.init(),this.map.has(dt)}get(dt){this.init();const ct=this.map.get(dt);return ct?ct[0]:null}getAll(dt){return this.init(),this.map.get(dt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(dt,ct){return this.clone({param:dt,value:ct,op:"a"})}appendAll(dt){const ct=[];return Object.keys(dt).forEach(Ut=>{const wt=dt[Ut];Array.isArray(wt)?wt.forEach(vt=>{ct.push({param:Ut,value:vt,op:"a"})}):ct.push({param:Ut,value:wt,op:"a"})}),this.clone(ct)}set(dt,ct){return this.clone({param:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({param:dt,value:ct,op:"d"})}toString(){return this.init(),this.keys().map(dt=>{const ct=this.encoder.encodeKey(dt);return this.map.get(dt).map(Ut=>ct+"="+this.encoder.encodeValue(Ut)).join("&")}).filter(dt=>""!==dt).join("&")}clone(dt){const ct=new k({encoder:this.encoder});return ct.cloneFrom=this.cloneFrom||this,ct.updates=(this.updates||[]).concat(dt),ct}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(dt=>this.map.set(dt,this.cloneFrom.map.get(dt))),this.updates.forEach(dt=>{switch(dt.op){case"a":case"s":const ct=("a"===dt.op?this.map.get(dt.param):void 0)||[];ct.push(M(dt.value)),this.map.set(dt.param,ct);break;case"d":if(void 0===dt.value){this.map.delete(dt.param);break}{let Ut=this.map.get(dt.param)||[];const wt=Ut.indexOf(M(dt.value));-1!==wt&&Ut.splice(wt,1),Ut.length>0?this.map.set(dt.param,Ut):this.map.delete(dt.param)}}}),this.cloneFrom=this.updates=null)}}class I{constructor(dt){this.defaultValue=dt}}class P{constructor(){this.map=new Map}set(dt,ct){return this.map.set(dt,ct),this}get(dt){return this.map.has(dt)||this.map.set(dt,dt.defaultValue()),this.map.get(dt)}delete(dt){return this.map.delete(dt),this}has(dt){return this.map.has(dt)}keys(){return this.map.keys()}}function L(it){return typeof ArrayBuffer<"u"&&it instanceof ArrayBuffer}function F(it){return typeof Blob<"u"&&it instanceof Blob}function R(it){return typeof FormData<"u"&&it instanceof FormData}class W{constructor(dt,ct,Ut,wt){let vt;if(this.url=ct,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=dt.toUpperCase(),function A(it){switch(it){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==Ut?Ut:null,vt=wt):vt=Ut,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params),this.transferCache=vt.transferCache),this.headers||(this.headers=new g),this.context||(this.context=new P),this.params){const Ht=this.params.toString();if(0===Ht.length)this.urlWithParams=ct;else{const dn=ct.indexOf("?");this.urlWithParams=ct+(-1===dn?"?":dnpe.set(de,dt.setHeaders[de]),ze)),dt.setParams&&(en=Object.keys(dt.setParams).reduce((pe,de)=>pe.set(de,dt.setParams[de]),en)),new W(ct,Ut,vt,{params:en,headers:ze,context:Y,reportProgress:dn,responseType:wt,withCredentials:Ht})}}var ne=function(it){return it[it.Sent=0]="Sent",it[it.UploadProgress=1]="UploadProgress",it[it.ResponseHeader=2]="ResponseHeader",it[it.DownloadProgress=3]="DownloadProgress",it[it.Response=4]="Response",it[it.User=5]="User",it}(ne||{});class ee{constructor(dt,ct=200,Ut="OK"){this.headers=dt.headers||new g,this.status=void 0!==dt.status?dt.status:ct,this.statusText=dt.statusText||Ut,this.url=dt.url||null,this.ok=this.status>=200&&this.status<300}}class j extends ee{constructor(dt={}){super(dt),this.type=ne.ResponseHeader}clone(dt={}){return new j({headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class B extends ee{constructor(dt={}){super(dt),this.type=ne.Response,this.body=void 0!==dt.body?dt.body:null}clone(dt={}){return new B({body:void 0!==dt.body?dt.body:this.body,headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class $ extends ee{constructor(dt){super(dt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${dt.url||"(unknown url)"}`:`Http failure response for ${dt.url||"(unknown url)"}: ${dt.status} ${dt.statusText}`,this.error=dt.error||null}}function Z(it,dt){return{body:dt,headers:it.headers,context:it.context,observe:it.observe,params:it.params,reportProgress:it.reportProgress,responseType:it.responseType,withCredentials:it.withCredentials,transferCache:it.transferCache}}let H=(()=>{class it{constructor(ct){this.handler=ct}request(ct,Ut,wt={}){let vt;if(ct instanceof W)vt=ct;else{let ze,en;ze=wt.headers instanceof g?wt.headers:new g(wt.headers),wt.params&&(en=wt.params instanceof k?wt.params:new k({fromObject:wt.params})),vt=new W(ct,Ut,void 0!==wt.body?wt.body:null,{headers:ze,context:wt.context,params:en,reportProgress:wt.reportProgress,responseType:wt.responseType||"json",withCredentials:wt.withCredentials,transferCache:wt.transferCache})}const Ht=(0,D.of)(vt).pipe((0,v.b)(ze=>this.handler.handle(ze)));if(ct instanceof W||"events"===wt.observe)return Ht;const dn=Ht.pipe((0,s.h)(ze=>ze instanceof B));switch(wt.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ze.body}));case"blob":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof Blob))throw new Error("Response is not a Blob.");return ze.body}));case"text":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&"string"!=typeof ze.body)throw new Error("Response is not a string.");return ze.body}));default:return dn.pipe((0,m.U)(ze=>ze.body))}case"response":return dn;default:throw new Error(`Unreachable: unhandled observe type ${wt.observe}}`)}}delete(ct,Ut={}){return this.request("DELETE",ct,Ut)}get(ct,Ut={}){return this.request("GET",ct,Ut)}head(ct,Ut={}){return this.request("HEAD",ct,Ut)}jsonp(ct,Ut){return this.request("JSONP",ct,{params:(new k).append(Ut,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ct,Ut={}){return this.request("OPTIONS",ct,Ut)}patch(ct,Ut,wt={}){return this.request("PATCH",ct,Z(wt,Ut))}post(ct,Ut,wt={}){return this.request("POST",ct,Z(wt,Ut))}put(ct,Ut,wt={}){return this.request("PUT",ct,Z(wt,Ut))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(c))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const te=/^\)\]\}',?\n/;function ye(it){if(it.url)return it.url;const dt="X-Request-URL".toLocaleLowerCase();return it.headers.get(dt)}let Ge=(()=>{class it{constructor(){this.fetchImpl=(0,f.inject)($e,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,f.inject)(f.NgZone)}handle(ct){return new y.y(Ut=>{const wt=new AbortController;return this.doRequest(ct,wt.signal,Ut).then(Ye,vt=>Ut.error(new $({error:vt}))),()=>wt.abort()})}doRequest(ct,Ut,wt){var vt=this;return(0,n.Z)(function*(){const Ht=vt.createRequestInit(ct);let dn;try{const _t=vt.fetchImpl(ct.urlWithParams,{signal:Ut,...Ht});(function Ze(it){it.then(Ye,Ye)})(_t),wt.next({type:ne.Sent}),dn=yield _t}catch(_t){return void wt.error(new $({error:_t,status:_t.status??0,statusText:_t.statusText,url:ct.urlWithParams,headers:_t.headers}))}const ze=new g(dn.headers),en=dn.statusText,Y=ye(dn)??ct.urlWithParams;let pe=dn.status,de=null;if(ct.reportProgress&&wt.next(new j({headers:ze,status:pe,statusText:en,url:Y})),dn.body){const _t=dn.headers.get("content-length"),hn=[],On=dn.body.getReader();let Ci,Zn,Bn=0;const Ei=typeof Zone<"u"&&Zone.current;yield vt.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:ki,value:zi}=yield On.read();if(ki)break;if(hn.push(zi),Bn+=zi.length,ct.reportProgress){Zn="text"===ct.responseType?(Zn??"")+(Ci??=new TextDecoder).decode(zi,{stream:!0}):void 0;const Gi=()=>wt.next({type:ne.DownloadProgress,total:_t?+_t:void 0,loaded:Bn,partialText:Zn});Ei?Ei.run(Gi):Gi()}}}));const qi=vt.concatChunks(hn,Bn);try{const ki=dn.headers.get("Content-Type")??"";de=vt.parseBody(ct,qi,ki)}catch(ki){return void wt.error(new $({error:ki,headers:new g(dn.headers),status:dn.status,statusText:dn.statusText,url:ye(dn)??ct.urlWithParams}))}}0===pe&&(pe=de?200:0),pe>=200&&pe<300?(wt.next(new B({body:de,headers:ze,status:pe,statusText:en,url:Y})),wt.complete()):wt.error(new $({error:de,headers:ze,status:pe,statusText:en,url:Y}))})()}parseBody(ct,Ut,wt){switch(ct.responseType){case"json":const vt=(new TextDecoder).decode(Ut).replace(te,"");return""===vt?null:JSON.parse(vt);case"text":return(new TextDecoder).decode(Ut);case"blob":return new Blob([Ut],{type:wt});case"arraybuffer":return Ut.buffer}}createRequestInit(ct){const Ut={},wt=ct.withCredentials?"include":void 0;if(ct.headers.forEach((vt,Ht)=>Ut[vt]=Ht.join(",")),Ut.Accept??="application/json, text/plain, */*",!Ut["Content-Type"]){const vt=ct.detectContentTypeHeader();null!==vt&&(Ut["Content-Type"]=vt)}return{body:ct.serializeBody(),method:ct.method,headers:Ut,credentials:wt}}concatChunks(ct,Ut){const wt=new Uint8Array(Ut);let vt=0;for(const Ht of ct)wt.set(Ht,vt),vt+=Ht.length;return wt}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();class $e{}function Ye(){}function Et(it,dt){return dt(it)}function Te(it,dt){return(ct,Ut)=>dt.intercept(ct,{handle:wt=>it(wt,Ut)})}const Ee=new f.InjectionToken(""),Ie=new f.InjectionToken(""),Ce=new f.InjectionToken(""),ge=new f.InjectionToken("");function Ae(){let it=null;return(dt,ct)=>{null===it&&(it=((0,f.inject)(Ee,{optional:!0})??[]).reduceRight(Te,Et));const Ut=(0,f.inject)(f.\u0275PendingTasks),wt=Ut.add();return it(dt,ct).pipe((0,h.x)(()=>Ut.remove(wt)))}}let me,ke=(()=>{class it extends c{constructor(ct,Ut){super(),this.backend=ct,this.injector=Ut,this.chain=null,this.pendingTasks=(0,f.inject)(f.\u0275PendingTasks);const wt=(0,f.inject)(ge,{optional:!0});this.backend=wt??ct}handle(ct){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Ce,[])]));this.chain=wt.reduceRight((vt,Ht)=>function qe(it,dt,ct){return(Ut,wt)=>(0,f.runInInjectionContext)(ct,()=>dt(Ut,vt=>it(vt,wt)))}(vt,Ht,this.injector),Et)}const Ut=this.pendingTasks.add();return this.chain(ct,wt=>this.backend.handle(wt)).pipe((0,h.x)(()=>this.pendingTasks.remove(Ut)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(d),f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})(),Ke=0;class Ot{}function Yt(){return"object"==typeof window?window:{}}let jt=(()=>{class it{constructor(ct,Ut){this.callbackMap=ct,this.document=Ut,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ke++}handle(ct){if("JSONP"!==ct.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ct.responseType)throw new Error("JSONP requests must use Json response type.");if(ct.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new y.y(Ut=>{const wt=this.nextCallback(),vt=ct.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${wt}$1`),Ht=this.document.createElement("script");Ht.src=vt;let dn=null,ze=!1;this.callbackMap[wt]=de=>{delete this.callbackMap[wt],dn=de,ze=!0};const en=()=>{Ht.parentNode&&Ht.parentNode.removeChild(Ht),delete this.callbackMap[wt]};return Ht.addEventListener("load",de=>{this.resolvedPromise.then(()=>{en(),ze?(Ut.next(new B({body:dn,status:200,statusText:"OK",url:vt})),Ut.complete()):Ut.error(new $({url:vt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Ht.addEventListener("error",de=>{en(),Ut.error(new $({error:de,status:0,statusText:"JSONP Error",url:vt}))}),this.document.body.appendChild(Ht),Ut.next({type:ne.Sent}),()=>{ze||this.removeListeners(Ht),en()}})}removeListeners(ct){me||(me=this.document.implementation.createHTMLDocument()),me.adoptNode(ct)}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(Ot),f.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function cn(it,dt){return"JSONP"===it.method?(0,f.inject)(jt).handle(it):dt(it)}let fn=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>cn(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const an=/^\)\]\}',?\n/;let un=(()=>{class it{constructor(ct){this.xhrFactory=ct}handle(ct){if("JSONP"===ct.method)throw new f.\u0275RuntimeError(-2800,!1);const Ut=this.xhrFactory;return(Ut.\u0275loadImpl?(0,u.D)(Ut.\u0275loadImpl()):(0,D.of)(null)).pipe((0,o.w)(()=>new y.y(vt=>{const Ht=Ut.build();if(Ht.open(ct.method,ct.urlWithParams),ct.withCredentials&&(Ht.withCredentials=!0),ct.headers.forEach((hn,On)=>Ht.setRequestHeader(hn,On.join(","))),ct.headers.has("Accept")||Ht.setRequestHeader("Accept","application/json, text/plain, */*"),!ct.headers.has("Content-Type")){const hn=ct.detectContentTypeHeader();null!==hn&&Ht.setRequestHeader("Content-Type",hn)}if(ct.responseType){const hn=ct.responseType.toLowerCase();Ht.responseType="json"!==hn?hn:"text"}const dn=ct.serializeBody();let ze=null;const en=()=>{if(null!==ze)return ze;const hn=Ht.statusText||"OK",On=new g(Ht.getAllResponseHeaders()),Bn=function En(it){return"responseURL"in it&&it.responseURL?it.responseURL:/^X-Request-URL:/m.test(it.getAllResponseHeaders())?it.getResponseHeader("X-Request-URL"):null}(Ht)||ct.url;return ze=new j({headers:On,status:Ht.status,statusText:hn,url:Bn}),ze},Y=()=>{let{headers:hn,status:On,statusText:Bn,url:Ci}=en(),Zn=null;204!==On&&(Zn=typeof Ht.response>"u"?Ht.responseText:Ht.response),0===On&&(On=Zn?200:0);let Ei=On>=200&&On<300;if("json"===ct.responseType&&"string"==typeof Zn){const qi=Zn;Zn=Zn.replace(an,"");try{Zn=""!==Zn?JSON.parse(Zn):null}catch(ki){Zn=qi,Ei&&(Ei=!1,Zn={error:ki,text:Zn})}}Ei?(vt.next(new B({body:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0})),vt.complete()):vt.error(new $({error:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0}))},pe=hn=>{const{url:On}=en(),Bn=new $({error:hn,status:Ht.status||0,statusText:Ht.statusText||"Unknown Error",url:On||void 0});vt.error(Bn)};let de=!1;const Qe=hn=>{de||(vt.next(en()),de=!0);let On={type:ne.DownloadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),"text"===ct.responseType&&Ht.responseText&&(On.partialText=Ht.responseText),vt.next(On)},_t=hn=>{let On={type:ne.UploadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),vt.next(On)};return Ht.addEventListener("load",Y),Ht.addEventListener("error",pe),Ht.addEventListener("timeout",pe),Ht.addEventListener("abort",pe),ct.reportProgress&&(Ht.addEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.addEventListener("progress",_t)),Ht.send(dn),vt.next({type:ne.Sent}),()=>{Ht.removeEventListener("error",pe),Ht.removeEventListener("abort",pe),Ht.removeEventListener("load",Y),Ht.removeEventListener("timeout",pe),ct.reportProgress&&(Ht.removeEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.removeEventListener("progress",_t)),Ht.readyState!==Ht.DONE&&Ht.abort()}})))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const Bt=new f.InjectionToken("XSRF_ENABLED"),Ft="XSRF-TOKEN",De=new f.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ft}),Ve="X-XSRF-TOKEN",Xe=new f.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ve});class St{}let tt=(()=>{class it{constructor(ct,Ut,wt){this.doc=ct,this.platform=Ut,this.cookieName=wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ct=this.doc.cookie||"";return ct!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ct,this.cookieName),this.lastCookieString=ct),this.lastToken}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.DOCUMENT),f.\u0275\u0275inject(f.PLATFORM_ID),f.\u0275\u0275inject(De))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function ut(it,dt){const ct=it.url.toLowerCase();if(!(0,f.inject)(Bt)||"GET"===it.method||"HEAD"===it.method||ct.startsWith("http://")||ct.startsWith("https://"))return dt(it);const Ut=(0,f.inject)(St).getToken(),wt=(0,f.inject)(Xe);return null!=Ut&&!it.headers.has(wt)&&(it=it.clone({headers:it.headers.set(wt,Ut)})),dt(it)}let Oe=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>ut(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();var Ct=function(it){return it[it.Interceptors=0]="Interceptors",it[it.LegacyInterceptors=1]="LegacyInterceptors",it[it.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",it[it.NoXsrfProtection=3]="NoXsrfProtection",it[it.JsonpSupport=4]="JsonpSupport",it[it.RequestsMadeViaParent=5]="RequestsMadeViaParent",it[it.Fetch=6]="Fetch",it}(Ct||{});function Pt(it,dt){return{\u0275kind:it,\u0275providers:dt}}function Nt(...it){const dt=[H,un,ke,{provide:c,useExisting:ke},{provide:d,useExisting:un},{provide:Ie,useValue:ut,multi:!0},{provide:Bt,useValue:!0},{provide:St,useClass:tt}];for(const ct of it)dt.push(...ct.\u0275providers);return(0,f.makeEnvironmentProviders)(dt)}function bt(it){return Pt(Ct.Interceptors,it.map(dt=>({provide:Ie,useValue:dt,multi:!0})))}const _e=new f.InjectionToken("LEGACY_INTERCEPTOR_FN");function ce(){return Pt(Ct.LegacyInterceptors,[{provide:_e,useFactory:Ae},{provide:Ie,useExisting:_e,multi:!0}])}function z({cookieName:it,headerName:dt}){const ct=[];return void 0!==it&&ct.push({provide:De,useValue:it}),void 0!==dt&&ct.push({provide:Xe,useValue:dt}),Pt(Ct.CustomXsrfConfiguration,ct)}function oe(){return Pt(Ct.NoXsrfProtection,[{provide:Bt,useValue:!1}])}function Se(){return Pt(Ct.JsonpSupport,[jt,{provide:Ot,useFactory:Yt},{provide:Ie,useValue:cn,multi:!0}])}function at(){return Pt(Ct.RequestsMadeViaParent,[{provide:d,useFactory:()=>(0,f.inject)(c,{skipSelf:!0,optional:!0})}])}function nt(){return Pt(Ct.Fetch,[Ge,{provide:d,useExisting:Ge},{provide:ge,useExisting:Ge}])}let mt=(()=>{class it{static disable(){return{ngModule:it,providers:[oe().\u0275providers]}}static withOptions(ct={}){return{ngModule:it,providers:z(ct).\u0275providers}}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Oe,{provide:Ee,useExisting:Oe,multi:!0},{provide:St,useClass:tt},z({cookieName:Ft,headerName:Ve}).\u0275providers,{provide:Bt,useValue:!0}]})}return it})(),He=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Nt(ce())]})}return it})(),rt=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Se().\u0275providers]})}return it})();const Lt="b",Xt="h",tn="s",Nn="st",ui="u",_i="rt",Hi=new f.InjectionToken(""),Yn=["GET","HEAD"];function st(it,dt){const{isCacheActive:ct,...Ut}=(0,f.inject)(Hi),{transferCache:wt,method:vt}=it;if(!ct||"POST"===vt&&!Ut.includePostRequests&&!wt||"POST"!==vt&&!Yn.includes(vt)||!1===wt||!1===Ut.filter?.(it))return dt(it);const Ht=(0,f.inject)(f.TransferState),dn=function Ue(it){const{params:dt,method:ct,responseType:Ut,url:wt}=it,vt=dt.keys().sort().map(ze=>`${ze}=${dt.getAll(ze)}`).join("&"),dn=function ot(it){let dt=0;for(const ct of it)dt=Math.imul(31,dt)+ct.charCodeAt(0)<<0;return dt+=2147483648,dt.toString()}(ct+"."+Ut+"."+wt+"?"+vt);return(0,f.makeStateKey)(dn)}(it),ze=Ht.get(dn,null);let en=Ut.includeHeaders;if("object"==typeof wt&&wt.includeHeaders&&(en=wt.includeHeaders),ze){const{[Lt]:Y,[_i]:pe,[Xt]:de,[tn]:Qe,[Nn]:_t,[ui]:hn}=ze;let On=Y;switch(pe){case"arraybuffer":On=(new TextEncoder).encode(Y).buffer;break;case"blob":On=new Blob([Y])}let Bn=new g(de);return(0,D.of)(new B({body:On,headers:Bn,status:Qe,statusText:_t,url:hn}))}return dt(it).pipe((0,l.b)(Y=>{Y instanceof B&&Ht.set(dn,{[Lt]:Y.body,[Xt]:pn(Y.headers,en),[tn]:Y.status,[Nn]:Y.statusText,[ui]:Y.url||"",[_i]:it.responseType})}))}function pn(it,dt){if(!dt)return{};const ct={};for(const Ut of dt){const wt=it.getAll(Ut);null!==wt&&(ct[Ut]=wt)}return ct}function At(it){return[{provide:Hi,useFactory:()=>((0,f.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...it})},{provide:Ce,useValue:st,multi:!0,deps:[f.TransferState,Hi]},{provide:f.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const dt=(0,f.inject)(f.ApplicationRef),ct=(0,f.inject)(Hi);return()=>{(0,f.\u0275whenStable)(dt).then(()=>{ct.isCacheActive=!1})}}}]}},9212:(Me,ie,_)=>{"use strict";function n(e,t){return Object.is(e,t)}_.r(ie),_.d(ie,{ANIMATION_MODULE_TYPE:()=>gC,APP_BOOTSTRAP_LISTENER:()=>hm,APP_ID:()=>cp,APP_INITIALIZER:()=>Oy,AfterRenderPhase:()=>Io,ApplicationInitStatus:()=>Lu,ApplicationModule:()=>AS,ApplicationRef:()=>rl,Attribute:()=>Fm,COMPILER_OPTIONS:()=>Ey,CSP_NONCE:()=>_C,CUSTOM_ELEMENTS_SCHEMA:()=>vp,ChangeDetectionStrategy:()=>Cr,ChangeDetectorRef:()=>hh,Compiler:()=>NI,CompilerFactory:()=>FI,Component:()=>SI,ComponentFactory:()=>Yc,ComponentFactoryResolver:()=>kl,ComponentRef:()=>y0,ContentChild:()=>R1,ContentChildren:()=>k1,DEFAULT_CURRENCY_CODE:()=>mS,DebugElement:()=>oc,DebugEventListener:()=>ES,DebugNode:()=>gm,DefaultIterableDiffer:()=>M0,DestroyRef:()=>Fl,Directive:()=>yy,ENVIRONMENT_INITIALIZER:()=>jo,ElementRef:()=>Rl,EmbeddedViewRef:()=>xS,EnvironmentInjector:()=>Hs,ErrorHandler:()=>Mo,EventEmitter:()=>Ws,Host:()=>Gm,HostBinding:()=>RI,HostListener:()=>OI,INJECTOR:()=>rd,Inject:()=>zm,InjectFlags:()=>vt,Injectable:()=>uC,InjectionToken:()=>_t,Injector:()=>Cs,Input:()=>AI,IterableDiffers:()=>Xd,KeyValueDiffers:()=>Jd,LOCALE_ID:()=>Fu,MissingTranslationStrategy:()=>zy,ModuleWithComponentFactories:()=>xy,NO_ERRORS_SCHEMA:()=>bp,NgModule:()=>LI,NgModuleFactory:()=>ob,NgModuleRef:()=>Jo,NgProbeToken:()=>cS,NgZone:()=>br,Optional:()=>vc,Output:()=>kI,PACKAGE_ROOT_URL:()=>pC,PLATFORM_ID:()=>gd,PLATFORM_INITIALIZER:()=>up,Pipe:()=>TI,PlatformRef:()=>mm,Query:()=>pl,QueryList:()=>Au,Renderer2:()=>Nw,RendererFactory2:()=>w0,RendererStyleFlags2:()=>Oc,Sanitizer:()=>x0,SecurityContext:()=>Go,Self:()=>Wm,SimpleChange:()=>Un,SkipSelf:()=>bc,TRANSLATIONS:()=>pS,TRANSLATIONS_FORMAT:()=>gS,TemplateRef:()=>ic,Testability:()=>lS,TestabilityRegistry:()=>ky,TransferState:()=>Sl,Type:()=>Bm,VERSION:()=>PI,Version:()=>Cy,ViewChild:()=>L1,ViewChildren:()=>O1,ViewContainerRef:()=>cu,ViewEncapsulation:()=>Zi,ViewRef:()=>Xy,afterNextRender:()=>_g,afterRender:()=>gg,asNativeElements:()=>MS,assertInInjectionContext:()=>Mc,assertNotInReactiveContext:()=>jx,assertPlatform:()=>Yy,booleanAttribute:()=>sT,computed:()=>Bw,createComponent:()=>gT,createEnvironmentInjector:()=>cb,createNgModule:()=>ab,createNgModuleRef:()=>zD,createPlatform:()=>Wy,createPlatformFactory:()=>Gy,defineInjectable:()=>st,destroyPlatform:()=>_S,effect:()=>cg,enableProdMode:()=>yS,forwardRef:()=>Pe,getDebugNode:()=>sl,getModuleFactory:()=>CS,getNgModuleById:()=>wS,getPlatform:()=>Uu,importProvidersFrom:()=>Jm,inject:()=>Vn,isDevMode:()=>bS,isSignal:()=>Uw,isStandalone:()=>Br,makeEnvironmentProviders:()=>od,makeStateKey:()=>xw,mergeApplicationConfig:()=>vT,numberAttribute:()=>oT,platformCore:()=>TS,provideZoneChangeDetection:()=>jy,reflectComponentType:()=>_T,resolveForwardRef:()=>Ne,runInInjectionContext:()=>rC,setTestabilityGetter:()=>Ry,signal:()=>$w,untracked:()=>jw,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>pm,\u0275AfterRenderEventManager:()=>Ul,\u0275CONTAINER_HEADER_OFFSET:()=>fi,\u0275ChangeDetectionScheduler:()=>p0,\u0275ComponentFactory:()=>Yc,\u0275Console:()=>wy,\u0275DEFAULT_LOCALE_ID:()=>Xo,\u0275DEFER_BLOCK_CONFIG:()=>U_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>OM,\u0275DeferBlockBehavior:()=>Zh,\u0275DeferBlockState:()=>hr,\u0275EffectScheduler:()=>ag,\u0275IMAGE_CONFIG:()=>hp,\u0275IMAGE_CONFIG_DEFAULTS:()=>dp,\u0275INJECTOR_SCOPE:()=>cd,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Ll,\u0275LContext:()=>Dp,\u0275LifecycleHooksFeature:()=>xg,\u0275LocaleDataIndex:()=>nl,\u0275NG_COMP_DEF:()=>fn,\u0275NG_DIR_DEF:()=>an,\u0275NG_ELEMENT_ID:()=>Ft,\u0275NG_INJ_DEF:()=>ct,\u0275NG_MOD_DEF:()=>un,\u0275NG_PIPE_DEF:()=>En,\u0275NG_PROV_DEF:()=>dt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Zc,\u0275NO_CHANGE:()=>si,\u0275NgModuleFactory:()=>Iu,\u0275NoopNgZone:()=>mg,\u0275PendingTasks:()=>cm,\u0275ReflectionCapabilities:()=>Hm,\u0275Render3ComponentFactory:()=>Pa,\u0275Render3ComponentRef:()=>wg,\u0275Render3NgModuleRef:()=>Du,\u0275RuntimeError:()=>jt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>g0,\u0275TESTABILITY:()=>Ty,\u0275TESTABILITY_GETTER:()=>Ay,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>Ic,\u0275ViewRef:()=>La,\u0275XSS_SECURITY_URL:()=>Yt,\u0275ZoneAwareQueueingScheduler:()=>lg,\u0275_sanitizeHtml:()=>l0,\u0275_sanitizeUrl:()=>jc,\u0275allowSanitizationBypassAndThrow:()=>Sa,\u0275annotateForHydration:()=>ZS,\u0275bypassSanitizationTrustHtml:()=>lw,\u0275bypassSanitizationTrustResourceUrl:()=>hw,\u0275bypassSanitizationTrustScript:()=>uw,\u0275bypassSanitizationTrustStyle:()=>cw,\u0275bypassSanitizationTrustUrl:()=>dw,\u0275clearResolutionOfComponentResourcesQueue:()=>Xm,\u0275compileComponent:()=>ly,\u0275compileDirective:()=>lm,\u0275compileNgModule:()=>ny,\u0275compileNgModuleDefs:()=>iy,\u0275compileNgModuleFactory:()=>Ly,\u0275compilePipe:()=>vy,\u0275convertToBitFlags:()=>Ui,\u0275createInjector:()=>fd,\u0275defaultIterableDiffers:()=>Ux,\u0275defaultKeyValueDiffers:()=>Bx,\u0275depsTracker:()=>Ma,\u0275devModeEqual:()=>k0,\u0275findLocaleData:()=>cf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>ey,\u0275formatRuntimeError:()=>cn,\u0275generateStandaloneInDeclarationsError:()=>ry,\u0275getAsyncClassMetadataFn:()=>qD,\u0275getDebugNode:()=>sl,\u0275getDeferBlocks:()=>Mm,\u0275getDirectives:()=>vb,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>na,\u0275getHostElement:()=>Xf,\u0275getInjectableDef:()=>Ue,\u0275getLContext:()=>Qr,\u0275getLocaleCurrencyCode:()=>zM,\u0275getLocalePluralCase:()=>dv,\u0275getSanitizationBypassType:()=>e0,\u0275getUnknownElementStrictMode:()=>CC,\u0275getUnknownPropertyStrictMode:()=>xC,\u0275global:()=>pe,\u0275injectChangeDetectorRef:()=>og,\u0275internalAfterNextRender:()=>gh,\u0275internalCreateApplication:()=>WS,\u0275isBoundToModule:()=>Ny,\u0275isComponentDefPendingResolution:()=>W1,\u0275isEnvironmentProviders:()=>yt,\u0275isInjectable:()=>ot,\u0275isNgModule:()=>Co,\u0275isPromise:()=>gf,\u0275isSubscribable:()=>Uv,\u0275noSideEffects:()=>tr,\u0275patchComponentDefWithScope:()=>om,\u0275performanceMarkFeature:()=>Do,\u0275publishDefaultGlobalUtils:()=>aS,\u0275publishGlobalUtil:()=>zr,\u0275registerLocaleData:()=>HM,\u0275renderDeferBlockState:()=>co,\u0275resetCompiledComponents:()=>_I,\u0275resetJitOptions:()=>mI,\u0275resolveComponentResources:()=>Zm,\u0275restoreComponentResolutionQueue:()=>G1,\u0275setAllowDuplicateNgModuleIdsForTest:()=>bC,\u0275setAlternateWeakRefImpl:()=>VS,\u0275setClassDebugInfo:()=>qb,\u0275setClassMetadata:()=>yb,\u0275setClassMetadataAsync:()=>eI,\u0275setCurrentInjector:()=>wn,\u0275setDocument:()=>fC,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ia,\u0275setInjectorProfilerContext:()=>Bn,\u0275setLocaleId:()=>uf,\u0275setUnknownElementStrictMode:()=>yC,\u0275setUnknownPropertyStrictMode:()=>wC,\u0275store:()=>Wv,\u0275stringify:()=>Re,\u0275transitiveScopesFor:()=>qo,\u0275triggerResourceLoading:()=>pu,\u0275truncateMiddle:()=>Ke,\u0275unregisterLocaleData:()=>WM,\u0275unwrapSafeValue:()=>oo,\u0275whenStable:()=>$y,\u0275withDomHydration:()=>iT,\u0275\u0275CopyDefinitionFeature:()=>Mg,\u0275\u0275FactoryTarget:()=>Vo,\u0275\u0275HostDirectivesFeature:()=>Dg,\u0275\u0275InheritDefinitionFeature:()=>vh,\u0275\u0275InputTransformsFeature:()=>Ag,\u0275\u0275NgOnChangesFeature:()=>Xn,\u0275\u0275ProvidersFeature:()=>sb,\u0275\u0275StandaloneFeature:()=>ub,\u0275\u0275advance:()=>V0,\u0275\u0275attribute:()=>bh,\u0275\u0275attributeInterpolate1:()=>yh,\u0275\u0275attributeInterpolate2:()=>Ch,\u0275\u0275attributeInterpolate3:()=>wh,\u0275\u0275attributeInterpolate4:()=>xh,\u0275\u0275attributeInterpolate5:()=>Eh,\u0275\u0275attributeInterpolate6:()=>Mh,\u0275\u0275attributeInterpolate7:()=>Dh,\u0275\u0275attributeInterpolate8:()=>Ih,\u0275\u0275attributeInterpolateV:()=>Sh,\u0275\u0275classMap:()=>Ug,\u0275\u0275classMapInterpolate1:()=>Wg,\u0275\u0275classMapInterpolate2:()=>Gg,\u0275\u0275classMapInterpolate3:()=>Kg,\u0275\u0275classMapInterpolate4:()=>Yg,\u0275\u0275classMapInterpolate5:()=>Zg,\u0275\u0275classMapInterpolate6:()=>Qg,\u0275\u0275classMapInterpolate7:()=>Xg,\u0275\u0275classMapInterpolate8:()=>Jg,\u0275\u0275classMapInterpolateV:()=>qg,\u0275\u0275classProp:()=>Ph,\u0275\u0275componentInstance:()=>e_,\u0275\u0275conditional:()=>b_,\u0275\u0275contentQuery:()=>Gb,\u0275\u0275defer:()=>V_,\u0275\u0275deferEnableTimerScheduling:()=>$_,\u0275\u0275deferOnHover:()=>Q_,\u0275\u0275deferOnIdle:()=>z_,\u0275\u0275deferOnImmediate:()=>G_,\u0275\u0275deferOnInteraction:()=>J_,\u0275\u0275deferOnTimer:()=>Y_,\u0275\u0275deferOnViewport:()=>ev,\u0275\u0275deferPrefetchOnHover:()=>X_,\u0275\u0275deferPrefetchOnIdle:()=>W_,\u0275\u0275deferPrefetchOnImmediate:()=>K_,\u0275\u0275deferPrefetchOnInteraction:()=>q_,\u0275\u0275deferPrefetchOnTimer:()=>Z_,\u0275\u0275deferPrefetchOnViewport:()=>tv,\u0275\u0275deferPrefetchWhen:()=>H_,\u0275\u0275deferWhen:()=>j_,\u0275\u0275defineComponent:()=>Kn,\u0275\u0275defineDirective:()=>ls,\u0275\u0275defineInjectable:()=>Yn,\u0275\u0275defineInjector:()=>pn,\u0275\u0275defineNgModule:()=>lr,\u0275\u0275definePipe:()=>Ys,\u0275\u0275directiveInject:()=>Ra,\u0275\u0275disableBindings:()=>ro,\u0275\u0275element:()=>rf,\u0275\u0275elementContainer:()=>sf,\u0275\u0275elementContainerEnd:()=>bu,\u0275\u0275elementContainerStart:()=>vu,\u0275\u0275elementEnd:()=>_u,\u0275\u0275elementStart:()=>gu,\u0275\u0275enableBindings:()=>cl,\u0275\u0275getComponentDepsFactory:()=>Jb,\u0275\u0275getCurrentView:()=>uv,\u0275\u0275getInheritedFactory:()=>Pm,\u0275\u0275hostProperty:()=>af,\u0275\u0275i18n:()=>Lv,\u0275\u0275i18nApply:()=>Nv,\u0275\u0275i18nAttributes:()=>Pv,\u0275\u0275i18nEnd:()=>mf,\u0275\u0275i18nExp:()=>pf,\u0275\u0275i18nPostprocess:()=>Fv,\u0275\u0275i18nStart:()=>ff,\u0275\u0275inject:()=>Ln,\u0275\u0275injectAttribute:()=>Ju,\u0275\u0275invalidFactory:()=>H0,\u0275\u0275invalidFactoryDep:()=>Mi,\u0275\u0275listener:()=>_f,\u0275\u0275loadQuery:()=>Kb,\u0275\u0275namespaceHTML:()=>bi,\u0275\u0275namespaceMathML:()=>Wi,\u0275\u0275namespaceSVG:()=>Wn,\u0275\u0275nextContext:()=>jv,\u0275\u0275ngDeclareClassMetadata:()=>lT,\u0275\u0275ngDeclareComponent:()=>cT,\u0275\u0275ngDeclareDirective:()=>aT,\u0275\u0275ngDeclareFactory:()=>uT,\u0275\u0275ngDeclareInjectable:()=>hT,\u0275\u0275ngDeclareInjector:()=>fT,\u0275\u0275ngDeclareNgModule:()=>mT,\u0275\u0275ngDeclarePipe:()=>pT,\u0275\u0275pipe:()=>Nb,\u0275\u0275pipeBind1:()=>Fb,\u0275\u0275pipeBind2:()=>Ub,\u0275\u0275pipeBind3:()=>Bb,\u0275\u0275pipeBind4:()=>$b,\u0275\u0275pipeBindV:()=>Vb,\u0275\u0275projection:()=>zv,\u0275\u0275projectionDef:()=>Hv,\u0275\u0275property:()=>Rh,\u0275\u0275propertyInterpolate:()=>bf,\u0275\u0275propertyInterpolate1:()=>Eu,\u0275\u0275propertyInterpolate2:()=>yf,\u0275\u0275propertyInterpolate3:()=>Cf,\u0275\u0275propertyInterpolate4:()=>wf,\u0275\u0275propertyInterpolate5:()=>xf,\u0275\u0275propertyInterpolate6:()=>Ef,\u0275\u0275propertyInterpolate7:()=>Mf,\u0275\u0275propertyInterpolate8:()=>Df,\u0275\u0275propertyInterpolateV:()=>If,\u0275\u0275pureFunction0:()=>Cb,\u0275\u0275pureFunction1:()=>wb,\u0275\u0275pureFunction2:()=>xb,\u0275\u0275pureFunction3:()=>Eb,\u0275\u0275pureFunction4:()=>Mb,\u0275\u0275pureFunction5:()=>Db,\u0275\u0275pureFunction6:()=>Ib,\u0275\u0275pureFunction7:()=>Sb,\u0275\u0275pureFunction8:()=>Tb,\u0275\u0275pureFunctionV:()=>Ab,\u0275\u0275queryRefresh:()=>zb,\u0275\u0275reference:()=>Gv,\u0275\u0275registerNgModuleType:()=>vd,\u0275\u0275repeater:()=>x_,\u0275\u0275repeaterCreate:()=>w_,\u0275\u0275repeaterTrackByIdentity:()=>C_,\u0275\u0275repeaterTrackByIndex:()=>y_,\u0275\u0275resetView:()=>da,\u0275\u0275resolveBody:()=>_d,\u0275\u0275resolveDocument:()=>mp,\u0275\u0275resolveWindow:()=>fp,\u0275\u0275restoreView:()=>ua,\u0275\u0275sanitizeHtml:()=>c0,\u0275\u0275sanitizeResourceUrl:()=>Bd,\u0275\u0275sanitizeScript:()=>d0,\u0275\u0275sanitizeStyle:()=>u0,\u0275\u0275sanitizeUrl:()=>Ud,\u0275\u0275sanitizeUrlOrResourceUrl:()=>m0,\u0275\u0275setComponentScope:()=>db,\u0275\u0275setNgModuleScope:()=>hb,\u0275\u0275styleMap:()=>ks,\u0275\u0275styleMapInterpolate1:()=>Kv,\u0275\u0275styleMapInterpolate2:()=>Yv,\u0275\u0275styleMapInterpolate3:()=>Zv,\u0275\u0275styleMapInterpolate4:()=>Qv,\u0275\u0275styleMapInterpolate5:()=>Xv,\u0275\u0275styleMapInterpolate6:()=>Jv,\u0275\u0275styleMapInterpolate7:()=>qv,\u0275\u0275styleMapInterpolate8:()=>eb,\u0275\u0275styleMapInterpolateV:()=>tb,\u0275\u0275styleProp:()=>Lh,\u0275\u0275stylePropInterpolate1:()=>Sf,\u0275\u0275stylePropInterpolate2:()=>Tf,\u0275\u0275stylePropInterpolate3:()=>Af,\u0275\u0275stylePropInterpolate4:()=>kf,\u0275\u0275stylePropInterpolate5:()=>Rf,\u0275\u0275stylePropInterpolate6:()=>Of,\u0275\u0275stylePropInterpolate7:()=>Lf,\u0275\u0275stylePropInterpolate8:()=>Pf,\u0275\u0275stylePropInterpolateV:()=>Nf,\u0275\u0275syntheticHostListener:()=>vf,\u0275\u0275syntheticHostProperty:()=>lf,\u0275\u0275template:()=>Ya,\u0275\u0275templateRefExtractor:()=>Xb,\u0275\u0275text:()=>nb,\u0275\u0275textInterpolate:()=>Ff,\u0275\u0275textInterpolate1:()=>Mu,\u0275\u0275textInterpolate2:()=>Uf,\u0275\u0275textInterpolate3:()=>Bf,\u0275\u0275textInterpolate4:()=>$f,\u0275\u0275textInterpolate5:()=>Vf,\u0275\u0275textInterpolate6:()=>jf,\u0275\u0275textInterpolate7:()=>Hf,\u0275\u0275textInterpolate8:()=>zf,\u0275\u0275textInterpolateV:()=>Wf,\u0275\u0275trustConstantHtml:()=>h0,\u0275\u0275trustConstantResourceUrl:()=>f0,\u0275\u0275validateIframeAttribute:()=>Qp,\u0275\u0275viewQuery:()=>Wb});let f=null,D=!1,y=1;const u=Symbol("SIGNAL");function v(e){const t=f;return f=e,t}const o={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function l(e){if(D)throw new Error("");if(null===f)return;f.consumerOnSignalRead(e);const t=f.nextProducerIndex++;I(f),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function w(e){I(e);for(let t=0;t0}function I(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function P(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const L=Symbol("UNSET"),F=Symbol("COMPUTING"),R=Symbol("ERRORED"),U=(()=>({...o,value:L,dirty:!0,error:null,equal:n,producerMustRecompute:e=>e.value===L||e.value===F,producerRecomputeValue(e){if(e.value===F)throw new Error("Detected cycle in computations.");const t=e.value;e.value=F;const i=C(e);let a;try{a=e.computation()}catch(p){a=R,e.error=p}finally{x(e,i)}t!==L&&t!==R&&a!==R&&e.equal(t,a)?e.value=t:(e.value=a,e.version++)}}))();let ne=function W(){throw new Error};function ee(){ne()}let B=null;function te(e,t){g()||ee(),e.equal(e.value,t)||(e.value=t,function $e(e){e.version++,function r(){y++}(),d(e),B?.()}(e))}const Ge=(()=>({...o,equal:n,value:void 0}))();const Ze=()=>{},Et=(()=>({...o,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ze}))();var qe=_(8645),Ee=_(7394),Ie=_(5619),Ce=_(7398),ge=_(1374);function Ae(e){for(let t in e)if(e[t]===Ae)return t;throw Error("Could not find renamed property on target object.")}function q(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Re).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ke(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Ke(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const i=Math.round(t/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}const me=Ae({__forward_ref__:Ae});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return Re(this())},e}function Ne(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(me)&&e.__forward_ref__===Pe}function yt(e){return e&&!!e.\u0275providers}const Yt="https://g.co/ng/security#xss";class jt extends Error{constructor(t,i){super(cn(t,i)),this.code=t}}function cn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const fn=Ae({\u0275cmp:Ae}),an=Ae({\u0275dir:Ae}),En=Ae({\u0275pipe:Ae}),un=Ae({\u0275mod:Ae}),Bt=Ae({\u0275fac:Ae}),Ft=Ae({__NG_ELEMENT_ID__:Ae}),De=Ae({__NG_ENV_ID__:Ae});function Ve(e){return"string"==typeof e?e:null==e?"":String(e)}function Xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ve(e)}function Pt(e,t){throw new jt(-201,!1)}function Xt(e,t){null==e&&tn(t,e,null,"!=")}function tn(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Yn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const st=Yn;function pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ue(e){return At(e,dt)||At(e,Ut)}function ot(e){return null!==Ue(e)}function At(e,t){return e.hasOwnProperty(t)?e[t]:null}function it(e){return e&&(e.hasOwnProperty(ct)||e.hasOwnProperty(wt))?e[ct]:null}const dt=Ae({\u0275prov:Ae}),ct=Ae({\u0275inj:Ae}),Ut=Ae({ngInjectableDef:Ae}),wt=Ae({ngInjectorDef:Ae});var vt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(vt||{});let Ht;function dn(){return Ht}function ze(e){const t=Ht;return Ht=e,t}function en(e,t,i){const a=Ue(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&vt.Optional?null:void 0!==t?t:void Pt(Re(e))}const pe=globalThis;class _t{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Yn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let hn;function Bn(e){tn("setInjectorProfilerContext should never be called in production mode");const t=hn;return hn=e,t}let Ci=null;const Zn=e=>{tn("setInjectorProfiler should never be called in production mode"),Ci=e},Tn={},Ki="__NG_DI_FLAG__",qn="ngTempTokenPath",Qn=/\n/gm,mr="__source";let er;function wn(e){const t=er;return er=e,t}function Fn(e,t=vt.Default){if(void 0===er)throw new jt(-203,!1);return null===er?en(e,void 0,t):er.get(e,t&vt.Optional?null:void 0,t)}function Ln(e,t=vt.Default){return(dn()||Fn)(Ne(e),t)}function Mi(e){throw new jt(202,!1)}function Vn(e,t=vt.Default){return Ln(e,Ui(t))}function Ui(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sr(e){const t=[];for(let i=0;it){N=E-1;break}}}for(;EE?"":p[et+1].toLowerCase();const Rt=8&a?Mt:null;if(Rt&&-1!==wr(Rt,fe,0)||2&a&&fe!==Mt){if($t(a))return!1;N=!0}}}}else{if(!N&&!$t(a)&&!$t(X))return!1;if(N&&$t(X))continue;N=!1,a=X|1&a}}return $t(a)||N}function $t(e){return 0==(1&e)}function Gt(e,t,i,a){if(null===t)return-1;let p=0;if(a||!i){let E=!1;for(;p-1)for(i++;i0?'="'+V+'"':"")+"]"}else 8&a?p+="."+N:4&a&&(p+=" "+N);else""!==p&&!$t(N)&&(t+=ai(E,p),p=""),a=N,E=E||!$t(a);i++}return""!==p&&(t+=ai(E,p)),t}function Kn(e){return tr(()=>{const t=Es(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Zi.Emulated,styles:e.styles||oi,_:null,schemas:e.schemas||null,tView:null,id:""};$r(i);const a=e.dependencies;return i.directiveDefs=es(a,!1),i.pipeDefs=es(a,!0),i.id=function uo(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const p of i)t=Math.imul(31,t)+p.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function li(e){return ti(e)||wi(e)}function ji(e){return null!==e}function lr(e){return tr(()=>({type:e.type,bootstrap:e.bootstrap||oi,declarations:e.declarations||oi,imports:e.imports||oi,exports:e.exports||oi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gr(e,t){if(null==e)return or;const i={};for(const a in e)if(e.hasOwnProperty(a)){let p=e[a],E=p;Array.isArray(p)&&(E=p[1],p=p[0]),i[p]=a,t&&(t[p]=E)}return i}function ls(e){return tr(()=>{const t=Es(e);return $r(t),t})}function Ys(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 ti(e){return e[fn]||null}function wi(e){return e[an]||null}function Ri(e){return e[En]||null}function Br(e){const t=ti(e)||wi(e)||Ri(e);return null!==t&&t.standalone}function Qi(e,t){const i=e[un]||null;if(!i&&!0===t)throw new Error(`Type ${Re(e)} does not have '\u0275mod' property.`);return i}function Es(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||or,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||oi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gr(e.inputs,t),outputs:gr(e.outputs),debugInfo:null}}function $r(e){e.features?.forEach(t=>t(e))}function es(e,t){if(!e)return null;const i=t?Ri:li;return()=>("function"==typeof e?e():e).map(a=>i(a)).filter(ji)}const Zs=new Map,Bi=0,yn=1,he=2,we=3,ae=4,je=5,xt=6,gn=7,Sn=8,Di=9,cr=10,$n=11,gs=12,_s=13,vs=14,Oi=15,bs=16,Pr=17,Kr=18,Ms=19,cs=20,ts=21,Yr=22,Ar=23,Hn=25,Qs=1,Vr=6,nr=7,ys=9,fi=10;var jr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(jr||{});function Xi(e){return Array.isArray(e)&&"object"==typeof e[Qs]}function ir(e){return Array.isArray(e)&&!0===e[Qs]}function Xs(e){return 0!=(4&e.flags)}function Zr(e){return e.componentOffset>-1}function Ps(e){return 1==(1&e.flags)}function Nr(e){return!!e.template}function Ns(e){return 0!=(512&e[he])}function Ao(e){return 16==(16&e.type)}function qs(e){return 256==(256&e[he])}function ho(e,t){!function ko(e,t){eo(e);const i=t.data;for(let a=Hn;a{_r=e},Ji=function(e,t,i){_r?.(e,t,i)},rs="svg",Is="math";let Rr=!1;function na(){return Rr}function ia(e){Rr=e}function xi(e){for(;Array.isArray(e);)e=e[Bi];return e}function Fs(e){for(;Array.isArray(e);){if("object"==typeof e[Qs])return e;e=e[Bi]}return null}function to(e,t){return xi(t[e])}function ar(e,t){return xi(t[e.index])}function no(e,t){return e.data[t]}function Ss(e,t){return e[t]}function xr(e,t){const i=t[e];return Xi(i)?i:i[Bi]}function Lo(e){return 128==(128&e[he])}function rr(e,t){return null==t?null:e[t]}function oa(e){e[Pr]=0}function cc(e){1024&e[he]||(e[he]|=1024,Lo(e)&&Us(e))}function aa(e,t){for(;e>0;)t=t[vs],e--;return t}function la(e){return 9216&e[he]||e[Ar]?.dirty}function go(e){la(e)?Us(e):64&e[he]&&(na()?(e[he]|=1024,Us(e)):e[cr].changeDetectionScheduler?.notify())}function Us(e){e[cr].changeDetectionScheduler?.notify();let t=e[we];for(;null!==t&&!(ir(t)&&t[he]&jr.HasChildViewsToRefresh||Xi(t)&&8192&t[he]);){if(ir(t))t[he]|=jr.HasChildViewsToRefresh;else if(t[he]|=8192,!Lo(t))break;t=t[we]}}function Or(e,t){if(256==(256&e[he]))throw new jt(911,!1);null===e[ts]&&(e[ts]=[]),e[ts].push(t)}function _o(e,t){if(null===e[ts])return;const i=e[ts].indexOf(t);-1!==i&&e[ts].splice(i,1)}const zn={lFrame:Kt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vo(){return zn.bindingsEnabled}function Ts(){return null!==zn.skipHydrationRootTNode}function cl(){zn.bindingsEnabled=!0}function ro(){zn.bindingsEnabled=!1}function rn(){return zn.lFrame.lView}function mi(){return zn.lFrame.tView}function ua(e){return zn.lFrame.contextLView=e,e[Sn]}function da(e){return zn.lFrame.contextLView=null,e}function Pi(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return zn.lFrame.currentTNode}function so(){const e=zn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ss(e,t){const i=zn.lFrame;i.currentTNode=e,i.isParent=t}function Uo(){return zn.lFrame.isParent}function Bo(){zn.lFrame.isParent=!1}function G(){const e=zn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function se(){return zn.lFrame.bindingIndex}function Q(e){return zn.lFrame.bindingIndex=e}function re(){return zn.lFrame.bindingIndex++}function be(e){const t=zn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function pt(e){zn.lFrame.inI18n=e}function Zt(e,t){const i=zn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Mn(t)}function Mn(e){zn.lFrame.currentDirectiveIndex=e}function ni(e){const t=zn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function O(){return zn.lFrame.currentQueryIndex}function xe(e){zn.lFrame.currentQueryIndex=e}function K(e){const t=e[yn];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function Je(e,t,i){if(i&vt.SkipSelf){let p=t,E=e;for(;!(p=p.parent,null!==p||i&vt.Host||(p=K(E),null===p||(E=E[vs],10&p.type))););if(null===p)return!1;t=p,e=E}const a=zn.lFrame=ht();return a.currentTNode=t,a.lView=e,!0}function ft(e){const t=ht(),i=e[yn];zn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function ht(){const e=zn.lFrame,t=null===e?null:e.child;return null===t?Kt(e):t}function Kt(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 Vt(){const e=zn.lFrame;return zn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const kn=Vt;function kt(){const e=Vt();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 Jn(){return zn.lFrame.selectedIndex}function Dn(e){zn.lFrame.selectedIndex=e}function sn(){const e=zn.lFrame;return no(e.tView,e.selectedIndex)}function Wn(){zn.lFrame.currentNamespace=rs}function Wi(){zn.lFrame.currentNamespace=Is}function bi(){!function ci(){zn.lFrame.currentNamespace=null}()}function Ai(){return zn.lFrame.currentNamespace}let pi=!0;function In(){return pi}function hi(e){pi=e}function jn(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[X]<0&&(e[Pr]+=65536),(V>14>16&&(3&e[he])===t&&(e[he]+=16384,$s(V,E)):$s(V,E)}const As=-1;class Vs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function y1(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ku(e){return e!==As}function hl(e){return 32767&e}function fl(e,t){let i=function x1(e){return e>>16}(e),a=t;for(;i>0;)a=a[vs],i--;return a}let Yu=!0;function hc(e){const t=Yu;return Yu=e,t}const Dm=255,Im=5;let E1=0;const js={};function fc(e,t){const i=Sm(e,t);if(-1!==i)return i;const a=t[yn];a.firstCreatePass&&(e.injectorIndex=t.length,Zu(a.data,e),Zu(t,null),Zu(a.blueprint,null));const p=mc(e,t),E=e.injectorIndex;if(Ku(p)){const N=hl(p),V=fl(p,t),X=V[yn].data;for(let fe=0;fe<8;fe++)t[E+fe]=V[N+fe]|X[N+fe]}return t[E+8]=p,E}function Zu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function mc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,p=t;for(;null!==p;){if(a=Nm(p),null===a)return As;if(i++,p=p[vs],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return As}function Qu(e,t,i){!function M1(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(Ft)&&(a=i[Ft]),null==a&&(a=i[Ft]=E1++);const p=a&Dm;t.data[e+(p>>Im)]|=1<=0?t&Dm:T1:t}(i);if("function"==typeof E){if(!Je(t,e,a))return a&vt.Host?Tm(p,0,a):Am(t,i,a,p);try{let N;if(N=E(a),null!=N||a&vt.Optional)return N;Pt()}finally{kn()}}else if("number"==typeof E){let N=null,V=Sm(e,t),X=As,fe=a&vt.Host?t[Oi][je]:null;for((-1===V||a&vt.SkipSelf)&&(X=-1===V?mc(e,t):t[V+8],X!==As&&Lm(a,!1)?(N=t[yn],V=hl(X),t=fl(X,t)):V=-1);-1!==V;){const Le=t[yn];if(Om(E,V,Le.data)){const et=I1(V,t,i,N,a,fe);if(et!==js)return et}X=t[V+8],X!==As&&Lm(a,t[yn].data[V+8]===fe)&&Om(E,V,t)?(N=Le,V=hl(X),t=fl(X,t)):V=-1}}return p}function I1(e,t,i,a,p,E){const N=t[yn],V=N.data[e+8],Le=pc(V,N,i,null==a?Zr(V)&&Yu:a!=N&&0!=(3&V.type),p&vt.Host&&E===V);return null!==Le?$o(t,N,Le,V):js}function pc(e,t,i,a,p){const E=e.providerIndexes,N=t.data,V=1048575&E,X=e.directiveStart,Le=E>>20,Mt=p?V+Le:e.directiveEnd;for(let Rt=a?V:V+Le;Rt=X&&Jt.type===i)return Rt}if(p){const Rt=N[X];if(Rt&&Nr(Rt)&&Rt.type===i)return X}return null}function $o(e,t,i,a){let p=e[i];const E=t.data;if(function b1(e){return e instanceof Vs}(p)){const N=p;N.resolving&&function ut(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new jt(-200,`Circular dependency in DI detected for ${e}${i}`)}(Xe(E[i]));const V=hc(N.canSeeViewProviders);N.resolving=!0;const fe=N.injectImpl?ze(N.injectImpl):null;Je(e,a,vt.Default);try{p=e[i]=N.factory(void 0,E,e,a),t.firstCreatePass&&i>=a.directiveStart&&function vr(e,t,i){const{ngOnChanges:a,ngOnInit:p,ngDoCheck:E}=t.type.prototype;if(a){const N=$i(t);(i.preOrderHooks??=[]).push(e,N),(i.preOrderCheckHooks??=[]).push(e,N)}p&&(i.preOrderHooks??=[]).push(0-e,p),E&&((i.preOrderHooks??=[]).push(e,E),(i.preOrderCheckHooks??=[]).push(e,E))}(i,E[i],t)}finally{null!==fe&&ze(fe),hc(V),N.resolving=!1,kn()}}return p}function Om(e,t,i){return!!(i[t+(e>>Im)]&1<{const t=e.prototype.constructor,i=t[Bt]||Xu(t),a=Object.prototype;let p=Object.getPrototypeOf(e.prototype).constructor;for(;p&&p!==a;){const E=p[Bt]||Xu(p);if(E&&E!==i)return E;p=Object.getPrototypeOf(p)}return E=>new E})}function Xu(e){return Be(e)?()=>{const t=Xu(Ne(e));return t&&t()}:di(e)}function Nm(e){const t=e[yn],i=t.type;return 2===i?t.declTNode:1===i?e[je]:null}function Ju(e){return function D1(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let p=0;for(;p{const E=qu(t);function N(...V){if(this instanceof N)return E.call(this,...V),this;const X=new N(...V);return function(Le){return p&&p(Le,...V),(Le.hasOwnProperty(pa)?Le[pa]:Object.defineProperty(Le,pa,{value:[]})[pa]).push(X),a&&a(Le),Le}}return i&&(N.prototype=Object.create(i.prototype)),N.prototype.ngMetadataName=e,N.annotationCls=N,N})}function qu(e){return function(...i){if(e){const a=e(...i);for(const p in a)this[p]=a[p]}}}function va(e,t,i){return tr(()=>{const a=qu(t);function p(...E){if(this instanceof p)return a.apply(this,E),this;const N=new p(...E);return V.annotation=N,V;function V(X,fe,Le){const et=X.hasOwnProperty(ga)?X[ga]:Object.defineProperty(X,ga,{value:[]})[ga];for(;et.length<=Le;)et.push(null);return(et[Le]=et[Le]||[]).push(N),X}}return i&&(p.prototype=Object.create(i.prototype)),p.prototype.ngMetadataName=e,p.annotationCls=p,p})}function yo(e,t,i,a){return tr(()=>{const p=qu(t);function E(...N){if(this instanceof E)return p.apply(this,N),this;const V=new E(...N);return function X(fe,Le){if(void 0===fe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const et=fe.constructor,Mt=et.hasOwnProperty(_a)?et[_a]:Object.defineProperty(et,_a,{value:{}})[_a];Mt[Le]=Mt.hasOwnProperty(Le)&&Mt[Le]||[],Mt[Le].unshift(V),a&&a(fe,Le,...N)}}return i&&(E.prototype=Object.create(i.prototype)),E.prototype.ngMetadataName=e,E.annotationCls=E,E})}const Fm=va("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ju(e)}));class pl{}const k1=yo("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),pl),R1=yo("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),pl),O1=yo("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),pl),L1=yo("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),pl);var Vo=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Vo||{});function Mr(e){const t=pe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bm=Function;function gl(e){return"function"==typeof e}function os(e){return e.flat(Number.POSITIVE_INFINITY)}function ba(e,t){e.forEach(i=>Array.isArray(i)?ba(i,t):t(i))}function $m(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function gc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _l(e,t){const i=[];for(let a=0;at;)e[p]=e[p-2],p--;e[t]=i,e[t+1]=a}}function hs(e,t,i){let a=ya(e,t);return a>=0?e[1|a]=i:(a=~a,Vm(e,a,t,i)),a}function td(e,t){const i=ya(e,t);if(i>=0)return e[1|i]}function ya(e,t){return function jm(e,t,i){let a=0,p=e.length>>i;for(;p!==a;){const E=a+(p-a>>1),N=e[E<t?p=E:a=E+1}return~(p<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=_l(typeof t>"u"?i.length:t.length);for(let p=0;p"u"?[]:t[p]&&t[p]!=Object?[t[p]]:[],i&&null!=i[p]&&(a[p]=a[p].concat(i[p]));return a}_ownParameters(t,i){if(function j1(e){return U1.test(e)||V1.test(e)||B1.test(e)&&!$1.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const p=t.ctorParameters;if(p&&p!==i.ctorParameters){const V="function"==typeof p?p():p,X=V.map(Le=>Le&&Le.type),fe=V.map(Le=>Le&&nd(Le.decorators));return this._zipTypesAndAnnotations(X,fe)}const E=t.hasOwnProperty(ga)&&t[ga],N=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return N||E?this._zipTypesAndAnnotations(N,E):_l(t.length)}parameters(t){if(!gl(t))return[];const i=_c(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?nd(t.decorators):t.hasOwnProperty(pa)?t[pa]:null}annotations(t){if(!gl(t))return[];const i=_c(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,p={};return Object.keys(a).forEach(E=>{p[E]=nd(a[E])}),p}return t.hasOwnProperty(_a)?t[_a]:null}propMetadata(t){if(!gl(t))return{};const i=_c(t),a={};if(i!==Object){const E=this.propMetadata(i);Object.keys(E).forEach(N=>{a[N]=E[N]})}const p=this._ownPropMetadata(t,i);return p&&Object.keys(p).forEach(E=>{const N=[];a.hasOwnProperty(E)&&N.push(...a[E]),N.push(...p[E]),a[E]=N}),a}ownPropMetadata(t){return gl(t)&&this._ownPropMetadata(t,_c(t))||{}}hasLifecycleHook(t,i){return t instanceof Bm&&i in t.prototype}}function nd(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function _c(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const zm=pr(va("Inject",e=>({token:e})),-1),vc=pr(va("Optional"),8),Wm=pr(va("Self"),2),bc=pr(va("SkipSelf"),4),Gm=pr(va("Host"),1);let Km=null;function id(){return Km=Km||new Hm}function yc(e){return Ym(id().parameters(e))}function Ym(e){return e.map(t=>function H1(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const N=[];p.templateUrl&&N.push(a(p.templateUrl).then(fe=>{p.template=fe}));const V="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=V,p.styleUrl&&p.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(p.styleUrls?.length){const fe=p.styles.length,Le=p.styleUrls;p.styleUrls.forEach((et,Mt)=>{V.push(""),N.push(a(et).then(Rt=>{V[fe+Mt]=Rt,Le.splice(Le.indexOf(et),1),0==Le.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&N.push(a(p.styleUrl).then(fe=>{V.push(fe),p.styleUrl=void 0}));const X=Promise.all(N).then(()=>function Z1(e){vl.delete(e)}(E));t.push(X)}),Xm(),Promise.all(t).then(()=>{})}let Ca=new Map;const vl=new Set;function W1(e){return vl.has(e)}function Qm(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function Xm(){const e=Ca;return Ca=new Map,e}function G1(e){vl.clear(),e.forEach((t,i)=>vl.add(i)),Ca=e}function Y1(e){return"string"==typeof e?e:e.text()}const jo=new _t("ENVIRONMENT_INITIALIZER"),rd=new _t("INJECTOR",-1),sd=new _t("INJECTOR_DEF_TYPES");class Cc{get(t,i=Tn){if(i===Tn){const a=new Error(`NullInjectorError: No provider for ${Re(t)}!`);throw a.name="NullInjectorError",a}return i}}function od(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:qm(0,e),\u0275fromNgModule:!0}}function qm(e,...t){const i=[],a=new Set;let p;const E=N=>{i.push(N)};return ba(t,N=>{const V=N;wc(V,E,[],a)&&(p||=[],p.push(V))}),void 0!==p&&ep(p,E),i}function ep(e,t){for(let i=0;i{t(E,a)})}}function wc(e,t,i,a){if(!(e=Ne(e)))return!1;let p=null,E=it(e);const N=!E&&ti(e);if(E||N){if(N&&!N.standalone)return!1;p=e}else{const X=e.ngModule;if(E=it(X),!E)return!1;p=X}const V=a.has(p);if(N){if(V)return!1;if(a.add(p),N.dependencies){const X="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const fe of X)wc(fe,t,i,a)}}else{if(!E)return!1;{if(null!=E.imports&&!V){let fe;a.add(p);try{ba(E.imports,Le=>{wc(Le,t,i,a)&&(fe||=[],fe.push(Le))})}finally{}void 0!==fe&&ep(fe,t)}if(!V){const fe=di(p)||(()=>new p);t({provide:p,useFactory:fe,deps:oi},p),t({provide:sd,useValue:p,multi:!0},p),t({provide:jo,useValue:()=>Ln(p),multi:!0},p)}const X=E.providers;if(null!=X&&!V){const fe=e;ad(X,Le=>{t(Le,fe)})}}}return p!==e&&void 0!==e.providers}function ad(e,t){for(let i of e)yt(i)&&(i=i.\u0275providers),Array.isArray(i)?ad(i,t):t(i)}const Q1=Ae({provide:String,useValue:Ae});function ld(e){return null!==e&&"object"==typeof e&&Q1 in e}function Ho(e){return"function"==typeof e}const cd=new _t("Set Injector scope."),xc={},J1={};let ud;function Ec(){return void 0===ud&&(ud=new Cc),ud}class Hs{}class wa extends Hs{get destroyed(){return this._destroyed}constructor(t,i,a,p){super(),this.parent=i,this.source=a,this.scopes=p,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hd(t,N=>this.processProvider(N)),this.records.set(rd,xa(void 0,this)),p.has("environment")&&this.records.set(Hs,xa(void 0,this));const E=this.records.get(cd);null!=E&&"string"==typeof E.value&&this.scopes.add(E.value),this.injectorDefTypes=new Set(this.get(sd,oi,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=wn(this),a=ze(void 0);try{return t()}finally{wn(i),ze(a)}}get(t,i=Tn,a=vt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(De))return t[De](this);a=Ui(a);const E=wn(this),N=ze(void 0);try{if(!(a&vt.SkipSelf)){let X=this.records.get(t);if(void 0===X){const fe=function iC(e){return"function"==typeof e||"object"==typeof e&&e instanceof _t}(t)&&Ue(t);X=fe&&this.injectableDefInScope(fe)?xa(dd(t),xc):null,this.records.set(t,X)}if(null!=X)return this.hydrate(t,X)}return(a&vt.Self?Ec():this.parent).get(t,i=a&vt.Optional&&i===Tn?null:i)}catch(V){if("NullInjectorError"===V.name){if((V[qn]=V[qn]||[]).unshift(Re(t)),E)throw V;return function Sr(e,t,i,a){const p=e[qn];throw t[mr]&&p.unshift(t[mr]),e.message=function Lr(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let p=Re(t);if(Array.isArray(t))p=t.map(Re).join(" -> ");else if("object"==typeof t){let E=[];for(let N in t)if(t.hasOwnProperty(N)){let V=t[N];E.push(N+":"+("string"==typeof V?JSON.stringify(V):Re(V)))}p=`{${E.join(", ")}}`}return`${i}${a?"("+a+")":""}[${p}]: ${e.replace(Qn,"\n ")}`}("\n"+e.message,p,i,a),e.ngTokenPath=p,e[qn]=null,e}(V,t,"R3InjectorError",this.source)}throw V}finally{ze(N),wn(E)}}resolveInjectorInitializers(){const t=wn(this),i=ze(void 0);try{const p=this.get(jo,oi,vt.Self);for(const E of p)E()}finally{wn(t),ze(i)}}toString(){const t=[],i=this.records;for(const a of i.keys())t.push(Re(a));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new jt(205,!1)}processProvider(t){let i=Ho(t=Ne(t))?t:Ne(t&&t.provide);const a=function eC(e){return ld(e)?xa(void 0,e.useValue):xa(ip(e),xc)}(t);if(Ho(t)||!0!==t.multi)this.records.get(i);else{let p=this.records.get(i);p||(p=xa(void 0,xc,!0),p.factory=()=>sr(p.multi),this.records.set(i,p)),i=t,p.multi.push(t)}this.records.set(i,a)}hydrate(t,i){return i.value===xc&&(i.value=J1,i.value=i.factory()),"object"==typeof i.value&&i.value&&function nC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ne(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function dd(e){const t=Ue(e),i=null!==t?t.factory:di(e);if(null!==i)return i;if(e instanceof _t)throw new jt(204,!1);if(e instanceof Function)return function q1(e){const t=e.length;if(t>0)throw _l(t,"?"),new jt(204,!1);const i=function qt(e){return e&&(e[dt]||e[Ut])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new jt(204,!1)}function ip(e,t,i){let a;if(Ho(e)){const p=Ne(e);return di(p)||dd(p)}if(ld(e))a=()=>Ne(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...sr(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))a=()=>Ln(Ne(e.useExisting));else{const p=Ne(e&&(e.useClass||e.provide));if(!function tC(e){return!!e.deps}(e))return di(p)||dd(p);a=()=>new p(...sr(e.deps))}return a}function xa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function hd(e,t){for(const i of e)Array.isArray(i)?hd(i,t):i&&yt(i)?hd(i.\u0275providers,t):t(i)}function rC(e,t){e instanceof wa&&e.assertNotDestroyed();const a=wn(e),p=ze(void 0);try{return t()}finally{wn(a),ze(p)}}function Mc(e){if(!dn()&&!function _n(){return er}())throw new jt(-203,!1)}const rp={\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275inject:Ln,\u0275\u0275invalidFactoryDep:Mi,resolveForwardRef:Ne};const oC=Ae({provide:String,useValue:Ae});function sp(e){return void 0!==e.useClass}function op(e){return void 0!==e.useFactory}const uC=ml("Injectable",void 0,void 0,void 0,(e,t)=>function sC(e,t){let i=null,a=null;e.hasOwnProperty(dt)||Object.defineProperty(e,dt,{get:()=>(null===i&&(i=Mr().compileInjectable(rp,`ng:///${e.name}/\u0275prov.js`,function cC(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(sp(i)||op(i))&&void 0!==i.deps&&(a.deps=Ym(i.deps)),sp(i)?a.useClass=i.useClass:function aC(e){return oC in e}(i)?a.useValue=i.useValue:op(i)?a.useFactory=i.useFactory:function lC(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Bt)||Object.defineProperty(e,Bt,{get:()=>{if(null===a){const p=Mr();a=p.compileFactory(rp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function fd(e,t=null,i=null,a){const p=ap(e,t,i,a);return p.resolveInjectorInitializers(),p}function ap(e,t=null,i=null,a,p=new Set){const E=[i||oi,Jm(e)];return a=a||("object"==typeof e?void 0:Re(e)),new wa(E,t||Ec(),a||null,p)}let pd,Cs=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Tn;static#t=this.NULL=new Cc;static create(i,a){if(Array.isArray(i))return fd({name:""},a,i,"");{const p=i.name??"";return fd({name:p},i.parent,i.providers,p)}}static#n=this.\u0275prov=Yn({token:e,providedIn:"any",factory:()=>Ln(rd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function md(e){return void 0!==e.ngModule}function Co(e){return!!Qi(e)}function Dc(e){return!!Ri(e)}function lp(e){return!!wi(e)}function bl(e){return!!ti(e)}function hC(e,t){if(Be(e)&&!(e=Ne(e)))throw new Error(`Expected forwardRef function, imported from "${Xe(t)}", to return a standalone entity or NgModule but got "${Xe(e)||e}".`);if(null==Qi(e)){const i=ti(e)||wi(e)||Ri(e);if(null==i)throw md(e)?new Error(`A module with providers was imported from "${Xe(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Xe(e)}" type, imported from "${Xe(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${Xe(e)}" ${function dC(e){return ti(e)?"component":wi(e)?"directive":Ri(e)?"pipe":"type"}(e)}, imported from "${Xe(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}function fC(e){pd=e}function wo(){if(void 0!==pd)return pd;if(typeof document<"u")return document;throw new jt(210,!1)}const cp=new _t("AppId",{providedIn:"root",factory:()=>mC}),mC="ng",up=new _t("Platform Initializer"),gd=new _t("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pC=new _t("Application Packages Root URL"),gC=new _t("AnimationModuleType"),_C=new _t("CSP nonce",{providedIn:"root",factory:()=>wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),dp={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hp=new _t("ImageConfig",{providedIn:"root",factory:()=>dp});function fp(e){return e.ownerDocument.defaultView}function mp(e){return e.ownerDocument}function _d(e){return e.ownerDocument.body}function fs(e){return e instanceof Function?e():e}function xo(e){return"browser"===(e??Vn(Cs)).get(gd)}const Ic=!0;class pp{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const i=Qi(t);if(i?.declarations)for(const a of fs(i.declarations))bl(a)&&this.ownerNgModule.set(a,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,i){this.resolveNgModulesDecls();const a=ti(t);if(null===a)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(a.standalone){const p=this.getStandaloneComponentScope(t,i);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(t));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(t,i){if(!Co(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const i=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,i),i}computeNgModuleScope(t){const i=Qi(t,!0),a={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of fs(i.imports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else{if(!Br(p)){a.compilation.isPoisoned=!0;break}if(lp(p)||bl(p))a.compilation.directives.add(p);else{if(!Dc(p))throw new jt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");a.compilation.pipes.add(p)}}if(!a.compilation.isPoisoned)for(const p of fs(i.declarations)){if(Co(p)||Br(p)){a.compilation.isPoisoned=!0;break}Dc(p)?a.compilation.pipes.add(p):a.compilation.directives.add(p)}for(const p of fs(i.exports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.exported.directives),Eo(E.exported.pipes,a.exported.pipes),Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else Dc(p)?a.exported.pipes.add(p):a.exported.directives.add(p);return a}getStandaloneComponentScope(t,i){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const a=this.computeStandaloneComponentScope(t,i);return this.standaloneComponentsScopeCache.set(t,a),a}computeStandaloneComponentScope(t,i){const a={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const p of os(i??[])){const E=Ne(p);try{hC(E,t)}catch{return a.compilation.isPoisoned=!0,a}if(Co(E)){a.compilation.ngModules.add(E);const N=this.getNgModuleScope(E);if(N.exported.isPoisoned)return a.compilation.isPoisoned=!0,a;Eo(N.exported.directives,a.compilation.directives),Eo(N.exported.pipes,a.compilation.pipes)}else if(Dc(E))a.compilation.pipes.add(E);else{if(!lp(E)&&!bl(E))return a.compilation.isPoisoned=!0,a;a.compilation.directives.add(E)}}return a}isOrphanComponent(t){const i=ti(t);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Eo(e,t){for(const i of e)t.add(i)}const Ma=new pp,Sc=new Map;let gp=!0;function vd(e,t){(function vC(e,t,i){if(t&&t!==i&&gp)throw new Error(`Duplicate module registered for ${e} - ${Re(t)} vs ${Re(t.name)}`)})(t,Sc.get(t)||null,e),Sc.set(t,e)}function _p(e){return Sc.get(e)}function bC(e){gp=!e}const vp={name:"custom-elements"},bp={name:"no-errors-schema"};let bd=!1;function yC(e){bd=e}function CC(){return bd}let yd=!1;function wC(e){yd=e}function xC(){return yd}function Cd(e){tn("Must never be called in production mode");const i=function Tc(e){tn("Must never be called in production mode");const i=e[Oi][Sn];return i&&i.constructor?ti(i.constructor):null}(e)?.type?.name;return i?` (used in the '${i}' component template)`:""}const yl="ngSkipHydration",MC="ngskiphydration";function wp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let i=0;i|^->||--!>|)/g,SC="\u200b$1\u200b";const wd=new Map;let TC=0;function Mp(e){return wd.get(e)||null}class Dp{get lView(){return Mp(this.lViewId)}constructor(t,i,a){this.lViewId=t,this.nodeIndex=i,this.native=a}}function Qr(e){let t=Cl(e);if(t){if(Xi(t)){const i=t;let a,p,E;if(Tp(e)){if(a=kp(i,e),-1==a)throw new Error("The provided component was not found in the application");p=e}else if(function OC(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function PC(e,t){let i=e[yn].firstChild;for(;i;){const p=i.directiveEnd;for(let E=i.directiveStart;E=0){const V=xi(E[N]),X=xd(E,N,V);Hr(V,X),t=X;break}}}}return t||null}function xd(e,t,i){return new Dp(e[Ms],t,i)}function Ip(e){let i,t=Cl(e);if(Xi(t)){const a=t,p=kp(a,e);i=xr(p,a);const E=xd(a,p,i[Bi]);E.component=e,Hr(e,E),Hr(E.native,E)}else i=xr(t.nodeIndex,t.lView);return i}const Ed="__ngContext__";function Hr(e,t){Xi(t)?(e[Ed]=t[Ms],function kC(e){wd.set(e[Ms],e)}(t)):e[Ed]=t}function Cl(e){const t=e[Ed];return"number"==typeof t?Mp(t):t||null}function Sp(e){const t=Cl(e);return t?Xi(t)?t:t.lView:null}function Tp(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Ap(e,t){const i=e[yn];for(let a=Hn;at.replace(IC,SC))}(t))}function Pc(e,t,i){return e.createElement(t,i)}function Fp(e,t){const i=e[ys],a=i.indexOf(t);i.splice(a,1)}function xl(e,t){if(e.length<=fi)return;const i=fi+t,a=e[i];if(a){const p=a[bs];null!==p&&p!==e&&Fp(p,a),t>0&&(e[i-1][ae]=a[ae]);const E=gc(e,fi+t);!function VC(e,t){Ml(e,t,t[$n],2,null,null),t[Bi]=null,t[je]=null}(a[yn],a);const N=E[Kr];null!==N&&N.detachView(E[yn]),a[we]=null,a[ae]=null,a[he]&=-129}return a}function Nc(e,t){if(!(256&t[he])){const i=t[$n];i.destroyNode&&Ml(e,t,i,3,null,null),function zC(e){let t=e[gs];if(!t)return Sd(e[yn],e);for(;t;){let i=null;if(Xi(t))i=t[gs];else{const a=t[fi];a&&(i=a)}if(!i){for(;t&&!t[ae]&&t!==e;)Xi(t)&&Sd(t[yn],t),t=t[we];null===t&&(t=e),Xi(t)&&Sd(t[yn],t),i=t&&t[ae]}t=i}}(t)}}function Sd(e,t){if(!(256&t[he])){t[he]&=-129,t[he]|=256,t[Ar]&&T(t[Ar]),function YC(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[N]():a[-N].unsubscribe(),E+=2}else i[E].call(a[i[E+1]]);null!==a&&(t[gn]=null);const p=t[ts];if(null!==p){t[ts]=null;for(let E=0;E-1){const{encapsulation:E}=e.data[a.directiveStart+p];if(E===Zi.None||E===Zi.Emulated)return null}return ar(a,i)}}function zo(e,t,i,a,p){e.insertBefore(t,i,a,p)}function Bp(e,t,i){e.appendChild(t,i)}function $p(e,t,i,a,p){null!==a?zo(e,t,i,a,p):Bp(e,t,i)}function Fc(e,t){return e.parentNode(t)}function Vp(e,t,i){return Hp(e,t,i)}function jp(e,t,i){return 40&e.type?ar(e,i):null}let Ad,$c,Vc,Hp=jp;function zp(e,t){Hp=e,Ad=t}function Uc(e,t,i,a){const p=Td(e,a,t),E=t[$n],V=Vp(a.parent||t[je],a,t);if(null!=p)if(Array.isArray(i))for(let X=0;Xe,createScript:e=>e,createScriptURL:e=>e})}catch{}return $c}function Ia(e){return Od()?.createHTML(e)||e}function Qp(e,t,i){const a=rn(),p=sn(),E=ar(p,a);if(2===p.type&&"iframe"===t.toLowerCase()){const N=E;throw N.src="",N.srcdoc=Ia(""),Bc(a[$n],N),new jt(-910,!1)}return e}function Ld(){if(void 0===Vc&&(Vc=null,pe.trustedTypes))try{Vc=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vc}function Xp(e){return Ld()?.createHTML(e)||e}function Jp(e){return Ld()?.createScript(e)||e}function qp(e){return Ld()?.createScriptURL(e)||e}class Wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yt})`}}class iw extends Wo{getTypeName(){return"HTML"}}class rw extends Wo{getTypeName(){return"Style"}}class sw extends Wo{getTypeName(){return"Script"}}class ow extends Wo{getTypeName(){return"URL"}}class aw extends Wo{getTypeName(){return"ResourceURL"}}function oo(e){return e instanceof Wo?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){const i=e0(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${Yt})`)}return i===t}function e0(e){return e instanceof Wo&&e.getTypeName()||null}function lw(e){return new iw(e)}function cw(e){return new rw(e)}function uw(e){return new sw(e)}function dw(e){return new ow(e)}function hw(e){return new aw(e)}function t0(e){const t=new mw(e);return function pw(){try{return!!(new window.DOMParser).parseFromString(Ia(""),"text/html")}catch{return!1}}()?new fw(t):t}class fw{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Ia(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class mw{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Ia(t),i}}const gw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jc(e){return(e=String(e)).match(gw)?e:"unsafe:"+e}function ao(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Dl(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const n0=ao("area,br,col,hr,img,wbr"),r0=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),s0=ao("rp,rt"),Pd=Dl(n0,Dl(r0,ao("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Dl(s0,ao("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Dl(s0,r0)),Nd=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),o0=Dl(Nd,ao("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ao("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_w=ao("script,style,template");class vw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let p=this.checkClobberedElement(i,i.nextSibling);if(p){i=p;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Pd.hasOwnProperty(i))return this.sanitizedSomething=!0,!_w.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let p=0;p"),!0}endElement(t){const i=t.nodeName.toLowerCase();Pd.hasOwnProperty(i)&&!n0.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(a0(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&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 i}}const bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yw=/([^\#-~ |!])/g;function a0(e){return e.replace(/&/g,"&").replace(bw,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Hc;function l0(e,t){let i=null;try{Hc=Hc||t0(e);let a=t?String(t):"";i=Hc.getInertBodyElement(a);let p=5,E=a;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,a=E,E=i.innerHTML,i=Hc.getInertBodyElement(a)}while(a!==E);return Ia((new vw).sanitizeChildren(Fd(i)||i))}finally{if(i){const a=Fd(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Fd(e){return"content"in e&&function Cw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Go=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Go||{});function c0(e){const t=Il();return t?Xp(t.sanitize(Go.HTML,e)||""):Sa(e,"HTML")?Xp(oo(e)):l0(wo(),Ve(e))}function u0(e){const t=Il();return t?t.sanitize(Go.STYLE,e)||"":Sa(e,"Style")?oo(e):Ve(e)}function Ud(e){const t=Il();return t?t.sanitize(Go.URL,e)||"":Sa(e,"URL")?oo(e):jc(Ve(e))}function Bd(e){const t=Il();if(t)return qp(t.sanitize(Go.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return qp(oo(e));throw new jt(904,!1)}function d0(e){const t=Il();if(t)return Jp(t.sanitize(Go.SCRIPT,e)||"");if(Sa(e,"Script"))return Jp(oo(e));throw new jt(905,!1)}function h0(e){return Ia(e[0])}function f0(e){return function nw(e){return Od()?.createScriptURL(e)||e}(e[0])}function m0(e,t,i){return function ww(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bd:Ud}(t,i)(e)}function Il(){const e=rn();return e&&e[cr].sanitizer}class p0{}function xw(e){return e}function Ew(){const e=new Sl;return"browser"===Vn(gd)&&(e.store=function Mw(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return{}}(wo(),Vn(cp))),e}let Sl=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:Ew});get(i,a){return void 0!==this.store[i]?this.store[i]:a}set(i,a){this.store[i]=a}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,a){this.onSerializeCallbacks[i]=a}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/null;function Dw(e,t,i=!1){let a=e.getAttribute(Al);if(null==a)return null;const[p,E]=a.split("|");if(a=i?E:p,!a)return null;const N=i?p:E?`|${E}`:"";let V={};if(""!==a){const fe=t.get(Sl,null,{optional:!0});null!==fe&&(V=fe.get(Gd,[])[Number(a)])}const X={data:V,firstChild:e.firstChild??null};return i&&(X.firstChild=e,Gc(X,0,e.nextSibling)),N?e.setAttribute(Al,N):e.removeAttribute(Al),X}function Kd(e,t,i=!1){return _0(e,t,i)}function v0(e){let t=e._lView;return 2===t[yn].type?null:(Ns(t)&&(t=t[Hn]),t)}function Gc(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Yd(e,t){return e.segmentHeads?.[t]??null}function b0(e,t){return e.data[Tl]?.[t]??null}function Zd(e,t){const i=b0(e,t)??[];let a=0;for(let p of i)a+=p[Aa]*(p[zc]??1);return a}function Kc(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Wc];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class y0{}class Yc{}class Ow{resolveComponentFactory(t){throw function Rw(e){const t=Error(`No component factory found for ${Re(e)}.`);return t.ngComponent=e,t}(t)}}let kl=(()=>{class e{static#e=this.NULL=new Ow}return e})();function Lw(){return ka(Pi(),rn())}function ka(e,t){return new Rl(ar(e,t))}let Rl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Lw}return e})();function Pw(e){return e instanceof Rl?e.nativeElement:e}class w0{}let Nw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Fw(){const e=rn(),i=xr(Pi().index,e);return(Xi(i)?i:e)[$n]}()}return e})(),x0=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>null})}return e})();const Zc={};function Uw(e){return"function"==typeof e&&void 0!==e[u]}function Bw(e,t){const i=function A(e){const t=Object.create(U);t.computation=e;const i=()=>{if(c(t),l(t),t.value===R)throw t.error;return t.value};return i[u]=t,i}(e);return t?.equal&&(i[u].equal=t.equal),i}function $w(e,t){const i=function $(e){const t=Object.create(Ge);t.value=e;const i=()=>(l(t),t.value);return i[u]=t,i}(e),a=i[u];return t?.equal&&(a.equal=t.equal),i.set=p=>te(a,p),i.update=p=>function ue(e,t){g()||ee(),te(e,t(e.value))}(a,p),i.asReadonly=Vw.bind(i),i}function Vw(){const e=this[u];if(void 0===e.readonlyFn){const t=()=>this();t[u]=e,e.readonlyFn=t}return e.readonlyFn}function jw(e){const t=v(null);try{return e()}finally{v(t)}}function Qc(e){return!!Qd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Qd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class E0{constructor(){}supports(t){return Qc(t)}create(t){return new M0(t)}}const Ww=(e,t)=>t;class M0{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||Ww}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,p=0,E=null;for(;i||a;){const N=!a||i&&i.currentIndex{N=this._trackByFn(p,V),null!==i&&Object.is(i.trackById,N)?(a&&(i=this._verifyReinsertion(i,V,N,p)),Object.is(i.item,V)||this._addIdentityChange(i,V)):(i=this._mismatch(i,V,N,p),a=!0),i=i._next,p++}),this.length=p;return this._truncate(i),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,i,a,p){let E;return null===t?E=this._itTail:(E=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,E,p)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,p))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,E,p)):t=this._addAfter(new Gw(i,a),E,p),t}_verifyReinsertion(t,i,a,p){let E=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==E?t=this._reinsertAfter(E,t._prev,p):t.currentIndex!=p&&(t.currentIndex=p,this._addToMoves(t,p)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}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,i,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const p=t._prevRemoved,E=t._nextRemoved;return null===p?this._removalsHead=E:p._nextRemoved=E,null===E?this._removalsTail=p:E._prevRemoved=p,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const p=null===i?this._itHead:i._next;return t._next=p,t._prev=i,null===p?this._itTail=t:p._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new D0),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new D0),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,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Gw{constructor(t,i){this.item=t,this.trackById=i,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 Kw{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,i){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class D0{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new Kw,this.map.set(i,a)),a.add(t)}get(t,i){const p=this.map.get(t);return p?p.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I0(e,t,i){const a=e.previousIndex;if(null===a)return a;let p=0;return i&&a{if(i&&i.key===p)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const E=this._getOrCreateRecordForKey(p,a);i=this._insertBeforeOrAppend(i,E)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const p=this._records.get(t);this._maybeAddToChanges(p,i);const E=p._prev,N=p._next;return E&&(E._next=N),N&&(N._prev=E),p._next=null,p._prev=null,p}const a=new Zw(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,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,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(a=>i(t[a],a))}}class Zw{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 T0(){return new Xd([new E0])}let Xd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:T0});constructor(i){this.factories=i}static create(i,a){if(null!=a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||T0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(null!=a)return a;throw new jt(901,!1)}}return e})();function A0(){return new Jd([new S0])}let Jd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:A0});constructor(i){this.factories=i}static create(i,a){if(a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||A0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(a)return a;throw new jt(901,!1)}}return e})();function k0(e,t){const i=Qc(e),a=Qc(t);return i&&a?function Hw(e,t,i){const a=e[Symbol.iterator](),p=t[Symbol.iterator]();for(;;){const E=a.next(),N=p.next();if(E.done&&N.done)return!0;if(E.done||N.done||!i(E.value,N.value))return!1}}(e,t,k0):!(i||!e||"object"!=typeof e&&"function"!=typeof e||a||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Ol(e,t,i,a,p=!1){for(;null!==i;){const E=t[i.index];null!==E&&a.push(xi(E)),ir(E)&&R0(E,a);const N=i.type;if(8&N)Ol(e,t,i.child,a);else if(32&N){const V=Dd(i,t);let X;for(;X=V();)a.push(X)}else if(16&N){const V=Wp(t,i);if(Array.isArray(V))a.push(...V);else{const X=wl(t[Oi]);Ol(X[yn],X,V,a,!0)}}i=p?i.projectionNext:i.next}return a}function R0(e,t){for(let i=fi;i{Us(e.lView)},consumerOnSignalRead(){this.lView[Ar]=this}};function qd(e){return e.ngOriginalError}class Mo{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&qd(t);for(;i&&qd(i);)i=qd(i);return i||null}}const P0=new _t("",{providedIn:"root",factory:()=>Vn(Mo).handleError.bind(void 0)}),Ll=new _t(""),F0=new _t("",{providedIn:"root",factory:()=>!1}),si={};function V0(e){j0(mi(),rn(),Jn()+e,!1)}function j0(e,t,i,a){if(!a)if(3==(3&t[he])){const E=e.preOrderCheckHooks;null!==E&&Ni(t,E,i)}else{const E=e.preOrderHooks;null!==E&&gi(t,E,0,i)}Dn(i)}function Ra(e,t=vt.Default){const i=rn();return null===i?Ln(e,t):km(Pi(),i,Ne(e),t)}function H0(){throw new Error("invalid")}function Xc(e,t,i,a,p,E,N,V,X,fe,Le){const et=t.blueprint.slice();return et[Bi]=p,et[he]=204|a,(null!==fe||e&&2048&e[he])&&(et[he]|=2048),oa(et),et[we]=et[vs]=e,et[Sn]=i,et[cr]=N||e&&e[cr],et[$n]=V||e&&e[$n],et[Di]=X||e&&e[Di]||null,et[je]=E,et[Ms]=function AC(){return TC++}(),et[xt]=Le,et[cs]=fe,et[Oi]=2==t.type?e[Oi]:et,et}function Oa(e,t,i,a,p){let E=e.data[t];if(null===E)E=eh(e,t,i,a,p),function We(){return zn.lFrame.inI18n}()&&(E.flags|=32);else if(64&E.type){E.type=i,E.value=a,E.attrs=p;const N=so();E.injectorIndex=null===N?-1:N.injectorIndex}return ss(E,!0),E}function eh(e,t,i,a,p){const E=bo(),N=Uo(),X=e.data[t]=function hx(e,t,i,a,p,E){let N=t?t.injectorIndex:-1,V=0;return Ts()&&(V|=128),{type:i,index:a,insertBeforeIndex:null,injectorIndex:N,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:V,providerIndexes:0,value:p,attrs:E,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,N?E:E&&E.parent,i,t,a,p);return null===e.firstChild&&(e.firstChild=X),null!==E&&(N?null==E.child&&null!==X.parent&&(E.child=X):null===E.next&&(E.next=X,X.prev=E)),X}function Pl(e,t,i,a){if(0===i)return-1;const p=t.length;for(let E=0;EHn&&j0(e,t,Hn,!1),Ji(N?2:0,p),i(a,p)}finally{Dn(E),Ji(N?3:1,p)}}function th(e,t,i){if(Xs(t)){const a=v(null);try{const E=t.directiveEnd;for(let N=t.directiveStart;Nnull;function cx(e){xp(e)?Gp(e):function Tw(e){const t=wo(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(E){const N=function Sw(e){return e.textContent?.replace(/\s/gm,"")}(E);return"ngetn"===N||"ngtns"===N?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let a;const p=[];for(;a=i.nextNode();)p.push(a);for(const E of p)"ngetn"===E.textContent?E.replaceWith(t.createTextNode("")):E.remove()}(e)}function K0(e,t,i,a){for(let p in e)if(e.hasOwnProperty(p)){i=null===i?{}:i;const E=e[p];null===a?Y0(i,t,p,E):a.hasOwnProperty(p)&&Y0(i,t,a[p],E)}return i}function Y0(e,t,i,a){e.hasOwnProperty(i)?e[i].push(t,a):e[i]=[t,a]}function ms(e,t,i,a,p,E,N,V){const X=ar(t,i);let Le,fe=t.inputs;!V&&null!=fe&&(Le=fe[a])?(ch(e,i,Le,a,p),Zr(t)&&function px(e,t){const i=xr(t,e);16&i[he]||(i[he]|=64)}(i,t.index)):3&t.type&&(a=function mx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(a),p=null!=N?N(p,t.value||"",a):p,E.setProperty(X,a,p))}function sh(e,t,i,a){if(vo()){const p=null===a?null:{"":-1},E=function Cx(e,t){const i=e.directiveRegistry;let a=null,p=null;if(i)for(let E=0;E0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(N)!=V&&N.push(V),N.push(i,a,E)}}(e,t,a,Pl(e,i,p.hostVars,si),p)}function zs(e,t,i,a,p,E){const N=ar(e,t);ah(t[$n],N,E,e.value,i,a,p)}function ah(e,t,i,a,p,E,N){if(null==E)e.removeAttribute(t,p,i);else{const V=null==N?Ve(E):N(E,a||"",p);e.setAttribute(t,p,V,i)}}function Ix(e,t,i,a,p,E){const N=E[t];if(null!==N)for(let V=0;V-1&&(xl(t,a),gc(i,a))}this._attachedToViewContainer=!1}Nc(this._lView[yn],this._lView)}onDestroy(t){Or(this._lView,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[he]&=-129}reattach(){go(this._lView),this._lView[he]|=128}detectChanges(){this._lView[he]|=1024,uh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new jt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function HC(e,t){Ml(e,t,t[$n],2,null,null)}(this._lView[yn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new jt(902,!1);this._appRef=t,go(this._lView)}}let hh=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=og}return e})();function og(e){return function Px(e,t,i){if(Zr(e)&&!i){const a=xr(e.index,t);return new La(a,a)}return 47&e.type?new La(t[Oi],t):null}(Pi(),rn(),16==(16&e))}const Nx=[new S0],Ux=new Xd([new E0]),Bx=new Jd(Nx);let Fl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Vx;static#t=this.__NG_ENV_ID__=i=>i}return e})();class $x extends Fl{constructor(t){super(),this._lView=t}onDestroy(t){return Or(this._lView,t),()=>_o(this._lView,t)}}function Vx(){return new $x(rn())}function jx(e,t){if(null!==function s(){return f}())throw new jt(-602,!1)}const Hx=new _t("",{providedIn:"root",factory:()=>Vn(ag)});let ag=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new zx})}return e})(),lg=(()=>{class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(i){const a=i.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const p=this.queues.get(a);p.has(i)||(this.queuedEffectCount++,p.add(i))}flush(){for(;this.queuedEffectCount>0;)for(const[i,a]of this.queues)null===i?this.flushQueue(a):i.run(()=>this.flushQueue(a))}flushQueue(i){for(const a of i)i.delete(a),this.queuedEffectCount--,a.run()}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();class zx{constructor(){this.hasQueuedFlush=!1,this.delegate=new lg,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(t){this.delegate.scheduleEffect(t),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}}class Wx{constructor(t,i,a,p,E,N){this.scheduler=t,this.effectFn=i,this.creationZone=a,this.errorHandler=E,this.watcher=function Ye(e,t,i){const a=Object.create(Et);i&&(a.consumerAllowSignalWrites=!0),a.fn=e,a.schedule=t;const p=X=>{a.cleanupFn=X};return a.ref={notify:()=>b(a),run:()=>{if(null===a.fn)return;if(function m(){return D}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(a.dirty=!1,a.hasRun&&!w(a))return;a.hasRun=!0;const X=C(a);try{a.cleanupFn(),a.cleanupFn=Ze,a.fn(p)}finally{x(a,X)}},cleanup:()=>a.cleanupFn(),destroy:()=>function N(X){(function E(X){return null===X.fn&&null===X.schedule})(X)||(T(X),X.cleanupFn(),X.fn=null,X.schedule=null,X.cleanupFn=Ze)}(a),[u]:a},a.ref}(V=>this.runEffect(V),()=>this.schedule(),N),this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(i){this.errorHandler?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function cg(e,t){!t?.injector&&Mc();const i=t?.injector??Vn(Cs),a=i.get(Mo,null,{optional:!0}),p=!0!==t?.manualCleanup?i.get(Fl):null,E=new Wx(i.get(Hx),e,typeof Zone>"u"?null:Zone.current,p,a,t?.allowSignalWrites??!1),N=i.get(hh,null,{optional:!0});return N&&8&N._lView[he]?(N._lView[Yr]??=[]).push(E.watcher.notify):E.watcher.notify(),E}const ug=new Set;function Do(e){ug.has(e)||(ug.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fh(e){return t=>{setTimeout(e,void 0,t)}}const Ws=class Gx extends qe.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){let p=t,E=i||(()=>null),N=a;if(t&&"object"==typeof t){const X=t;p=X.next?.bind(X),E=X.error?.bind(X),N=X.complete?.bind(X)}this.__isAsync&&(E=fh(E),p&&(p=fh(p)),N&&(N=fh(N)));const V=super.subscribe({next:p,error:E,complete:N});return t instanceof Ee.w0&&t.add(V),V}};function dg(...e){}class br{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ws(!1),this.onMicrotaskEmpty=new Ws(!1),this.onStable=new Ws(!1),this.onError=new Ws(!1),typeof Zone>"u")throw new jt(908,!1);Zone.assertZonePatched();const p=this;p._nesting=0,p._outer=p._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(p._inner=p._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(p._inner=p._inner.fork(Zone.longStackTraceZoneSpec)),p.shouldCoalesceEventChangeDetection=!a&&i,p.shouldCoalesceRunChangeDetection=a,p.lastRequestAnimationFrameId=-1,p.nativeRequestAnimationFrame=function Kx(){const e="function"==typeof pe.requestAnimationFrame;let t=pe[e?"requestAnimationFrame":"setTimeout"],i=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a);const p=i[Zone.__symbol__("OriginalDelegate")];p&&(i=p)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Qx(e){const t=()=>{!function Zx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ph(e),e.isCheckStableRunning=!0,mh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ph(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,p,E,N,V)=>{if(function Xx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(V))return i.invokeTask(p,E,N,V);try{return hg(e),i.invokeTask(p,E,N,V)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||e.shouldCoalesceRunChangeDetection)&&t(),fg(e)}},onInvoke:(i,a,p,E,N,V,X)=>{try{return hg(e),i.invoke(p,E,N,V,X)}finally{e.shouldCoalesceRunChangeDetection&&t(),fg(e)}},onHasTask:(i,a,p,E)=>{i.hasTask(p,E),a===p&&("microTask"==E.change?(e._hasPendingMicrotasks=E.microTask,ph(e),mh(e)):"macroTask"==E.change&&(e.hasPendingMacrotasks=E.macroTask))},onHandleError:(i,a,p,E)=>(i.handleError(p,E),e.runOutsideAngular(()=>e.onError.emit(E)),!1)})}(p)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!br.isInAngularZone())throw new jt(909,!1)}static assertNotInAngularZone(){if(br.isInAngularZone())throw new jt(909,!1)}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,p){const E=this._inner,N=E.scheduleEventTask("NgZoneEvent: "+p,t,Yx,dg,dg);try{return E.runTask(N,i,a)}finally{E.cancelTask(N)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const Yx={};function mh(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 ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fg(e){e._nesting--,mh(e)}class mg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ws,this.onMicrotaskEmpty=new Ws,this.onStable=new Ws,this.onError=new Ws}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,p){return t.apply(i,a)}}var Io=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Io||{});const pg={destroy(){}};function gh(e,t){const i=t?.injector??Vn(Cs);xo(i)&&i.get(Ul).internalCallbacks.push(e)}function gg(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,e);return p.register(X),{destroy:N}}function _g(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterNextRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,()=>{N(),e()});return p.register(X),{destroy:N}}class vg{constructor(t,i,a){this.phase=i,this.callbackFn=a,this.zone=t.get(br),this.errorHandler=t.get(Mo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class bg{constructor(){this.executingCallbacks=!1,this.buckets={[Io.EarlyRead]:new Set,[Io.Write]:new Set,[Io.MixedReadWrite]:new Set,[Io.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new jt(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ul=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const i of this.internalCallbacks)i();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function qx(e,t){const i=xr(t,e),a=i[yn];!function eE(e,t){for(let i=t.length;i0&&Yp(e,i,E.join(" "))}}(Mt,Si,Jt,a),void 0!==i&&function cE(e,t,i){const a=e.projection=[];for(let p=0;p=0;a--){const p=e[a];p.hostVars=t+=p.hostVars,p.hostAttrs=Tr(p.hostAttrs,i=Tr(i,p.hostAttrs))}}(a)}function tu(e){return e===or?{}:e===oi?[]:e}function dE(e,t){const i=e.viewQuery;e.viewQuery=i?(a,p)=>{t(a,p),i(a,p)}:t}function hE(e,t){const i=e.contentQueries;e.contentQueries=i?(a,p,E)=>{t(a,p,E),i(a,p,E)}:t}function fE(e,t){const i=e.hostBindings;e.hostBindings=i?(a,p)=>{t(a,p),i(a,p)}:t}const mE=["providersResolver"],pE=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Mg(e){let i,t=Eg(e.type);i=Nr(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const p of mE)a[p]=i[p];if(Nr(i))for(const p of pE)a[p]=i[p]}function Dg(e){const t=i=>{const a=(Array.isArray(e)?e:e()).map(p=>"function"==typeof p?{directive:Ne(p),inputs:or,outputs:or}:{directive:Ne(p.directive),inputs:Sg(p.inputs),outputs:Sg(p.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=Ig,i.hostDirectives=a):i.hostDirectives.unshift(...a)};return t.ngInherit=!0,t}function Ig(e,t,i){if(null!==e.hostDirectives)for(const a of e.hostDirectives){const p=wi(a.directive);gE(p.declaredInputs,a.inputs),Ig(p,t,i),i.set(p,a),t.push(p)}}function Sg(e){if(void 0===e||0===e.length)return or;const t={};for(let i=0;i>17&32767}function Th(e){return 2|e}function Yo(e){return(131068&e)>>2}function Ah(e,t){return-131069&e|t<<2}function kh(e){return 1|e}function kg(e,t,i,a,p){const E=e[i+1],N=null===t;let V=a?So(E):Yo(E),X=!1;for(;0!==V&&(!1===X||N);){const Le=e[V+1];wE(e[V],t)&&(X=!0,e[V+1]=a?kh(Le):Th(Le)),V=a?So(Le):Yo(Le)}X&&(e[i+1]=a?Th(E):kh(E))}function wE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ya(e,t)>=0}const Dr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rg(e){return e.substring(Dr.key,Dr.keyEnd)}function xE(e){return e.substring(Dr.value,Dr.valueEnd)}function Og(e,t){const i=Dr.textEnd;return i===t?-1:(t=Dr.keyEnd=function DE(e,t,i){for(;t32;)t++;return t}(e,Dr.key=t,i),Wa(e,t,i))}function Lg(e,t){const i=Dr.textEnd;let a=Dr.key=Wa(e,t,i);return i===a?-1:(a=Dr.keyEnd=function IE(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=Ng(e,a,i),a=Dr.value=Wa(e,a,i),a=Dr.valueEnd=function SE(e,t,i){let a=-1,p=-1,E=-1,N=t,V=N;for(;N32&&(V=N),E=p,p=a,a=-33&X}return V}(e,a,i),Ng(e,a,i))}function Pg(e){Dr.key=0,Dr.keyEnd=0,Dr.value=0,Dr.valueEnd=0,Dr.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=Lg(t,i))Vg(e,Rg(t),xE(t))}function Ug(e){Os(PE,Ks,e,!0)}function Ks(e,t){for(let i=function EE(e){return Pg(e),Og(e,Wa(e,0,Dr.textEnd))}(t);i>=0;i=Og(t,i))hs(e,Rg(t),!0)}function Rs(e,t,i,a){const p=rn(),E=mi(),N=be(2);E.firstUpdatePass&&$g(E,e,N,a),t!==si&&yr(p,N,t)&&jg(E,E.data[Jn()],p,p[$n],e,p[N+1]=function FE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Re(oo(e)))),e}(t,i),a,N)}function Os(e,t,i,a){const p=mi(),E=be(2);p.firstUpdatePass&&$g(p,null,E,a);const N=rn();if(i!==si&&yr(N,E,i)){const V=p.data[Jn()];if(zg(V,a)&&!Bg(p,E)){let X=a?V.classesWithoutHost:V.stylesWithoutHost;null!==X&&(i=ke(X,i||"")),Oh(p,V,N,i,a)}else!function NE(e,t,i,a,p,E,N,V){p===si&&(p=oi);let X=0,fe=0,Le=0=e.expandoStartIndex}function $g(e,t,i,a){const p=e.data;if(null===p[i+1]){const E=p[Jn()],N=Bg(e,i);zg(E,a)&&null===t&&!N&&(t=!1),t=function AE(e,t,i,a){const p=ni(e);let E=a?t.residualClasses:t.residualStyles;if(null===p)0===(a?t.classBindings:t.styleBindings)&&(i=$l(i=Nh(null,e,t,i,a),t.attrs,a),E=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==p)if(i=Nh(p,e,t,i,a),null===E){let X=function kE(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==Yo(a))return e[So(a)]}(e,t,a);void 0!==X&&Array.isArray(X)&&(X=Nh(null,e,t,X[1],a),X=$l(X,t.attrs,a),function RE(e,t,i,a){e[So(i?t.classBindings:t.styleBindings)]=a}(e,t,a,X))}else E=function OE(e,t,i){let a;const p=t.directiveEnd;for(let E=1+t.directiveStylingLast;E0)&&(fe=!0)):Le=i,p)if(0!==X){const Mt=So(e[V+1]);e[a+1]=iu(Mt,V),0!==Mt&&(e[Mt+1]=Ah(e[Mt+1],a)),e[V+1]=function vE(e,t){return 131071&e|t<<17}(e[V+1],a)}else e[a+1]=iu(V,0),0!==V&&(e[V+1]=Ah(e[V+1],a)),V=a;else e[a+1]=iu(X,0),0===V?V=a:e[X+1]=Ah(e[X+1],a),X=a;fe&&(e[a+1]=Th(e[a+1])),kg(e,Le,a,!0),kg(e,Le,a,!1),function CE(e,t,i,a,p){const E=p?e.residualClasses:e.residualStyles;null!=E&&"string"==typeof t&&ya(E,t)>=0&&(i[a+1]=kh(i[a+1]))}(t,Le,e,a,E),N=iu(V,X),E?t.classBindings=N:t.styleBindings=N}(p,E,t,i,N,a)}}function Nh(e,t,i,a,p){let E=null;const N=i.directiveEnd;let V=i.directiveStylingLast;for(-1===V?V=i.directiveStart:V++;V0;){const X=e[p],fe=Array.isArray(X),Le=fe?X[1]:X,et=null===Le;let Mt=i[p+1];Mt===si&&(Mt=et?oi:void 0);let Rt=et?td(Mt,a):Le===a?Mt:void 0;if(fe&&!ru(Rt)&&(Rt=td(X,a)),ru(Rt)&&(V=Rt,N))return V;const Jt=e[p+1];p=N?So(Jt):Yo(Jt)}if(null!==t){let X=E?t.residualClasses:t.residualStyles;null!=X&&(V=td(X,a))}return V}function ru(e){return void 0!==e}function zg(e,t){return 0!=(e.flags&(t?8:16))}function Wg(e,t,i){Os(hs,Ks,Fa(rn(),e,t,i),!0)}function Gg(e,t,i,a,p){Os(hs,Ks,Ua(rn(),e,t,i,a,p),!0)}function Kg(e,t,i,a,p,E,N){Os(hs,Ks,Ba(rn(),e,t,i,a,p,E,N),!0)}function Yg(e,t,i,a,p,E,N,V,X){Os(hs,Ks,$a(rn(),e,t,i,a,p,E,N,V,X),!0)}function Zg(e,t,i,a,p,E,N,V,X,fe,Le){Os(hs,Ks,Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le),!0)}function Qg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){Os(hs,Ks,ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt),!0)}function Xg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){Os(hs,Ks,Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt),!0)}function Jg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){Os(hs,Ks,za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn),!0)}function qg(e){Os(hs,Ks,Na(rn(),e),!0)}function e_(){return rn()[Oi][Sn]}const Fh="<-- AT THIS LOCATION";function VE(e){const a=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function su(e){const t=" ";let i="";const a=e;return a.previousSibling&&(i+=" \u2026\n",i+=t+Vl(a.previousSibling)+"\n"),i+=t+Vl(a)+` ${Fh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=Vl(a.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new jt(-503,a)}const HE=new Set(["ngh","ng-version","ng-server-context"]);function Uh(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const a=function jE(e){const t=[];if(e.attrs)for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function UE(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(e.type)})`}}function Vl(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const a=i.tagName.toLowerCase(),p=function zE(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const E=i.textContent?Hl(i.textContent):"";return"#text"+(E?`(${E})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Hl(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function Hl(e,t=50){return e?(e=function WE(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}function i_(e){const t=e[Vr]??[],a=e[we][$n];for(const p of t)GE(p,a);e[Vr]=oi}function GE(e,t){let i=0,a=e.firstChild;if(a){const p=e.data[Aa];for(;i0&&i[p-1]===a?i[p]=(i[p]||1)+1:i.push(a,"")}return i.join("")}(i,a)}function tM(e,t){let a,p,E,i=e.parent;for(;null!==i&&zl(i,t);)i=i.parent;null!==i&&3&i.type?(a=i.index,p=xi(t[a]),E=Ve(a-Hn)):(a=E=$d,p=t[Oi][Bi]);let N=xi(t[e.index]);if(12&e.type){const X=El(t,e);X&&(N=X)}let V=s_(p,N,E);if(null===V&&p!==N&&(V=s_(p.ownerDocument.body,N,Vd),null===V))throw function $E(e,t){const a=`${function Bh(e,t,i){const a=" ";let p="";t.prev?(p+=" \u2026\n",p+=a+Uh(t.prev)+"\n"):t.type&&12&t.type&&(p+=" \u2026\n"),i?(p+=a+Uh(t)+"\n",p+=a+`\x3c!-- container --\x3e ${Fh}\n`):p+=a+Uh(t)+` ${Fh}\n`,p+=" \u2026\n";const E=t.type?Td(e[yn],t,e):null;return E&&(p=Vl(E,"\n"+p)),p}(e,t,!1)}\n\n`,p=function jl(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new jt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+a+p)}(t,e);return V}let o_=(e,t)=>null;function iM(e,t){const i=e[Vr];return t&&null!==i&&0!==i.length?i[0].data[zd]===t?i.shift():(i_(e),null):null}function Ga(e,t){return o_(e,t)}class sM{destroy(t){}updateValue(t,i){}swap(t,i){const a=Math.min(t,i),p=Math.max(t,i),E=this.detach(p);if(p-a>1){const N=this.detach(a);this.attach(a,E),this.attach(p,N)}else this.attach(a,E)}move(t,i){this.attach(i,this.detach(t))}}function jh(e,t,i,a,p){return e===i&&Object.is(t,a)?1:Object.is(p(e,t),p(i,a))?-1:0}function Hh(e,t,i,a){return!(void 0===t||!t.has(a)||(e.attach(i,t.get(a)),t.delete(a),0))}function a_(e,t,i,a,p){if(Hh(e,t,a,i(a,p)))e.updateValue(a,p);else{const E=e.create(a,p);e.attach(a,E)}}function l_(e,t,i,a){const p=new Set;for(let E=t;E<=i;E++)p.add(a(E,e.at(E)));return p}class c_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const i=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(t,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,i){if(this.kvMap.has(t)){let a=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(a);)a=p.get(a);p.set(a,i)}else this.kvMap.set(t,i)}forEach(t){for(let[i,a]of this.kvMap)if(t(a,i),void 0!==this._vMap){const p=this._vMap;for(;p.has(a);)a=p.get(a),t(a,i)}}}function Wl(e,t,i,a){const p=t.tView,V=Xc(e,p,i,4096&e[he]?4096:16,null,t,null,null,null,a?.injector??null,a?.dehydratedView??null);V[bs]=e[t.index];const fe=e[Kr];return null!==fe&&(V[Kr]=fe.createEmbeddedView(p)),_h(p,V,i),V}function u_(e,t){const i=fi+t;if(i0&&(i[p-1][ae]=t),a{class e{static#e=this.__NG_ELEMENT_ID__=aM}return e})();function aM(){return f_(Pi(),rn())}const lM=cu,d_=class extends lM{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Er(this._hostTNode,this._hostLView)}get parentInjector(){const t=mc(this._hostTNode,this._hostLView);if(Ku(t)){const i=fl(t,this._hostLView),a=hl(t);return new Er(i[yn].data[a+8],i)}return new Er(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=h_(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(t,i,a){let p,E;"number"==typeof a?p=a:null!=a&&(p=a.index,E=a.injector);const N=Ga(this._lContainer,t.ssrId),V=t.createEmbeddedViewImpl(i||{},E,N);return this.insertImpl(V,p,Ka(this._hostTNode,N)),V}createComponent(t,i,a,p,E){const N=t&&!gl(t);let V;if(N)V=i;else{const Jt=i||{};V=Jt.index,a=Jt.injector,p=Jt.projectableNodes,E=Jt.environmentInjector||Jt.ngModuleRef}const X=N?t:new Pa(ti(t)),fe=a||this.parentInjector;if(!E&&null==X.ngModule){const mn=(N?fe:this.parentInjector).get(Hs,null);mn&&(E=mn)}const Le=ti(X.componentType??{}),et=Ga(this._lContainer,Le?.id??null),Rt=X.create(fe,p,et?.firstChild??null,E);return this.insertImpl(Rt.hostView,V,Ka(this._hostTNode,et)),Rt}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,a){const p=t._lView;if(function sa(e){return ir(e[we])}(p)){const V=this.indexOf(t);if(-1!==V)this.detach(V);else{const X=p[we],fe=new d_(X,X[je],X[we]);fe.detach(fe.indexOf(t))}}const E=this._adjustIndex(i),N=this._lContainer;return Gl(N,p,E,a),t.attachToViewContainerRef(),$m(Wh(N),E,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=h_(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);a&&(gc(Wh(this._lContainer),i),Nc(a[yn],a))}detach(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);return a&&null!=gc(Wh(this._lContainer),i)?new La(a):null}_adjustIndex(t,i=0){return t??this.length+i}};function h_(e){return e[8]}function Wh(e){return e[8]||(e[8]=[])}function f_(e,t){let i;const a=t[e.index];return ir(a)?i=a:(i=J0(a,t,null,e),t[e.index]=i,Jc(t,i)),m_(i,t,e,a),new d_(i,e,t)}let m_=g_,Gh=(e,t,i)=>!1;function p_(e,t,i){return Gh(e,t,i)}function g_(e,t,i,a){if(e[nr])return;let p;p=8&i.type?xi(a):function cM(e,t){const i=e[$n],a=i.createComment(""),p=ar(t,e);return zo(i,Fc(i,p),a,function QC(e,t){return e.nextSibling(t)}(i,p),!1),a}(t,i),e[nr]=p}function uM(e,t,i){if(e[nr]&&e[Vr])return!0;const a=i[xt],p=t.index-Hn;if(!a||Rc(t)||Kc(a,p))return!1;const N=Yd(a,p),V=a.data[Tl]?.[p],[X,fe]=function nM(e,t){const i=[];for(const a of t)for(let p=0;p<(a[zc]??1);p++){const E={data:a,firstChild:null};a[Aa]>0&&(E.firstChild=e,e=lu(a[Aa],e)),i.push(E)}return[e,i]}(N,V);return e[nr]=X,e[Vr]=fe,!0}function dM(e,t,i,a){Gh(e,i,t)||g_(e,t,i,a)}function Ya(e,t,i,a,p,E,N,V){const X=rn(),fe=mi(),Le=e+Hn,et=fe.firstCreatePass?function fM(e,t,i,a,p,E,N,V,X){const fe=t.consts,Le=Oa(t,e,4,N||null,rr(fe,V));sh(t,i,Le,rr(fe,X)),jn(t,Le);const et=Le.tView=rh(2,Le,a,p,E,t.directiveRegistry,t.pipeRegistry,null,t.schemas,fe,null);return null!==t.queries&&(t.queries.template(t,Le),et.queries=t.queries.embeddedTView(Le)),Le}(Le,fe,X,t,i,a,p,E,N):fe.data[Le];ss(et,!1);const Mt=__(fe,X,et,e);In()&&Uc(fe,X,Mt,et),Hr(Mt,X);const Rt=J0(Mt,X,Mt,et);return X[Le]=Rt,Jc(X,Rt),p_(Rt,et,X),Ps(et)&&nh(fe,X,et),null!=N&&ih(X,et,V),Ya}let __=v_;function v_(e,t,i,a){return hi(!0),t[$n].createComment("")}function mM(e,t,i,a){const p=t[xt],E=!p||Ts()||Kc(p,a);if(hi(E),E)return v_(0,t);const N=p.data[Hd]?.[a]??null;null!==N&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=N);const V=au(p,e,t,i);return Gc(p,a,V),lu(Zd(p,a),V)}function b_(e,t,i){Do("NgControlFlow");const a=rn(),p=re(),E=Kh(a,Hn+e);if(yr(a,p,t)){const V=v(null);try{if(zh(E,0),-1!==t){const X=Yh(a[yn],Hn+t),fe=Ga(E,X.tView.ssrId);Gl(E,Wl(a,X,i,{dehydratedView:fe}),0,Ka(X,fe))}}finally{v(V)}}else{const V=u_(E,0);void 0!==V&&(V[Sn]=i)}}class gM{constructor(t,i,a){this.lContainer=t,this.$implicit=i,this.$index=a}get $count(){return this.lContainer.length-fi}}function y_(e){return e}function C_(e,t){return t}class _M{constructor(t,i,a){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=a}}function w_(e,t,i,a,p,E,N,V,X,fe,Le){Do("NgControlFlow");const et=void 0!==X,Mt=rn(),Rt=V?N.bind(Mt[Oi][Sn]):N,Jt=new _M(et,Rt);Mt[Hn+e]=Jt,Ya(e+1,t,i,a,p,E),et&&Ya(e+2,X,fe,Le)}class vM extends sM{constructor(t,i,a){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-fi}at(t){return this.getLView(t)[Sn].$implicit}attach(t,i){const a=i[xt];this.needsIndexUpdate||=t!==this.length,Gl(this.lContainer,i,t,Ka(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function bM(e,t){return xl(e,t)}(this.lContainer,t)}create(t,i){const a=Ga(this.lContainer,this.templateTNode.tView.ssrId);return Wl(this.hostLView,this.templateTNode,new gM(this.lContainer,i,t),{dehydratedView:a})}destroy(t){Nc(t[yn],t)}updateValue(t,i){this.getLView(t)[Sn].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(V)})}(N,e,E.trackByFn),N.updateIndexes(),E.hasEmptyBlock){const V=re(),X=0===N.length;if(yr(a,V,X)){const fe=i+2,Le=Kh(a,fe);if(X){const et=Yh(p,fe),Mt=Ga(Le,et.tView.ssrId);Gl(Le,Wl(a,et,void 0,{dehydratedView:Mt}),0,Ka(et,Mt))}else zh(Le,0)}}}finally{v(t)}}function Kh(e,t){return e[t]}function Yh(e,t){return no(e,t)}var dr=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(dr||{});const E_=0,CM=1;var hr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(hr||{}),Kl=function(e){return e[e.Initial=-1]="Initial",e}(Kl||{});const Za=0,uu=1,Yl=2,du=3,M_=4,D_=5;var Zh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Zh||{});function hu(e,t,i){const a=1===e?D_:M_;null===t[a]&&(t[a]=[]),t[a].push(i)}function Qh(e,t){const i=1===e?D_:M_,a=t[i];if(null!==a){for(const p of a)p();t[i]=null}}function I_(e){Qh(1,e),Qh(0,e)}function fu(e){return e+1}function Zo(e,t){return e[fu(t.index)]}function xs(e,t){const i=fu(t.index);return e.data[i]}function Xh(e,t){return t===hr.Placeholder?e.placeholderBlockConfig?.[E_]??null:t===hr.Loading?e.loadingBlockConfig?.[E_]??null:null}function S_(e){return e.loadingBlockConfig?.[CM]??null}function T_(e,t){if(!e||0===e.length)return t;const i=new Set(e);for(const a of t)i.add(a);return e.length===i.size?e:Array.from(i)}function DM(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const mu={passive:!0,capture:!0},Jh=new WeakMap,qh=new WeakMap,Qa=new WeakMap,A_=["click","keydown"],k_=["mouseenter","focusin"];let Xa=null,ef=0;class tf{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function R_(e,t){let i=qh.get(e);if(!i){i=new tf,qh.set(e,i);for(const a of A_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){qh.delete(e);for(const E of A_)e.removeEventListener(E,p,mu)}}}function O_(e,t){let i=Jh.get(e);if(!i){i=new tf,Jh.set(e,i);for(const a of k_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){for(const E of k_)e.removeEventListener(E,p,mu);Jh.delete(e)}}}function L_(e,t,i){const a=i.get(br);let p=Qa.get(e);return Xa=Xa||a.runOutsideAngular(()=>new IntersectionObserver(E=>{for(const N of E)N.isIntersecting&&Qa.has(N.target)&&a.run(Qa.get(N.target).listener)})),p||(p=new tf,a.runOutsideAngular(()=>Xa.observe(e)),Qa.set(e,p),ef++),p.callbacks.add(t),()=>{Qa.has(e)&&(p.callbacks.delete(t),0===p.callbacks.size&&(Xa?.unobserve(e),Qa.delete(e),ef--),0===ef&&(Xa?.disconnect(),Xa=null))}}function Ja(e,t,i,a,p,E,N){const V=e[Di];gh(function X(){if(qs(e))return;const fe=Zo(e,t),Le=fe[uu];if(Le!==Kl.Initial&&Le!==hr.Placeholder)return;const et=function IM(e,t,i){return null==i?e:i>=0?aa(i,e):e[t.index][fi]??null}(e,t,a);if(!et)return void gh(X,{injector:V});if(qs(et))return;const Mt=function SM(e,t){return to(Hn+t,e)}(et,i),Rt=p(Mt,()=>{e!==et&&_o(et,Rt),E()},V);e!==et&&Or(et,Rt),hu(N,fe,Rt)},{injector:V})}function P_(e,t){const a=t[Di].get(kM);return a.add(e),()=>a.remove(e)}let kM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Vn(br),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:a,deferred:p}=this;a.delete(i),p.delete(i),0===a.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const a of this.current)a();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const a of this.deferred)this.current.add(a);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function N_(e){return(t,i)=>F_(e,t,i)}function F_(e,t,i){const p=i[Di].get(RM);return p.add(e,t),()=>p.remove(t)}let RM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(i,a){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,a),this.scheduleTimer()}remove(i){const{current:a,deferred:p}=this;-1===this.removeFromQueue(a,i)&&this.removeFromQueue(p,i),0===a.length&&0===p.length&&this.clearTimeout()}addToQueue(i,a,p){let E=i.length;for(let N=0;Na){E=N;break}Vm(i,E,a,p)}removeFromQueue(i,a){let p=-1;for(let E=0;E-1&&ed(i,p,2),p}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const p=[...this.current],E=Date.now();for(let V=0;V=0&&ed(this.current,0,N+1),this.executingCallbacks=!1,this.deferred.length>0){for(let V=0;V0){const p=Date.now(),E=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-E>16){this.clearTimeout();const N=Math.max(E-p,16);this.invokeTimerAt=E,this.timeoutId=setTimeout(i,N)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();const OM=new _t("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),U_=new _t("");function B_(e){return e.get(U_,null,{optional:!0})?.behavior!==Zh.Manual&&xo(e)}let nf=null;function $_(e,t,i,a){const p=e.consts;null!=i&&(t.placeholderBlockConfig=rr(p,i)),null!=a&&(t.loadingBlockConfig=rr(p,a)),null===nf&&(nf=LM)}function V_(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=mi(),et=e+Hn;if(Ya(e,null,0,0),Le.firstCreatePass){Do("NgDefer");const Cn={primaryTmplIndex:t,loadingTmplIndex:a??null,placeholderTmplIndex:p??null,errorTmplIndex:E??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:dr.NOT_STARTED,loadingPromise:null};X?.(Le,Cn,V,N),function xM(e,t,i){const a=fu(t);e.data[a]=i}(Le,et,Cn)}const Mt=Pi();p_(fe[et],Mt,fe);const Jt=[null,Kl.Initial,null,null,null,null];!function wM(e,t,i){e[fu(t)]=i}(fe,et,Jt);const mn=()=>I_(Jt);hu(0,Jt,()=>_o(fe,mn)),Or(fe,mn)}function j_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=sn(),V=Zo(t,E)[uu];!1===p&&V===Kl.Initial?qa(t,E):!0===p&&(V===Kl.Initial||V===hr.Placeholder)&&el(t,E)}finally{v(a)}}}function H_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=t[yn],N=sn(),V=xs(E,N);!0===p&&V.loadingState===dr.NOT_STARTED&&Zl(V,t,N)}finally{v(a)}}}function z_(){nv(P_)}function W_(){iv(P_)}function G_(){const e=rn(),t=Pi();null===xs(e[yn],t).loadingTmplIndex&&qa(e,t),el(e,t)}function K_(){const e=rn(),t=Pi(),a=xs(e[yn],t);a.loadingState===dr.NOT_STARTED&&pu(a,e,t)}function Y_(e){nv(N_(e))}function Z_(e){iv(N_(e))}function Q_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,O_,()=>el(i,a),0)}function X_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,O_,()=>Zl(E,i,a),1)}function J_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,R_,()=>el(i,a),0)}function q_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,R_,()=>Zl(E,i,a),1)}function ev(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,L_,()=>el(i,a),0)}function tv(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,L_,()=>Zl(E,i,a),1)}function nv(e){const t=rn(),i=Pi();qa(t,i);const a=e(()=>el(t,i),t);hu(0,Zo(t,i),a)}function iv(e){const t=rn(),i=Pi(),p=xs(t[yn],i);p.loadingState===dr.NOT_STARTED&&hu(1,Zo(t,i),e(()=>Zl(p,t,i),t))}function co(e,t,i,a=!1){const p=i[we],E=p[yn];if(qs(p))return;const N=Zo(p,t);if(ov(N[uu],e)&&ov(N[Za]??-1,e)){const X=xs(E,t),Le=a||null===S_(X)&&null===Xh(X,hr.Loading)&&!Xh(X,hr.Placeholder)?rv:nf;try{Le(e,N,i,t,p)}catch(et){qc(p,et)}}}function rv(e,t,i,a,p){const E=function EM(e,t,i){const p=xs(t[yn],i);switch(e){case hr.Complete:return p.primaryTmplIndex;case hr.Loading:return p.loadingTmplIndex;case hr.Error:return p.errorTmplIndex;case hr.Placeholder:return p.placeholderTmplIndex;default:return null}}(e,p,a);if(null!==E){t[uu]=e;const X=no(p[yn],E+Hn),fe=0;zh(i,fe);const Le=Ga(i,X.tView.ssrId),et=Wl(p,X,null,{dehydratedView:Le});Gl(i,et,fe,Ka(X,Le)),Nl(et)}}function LM(e,t,i,a,p){const E=Date.now(),V=xs(p[yn],a);if(null===t[Yl]||t[Yl]<=E){t[Yl]=null;const X=S_(V),fe=null!==t[du];if(e!==hr.Loading||null===X||fe){e>hr.Loading&&fe&&(t[du](),t[du]=null,t[Za]=null),rv(e,t,i,a,p);const Le=Xh(V,e);null!==Le&&(t[Yl]=E+Le,sv(Le,t,a,i,p))}else{t[Za]=e;const Le=sv(X,t,a,i,p);t[du]=Le}}else t[Za]=e}function sv(e,t,i,a,p){return F_(e,()=>{const N=t[Za];t[Yl]=null,t[Za]=null,null!==N&&co(N,i,a)},p)}function ov(e,t){return e{let fe=!1;const Le=[],et=[];for(const Mt of X){if("fulfilled"!==Mt.status){fe=!0;break}{const Rt=Mt.value,Jt=ti(Rt)||wi(Rt);if(Jt)Le.push(Jt);else{const mn=Ri(Rt);mn&&et.push(mn)}}}if(e.loadingPromise=null,fe){if(e.loadingState=dr.FAILED,null===e.errorTmplIndex){Cd(t);const Rt=new jt(750,!1);qc(t,Rt)}}else{e.loadingState=dr.COMPLETE;const Mt=N.tView;Le.length>0&&(Mt.directiveRegistry=T_(Mt.directiveRegistry,Le)),et.length>0&&(Mt.pipeRegistry=T_(Mt.pipeRegistry,et))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=dr.COMPLETE})}function qa(e,t){co(hr.Placeholder,t,e[t.index])}function av(e,t,i){e.loadingPromise.then(()=>{e.loadingState===dr.COMPLETE?co(hr.Complete,t,i):e.loadingState===dr.FAILED&&co(hr.Error,t,i)})}function el(e,t){const i=e[yn],a=e[t.index];if(!B_(e[Di]))return;const E=Zo(e,t),N=xs(i,t);switch(I_(E),N.loadingState){case dr.NOT_STARTED:co(hr.Loading,t,a),pu(N,e,t),N.loadingState===dr.IN_PROGRESS&&av(N,t,a);break;case dr.IN_PROGRESS:co(hr.Loading,t,a),av(N,t,a);break;case dr.COMPLETE:co(hr.Complete,t,a);break;case dr.FAILED:co(hr.Error,t,a)}}function gu(e,t,i,a){const p=rn(),E=mi(),N=Hn+e,V=p[$n],X=E.firstCreatePass?function PM(e,t,i,a,p,E){const N=t.consts,X=Oa(t,e,2,a,rr(N,p));return sh(t,i,X,rr(N,E)),null!==X.attrs&&eu(X,X.attrs,!1),null!==X.mergedAttrs&&eu(X,X.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,X),X}(N,E,p,t,i,a):E.data[N],fe=lv(E,p,X,V,t,e);p[N]=fe;const Le=Ps(X);return ss(X,!0),Zp(V,fe,X),32!=(32&X.flags)&&In()&&Uc(E,p,fe,X),0===function ca(){return zn.lFrame.elementDepthCount}()&&Hr(fe,p),function io(){zn.lFrame.elementDepthCount++}(),Le&&(nh(E,p,X),th(E,X,p)),null!==a&&ih(p,X),gu}function _u(){let e=Pi();Uo()?Bo():(e=e.parent,ss(e,!1));const t=e;(function Fo(e){return zn.skipHydrationRootTNode===e})(t)&&function ul(){zn.skipHydrationRootTNode=null}(),function No(){zn.lFrame.elementDepthCount--}();const i=mi();return i.firstCreatePass&&(jn(i,e),Xs(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function C1(e){return 0!=(8&e.flags)}(t)&&Oh(i,t,rn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function w1(e){return 0!=(16&e.flags)}(t)&&Oh(i,t,rn(),t.stylesWithoutHost,!1),_u}function rf(e,t,i,a){return gu(e,t,i,a),_u(),rf}let lv=(e,t,i,a,p,E)=>(hi(!0),Pc(a,p,Ai()));function NM(e,t,i,a,p,E){const N=t[xt],V=!N||Ts()||Kc(N,E);if(hi(V),V)return Pc(a,p,Ai());const X=au(N,e,t,i);return b0(N,E)&&Gc(N,E,X.nextSibling),N&&(wp(i)||xp(X))&&Zr(i)&&(function Bs(e){zn.skipHydrationRootTNode=e}(i),Gp(X)),X}function vu(e,t,i){const a=rn(),p=mi(),E=e+Hn,N=p.firstCreatePass?function UM(e,t,i,a,p){const E=t.consts,N=rr(E,a),V=Oa(t,e,8,"ng-container",N);return null!==N&&eu(V,N,!0),sh(t,i,V,rr(E,p)),null!==t.queries&&t.queries.elementStart(t,V),V}(E,p,a,t,i):p.data[E];ss(N,!0);const V=cv(p,a,N,e);return a[E]=V,In()&&Uc(p,a,V,N),Hr(V,a),Ps(N)&&(nh(p,a,N),th(p,N,a)),null!=i&&ih(a,N),vu}function bu(){let e=Pi();const t=mi();return Uo()?Bo():(e=e.parent,ss(e,!1)),t.firstCreatePass&&(jn(t,e),Xs(e)&&t.queries.elementEnd(e)),bu}function sf(e,t,i){return vu(e,t,i),bu(),sf}let cv=(e,t,i,a)=>(hi(!0),Id(t[$n],""));function BM(e,t,i,a){let p;const E=t[xt],N=!E||Ts();if(hi(N),N)return Id(t[$n],"");const V=au(E,e,t,i),X=function kw(e,t){const i=e.data;let a=i[jd]?.[t]??null;return null===a&&i[Tl]?.[t]&&(a=Zd(e,t)),a}(E,a);return Gc(E,a,V),p=lu(X,V),p}function uv(){return rn()}function af(e,t,i){const a=rn();return yr(a,re(),t)&&ms(mi(),sn(),a,e,t,a[$n],i,!0),af}function lf(e,t,i){const a=rn();if(yr(a,re(),t)){const E=mi(),N=sn();ms(E,N,a,e,t,ng(ni(E.data),N,a),i,!0)}return lf}const Qo=void 0;var jM=["en",[["a","p"],["AM","PM"],Qo],[["AM","PM"],Qo,Qo],[["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"]],Qo,[["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"]],Qo,[["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}",Qo,"{1} 'at' {0}",Qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function VM(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let tl={};function HM(e,t,i){"string"!=typeof t&&(i=t,t=e[nl.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),tl[t]=e,i&&(tl[t][nl.ExtraData]=i)}function cf(e){const t=function GM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=hv(t);if(i)return i;const a=t.split("-")[0];if(i=hv(a),i)return i;if("en"===a)return jM;throw new jt(701,!1)}function zM(e){return cf(e)[nl.CurrencyCode]||null}function dv(e){return cf(e)[nl.PluralCase]}function hv(e){return e in tl||(tl[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),tl[e]}function WM(){tl={}}var nl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(nl||{});const KM=["zero","one","two","few","many"],Xo="en-US",yu={marker:"element"},Cu={marker:"ICU"};var as=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(as||{});let fv=Xo;function uf(e){Xt(e,"Expected localeId to be defined"),"string"==typeof e&&(fv=e.toLowerCase().replace(/_/g,"-"))}function mv(e,t,i){const a=t.insertBeforeIndex,p=Array.isArray(a)?a[0]:a;return null===p?jp(e,0,i):xi(i[p])}function pv(e,t,i,a,p){const E=t.insertBeforeIndex;if(Array.isArray(E)){let N=a,V=null;if(3&t.type||(V=N,N=p),null!==N&&-1===t.componentOffset)for(let X=1;X1)for(let i=e.length-2;i>=0;i--){const a=e[i];_v(a)||XM(a,t)&&null===JM(a)&&qM(a,t.index)}}function _v(e){return!(64&e.type)}function XM(e,t){return _v(t)||e.index>t.index}function JM(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function qM(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(zp(mv,pv),e.insertBeforeIndex=t)}function Ql(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function nD(e,t,i){const a=eh(e,i,64,null,null);return gv(t,a),a}function wu(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function vv(e){return e>>>17}function bv(e){return(131070&e)>>>1}let Xl=0,Jl=0;function Cv(e,t,i,a){const p=i[$n];let N,E=null;for(let V=0;V>>1,i),null,null,Rt,Jt,null)}else switch(X){case Cu:const fe=t[++V],Le=t[++V];null===i[Le]&&Hr(i[Le]=Id(p,fe),i);break;case yu:const et=t[++V],Mt=t[++V];null===i[Mt]&&Hr(i[Mt]=Pc(p,et,null),i)}}}function wv(e,t,i,a,p){for(let E=0;E>>2;switch(3&Le){case 1:const Mt=i[++fe],Rt=i[++fe],Jt=e.data[et];"string"==typeof Jt?ah(t[$n],t[et],null,Jt,Mt,X,Rt):ms(e,Jt,t,Mt,X,t[$n],Rt,!1);break;case 0:const mn=t[et];null!==mn&&Np(t[$n],mn,X);break;case 2:aD(e,Ql(e,et),t,X);break;case 3:xv(e,Ql(e,et),a,t)}}}}else{const X=i[E+1];if(X>0&&3==(3&X)){const Le=Ql(e,X>>>2);t[Le.currentCaseLViewIndex]<0&&xv(e,Le,a,t)}}E+=V}}function xv(e,t,i,a){let p=a[t.currentCaseLViewIndex];if(null!==p){let E=Xl;p<0&&(p=a[t.currentCaseLViewIndex]=~p,E=-1),wv(e,a,t.update[p],i,E)}}function aD(e,t,i,a){const p=function lD(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function YM(e,t){const i=dv(t)(parseInt(e,10)),a=KM[i];return void 0!==a?a:"other"}(t,function QM(){return fv}());i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(wu(t,i)!==p&&(Ev(e,t,i),i[t.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const N=i[t.anchorIdx];N&&Cv(e,t.create[p],i,N)}}function Ev(e,t,i){let a=wu(t,i);if(null!==a){const p=t.remove[a];for(let E=0;E0){const V=to(N,i);null!==V&&Bc(i[$n],V)}else Ev(e,Ql(e,~N),i)}}}function cD(){const e=[];let i,a,t=-1;function E(V,X){t=0;const fe=wu(V,X);a=null!==fe?V.remove[fe]:oi}function N(){if(t0?i[V]:(e.push(t,a),E(i[yn].data[~V],i),N())}return 0===e.length?null:(a=e.pop(),t=e.pop(),N())}return function p(V,X){for(i=X;e.length;)e.pop();return E(V.value,X),N}}const xu=/\ufffd(\d+):?\d*\ufffd/gi,uD=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,dD=/\ufffd(\d+)\ufffd/,Dv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ql="\ufffd",hD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,fD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,mD=/\uE500/g;function Iv(e,t,i,a,p,E,N){const V=Pl(e,a,1,null);let X=V<i.length&&i.push(X)}return{type:a,mainBinding:p,cases:t,values:i}}function df(e){if(!e)return[];let t=0;const i=[],a=[],p=/[{}]/g;let E;for(p.lastIndex=0;E=p.exec(e);){const V=E.index;if("}"==E[0]){if(i.pop(),0==i.length){const X=e.substring(t,V);Dv.test(X)?a.push(wD(X)):a.push(X),t=V+1}}else{if(0==i.length){const X=e.substring(t,V);a.push(X),t=V+1}i.push("{")}}const N=e.substring(t);return a.push(N),a}function xD(e,t,i,a,p,E,N,V){const X=[],fe=[],Le=[];t.cases.push(E),t.create.push(X),t.remove.push(fe),t.update.push(Le);const Mt=t0(wo()).getInertBodyElement(N),Rt=Fd(Mt)||Mt;return Rt?kv(e,t,i,a,X,fe,Le,Rt,p,V,0):0}function kv(e,t,i,a,p,E,N,V,X,fe,Le){let et=0,Mt=V.firstChild;for(;Mt;){const Rt=Pl(e,i,1,null);switch(Mt.nodeType){case Node.ELEMENT_NODE:const Jt=Mt,mn=Jt.tagName.toLowerCase();if(Pd.hasOwnProperty(mn)){hf(p,yu,mn,X,Rt),e.data[Rt]=mn;const ii=Jt.attributes;for(let yi=0;yi>>as.SHIFT;let et=e[Le];null===et&&(et=e[Le]=(N&as.COMMENT)===as.COMMENT?p.createComment(V):Lc(p,V)),fe&&null!==i&&zo(p,i,et,a,!1)}})(p,X.create,Le,V&&8&V.type?p[V.index]:null),pt(!0)}function mf(){pt(!1)}function Lv(e,t,i){ff(e,t,i),mf()}function Pv(e,t){const i=mi(),a=rr(i.consts,t);!function vD(e,t,i){const p=Pi().index,E=[];if(e.firstCreatePass&&null===e.data[t]){for(let N=0;N0){const a=e.data[i];wv(e,t,Array.isArray(a)?a:a.update,se()-Jl-1,Xl)}Xl=0,Jl=0}(mi(),rn(),e+Hn)}function Fv(e,t={}){return function PD(e,t={}){let i=e;if(SD.test(e)){const a={},p=[Ov];i=i.replace(TD,(E,N,V)=>{const X=N||V,fe=a[X]||[];if(fe.length||(X.split("|").forEach(mn=>{const Cn=mn.match(LD),Rn=Cn?parseInt(Cn[1],10):Ov,ln=OD.test(mn);fe.push([Rn,ln,mn])}),a[X]=fe),!fe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${X}`);const Le=p[p.length-1];let et=0;for(let mn=0;mnt.hasOwnProperty(E)?`${p}${t[E]}${X}`:a),i=i.replace(kD,(a,p)=>t.hasOwnProperty(p)?t[p]:a),i=i.replace(RD,(a,p)=>{if(t.hasOwnProperty(p)){const E=t[p];if(!E.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${p}`);return E.shift()}return a})),i}(e,t)}function gf(e){return!!e&&"function"==typeof e.then}function Uv(e){return!!e&&"function"==typeof e.subscribe}function _f(e,t,i,a){const p=rn(),E=mi(),N=Pi();return Bv(E,p,p[$n],N,e,t,a),_f}function vf(e,t){const i=Pi(),a=rn(),p=mi();return Bv(p,a,ng(ni(p.data),i,a),i,e,t),vf}function Bv(e,t,i,a,p,E,N){const V=Ps(a),fe=e.firstCreatePass&&tg(e),Le=t[Sn],et=eg(t);let Mt=!0;if(3&a.type||N){const mn=ar(a,t),Cn=N?N(mn):mn,Rn=et.length,ln=N?yi=>N(xi(yi[a.index])):a.index;let ii=null;if(!N&&V&&(ii=function ND(e,t,i,a){const p=e.cleanup;if(null!=p)for(let E=0;EX?V[X]:null}"string"==typeof N&&(E+=2)}return null}(e,t,p,a.index)),null!==ii)(ii.__ngLastListenerFn__||ii).__ngNextListenerFn__=E,ii.__ngLastListenerFn__=E,Mt=!1;else{E=Vv(a,t,Le,E,!1);const yi=i.listen(Cn,p,E);et.push(E,yi),fe&&fe.push(p,ln,Rn,Rn+1)}}else E=Vv(a,t,Le,E,!1);const Rt=a.outputs;let Jt;if(Mt&&null!==Rt&&(Jt=Rt[p])){const mn=Jt.length;if(mn)for(let Cn=0;Cn-1?xr(e.index,t):t);let X=$v(t,i,a,N),fe=E.__ngNextListenerFn__;for(;fe;)X=$v(t,i,fe,N)&&X,fe=fe.__ngNextListenerFn__;return p&&!1===X&&N.preventDefault(),X}}function jv(e=1){return function Qt(e){return(zn.lFrame.contextLView=aa(e,zn.lFrame.contextLView))[Sn]}(e)}function FD(e,t){let i=null;const a=function vn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let p=0;p=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Gv(e){return Ss(function dl(){return zn.lFrame.contextLView}(),Hn+e)}function Kv(e,t,i){ks(Fa(rn(),e,t,i))}function Yv(e,t,i,a,p){ks(Ua(rn(),e,t,i,a,p))}function Zv(e,t,i,a,p,E,N){ks(Ba(rn(),e,t,i,a,p,E,N))}function Qv(e,t,i,a,p,E,N,V,X){ks($a(rn(),e,t,i,a,p,E,N,V,X))}function Xv(e,t,i,a,p,E,N,V,X,fe,Le){ks(Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le))}function Jv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){ks(ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt))}function qv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){ks(Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt))}function eb(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){ks(za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn))}function tb(e){ks(Na(rn(),e))}function Sf(e,t,i,a,p){return Rs(e,Fa(rn(),t,i,a),p,!1),Sf}function Tf(e,t,i,a,p,E,N){return Rs(e,Ua(rn(),t,i,a,p,E),N,!1),Tf}function Af(e,t,i,a,p,E,N,V,X){return Rs(e,Ba(rn(),t,i,a,p,E,N,V),X,!1),Af}function kf(e,t,i,a,p,E,N,V,X,fe,Le){return Rs(e,$a(rn(),t,i,a,p,E,N,V,X,fe),Le,!1),kf}function Rf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){return Rs(e,Va(rn(),t,i,a,p,E,N,V,X,fe,Le,et),Mt,!1),Rf}function Of(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){return Rs(e,ja(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt),Jt,!1),Of}function Lf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){return Rs(e,Ha(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn),Cn,!1),Lf}function Pf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn,ln){return Rs(e,za(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn),ln,!1),Pf}function Nf(e,t,i){return Rs(e,Na(rn(),t),i,!1),Nf}function nb(e,t=""){const i=rn(),a=mi(),p=e+Hn,E=a.firstCreatePass?Oa(a,p,1,t,null):a.data[p],N=ib(a,i,E,t,e);i[p]=N,In()&&Uc(a,i,N,E),ss(E,!1)}let ib=(e,t,i,a,p)=>(hi(!0),Lc(t[$n],a));function UD(e,t,i,a,p){const E=t[xt],N=!E||Ts()||Kc(E,p);return hi(N),N?Lc(t[$n],a):au(E,e,t,i)}function Ff(e){return Mu("",e,""),Ff}function Mu(e,t,i){const a=rn(),p=Fa(a,e,t,i);return p!==si&&lo(a,Jn(),p),Mu}function Uf(e,t,i,a,p){const E=rn(),N=Ua(E,e,t,i,a,p);return N!==si&&lo(E,Jn(),N),Uf}function Bf(e,t,i,a,p,E,N){const V=rn(),X=Ba(V,e,t,i,a,p,E,N);return X!==si&&lo(V,Jn(),X),Bf}function $f(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=$a(fe,e,t,i,a,p,E,N,V,X);return Le!==si&&lo(fe,Jn(),Le),$f}function Vf(e,t,i,a,p,E,N,V,X,fe,Le){const et=rn(),Mt=Va(et,e,t,i,a,p,E,N,V,X,fe,Le);return Mt!==si&&lo(et,Jn(),Mt),Vf}function jf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){const Rt=rn(),Jt=ja(Rt,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt);return Jt!==si&&lo(Rt,Jn(),Jt),jf}function Hf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){const mn=rn(),Cn=Ha(mn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt);return Cn!==si&&lo(mn,Jn(),Cn),Hf}function zf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){const Rn=rn(),ln=za(Rn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn);return ln!==si&&lo(Rn,Jn(),ln),zf}function Wf(e){const t=rn(),i=Na(t,e);return i!==si&&lo(t,Jn(),i),Wf}function Gf(e,t,i,a,p){if(e=Ne(e),Array.isArray(e))for(let E=0;E>20;if(Ho(e)||!e.multi){const Rt=new Vs(fe,p,Ra),Jt=Yf(X,t,p?Le:Le+Mt,et);-1===Jt?(Qu(fc(V,N),E,X),Kf(E,e,t.length),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rt),N.push(Rt)):(i[Jt]=Rt,N[Jt]=Rt)}else{const Rt=Yf(X,t,Le+Mt,et),Jt=Yf(X,t,Le,Le+Mt),Cn=Jt>=0&&i[Jt];if(p&&!Cn||!p&&!(Rt>=0&&i[Rt])){Qu(fc(V,N),E,X);const Rn=function HD(e,t,i,a,p){const E=new Vs(e,i,Ra);return E.multi=[],E.index=t,E.componentProviders=0,rb(E,p,a&&!i),E}(p?jD:VD,i.length,p,a,fe);!p&&Cn&&(i[Jt].providerFactory=Rn),Kf(E,e,t.length,0),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rn),N.push(Rn)}else Kf(E,e,Rt>-1?Rt:Jt,rb(i[p?Jt:Rt],fe,!p&&a));!p&&a&&Cn&&i[Jt].componentProviders++}}}function Kf(e,t,i,a){const p=Ho(t),E=function X1(e){return!!e.useClass}(t);if(p||E){const X=(E?Ne(t.useClass):t).prototype.ngOnDestroy;if(X){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!p&&t.multi){const Le=fe.indexOf(i);-1===Le?fe.push(i,[a,X]):fe[Le+1].push(a,X)}else fe.push(i,X)}}}function rb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Yf(e,t,i,a){for(let p=i;p{i.providersResolver=(a,p)=>function $D(e,t,i){const a=mi();if(a.firstCreatePass){const p=Nr(e);Gf(i,a.data,a.blueprint,p,!0),Gf(t,a.data,a.blueprint,p,!1)}}(a,p?p(e):e,t)}}class Jo{}class ob{}function ab(e,t){return new Du(e,t??null,[])}const zD=ab;class Du extends Jo{constructor(t,i,a){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yg(this);const p=Qi(t);this._bootstrapComponents=fs(p.bootstrap),this._r3Injector=ap(t,i,[{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver},...a],Re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iu extends ob{constructor(t){super(),this.moduleType=t}create(t){return new Du(this.moduleType,t,[])}}class lb extends Jo{constructor(t){super(),this.componentFactoryResolver=new yg(this),this.instance=null;const i=new wa([...t.providers,{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver}],t.parent||Ec(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cb(e,t,i=null){return new lb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let GD=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const a=qm(0,i.type),p=a.length>0?cb([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,p)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Yn({token:e,providedIn:"environment",factory:()=>new e(Ln(Hs))})}return e})();function ub(e){Do("NgStandalone"),e.getStandaloneInjector=t=>t.get(GD).getOrCreateStandaloneInjector(e)}function db(e,t,i){const a=e.\u0275cmp;a.directiveDefs=es(t,!1),a.pipeDefs=es(i,!0)}function hb(e,t){return tr(()=>{const i=Qi(e,!0);i.declarations=Su(t.declarations||oi),i.imports=Su(t.imports||oi),i.exports=Su(t.exports||oi),t.bootstrap&&(i.bootstrap=Su(t.bootstrap)),Ma.registerNgModule(e,t)})}function Su(e){if("function"==typeof e)return e;const t=os(e);return t.some(Be)?()=>t.map(Ne).map(fb):t.map(fb)}function fb(e){return md(e)?e.ngModule:e}function Qf(e){const t=Qr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function NC(e,t){const i=t[yn].data[e],{directiveStart:a,componentOffset:p}=i;return p>-1?t[a+p]:null}(t.nodeIndex,i)}return t.component}function mb(e){!function JD(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Qr(e),i=t?t.lView:null;return null===i?null:i[Sn]}function pb(e){const t=Qr(e);let a,i=t?t.lView:null;if(null===i)return null;for(;2===i[yn].type&&(a=wl(i));)i=a;return 512&i[he]?null:i[Sn]}function gb(e){const t=Sp(e);return null!==t?[$C(t)]:[]}function _b(e){const t=Qr(e),i=t?t.lView:null;return null===i?Cs.NULL:new Er(i[yn].data[t.nodeIndex],i)}function vb(e){if(e instanceof Text)return[];const t=Qr(e),i=t?t.lView:null;if(null===i)return[];const a=i[yn],p=t.nodeIndex;return a?.data[p]?(void 0===t.directives&&(t.directives=Rp(p,i)),null===t.directives?[]:[...t.directives]):[]}function YD(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ti(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Cr.OnPush:Cr.Default};const a=wi(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function Xf(e){return Qr(e).native}function bb(e){const t=Qr(e),i=null===t?null:t.lView;if(null===i)return[];const p=i[gn],E=i[yn].cleanup,N=[];if(E&&p)for(let V=0;V=0?"dom":"output"})}}return N.sort(QD),N}function QD(e,t){return e.name==t.name?0:e.namePromise.all(t()).then(p=>(i(...p),a[Tu]=null,p)),a[Tu]}function yb(e,t,i,a){return tr(()=>{const p=e;null!==t&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...t):p.decorators=t),null!==i&&(p.ctorParameters=i),null!==a&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...a}:a)})}function Cb(e,t,i){const a=G()+e,p=rn();return p[a]===si?Gs(p,a,i?t.call(i):t()):Bl(p,a)}function wb(e,t,i,a){return kb(rn(),G(),e,t,i,a)}function xb(e,t,i,a,p){return Rb(rn(),G(),e,t,i,a,p)}function Eb(e,t,i,a,p,E){return Ob(rn(),G(),e,t,i,a,p,E)}function Mb(e,t,i,a,p,E,N){return Lb(rn(),G(),e,t,i,a,p,E,N)}function Db(e,t,i,a,p,E,N,V){const X=G()+e,fe=rn(),Le=ws(fe,X,i,a,p,E);return yr(fe,X+4,N)||Le?Gs(fe,X+5,V?t.call(V,i,a,p,E,N):t(i,a,p,E,N)):Bl(fe,X+5)}function Ib(e,t,i,a,p,E,N,V,X){const fe=G()+e,Le=rn(),et=ws(Le,fe,i,a,p,E);return Ko(Le,fe+4,N,V)||et?Gs(Le,fe+6,X?t.call(X,i,a,p,E,N,V):t(i,a,p,E,N,V)):Bl(Le,fe+6)}function Sb(e,t,i,a,p,E,N,V,X,fe){const Le=G()+e,et=rn();let Mt=ws(et,Le,i,a,p,E);return nu(et,Le+4,N,V,X)||Mt?Gs(et,Le+7,fe?t.call(fe,i,a,p,E,N,V,X):t(i,a,p,E,N,V,X)):Bl(et,Le+7)}function Tb(e,t,i,a,p,E,N,V,X,fe,Le){const et=G()+e,Mt=rn(),Rt=ws(Mt,et,i,a,p,E);return ws(Mt,et+4,N,V,X,fe)||Rt?Gs(Mt,et+8,Le?t.call(Le,i,a,p,E,N,V,X,fe):t(i,a,p,E,N,V,X,fe)):Bl(Mt,et+8)}function Ab(e,t,i,a){return Pb(rn(),G(),e,t,i,a)}function tc(e,t){const i=e[t];return i===si?void 0:i}function kb(e,t,i,a,p,E){const N=t+i;return yr(e,N,p)?Gs(e,N+1,E?a.call(E,p):a(p)):tc(e,N+1)}function Rb(e,t,i,a,p,E,N){const V=t+i;return Ko(e,V,p,E)?Gs(e,V+2,N?a.call(N,p,E):a(p,E)):tc(e,V+2)}function Ob(e,t,i,a,p,E,N,V){const X=t+i;return nu(e,X,p,E,N)?Gs(e,X+3,V?a.call(V,p,E,N):a(p,E,N)):tc(e,X+3)}function Lb(e,t,i,a,p,E,N,V,X){const fe=t+i;return ws(e,fe,p,E,N,V)?Gs(e,fe+4,X?a.call(X,p,E,N,V):a(p,E,N,V)):tc(e,fe+4)}function Pb(e,t,i,a,p,E){let N=t+i,V=!1;for(let X=0;X=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[p]=a,a.onDestroy&&(i.destroyHooks??=[]).push(p,a.onDestroy)):a=i.data[p];const E=a.factory||(a.factory=di(a.type)),V=ze(Ra);try{const X=hc(!1),fe=E();return hc(X),Wv(i,rn(),p,fe),fe}finally{ze(V)}}function Fb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?kb(p,G(),t,E.transform,i,E):E.transform(i)}function Ub(e,t,i,a){const p=e+Hn,E=rn(),N=Ss(E,p);return nc(E,p)?Rb(E,G(),t,N.transform,i,a,N):N.transform(i,a)}function Bb(e,t,i,a,p){const E=e+Hn,N=rn(),V=Ss(N,E);return nc(N,E)?Ob(N,G(),t,V.transform,i,a,p,V):V.transform(i,a,p)}function $b(e,t,i,a,p,E){const N=e+Hn,V=rn(),X=Ss(V,N);return nc(V,N)?Lb(V,G(),t,X.transform,i,a,p,E,X):X.transform(i,a,p,E)}function Vb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?Pb(p,G(),t,E.transform,i,E):E.transform.apply(E,i)}function nc(e,t){return e[yn].data[t].pure}function nI(){return this._results[Symbol.iterator]()}class Au{static#e=Symbol.iterator;get changes(){return this._changes??=new Ws}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=Au.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=nI)}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,i){return this._results.reduce(t,i)}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,i){this.dirty=!1;const a=os(t);(this._changesDetected=!function F1(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{static#e=this.__NG_ELEMENT_ID__=sI}return e})();const iI=ic,rI=class extends iI{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,a){const p=Wl(this._declarationLView,this._declarationTContainer,t,{injector:i,dehydratedView:a});return new La(p)}};function sI(){return ku(Pi(),rn())}function ku(e,t){return 4&e.type?new rI(t,e,ka(e,t)):null}class Jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class qf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const a=null!==t.contentQueries?t.contentQueries[0]:i.length,p=[];for(let E=0;E0)a.push(N[V/2]);else{const fe=E[V+1],Le=t[-X];for(let et=fi;et{try{return Ma.getComponentDependencies(e,t).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}}function qb(e,t){const i=ti(e);null!==i&&(i.debugInfo=t)}const Xr=(()=>({\u0275\u0275attribute:bh,\u0275\u0275attributeInterpolate1:yh,\u0275\u0275attributeInterpolate2:Ch,\u0275\u0275attributeInterpolate3:wh,\u0275\u0275attributeInterpolate4:xh,\u0275\u0275attributeInterpolate5:Eh,\u0275\u0275attributeInterpolate6:Mh,\u0275\u0275attributeInterpolate7:Dh,\u0275\u0275attributeInterpolate8:Ih,\u0275\u0275attributeInterpolateV:Sh,\u0275\u0275defineComponent:Kn,\u0275\u0275defineDirective:ls,\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275defineNgModule:lr,\u0275\u0275definePipe:Ys,\u0275\u0275directiveInject:Ra,\u0275\u0275getInheritedFactory:Pm,\u0275\u0275inject:Ln,\u0275\u0275injectAttribute:Ju,\u0275\u0275invalidFactory:H0,\u0275\u0275invalidFactoryDep:Mi,\u0275\u0275templateRefExtractor:Xb,\u0275\u0275resetView:da,\u0275\u0275HostDirectivesFeature:Dg,\u0275\u0275NgOnChangesFeature:Xn,\u0275\u0275ProvidersFeature:sb,\u0275\u0275CopyDefinitionFeature:Mg,\u0275\u0275InheritDefinitionFeature:vh,\u0275\u0275InputTransformsFeature:Ag,\u0275\u0275StandaloneFeature:ub,\u0275\u0275nextContext:jv,\u0275\u0275namespaceHTML:bi,\u0275\u0275namespaceMathML:Wi,\u0275\u0275namespaceSVG:Wn,\u0275\u0275enableBindings:cl,\u0275\u0275disableBindings:ro,\u0275\u0275elementStart:gu,\u0275\u0275elementEnd:_u,\u0275\u0275element:rf,\u0275\u0275elementContainerStart:vu,\u0275\u0275elementContainerEnd:bu,\u0275\u0275elementContainer:sf,\u0275\u0275pureFunction0:Cb,\u0275\u0275pureFunction1:wb,\u0275\u0275pureFunction2:xb,\u0275\u0275pureFunction3:Eb,\u0275\u0275pureFunction4:Mb,\u0275\u0275pureFunction5:Db,\u0275\u0275pureFunction6:Ib,\u0275\u0275pureFunction7:Sb,\u0275\u0275pureFunction8:Tb,\u0275\u0275pureFunctionV:Ab,\u0275\u0275getCurrentView:uv,\u0275\u0275restoreView:ua,\u0275\u0275listener:_f,\u0275\u0275projection:zv,\u0275\u0275syntheticHostProperty:lf,\u0275\u0275syntheticHostListener:vf,\u0275\u0275pipeBind1:Fb,\u0275\u0275pipeBind2:Ub,\u0275\u0275pipeBind3:Bb,\u0275\u0275pipeBind4:$b,\u0275\u0275pipeBindV:Vb,\u0275\u0275projectionDef:Hv,\u0275\u0275hostProperty:af,\u0275\u0275property:Rh,\u0275\u0275propertyInterpolate:bf,\u0275\u0275propertyInterpolate1:Eu,\u0275\u0275propertyInterpolate2:yf,\u0275\u0275propertyInterpolate3:Cf,\u0275\u0275propertyInterpolate4:wf,\u0275\u0275propertyInterpolate5:xf,\u0275\u0275propertyInterpolate6:Ef,\u0275\u0275propertyInterpolate7:Mf,\u0275\u0275propertyInterpolate8:Df,\u0275\u0275propertyInterpolateV:If,\u0275\u0275pipe:Nb,\u0275\u0275queryRefresh:zb,\u0275\u0275viewQuery:Wb,\u0275\u0275loadQuery:Kb,\u0275\u0275contentQuery:Gb,\u0275\u0275reference:Gv,\u0275\u0275classMap:Ug,\u0275\u0275classMapInterpolate1:Wg,\u0275\u0275classMapInterpolate2:Gg,\u0275\u0275classMapInterpolate3:Kg,\u0275\u0275classMapInterpolate4:Yg,\u0275\u0275classMapInterpolate5:Zg,\u0275\u0275classMapInterpolate6:Qg,\u0275\u0275classMapInterpolate7:Xg,\u0275\u0275classMapInterpolate8:Jg,\u0275\u0275classMapInterpolateV:qg,\u0275\u0275styleMap:ks,\u0275\u0275styleMapInterpolate1:Kv,\u0275\u0275styleMapInterpolate2:Yv,\u0275\u0275styleMapInterpolate3:Zv,\u0275\u0275styleMapInterpolate4:Qv,\u0275\u0275styleMapInterpolate5:Xv,\u0275\u0275styleMapInterpolate6:Jv,\u0275\u0275styleMapInterpolate7:qv,\u0275\u0275styleMapInterpolate8:eb,\u0275\u0275styleMapInterpolateV:tb,\u0275\u0275styleProp:Lh,\u0275\u0275stylePropInterpolate1:Sf,\u0275\u0275stylePropInterpolate2:Tf,\u0275\u0275stylePropInterpolate3:Af,\u0275\u0275stylePropInterpolate4:kf,\u0275\u0275stylePropInterpolate5:Rf,\u0275\u0275stylePropInterpolate6:Of,\u0275\u0275stylePropInterpolate7:Lf,\u0275\u0275stylePropInterpolate8:Pf,\u0275\u0275stylePropInterpolateV:Nf,\u0275\u0275classProp:Ph,\u0275\u0275advance:V0,\u0275\u0275template:Ya,\u0275\u0275conditional:b_,\u0275\u0275defer:V_,\u0275\u0275deferWhen:j_,\u0275\u0275deferOnIdle:z_,\u0275\u0275deferOnImmediate:G_,\u0275\u0275deferOnTimer:Y_,\u0275\u0275deferOnHover:Q_,\u0275\u0275deferOnInteraction:J_,\u0275\u0275deferOnViewport:ev,\u0275\u0275deferPrefetchWhen:H_,\u0275\u0275deferPrefetchOnIdle:W_,\u0275\u0275deferPrefetchOnImmediate:K_,\u0275\u0275deferPrefetchOnTimer:Z_,\u0275\u0275deferPrefetchOnHover:X_,\u0275\u0275deferPrefetchOnInteraction:q_,\u0275\u0275deferPrefetchOnViewport:tv,\u0275\u0275deferEnableTimerScheduling:$_,\u0275\u0275repeater:x_,\u0275\u0275repeaterCreate:w_,\u0275\u0275repeaterTrackByIndex:y_,\u0275\u0275repeaterTrackByIdentity:C_,\u0275\u0275componentInstance:e_,\u0275\u0275text:nb,\u0275\u0275textInterpolate:Ff,\u0275\u0275textInterpolate1:Mu,\u0275\u0275textInterpolate2:Uf,\u0275\u0275textInterpolate3:Bf,\u0275\u0275textInterpolate4:$f,\u0275\u0275textInterpolate5:Vf,\u0275\u0275textInterpolate6:jf,\u0275\u0275textInterpolate7:Hf,\u0275\u0275textInterpolate8:zf,\u0275\u0275textInterpolateV:Wf,\u0275\u0275i18n:Lv,\u0275\u0275i18nAttributes:Pv,\u0275\u0275i18nExp:pf,\u0275\u0275i18nStart:ff,\u0275\u0275i18nEnd:mf,\u0275\u0275i18nApply:Nv,\u0275\u0275i18nPostprocess:Fv,\u0275\u0275resolveWindow:fp,\u0275\u0275resolveDocument:mp,\u0275\u0275resolveBody:_d,\u0275\u0275setComponentScope:db,\u0275\u0275setNgModuleScope:hb,\u0275\u0275registerNgModuleType:vd,\u0275\u0275getComponentDepsFactory:Jb,\u0275setClassDebugInfo:qb,\u0275\u0275sanitizeHtml:c0,\u0275\u0275sanitizeStyle:u0,\u0275\u0275sanitizeResourceUrl:Bd,\u0275\u0275sanitizeScript:d0,\u0275\u0275sanitizeUrl:Ud,\u0275\u0275sanitizeUrlOrResourceUrl:m0,\u0275\u0275trustConstantHtml:h0,\u0275\u0275trustConstantResourceUrl:f0,\u0275\u0275validateIframeAttribute:Qp,forwardRef:Pe,resolveForwardRef:Ne}))();let il=null;function mI(){il=null}const rc=[];let im=!1;function ey(){if(!im){im=!0;try{for(let e=rc.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=rc[e];i.declarations&&i.declarations.every(ty)&&(rc.splice(e,1),vI(t,i))}}finally{im=!1}}}function ty(e){return Array.isArray(e)?e.every(ty):!!Ne(e)}function ny(e,t={}){iy(e,t),void 0!==t.id&&vd(e,t.id),function pI(e,t){rc.push({moduleType:e,ngModule:t})}(e,t)}function iy(e,t,i=!1){const a=os(t.declarations||oi);let p=null;Object.defineProperty(e,un,{configurable:!0,get:()=>(null===p&&(p=Mr().compileNgModule(Xr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:os(t.bootstrap||oi).map(Ne),declarations:a.map(Ne),imports:os(t.imports||oi).map(Ne).map(ay),exports:os(t.exports||oi).map(Ne).map(ay),schemas:t.schemas?os(t.schemas):null,id:t.id||null}),p.schemas||(p.schemas=[])),p)});let E=null;Object.defineProperty(e,Bt,{get:()=>{if(null===E){const V=Mr();E=V.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:yc(e),target:V.FactoryTarget.NgModule,typeArgumentCount:0})}return E},configurable:!1});let N=null;Object.defineProperty(e,ct,{get:()=>{if(null===N){const V={name:e.name,type:e,providers:t.providers||oi,imports:[(t.imports||oi).map(Ne),(t.exports||oi).map(Ne)]};N=Mr().compileInjector(Xr,`ng:///${e.name}/\u0275inj.js`,V)}return N},configurable:!1})}function ry(e,t){return`Unexpected "${Xe(e)}" found in the "declarations" array of the ${t}, "${Xe(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let Ru=new WeakMap,sm=new WeakMap;function _I(){Ru=new WeakMap,sm=new WeakMap,rc.length=0,Zs.clear()}function vI(e,t){const i=os(t.declarations||oi),a=qo(e);i.forEach(p=>{(p=Ne(p)).hasOwnProperty(fn)?om(ti(p),a):!p.hasOwnProperty(an)&&!p.hasOwnProperty(En)&&(p.ngSelectorScope=e)})}function om(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(fn)?ti(i):wi(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Ri(i)),e.schemas=t.schemas,e.tView=null}function qo(e){if(Co(e)){if(Ic){const t=Ma.getNgModuleScope(e);return{schemas:Qi(e,!0).schemas||null,...t}}return function bI(e){const t=Qi(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return fs(t.imports).forEach(a=>{const p=qo(a);p.exported.directives.forEach(E=>i.compilation.directives.add(E)),p.exported.pipes.forEach(E=>i.compilation.pipes.add(E))}),fs(t.declarations).forEach(a=>{Ri(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),fs(t.exports).forEach(a=>{const p=a;if(Co(p)){const E=qo(p);E.exported.directives.forEach(N=>{i.compilation.directives.add(N),i.exported.directives.add(N)}),E.exported.pipes.forEach(N=>{i.compilation.pipes.add(N),i.exported.pipes.add(N)})}else Ri(p)?i.exported.pipes.add(p):i.exported.directives.add(p)}),t.transitiveCompileScopes=i,i}(e)}if(Br(e)){if(null!==(ti(e)||wi(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Ri(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function ay(e){return md(e)?e.ngModule:e}let am=0;function ly(e,t){let i=null;(function z1(e,t){Qm(t)&&(Ca.set(e,t),vl.add(e))})(e,t),uy(e,t),Object.defineProperty(e,fn,{get:()=>{if(null===i){const a=Mr();if(Qm(t)){const fe=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&fe.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&fe.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&fe.push(` - styleUrl: ${t.styleUrl}`),fe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(fe.join("\n"))}const p=function fI(){return il}();let E=t.preserveWhitespaces;void 0===E&&(E=null!==p&&void 0!==p.preserveWhitespaces&&p.preserveWhitespaces);let N=t.encapsulation;void 0===N&&(N=null!==p&&void 0!==p.defaultEncapsulation?p.defaultEncapsulation:Zi.Emulated);const V=t.templateUrl||`ng:///${e.name}/template.html`,X={...dy(e,t),typeSourceSpan:a.createParseSourceSpan("Component",e.name,V),template:t.template||"",preserveWhitespaces:E,styles:"string"==typeof t.styles?[t.styles]:t.styles||oi,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:N,interpolation:t.interpolation,viewProviders:t.viewProviders||null};am++;try{if(X.usesInheritance&&hy(e),i=a.compileComponent(Xr,V,X),t.standalone){const fe=os(t.imports||oi),{directiveDefs:Le,pipeDefs:et}=function yI(e,t){let i=null,a=null;return{directiveDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.directives].map(V=>ti(V)||wi(V)).filter(V=>null!==V):[];if(null===i){i=[ti(e)];const N=new Set([e]);for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.directives){const et=ti(Le)||wi(Le);et&&!N.has(Le)&&(N.add(Le),i.push(et))}}else{const fe=ti(X)||wi(X);fe&&i.push(fe)}}}return i},pipeDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.pipes].map(V=>Ri(V)).filter(V=>null!==V):[];if(null===a){a=[];const N=new Set;for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.pipes){const et=Ri(Le);et&&!N.has(Le)&&(N.add(Le),a.push(et))}}else{const fe=Ri(X);fe&&a.push(fe)}}}return a}}}(e,fe);i.directiveDefs=Le,i.pipeDefs=et,i.dependencies=()=>fe.map(Ne)}}finally{am--}if(0===am&&ey(),function CI(e){return void 0!==e.ngSelectorScope}(e)){const fe=qo(e.ngSelectorScope);om(i,fe)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${Xe(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function lm(e,t){let i=null;uy(e,t||{}),Object.defineProperty(e,an,{get:()=>{if(null===i){const a=cy(e,t||{});i=Mr().compileDirective(Xr,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function cy(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,p=Mr(),E=dy(e,t);return E.typeSourceSpan=p.createParseSourceSpan("Directive",i,a),E.usesInheritance&&hy(e),{metadata:E,sourceMapUrl:a}}function uy(e,t){let i=null;Object.defineProperty(e,Bt,{get:()=>{if(null===i){const a=cy(e,t),p=Mr();i=p.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Directive})}return i},configurable:!1})}function wI(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function dy(e,t){const i=id(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||or,propMetadata:a,inputs:t.inputs||oi,outputs:t.outputs||oi,queries:fy(e,a,my),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!wI(e),exportAs:MI(t.exportAs),providers:t.providers||null,viewQueries:fy(e,a,py),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(p=>"function"==typeof p?{directive:p}:p)||null}}function hy(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!wi(i)&&!ti(i)&&II(i)&&lm(i,null),i=Object.getPrototypeOf(i)}function xI(e){return"string"==typeof e?_y(e):Ne(e)}function EI(e,t){return{propertyName:e,predicate:xI(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function fy(e,t,i){const a=[];for(const p in t)if(t.hasOwnProperty(p)){const E=t[p];E.forEach(N=>{if(i(N)){if(!N.selector)throw new Error(`Can't construct a query for the property "${p}" of "${Xe(e)}" since the query selector wasn't defined.`);if(E.some(gy))throw new Error("Cannot combine @Input decorators with query decorators");a.push(EI(p,N))}})}return a}function MI(e){return void 0===e?null:_y(e)}function my(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function py(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function gy(e){return"Input"===e.ngMetadataName}function _y(e){return e.split(",").map(t=>t.trim())}const DI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function II(e){const t=id();if(DI.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const p=i[a];for(let E=0;E{if(null===a){const p=by(e,t),E=Mr();a=E.compileFactory(Xr,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p.type,typeArgumentCount:0,deps:yc(e),target:E.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,En,{get:()=>{if(null===i){const p=by(e,t);i=Mr().compilePipe(Xr,`ng:///${p.name}/\u0275pipe.js`,p)}return i},configurable:!1})}function by(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const yy=ml("Directive",(e={})=>e,void 0,void 0,(e,t)=>lm(e,t)),SI=ml("Component",(e={})=>({changeDetection:Cr.Default,...e}),yy,void 0,(e,t)=>ly(e,t)),TI=ml("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>vy(e,t)),AI=yo("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),kI=yo("Output",e=>({alias:e})),RI=yo("HostBinding",e=>({hostPropertyName:e})),OI=yo("HostListener",(e,t)=>({eventName:e,args:t})),LI=ml("NgModule",e=>e,void 0,void 0,(e,t)=>ny(e,t));class Cy{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const PI=new Cy("17.0.8");let wy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class xy{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let NI=(()=>{class e{compileModuleSync(i){return new Iu(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),E=fs(Qi(i).declarations).reduce((N,V)=>{const X=ti(V);return X&&N.push(new Pa(X)),N},[]);return new xy(a,E)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ey=new _t("compilerOptions");class FI{}let cm=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class UI{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let sc=new UI;function Ou(){return sc}function jI(e){e instanceof Er||tn("getNodeInjectorContext must be called with a NodeInjector");const t=fa(e),i=ma(e);if(null!==i)return ho(i,t),{lView:t,tNode:i}}function My(e){let t=null;return void 0===e||(t=e instanceof Er?fa(e):e),t}function KI(e){Nl(Ip(e)),gb(e).forEach(t=>function YI(e){const t=Ip(e);t[he]|=1024,uh(t)}(t))}function ZI(e,t){const i=e.get(t,null,{self:!0,optional:!0});if(null===i)throw new Error(`Unable to determine instance of ${t} in given injector`);const a=function QI(e,t){const{resolverToTokenToDependencies:i}=Ou();if(!(t instanceof Er))return i.get(t)?.get?.(e)??[];const a=fa(t);return(i.get(a)?.get(e)??[]).filter(N=>{const V=N.injectedIn?.tNode;if(void 0===V)return!1;const X=ma(t);return eo(V),eo(X),V===X})}(t,e),p=Dy(e);return{instance:i,dependencies:a.map(N=>{const V={value:N.value},X=N.flags;V.flags={optional:8==(8&X),host:1==(1&X),self:2==(2&X),skipSelf:4==(4&X)};for(let fe=0;fe{if(e.has(i)||e.set(i,[a]),!t.has(a))for(const p of e.keys()){const E=e.get(p);let N=it(a);if(N||(N=it(a.ngModule)),!N)return;const V=E[0];let X=!1;ba(N.imports,fe=>{X||(X=fe.ngModule===V||fe===V,X&&e.get(p)?.unshift(a))})}t.add(a)}}(t,new Set);return wc(e,a,[],new Set),t}(i),p=[];for(const E of t){const N=E.provider,V=N.provide;if(V===jo||V===sd)continue;let X=a.get(N)??[];!!ti(i)?.standalone&&(X=[i,...X]),p.push({...E,importPath:X})}return p}function iS(e){return e instanceof Er?function JI(e){const t=ma(e),{resolverToProviders:i}=Ou();return i.get(t)??[]}(e):e instanceof Hs?tS(e):void tn("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function rS(e){if(e instanceof Er){const t=fa(e),i=ma(e);return ho(i,t),{type:"element",source:ar(i,t)}}return e instanceof wa?{type:"environment",source:e.source??null}:e instanceof Cc?{type:"null",source:null}:null}function Dy(e){const t=[e];return um(e,t),t}function um(e,t){const i=function sS(e){if(e instanceof wa)return e.parent;let t,i;if(e instanceof Er)t=ma(e),i=fa(e);else{if(e instanceof Cc)return null;tn("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const a=mc(t,i);if(Ku(a)){const p=hl(a),E=fl(a,i);return new Er(E[yn].data[p+8],E)}{const E=i[Di].injector?.parent;if(E instanceof Er)return E}return null}(e);if(null===i){if(e instanceof Er){const a=t[0];if(a instanceof Er){const p=function oS(e){let t;e instanceof Er?t=fa(e):tn("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const a=t[Di].parentInjector;return a||tn("NodeInjector must have some connection to the module injector tree"),a}(a);null===p&&tn("NodeInjector must have some connection to the module injector tree"),t.push(p),um(p,t)}return t}}else t.push(i),um(i,t);return t}const Iy="ng";let Sy=!1;function aS(){Sy||(Sy=!0,function BI(){sc.reset(),Zn(e=>function $I(e){const{context:t,type:i}=e;0===i?function VI(e,t){const i=My(e.injector);null===i&&tn("An Inject event must be run within an injection context.");const a=sc.resolverToTokenToDependencies;if(a.has(i)||a.set(i,new WeakMap),!function GI(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const p=a.get(i);p.has(e.token)||p.set(e.token,[]);const{token:E,value:N,flags:V}=t;Xt(e.token,"Injector profiler context token is undefined.");const X=p.get(e.token);Xt(X,"Could not resolve dependencies for token."),X.push(e.injector instanceof Er?{token:E,value:N,flags:V,injectedIn:jI(e.injector)}:{token:E,value:N,flags:V})}(t,e.service):1===i?function HI(e,t){const{value:i}=t;let a;if(null===My(e.injector)&&tn("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof i&&(a=i?.constructor),void 0===a||!function zI(e){return!!ti(e)?.standalone}(a))return;const p=e.injector.get(Hs,null,{optional:!0});if(null===p)return;const{standaloneInjectorToComponent:E}=sc;E.has(p)||E.set(p,a)}(t,e.instance):2===i&&function WI(e,t){const{resolverToProviders:i}=sc;let a;a=e?.injector instanceof Er?ma(e.injector):e.injector,null===a&&tn("A ProviderConfigured event must be run within an injection context."),i.has(a)||i.set(a,[]),i.get(a).push(t)}(t,e.providerRecord)}(e))}(),zr("\u0275getDependenciesFromInjectable",ZI),zr("\u0275getInjectorProviders",iS),zr("\u0275getInjectorResolutionPath",Dy),zr("\u0275getInjectorMetadata",rS),zr("\u0275setProfiler",ur),zr("getDirectiveMetadata",YD),zr("getComponent",Qf),zr("getContext",mb),zr("getListeners",bb),zr("getOwningComponent",pb),zr("getHostElement",Xf),zr("getInjector",_b),zr("getRootComponents",gb),zr("getDirectives",vb),zr("applyChanges",KI))}function zr(e,t){if((typeof COMPILED>"u"||!COMPILED)&&pe){let a=pe[Iy];a||(a=pe[Iy]={}),a[e]=t}}const Ty=new _t(""),Ay=new _t("");let dm,lS=(()=>{class e{constructor(i,a,p){this._ngZone=i,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,dm||(Ry(p),p.addToWindow(a)),this._watchAngularEvents(),i.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:()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,a,p){let E=-1;a&&a>0&&(E=setTimeout(()=>{this._callbacks=this._callbacks.filter(N=>N.timeoutId!==E),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:E,updateCb:p})}whenStable(i,a,p){if(p&&!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(i,a,p),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,a,p){return[]}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(br),Ln(ky),Ln(Ay))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac})}return e})(),ky=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,a){this._applications.set(i,a)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,a=!0){return dm?.findTestabilityInTree(this,i,a)??null}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ry(e){dm=e}const Oy=new _t("Application Initializer");let Lu=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a}),this.appInits=Vn(Oy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const p of this.appInits){const E=p();if(gf(E))i.push(E);else if(Uv(E)){const N=new Promise((V,X)=>{E.subscribe({complete:V,error:X})});i.push(N)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(p=>{this.reject(p)}),0===i.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hm=new _t("appBootstrapListener");function Ly(e,t,i){const a=new Iu(i);return Promise.resolve(a)}function Py(){!function j(e){ne=e}(()=>{throw new jt(600,!1)})}function Ny(e){return e.isBoundToModule}class cS{constructor(t,i){this.name=t,this.token=i}}function Fy(e,t,i){try{const a=i();return gf(a)?a.catch(p=>{throw t.runOutsideAngular(()=>e.handleError(p)),p}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}function Uy(e,t){return Array.isArray(t)?t.reduce(Uy,e):{...e,...t}}let Nu,rl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(P0),this.componentTypes=[],this.components=[],this.isStable=Vn(cm).hasPendingTasks.pipe((0,Ce.U)(i=>!i)),this._injector=Vn(Hs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,a){const p=i instanceof Yc;if(!this._injector.get(Lu).done)throw!p&&Br(i),new jt(405,!1);let N;N=p?i:this._injector.get(kl).resolveComponentFactory(i),this.componentTypes.push(N.componentType);const V=Ny(N)?void 0:this._injector.get(Jo),fe=N.create(Cs.NULL,[],a||N.selector,V),Le=fe.location.nativeElement,et=fe.injector.get(Ty,null);return et?.registerApplication(Le),fe.onDestroy(()=>{this.detachView(fe.hostView),Pu(this.components,fe),et?.unregisterApplication(Le)}),this._loadComponent(fe),fe}tick(){if(this._runningTick)throw new jt(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;Pu(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const a=this._injector.get(hm,[]);[...this._bootstrapListeners,...a].forEach(p=>p(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Pu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new jt(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function $y(e){Nu??=new WeakMap;const t=Nu.get(e);if(t)return t;const i=e.isStable.pipe((0,ge.P)(a=>a)).toPromise().then(()=>{});return Nu.set(e,i),e.onDestroy(()=>Nu?.delete(e)),i}let uS=(()=>{class e{constructor(){this.zone=Vn(br),this.applicationRef=Vn(rl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vy(e){return[{provide:br,useFactory:e},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(uS,{optional:!0});return()=>t.initialize()}},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(hS);return()=>{t.initialize()}}},{provide:P0,useFactory:dS}]}function dS(){const e=Vn(br),t=Vn(Mo);return i=>e.runOutsideAngular(()=>t.handleError(i))}function jy(e){return od([[],Vy(()=>new br(Hy(e)))])}function Hy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let hS=(()=>{class e{constructor(){this.subscription=new Ee.w0,this.initialized=!1,this.zone=Vn(br),this.pendingTasks=Vn(cm)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{br.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Fu=new _t("LocaleId",{providedIn:"root",factory:()=>Vn(Fu,vt.Optional|vt.SkipSelf)||function fS(){return typeof $localize<"u"&&$localize.locale||Xo}()}),mS=new _t("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),pS=new _t("Translations"),gS=new _t("TranslationsFormat");var zy=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(zy||{});const fm=new _t("PlatformDestroyListeners");let mm=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const p=function Jx(e="zone.js",t){return"noop"===e?new mg:"zone.js"===e?new br(t):e}(a?.ngZone,Hy({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return p.run(()=>{const E=function WD(e,t,i){return new Du(e,t,i)}(i.moduleType,this.injector,Vy(()=>p)),N=E.injector.get(Mo,null);return p.runOutsideAngular(()=>{const V=p.onError.subscribe({next:X=>{N.handleError(X)}});E.onDestroy(()=>{Pu(this._modules,E),V.unsubscribe()})}),Fy(N,p,()=>{const V=E.injector.get(Lu);return V.runInitializers(),V.donePromise.then(()=>(uf(E.injector.get(Fu,Xo)||Xo),this._moduleDoBootstrap(E),E))})})}bootstrapModule(i,a=[]){const p=Uy({},a);return Ly(0,0,i).then(E=>this.bootstrapModuleFactory(E,p))}_moduleDoBootstrap(i){const a=i.injector.get(rl);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(p=>a.bootstrap(p));else{if(!i.instance.ngDoBootstrap)throw new jt(-403,!1);i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new jt(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const i=this._injector.get(fm,null);i&&(i.forEach(a=>a()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(Cs))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),To=null;const pm=new _t("AllowMultipleToken");function Wy(e){if(To&&!To.get(pm,!1))throw new jt(400,!1);Py(),To=e;const t=e.get(mm);return Zy(e),t}function Gy(e,t,i=[]){const a=`Platform: ${t}`,p=new _t(a);return(E=[])=>{let N=Uu();if(!N||N.injector.get(pm,!1)){const V=[...i,...E,{provide:p,useValue:!0}];e?e(V):Wy(Ky(V,a))}return Yy()}}function Ky(e=[],t){return Cs.create({name:t,providers:[{provide:cd,useValue:"platform"},{provide:fm,useValue:new Set([()=>To=null])},...e]})}function Yy(e){const t=Uu();if(!t)throw new jt(401,!1);return t}function Uu(){return To?.get(mm)??null}function _S(){Uu()?.destroy()}function Zy(e){e.get(up,null)?.forEach(i=>i())}function bS(){return!1}function yS(){}function CS(e){const t=_p(e);if(!t)throw Qy(e);return new Iu(t)}function wS(e){const t=_p(e);if(!t)throw Qy(e);return t}function Qy(e){return new Error(`No module with ID ${e} loaded`)}class Xy extends hh{}class xS extends Xy{}class ES{constructor(t,i){this.name=t,this.callback=i}}function MS(e){return e.map(t=>t.nativeElement)}class gm{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new oc(t):null}get injector(){return _b(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Qf(t)||pb(t))}get context(){return Qf(this.nativeNode)||mb(this.nativeNode)}get listeners(){return bb(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function ZD(e){const t=Qr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function FC(e,t){const i=e[yn].data[t];if(i&&i.localNames){const a={};let p=i.index+1;for(let E=0;E1){let Le=X[1];for(let et=1;ett[E]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(E.name===t){const N=E.callback;N.call(a,i),p.push(N)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(E=>{if(-1!==E.toString().indexOf("__ngUnwrap__")){const N=E("__ngUnwrap__");return-1===p.indexOf(N)&&N.call(a,i)}})}}function IS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Jy(e,t,i,a){const p=Qr(e.nativeNode),E=p?p.lView:null;null!==E?ea(E[yn].data[p.nodeIndex],E,t,i,a,e.nativeNode):vm(e.nativeNode,t,i,a)}function ea(e,t,i,a,p,E){const N=function al(e,t){const i=null===e?-1:e.index;return-1!==i?xi(t[i]):null}(e,t);if(11&e.type){if(_m(N,i,a,p,E),Zr(e)){const X=xr(e.index,t);X&&X[yn].firstChild&&ea(X[yn].firstChild,X,i,a,p,E)}else e.child&&ea(e.child,t,i,a,p,E),N&&vm(N,i,a,p);const V=t[e.index];ir(V)&&qy(V,i,a,p,E)}else if(4&e.type){const V=t[e.index];_m(V[nr],i,a,p,E),qy(V,i,a,p,E)}else if(16&e.type){const V=t[Oi],fe=V[je].projection[e.projection];if(Array.isArray(fe))for(let Le of fe)_m(Le,i,a,p,E);else if(fe){const Le=V[we];ea(Le[yn].data[fe.index],Le,i,a,p,E)}}else e.child&&ea(e.child,t,i,a,p,E);if(E!==N){const V=2&e.flags?e.projectionNext:e.next;V&&ea(V,t,i,a,p,E)}}function qy(e,t,i,a,p){for(let E=fi;E{class e{constructor(i){}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(rl))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=pn({})}return e})();function VS(e){}function WS(e){try{const{rootComponent:t,appProviders:i,platformProviders:a}=e,p=function vS(e=[]){if(To)return To;const t=Ky(e);return To=t,Py(),Zy(t),t}(a),E=[jy(),...i||[]],V=new lb({providers:E,parent:p,debugName:"",runEnvironmentInitializers:!1}).injector,X=V.get(br);return X.run(()=>{V.resolveInjectorInitializers();const fe=V.get(Mo,null);let Le;X.runOutsideAngular(()=>{Le=X.onError.subscribe({next:Rt=>{fe.handleError(Rt)}})});const et=()=>V.destroy(),Mt=p.get(fm);return Mt.add(et),V.onDestroy(()=>{Le.unsubscribe(),Mt.delete(et)}),Fy(fe,X,()=>{const Rt=V.get(Lu);return Rt.runInitializers(),Rt.donePromise.then(()=>{uf(V.get(Fu,Xo)||Xo);const mn=V.get(rl);return void 0!==t&&mn.bootstrap(t),mn})})})}catch(t){return Promise.reject(t)}}function Mm(e,t){const i=e[yn];for(let a=Hn;a0&&fe===a){const Le=i[i.length-1];Le[zc]??=1,Le[zc]++}else a=fe,i.push(X)}return i}function ju(e,t,i){const a=t.index-Hn;e[Wd]??={},e[Wd][a]=tM(t,i)}function g1(e,t){const i=t.index-Hn;e[Wc]??=[],e[Wc].includes(i)||e[Wc].push(i)}function _1(e,t){const i={},a=e[yn];for(let p=Hn;p{let e=!0;return xo()&&(e=!!Vn(Sl,{optional:!0})?.get(Gd,null)),e&&Do("NgHydration"),e}},{provide:jo,useValue:()=>{xo()&&Vn(Ll)&&(function rT(){const e=wo();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===g0){t=i;break}if(!t)throw new jt(-507,!1)}(),function tT(){v1||(v1=!0,function Iw(){_0=Dw}(),function FM(){lv=NM}(),function BD(){ib=UD}(),function $M(){cv=BM}(),function pM(){__=mM}(),function hM(){m_=dM,Gh=uM}(),function rM(){o_=iM}(),function ux(){G0=cx}())}())},multi:!0},{provide:F0,useFactory:()=>xo()&&Vn(Ll)},{provide:hm,useFactory:()=>{if(xo()&&Vn(Ll)){const e=Vn(rl);return Vn(Cs),()=>{(function nT(e,t){return $y(e)})(e).then(()=>{br.assertInAngularZone(),function KE(e){const t=e._views;for(const i of t){const a=v0(i);null!==a&&null!==a[Bi]&&(Xi(a)?ou(a):(ou(a[Bi]),r_(a)))}}(e)})}}return()=>{}},multi:!0}])}function sT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function oT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function aT(e){return Mr().compileDirectiveDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function lT(e){yb(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function cT(e){return Mr().compileComponentDeclaration(Xr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function uT(e){return Mr(function dT(e){switch(e){case Vo.Directive:return"directive";case Vo.Component:return"component";case Vo.Injectable:return"injectable";case Vo.Pipe:return"pipe";case Vo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function hT(e){return Mr().compileInjectableDeclaration(Xr,`ng:///${e.type.name}/\u0275prov.js`,e)}function fT(e){return Mr().compileInjectorDeclaration(Xr,`ng:///${e.type.name}/\u0275inj.js`,e)}function mT(e){return Mr().compileNgModuleDeclaration(Xr,`ng:///${e.type.name}/\u0275mod.js`,e)}function pT(e){return Mr().compilePipeDeclaration(Xr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function gT(e,t){const i=ti(e),a=t.elementInjector||Ec();return new Pa(i).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}function _T(e){const t=ti(e);if(!t)return null;const i=new Pa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function vT(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AbstractControl:()=>bt,AbstractControlDirective:()=>Te,AbstractFormGroupDirective:()=>On,COMPOSITION_BUFFER_MODE:()=>c,CheckboxControlValueAccessor:()=>o,CheckboxRequiredValidator:()=>ai,ControlContainer:()=>qe,DefaultValueAccessor:()=>d,EmailValidator:()=>Vi,FormArray:()=>Ri,FormArrayName:()=>Sr,FormBuilder:()=>$r,FormControl:()=>Qe,FormControlDirective:()=>Mi,FormControlName:()=>Cr,FormGroup:()=>_e,FormGroupDirective:()=>Ui,FormGroupName:()=>pr,FormRecord:()=>Se,FormsModule:()=>Bi,MaxLengthValidator:()=>ji,MaxValidator:()=>Gt,MinLengthValidator:()=>Kn,MinValidator:()=>vn,NG_ASYNC_VALIDATORS:()=>x,NG_VALIDATORS:()=>C,NG_VALUE_ACCESSOR:()=>m,NgControl:()=>Ee,NgControlStatus:()=>Ae,NgControlStatusGroup:()=>q,NgForm:()=>Y,NgModel:()=>fr,NgModelGroup:()=>ki,NgSelectOption:()=>Fr,NonNullableFormBuilder:()=>es,NumberValueAccessor:()=>qn,PatternValidator:()=>gr,RadioControlValueAccessor:()=>er,RangeValueAccessor:()=>wn,ReactiveFormsModule:()=>yn,RequiredValidator:()=>Gn,SelectControlValueAccessor:()=>wr,SelectMultipleControlValueAccessor:()=>Ur,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>Zs,UntypedFormControl:()=>_t,UntypedFormGroup:()=>z,VERSION:()=>uo,Validators:()=>T,isFormArray:()=>Qi,isFormControl:()=>hn,isFormGroup:()=>oe,isFormRecord:()=>at,\u0275InternalFormsSharedModule:()=>wi,\u0275NgNoValidate:()=>Tn,\u0275NgSelectMultipleOption:()=>Dt});var n=_(9212),f=_(6814),D=_(2459),y=_(9315),u=_(7398);let v=(()=>{class he{constructor(ae,je){this._renderer=ae,this._elementRef=je,this.onChange=xt=>{},this.onTouched=()=>{}}setProperty(ae,je){this._renderer.setProperty(this._elementRef.nativeElement,ae,je)}registerOnTouched(ae){this.onTouched=ae}registerOnChange(ae){this.onChange=ae}setDisabledState(ae){this.setProperty("disabled",ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he})}return he})(),s=(()=>{class he extends v{static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const m=new n.InjectionToken("NgValueAccessor"),h={provide:m,useExisting:(0,n.forwardRef)(()=>o),multi:!0};let o=(()=>{class he extends s{writeValue(ae){this.setProperty("checked",ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.checked)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const l={provide:m,useExisting:(0,n.forwardRef)(()=>d),multi:!0},c=new n.InjectionToken("CompositionEventMode");let d=(()=>{class he extends v{constructor(ae,je,xt){super(ae,je),this._compositionMode=xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const he=(0,f.\u0275getDOM)()?(0,f.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(he.toLowerCase())}())}writeValue(ae){this.setProperty("value",ae??"")}_handleInput(ae){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ae)}_compositionStart(){this._composing=!0}_compositionEnd(ae){this._composing=!1,this._compositionMode&&this.onChange(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt._handleInput(Sn.target.value)})("blur",function(){return xt.onTouched()})("compositionstart",function(){return xt._compositionStart()})("compositionend",function(Sn){return xt._compositionEnd(Sn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([l]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function g(he){return null==he||("string"==typeof he||Array.isArray(he))&&0===he.length}function b(he){return null!=he&&"number"==typeof he.length}const C=new n.InjectionToken("NgValidators"),x=new n.InjectionToken("NgAsyncValidators"),w=/^(?=.{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(we){return S(we)}static max(we){return M(we)}static required(we){return k(we)}static requiredTrue(we){return I(we)}static email(we){return P(we)}static minLength(we){return A(we)}static maxLength(we){return L(we)}static pattern(we){return F(we)}static nullValidator(we){return null}static compose(we){return $(we)}static composeAsync(we){return H(we)}}function S(he){return we=>{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae>he?{max:{max:he,actual:we.value}}:null}}function k(he){return g(he.value)?{required:!0}:null}function I(he){return!0===he.value?null:{required:!0}}function P(he){return g(he.value)||w.test(he.value)?null:{email:!0}}function A(he){return we=>g(we.value)||!b(we.value)?null:we.value.lengthb(we.value)&&we.value.length>he?{maxlength:{requiredLength:he,actualLength:we.value.length}}:null}function F(he){if(!he)return R;let we,ae;return"string"==typeof he?(ae="","^"!==he.charAt(0)&&(ae+="^"),ae+=he,"$"!==he.charAt(he.length-1)&&(ae+="$"),we=new RegExp(ae)):(ae=he.toString(),we=he),je=>{if(g(je.value))return null;const xt=je.value;return we.test(xt)?null:{pattern:{requiredPattern:ae,actualValue:xt}}}}function R(he){return null}function U(he){return null!=he}function W(he){return(0,n.\u0275isPromise)(he)?(0,D.D)(he):he}function ne(he){let we={};return he.forEach(ae=>{we=null!=ae?{...we,...ae}:we}),0===Object.keys(we).length?null:we}function ee(he,we){return we.map(ae=>ae(he))}function B(he){return he.map(we=>function j(he){return!he.validate}(we)?we:ae=>we.validate(ae))}function $(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){return ne(ee(ae,we))}}function Z(he){return null!=he?$(B(he)):null}function H(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){const je=ee(ae,we).map(W);return(0,y.D)(je).pipe((0,u.U)(ne))}}function te(he){return null!=he?H(B(he)):null}function ue(he,we){return null===he?[we]:Array.isArray(he)?[...he,we]:[he,we]}function ye(he){return he._rawValidators}function Ge(he){return he._rawAsyncValidators}function $e(he){return he?Array.isArray(he)?he:[he]:[]}function Ye(he,we){return Array.isArray(he)?he.includes(we):he===we}function Ze(he,we){const ae=$e(we);return $e(he).forEach(xt=>{Ye(ae,xt)||ae.push(xt)}),ae}function Et(he,we){return $e(we).filter(ae=>!Ye(he,ae))}class Te{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(we){this._rawValidators=we||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(we){this._rawAsyncValidators=we||[],this._composedAsyncValidatorFn=te(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(we){this._onDestroyCallbacks.push(we)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(we=>we()),this._onDestroyCallbacks=[]}reset(we=void 0){this.control&&this.control.reset(we)}hasError(we,ae){return!!this.control&&this.control.hasError(we,ae)}getError(we,ae){return this.control?this.control.getError(we,ae):null}}class qe extends Te{get formDirective(){return null}get path(){return null}}class Ee extends Te{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{constructor(we){this._cd=we}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 Ae=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(Ee,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})(),q=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)("ng-submitted",xt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ft="VALID",De="INVALID",Ve="PENDING",Xe="DISABLED";function St(he){return(Ct(he)?he.validators:he)||null}function ut(he,we){return(Ct(we)?we.asyncValidators:he)||null}function Ct(he){return null!=he&&!Array.isArray(he)&&"object"==typeof he}function Pt(he,we,ae){const je=he.controls;if(!(we?Object.keys(je):je).length)throw new n.\u0275RuntimeError(1e3,"");if(!je[ae])throw new n.\u0275RuntimeError(1001,"")}function Nt(he,we,ae){he._forEachChild((je,xt)=>{if(void 0===ae[xt])throw new n.\u0275RuntimeError(1002,"")})}class bt{constructor(we,ae){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(we),this._assignAsyncValidators(ae)}get validator(){return this._composedValidatorFn}set validator(we){this._rawValidators=this._composedValidatorFn=we}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(we){this._rawAsyncValidators=this._composedAsyncValidatorFn=we}get parent(){return this._parent}get valid(){return this.status===Ft}get invalid(){return this.status===De}get pending(){return this.status==Ve}get disabled(){return this.status===Xe}get enabled(){return this.status!==Xe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(we){this._assignValidators(we)}setAsyncValidators(we){this._assignAsyncValidators(we)}addValidators(we){this.setValidators(Ze(we,this._rawValidators))}addAsyncValidators(we){this.setAsyncValidators(Ze(we,this._rawAsyncValidators))}removeValidators(we){this.setValidators(Et(we,this._rawValidators))}removeAsyncValidators(we){this.setAsyncValidators(Et(we,this._rawAsyncValidators))}hasValidator(we){return Ye(this._rawValidators,we)}hasAsyncValidator(we){return Ye(this._rawAsyncValidators,we)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(we={}){this.touched=!0,this._parent&&!we.onlySelf&&this._parent.markAsTouched(we)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(we=>we.markAllAsTouched())}markAsUntouched(we={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ae=>{ae.markAsUntouched({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}markAsDirty(we={}){this.pristine=!1,this._parent&&!we.onlySelf&&this._parent.markAsDirty(we)}markAsPristine(we={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ae=>{ae.markAsPristine({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}markAsPending(we={}){this.status=Ve,!1!==we.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!we.onlySelf&&this._parent.markAsPending(we)}disable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Xe,this.errors=null,this._forEachChild(je=>{je.disable({...we,onlySelf:!0})}),this._updateValue(),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!0))}enable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Ft,this._forEachChild(je=>{je.enable({...we,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent}),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!1))}_updateAncestors(we){this._parent&&!we.onlySelf&&(this._parent.updateValueAndValidity(we),we.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(we){this._parent=we}getRawValue(){return this.value}updateValueAndValidity(we={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ft||this.status===Ve)&&this._runAsyncValidator(we.emitEvent)),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!we.onlySelf&&this._parent.updateValueAndValidity(we)}_updateTreeValidity(we={emitEvent:!0}){this._forEachChild(ae=>ae._updateTreeValidity(we)),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xe:Ft}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(we){if(this.asyncValidator){this.status=Ve,this._hasOwnPendingAsyncValidator=!0;const ae=W(this.asyncValidator(this));this._asyncValidationSubscription=ae.subscribe(je=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(je,{emitEvent:we})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(we,ae={}){this.errors=we,this._updateControlsErrors(!1!==ae.emitEvent)}get(we){let ae=we;return null==ae||(Array.isArray(ae)||(ae=ae.split(".")),0===ae.length)?null:ae.reduce((je,xt)=>je&&je._find(xt),this)}getError(we,ae){const je=ae?this.get(ae):this;return je&&je.errors?je.errors[we]:null}hasError(we,ae){return!!this.getError(we,ae)}get root(){let we=this;for(;we._parent;)we=we._parent;return we}_updateControlsErrors(we){this.status=this._calculateStatus(),we&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(we)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Xe:this.errors?De:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ve)?Ve:this._anyControlsHaveStatus(De)?De:Ft}_anyControlsHaveStatus(we){return this._anyControls(ae=>ae.status===we)}_anyControlsDirty(){return this._anyControls(we=>we.dirty)}_anyControlsTouched(){return this._anyControls(we=>we.touched)}_updatePristine(we={}){this.pristine=!this._anyControlsDirty(),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}_updateTouched(we={}){this.touched=this._anyControlsTouched(),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}_registerOnCollectionChange(we){this._onCollectionChange=we}_setUpdateStrategy(we){Ct(we)&&null!=we.updateOn&&(this._updateOn=we.updateOn)}_parentMarkedDirty(we){return!we&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(we){return null}_assignValidators(we){this._rawValidators=Array.isArray(we)?we.slice():we,this._composedValidatorFn=function tt(he){return Array.isArray(he)?Z(he):he||null}(this._rawValidators)}_assignAsyncValidators(we){this._rawAsyncValidators=Array.isArray(we)?we.slice():we,this._composedAsyncValidatorFn=function Oe(he){return Array.isArray(he)?te(he):he||null}(this._rawAsyncValidators)}}class _e extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(we,ae){return this.controls[we]?this.controls[we]:(this.controls[we]=ae,ae.setParent(this),ae._registerOnCollectionChange(this._onCollectionChange),ae)}addControl(we,ae,je={}){this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}removeControl(we,ae={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}setControl(we,ae,je={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],ae&&this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}contains(we){return this.controls.hasOwnProperty(we)&&this.controls[we].enabled}setValue(we,ae={}){Nt(this,0,we),Object.keys(we).forEach(je=>{Pt(this,!0,je),this.controls[je].setValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(Object.keys(we).forEach(je=>{const xt=this.controls[je];xt&&xt.patchValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we={},ae={}){this._forEachChild((je,xt)=>{je.reset(we?we[xt]:null,{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this._reduceChildren({},(we,ae,je)=>(we[je]=ae.getRawValue(),we))}_syncPendingControls(){let we=this._reduceChildren(!1,(ae,je)=>!!je._syncPendingControls()||ae);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){Object.keys(this.controls).forEach(ae=>{const je=this.controls[ae];je&&we(je,ae)})}_setUpControls(){this._forEachChild(we=>{we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(we){for(const[ae,je]of Object.entries(this.controls))if(this.contains(ae)&&we(je))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ae,je,xt)=>((je.enabled||this.disabled)&&(ae[xt]=je.value),ae))}_reduceChildren(we,ae){let je=we;return this._forEachChild((xt,gn)=>{je=ae(je,xt,gn)}),je}_allControlsDisabled(){for(const we of Object.keys(this.controls))if(this.controls[we].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(we){return this.controls.hasOwnProperty(we)?this.controls[we]:null}}const z=_e,oe=he=>he instanceof _e;class Se extends _e{}const at=he=>he instanceof Se,nt=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>mt}),mt="always";function He(he,we){return[...we.path,he]}function rt(he,we,ae=mt){Nn(he,we),we.valueAccessor.writeValue(he.value),(he.disabled||"always"===ae)&&we.valueAccessor.setDisabledState?.(he.disabled),function _i(he,we){we.valueAccessor.registerOnChange(ae=>{he._pendingValue=ae,he._pendingChange=!0,he._pendingDirty=!0,"change"===he.updateOn&&Yn(he,we)})}(he,we),function st(he,we){const ae=(je,xt)=>{we.valueAccessor.writeValue(je),xt&&we.viewToModelUpdate(je)};he.registerOnChange(ae),we._registerOnDestroy(()=>{he._unregisterOnChange(ae)})}(he,we),function Hi(he,we){we.valueAccessor.registerOnTouched(()=>{he._pendingTouched=!0,"blur"===he.updateOn&&he._pendingChange&&Yn(he,we),"submit"!==he.updateOn&&he.markAsTouched()})}(he,we),function tn(he,we){if(we.valueAccessor.setDisabledState){const ae=je=>{we.valueAccessor.setDisabledState(je)};he.registerOnDisabledChange(ae),we._registerOnDestroy(()=>{he._unregisterOnDisabledChange(ae)})}}(he,we)}function Lt(he,we,ae=!0){const je=()=>{};we.valueAccessor&&(we.valueAccessor.registerOnChange(je),we.valueAccessor.registerOnTouched(je)),ui(he,we),he&&(we._invokeOnDestroyCallbacks(),he._registerOnCollectionChange(()=>{}))}function Xt(he,we){he.forEach(ae=>{ae.registerOnValidatorChange&&ae.registerOnValidatorChange(we)})}function Nn(he,we){const ae=ye(he);null!==we.validator?he.setValidators(ue(ae,we.validator)):"function"==typeof ae&&he.setValidators([ae]);const je=Ge(he);null!==we.asyncValidator?he.setAsyncValidators(ue(je,we.asyncValidator)):"function"==typeof je&&he.setAsyncValidators([je]);const xt=()=>he.updateValueAndValidity();Xt(we._rawValidators,xt),Xt(we._rawAsyncValidators,xt)}function ui(he,we){let ae=!1;if(null!==he){if(null!==we.validator){const xt=ye(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.validator);gn.length!==xt.length&&(ae=!0,he.setValidators(gn))}}if(null!==we.asyncValidator){const xt=Ge(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.asyncValidator);gn.length!==xt.length&&(ae=!0,he.setAsyncValidators(gn))}}}const je=()=>{};return Xt(we._rawValidators,je),Xt(we._rawAsyncValidators,je),ae}function Yn(he,we){he._pendingDirty&&he.markAsDirty(),he.setValue(he._pendingValue,{emitModelToViewChange:!1}),we.viewToModelUpdate(he._pendingValue),he._pendingChange=!1}function pn(he,we){Nn(he,we)}function ct(he,we){if(!he.hasOwnProperty("model"))return!1;const ae=he.model;return!!ae.isFirstChange()||!Object.is(we,ae.currentValue)}function wt(he,we){he._syncPendingControls(),we.forEach(ae=>{const je=ae.control;"submit"===je.updateOn&&je._pendingChange&&(ae.viewToModelUpdate(je._pendingValue),je._pendingChange=!1)})}function vt(he,we){if(!we)return null;let ae,je,xt;return Array.isArray(we),we.forEach(gn=>{gn.constructor===d?ae=gn:function Ut(he){return Object.getPrototypeOf(he.constructor)===s}(gn)?je=gn:xt=gn}),xt||je||ae||null}const ze={provide:qe,useExisting:(0,n.forwardRef)(()=>Y)},en=(()=>Promise.resolve())();let Y=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new _e({},Z(ae),te(je))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ae){en.then(()=>{const je=this._findContainer(ae.path);ae.control=je.registerControl(ae.name,ae.control),rt(ae.control,ae,this.callSetDisabledState),ae.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ae)})}getControl(ae){return this.form.get(ae.path)}removeControl(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name),this._directives.delete(ae)})}addFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path),xt=new _e({});pn(xt,ae),je.registerControl(ae.name,xt),xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name)})}getFormGroup(ae){return this.form.get(ae.path)}updateModel(ae,je){en.then(()=>{this.form.get(ae.path).setValue(je)})}setValue(ae){this.control.setValue(ae)}onSubmit(ae){return this.submitted=!0,wt(this.form,this._directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ae){return ae.pop(),ae.length?this.form.get(ae):this.form}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ze]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function pe(he,we){const ae=he.indexOf(we);ae>-1&&he.splice(ae,1)}function de(he){return"object"==typeof he&&null!==he&&2===Object.keys(he).length&&"value"in he&&"disabled"in he}const Qe=class extends bt{constructor(we=null,ae,je){super(St(ae),ut(je,ae)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(we),this._setUpdateStrategy(ae),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ct(ae)&&(ae.nonNullable||ae.initialValueIsDefault)&&(this.defaultValue=de(we)?we.value:we)}setValue(we,ae={}){this.value=this._pendingValue=we,this._onChange.length&&!1!==ae.emitModelToViewChange&&this._onChange.forEach(je=>je(this.value,!1!==ae.emitViewToModelChange)),this.updateValueAndValidity(ae)}patchValue(we,ae={}){this.setValue(we,ae)}reset(we=this.defaultValue,ae={}){this._applyFormState(we),this.markAsPristine(ae),this.markAsUntouched(ae),this.setValue(this.value,ae),this._pendingChange=!1}_updateValue(){}_anyControls(we){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(we){this._onChange.push(we)}_unregisterOnChange(we){pe(this._onChange,we)}registerOnDisabledChange(we){this._onDisabledChange.push(we)}_unregisterOnDisabledChange(we){pe(this._onDisabledChange,we)}_forEachChild(we){}_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(we){de(we)?(this.value=this._pendingValue=we.value,we.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=we}},_t=Qe,hn=he=>he instanceof Qe;let On=(()=>{class he extends qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return He(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const qi={provide:qe,useExisting:(0,n.forwardRef)(()=>ki)};let ki=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name="",this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,5),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([qi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const zi={provide:Ee,useExisting:(0,n.forwardRef)(()=>fr)},Gi=(()=>Promise.resolve())();let fr=(()=>{class he extends Ee{constructor(ae,je,xt,gn,Sn,Di){super(),this._changeDetectorRef=Sn,this.callSetDisabledState=Di,this.control=new Qe,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}ngOnChanges(ae){if(this._checkForErrors(),!this._registered||"name"in ae){if(this._registered&&(this._checkName(),this.formDirective)){const je=ae.name.previousValue;this.formDirective.removeControl({name:je,path:this._getPath(je)})}this._setUpControl()}"isDisabled"in ae&&this._updateDisabled(ae),ct(ae,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(ae){this.viewModel=ae,this.update.emit(ae)}_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.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ae){Gi.then(()=>{this.control.setValue(ae,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ae){const je=ae.isDisabled.currentValue,xt=0!==je&&(0,n.booleanAttribute)(je);Gi.then(()=>{xt&&!this.control.disabled?this.control.disable():!xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ae){return this._parent?He(ae,this._parent):[ae]}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,9),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([zi]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})(),Tn=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return he})();const Ki={provide:m,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let qn=(()=>{class he extends s{writeValue(ae){this.setProperty("value",ae??"")}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Ki]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Pn={provide:m,useExisting:(0,n.forwardRef)(()=>er),multi:!0};let Fi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return he})(),mr=(()=>{class he{constructor(){this._accessors=[]}add(ae,je){this._accessors.push([ae,je])}remove(ae){for(let je=this._accessors.length-1;je>=0;--je)if(this._accessors[je][1]===ae)return void this._accessors.splice(je,1)}select(ae){this._accessors.forEach(je=>{this._isSameGroup(je,ae)&&je[1]!==ae&&je[1].fireUncheck(ae.value)})}_isSameGroup(ae,je){return!!ae[0].control&&ae[0]._parent===je._control._parent&&ae[1].name===je.name}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:Fi})}return he})(),er=(()=>{class he extends s{constructor(ae,je,xt,gn){super(ae,je),this._registry=xt,this._injector=gn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(nt,{optional:!0})??mt}ngOnInit(){this._control=this._injector.get(Ee),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ae){this._state=ae===this.value,this.setProperty("checked",this._state)}registerOnChange(ae){this._fn=ae,this.onChange=()=>{ae(this.value),this._registry.select(this)}}setDisabledState(ae){(this.setDisabledStateFired||ae||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ae),this.setDisabledStateFired=!0}fireUncheck(ae){this.writeValue(ae)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mr),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(){return xt.onChange()})("blur",function(){return xt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Pn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const _n={provide:m,useExisting:(0,n.forwardRef)(()=>wn),multi:!0};let wn=(()=>{class he extends s{writeValue(ae){this.setProperty("value",parseFloat(ae))}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Fn=new n.InjectionToken("NgModelWithFormControlWarning"),Ln={provide:Ee,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=gn,this.callSetDisabledState=Sn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ae),this._setAsyncValidators(je),this.valueAccessor=vt(0,xt)}ngOnChanges(ae){if(this._isControlChanged(ae)){const je=ae.form.previousValue;je&&Lt(je,this,!1),rt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ct(ae,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}_isControlChanged(ae){return ae.hasOwnProperty("form")}static#t=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8),n.\u0275\u0275directiveInject(nt,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ln]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Vn={provide:qe,useExisting:(0,n.forwardRef)(()=>Ui)};let Ui=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ae),this._setAsyncValidators(je)}ngOnChanges(ae){this._checkFormPresent(),ae.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ui(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ae){const je=this.form.get(ae.path);return rt(je,ae,this.callSetDisabledState),je.updateValueAndValidity({emitEvent:!1}),this.directives.push(ae),je}getControl(ae){return this.form.get(ae.path)}removeControl(ae){Lt(ae.control||null,ae,!1),function Ht(he,we){const ae=he.indexOf(we);ae>-1&&he.splice(ae,1)}(this.directives,ae)}addFormGroup(ae){this._setUpFormContainer(ae)}removeFormGroup(ae){this._cleanUpFormContainer(ae)}getFormGroup(ae){return this.form.get(ae.path)}addFormArray(ae){this._setUpFormContainer(ae)}removeFormArray(ae){this._cleanUpFormContainer(ae)}getFormArray(ae){return this.form.get(ae.path)}updateModel(ae,je){this.form.get(ae.path).setValue(je)}onSubmit(ae){return this.submitted=!0,wt(this.form,this.directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_updateDomValue(){this.directives.forEach(ae=>{const je=ae.control,xt=this.form.get(ae.path);je!==xt&&(Lt(je||null,ae),hn(xt)&&(rt(xt,ae,this.callSetDisabledState),ae.control=xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ae){const je=this.form.get(ae.path);pn(je,ae),je.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ae){if(this.form){const je=this.form.get(ae.path);je&&function Ue(he,we){return ui(he,we)}(je,ae)&&je.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nn(this.form,this),this._oldForm&&ui(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroup",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Vn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const sr={provide:qe,useExisting:(0,n.forwardRef)(()=>pr)};let pr=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([sr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Gr={provide:qe,useExisting:(0,n.forwardRef)(()=>Sr)};let Sr=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return He(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Gr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function Lr(he){return!(he instanceof pr||he instanceof Ui||he instanceof Sr)}const tr={provide:Ee,useExisting:(0,n.forwardRef)(()=>Cr)};let Cr=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=Sn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}ngOnChanges(ae){this._added||this._setUpControl(),ct(ae,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}get path(){return He(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}static#t=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Zi={provide:m,useExisting:(0,n.forwardRef)(()=>wr),multi:!0};function or(he,we){return null==he?`${we}`:(we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let wr=(()=>{class he extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){this.value=ae;const xt=or(this._getOptionId(ae),ae);this.setProperty("value",xt)}registerOnChange(ae){this.onChange=je=>{this.value=this._getOptionValue(je),ae(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ae){for(const je of this._optionMap.keys())if(this._compareWith(this._optionMap.get(je),ae))return je;return null}_getOptionValue(ae){const je=function oi(he){return he.split(":")[0]}(ae);return this._optionMap.has(je)?this._optionMap.get(je):ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Fr=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption())}set ngValue(ae){null!=this._select&&(this._select._optionMap.set(this.id,ae),this._setElementValue(or(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._setElementValue(ae),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(wr,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();const ps={provide:m,useExisting:(0,n.forwardRef)(()=>Ur),multi:!0};function Jr(he,we){return null==he?`${we}`:("string"==typeof we&&(we=`'${we}'`),we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let Ur=(()=>{class he extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){let je;if(this.value=ae,Array.isArray(ae)){const xt=ae.map(gn=>this._getOptionId(gn));je=(gn,Sn)=>{gn._setSelected(xt.indexOf(Sn.toString())>-1)}}else je=(xt,gn)=>{xt._setSelected(!1)};this._optionMap.forEach(je)}registerOnChange(ae){this.onChange=je=>{const xt=[],gn=je.selectedOptions;if(void 0!==gn){const Sn=gn;for(let Di=0;Di{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ps]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Dt=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ae){null!=this._select&&(this._value=ae,this._setElementValue(Jr(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._select?(this._value=ae,this._setElementValue(Jr(this.id,ae)),this._select.writeValue(this._select.value)):this._setElementValue(ae)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}_setSelected(ae){this._renderer.setProperty(this._element.nativeElement,"selected",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ur,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();function gt(he){return"number"==typeof he?he:parseInt(he,10)}function Tt(he){return"number"==typeof he?he:parseFloat(he)}let It=(()=>{class he{constructor(){this._validator=R}ngOnChanges(ae){if(this.inputName in ae){const je=this.normalizeInput(ae[this.inputName].currentValue);this._enabled=this.enabled(je),this._validator=this._enabled?this.createValidator(je):R,this._onChange&&this._onChange()}}validate(ae){return this._validator(ae)}registerOnValidatorChange(ae){this._onChange=ae}enabled(ae){return null!=ae}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275NgOnChangesFeature]})}return he})();const $t={provide:C,useExisting:(0,n.forwardRef)(()=>Gt),multi:!0};let Gt=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>M(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("max",xt._enabled?xt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([$t]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const on={provide:C,useExisting:(0,n.forwardRef)(()=>vn),multi:!0};let vn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>S(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("min",xt._enabled?xt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([on]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const bn={provide:C,useExisting:(0,n.forwardRef)(()=>Gn),multi:!0},An={provide:C,useExisting:(0,n.forwardRef)(()=>ai),multi:!0};let Gn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>k}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),ai=(()=>{class he extends Gn{constructor(){super(...arguments),this.createValidator=ae=>I}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([An]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ti={provide:C,useExisting:(0,n.forwardRef)(()=>Vi),multi:!0};let Vi=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>P}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Ti]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const ri={provide:C,useExisting:(0,n.forwardRef)(()=>Kn),multi:!0};let Kn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>A(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("minlength",xt._enabled?xt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([ri]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const li={provide:C,useExisting:(0,n.forwardRef)(()=>ji),multi:!0};let ji=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>L(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("maxlength",xt._enabled?xt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([li]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const lr={provide:C,useExisting:(0,n.forwardRef)(()=>gr),multi:!0};let gr=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ae=>ae,this.createValidator=ae=>F(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("pattern",xt._enabled?xt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),wi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Fi]})}return he})();class Ri extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(we){return this.controls[this._adjustIndex(we)]}push(we,ae={}){this.controls.push(we),this._registerControl(we),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}insert(we,ae,je={}){this.controls.splice(we,0,ae),this._registerControl(ae),this.updateValueAndValidity({emitEvent:je.emitEvent})}removeAt(we,ae={}){let je=this._adjustIndex(we);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),this.updateValueAndValidity({emitEvent:ae.emitEvent})}setControl(we,ae,je={}){let xt=this._adjustIndex(we);xt<0&&(xt=0),this.controls[xt]&&this.controls[xt]._registerOnCollectionChange(()=>{}),this.controls.splice(xt,1),ae&&(this.controls.splice(xt,0,ae),this._registerControl(ae)),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(we,ae={}){Nt(this,0,we),we.forEach((je,xt)=>{Pt(this,!1,xt),this.at(xt).setValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(we.forEach((je,xt)=>{this.at(xt)&&this.at(xt).patchValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we=[],ae={}){this._forEachChild((je,xt)=>{je.reset(we[xt],{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this.controls.map(we=>we.getRawValue())}clear(we={}){this.controls.length<1||(this._forEachChild(ae=>ae._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:we.emitEvent}))}_adjustIndex(we){return we<0?we+this.length:we}_syncPendingControls(){let we=this.controls.reduce((ae,je)=>!!je._syncPendingControls()||ae,!1);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){this.controls.forEach((ae,je)=>{we(ae,je)})}_updateValue(){this.value=this.controls.filter(we=>we.enabled||this.disabled).map(we=>we.value)}_anyControls(we){return this.controls.some(ae=>ae.enabled&&we(ae))}_setUpControls(){this._forEachChild(we=>this._registerControl(we))}_allControlsDisabled(){for(const we of this.controls)if(we.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(we){we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)}_find(we){return this.at(we)??null}}const Br=Ri,Qi=he=>he instanceof Ri;function Es(he){return!!he&&(void 0!==he.asyncValidators||void 0!==he.validators||void 0!==he.updateOn)}let $r=(()=>{class he{constructor(){this.useNonNullable=!1}get nonNullable(){const ae=new he;return ae.useNonNullable=!0,ae}group(ae,je=null){const xt=this._reduceControls(ae);let gn={};return Es(je)?gn=je:null!==je&&(gn.validators=je.validator,gn.asyncValidators=je.asyncValidator),new _e(xt,gn)}record(ae,je=null){const xt=this._reduceControls(ae);return new Se(xt,je)}control(ae,je,xt){let gn={};return this.useNonNullable?(Es(je)?gn=je:(gn.validators=je,gn.asyncValidators=xt),new Qe(ae,{...gn,nonNullable:!0})):new Qe(ae,je,xt)}array(ae,je,xt){const gn=ae.map(Sn=>this._createControl(Sn));return new Ri(gn,je,xt)}_reduceControls(ae){const je={};return Object.keys(ae).forEach(xt=>{je[xt]=this._createControl(ae[xt])}),je}_createControl(ae){return ae instanceof Qe||ae instanceof bt?ae:Array.isArray(ae)?this.control(ae[0],ae.length>1?ae[1]:null,ae.length>2?ae[2]:null):this.control(ae)}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),es=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:()=>(0,n.inject)($r).nonNullable,providedIn:"root"})}return he})(),Zs=(()=>{class he extends $r{group(ae,je=null){return super.group(ae,je)}control(ae,je,xt){return super.control(ae,je,xt)}array(ae,je,xt){return super.array(ae,je,xt)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();const uo=new n.Version("17.0.8");let Bi=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})(),yn=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:Fn,useValue:ae.warnOnNgModelWithFormControl??"always"},{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})()},4630:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>j,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>B,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ye,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ge,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>H,MatAutocomplete:()=>$,MatAutocompleteModule:()=>Ye,MatAutocompleteOrigin:()=>Z,MatAutocompleteSelectedEvent:()=>ee,MatAutocompleteTrigger:()=>$e,getMatAutocompleteMissingPanelError:()=>te});var n=_(9212),f=_(3680),D=_(6814),y=_(6672),u=_(9594),v=_(4191),s=_(2495),m=_(2831),h=_(6825),o=_(7394),l=_(8645),r=_(4911),c=_(3019),d=_(2096),g=_(2438),b=_(6028),C=_(8484),x=_(6223),w=_(4170),T=_(7921),S=_(4664),M=_(8180),k=_(2181),I=_(7398),P=_(9397),A=_(7547),L=_(9388);const F=["panel"];function R(Ze,Et){if(1&Ze){const Te=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275listener("@panelAnimation.done",function(Ee){n.\u0275\u0275restoreView(Te);const Ie=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ie._animationDone.next(Ee))}),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()}if(2&Ze){const Te=Et.id,qe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",qe.id)("ngClass",qe._classList)("@panelAnimation",qe.isOpen?"visible":"hidden"),n.\u0275\u0275attribute("aria-label",qe.ariaLabel||null)("aria-labelledby",qe._getPanelAriaLabelledby(Te))}}const U=["*"],W=(0,h.X$)("panelAnimation",[(0,h.SB)("void, hidden",(0,h.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,h.eR)(":enter, hidden => visible",[(0,h.ru)([(0,h.jt)("0.03s linear",(0,h.oB)({opacity:1})),(0,h.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,h.oB)({transform:"scaleY(1)"}))])]),(0,h.eR)(":leave, visible => hidden",[(0,h.jt)("0.075s linear",(0,h.oB)({opacity:0}))])]);let ne=0;class ee{constructor(Et,Te){this.source=Et,this.option=Te}}const j=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:B});function B(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let $=(()=>{class Ze{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Te){this._color=Te,this._setThemeClasses(this._classList)}set classList(Te){this._classList=Te&&Te.length?(0,s.du)(Te).reduce((qe,Ee)=>(qe[Ee]=!0,qe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Te){this._hideSingleSelectionIndicator=Te,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Te of this.options)Te._changeDetectorRef.markForCheck()}constructor(Te,qe,Ee,Ie){this._changeDetectorRef=Te,this._elementRef=qe,this._defaults=Ee,this._activeOptionChanges=o.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new n.EventEmitter,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+ne++,this.inertGroups=Ie?.SAFARI||!1,this.autoActiveFirstOption=!!Ee.autoActiveFirstOption,this.autoSelectActiveOption=!!Ee.autoSelectActiveOption,this.requireSelection=!!Ee.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new v.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Te=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Te]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Te){this.panel&&(this.panel.nativeElement.scrollTop=Te)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Te){const qe=new ee(this,Te);this.optionSelected.emit(qe)}_getPanelAriaLabelledby(Te){return this.ariaLabel?null:this.ariaLabelledby?(Te?Te+" ":"")+this.ariaLabelledby:Te}_setVisibilityClasses(Te){Te[this._visibleClass]=this.showPanel,Te[this._hiddenClass]=!this.showPanel}_setThemeClasses(Te){Te["mat-primary"]="primary"===this._color,Te["mat-warn"]="warn"===this._color,Te["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(m.t4))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ze,selectors:[["mat-autocomplete"]],contentQueries:function(qe,Ee,Ie){if(1&qe&&(n.\u0275\u0275contentQuery(Ie,f.MatOption,5),n.\u0275\u0275contentQuery(Ie,f.MAT_OPTGROUP,5)),2&qe){let Ce;n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.options=Ce),n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.optionGroups=Ce)}},viewQuery:function(qe,Ee){if(1&qe&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(F,5)),2&qe){let Ie;n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.template=Ie.first),n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.panel=Ie.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",n.booleanAttribute],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",n.booleanAttribute],requireSelection:["requireSelection","requireSelection",n.booleanAttribute],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",n.booleanAttribute]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:f.MAT_OPTION_PARENT_COMPONENT,useExisting:Ze}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:U,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(qe,Ee){1&qe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,R,3,5,"ng-template"))},dependencies:[D.NgClass],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[W]},changeDetection:0})}return Ze})(),Z=(()=>{class Ze{constructor(Te){this.elementRef=Te}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]})}return Ze})();const H={provide:x.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>$e),multi:!0};function te(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}const ue=new n.InjectionToken("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ze=(0,n.inject)(u.aV);return()=>Ze.scrollStrategies.reposition()}});function ye(Ze){return()=>Ze.scrollStrategies.reposition()}const Ge={provide:ue,deps:[u.aV],useFactory:ye};let $e=(()=>{class Ze{constructor(Te,qe,Ee,Ie,Ce,ge,Ae,q,Re,ke,Ke){this._element=Te,this._overlay=qe,this._viewContainerRef=Ee,this._zone=Ie,this._changeDetectorRef=Ce,this._dir=Ae,this._formField=q,this._document=Re,this._viewportRuler=ke,this._defaults=Ke,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=o.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,r.P)(()=>{const me=this.autocomplete?this.autocomplete.options:null;return me?me.changes.pipe((0,T.O)(me),(0,S.w)(()=>(0,c.T)(...me.map(Pe=>Pe.onSelectionChange)))):this._zone.onStable.pipe((0,M.q)(1),(0,S.w)(()=>this.optionSelections))}),this._handlePanelKeydown=me=>{(me.keyCode===b.hY&&!(0,b.Vb)(me)||me.keyCode===b.LH&&(0,b.Vb)(me,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),me.stopPropagation(),me.preventDefault())},this._trackedModal=null,this._scrollStrategy=ge}ngAfterViewInit(){const Te=this._getWindow();typeof Te<"u"&&this._zone.runOutsideAngular(()=>Te.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Te){Te.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Te=this._getWindow();typeof Te<"u"&&Te.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,v.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,c.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,k.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,k.h)(()=>this._overlayAttached)):(0,d.of)()).pipe((0,I.U)(Te=>Te instanceof f.MatOptionSelectionChange?Te:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,c.T)((0,g.R)(this._document,"click"),(0,g.R)(this._document,"auxclick"),(0,g.R)(this._document,"touchend")).pipe((0,k.h)(Te=>{const qe=(0,m.sA)(Te),Ee=this._formField?this._formField._elementRef.nativeElement:null,Ie=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&qe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ee||!Ee.contains(qe))&&(!Ie||!Ie.contains(qe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(qe)}))}writeValue(Te){Promise.resolve(null).then(()=>this._assignOptionValue(Te))}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this._element.nativeElement.disabled=Te}_handleKeydown(Te){const qe=Te.keyCode,Ee=(0,b.Vb)(Te);if(qe===b.hY&&!Ee&&Te.preventDefault(),this.activeOption&&qe===b.K5&&this.panelOpen&&!Ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Te.preventDefault();else if(this.autocomplete){const Ie=this.autocomplete._keyManager.activeItem,Ce=qe===b.LH||qe===b.JH;qe===b.Mf||Ce&&!Ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Te):Ce&&this._canOpen()&&this.openPanel(),(Ce||this.autocomplete._keyManager.activeItem!==Ie)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Te){let qe=Te.target,Ee=qe.value;if("number"===qe.type&&(Ee=""==Ee?null:parseFloat(Ee)),this._previousValue!==Ee){if(this._previousValue=Ee,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Ee),Ee){if(this.panelOpen&&!this.autocomplete.requireSelection){const Ie=this.autocomplete.options?.find(Ce=>Ce.selected);Ie&&Ee!==(this.autocomplete.displayWith?.(Ie)??Ie.value)&&Ie.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);this._canOpen()&&this._document.activeElement===Te.target&&this.openPanel()}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Te=!1){this._formField&&"auto"===this._formField.floatLabel&&(Te?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Te=this._zone.onStable.pipe((0,M.q)(1)),qe=this.autocomplete.options.changes.pipe((0,P.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,A.g)(0));return(0,c.T)(Te,qe).pipe((0,S.w)(()=>(this._zone.run(()=>{const Ee=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ee!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,M.q)(1)).subscribe(Ee=>this._setValueAndClose(Ee))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Te){const qe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Te):Te;null==Te&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(qe??"")}_updateNativeInputValue(Te){this._formField?this._formField._control.value=Te:this._element.nativeElement.value=Te,this._previousValue=Te}_setValueAndClose(Te){const qe=this.autocomplete,Ee=Te?Te.source:this._pendingAutoselectedOption;Ee?(this._clearPreviousSelectedOption(Ee),this._assignOptionValue(Ee.value),this._onChange(Ee.value),qe._emitSelectEvent(Ee),this._element.nativeElement.focus()):qe.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),qe._animationDone?qe._animationDone.pipe((0,M.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Te,qe){this.autocomplete?.options?.forEach(Ee=>{Ee!==Te&&Ee.selected&&Ee.deselect(qe)})}_attachOverlay(){let Te=this._overlayRef;Te?(this._positionStrategy.setOrigin(this._getConnectedElement()),Te.updateSize({width:this._getPanelWidth()})):(this._portal=new C.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Te=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Te,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Te&&Te.updateSize({width:this._getPanelWidth()})})),Te&&!Te.hasAttached()&&(Te.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const qe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&qe!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Te=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Te.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Te.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new u.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Te=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Te),this._positionStrategy=Te,Te}_setStrategyPositions(Te){const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ee=this._aboveClass,Ie=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ee}];let Ce;Ce="above"===this.position?Ie:"below"===this.position?qe:[...qe,...Ie],Te.withPositions(Ce)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Te=this.autocomplete;if(Te.autoActiveFirstOption){let qe=-1;for(let Ee=0;Ee .cdk-overlay-container [aria-modal="true"]');if(!Te)return;const qe=this.autocomplete.id;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",qe),(0,v.Zf)(Te,"aria-owns",qe),this._trackedModal=Te}_clearFromModal(){this._trackedModal&&((0,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(L.Is,8),n.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),n.\u0275\u0275directiveInject(D.DOCUMENT,8),n.\u0275\u0275directiveInject(y.rL),n.\u0275\u0275directiveInject(j,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(qe,Ee){1&qe&&n.\u0275\u0275listener("focusin",function(){return Ee._handleFocus()})("blur",function(){return Ee._onTouched()})("input",function(Ce){return Ee._handleInput(Ce)})("keydown",function(Ce){return Ee._handleKeydown(Ce)})("click",function(){return Ee._handleClick()}),2&qe&&n.\u0275\u0275attribute("autocomplete",Ee.autocompleteAttribute)("role",Ee.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ee.autocompleteDisabled?null:"list")("aria-activedescendant",Ee.panelOpen&&Ee.activeOption?Ee.activeOption.id:null)("aria-expanded",Ee.autocompleteDisabled?null:Ee.panelOpen.toString())("aria-controls",Ee.autocompleteDisabled||!Ee.panelOpen||null==Ee.autocomplete?null:Ee.autocomplete.id)("aria-haspopup",Ee.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",n.booleanAttribute]},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([H]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ze})(),Ye=(()=>{class Ze{static#e=this.\u0275fac=function(qe){return new(qe||Ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ge],imports:[u.U8,f.MatOptionModule,f.MatCommonModule,D.CommonModule,y.ZD,f.MatOptionModule,f.MatCommonModule]})}return Ze})()},2296:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_FAB_DEFAULT_OPTIONS:()=>k,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>I,MatAnchor:()=>M,MatButton:()=>S,MatButtonModule:()=>ne,MatFabAnchor:()=>F,MatFabButton:()=>A,MatIconAnchor:()=>W,MatIconButton:()=>U,MatMiniFabAnchor:()=>R,MatMiniFabButton:()=>L});var n=_(2831),f=_(9212),D=_(4191),y=_(3680);const u=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],h=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",o=["mat-fab",""],l=["mat-mini-fab",""],r='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',c=["mat-icon-button",""],d=["*"],C=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let x=(()=>{class ee{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(B){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,B)}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=B,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(B){this._disabled=B,this._updateRippleDisabled()}constructor(B,$,Z,H){this._elementRef=B,this._platform=$,this._ngZone=Z,this._animationMode=H,this._focusMonitor=(0,f.inject)(D.tE),this._rippleLoader=(0,f.inject)(y.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const te=this._elementRef.nativeElement,ue=te.classList;for(const{attribute:ye,mdcClasses:Ge}of C)te.hasAttribute(ye)&&ue.add(...Ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(B="program",$){B?this._focusMonitor.focusVia(this._elementRef.nativeElement,B,$):this._elementRef.nativeElement.focus($)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",f.booleanAttribute],disabled:["disabled","disabled",f.booleanAttribute]},features:[f.\u0275\u0275InputTransformsFeature]})}return ee})(),T=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._haltDisabledEvents=te=>{this.disabled&&(te.preventDefault(),te.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{tabIndex:["tabIndex","tabIndex",B=>null==B?void 0:(0,f.numberAttribute)(B)]},features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature]})}return ee})(),S=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ee})(),M=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',h],encapsulation:2,changeDetection:0})}return ee})();const k=new f.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent"}}const P=I();let A=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-fab",""]],hostVars:13,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return ee})(),L=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),F=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-fab",""]],hostVars:15,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),R=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-mini-fab",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),U=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:d,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',h],encapsulation:2,changeDetection:0})}return ee})(),W=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-icon-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',h],encapsulation:2,changeDetection:0})}return ee})(),ne=(()=>{class ee{static#e=this.\u0275fac=function($){return new($||ee)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[y.MatCommonModule,y.MatRippleModule,y.MatCommonModule]})}return ee})()},5195:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CARD_CONFIG:()=>h,MatCard:()=>o,MatCardActions:()=>g,MatCardAvatar:()=>k,MatCardContent:()=>c,MatCardFooter:()=>C,MatCardHeader:()=>b,MatCardImage:()=>x,MatCardLgImage:()=>S,MatCardMdImage:()=>T,MatCardModule:()=>P,MatCardSmImage:()=>w,MatCardSubtitle:()=>d,MatCardTitle:()=>l,MatCardTitleGroup:()=>r,MatCardXlImage:()=>M});var n=_(9212),f=_(6814),D=_(3680);const y=["*"],u=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],v=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],s=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=new n.InjectionToken("MAT_CARD_CONFIG");let o=(()=>{class A{constructor(F){this.appearance=F?.appearance||"raised"}static#e=this.\u0275fac=function(R){return new(R||A)(n.\u0275\u0275directiveInject(h,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-outlined","outlined"===U.appearance)("mdc-card--outlined","outlined"===U.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:y,decls:1,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return A})(),l=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return A})(),r=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:v,decls:4,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),c=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return A})(),d=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return A})(),g=(()=>{class A{constructor(){this.align="start"}static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-actions-align-end","end"===U.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return A})(),b=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),C=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]})}return A})(),x=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]})}return A})(),w=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]})}return A})(),T=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"]})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"]})}return A})(),M=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"]})}return A})(),k=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return A})(),P=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:A});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,f.CommonModule,D.MatCommonModule]})}return A})()},5986:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>m,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>d,MatCheckbox:()=>c,MatCheckboxChange:()=>o,MatCheckboxModule:()=>C,MatCheckboxRequiredValidator:()=>g,_MatCheckboxRequiredValidatorModule:()=>b});var n=_(9212),f=_(6223),D=_(3680);const y=["input"],u=["label"],v=["*"],s=new n.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:m});function m(){return{color:"accent",clickAction:"check-indeterminate"}}const h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>c),multi:!0};class o{}let l=0;const r=m();let c=(()=>{class x{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(T){const S=new o;return S.source=this,S.checked=T,S}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(T,S,M,k,I,P){this._elementRef=T,this._changeDetectorRef=S,this._ngZone=M,this._animationMode=I,this._options=P,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new n.EventEmitter,this.indeterminateChange=new n.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||r,this.color=this._options.color||r.color,this.tabIndex=parseInt(k)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++l}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(T){T!=this.checked&&(this._checked=T,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(T){T!==this.disabled&&(this._disabled=T,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(T){const S=T!=this._indeterminate;this._indeterminate=T,S&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(T){this.checked=!!T}registerOnChange(T){this._controlValueAccessorChangeFn=T}registerOnTouched(T){this._onTouched=T}setDisabledState(T){this.disabled=T}_transitionCheckState(T){let S=this._currentCheckState,M=this._getAnimationTargetElement();if(S!==T&&M&&(this._currentAnimationClass&&M.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(S,T),this._currentCheckState=T,this._currentAnimationClass.length>0)){M.classList.add(this._currentAnimationClass);const k=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{M.classList.remove(k)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const T=this._options?.clickAction;this.disabled||"noop"===T?!this.disabled&&"noop"===T&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==T&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(T){T.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(T,S){if("NoopAnimations"===this._animationMode)return"";switch(T){case 0:if(1===S)return this._animationClasses.uncheckedToChecked;if(3==S)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===S?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===S?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===S?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(T){const S=this._inputElement;S&&(S.nativeElement.indeterminate=T)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(T){T.target&&this._labelElement.nativeElement.contains(T.target)&&T.stopPropagation()}static#e=this.\u0275fac=function(S){return new(S||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(s,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["mat-checkbox"]],viewQuery:function(S,M){if(1&S&&(n.\u0275\u0275viewQuery(y,5),n.\u0275\u0275viewQuery(u,5),n.\u0275\u0275viewQuery(D.MatRipple,5)),2&S){let k;n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._inputElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._labelElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M.ripple=k.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(S,M){2&S&&(n.\u0275\u0275hostProperty("id",M.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),n.\u0275\u0275classMap(M.color?"mat-"+M.color:"mat-accent"),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===M._animationMode)("mdc-checkbox--disabled",M.disabled)("mat-mdc-checkbox-disabled",M.disabled)("mat-mdc-checkbox-checked",M.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",n.booleanAttribute],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],tabIndex:["tabIndex","tabIndex",T=>null==T?void 0:(0,n.numberAttribute)(T)],color:"color",checked:["checked","checked",n.booleanAttribute],disabled:["disabled","disabled",n.booleanAttribute],indeterminate:["indeterminate","indeterminate",n.booleanAttribute]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:v,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(S,M){if(1&S&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("click",function(I){return M._preventBubblingFromLabel(I)}),n.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),n.\u0275\u0275listener("click",function(){return M._onTouchTargetClick()}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("blur",function(){return M._onBlur()})("click",function(){return M._onInputClick()})("change",function(I){return M._onInteractionEvent(I)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(6,"div",6),n.\u0275\u0275elementStart(7,"div",7),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",8),n.\u0275\u0275element(9,"path",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(11,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"label",12,13),n.\u0275\u0275projection(14),n.\u0275\u0275elementEnd()()),2&S){const k=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==M.labelPosition),n.\u0275\u0275advance(4),n.\u0275\u0275classProp("mdc-checkbox--selected",M.checked),n.\u0275\u0275property("checked",M.checked)("indeterminate",M.indeterminate)("disabled",M.disabled)("id",M.inputId)("required",M.required)("tabIndex",M.disabled?-1:M.tabIndex),n.\u0275\u0275attribute("aria-label",M.ariaLabel||null)("aria-labelledby",M.ariaLabelledby)("aria-describedby",M.ariaDescribedby)("aria-checked",M.indeterminate?"mixed":null)("name",M.name)("value",M.value),n.\u0275\u0275advance(7),n.\u0275\u0275property("matRippleTrigger",k)("matRippleDisabled",M.disableRipple||M.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",M.inputId)}},dependencies:[D.MatRipple],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return x})();const d={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>g),multi:!0};let g=(()=>{class x extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let T;return function(M){return(T||(T=n.\u0275\u0275getInheritedFactory(x)))(M||x)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([d]),n.\u0275\u0275InheritDefinitionFeature]})}return x})(),b=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return x})(),C=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatRippleModule,b,D.MatCommonModule,b]})}return x})()},3680:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AnimationCurves:()=>S,AnimationDurations:()=>M,DateAdapter:()=>Z,ErrorStateMatcher:()=>Et,MATERIAL_SANITY_CHECKS:()=>I,MAT_DATE_FORMATS:()=>H,MAT_DATE_LOCALE:()=>B,MAT_DATE_LOCALE_FACTORY:()=>$,MAT_NATIVE_DATE_FORMATS:()=>Ge,MAT_OPTGROUP:()=>an,MAT_OPTION_PARENT_COMPONENT:()=>cn,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Be,MatCommonModule:()=>P,MatLine:()=>Te,MatLineModule:()=>Ie,MatNativeDateModule:()=>Ye,MatOptgroup:()=>En,MatOption:()=>Ft,MatOptionModule:()=>Xe,MatOptionSelectionChange:()=>Bt,MatPseudoCheckbox:()=>Yt,MatPseudoCheckboxModule:()=>jt,MatRipple:()=>yt,MatRippleLoader:()=>Nt,MatRippleModule:()=>Ot,NativeDateAdapter:()=>ye,NativeDateModule:()=>$e,RippleRef:()=>Ce,RippleRenderer:()=>Pe,ShowOnDirtyErrorStateMatcher:()=>Ze,VERSION:()=>T,_countGroupLabelsBeforeOption:()=>De,_getOptionScrollPosition:()=>Ve,defaultRippleAnimationConfig:()=>q,mixinColor:()=>U,mixinDisableRipple:()=>W,mixinDisabled:()=>R,mixinErrorState:()=>ee,mixinInitialized:()=>j,mixinTabIndex:()=>ne,setLines:()=>qe});var n=_(9212),f=_(4191),D=_(9388),u=_(6814),v=_(2831),s=_(2495),m=_(5592),h=_(8645),o=_(7921),l=_(6028);const r=["*",[["mat-option"],["ng-container"]]],c=["*","mat-option, ng-container"],d=["text"];function g(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)("state",ce.selected?"checked":"unchecked")}}function b(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)}}function C(bt,_e){if(1&bt&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",ce.group.label,")")}}const x=[[["mat-icon"]],"*"],w=["mat-icon","*"],T=new n.Version("17.0.4");let S=(()=>{class bt{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return bt})(),M=(()=>{class bt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return bt})();const I=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function k(){return!0}});let P=(()=>{class bt{constructor(ce,z,oe){this._sanityChecks=z,this._document=oe,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,v.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(f.qm),n.\u0275\u0275inject(I,8),n.\u0275\u0275inject(u.DOCUMENT))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.vT,D.vT]})}return bt})();function R(bt){return class extends bt{get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disabled=!1}}}function U(bt,_e){return class extends bt{get color(){return this._color}set color(ce){const z=ce||this.defaultColor;z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),z&&this._elementRef.nativeElement.classList.add(`mat-${z}`),this._color=z)}constructor(...ce){super(...ce),this.defaultColor=_e,this.color=_e}}}function W(bt){return class extends bt{get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disableRipple=!1}}}function ne(bt,_e=0){return class extends bt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,s.su)(ce):this.defaultTabIndex}constructor(...ce){super(...ce),this._tabIndex=_e,this.defaultTabIndex=_e}}}function ee(bt){return class extends bt{updateErrorState(){const _e=this.errorState,Se=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Se!==_e&&(this.errorState=Se,this.stateChanges.next())}constructor(..._e){super(..._e),this.errorState=!1}}}function j(bt){return class extends bt{constructor(..._e){super(..._e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(_e){_e.next(),_e.complete()}}}const B=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:$});function $(){return(0,n.inject)(n.LOCALE_ID)}class Z{constructor(){this._localeChanges=new h.x,this.localeChanges=this._localeChanges}getValidDateOrNull(_e){return this.isDateInstance(_e)&&this.isValid(_e)?_e:null}deserialize(_e){return null==_e||this.isDateInstance(_e)&&this.isValid(_e)?_e:this.invalid()}setLocale(_e){this.locale=_e,this._localeChanges.next()}compareDate(_e,ce){return this.getYear(_e)-this.getYear(ce)||this.getMonth(_e)-this.getMonth(ce)||this.getDate(_e)-this.getDate(ce)}sameDate(_e,ce){if(_e&&ce){let z=this.isValid(_e),oe=this.isValid(ce);return z&&oe?!this.compareDate(_e,ce):z==oe}return _e==ce}clampDate(_e,ce,z){return ce&&this.compareDate(_e,ce)<0?ce:z&&this.compareDate(_e,z)>0?z:_e}}const H=new n.InjectionToken("mat-date-formats"),te=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ue(bt,_e){const ce=Array(bt);for(let z=0;z{class bt extends Z{constructor(ce){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,n.inject)(B,{optional:!0}),void 0!==ce&&(this._matDateLocale=ce),super.setLocale(this._matDateLocale)}getYear(ce){return ce.getFullYear()}getMonth(ce){return ce.getMonth()}getDate(ce){return ce.getDate()}getDayOfWeek(ce){return ce.getDay()}getMonthNames(ce){const z=new Intl.DateTimeFormat(this.locale,{month:ce,timeZone:"utc"});return ue(12,oe=>this._format(z,new Date(2017,oe,1)))}getDateNames(){const ce=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ue(31,z=>this._format(ce,new Date(2017,0,z+1)))}getDayOfWeekNames(ce){const z=new Intl.DateTimeFormat(this.locale,{weekday:ce,timeZone:"utc"});return ue(7,oe=>this._format(z,new Date(2017,0,oe+1)))}getYearName(ce){const z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(z,ce)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ce){return this.getDate(this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+1,0))}clone(ce){return new Date(ce.getTime())}createDate(ce,z,oe){let Se=this._createDateWithOverflow(ce,z,oe);return Se.getMonth(),Se}today(){return new Date}parse(ce,z){return"number"==typeof ce?new Date(ce):ce?new Date(Date.parse(ce)):null}format(ce,z){if(!this.isValid(ce))throw Error("NativeDateAdapter: Cannot format invalid date.");const oe=new Intl.DateTimeFormat(this.locale,{...z,timeZone:"utc"});return this._format(oe,ce)}addCalendarYears(ce,z){return this.addCalendarMonths(ce,12*z)}addCalendarMonths(ce,z){let oe=this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+z,this.getDate(ce));return this.getMonth(oe)!=((this.getMonth(ce)+z)%12+12)%12&&(oe=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),0)),oe}addCalendarDays(ce,z){return this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce),this.getDate(ce)+z)}toIso8601(ce){return[ce.getUTCFullYear(),this._2digit(ce.getUTCMonth()+1),this._2digit(ce.getUTCDate())].join("-")}deserialize(ce){if("string"==typeof ce){if(!ce)return null;if(te.test(ce)){let z=new Date(ce);if(this.isValid(z))return z}}return super.deserialize(ce)}isDateInstance(ce){return ce instanceof Date}isValid(ce){return!isNaN(ce.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ce,z,oe){const Se=new Date;return Se.setFullYear(ce,z,oe),Se.setHours(0,0,0,0),Se}_2digit(ce){return("00"+ce).slice(-2)}_format(ce,z){const oe=new Date;return oe.setUTCFullYear(z.getFullYear(),z.getMonth(),z.getDate()),oe.setUTCHours(z.getHours(),z.getMinutes(),z.getSeconds(),z.getMilliseconds()),ce.format(oe)}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(B,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})();const Ge={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 $e=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Z,useClass:ye}]})}return bt})(),Ye=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:H,useValue:Ge}],imports:[$e]})}return bt})(),Ze=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.dirty||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})(),Et=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.touched||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})(),Te=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return bt})();function qe(bt,_e,ce="mat"){bt.changes.pipe((0,o.O)(bt)).subscribe(({length:z})=>{Ee(_e,`${ce}-2-line`,!1),Ee(_e,`${ce}-3-line`,!1),Ee(_e,`${ce}-multi-line`,!1),2===z||3===z?Ee(_e,`${ce}-${z}-line`,!0):z>3&&Ee(_e,`${ce}-multi-line`,!0)})}function Ee(bt,_e,ce){bt.nativeElement.classList.toggle(_e,ce)}let Ie=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})();class Ce{constructor(_e,ce,z,oe=!1){this._renderer=_e,this.element=ce,this.config=z,this._animationForciblyDisabledThroughCss=oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ge=(0,v.i$)({passive:!0,capture:!0});class Ae{constructor(){this._events=new Map,this._delegateEventHandler=_e=>{const ce=(0,v.sA)(_e);ce&&this._events.get(_e.type)?.forEach((z,oe)=>{(oe===ce||oe.contains(ce))&&z.forEach(Se=>Se.handleEvent(_e))})}}addHandler(_e,ce,z,oe){const Se=this._events.get(ce);if(Se){const at=Se.get(z);at?at.add(oe):Se.set(z,new Set([oe]))}else this._events.set(ce,new Map([[z,new Set([oe])]])),_e.runOutsideAngular(()=>{document.addEventListener(ce,this._delegateEventHandler,ge)})}removeHandler(_e,ce,z){const oe=this._events.get(_e);if(!oe)return;const Se=oe.get(ce);Se&&(Se.delete(z),0===Se.size&&oe.delete(ce),0===oe.size&&(this._events.delete(_e),document.removeEventListener(_e,this._delegateEventHandler,ge)))}}const q={enterDuration:225,exitDuration:150},ke=(0,v.i$)({passive:!0,capture:!0}),Ke=["mousedown","touchstart"],me=["mouseup","mouseleave","touchend","touchcancel"];class Pe{static#e=this._eventManager=new Ae;constructor(_e,ce,z,oe){this._target=_e,this._ngZone=ce,this._platform=oe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,oe.isBrowser&&(this._containerElement=(0,s.fI)(z))}fadeInRipple(_e,ce,z={}){const oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Se={...q,...z.animation};z.centered&&(_e=oe.left+oe.width/2,ce=oe.top+oe.height/2);const at=z.radius||function Ne(bt,_e,ce){const z=Math.max(Math.abs(bt-ce.left),Math.abs(bt-ce.right)),oe=Math.max(Math.abs(_e-ce.top),Math.abs(_e-ce.bottom));return Math.sqrt(z*z+oe*oe)}(_e,ce,oe),nt=_e-oe.left,mt=ce-oe.top,He=Se.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=nt-at+"px",rt.style.top=mt-at+"px",rt.style.height=2*at+"px",rt.style.width=2*at+"px",null!=z.color&&(rt.style.backgroundColor=z.color),rt.style.transitionDuration=`${He}ms`,this._containerElement.appendChild(rt);const Lt=window.getComputedStyle(rt),tn=Lt.transitionDuration,Nn="none"===Lt.transitionProperty||"0s"===tn||"0s, 0s"===tn||0===oe.width&&0===oe.height,ui=new Ce(this,rt,z,Nn);rt.style.transform="scale3d(1, 1, 1)",ui.state=0,z.persistent||(this._mostRecentTransientRipple=ui);let _i=null;return!Nn&&(He||Se.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Hi=()=>this._finishRippleTransition(ui),Yn=()=>this._destroyRipple(ui);rt.addEventListener("transitionend",Hi),rt.addEventListener("transitioncancel",Yn),_i={onTransitionEnd:Hi,onTransitionCancel:Yn}}),this._activeRipples.set(ui,_i),(Nn||!He)&&this._finishRippleTransition(ui),ui}fadeOutRipple(_e){if(2===_e.state||3===_e.state)return;const ce=_e.element,z={...q,..._e.config.animation};ce.style.transitionDuration=`${z.exitDuration}ms`,ce.style.opacity="0",_e.state=2,(_e._animationForciblyDisabledThroughCss||!z.exitDuration)&&this._finishRippleTransition(_e)}fadeOutAll(){this._getActiveRipples().forEach(_e=>_e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(_e=>{_e.config.persistent||_e.fadeOut()})}setupTriggerEvents(_e){const ce=(0,s.fI)(_e);!this._platform.isBrowser||!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,Ke.forEach(z=>{Pe._eventManager.addHandler(this._ngZone,z,ce,this)}))}handleEvent(_e){"mousedown"===_e.type?this._onMousedown(_e):"touchstart"===_e.type?this._onTouchStart(_e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{me.forEach(ce=>{this._triggerElement.addEventListener(ce,this,ke)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(_e){0===_e.state?this._startFadeOutTransition(_e):2===_e.state&&this._destroyRipple(_e)}_startFadeOutTransition(_e){const ce=_e===this._mostRecentTransientRipple,{persistent:z}=_e.config;_e.state=1,!z&&(!ce||!this._isPointerDown)&&_e.fadeOut()}_destroyRipple(_e){const ce=this._activeRipples.get(_e)??null;this._activeRipples.delete(_e),this._activeRipples.size||(this._containerRect=null),_e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),_e.state=3,null!==ce&&(_e.element.removeEventListener("transitionend",ce.onTransitionEnd),_e.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),_e.element.remove()}_onMousedown(_e){const ce=(0,f.X6)(_e),z=this._lastTouchStartEvent&&Date.now(){!_e.config.persistent&&(1===_e.state||_e.config.terminateOnPointerUp&&0===_e.state)&&_e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const _e=this._triggerElement;_e&&(Ke.forEach(ce=>Pe._eventManager.removeHandler(ce,_e,this)),this._pointerUpEventsRegistered&&me.forEach(ce=>_e.removeEventListener(ce,this,ke)))}}const Be=new n.InjectionToken("mat-ripple-global-options");let yt=(()=>{class bt{get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,this._setupTriggerEventsIfEnabled()}constructor(ce,z,oe,Se,at){this._elementRef=ce,this._animationMode=at,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Se||{},this._rippleRenderer=new Pe(this,z,ce,oe)}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(ce,z=0,oe){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,z,{...this.rippleConfig,...oe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ce})}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(v.t4),n.\u0275\u0275directiveInject(Be,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-ripple-unbounded",oe.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"]})}return bt})(),Ot=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})(),Yt=(()=>{class bt{constructor(ce){this._animationMode=ce,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===oe.state)("mat-pseudo-checkbox-checked","checked"===oe.state)("mat-pseudo-checkbox-disabled",oe.disabled)("mat-pseudo-checkbox-minimal","minimal"===oe.appearance)("mat-pseudo-checkbox-full","full"===oe.appearance)("_mat-animation-noopable","NoopAnimations"===oe._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(z,oe){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return bt})(),jt=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P]})}return bt})();const cn=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let fn=0;const an=new n.InjectionToken("MatOptgroup");let En=(()=>{class bt{constructor(ce){this.disabled=!1,this._labelId="mat-optgroup-label-"+fn++,this._inert=ce?.inertGroups??!1}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(cn,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(z,oe){2&z&&n.\u0275\u0275attribute("role",oe._inert?null:"group")("aria-disabled",oe._inert?null:oe.disabled.toString())("aria-labelledby",oe._inert?null:oe._labelId)},inputs:{label:"label",disabled:["disabled","disabled",n.booleanAttribute]},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:an,useExisting:bt}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:c,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(z,oe){1&z&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&z&&(n.\u0275\u0275classProp("mdc-list-item--disabled",oe.disabled),n.\u0275\u0275property("id",oe._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",oe.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0})}return bt})(),un=0;class Bt{constructor(_e,ce=!1){this.source=_e,this.isUserInput=ce}}let Ft=(()=>{class bt{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(ce){this._disabled=ce}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ce,z,oe,Se){this._element=ce,this._changeDetectorRef=z,this._parent=oe,this.group=Se,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+un++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new h.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ce=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}deselect(ce=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}focus(ce,z){const oe=this._getHostElement();"function"==typeof oe.focus&&oe.focus(z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(ce.keyCode===l.K5||ce.keyCode===l.L_)&&!(0,l.Vb)(ce)&&(this._selectViaInteraction(),ce.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ce)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new Bt(this,ce))}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(cn,8),n.\u0275\u0275directiveInject(an,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-option"]],viewQuery:function(z,oe){if(1&z&&n.\u0275\u0275viewQuery(d,7),2&z){let Se;n.\u0275\u0275queryRefresh(Se=n.\u0275\u0275loadQuery())&&(oe._text=Se.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(z,oe){1&z&&n.\u0275\u0275listener("click",function(){return oe._selectViaInteraction()})("keydown",function(at){return oe._handleKeydown(at)}),2&z&&(n.\u0275\u0275hostProperty("id",oe.id),n.\u0275\u0275attribute("aria-selected",oe.selected)("aria-disabled",oe.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",oe.selected)("mat-mdc-option-multiple",oe.multiple)("mat-mdc-option-active",oe.active)("mdc-list-item--disabled",oe.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",n.booleanAttribute]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.\u0275\u0275InputTransformsFeature],ngContentSelectors:w,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(z,oe){1&z&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275template(0,g,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,b,1,1,"mat-pseudo-checkbox",3)(6,C,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&z&&(n.\u0275\u0275conditional(0,oe.multiple?0:-1),n.\u0275\u0275advance(5),n.\u0275\u0275conditional(5,oe.multiple||!oe.selected||oe.hideSingleSelectionIndicator?-1:5),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,oe.group&&oe.group._inert?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",oe._getHostElement())("matRippleDisabled",oe.disabled||oe.disableRipple))},dependencies:[yt,Yt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return bt})();function De(bt,_e,ce){if(ce.length){let z=_e.toArray(),oe=ce.toArray(),Se=0;for(let at=0;atce+z?Math.max(0,bt-z+_e):ce}let Xe=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ot,P,jt]})}return bt})();const St={capture:!0},tt=["focus","click","mouseenter","touchstart"],ut="mat-ripple-loader-uninitialized",Oe="mat-ripple-loader-class-name",Ct="mat-ripple-loader-centered",Pt="mat-ripple-loader-disabled";let Nt=(()=>{class bt{constructor(){this._document=(0,n.inject)(u.DOCUMENT,{optional:!0}),this._animationMode=(0,n.inject)(n.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,n.inject)(Be,{optional:!0}),this._platform=(0,n.inject)(v.t4),this._ngZone=(0,n.inject)(n.NgZone),this._hosts=new Map,this._onInteraction=ce=>{if(!(ce.target instanceof HTMLElement))return;const oe=ce.target.closest(`[${ut}]`);oe&&this._createRipple(oe)},this._ngZone.runOutsideAngular(()=>{for(const ce of tt)this._document?.addEventListener(ce,this._onInteraction,St)})}ngOnDestroy(){const ce=this._hosts.keys();for(const z of ce)this.destroyRipple(z);for(const z of tt)this._document?.removeEventListener(z,this._onInteraction,St)}configureRipple(ce,z){ce.setAttribute(ut,""),(z.className||!ce.hasAttribute(Oe))&&ce.setAttribute(Oe,z.className||""),z.centered&&ce.setAttribute(Ct,""),z.disabled&&ce.setAttribute(Pt,"")}getRipple(ce){return this._hosts.get(ce)||this._createRipple(ce)}setDisabled(ce,z){const oe=this._hosts.get(ce);oe?oe.disabled=z:z?ce.setAttribute(Pt,""):ce.removeAttribute(Pt)}_createRipple(ce){if(!this._document)return;const z=this._hosts.get(ce);if(z)return z;ce.querySelector(".mat-ripple")?.remove();const oe=this._document.createElement("span");oe.classList.add("mat-ripple",ce.getAttribute(Oe)),ce.append(oe);const Se=new yt(new n.ElementRef(oe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Se._isInitialized=!0,Se.trigger=ce,Se.centered=ce.hasAttribute(Ct),Se.disabled=ce.hasAttribute(Pt),this.attachRipple(ce,Se),Se}attachRipple(ce,z){ce.removeAttribute(ut),this._hosts.set(ce,z)}destroyRipple(ce){const z=this._hosts.get(ce);z&&(z.ngOnDestroy(),this._hosts.delete(ce))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},8034:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DateRange:()=>Ke,DefaultMatCalendarRangeStrategy:()=>cn,MAT_DATEPICKER_SCROLL_STRATEGY:()=>_e,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>ce,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>z,MAT_DATEPICKER_VALIDATORS:()=>Xt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Lt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>jt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Ot,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Yt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Be,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>yt,MatCalendar:()=>Pt,MatCalendarBody:()=>Ie,MatCalendarCell:()=>Ze,MatCalendarHeader:()=>Ct,MatDateRangeInput:()=>ct,MatDateRangePicker:()=>Ut,MatDateSelectionModel:()=>me,MatDatepicker:()=>nt,MatDatepickerActions:()=>Ht,MatDatepickerApply:()=>wt,MatDatepickerCancel:()=>vt,MatDatepickerContent:()=>Se,MatDatepickerInput:()=>tn,MatDatepickerInputEvent:()=>mt,MatDatepickerIntl:()=>Ye,MatDatepickerModule:()=>dn,MatDatepickerToggle:()=>ui,MatDatepickerToggleIcon:()=>Nn,MatEndDate:()=>it,MatMonthView:()=>un,MatMultiYearView:()=>De,MatRangeDateSelectionModel:()=>Ne,MatSingleDateSelectionModel:()=>Pe,MatStartDate:()=>qt,MatYearView:()=>ut,matDatepickerAnimations:()=>Nt,yearsPerPage:()=>Bt,yearsPerRow:()=>Ft});var n=_(4191),f=_(9594),D=_(8484),y=_(6814),u=_(9212),v=_(2296),s=_(6672),m=_(3680),h=_(8645),o=_(7394),l=_(3019),r=_(2096),c=_(6028),d=_(9388),g=_(2831),b=_(8180),C=_(7921),x=_(2181),w=_(2495),T=_(6825),S=_(6223),M=_(4170),k=_(8582);const I=["mat-calendar-body",""];function P(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",0)(1,"td",2),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y.numCols),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.label," ")}}function A(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"td",2),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&ze){const Y=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y._firstRowOffset),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y._firstRowOffset>=Y.labelMinRequiredCells?Y.label:""," ")}}function L(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"td",5)(1,"button",6),u.\u0275\u0275listener("click",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._cellClicked(_t,de))})("focus",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._emitActiveDateChange(_t,de))}),u.\u0275\u0275elementStart(2,"span",7),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(4,"span",8),u.\u0275\u0275elementEnd()()}if(2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext().$index,Qe=u.\u0275\u0275nextContext();u.\u0275\u0275styleProp("width",Qe._cellWidth)("padding-top",Qe._cellPadding)("padding-bottom",Qe._cellPadding),u.\u0275\u0275attribute("data-mat-row",de)("data-mat-col",pe),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-disabled",!Y.enabled)("mat-calendar-body-active",Qe._isActiveCell(de,pe))("mat-calendar-body-range-start",Qe._isRangeStart(Y.compareValue))("mat-calendar-body-range-end",Qe._isRangeEnd(Y.compareValue))("mat-calendar-body-in-range",Qe._isInRange(Y.compareValue))("mat-calendar-body-comparison-bridge-start",Qe._isComparisonBridgeStart(Y.compareValue,de,pe))("mat-calendar-body-comparison-bridge-end",Qe._isComparisonBridgeEnd(Y.compareValue,de,pe))("mat-calendar-body-comparison-start",Qe._isComparisonStart(Y.compareValue))("mat-calendar-body-comparison-end",Qe._isComparisonEnd(Y.compareValue))("mat-calendar-body-in-comparison-range",Qe._isInComparisonRange(Y.compareValue))("mat-calendar-body-preview-start",Qe._isPreviewStart(Y.compareValue))("mat-calendar-body-preview-end",Qe._isPreviewEnd(Y.compareValue))("mat-calendar-body-in-preview",Qe._isInPreview(Y.compareValue)),u.\u0275\u0275property("ngClass",Y.cssClasses)("tabindex",Qe._isActiveCell(de,pe)?0:-1),u.\u0275\u0275attribute("aria-label",Y.ariaLabel)("aria-disabled",!Y.enabled||null)("aria-pressed",Qe._isSelected(Y.compareValue))("aria-current",Qe.todayValue===Y.compareValue?"date":null)("aria-describedby",Qe._getDescribedby(Y.compareValue)),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-selected",Qe._isSelected(Y.compareValue))("mat-calendar-body-comparison-identical",Qe._isComparisonIdentical(Y.compareValue))("mat-calendar-body-today",Qe.todayValue===Y.compareValue),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.displayValue," ")}}function F(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",3),u.\u0275\u0275template(1,A,2,6,"td",4),u.\u0275\u0275repeaterCreate(2,L,5,48,"td",9,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd()),2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275conditional(1,0===pe&&de._firstRowOffset?1:-1),u.\u0275\u0275advance(1),u.\u0275\u0275repeater(Y)}}function R(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"th",4)(1,"span",5),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"span",6),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&ze){const Y=en.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.long),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.narrow)}}const U=["*"];function W(ze,en){}function ne(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-month-view",2),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("_userSelection",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dateSelected(de))})("dragStarted",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragStarted(de))})("dragEnded",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragEnded(de))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)("comparisonStart",Y.comparisonStart)("comparisonEnd",Y.comparisonEnd)("startDateAccessibleName",Y.startDateAccessibleName)("endDateAccessibleName",Y.endDateAccessibleName)("activeDrag",Y._activeDrag)}}function ee(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-year-view",3),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("monthSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._monthSelectedInYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"month"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function j(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-multi-year-view",4),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("yearSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._yearSelectedInMultiYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"year"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function B(ze,en){}const $=["button"];function Z(ze,en){1&ze&&(u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(0,"svg",3),u.\u0275\u0275element(1,"path",4),u.\u0275\u0275elementEnd())}const H=[[["","matDatepickerToggleIcon",""]]],te=["[matDatepickerToggleIcon]"],ue=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ye=["input[matStartDate]","input[matEndDate]"];function Ge(ze,en){1&ze&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275projection(1),u.\u0275\u0275elementEnd())}let Ye=(()=>{class ze{constructor(){this.changes=new h.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Y,pe){return`${Y} \u2013 ${pe}`}formatYearRangeLabel(Y,pe){return`${Y} to ${pe}`}static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class Ze{constructor(en,Y,pe,de,Qe={},_t=en,hn){this.value=en,this.displayValue=Y,this.ariaLabel=pe,this.enabled=de,this.cssClasses=Qe,this.compareValue=_t,this.rawValue=hn}}let Et=1;const Te=(0,g.i$)({passive:!1,capture:!0}),qe=(0,g.i$)({passive:!0,capture:!0}),Ee=(0,g.i$)({passive:!0});let Ie=(()=>{class ze{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Y,pe){this._elementRef=Y,this._ngZone=pe,this._platform=(0,u.inject)(g.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new u.EventEmitter,this.previewChange=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=de=>{if(this._skipNextFocus&&"focus"===de.type)this._skipNextFocus=!1;else if(de.target&&this.isRange){const Qe=this._getCellFromElement(de.target);Qe&&this._ngZone.run(()=>this.previewChange.emit({value:Qe.enabled?Qe:null,event:de}))}},this._touchmoveHandler=de=>{if(!this.isRange)return;const Qe=ke(de),_t=Qe?this._getCellFromElement(Qe):null;Qe!==de.target&&(this._didDragSinceMouseDown=!0),ge(de.target)&&de.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:_t?.enabled?_t:null,event:de}))},this._leaveHandler=de=>{null!==this.previewEnd&&this.isRange&&("blur"!==de.type&&(this._didDragSinceMouseDown=!0),de.target&&this._getCellFromElement(de.target)&&(!de.relatedTarget||!this._getCellFromElement(de.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:de})))},this._mousedownHandler=de=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Qe=de.target&&this._getCellFromElement(de.target);!Qe||!this._isInRange(Qe.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Qe.rawValue,event:de})})},this._mouseupHandler=de=>{if(!this.isRange)return;const Qe=ge(de.target);Qe?Qe.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const _t=this._getCellFromElement(Qe);this.dragEnded.emit({value:_t?.rawValue??null,event:de})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:de})})},this._touchendHandler=de=>{const Qe=ke(de);Qe&&this._mouseupHandler({target:Qe})},this._id="mat-calendar-body-"+Et++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,pe.runOutsideAngular(()=>{const de=Y.nativeElement;de.addEventListener("touchmove",this._touchmoveHandler,Te),de.addEventListener("mouseenter",this._enterHandler,qe),de.addEventListener("focus",this._enterHandler,qe),de.addEventListener("mouseleave",this._leaveHandler,qe),de.addEventListener("blur",this._leaveHandler,qe),de.addEventListener("mousedown",this._mousedownHandler,Ee),de.addEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Y,pe){this._didDragSinceMouseDown||Y.enabled&&this.selectedValueChange.emit({value:Y.value,event:pe})}_emitActiveDateChange(Y,pe){Y.enabled&&this.activeDateChange.emit({value:Y.value,event:pe})}_isSelected(Y){return this.startValue===Y||this.endValue===Y}ngOnChanges(Y){const pe=Y.numCols,{rows:de,numCols:Qe}=this;(Y.rows||pe)&&(this._firstRowOffset=de&&de.length&&de[0].length?Qe-de[0].length:0),(Y.cellAspectRatio||pe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Qe+"%"),(pe||!this._cellWidth)&&(this._cellWidth=100/Qe+"%")}ngOnDestroy(){const Y=this._elementRef.nativeElement;Y.removeEventListener("touchmove",this._touchmoveHandler,Te),Y.removeEventListener("mouseenter",this._enterHandler,qe),Y.removeEventListener("focus",this._enterHandler,qe),Y.removeEventListener("mouseleave",this._leaveHandler,qe),Y.removeEventListener("blur",this._leaveHandler,qe),Y.removeEventListener("mousedown",this._mousedownHandler,Ee),Y.removeEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Y,pe){let de=Y*this.numCols+pe;return Y&&(de-=this._firstRowOffset),de==this.activeCell}_focusActiveCell(Y=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{setTimeout(()=>{const pe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");pe&&(Y||(this._skipNextFocus=!0),pe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Y){return Ae(Y,this.startValue,this.endValue)}_isRangeEnd(Y){return q(Y,this.startValue,this.endValue)}_isInRange(Y){return Re(Y,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Y){return Ae(Y,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Y,pe,de){if(!this._isComparisonStart(Y)||this._isRangeStart(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de-1];if(!Qe){const _t=this.rows[pe-1];Qe=_t&&_t[_t.length-1]}return Qe&&!this._isRangeEnd(Qe.compareValue)}_isComparisonBridgeEnd(Y,pe,de){if(!this._isComparisonEnd(Y)||this._isRangeEnd(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de+1];if(!Qe){const _t=this.rows[pe+1];Qe=_t&&_t[0]}return Qe&&!this._isRangeStart(Qe.compareValue)}_isComparisonEnd(Y){return q(Y,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Y){return Re(Y,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Y){return this.comparisonStart===this.comparisonEnd&&Y===this.comparisonStart}_isPreviewStart(Y){return Ae(Y,this.previewStart,this.previewEnd)}_isPreviewEnd(Y){return q(Y,this.previewStart,this.previewEnd)}_isInPreview(Y){return Re(Y,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Y){return this.isRange?this.startValue===Y&&this.endValue===Y?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Y?this._startDateLabelId:this.endValue===Y?this._endDateLabelId:null:null}_getCellFromElement(Y){const pe=ge(Y);if(pe){const de=pe.getAttribute("data-mat-row"),Qe=pe.getAttribute("data-mat-col");if(de&&Qe)return this.rows[parseInt(de)][parseInt(Qe)]}return null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[u.\u0275\u0275NgOnChangesFeature],attrs:I,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(pe,de){1&pe&&(u.\u0275\u0275template(0,P,3,6,"tr",0),u.\u0275\u0275repeaterCreate(1,F,4,1,"tr",3,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementStart(3,"label",1),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"label",1),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275conditional(0,de._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return ze})();function Ce(ze){return"TD"===ze?.nodeName}function ge(ze){let en;return Ce(ze)?en=ze:Ce(ze.parentNode)?en=ze.parentNode:Ce(ze.parentNode?.parentNode)&&(en=ze.parentNode.parentNode),null!=en?.getAttribute("data-mat-row")?en:null}function Ae(ze,en,Y){return null!==Y&&en!==Y&&ze=en&&ze===Y}function Re(ze,en,Y,pe){return pe&&null!==en&&null!==Y&&en!==Y&&ze>=en&&ze<=Y}function ke(ze){const en=ze.changedTouches[0];return document.elementFromPoint(en.clientX,en.clientY)}class Ke{constructor(en,Y){this.start=en,this.end=Y}}let me=(()=>{class ze{constructor(Y,pe){this.selection=Y,this._adapter=pe,this._selectionChanged=new h.x,this.selectionChanged=this._selectionChanged,this.selection=Y}updateSelection(Y,pe){const de=this.selection;this.selection=Y,this._selectionChanged.next({selection:Y,source:pe,oldValue:de})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Y){return this._adapter.isDateInstance(Y)&&this._adapter.isValid(Y)}static#e=this.\u0275fac=function(pe){u.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Pe=(()=>{class ze extends me{constructor(Y){super(null,Y)}add(Y){super.updateSelection(Y,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Ne=(()=>{class ze extends me{constructor(Y){super(new Ke(null,null),Y)}add(Y){let{start:pe,end:de}=this.selection;null==pe?pe=Y:null==de?de=Y:(pe=Y,de=null),super.updateSelection(new Ke(pe,de),this)}isValid(){const{start:Y,end:pe}=this.selection;return null==Y&&null==pe||(null!=Y&&null!=pe?this._isValidDateInstance(Y)&&this._isValidDateInstance(pe)&&this._adapter.compareDate(Y,pe)<=0:(null==Y||this._isValidDateInstance(Y))&&(null==pe||this._isValidDateInstance(pe)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();function Be(ze,en){return ze||new Pe(en)}const yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Be};function Ot(ze,en){return ze||new Ne(en)}const Yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Ot},jt=new u.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let cn=(()=>{class ze{constructor(Y){this._dateAdapter=Y}selectionFinished(Y,pe){let{start:de,end:Qe}=pe;return null==de?de=Y:null==Qe&&Y&&this._dateAdapter.compareDate(Y,de)>=0?Qe=Y:(de=Y,Qe=null),new Ke(de,Qe)}createPreview(Y,pe){let de=null,Qe=null;return pe.start&&!pe.end&&Y&&(de=pe.start,Qe=Y),new Ke(de,Qe)}createDrag(Y,pe,de){let Qe=pe.start,_t=pe.end;if(!Qe||!_t)return null;const hn=this._dateAdapter,On=0!==hn.compareDate(Qe,_t),Bn=hn.getYear(de)-hn.getYear(Y),Ci=hn.getMonth(de)-hn.getMonth(Y),Zn=hn.getDate(de)-hn.getDate(Y);return On&&hn.sameDate(Y,pe.start)?(Qe=de,hn.compareDate(de,_t)>0&&(_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn))):On&&hn.sameDate(Y,pe.end)?(_t=de,hn.compareDate(de,Qe)<0&&(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn))):(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn),_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn)),new Ke(Qe,_t)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();const an={provide:jt,deps:[[new u.Optional,new u.SkipSelf,jt],m.DateAdapter],useFactory:function fn(ze,en){return ze||new cn(en)}};let un=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){const pe=this._activeDate,de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._hasSameMonthAndYear(pe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rangeStrategy=_t,this._rerenderSubscription=o.w0.EMPTY,this.activeDrag=null,this.selectedChange=new u.EventEmitter,this._userSelection=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnChanges(Y){const pe=Y.comparisonStart||Y.comparisonEnd;pe&&!pe.firstChange&&this._setRanges(this.selected),Y.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Y){const pe=Y.value,de=this._getDateFromDayOfMonth(pe);let Qe,_t;this._selected instanceof Ke?(Qe=this._getDateInCurrentMonth(this._selected.start),_t=this._getDateInCurrentMonth(this._selected.end)):Qe=_t=this._getDateInCurrentMonth(this._selected),(Qe!==pe||_t!==pe)&&this.selectedChange.emit(de),this._userSelection.emit({value:de,event:Y.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.Ku:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.VM:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.K5:case c.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Y.preventDefault());case c.hY:return void(null!=this._previewEnd&&!(0,c.Vb)(Y)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Y}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Y})),Y.preventDefault(),Y.stopPropagation()));default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Y=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Y)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Y){this._matCalendarBody._focusActiveCell(Y)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Y,value:pe}){if(this._rangeStrategy){const de=pe?pe.rawValue:null,Qe=this._rangeStrategy.createPreview(de,this.selected,Y);if(this._previewStart=this._getCellCompareValue(Qe.start),this._previewEnd=this._getCellCompareValue(Qe.end),this.activeDrag&&de){const _t=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,de,Y);_t&&(this._previewStart=this._getCellCompareValue(_t.start),this._previewEnd=this._getCellCompareValue(_t.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Y){if(this.activeDrag)if(Y.value){const pe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Y.value,Y.event);this.dragEnded.emit({value:pe??null,event:Y.event})}else this.dragEnded.emit({value:null,event:Y.event})}_getDateFromDayOfMonth(Y){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Y)}_initWeekdays(){const Y=this._dateAdapter.getFirstDayOfWeek(),pe=this._dateAdapter.getDayOfWeekNames("narrow");let Qe=this._dateAdapter.getDayOfWeekNames("long").map((_t,hn)=>({long:_t,narrow:pe[hn]}));this._weekdays=Qe.slice(Y).concat(Qe.slice(0,Y))}_createWeekCells(){const Y=this._dateAdapter.getNumDaysInMonth(this.activeDate),pe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let de=0,Qe=this._firstWeekOffset;de=0)&&(!this.maxDate||this._dateAdapter.compareDate(Y,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Y))}_getDateInCurrentMonth(Y){return Y&&this._hasSameMonthAndYear(Y,this.activeDate)?this._dateAdapter.getDate(Y):null}_hasSameMonthAndYear(Y,pe){return!(!Y||!pe||this._dateAdapter.getMonth(Y)!=this._dateAdapter.getMonth(pe)||this._dateAdapter.getYear(Y)!=this._dateAdapter.getYear(pe))}_getCellCompareValue(Y){if(Y){const pe=this._dateAdapter.getYear(Y),de=this._dateAdapter.getMonth(Y),Qe=this._dateAdapter.getDate(Y);return new Date(pe,de,Qe).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Y){Y instanceof Ke?(this._rangeStart=this._getCellCompareValue(Y.start),this._rangeEnd=this._getCellCompareValue(Y.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Y),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Y){return!this.dateFilter||this.dateFilter(Y)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-month-view"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Ie,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._matCalendarBody=Qe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[u.\u0275\u0275NgOnChangesFeature],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(pe,de){1&pe&&(u.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),u.\u0275\u0275repeaterCreate(3,R,5,2,"th",4,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"tr"),u.\u0275\u0275element(6,"th",2),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(7,"tbody",3),u.\u0275\u0275listener("selectedValueChange",function(_t){return de._dateSelected(_t)})("activeDateChange",function(_t){return de._updateActiveDate(_t)})("previewChange",function(_t){return de._previewChanged(_t)})("dragStarted",function(_t){return de.dragStarted.emit(_t)})("dragEnded",function(_t){return de._dragEnded(_t)})("keyup",function(_t){return de._handleCalendarBodyKeyup(_t)})("keydown",function(_t){return de._handleCalendarBodyKeydown(_t)}),u.\u0275\u0275elementEnd()()),2&pe&&(u.\u0275\u0275advance(3),u.\u0275\u0275repeater(de._weekdays),u.\u0275\u0275advance(4),u.\u0275\u0275property("label",de._monthLabel)("rows",de._weeks)("todayValue",de._todayDate)("startValue",de._rangeStart)("endValue",de._rangeEnd)("comparisonStart",de._comparisonRangeStart)("comparisonEnd",de._comparisonRangeEnd)("previewStart",de._previewStart)("previewEnd",de._previewEnd)("isRange",de._isRange)("labelMinRequiredCells",3)("activeCell",de._dateAdapter.getDate(de.activeDate)-1)("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName))},dependencies:[Ie],encapsulation:2,changeDetection:0})}return ze})();const Bt=24,Ft=4;let De=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),Ve(this._dateAdapter,pe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedYear(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de){this._changeDetectorRef=Y,this._dateAdapter=pe,this._dir=de,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const pe=this._dateAdapter.getYear(this._activeDate)-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let de=0,Qe=[];dethis._createCellForYear(_t))),Qe=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(pe,0,1),Qe=this._getDateFromYear(pe);this.yearSelected.emit(de),this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromYear(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ft);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ft);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bt-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*-Bt:-Bt);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*Bt:Bt);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_getActiveCell(){return Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Y){const pe=this._dateAdapter.getMonth(this.activeDate),de=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Y,pe,1));return this._dateAdapter.createDate(Y,pe,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForYear(Y){const pe=this._dateAdapter.createDate(Y,0,1),de=this._dateAdapter.getYearName(pe),Qe=this.dateClass?this.dateClass(pe,"multi-year"):void 0;return new Ze(Y,de,de,this._shouldEnableYear(Y),Qe)}_shouldEnableYear(Y){if(null==Y||this.maxDate&&Y>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Y{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._dateAdapter.getYear(pe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedMonth(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,1);this.monthSelected.emit(de);const Qe=this._getDateFromMonth(pe);this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?-10:-1);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10:1);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Y=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(pe=>pe.map(de=>this._createCellForMonth(de,Y[de]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Y){return Y&&this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Y):null}_getDateFromMonth(Y){const pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),de=this._dateAdapter.getNumDaysInMonth(pe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForMonth(Y,pe){const de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),Qe=this._dateAdapter.format(de,this._dateFormats.display.monthYearA11yLabel),_t=this.dateClass?this.dateClass(de,"year"):void 0;return new Ze(Y,pe.toLocaleUpperCase(),Qe,this._shouldEnableMonth(Y),_t)}_shouldEnableMonth(Y){const pe=this._dateAdapter.getYear(this.activeDate);if(null==Y||this._isYearAndMonthAfterMaxDate(pe,Y)||this._isYearAndMonthBeforeMinDate(pe,Y))return!1;if(!this.dateFilter)return!0;for(let Qe=this._dateAdapter.createDate(pe,Y,1);this._dateAdapter.getMonth(Qe)==Y;Qe=this._dateAdapter.addCalendarDays(Qe,1))if(this.dateFilter(Qe))return!0;return!1}_isYearAndMonthAfterMaxDate(Y,pe){if(this.maxDate){const de=this._dateAdapter.getYear(this.maxDate),Qe=this._dateAdapter.getMonth(this.maxDate);return Y>de||Y===de&&pe>Qe}return!1}_isYearAndMonthBeforeMinDate(Y,pe){if(this.minDate){const de=this._dateAdapter.getYear(this.minDate),Qe=this._dateAdapter.getMonth(this.minDate);return Y{class ze{constructor(Y,pe,de,Qe,_t){this._intl=Y,this.calendar=pe,this._dateAdapter=de,this._dateFormats=Qe,this._id="mat-calendar-header-"+Oe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>_t.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Bt)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Bt)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Y,pe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe)&&this._dateAdapter.getMonth(Y)==this._dateAdapter.getMonth(pe):"year"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe):Ve(this._dateAdapter,Y,pe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const pe=this._dateAdapter.getYear(this.calendar.activeDate)-Xe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),de=pe+Bt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(pe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(de,0,1))]}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject((0,u.forwardRef)(()=>Pt)),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:U,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),u.\u0275\u0275listener("click",function(){return de.currentPeriodClicked()}),u.\u0275\u0275elementStart(3,"span",3),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(5,"svg",4),u.\u0275\u0275element(6,"polygon",5),u.\u0275\u0275elementEnd()(),u.\u0275\u0275namespaceHTML(),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275projection(8),u.\u0275\u0275elementStart(9,"button",7),u.\u0275\u0275listener("click",function(){return de.previousClicked()}),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"button",8),u.\u0275\u0275listener("click",function(){return de.nextClicked()}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(11,"label",9),u.\u0275\u0275text(12),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275advance(2),u.\u0275\u0275attribute("aria-label",de.periodButtonLabel)("aria-describedby",de._periodButtonLabelId),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(de.periodButtonText),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-invert","month"!==de.calendar.currentView),u.\u0275\u0275advance(4),u.\u0275\u0275property("disabled",!de.previousEnabled()),u.\u0275\u0275attribute("aria-label",de.prevButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("disabled",!de.nextEnabled()),u.\u0275\u0275attribute("aria-label",de.nextButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("id",de._periodButtonLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.periodButtonDescription))},dependencies:[v.MatButton,v.MatIconButton],encapsulation:2,changeDetection:0})}return ze})(),Pt=(()=>{class ze{get startAt(){return this._startAt}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get activeDate(){return this._clampedActiveDate}set activeDate(Y){this._clampedActiveDate=this._dateAdapter.clampDate(Y,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Y){const pe=this._currentView!==Y?Y:null;this._currentView=Y,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),pe&&this.viewChanged.emit(pe)}constructor(Y,pe,de,Qe){this._dateAdapter=pe,this._dateFormats=de,this._changeDetectorRef=Qe,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this._userSelection=new u.EventEmitter,this._userDragDrop=new u.EventEmitter,this._activeDrag=null,this.stateChanges=new h.x,this._intlChanges=Y.changes.subscribe(()=>{Qe.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new D.C5(this.headerComponent||Ct),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Y){const pe=Y.minDate&&!this._dateAdapter.sameDate(Y.minDate.previousValue,Y.minDate.currentValue)?Y.minDate:void 0,de=Y.maxDate&&!this._dateAdapter.sameDate(Y.maxDate.previousValue,Y.maxDate.currentValue)?Y.maxDate:void 0,Qe=pe||de||Y.dateFilter;if(Qe&&!Qe.firstChange){const _t=this._getCurrentViewComponent();_t&&(this._changeDetectorRef.detectChanges(),_t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Y){const pe=Y.value;(this.selected instanceof Ke||pe&&!this._dateAdapter.sameDate(pe,this.selected))&&this.selectedChange.emit(pe),this._userSelection.emit(Y)}_yearSelectedInMultiYearView(Y){this.yearSelected.emit(Y)}_monthSelectedInYearView(Y){this.monthSelected.emit(Y)}_goToDateInView(Y,pe){this.activeDate=Y,this.currentView=pe}_dragStarted(Y){this._activeDrag=Y}_dragEnded(Y){this._activeDrag&&(Y.value&&this._userDragDrop.emit(Y),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar"]],viewQuery:function(pe,de){if(1&pe&&(u.\u0275\u0275viewQuery(un,5),u.\u0275\u0275viewQuery(ut,5),u.\u0275\u0275viewQuery(De,5)),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.monthView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.yearView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.multiYearView=Qe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[u.\u0275\u0275ProvidersFeature([yt]),u.\u0275\u0275NgOnChangesFeature],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(pe,de){if(1&pe&&(u.\u0275\u0275template(0,W,0,0,"ng-template",0),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275template(2,ne,1,11)(3,ee,1,6)(4,j,1,6),u.\u0275\u0275elementEnd()),2&pe){let Qe;u.\u0275\u0275property("cdkPortalOutlet",de._calendarHeaderPortal),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,"month"===(Qe=de.currentView)?2:"year"===Qe?3:"multi-year"===Qe?4:-1)}},dependencies:[n.kH,D.Pl,un,ut,De],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return ze})();const Nt={transformPanel:(0,T.X$)("transformPanel",[(0,T.eR)("void => enter-dropdown",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,T.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,T.eR)("void => enter-dialog",(0,T.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(0.7)"}),(0,T.oB)({transform:"none",opacity:1})]))),(0,T.eR)("* => void",(0,T.jt)("100ms linear",(0,T.oB)({opacity:0})))]),fadeInCalendar:(0,T.X$)("fadeInCalendar",[(0,T.SB)("void",(0,T.oB)({opacity:0})),(0,T.SB)("enter",(0,T.oB)({opacity:1})),(0,T.eR)("void => *",(0,T.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let bt=0;const _e=new u.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const ze=(0,u.inject)(f.aV);return()=>ze.scrollStrategies.reposition()}});function ce(ze){return()=>ze.scrollStrategies.reposition()}const z={provide:_e,deps:[f.aV],useFactory:ce},oe=(0,m.mixinColor)(class{constructor(ze){this._elementRef=ze}});let Se=(()=>{class ze extends oe{constructor(Y,pe,de,Qe,_t,hn){super(Y),this._changeDetectorRef=pe,this._globalModel=de,this._dateAdapter=Qe,this._rangeSelectionStrategy=_t,this._subscriptions=new o.w0,this._animationDone=new h.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=hn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Y){const pe=this._model.selection,de=Y.value,Qe=pe instanceof Ke;if(Qe&&this._rangeSelectionStrategy){const _t=this._rangeSelectionStrategy.selectionFinished(de,pe,Y.event);this._model.updateSelection(_t,this)}else de&&(Qe||!this._dateAdapter.sameDate(de,pe))&&this._model.add(de);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Y){this._model.updateSelection(Y.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Y){this._isAnimating="start"===Y.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Y,pe){this._model=Y?this._globalModel.clone():this._globalModel,this._actionsPortal=Y,pe&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(me),u.\u0275\u0275directiveInject(m.DateAdapter),u.\u0275\u0275directiveInject(jt,8),u.\u0275\u0275directiveInject(Ye))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-content"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Pt,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._calendar=Qe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275syntheticHostListener("@transformPanel.start",function(_t){return de._handleAnimationEvent(_t)})("@transformPanel.done",function(_t){return de._handleAnimationEvent(_t)}),2&pe&&(u.\u0275\u0275syntheticHostProperty("@transformPanel",de._animationState),u.\u0275\u0275classProp("mat-datepicker-content-touch",de.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[u.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(pe,de){if(1&pe&&(u.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),u.\u0275\u0275listener("yearSelected",function(_t){return de.datepicker._selectYear(_t)})("monthSelected",function(_t){return de.datepicker._selectMonth(_t)})("viewChanged",function(_t){return de.datepicker._viewChanged(_t)})("_userSelection",function(_t){return de._handleUserSelection(_t)})("_userDragDrop",function(_t){return de._handleUserDragDrop(_t)}),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(2,B,0,0,"ng-template",2),u.\u0275\u0275elementStart(3,"button",3),u.\u0275\u0275listener("focus",function(){return de._closeButtonFocused=!0})("blur",function(){return de._closeButtonFocused=!1})("click",function(){return de.datepicker.close()}),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&pe){let Qe;u.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",de.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",de._actionsPortal),u.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Qe=de._dialogLabelId)&&void 0!==Qe?Qe:void 0),u.\u0275\u0275advance(1),u.\u0275\u0275property("id",de.datepicker.id)("ngClass",de.datepicker.panelClass)("startAt",de.datepicker.startAt)("startView",de.datepicker.startView)("minDate",de.datepicker._getMinDate())("maxDate",de.datepicker._getMaxDate())("dateFilter",de.datepicker._getDateFilter())("headerComponent",de.datepicker.calendarHeaderComponent)("selected",de._getSelected())("dateClass",de.datepicker.dateClass)("comparisonStart",de.comparisonStart)("comparisonEnd",de.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName),u.\u0275\u0275advance(1),u.\u0275\u0275property("cdkPortalOutlet",de._actionsPortal),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("cdk-visually-hidden",!de._closeButtonFocused),u.\u0275\u0275property("color",de.color||"primary"),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de._closeButtonText)}},dependencies:[y.NgClass,v.MatButton,n.mK,D.Pl,Pt],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Nt.transformPanel,Nt.fadeInCalendar]},changeDetection:0})}return ze})(),at=(()=>{class ze{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Y){this._color=Y}get touchUi(){return this._touchUi}set touchUi(Y){this._touchUi=(0,w.Ig)(Y)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._disabled&&(this._disabled=pe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Y){this._restoreFocus=(0,w.Ig)(Y)}get panelClass(){return this._panelClass}set panelClass(Y){this._panelClass=(0,w.du)(Y)}get opened(){return this._opened}set opened(Y){(0,w.Ig)(Y)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(Y,pe,de,Qe,_t,hn,On){this._overlay=Y,this._ngZone=pe,this._viewContainerRef=de,this._dateAdapter=_t,this._dir=hn,this._model=On,this._inputStateChanges=o.w0.EMPTY,this._document=(0,u.inject)(y.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this.openedStream=new u.EventEmitter,this.closedStream=new u.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+bt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.x,this._scrollStrategy=Qe}ngOnChanges(Y){const pe=Y.xPosition||Y.yPosition;if(pe&&!pe.firstChange&&this._overlayRef){const de=this._overlayRef.getConfig().positionStrategy;de instanceof f._G&&(this._setConnectedPositions(de),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Y){this._model.add(Y)}_selectYear(Y){this.yearSelected.emit(Y)}_selectMonth(Y){this.monthSelected.emit(Y)}_viewChanged(Y){this.viewChanged.emit(Y)}registerInput(Y){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Y,this._inputStateChanges=Y.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Y){this._actionsPortal=Y,this._componentRef?.instance._assignActions(Y,!0)}removeActions(Y){Y===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,g.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Y=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,pe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:de,location:Qe}=this._componentRef;de._startExitAnimation(),de._animationDone.pipe((0,b.q)(1)).subscribe(()=>{const _t=this._document.activeElement;Y&&(!_t||_t===this._document.activeElement||Qe.nativeElement.contains(_t))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Y?setTimeout(pe):pe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Y){Y.datepicker=this,Y.color=this.color,Y._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Y._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Y=this.touchUi,pe=new D.C5(Se,this._viewContainerRef),de=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:Y?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Y?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Y?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Y?"dialog":"popup")}));this._getCloseStream(de).subscribe(Qe=>{Qe&&Qe.preventDefault(),this.close()}),de.keydownEvents().subscribe(Qe=>{const _t=Qe.keyCode;(_t===c.LH||_t===c.JH||_t===c.oh||_t===c.SV||_t===c.Ku||_t===c.VM)&&Qe.preventDefault()}),this._componentRef=de.attach(pe),this._forwardContentValues(this._componentRef.instance),Y||this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>de.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Y=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Y)}_setConnectedPositions(Y){const pe="end"===this.xPosition?"end":"start",de="start"===pe?"end":"start",Qe="above"===this.yPosition?"bottom":"top",_t="top"===Qe?"bottom":"top";return Y.withPositions([{originX:pe,originY:_t,overlayX:pe,overlayY:Qe},{originX:pe,originY:Qe,overlayX:pe,overlayY:_t},{originX:de,originY:_t,overlayX:de,overlayY:Qe},{originX:de,originY:Qe,overlayX:de,overlayY:_t}])}_getCloseStream(Y){const pe=["ctrlKey","shiftKey","metaKey"];return(0,l.T)(Y.backdropClick(),Y.detachments(),Y.keydownEvents().pipe((0,x.h)(de=>de.keyCode===c.hY&&!(0,c.Vb)(de)||this.datepickerInput&&(0,c.Vb)(de,"altKey")&&de.keyCode===c.LH&&pe.every(Qe=>!(0,c.Vb)(de,Qe)))))}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(f.aV),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(_e),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(me))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})(),nt=(()=>{class ze extends at{static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[u.\u0275\u0275ProvidersFeature([yt,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})();class mt{constructor(en,Y){this.target=en,this.targetElement=Y,this.value=this.target.value}}let He=(()=>{class ze{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Y){this._assignValueProgrammatically(Y)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Y){const pe=(0,w.Ig)(Y),de=this._elementRef.nativeElement;this._disabled!==pe&&(this._disabled=pe,this.stateChanges.next(void 0)),pe&&this._isInitialized&&de.blur&&de.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Y){this._model=Y,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(pe=>{if(this._shouldHandleChangeEvent(pe)){const de=this._getValueFromModel(pe.selection);this._lastValueValid=this._isValidValue(de),this._cvaOnChange(de),this._onTouched(),this._formatValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)),this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}})}constructor(Y,pe,de){this._elementRef=Y,this._dateAdapter=pe,this._dateFormats=de,this.dateChange=new u.EventEmitter,this.dateInput=new u.EventEmitter,this.stateChanges=new h.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=o.w0.EMPTY,this._localeSubscription=o.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value));return!_t||this._matchesFilter(_t)?null:{matDatepickerFilter:!0}},this._minValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMinDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)<=0?null:{matDatepickerMin:{min:hn,actual:_t}}},this._maxValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMaxDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)>=0?null:{matDatepickerMax:{max:hn,actual:_t}}},this._lastValueValid=!1,this._localeSubscription=pe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Y){rt(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Y){this._validatorOnChange=Y}validate(Y){return this._validator?this._validator(Y):null}writeValue(Y){this._assignValueProgrammatically(Y)}registerOnChange(Y){this._cvaOnChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_onKeydown(Y){(0,c.Vb)(Y,"altKey")&&Y.keyCode===c.JH&&["ctrlKey","shiftKey","metaKey"].every(Qe=>!(0,c.Vb)(Y,Qe))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Y.preventDefault())}_onInput(Y){const pe=this._lastValueValid;let de=this._dateAdapter.parse(Y,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(de),de=this._dateAdapter.getValidDateOrNull(de);const Qe=!this._dateAdapter.sameDate(de,this.value);!de||Qe?this._cvaOnChange(de):(Y&&!this.value&&this._cvaOnChange(de),pe!==this._lastValueValid&&this._validatorOnChange()),Qe&&(this._assignValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Y){this._elementRef.nativeElement.value=null!=Y?this._dateAdapter.format(Y,this._dateFormats.display.dateInput):""}_assignValue(Y){this._model?(this._assignValueToModel(Y),this._pendingValue=null):this._pendingValue=Y}_isValidValue(Y){return!Y||this._dateAdapter.isValid(Y)}_parentDisabled(){return!1}_assignValueProgrammatically(Y){Y=this._dateAdapter.deserialize(Y),this._lastValueValid=this._isValidValue(Y),Y=this._dateAdapter.getValidDateOrNull(Y),this._assignValue(Y),this._formatValue(Y)}_matchesFilter(Y){const pe=this._getDateFilter();return!pe||pe(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})();function rt(ze,en){const Y=Object.keys(ze);for(let pe of Y){const{previousValue:de,currentValue:Qe}=ze[pe];if(!en.isDateInstance(de)||!en.isDateInstance(Qe))return!0;if(!en.sameDate(de,Qe))return!0}return!1}const Lt={provide:S.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>tn),multi:!0},Xt={provide:S.NG_VALIDATORS,useExisting:(0,u.forwardRef)(()=>tn),multi:!0};let tn=(()=>{class ze extends He{set matDatepicker(Y){Y&&(this._datepicker=Y,this._closedSubscription=Y.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Y.registerInput(this)))}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._validatorOnChange())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._matchesFilter(this.value);this._dateFilter=Y,this._matchesFilter(this.value)!==pe&&this._validatorOnChange()}constructor(Y,pe,de,Qe){super(Y,pe,de),this._formField=Qe,this._closedSubscription=o.w0.EMPTY,this._validator=S.Validators.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Y){return Y}_assignValueToModel(Y){this._model&&this._model.updateSelection(Y,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Y){return Y.source!==this}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("blur",function(){return de._onBlur()})("keydown",function(_t){return de._onKeydown(_t)}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._datepicker?"dialog":null)("aria-owns",(null==de._datepicker?null:de._datepicker.opened)&&de._datepicker.id||null)("min",de.min?de._dateAdapter.toIso8601(de.min):null)("max",de.max?de._dateAdapter.toIso8601(de.max):null)("data-mat-calendar",de._datepicker?de._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[u.\u0275\u0275ProvidersFeature([Lt,Xt,{provide:k.MAT_INPUT_VALUE_ACCESSOR,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Nn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerToggleIcon",""]]})}return ze})(),ui=(()=>{class ze{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Y){this._disabled=(0,w.Ig)(Y)}constructor(Y,pe,de){this._intl=Y,this._changeDetectorRef=pe,this._stateChanges=o.w0.EMPTY;const Qe=Number(de);this.tabIndex=Qe||0===Qe?Qe:null}ngOnChanges(Y){Y.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Y){this.datepicker&&!this.disabled&&(this.datepicker.open(),Y.stopPropagation())}_watchStateChanges(){const Y=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),pe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),de=this.datepicker?(0,l.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,l.T)(this._intl.changes,Y,pe,de).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(pe,de,Qe){if(1&pe&&u.\u0275\u0275contentQuery(Qe,Nn,5),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._customIcon=_t.first)}},viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery($,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._button=Qe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(_t){return de._open(_t)}),2&pe&&(u.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",de.datepicker?de.datepicker.id:null),u.\u0275\u0275classProp("mat-datepicker-toggle-active",de.datepicker&&de.datepicker.opened)("mat-accent",de.datepicker&&"accent"===de.datepicker.color)("mat-warn",de.datepicker&&"warn"===de.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:te,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(H),u.\u0275\u0275elementStart(0,"button",0,1),u.\u0275\u0275template(2,Z,2,0,":svg:svg",2),u.\u0275\u0275projection(3),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275property("disabled",de.disabled)("disableRipple",de.disableRipple),u.\u0275\u0275attribute("aria-haspopup",de.datepicker?"dialog":null)("aria-label",de.ariaLabel||de._intl.openCalendarLabel)("tabindex",de.disabled?-1:de.tabIndex),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,de._customIcon?-1:2))},dependencies:[v.MatIconButton],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return ze})();function _i(ze){return pn(ze,!0)}function Hi(ze){return ze.nodeType===Node.ELEMENT_NODE}function pn(ze,en){if(Hi(ze)&&en){const pe=(ze.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((de,Qe)=>{const _t=document.getElementById(Qe);return _t&&de.push(_t),de},[]);if(pe.length)return pe.map(de=>pn(de,!1)).join(" ")}if(Hi(ze)){const Y=ze.getAttribute("aria-label")?.trim();if(Y)return Y}if(function Yn(ze){return"INPUT"===ze.nodeName}(ze)||function st(ze){return"TEXTAREA"===ze.nodeName}(ze)){if(ze.labels?.length)return Array.from(ze.labels).map(de=>pn(de,!1)).join(" ");const Y=ze.getAttribute("placeholder")?.trim();if(Y)return Y;const pe=ze.getAttribute("title")?.trim();if(pe)return pe}return(ze.textContent||"").replace(/\s+/g," ").trim()}const Ue=new u.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),At=(0,m.mixinErrorState)((()=>{class ze extends He{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(pe,On,Bn),this._rangeInput=Y,this._elementRef=pe,this._defaultErrorStateMatcher=de,this._injector=Qe,this._parentForm=_t,this._parentFormGroup=hn,this._dir=(0,u.inject)(d.Is,{optional:!0})}ngOnInit(){const Y=this._injector.get(S.NgControl,null,{optional:!0,self:!0});Y&&(this.ngControl=Y)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const Y=this._elementRef.nativeElement,pe=Y.value;return pe.length>0?pe:Y.placeholder}_onInput(Y){super._onInput(Y),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:Y}){return Y!==this._rangeInput._startInput&&Y!==this._rangeInput._endInput}_assignValueProgrammatically(Y){super._assignValueProgrammatically(Y),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return _i(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,features:[u.\u0275\u0275InheritDefinitionFeature]})}return ze})());let qt=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._startValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.end:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)<=0?null:{matStartDateInvalid:{end:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(Y){return Y.start}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.start?Y.selection.start&&!this._dateAdapter.compareDate(Y.oldValue.start,Y.selection.start):!Y.selection.start))}_assignValueToModel(Y){if(this._model){const pe=new Ke(Y,this._model.selection.end);this._model.updateSelection(pe,this)}}_formatValue(Y){super._formatValue(Y),this._rangeInput._handleChildValueChange()}_onKeydown(Y){const pe=this._rangeInput._endInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;(Y.keyCode===c.SV&&Qe||Y.keyCode===c.oh&&!Qe)&&de.selectionStart===de.value.length&&de.selectionEnd===de.value.length?(Y.preventDefault(),pe._elementRef.nativeElement.setSelectionRange(0,0),pe.focus()):super._onKeydown(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),it=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._endValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.start:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)>=0?null:{matEndDateInvalid:{start:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(Y){return Y.end}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.end?Y.selection.end&&!this._dateAdapter.compareDate(Y.oldValue.end,Y.selection.end):!Y.selection.end))}_assignValueToModel(Y){if(this._model){const pe=new Ke(this._model.selection.start,Y);this._model.updateSelection(pe,this)}}_onKeydown(Y){const pe=this._rangeInput._startInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;if(Y.keyCode!==c.ZH||de.value)if((Y.keyCode===c.oh&&Qe||Y.keyCode===c.SV&&!Qe)&&0===de.selectionStart&&0===de.selectionEnd){Y.preventDefault();const _t=pe._elementRef.nativeElement.value.length;pe._elementRef.nativeElement.setSelectionRange(_t,_t),pe.focus()}else super._onKeydown(Y);else pe.focus()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),dt=0,ct=(()=>{class ze{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const Y=this._startInput?._getPlaceholder()||"",pe=this._endInput?._getPlaceholder()||"";return Y||pe?`${Y} ${this.separator} ${pe}`:""}get rangePicker(){return this._rangePicker}set rangePicker(Y){Y&&(this._model=Y.registerInput(this),this._rangePicker=Y,this._closedSubscription.unsubscribe(),this._closedSubscription=Y.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(Y){this._required=(0,w.Ig)(Y)}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._startInput,de=this._endInput,Qe=pe&&pe._matchesFilter(pe.value),_t=de&&de._matchesFilter(pe.value);this._dateFilter=Y,pe&&pe._matchesFilter(pe.value)!==Qe&&pe._validatorOnChange(),de&&de._matchesFilter(de.value)!==_t&&de._validatorOnChange()}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._revalidate())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._groupDisabled&&(this._groupDisabled=pe,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const Y=!!this._startInput&&this._startInput.isEmpty(),pe=!!this._endInput&&this._endInput.isEmpty();return Y&&pe}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._elementRef=pe,this._dateAdapter=Qe,this._formField=_t,this._closedSubscription=o.w0.EMPTY,this.id="mat-date-range-input-"+dt++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new h.x,_t?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&pe.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=de}setDescribedByIds(Y){this._ariaDescribedBy=Y.length?Y.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,l.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(Y){rt(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(Y){const pe="start"===Y?this._startInput:this._endInput;return pe?pe.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const Y=this._formField;return Y&&Y._hasFloatingLabel()?Y._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(Y){this.focused=null!==Y,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(Y){this._startInput&&this._startInput._registerModel(Y),this._endInput&&this._endInput._registerModel(Y)}_isTargetRequired(Y){return Y?.ngControl?.control?.hasValidator(S.Validators.required)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(S.ControlContainer,10),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-input"]],contentQueries:function(pe,de,Qe){if(1&pe&&(u.\u0275\u0275contentQuery(Qe,qt,5),u.\u0275\u0275contentQuery(Qe,it,5)),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._startInput=_t.first),u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._endInput=_t.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(pe,de){2&pe&&(u.\u0275\u0275attribute("id",de.id)("aria-labelledby",de._getAriaLabelledby())("aria-describedby",de._ariaDescribedBy)("data-mat-calendar",de.rangePicker?de.rangePicker.id:null),u.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",de._shouldHidePlaceholders())("mat-date-range-input-required",de.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:M.MatFormFieldControl,useExisting:ze},{provide:Ue,useExisting:ze}]),u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ye,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(ue),u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("cdkFocusChange",function(_t){return de._updateFocus(_t)}),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275projection(2),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"span",3),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"div",4),u.\u0275\u0275projection(8,1),u.\u0275\u0275elementStart(9,"span",2),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()),2&pe&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("start")),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-date-range-input-separator-hidden",de._shouldHideSeparator()),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.separator),u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return ze})(),Ut=(()=>{class ze extends at{_forwardContentValues(Y){super._forwardContentValues(Y);const pe=this.datepickerInput;pe&&(Y.comparisonStart=pe.comparisonStart,Y.comparisonEnd=pe.comparisonEnd,Y.startDateAccessibleName=pe._getStartDateAccessibleName(),Y.endDateAccessibleName=pe._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[u.\u0275\u0275ProvidersFeature([Yt,an,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})(),wt=(()=>{class ze{constructor(Y){this._datepicker=Y}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._applySelection()})}})}return ze})(),vt=(()=>{class ze{constructor(Y){this._datepicker=Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._datepicker.close()})}})}return ze})(),Ht=(()=>{class ze{constructor(Y,pe){this._datepicker=Y,this._viewContainerRef=pe}ngAfterViewInit(){this._portal=new D.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at),u.\u0275\u0275directiveInject(u.ViewContainerRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(u.TemplateRef,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._template=Qe.first)}},ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,Ge,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return ze})(),dn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[Ye,z],imports:[y.CommonModule,v.MatButtonModule,f.U8,n.rt,D.eL,m.MatCommonModule,s.ZD]})}return ze})()},6385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatDivider:()=>y,MatDividerModule:()=>u});var n=_(9212),f=_(2495),D=_(3680);let y=(()=>{class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(m){this._vertical=(0,f.Ig)(m)}get inset(){return this._inset}set inset(m){this._inset=(0,f.Ig)(m)}static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,o){2&h&&(n.\u0275\u0275attribute("aria-orientation",o.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(h,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.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})}return v})(),u=(()=>{class v{static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:v});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatCommonModule]})}return v})()},4170:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_ERROR:()=>Et,MAT_FORM_FIELD:()=>cn,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>fn,MAT_PREFIX:()=>Ie,MAT_SUFFIX:()=>ge,MatError:()=>Te,MatFormField:()=>De,MatFormFieldControl:()=>yt,MatFormFieldModule:()=>Ve,MatHint:()=>Ee,MatLabel:()=>Ye,MatPrefix:()=>Ce,MatSuffix:()=>Ae,getMatFormFieldDuplicatedHintError:()=>Yt,getMatFormFieldMissingControlError:()=>jt,getMatFormFieldPlaceholderConflictError:()=>Ot,matFormFieldAnimations:()=>Be});var n=_(9212),f=_(9388),D=_(2831),y=_(7394),u=_(8645),v=_(3019),s=_(9773),m=_(5592),h=_(2181),o=_(7081);class r{constructor(St){this._box=St,this._destroyed=new u.x,this._resizeSubject=new u.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(tt=>this._resizeSubject.next(tt)))}observe(St){return this._elementObservables.has(St)||this._elementObservables.set(St,new m.y(tt=>{const ut=this._resizeSubject.subscribe(tt);return this._resizeObserver?.observe(St,{box:this._box}),()=>{this._resizeObserver?.unobserve(St),ut.unsubscribe(),this._elementObservables.delete(St)}}).pipe((0,h.h)(tt=>tt.some(ut=>ut.target===St)),(0,o.d)({bufferSize:1,refCount:!0}),(0,s.R)(this._destroyed))),this._elementObservables.get(St)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let c=(()=>{class Xe{constructor(){this._observers=new Map,this._ngZone=(0,n.inject)(n.NgZone)}ngOnDestroy(){for(const[,tt]of this._observers)tt.destroy();this._observers.clear()}observe(tt,ut){const Oe=ut?.box||"content-box";return this._observers.has(Oe)||this._observers.set(Oe,new r(Oe)),this._observers.get(Oe).observe(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var d=_(2495),g=_(6825),b=_(6814),C=_(7131),x=_(3680);const w=["notch"],T=["matFormFieldNotchedOutline",""],S=["*"],M=["textField"],k=["iconPrefixContainer"],I=["textPrefixContainer"];function P(Xe,St){1&Xe&&n.\u0275\u0275element(0,"span",16)}function A(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"label",14),n.\u0275\u0275projection(1,1),n.\u0275\u0275template(2,P,1,0,"span",15),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("floating",tt._shouldLabelFloat())("monitorResize",tt._hasOutline())("id",tt._labelId),n.\u0275\u0275attribute("for",tt._control.id),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,!tt.hideRequiredMarker&&tt._control.required?2:-1)}}function L(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,A,3,5,"label",14),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275conditional(0,tt._hasFloatingLabel()?0:-1)}}function F(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",17)}function R(Xe,St){}function U(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,R,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext(2);const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function W(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",5),n.\u0275\u0275template(1,U,1,1,null,9),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("matFormFieldNotchedOutlineOpen",tt._shouldLabelFloat()),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt._forceDisplayInfixLabel()?-1:1)}}function ne(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",18,19),n.\u0275\u0275projection(2,2),n.\u0275\u0275elementEnd())}function ee(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",20,21),n.\u0275\u0275projection(2,3),n.\u0275\u0275elementEnd())}function j(Xe,St){}function B(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,j,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext();const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function $(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",22),n.\u0275\u0275projection(1,4),n.\u0275\u0275elementEnd())}function Z(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",23),n.\u0275\u0275projection(1,5),n.\u0275\u0275elementEnd())}function H(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",12)}function te(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",24),n.\u0275\u0275projection(1,6),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState)}}function ue(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"mat-hint",26),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("id",tt._hintLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(tt.hintLabel)}}function ye(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",25),n.\u0275\u0275template(1,ue,2,2,"mat-hint",26),n.\u0275\u0275projection(2,7),n.\u0275\u0275element(3,"div",27),n.\u0275\u0275projection(4,8),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt.hintLabel?1:-1)}}const Ge=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ye=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-label"]]})}return Xe})(),Ze=0;const Et=new n.InjectionToken("MatError");let Te=(()=>{class Xe{constructor(tt,ut){this.id="mat-mdc-error-"+Ze++,tt||ut.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275injectAttribute("aria-live"),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275hostProperty("id",Oe.id)},inputs:{id:"id"},features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Xe}])]})}return Xe})(),qe=0,Ee=(()=>{class Xe{constructor(){this.align="start",this.id="mat-mdc-hint-"+qe++}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(ut,Oe){2&ut&&(n.\u0275\u0275hostProperty("id",Oe.id),n.\u0275\u0275attribute("align",null),n.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Oe.align))},inputs:{align:"align",id:"id"}})}return Xe})();const Ie=new n.InjectionToken("MatPrefix");let Ce=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:Xe}])]})}return Xe})();const ge=new n.InjectionToken("MatSuffix");let Ae=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:Xe}])]})}return Xe})();const q=new n.InjectionToken("FloatingLabelParent");let Re=(()=>{class Xe{get floating(){return this._floating}set floating(tt){this._floating=tt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(tt){this._monitorResize=tt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(tt){this._elementRef=tt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.inject)(c),this._ngZone=(0,n.inject)(n.NgZone),this._parent=(0,n.inject)(q),this._resizeSubscription=new y.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ke(Xe){if(null!==Xe.offsetParent)return Xe.scrollWidth;const tt=Xe.cloneNode(!0);tt.style.setProperty("position","absolute"),tt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(tt);const ut=tt.scrollWidth;return tt.remove(),ut}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-floating-label--float-above",Oe.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return Xe})();const Ke="mdc-line-ripple--active",me="mdc-line-ripple--deactivating";let Pe=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._handleTransitionEnd=Oe=>{const Ct=this._elementRef.nativeElement.classList,Pt=Ct.contains(me);"opacity"===Oe.propertyName&&Pt&&Ct.remove(Ke,me)},ut.runOutsideAngular(()=>{tt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const tt=this._elementRef.nativeElement.classList;tt.remove(me),tt.add(Ke)}deactivate(){this._elementRef.nativeElement.classList.add(me)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return Xe})(),Ne=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._ngZone=ut,this.open=!1}ngAfterViewInit(){const tt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");tt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(tt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>tt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(tt){this._notch.nativeElement.style.width=this.open&&tt?`calc(${tt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(ut,Oe){if(1&ut&&n.\u0275\u0275viewQuery(w,5),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notch=Ct.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-notched-outline--notched",Oe.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:T,ngContentSelectors:S,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(ut,Oe){1&ut&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275element(0,"div",0),n.\u0275\u0275elementStart(1,"div",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return Xe})();const Be={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yt=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe})}return Xe})();function Ot(){return Error("Placeholder attribute and child element were both specified.")}function Yt(Xe){return Error(`A hint was already declared for 'align="${Xe}"'.`)}function jt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const cn=new n.InjectionToken("MatFormField"),fn=new n.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let an=0,De=(()=>{class Xe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(tt){this._hideRequiredMarker=(0,d.Ig)(tt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(tt){tt!==this._floatLabel&&(this._floatLabel=tt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(tt){const ut=this._appearance;this._appearance=tt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==ut&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(tt){this._subscriptSizing=tt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(tt){this._hintLabel=tt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(tt){this._explicitFormFieldControl=tt}constructor(tt,ut,Oe,Ct,Pt,Nt,bt,_e){this._elementRef=tt,this._changeDetectorRef=ut,this._ngZone=Oe,this._dir=Ct,this._platform=Pt,this._defaults=Nt,this._animationMode=bt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+an++,this._hintLabelId="mat-mdc-hint-"+an++,this._subscriptAnimationState="",this._destroyed=new u.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Nt&&(Nt.appearance&&(this.appearance=Nt.appearance),this._hideRequiredMarker=!!Nt?.hideRequiredMarker,Nt.color&&(this.color=Nt.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const tt=this._control;tt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${tt.controlType}`),tt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),tt.ngControl&&tt.ngControl.valueChanges&&tt.ngControl.valueChanges.pipe((0,s.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(tt=>!tt._isText),this._hasTextPrefix=!!this._prefixChildren.find(tt=>tt._isText),this._hasIconSuffix=!!this._suffixChildren.find(tt=>!tt._isText),this._hasTextSuffix=!!this._suffixChildren.find(tt=>tt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,v.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,s.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(tt){const ut=this._control?this._control.ngControl:null;return ut&&ut[tt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let tt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&tt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ut=this._hintChildren?this._hintChildren.find(Ct=>"start"===Ct.align):null,Oe=this._hintChildren?this._hintChildren.find(Ct=>"end"===Ct.align):null;ut?tt.push(ut.id):this._hintLabel&&tt.push(this._hintLabelId),Oe&&tt.push(Oe.id)}else this._errorChildren&&tt.push(...this._errorChildren.map(ut=>ut.id));this._control.setDescribedByIds(tt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const tt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(tt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const ut=this._iconPrefixContainer?.nativeElement,Oe=this._textPrefixContainer?.nativeElement,Ct=ut?.getBoundingClientRect().width??0,Pt=Oe?.getBoundingClientRect().width??0;tt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ct+Pt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const tt=this._elementRef.nativeElement;if(tt.getRootNode){const ut=tt.getRootNode();return ut&&ut!==tt}return document.documentElement.contains(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.Is),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-form-field"]],contentQueries:function(ut,Oe,Ct){if(1&ut&&(n.\u0275\u0275contentQuery(Ct,Ye,5),n.\u0275\u0275contentQuery(Ct,Ye,7),n.\u0275\u0275contentQuery(Ct,yt,5),n.\u0275\u0275contentQuery(Ct,Ie,5),n.\u0275\u0275contentQuery(Ct,ge,5),n.\u0275\u0275contentQuery(Ct,Et,5),n.\u0275\u0275contentQuery(Ct,Ee,5)),2&ut){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildNonStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._formFieldControl=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._prefixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._suffixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._errorChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._hintChildren=Pt)}},viewQuery:function(ut,Oe){if(1&ut&&(n.\u0275\u0275viewQuery(M,5),n.\u0275\u0275viewQuery(k,5),n.\u0275\u0275viewQuery(I,5),n.\u0275\u0275viewQuery(Re,5),n.\u0275\u0275viewQuery(Ne,5),n.\u0275\u0275viewQuery(Pe,5)),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textField=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._iconPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._floatingLabel=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notchedOutline=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._lineRipple=Ct.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Oe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Oe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Oe._hasIconSuffix)("mat-form-field-invalid",Oe._control.errorState)("mat-form-field-disabled",Oe._control.disabled)("mat-form-field-autofilled",Oe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Oe._animationMode)("mat-form-field-appearance-fill","fill"==Oe.appearance)("mat-form-field-appearance-outline","outline"==Oe.appearance)("mat-form-field-hide-placeholder",Oe._hasFloatingLabel()&&!Oe._shouldLabelFloat())("mat-focused",Oe._control.focused)("mat-primary","accent"!==Oe.color&&"warn"!==Oe.color)("mat-accent","accent"===Oe.color)("mat-warn","warn"===Oe.color)("ng-untouched",Oe._shouldForward("untouched"))("ng-touched",Oe._shouldForward("touched"))("ng-pristine",Oe._shouldForward("pristine"))("ng-dirty",Oe._shouldForward("dirty"))("ng-valid",Oe._shouldForward("valid"))("ng-invalid",Oe._shouldForward("invalid"))("ng-pending",Oe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n.\u0275\u0275ProvidersFeature([{provide:cn,useExisting:Xe},{provide:q,useExisting:Xe}])],ngContentSelectors:$e,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(ut,Oe){if(1&ut&&(n.\u0275\u0275projectionDef(Ge),n.\u0275\u0275template(0,L,1,1,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275listener("click",function(Pt){return Oe._control.onContainerClick(Pt)}),n.\u0275\u0275template(4,F,1,0,"div",3),n.\u0275\u0275elementStart(5,"div",4),n.\u0275\u0275template(6,W,2,2,"div",5)(7,ne,3,0,"div",6)(8,ee,3,0,"div",7),n.\u0275\u0275elementStart(9,"div",8),n.\u0275\u0275template(10,B,1,1,null,9),n.\u0275\u0275projection(11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(12,$,2,0,"div",10)(13,Z,2,0,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(14,H,1,0,"div",12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(15,"div",13),n.\u0275\u0275template(16,te,2,1)(17,ye,5,2),n.\u0275\u0275elementEnd()),2&ut){let Ct;n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-text-field--filled",!Oe._hasOutline())("mdc-text-field--outlined",Oe._hasOutline())("mdc-text-field--no-label",!Oe._hasFloatingLabel())("mdc-text-field--disabled",Oe._control.disabled)("mdc-text-field--invalid",Oe._control.errorState),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(4,Oe._hasOutline()||Oe._control.disabled?-1:4),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(6,Oe._hasOutline()?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(7,Oe._hasIconPrefix?7:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(8,Oe._hasTextPrefix?8:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(10,!Oe._hasOutline()||Oe._forceDisplayInfixLabel()?10:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(12,Oe._hasTextSuffix?12:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(13,Oe._hasIconSuffix?13:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(14,Oe._hasOutline()?-1:14),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Oe.subscriptSizing),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(16,"error"===(Ct=Oe._getDisplayedMessages())?16:"hint"===Ct?17:-1)}},dependencies:[b.NgTemplateOutlet,Ee,Re,Ne,Pe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Be.transitionMessages]},changeDetection:0})}return Xe})(),Ve=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[x.MatCommonModule,b.CommonModule,C.Q8,x.MatCommonModule]})}return Xe})()},617:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ICON_REGISTRY_PROVIDER:()=>F,ICON_REGISTRY_PROVIDER_FACTORY:()=>L,MAT_ICON_DEFAULT_OPTIONS:()=>ee,MAT_ICON_LOCATION:()=>j,MAT_ICON_LOCATION_FACTORY:()=>B,MatIcon:()=>te,MatIconModule:()=>ue,MatIconRegistry:()=>A,getMatIconFailedToSanitizeLiteralError:()=>I,getMatIconFailedToSanitizeUrlError:()=>k,getMatIconNameNotFoundError:()=>S,getMatIconNoHttpProviderError:()=>M});var n=_(9212),f=_(3680),D=_(2495),y=_(6814),u=_(2096),v=_(8504),s=_(9315),m=_(7394),h=_(9397),o=_(7398),l=_(6306),r=_(4716),c=_(3020),d=_(8180),g=_(9862),b=_(6593);const C=["*"];let x;function T(ye){return function w(){if(void 0===x&&(x=null,typeof window<"u")){const ye=window;void 0!==ye.trustedTypes&&(x=ye.trustedTypes.createPolicy("angular#components",{createHTML:Ge=>Ge}))}return x}()?.createHTML(ye)||ye}function S(ye){return Error(`Unable to find icon with the name "${ye}"`)}function M(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function k(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function I(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class P{constructor(Ge,$e,Ye){this.url=Ge,this.svgText=$e,this.options=Ye}}let A=(()=>{class ye{constructor($e,Ye,Ze,Et){this._httpClient=$e,this._sanitizer=Ye,this._errorHandler=Et,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","mat-ligature-font"],this._document=Ze}addSvgIcon($e,Ye,Ze){return this.addSvgIconInNamespace("",$e,Ye,Ze)}addSvgIconLiteral($e,Ye,Ze){return this.addSvgIconLiteralInNamespace("",$e,Ye,Ze)}addSvgIconInNamespace($e,Ye,Ze,Et){return this._addSvgIconConfig($e,Ye,new P(Ze,null,Et))}addSvgIconResolver($e){return this._resolvers.push($e),this}addSvgIconLiteralInNamespace($e,Ye,Ze,Et){const Te=this._sanitizer.sanitize(n.SecurityContext.HTML,Ze);if(!Te)throw I(Ze);const qe=T(Te);return this._addSvgIconConfig($e,Ye,new P("",qe,Et))}addSvgIconSet($e,Ye){return this.addSvgIconSetInNamespace("",$e,Ye)}addSvgIconSetLiteral($e,Ye){return this.addSvgIconSetLiteralInNamespace("",$e,Ye)}addSvgIconSetInNamespace($e,Ye,Ze){return this._addSvgIconSetConfig($e,new P(Ye,null,Ze))}addSvgIconSetLiteralInNamespace($e,Ye,Ze){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,Ye);if(!Et)throw I(Ye);const Te=T(Et);return this._addSvgIconSetConfig($e,new P("",Te,Ze))}registerFontClassAlias($e,Ye=$e){return this._fontCssClassesByAlias.set($e,Ye),this}classNameForFontAlias($e){return this._fontCssClassesByAlias.get($e)||$e}setDefaultFontSetClass(...$e){return this._defaultFontSetClass=$e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl($e){const Ye=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,$e);if(!Ye)throw k($e);const Ze=this._cachedIconsByUrl.get(Ye);return Ze?(0,u.of)(R(Ze)):this._loadSvgIconFromConfig(new P($e,null)).pipe((0,h.b)(Et=>this._cachedIconsByUrl.set(Ye,Et)),(0,o.U)(Et=>R(Et)))}getNamedSvgIcon($e,Ye=""){const Ze=U(Ye,$e);let Et=this._svgIconConfigs.get(Ze);if(Et)return this._getSvgFromConfig(Et);if(Et=this._getIconConfigFromResolvers(Ye,$e),Et)return this._svgIconConfigs.set(Ze,Et),this._getSvgFromConfig(Et);const Te=this._iconSetConfigs.get(Ye);return Te?this._getSvgFromIconSetConfigs($e,Te):(0,v._)(S(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig($e){return $e.svgText?(0,u.of)(R(this._svgElementFromConfig($e))):this._loadSvgIconFromConfig($e).pipe((0,o.U)(Ye=>R(Ye)))}_getSvgFromIconSetConfigs($e,Ye){const Ze=this._extractIconWithNameFromAnySet($e,Ye);if(Ze)return(0,u.of)(Ze);const Et=Ye.filter(Te=>!Te.svgText).map(Te=>this._loadSvgIconSetFromConfig(Te).pipe((0,l.K)(qe=>{const Ie=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Te.url)} failed: ${qe.message}`;return this._errorHandler.handleError(new Error(Ie)),(0,u.of)(null)})));return(0,s.D)(Et).pipe((0,o.U)(()=>{const Te=this._extractIconWithNameFromAnySet($e,Ye);if(!Te)throw S($e);return Te}))}_extractIconWithNameFromAnySet($e,Ye){for(let Ze=Ye.length-1;Ze>=0;Ze--){const Et=Ye[Ze];if(Et.svgText&&Et.svgText.toString().indexOf($e)>-1){const Te=this._svgElementFromConfig(Et),qe=this._extractSvgIconFromSet(Te,$e,Et.options);if(qe)return qe}}return null}_loadSvgIconFromConfig($e){return this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye),(0,o.U)(()=>this._svgElementFromConfig($e)))}_loadSvgIconSetFromConfig($e){return $e.svgText?(0,u.of)(null):this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye))}_extractSvgIconFromSet($e,Ye,Ze){const Et=$e.querySelector(`[id="${Ye}"]`);if(!Et)return null;const Te=Et.cloneNode(!0);if(Te.removeAttribute("id"),"svg"===Te.nodeName.toLowerCase())return this._setSvgAttributes(Te,Ze);if("symbol"===Te.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Te),Ze);const qe=this._svgElementFromString(T(""));return qe.appendChild(Te),this._setSvgAttributes(qe,Ze)}_svgElementFromString($e){const Ye=this._document.createElement("DIV");Ye.innerHTML=$e;const Ze=Ye.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement($e){const Ye=this._svgElementFromString(T("")),Ze=$e.attributes;for(let Et=0;EtT(Ie)),(0,r.x)(()=>this._inProgressUrlFetches.delete(Te)),(0,c.B)());return this._inProgressUrlFetches.set(Te,Ee),Ee}_addSvgIconConfig($e,Ye,Ze){return this._svgIconConfigs.set(U($e,Ye),Ze),this}_addSvgIconSetConfig($e,Ye){const Ze=this._iconSetConfigs.get($e);return Ze?Ze.push(Ye):this._iconSetConfigs.set($e,[Ye]),this}_svgElementFromConfig($e){if(!$e.svgElement){const Ye=this._svgElementFromString($e.svgText);this._setSvgAttributes(Ye,$e.options),$e.svgElement=Ye}return $e.svgElement}_getIconConfigFromResolvers($e,Ye){for(let Ze=0;ZeGe?Ge.pathname+Ge.search:""}}const $=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Z=$.map(ye=>`[${ye}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let te=(()=>{class ye extends ne{get inline(){return this._inline}set inline($e){this._inline=(0,D.Ig)($e)}get svgIcon(){return this._svgIcon}set svgIcon($e){$e!==this._svgIcon&&($e?this._updateSvgIcon($e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=$e)}get fontSet(){return this._fontSet}set fontSet($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontSet&&(this._fontSet=Ye,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontIcon&&(this._fontIcon=Ye,this._updateFontIconClasses())}constructor($e,Ye,Ze,Et,Te,qe){super($e),this._iconRegistry=Ye,this._location=Et,this._errorHandler=Te,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=m.w0.EMPTY,qe&&(qe.color&&(this.color=this.defaultColor=qe.color),qe.fontSet&&(this.fontSet=qe.fontSet)),Ze||$e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName($e){if(!$e)return["",""];const Ye=$e.split(":");switch(Ye.length){case 1:return["",Ye[0]];case 2:return Ye;default:throw Error(`Invalid icon name: "${$e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const $e=this._elementsWithExternalReferences;if($e&&$e.size){const Ye=this._location.getPathname();Ye!==this._previousPath&&(this._previousPath=Ye,this._prependPathToReferences(Ye))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement($e){this._clearSvgElement();const Ye=this._location.getPathname();this._previousPath=Ye,this._cacheChildrenWithExternalReferences($e),this._prependPathToReferences(Ye),this._elementRef.nativeElement.appendChild($e)}_clearSvgElement(){const $e=this._elementRef.nativeElement;let Ye=$e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ye--;){const Ze=$e.childNodes[Ye];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const $e=this._elementRef.nativeElement,Ye=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>$e.classList.remove(Ze)),Ye.forEach(Ze=>$e.classList.add(Ze)),this._previousFontSetClass=Ye,this.fontIcon!==this._previousFontIconClass&&!Ye.includes("mat-ligature-font")&&(this._previousFontIconClass&&$e.classList.remove(this._previousFontIconClass),this.fontIcon&&$e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue($e){return"string"==typeof $e?$e.trim().split(" ")[0]:$e}_prependPathToReferences($e){const Ye=this._elementsWithExternalReferences;Ye&&Ye.forEach((Ze,Et)=>{Ze.forEach(Te=>{Et.setAttribute(Te.name,`url('${$e}#${Te.value}')`)})})}_cacheChildrenWithExternalReferences($e){const Ye=$e.querySelectorAll(Z),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Et=0;Et{const qe=Ye[Et],Ee=qe.getAttribute(Te),Ie=Ee?Ee.match(H):null;if(Ie){let Ce=Ze.get(qe);Ce||(Ce=[],Ze.set(qe,Ce)),Ce.push({name:Te,value:Ie[1]})}})}_updateSvgIcon($e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),$e){const[Ye,Ze]=this._splitIconName($e);Ye&&(this._svgNamespace=Ye),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,Ye).pipe((0,d.q)(1)).subscribe(Et=>this._setSvgElement(Et),Et=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Ye}:${Ze}! ${Et.message}`))})}}static#e=this.\u0275fac=function(Ye){return new(Ye||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(ee,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ye,Ze){2&Ye&&(n.\u0275\u0275attribute("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:1,vars:0,template:function(Ye,Ze){1&Ye&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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})}return ye})(),ue=(()=>{class ye{static#e=this.\u0275fac=function(Ye){return new(Ye||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return ye})()},8582:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_INPUT_VALUE_ACCESSOR:()=>g,MatInput:()=>w,MatInputModule:()=>T,getMatInputUnsupportedTypeError:()=>d});var n=_(2495),f=_(2831),D=_(9212),y=_(6232),u=_(8645);const v=(0,f.i$)({passive:!0});let s=(()=>{class S{constructor(k,I){this._platform=k,this._ngZone=I,this._monitoredElements=new Map}monitor(k){if(!this._platform.isBrowser)return y.E;const I=(0,n.fI)(k),P=this._monitoredElements.get(I);if(P)return P.subject;const A=new u.x,L="cdk-text-field-autofilled",F=R=>{"cdk-text-field-autofill-start"!==R.animationName||I.classList.contains(L)?"cdk-text-field-autofill-end"===R.animationName&&I.classList.contains(L)&&(I.classList.remove(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!1}))):(I.classList.add(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{I.addEventListener("animationstart",F,v),I.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(I,{subject:A,unlisten:()=>{I.removeEventListener("animationstart",F,v)}}),A}stopMonitoring(k){const I=(0,n.fI)(k),P=this._monitoredElements.get(I);P&&(P.unlisten(),P.subject.complete(),I.classList.remove("cdk-text-field-autofill-monitored"),I.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(I))}ngOnDestroy(){this._monitoredElements.forEach((k,I)=>this.stopMonitoring(I))}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275inject(f.t4),D.\u0275\u0275inject(D.NgZone))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),o=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({})}return S})();var l=_(6223),r=_(3680),c=_(4170);function d(S){return Error(`Input type "${S}" isn't supported by matInput.`)}const g=new D.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),b=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let C=0;const x=(0,r.mixinErrorState)(class{constructor(S,M,k,I){this._defaultErrorStateMatcher=S,this._parentForm=M,this._parentFormGroup=k,this.ngControl=I,this.stateChanges=new u.x}});let w=(()=>{class S extends x{get disabled(){return this._disabled}set disabled(k){this._disabled=(0,n.Ig)(k),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(k){this._id=k||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(l.Validators.required)??!1}set required(k){this._required=(0,n.Ig)(k)}get type(){return this._type}set type(k){this._type=k||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(k){k!==this.value&&(this._inputValueAccessor.value=k,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(k){this._readonly=(0,n.Ig)(k)}constructor(k,I,P,A,L,F,R,U,W,ne){super(F,A,L,P),this._elementRef=k,this._platform=I,this._autofillMonitor=U,this._formField=ne,this._uid="mat-input-"+C++,this.focused=!1,this.stateChanges=new u.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(B=>(0,f.qK)().has(B)),this._iOSKeyupListener=B=>{const $=B.target;!$.value&&0===$.selectionStart&&0===$.selectionEnd&&($.setSelectionRange(1,1),$.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,j=ee.nodeName.toLowerCase();this._inputValueAccessor=R||ee,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&W.runOutsideAngular(()=>{k.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===j,this._isTextarea="textarea"===j,this._isInFormField=!!ne,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(k=>{this.autofilled=k.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(k){this._elementRef.nativeElement.focus(k)}_focusChanged(k){k!==this.focused&&(this.focused=k,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const k=this._elementRef.nativeElement.value;this._previousNativeValue!==k&&(this._previousNativeValue=k,this.stateChanges.next())}_dirtyCheckPlaceholder(){const k=this._getPlaceholder();if(k!==this._previousPlaceholder){const I=this._elementRef.nativeElement;this._previousPlaceholder=k,k?I.setAttribute("placeholder",k):I.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){b.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let k=this._elementRef.nativeElement.validity;return k&&k.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const k=this._elementRef.nativeElement,I=k.options[0];return this.focused||k.multiple||!this.empty||!!(k.selectedIndex>-1&&I&&I.label)}return this.focused||!this.empty}setDescribedByIds(k){k.length?this._elementRef.nativeElement.setAttribute("aria-describedby",k.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const k=this._elementRef.nativeElement;return this._isNativeSelect&&(k.multiple||k.size>1)}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(f.t4),D.\u0275\u0275directiveInject(l.NgControl,10),D.\u0275\u0275directiveInject(l.NgForm,8),D.\u0275\u0275directiveInject(l.FormGroupDirective,8),D.\u0275\u0275directiveInject(r.ErrorStateMatcher),D.\u0275\u0275directiveInject(g,10),D.\u0275\u0275directiveInject(s),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(c.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:S,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(I,P){1&I&&D.\u0275\u0275listener("focus",function(){return P._focusChanged(!0)})("blur",function(){return P._focusChanged(!1)})("input",function(){return P._onInput()}),2&I&&(D.\u0275\u0275hostProperty("id",P.id)("disabled",P.disabled)("required",P.required),D.\u0275\u0275attribute("name",P.name||null)("readonly",P.readonly&&!P._isNativeSelect||null)("aria-invalid",P.empty&&P.required?null:P.errorState)("aria-required",P.required)("id",P.id),D.\u0275\u0275classProp("mat-input-server",P._isServer)("mat-mdc-form-field-textarea-control",P._isInFormField&&P._isTextarea)("mat-mdc-form-field-input-control",P._isInFormField)("mdc-text-field__input",P._isInFormField)("mat-mdc-native-select-inline",P._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:[D.\u0275\u0275ProvidersFeature([{provide:c.MatFormFieldControl,useExisting:S}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature]})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({imports:[r.MatCommonModule,c.MatFormFieldModule,c.MatFormFieldModule,o,r.MatCommonModule]})}return S})()},7988:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_MENU_CONTENT:()=>j,MAT_MENU_DEFAULT_OPTIONS:()=>ue,MAT_MENU_PANEL:()=>R,MAT_MENU_SCROLL_STRATEGY:()=>$e,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ze,MENU_PANEL_TOP_PADDING:()=>Te,MatMenu:()=>Ge,MatMenuContent:()=>B,MatMenuItem:()=>U,MatMenuModule:()=>Ee,MatMenuTrigger:()=>qe,fadeInItems:()=>Z,matMenuAnimations:()=>$,transformMenu:()=>H});var n=_(9212),f=_(4191),D=_(6028),y=_(8645),u=_(3019),v=_(7394),s=_(2096),m=_(6410),h=_(7921),o=_(4664),l=_(8180),r=_(9773),c=_(2181),d=_(7547),g=_(6814),b=_(3680),C=_(8484),x=_(6825),w=_(9388),T=_(9594),S=_(2831),M=_(6672);const k=["mat-menu-item",""];function I(Ie,Ce){1&Ie&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const P=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A=["mat-icon, [matMenuItemIcon]","*"];function L(Ie,Ce){if(1&Ie){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._handleKeydown(q))})("click",function(){n.\u0275\u0275restoreView(ge);const q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationStart(q))})("@transformMenu.done",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationDone(q))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Ie){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ge.panelId)("ngClass",ge._classList)("@transformMenu",ge._panelAnimationState),n.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby||null)("aria-describedby",ge.ariaDescribedby||null)}}const F=["*"],R=new n.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class Ie{constructor(ge,Ae,q,Re,ke){this._elementRef=ge,this._document=Ae,this._focusMonitor=q,this._parentMenu=Re,this._changeDetectorRef=ke,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.x,this._focused=new y.x,this._highlighted=!1,this._triggersSubmenu=!1,Re?.addItem?.(this)}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._getHostElement(),ge,Ae):this._getHostElement().focus(Ae),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(ge){this.disabled&&(ge.preventDefault(),ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ge=this._elementRef.nativeElement.cloneNode(!0),Ae=ge.querySelectorAll("mat-icon, .material-icons");for(let q=0;q{class Ie{constructor(ge,Ae,q,Re,ke,Ke,me){this._template=ge,this._componentFactoryResolver=Ae,this._appRef=q,this._injector=Re,this._viewContainerRef=ke,this._document=Ke,this._changeDetectorRef=me,this._attached=new y.x}attach(ge={}){this._portal||(this._portal=new C.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new C.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const Ae=this._template.elementRef.nativeElement;Ae.parentNode.insertBefore(this._outlet.outletElement,Ae),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ge),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(g.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:Ie}])]})}return Ie})();const $={transformMenu:(0,x.X$)("transformMenu",[(0,x.SB)("void",(0,x.oB)({opacity:0,transform:"scale(0.8)"})),(0,x.eR)("void => enter",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,x.oB)({opacity:1,transform:"scale(1)"}))),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))]),fadeInItems:(0,x.X$)("fadeInItems",[(0,x.SB)("showing",(0,x.oB)({opacity:1})),(0,x.eR)("void => *",[(0,x.oB)({opacity:0}),(0,x.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Z=$.fadeInItems,H=$.transformMenu;let te=0;const ue=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ye(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ge=(()=>{class Ie{get xPosition(){return this._xPosition}set xPosition(ge){this._xPosition=ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ge){this._yPosition=ge,this.setPositionClasses()}set panelClass(ge){const Ae=this._previousPanelClass;Ae&&Ae.length&&Ae.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=ge,ge&&ge.length&&(ge.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ge){this.panelClass=ge}constructor(ge,Ae,q,Re){this._elementRef=ge,this._ngZone=Ae,this._changeDetectorRef=Re,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new y.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+te++,this.overlayPanelClass=q.overlayPanelClass||"",this._xPosition=q.xPosition,this._yPosition=q.yPosition,this.backdropClass=q.backdropClass,this.overlapTrigger=q.overlapTrigger,this.hasBackdrop=q.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new f.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(ge=>(0,u.T)(...ge.map(Ae=>Ae._focused)))).subscribe(ge=>this._keyManager.updateActiveItem(ge)),this._directDescendantItems.changes.subscribe(ge=>{const Ae=this._keyManager;if("enter"===this._panelAnimationState&&Ae.activeItem?._hasFocus()){const q=ge.toArray(),Re=Math.max(0,Math.min(q.length-1,Ae.activeItemIndex||0));q[Re]&&!q[Re].disabled?Ae.setActiveItem(Re):Ae.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(Ae=>(0,u.T)(...Ae.map(q=>q._hovered))))}addItem(ge){}removeItem(ge){}_handleKeydown(ge){const Ae=ge.keyCode,q=this._keyManager;switch(Ae){case D.hY:(0,D.Vb)(ge)||(ge.preventDefault(),this.closed.emit("keydown"));break;case D.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case D.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ae===D.LH||Ae===D.JH)&&q.setFocusOrigin("keyboard"),void q.onKeydown(ge)}ge.stopPropagation()}focusFirstItem(ge="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(()=>{let Ae=null;if(this._directDescendantItems.length&&(Ae=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ae||!Ae.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(ge).setFirstItemActive(),!q.activeItem&&Ae&&Ae.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ge){const Ae=Math.min(this._baseElevation+ge,24),q=`${this._elevationPrefix}${Ae}`,Re=Object.keys(this._classList).find(ke=>ke.startsWith(this._elevationPrefix));(!Re||Re===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(ge=this.xPosition,Ae=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===ge,q["mat-menu-after"]="after"===ge,q["mat-menu-above"]="above"===Ae,q["mat-menu-below"]="below"===Ae,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ge){this._animationDone.next(ge),this._isAnimating=!1}_onAnimationStart(ge){this._isAnimating=!0,"enter"===ge.toState&&0===this._keyManager.activeItemIndex&&(ge.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.O)(this._allItems)).subscribe(ge=>{this._directDescendantItems.reset(ge.filter(Ae=>Ae._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-menu"]],contentQueries:function(Ae,q,Re){if(1&Ae&&(n.\u0275\u0275contentQuery(Re,j,5),n.\u0275\u0275contentQuery(Re,U,5),n.\u0275\u0275contentQuery(Re,U,4)),2&Ae){let ke;n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.lazyContent=ke.first),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q._allItems=ke),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.items=ke)}},viewQuery:function(Ae,q){if(1&Ae&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Ae){let Re;n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(q.templateRef=Re.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(Ae,q){2&Ae&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",n.booleanAttribute],hasBackdrop:["hasBackdrop","hasBackdrop",ge=>null==ge?null:(0,n.booleanAttribute)(ge)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:R,useExisting:Ie}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:F,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(Ae,q){1&Ae&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,L,3,6,"ng-template"))},dependencies:[g.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[$.transformMenu,$.fadeInItems]},changeDetection:0})}return Ie})();const $e=new n.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,n.inject)(T.aV);return()=>Ie.scrollStrategies.reposition()}}),Ze={provide:$e,deps:[T.aV],useFactory:function Ye(Ie){return()=>Ie.scrollStrategies.reposition()}},Et=(0,S.i$)({passive:!0}),Te=8;let qe=(()=>{class Ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ge){this.menu=ge}get menu(){return this._menu}set menu(ge){ge!==this._menu&&(this._menu=ge,this._menuCloseSubscription.unsubscribe(),ge&&(this._menuCloseSubscription=ge.close.subscribe(Ae=>{this._destroyMenu(Ae),("click"===Ae||"tab"===Ae)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ae)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ge,Ae,q,Re,ke,Ke,me,Pe,Ne){this._overlay=ge,this._element=Ae,this._viewContainerRef=q,this._menuItemInstance=Ke,this._dir=me,this._focusMonitor=Pe,this._ngZone=Ne,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=v.w0.EMPTY,this._hoverSubscription=v.w0.EMPTY,this._menuCloseSubscription=v.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=Be=>{(0,f.yG)(Be)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Re,this._parentMaterialMenu=ke instanceof Ge?ke:void 0,Ae.nativeElement.addEventListener("touchstart",this._handleTouchStart,Et)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Et),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ge=this.menu;if(this._menuOpen||!ge)return;const Ae=this._createOverlay(ge),q=Ae.getConfig(),Re=q.positionStrategy;this._setPosition(ge,Re),q.hasBackdrop=null==ge.hasBackdrop?!this.triggersSubmenu():ge.hasBackdrop,Ae.attach(this._getPortal(ge)),ge.lazyContent&&ge.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ge),ge instanceof Ge&&(ge._startAnimation(),ge._directDescendantItems.changes.pipe((0,r.R)(ge.close)).subscribe(()=>{Re.withLockedPosition(!1).reapplyLastPosition(),Re.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._element,ge,Ae):this._element.nativeElement.focus(Ae)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ge){if(!this._overlayRef||!this.menuOpen)return;const Ae=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ge||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ae instanceof Ge?(Ae._resetAnimation(),Ae.lazyContent?Ae._animationDone.pipe((0,c.h)(q=>"void"===q.toState),(0,l.q)(1),(0,r.R)(Ae.lazyContent._attached)).subscribe({next:()=>Ae.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ae?.lazyContent?.detach())}_initMenu(ge){ge.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ge.direction=this.dir,this._setMenuElevation(ge),ge.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ge){if(ge.setElevation){let Ae=0,q=ge.parentMenu;for(;q;)Ae++,q=q.parentMenu;ge.setElevation(Ae)}}_setIsMenuOpen(ge){ge!==this._menuOpen&&(this._menuOpen=ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ge),this._changeDetectorRef.markForCheck())}_createOverlay(ge){if(!this._overlayRef){const Ae=this._getOverlayConfig(ge);this._subscribeToPositions(ge,Ae.positionStrategy),this._overlayRef=this._overlay.create(Ae),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ge){return new T.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ge,Ae){ge.setPositionClasses&&Ae.positionChanges.subscribe(q=>{const Re="start"===q.connectionPair.overlayX?"after":"before",ke="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ge.setPositionClasses(Re,ke)):ge.setPositionClasses(Re,ke)})}_setPosition(ge,Ae){let[q,Re]="before"===ge.xPosition?["end","start"]:["start","end"],[ke,Ke]="above"===ge.yPosition?["bottom","top"]:["top","bottom"],[me,Pe]=[ke,Ke],[Ne,Be]=[q,Re],yt=0;if(this.triggersSubmenu()){if(Be=q="before"===ge.xPosition?"start":"end",Re=Ne="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ot=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ot?Ot._getHostElement().offsetTop:0}yt="bottom"===ke?this._parentInnerPadding:-this._parentInnerPadding}}else ge.overlapTrigger||(me="top"===ke?"bottom":"top",Pe="top"===Ke?"bottom":"top");Ae.withPositions([{originX:q,originY:me,overlayX:Ne,overlayY:ke,offsetY:yt},{originX:Re,originY:me,overlayX:Be,overlayY:ke,offsetY:yt},{originX:q,originY:Pe,overlayX:Ne,overlayY:Ke,offsetY:-yt},{originX:Re,originY:Pe,overlayX:Be,overlayY:Ke,offsetY:-yt}])}_menuClosingActions(){const ge=this._overlayRef.backdropClick(),Ae=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),Re=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,c.h)(ke=>ke!==this._menuItemInstance),(0,c.h)(()=>this._menuOpen)):(0,s.of)();return(0,u.T)(ge,q,Re,Ae)}_handleMousedown(ge){(0,f.X6)(ge)||(this._openedBy=0===ge.button?"mouse":void 0,this.triggersSubmenu()&&ge.preventDefault())}_handleKeydown(ge){const Ae=ge.keyCode;(Ae===D.K5||Ae===D.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ae===D.SV&&"ltr"===this.dir||Ae===D.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ge){this.triggersSubmenu()?(ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,c.h)(ge=>ge===this._menuItemInstance&&!ge.disabled),(0,d.g)(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ge&&this.menu._isAnimating?this.menu._animationDone.pipe((0,l.q)(1),(0,d.g)(0,m.E),(0,r.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ge){return(!this._portal||this._portal.templateRef!==ge.templateRef)&&(this._portal=new C.UE(ge.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(T.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject($e),n.\u0275\u0275directiveInject(R,8),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(w.Is,8),n.\u0275\u0275directiveInject(f.tE),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ae,q){1&Ae&&n.\u0275\u0275listener("click",function(ke){return q._handleClick(ke)})("mousedown",function(ke){return q._handleMousedown(ke)})("keydown",function(ke){return q._handleKeydown(ke)}),2&Ae&&n.\u0275\u0275attribute("aria-haspopup",q.menu?"menu":null)("aria-expanded",q.menuOpen)("aria-controls",q.menuOpen?q.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"},exportAs:["matMenuTrigger"]})}return Ie})(),Ee=(()=>{class Ie{static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ie});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ze],imports:[g.CommonModule,b.MatRippleModule,b.MatCommonModule,T.U8,M.ZD,b.MatCommonModule]})}return Ie})()},1476:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>T,MAT_PAGINATOR_INTL_PROVIDER:()=>C,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>b,MatPaginator:()=>k,MatPaginatorIntl:()=>g,MatPaginatorModule:()=>I,PageEvent:()=>w});var n=_(9212),f=_(8645),D=_(2296),y=_(8525),u=_(2596),v=_(3680),s=_(2495),m=_(4170);function h(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"mat-option",18),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=A.$implicit;n.\u0275\u0275property("value",L),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L," ")}}function o(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),n.\u0275\u0275listener("selectionChange",function(R){n.\u0275\u0275restoreView(L);const U=n.\u0275\u0275nextContext(2);return n.\u0275\u0275resetView(U._changePageSize(R.value))}),n.\u0275\u0275repeaterCreate(2,h,2,2,"mat-option",18,n.\u0275\u0275repeaterTrackByIdentity),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("appearance",L._formFieldAppearance)("color",L.color),n.\u0275\u0275advance(1),n.\u0275\u0275property("value",L.pageSize)("disabled",L.disabled)("aria-labelledby",L._pageSizeLabelId)("panelClass",L.selectConfig.panelClass||"")("disableOptionCentering",L.selectConfig.disableOptionCentering),n.\u0275\u0275advance(1),n.\u0275\u0275repeater(L._displayedPageSizeOptions)}}function l(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",19),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(L.pageSize)}}function r(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",12)(1,"div",13),n.\u0275\u0275text(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,o,4,7,"mat-form-field",14)(4,l,2,1,"div",15),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275attribute("id",L._pageSizeLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L._intl.itemsPerPageLabel," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(3,L._displayedPageSizeOptions.length>1?3:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(4,L._displayedPageSizeOptions.length<=1?4:-1)}}function c(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",20),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.firstPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",21),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.firstPageLabel)("matTooltipDisabled",L._previousButtonsDisabled())("matTooltipPosition","above")("disabled",L._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.firstPageLabel)}}function d(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275namespaceSVG(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(0,"button",22),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.lastPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",23),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.lastPageLabel)("matTooltipDisabled",L._nextButtonsDisabled())("matTooltipPosition","above")("disabled",L._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.lastPageLabel)}}let g=(()=>{class P{constructor(){this.changes=new f.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(L,F,R)=>{if(0==R||0==F)return`0 of ${R}`;const U=L*F;return`${U+1} \u2013 ${U<(R=Math.max(R,0))?Math.min(U+F,R):U+F} of ${R}`}}static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();function b(P){return P||new g}const C={provide:g,deps:[[new n.Optional,new n.SkipSelf,g]],useFactory:b};class w{}const T=new n.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),S=(0,v.mixinDisabled)((0,v.mixinInitialized)(class{}));let M=0,k=(()=>{class P extends S{get pageIndex(){return this._pageIndex}set pageIndex(L){this._pageIndex=Math.max((0,s.su)(L),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(L){this._length=(0,s.su)(L),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(L){this._pageSize=Math.max((0,s.su)(L),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(L){this._pageSizeOptions=(L||[]).map(F=>(0,s.su)(F)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(L){this._hidePageSize=(0,s.Ig)(L)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(L){this._showFirstLastButtons=(0,s.Ig)(L)}constructor(L,F,R){if(super(),this._intl=L,this._changeDetectorRef=F,this._pageSizeLabelId="mat-paginator-page-size-label-"+M++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new n.EventEmitter,this._intlChanges=L.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),R){const{pageSize:U,pageSizeOptions:W,hidePageSize:ne,showFirstLastButtons:ee}=R;null!=U&&(this._pageSize=U),null!=W&&(this._pageSizeOptions=W),null!=ne&&(this._hidePageSize=ne),null!=ee&&(this._showFirstLastButtons=ee)}this._formFieldAppearance=R?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(L)}previousPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(L)}firstPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=0,this._emitPageEvent(L)}lastPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(L)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const L=this.getNumberOfPages()-1;return this.pageIndexL-F),this._changeDetectorRef.markForCheck())}_emitPageEvent(L){this.page.emit({previousPageIndex:L,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(g),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(F,R){1&F&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,r,5,4,"div",2),n.\u0275\u0275elementStart(3,"div",3)(4,"div",4),n.\u0275\u0275text(5),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(6,c,3,5,"button",5),n.\u0275\u0275elementStart(7,"button",6),n.\u0275\u0275listener("click",function(){return R.previousPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",7),n.\u0275\u0275element(9,"path",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(10,"button",9),n.\u0275\u0275listener("click",function(){return R.nextPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(11,"svg",7),n.\u0275\u0275element(12,"path",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(13,d,3,5,"button",11),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,R.hidePageSize?-1:2),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate1(" ",R._intl.getRangeLabel(R.pageIndex,R.pageSize,R.length)," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,R.showFirstLastButtons?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matTooltip",R._intl.previousPageLabel)("matTooltipDisabled",R._previousButtonsDisabled())("matTooltipPosition","above")("disabled",R._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.previousPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275property("matTooltip",R._intl.nextPageLabel)("matTooltipDisabled",R._nextButtonsDisabled())("matTooltipPosition","above")("disabled",R._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.nextPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275conditional(13,R.showFirstLastButtons?13:-1))},dependencies:[D.MatIconButton,m.MatFormField,y.MatSelect,v.MatOption,u.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[C],imports:[D.MatButtonModule,y.MatSelectModule,u.AV]})}return P})()},5940:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>m,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>h,MatProgressSpinner:()=>r,MatProgressSpinnerModule:()=>d,MatSpinner:()=>c});var n=_(9212),f=_(3680),D=_(2495),y=_(6814);const u=["determinateSpinner"];function v(g,b){if(1&g&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",11),n.\u0275\u0275element(1,"circle",12),n.\u0275\u0275elementEnd()),2&g){const C=n.\u0275\u0275nextContext();n.\u0275\u0275attribute("viewBox",C._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",C._strokeCircumference(),"px")("stroke-dashoffset",C._strokeCircumference()/2,"px")("stroke-width",C._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",C._circleRadius())}}const s=(0,f.mixinColor)(class{constructor(g){this._elementRef=g}},"primary"),m=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:h});function h(){return{diameter:o}}const o=100;let r=(()=>{class g extends s{constructor(C,x,w){super(C),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=o,this._noopAnimations="NoopAnimations"===x&&!!w&&!w._forceAnimations,w&&(w.color&&(this.color=this.defaultColor=w.color),w.diameter&&(this.diameter=w.diameter),w.strokeWidth&&(this.strokeWidth=w.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(C){this._value=Math.max(0,Math.min(100,(0,D.su)(C)))}get diameter(){return this._diameter}set diameter(C){this._diameter=(0,D.su)(C)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(C){this._strokeWidth=(0,D.su)(C)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const C=2*this._circleRadius()+this.strokeWidth;return`0 0 ${C} ${C}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(x){return new(x||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(m))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(x,w){if(1&x&&n.\u0275\u0275viewQuery(u,5),2&x){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(w._determinateCircle=T.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(x,w){2&x&&(n.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===w.mode?w.value:null)("mode",w.mode),n.\u0275\u0275styleProp("width",w.diameter,"px")("height",w.diameter,"px")("--mdc-circular-progress-size",w.diameter+"px")("--mdc-circular-progress-active-indicator-width",w.diameter+"px"),n.\u0275\u0275classProp("_mat-animation-noopable",w._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===w.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(x,w){if(1&x&&(n.\u0275\u0275template(0,v,2,8,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(4,"svg",3),n.\u0275\u0275element(5,"circle",4),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),n.\u0275\u0275elementContainer(9,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(10,"div",9),n.\u0275\u0275elementContainer(11,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"div",10),n.\u0275\u0275elementContainer(13,8),n.\u0275\u0275elementEnd()()()),2&x){const T=n.\u0275\u0275reference(1);n.\u0275\u0275advance(4),n.\u0275\u0275attribute("viewBox",w._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",w._strokeCircumference(),"px")("stroke-dashoffset",w._strokeDashOffset(),"px")("stroke-width",w._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",w._circleRadius()),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T)}},dependencies:[y.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return g})();const c=r;let d=(()=>{class g{static#e=this.\u0275fac=function(x){return new(x||g)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:g});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[y.CommonModule,f.MatCommonModule]})}return g})()},7466:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_RADIO_DEFAULT_OPTIONS:()=>d,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>c,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>r,MatRadioButton:()=>w,MatRadioChange:()=>l,MatRadioGroup:()=>b,MatRadioModule:()=>T});var n=_(9212),f=_(3680),D=_(4191),y=_(2495),u=_(8337),v=_(6223),s=_(6814);const m=["input"],h=["*"];let o=0;class l{constructor(M,k){this.source=M,this.value=k}}const r={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>b),multi:!0},c=new n.InjectionToken("MatRadioGroup"),d=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let b=(()=>{class S{get name(){return this._name}set name(k){this._name=k,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(k){this._labelPosition="before"===k?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(k){this._selected=k,this.value=k?k.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,y.Ig)(k),this._markRadiosForCheck()}get required(){return this._required}set required(k){this._required=(0,y.Ig)(k),this._markRadiosForCheck()}constructor(k){this._changeDetector=k,this._value=null,this._name="mat-radio-group-"+o++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(k=>k===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(k=>{k.name=this.name,k._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(I=>{I.checked=this.value===I.value,I.checked&&(this._selected=I)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new l(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(k=>k._markForCheck())}writeValue(k){this.value=k,this._changeDetector.markForCheck()}registerOnChange(k){this._controlValueAccessorChangeFn=k}registerOnTouched(k){this.onTouched=k}setDisabledState(k){this.disabled=k,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:S,selectors:[["mat-radio-group"]],contentQueries:function(I,P,A){if(1&I&&n.\u0275\u0275contentQuery(A,w,5),2&I){let L;n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(P._radios=L)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([r,{provide:c,useExisting:S}])]})}return S})();class C{constructor(M){this._elementRef=M}}const x=(0,f.mixinDisableRipple)((0,f.mixinTabIndex)(C));let w=(()=>{class S extends x{get checked(){return this._checked}set checked(k){const I=(0,y.Ig)(k);this._checked!==I&&(this._checked=I,I&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!I&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),I&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===k),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(k){this._labelPosition=k}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(k){this._setDisabled((0,y.Ig)(k))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(k){this._required=(0,y.Ig)(k)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(k){this._color=k}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,I,P,A,L,F,R,U){super(I),this._changeDetector=P,this._focusMonitor=A,this._radioDispatcher=L,this._providerOverride=R,this._uniqueId="mat-radio-"+ ++o,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=k,this._noopAnimations="NoopAnimations"===F,U&&(this.tabIndex=(0,y.su)(U,0))}focus(k,I){I?this._focusMonitor.focusVia(this._inputElement,I,k):this._inputElement.nativeElement.focus(k)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((k,I)=>{k!==this.id&&I===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(k=>{!k&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new l(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(k){k.stopPropagation()}_onInputInteraction(k){if(k.stopPropagation(),!this.checked&&!this.disabled){const I=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),I&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(k){this._onInputInteraction(k),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(k){this._disabled!==k&&(this._disabled=k,this._changeDetector.markForCheck())}_updateTabIndex(){const k=this.radioGroup;let I;if(I=k&&k.selected&&!this.disabled?k.selected===this?this.tabIndex:-1:this.tabIndex,I!==this._previousTabIndex){const P=this._inputElement?.nativeElement;P&&(P.setAttribute("tabindex",I+""),this._previousTabIndex=I)}}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(c,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(u.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(d,8),n.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:S,selectors:[["mat-radio-button"]],viewQuery:function(I,P){if(1&I&&n.\u0275\u0275viewQuery(m,5),2&I){let A;n.\u0275\u0275queryRefresh(A=n.\u0275\u0275loadQuery())&&(P._inputElement=A.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(I,P){1&I&&n.\u0275\u0275listener("focus",function(){return P._inputElement.nativeElement.focus()}),2&I&&(n.\u0275\u0275attribute("id",P.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-primary","primary"===P.color)("mat-accent","accent"===P.color)("mat-warn","warn"===P.color)("mat-mdc-radio-checked",P.checked)("_mat-animation-noopable",P._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(I,P){if(1&I&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),n.\u0275\u0275listener("click",function(L){return P._onTouchTargetClick(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("change",function(L){return P._onInputInteraction(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(6,"div",6),n.\u0275\u0275element(7,"div",7)(8,"div",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"div",9),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&I){const A=n.\u0275\u0275reference(1);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==P.labelPosition),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-radio--disabled",P.disabled),n.\u0275\u0275advance(2),n.\u0275\u0275property("id",P.inputId)("checked",P.checked)("disabled",P.disabled)("required",P.required),n.\u0275\u0275attribute("name",P.name)("value",P.value)("aria-label",P.ariaLabel)("aria-labelledby",P.ariaLabelledby)("aria-describedby",P.ariaDescribedby),n.\u0275\u0275advance(5),n.\u0275\u0275property("matRippleTrigger",A)("matRippleDisabled",P._isRippleDisabled())("matRippleCentered",!0),n.\u0275\u0275advance(2),n.\u0275\u0275property("for",P.inputId)}},dependencies:[f.MatRipple],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,s.CommonModule,f.MatRippleModule,f.MatCommonModule]})}return S})()},8525:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECT_CONFIG:()=>ue,MAT_SELECT_SCROLL_STRATEGY:()=>H,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>ye,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>te,MAT_SELECT_TRIGGER:()=>Ge,MatSelect:()=>Ze,MatSelectChange:()=>$e,MatSelectModule:()=>Te,MatSelectTrigger:()=>Et,matSelectAnimations:()=>ee});var n=_(9594),f=_(6814),D=_(9212),y=_(3680),u=_(4170),v=_(6672),s=_(4191),m=_(9388),h=_(2495),o=_(8337),l=_(6028),r=_(6223),c=_(8645),d=_(4911),g=_(3019),b=_(7921),C=_(4664),x=_(8180),w=_(2181),T=_(7398),S=_(3997),M=_(9773),k=_(6825);const I=["trigger"],P=["panel"];function A(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",9),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.placeholder)}}function L(qe,Ee){1&qe&&D.\u0275\u0275projection(0)}function F(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",11),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext(2);D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.triggerValue)}}function R(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",10),D.\u0275\u0275template(1,L,1,0)(2,F,2,1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275conditional(1,Ie.customTrigger?1:2)}}function U(qe,Ee){if(1&qe){const Ie=D.\u0275\u0275getCurrentView();D.\u0275\u0275namespaceSVG(),D.\u0275\u0275namespaceHTML(),D.\u0275\u0275elementStart(0,"div",12,13),D.\u0275\u0275listener("@transformPanel.done",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._panelDoneAnimatingStream.next(ge.toState))})("keydown",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._handleKeydown(ge))}),D.\u0275\u0275projection(2,1),D.\u0275\u0275elementEnd()}if(2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ie._getPanelTheme(),""),D.\u0275\u0275property("ngClass",Ie.panelClass)("@transformPanel","showing"),D.\u0275\u0275attribute("id",Ie.id+"-panel")("aria-multiselectable",Ie.multiple)("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie._getPanelAriaLabelledby())}}const W=[[["mat-select-trigger"]],"*"],ne=["mat-select-trigger","*"],ee={transformPanelWrap:(0,k.X$)("transformPanelWrap",[(0,k.eR)("* => void",(0,k.IO)("@transformPanel",[(0,k.pV)()],{optional:!0}))]),transformPanel:(0,k.X$)("transformPanel",[(0,k.SB)("void",(0,k.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,k.eR)("void => showing",(0,k.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,k.eR)("* => void",(0,k.jt)("100ms linear",(0,k.oB)({opacity:0})))])};let Z=0;const H=new D.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const qe=(0,D.inject)(n.aV);return()=>qe.scrollStrategies.reposition()}});function te(qe){return()=>qe.scrollStrategies.reposition()}const ue=new D.InjectionToken("MAT_SELECT_CONFIG"),ye={provide:H,deps:[n.aV],useFactory:te},Ge=new D.InjectionToken("MatSelectTrigger");class $e{constructor(Ee,Ie){this.source=Ee,this.value=Ie}}const Ye=(0,y.mixinDisableRipple)((0,y.mixinTabIndex)((0,y.mixinDisabled)((0,y.mixinErrorState)(class{constructor(qe,Ee,Ie,Ce,ge){this._elementRef=qe,this._defaultErrorStateMatcher=Ee,this._parentForm=Ie,this._parentFormGroup=Ce,this.ngControl=ge,this.stateChanges=new c.x}}))));let Ze=(()=>{class qe extends Ye{_scrollOptionIntoView(Ie){const Ce=this.options.toArray()[Ie];if(Ce){const ge=this.panel.nativeElement,Ae=(0,y._countGroupLabelsBeforeOption)(Ie,this.options,this.optionGroups),q=Ce._getHostElement();ge.scrollTop=0===Ie&&1===Ae?0:(0,y._getOptionScrollPosition)(q.offsetTop,q.offsetHeight,ge.scrollTop,ge.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ie){return new $e(this,Ie)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ie){this._hideSingleSelectionIndicator=(0,h.Ig)(Ie),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ie){this._placeholder=Ie,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(r.Validators.required)??!1}set required(Ie){this._required=(0,h.Ig)(Ie),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ie){this._multiple=(0,h.Ig)(Ie)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ie){this._disableOptionCentering=(0,h.Ig)(Ie)}get compareWith(){return this._compareWith}set compareWith(Ie){this._compareWith=Ie,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ie){this._assignValue(Ie)&&this._onChange(Ie)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ie){this._typeaheadDebounceInterval=(0,h.su)(Ie)}get id(){return this._id}set id(Ie){this._id=Ie||this._uid,this.stateChanges.next()}constructor(Ie,Ce,ge,Ae,q,Re,ke,Ke,me,Pe,Ne,Be,yt,Ot){super(q,Ae,ke,Ke,Pe),this._viewportRuler=Ie,this._changeDetectorRef=Ce,this._ngZone=ge,this._dir=Re,this._parentFormField=me,this._liveAnnouncer=yt,this._defaultOptions=Ot,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Yt,jt)=>Yt===jt,this._uid="mat-select-"+Z++,this._triggerAriaLabelledBy=null,this._destroy=new c.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Z++,this._panelDoneAnimatingStream=new c.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,d.P)(()=>{const Yt=this.options;return Yt?Yt.changes.pipe((0,b.O)(Yt),(0,C.w)(()=>(0,g.T)(...Yt.map(jt=>jt.onSelectionChange)))):this._ngZone.onStable.pipe((0,x.q)(1),(0,C.w)(()=>this.optionSelectionChanges))}),this.openedChange=new D.EventEmitter,this._openedStream=this.openedChange.pipe((0,w.h)(Yt=>Yt),(0,T.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,w.h)(Yt=>!Yt),(0,T.U)(()=>{})),this.selectionChange=new D.EventEmitter,this.valueChange=new D.EventEmitter,this._trackedModal=null,this._skipPredicate=Yt=>!this.panelOpen&&Yt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Ot?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Ot.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ne)||0,this.id=this.id}ngOnInit(){this._selectionModel=new o.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,S.x)(),(0,M.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,M.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,M.R)(this._destroy)).subscribe(Ie=>{Ie.added.forEach(Ce=>Ce.select()),Ie.removed.forEach(Ce=>Ce.deselect())}),this.options.changes.pipe((0,b.O)(null),(0,M.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ie=this._getTriggerAriaLabelledby(),Ce=this.ngControl;if(Ie!==this._triggerAriaLabelledBy){const ge=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ie,Ie?ge.setAttribute("aria-labelledby",Ie):ge.removeAttribute("aria-labelledby")}Ce&&(this._previousControl!==Ce.control&&(void 0!==this._previousControl&&null!==Ce.disabled&&Ce.disabled!==this.disabled&&(this.disabled=Ce.disabled),this._previousControl=Ce.control),this.updateErrorState())}ngOnChanges(Ie){(Ie.disabled||Ie.userAriaDescribedBy)&&this.stateChanges.next(),Ie.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const Ie=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ie)return;const Ce=`${this.id}-panel`;this._trackedModal&&(0,s.iD)(this._trackedModal,"aria-owns",Ce),(0,s.Zf)(Ie,"aria-owns",Ce),this._trackedModal=Ie}_clearFromModal(){this._trackedModal&&((0,s.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(Ie){this._assignValue(Ie)}registerOnChange(Ie){this._onChange=Ie}registerOnTouched(Ie){this._onTouched=Ie}setDisabledState(Ie){this.disabled=Ie,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ie=this._selectionModel.selected.map(Ce=>Ce.viewValue);return this._isRtl()&&Ie.reverse(),Ie.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ie){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ie):this._handleClosedKeydown(Ie))}_handleClosedKeydown(Ie){const Ce=Ie.keyCode,ge=Ce===l.JH||Ce===l.LH||Ce===l.oh||Ce===l.SV,Ae=Ce===l.K5||Ce===l.L_,q=this._keyManager;if(!q.isTyping()&&Ae&&!(0,l.Vb)(Ie)||(this.multiple||Ie.altKey)&&ge)Ie.preventDefault(),this.open();else if(!this.multiple){const Re=this.selected;q.onKeydown(Ie);const ke=this.selected;ke&&Re!==ke&&this._liveAnnouncer.announce(ke.viewValue,1e4)}}_handleOpenKeydown(Ie){const Ce=this._keyManager,ge=Ie.keyCode,Ae=ge===l.JH||ge===l.LH,q=Ce.isTyping();if(Ae&&Ie.altKey)Ie.preventDefault(),this.close();else if(q||ge!==l.K5&&ge!==l.L_||!Ce.activeItem||(0,l.Vb)(Ie))if(!q&&this._multiple&&ge===l.A&&Ie.ctrlKey){Ie.preventDefault();const Re=this.options.some(ke=>!ke.disabled&&!ke.selected);this.options.forEach(ke=>{ke.disabled||(Re?ke.select():ke.deselect())})}else{const Re=Ce.activeItemIndex;Ce.onKeydown(Ie),this._multiple&&Ae&&Ie.shiftKey&&Ce.activeItem&&Ce.activeItemIndex!==Re&&Ce.activeItem._selectViaInteraction()}else Ie.preventDefault(),Ce.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,x.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ie){if(this.options.forEach(Ce=>Ce.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ie)Array.isArray(Ie),Ie.forEach(Ce=>this._selectOptionByValue(Ce)),this._sortValues();else{const Ce=this._selectOptionByValue(Ie);Ce?this._keyManager.updateActiveItem(Ce):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ie){const Ce=this.options.find(ge=>{if(this._selectionModel.isSelected(ge))return!1;try{return null!=ge.value&&this._compareWith(ge.value,Ie)}catch{return!1}});return Ce&&this._selectionModel.select(Ce),Ce}_assignValue(Ie){return!!(Ie!==this._value||this._multiple&&Array.isArray(Ie))&&(this.options&&this._setSelectionByValue(Ie),this._value=Ie,!0)}_getOverlayWidth(Ie){return"auto"===this.panelWidth?(Ie instanceof n.xu?Ie.elementRef:Ie||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ie of this.options)Ie._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ie=(0,g.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,M.R)(Ie)).subscribe(Ce=>{this._onSelect(Ce.source,Ce.isUserInput),Ce.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,g.T)(...this.options.map(Ce=>Ce._stateChanges)).pipe((0,M.R)(Ie)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ie,Ce){const ge=this._selectionModel.isSelected(Ie);null!=Ie.value||this._multiple?(ge!==Ie.selected&&(Ie.selected?this._selectionModel.select(Ie):this._selectionModel.deselect(Ie)),Ce&&this._keyManager.setActiveItem(Ie),this.multiple&&(this._sortValues(),Ce&&this.focus())):(Ie.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ie.value)),ge!==this._selectionModel.isSelected(Ie)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ie=this.options.toArray();this._selectionModel.sort((Ce,ge)=>this.sortComparator?this.sortComparator(Ce,ge,Ie):Ie.indexOf(Ce)-Ie.indexOf(ge)),this.stateChanges.next()}}_propagateChanges(Ie){let Ce;Ce=this.multiple?this.selected.map(ge=>ge.value):this.selected?this.selected.value:Ie,this._value=Ce,this.valueChange.emit(Ce),this._onChange(Ce),this.selectionChange.emit(this._getChangeEvent(Ce)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ie=-1;for(let Ce=0;Ce0}focus(Ie){this._elementRef.nativeElement.focus(Ie)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ie?Ie+" ":"")+this.ariaLabelledby:Ie}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();let Ce=(Ie?Ie+" ":"")+this._valueId;return this.ariaLabelledby&&(Ce+=" "+this.ariaLabelledby),Ce}_panelDoneAnimating(Ie){this.openedChange.emit(Ie)}setDescribedByIds(Ie){Ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(Ce){return new(Ce||qe)(D.\u0275\u0275directiveInject(v.rL),D.\u0275\u0275directiveInject(D.ChangeDetectorRef),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(y.ErrorStateMatcher),D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(m.Is,8),D.\u0275\u0275directiveInject(r.NgForm,8),D.\u0275\u0275directiveInject(r.FormGroupDirective,8),D.\u0275\u0275directiveInject(u.MAT_FORM_FIELD,8),D.\u0275\u0275directiveInject(r.NgControl,10),D.\u0275\u0275injectAttribute("tabindex"),D.\u0275\u0275directiveInject(H),D.\u0275\u0275directiveInject(s.Kd),D.\u0275\u0275directiveInject(ue,8))};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:qe,selectors:[["mat-select"]],contentQueries:function(Ce,ge,Ae){if(1&Ce&&(D.\u0275\u0275contentQuery(Ae,Ge,5),D.\u0275\u0275contentQuery(Ae,y.MatOption,5),D.\u0275\u0275contentQuery(Ae,y.MAT_OPTGROUP,5)),2&Ce){let q;D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.customTrigger=q.first),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.options=q),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.optionGroups=q)}},viewQuery:function(Ce,ge){if(1&Ce&&(D.\u0275\u0275viewQuery(I,5),D.\u0275\u0275viewQuery(P,5),D.\u0275\u0275viewQuery(n.pI,5)),2&Ce){let Ae;D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.trigger=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.panel=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge._overlayDir=Ae.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ce,ge){1&Ce&&D.\u0275\u0275listener("keydown",function(q){return ge._handleKeydown(q)})("focus",function(){return ge._onFocus()})("blur",function(){return ge._onBlur()}),2&Ce&&(D.\u0275\u0275attribute("id",ge.id)("tabindex",ge.tabIndex)("aria-controls",ge.panelOpen?ge.id+"-panel":null)("aria-expanded",ge.panelOpen)("aria-label",ge.ariaLabel||null)("aria-required",ge.required.toString())("aria-disabled",ge.disabled.toString())("aria-invalid",ge.errorState)("aria-activedescendant",ge._getAriaActiveDescendant()),D.\u0275\u0275classProp("mat-mdc-select-disabled",ge.disabled)("mat-mdc-select-invalid",ge.errorState)("mat-mdc-select-required",ge.required)("mat-mdc-select-empty",ge.empty)("mat-mdc-select-multiple",ge.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[D.\u0275\u0275ProvidersFeature([{provide:u.MatFormFieldControl,useExisting:qe},{provide:y.MAT_OPTION_PARENT_COMPONENT,useExisting:qe}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ne,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ce,ge){if(1&Ce&&(D.\u0275\u0275projectionDef(W),D.\u0275\u0275elementStart(0,"div",0,1),D.\u0275\u0275listener("click",function(){return ge.toggle()}),D.\u0275\u0275elementStart(3,"div",2),D.\u0275\u0275template(4,A,2,1,"span",3)(5,R,3,1),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(6,"div",4)(7,"div",5),D.\u0275\u0275namespaceSVG(),D.\u0275\u0275elementStart(8,"svg",6),D.\u0275\u0275element(9,"path",7),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275template(10,U,3,9,"ng-template",8),D.\u0275\u0275listener("backdropClick",function(){return ge.close()})("attach",function(){return ge._onAttached()})("detach",function(){return ge.close()})),2&Ce){const Ae=D.\u0275\u0275reference(1);D.\u0275\u0275advance(3),D.\u0275\u0275attribute("id",ge._valueId),D.\u0275\u0275advance(1),D.\u0275\u0275conditional(4,ge.empty?4:5),D.\u0275\u0275advance(6),D.\u0275\u0275property("cdkConnectedOverlayPanelClass",ge._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ge._scrollStrategy)("cdkConnectedOverlayOrigin",ge._preferredOverlayOrigin||Ae)("cdkConnectedOverlayOpen",ge.panelOpen)("cdkConnectedOverlayPositions",ge._positions)("cdkConnectedOverlayWidth",ge._overlayWidth)}},dependencies:[f.NgClass,n.pI,n.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ee.transformPanel]},changeDetection:0})}return qe})(),Et=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:qe,selectors:[["mat-select-trigger"]],features:[D.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:qe}])]})}return qe})(),Te=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:qe});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[ye],imports:[f.CommonModule,n.U8,y.MatOptionModule,y.MatCommonModule,v.ZD,u.MatFormFieldModule,y.MatOptionModule,y.MatCommonModule]})}return qe})()},2599:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>m,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>c,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>h,MatSlideToggle:()=>r,MatSlideToggleChange:()=>o,MatSlideToggleModule:()=>b,MatSlideToggleRequiredValidator:()=>d,_MatSlideToggleRequiredValidatorModule:()=>g});var n=_(9212),f=_(6223),D=_(4191),y=_(3680);const u=["switch"];function v(C,x){1&C&&(n.\u0275\u0275elementStart(0,"div",12),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",13),n.\u0275\u0275element(2,"path",14),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(3,"svg",15),n.\u0275\u0275element(4,"path",16),n.\u0275\u0275elementEnd()())}const s=["*"],m=new n.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>r),multi:!0};class o{constructor(x,w){this.source=x,this.checked=w}}let l=0,r=(()=>{class C{_createChangeEvent(w){return new o(this,w)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(w){this._checked=w,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(w,T,S,M,k,I){this._elementRef=w,this._focusMonitor=T,this._changeDetectorRef=S,this.defaults=k,this._onChange=P=>{},this._onTouched=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new n.EventEmitter,this.toggleChange=new n.EventEmitter,this.tabIndex=parseInt(M)||0,this.color=k.color||"accent",this._noopAnimations="NoopAnimations"===I,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++l,this.hideIcon=k.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(w=>{"keyboard"===w||"program"===w?(this._focused=!0,this._changeDetectorRef.markForCheck()):w||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(w){this.checked=!!w}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=w}setDisabledState(w){this.disabled=w,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new o(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(T){return new(T||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(m),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:C,selectors:[["mat-slide-toggle"]],viewQuery:function(T,S){if(1&T&&n.\u0275\u0275viewQuery(u,5),2&T){let M;n.\u0275\u0275queryRefresh(M=n.\u0275\u0275loadQuery())&&(S._switchElement=M.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(T,S){2&T&&(n.\u0275\u0275hostProperty("id",S.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.\u0275\u0275classMap(S.color?"mat-"+S.color:""),n.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",S._focused)("mat-mdc-slide-toggle-checked",S.checked)("_mat-animation-noopable",S._noopAnimations))},inputs:{disabled:["disabled","disabled",n.booleanAttribute],disableRipple:["disableRipple","disableRipple",n.booleanAttribute],color:"color",tabIndex:["tabIndex","tabIndex",w=>null==w?0:(0,n.numberAttribute)(w)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",n.booleanAttribute],checked:["checked","checked",n.booleanAttribute],hideIcon:["hideIcon","hideIcon",n.booleanAttribute]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:s,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(T,S){if(1&T&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),n.\u0275\u0275listener("click",function(){return S._handleClick()}),n.\u0275\u0275element(3,"div",3),n.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),n.\u0275\u0275element(7,"div",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(8,"div",8),n.\u0275\u0275element(9,"div",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(10,v,5,0,"div",10),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275listener("click",function(k){return k.stopPropagation()}),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&T){const M=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==S.labelPosition),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mdc-switch--selected",S.checked)("mdc-switch--unselected",!S.checked)("mdc-switch--checked",S.checked)("mdc-switch--disabled",S.disabled),n.\u0275\u0275property("tabIndex",S.disabled?-1:S.tabIndex)("disabled",S.disabled),n.\u0275\u0275attribute("id",S.buttonId)("name",S.name)("aria-label",S.ariaLabel)("aria-labelledby",S._getAriaLabelledBy())("aria-describedby",S.ariaDescribedby)("aria-required",S.required||null)("aria-checked",S.checked),n.\u0275\u0275advance(8),n.\u0275\u0275property("matRippleTrigger",M)("matRippleDisabled",S.disableRipple||S.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(10,S.hideIcon?-1:10),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",S.buttonId),n.\u0275\u0275attribute("id",S._labelId)}},dependencies:[y.MatRipple],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return C})();const c={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>d),multi:!0};let d=(()=>{class C extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let w;return function(S){return(w||(w=n.\u0275\u0275getInheritedFactory(C)))(S||C)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:C,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([c]),n.\u0275\u0275InheritDefinitionFeature]})}return C})(),g=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return C})(),b=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[g,y.MatCommonModule,y.MatRippleModule,g,y.MatCommonModule]})}return C})()},2202:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatSlider:()=>I,MatSliderChange:()=>S,MatSliderModule:()=>W,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>R,MatSliderVisualThumb:()=>M});var n=_(9388),f=_(2495),D=_(2831),y=_(9212),u=_(3680),v=_(6223),s=_(8645);const m=["knob"],h=["valueIndicatorContainer"];function o(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",4,5)(2,"div",6)(3,"span",7),y.\u0275\u0275text(4),y.\u0275\u0275elementEnd()()()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(4),y.\u0275\u0275textInterpolate(j.valueIndicatorText)}}const l=["trackActive"];function r(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"div"),2&ne){const j=ee.$implicit,B=ee.$index,$=y.\u0275\u0275nextContext(3);y.\u0275\u0275classMap(0===j?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),y.\u0275\u0275styleProp("transform",$._calcTickMarkTransform(B))}}function c(ne,ee){if(1&ne&&y.\u0275\u0275repeaterCreate(0,r,1,4,"div",9,y.\u0275\u0275repeaterTrackByIdentity),2&ne){const j=y.\u0275\u0275nextContext(2);y.\u0275\u0275repeater(j._tickMarks)}}function d(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",7,8),y.\u0275\u0275template(2,c,2,0),y.\u0275\u0275elementEnd()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(2),y.\u0275\u0275conditional(2,j._cachedWidth?2:-1)}}function g(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"mat-slider-visual-thumb",6),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275property("discrete",j.discrete)("thumbPosition",1)("valueIndicatorText",j.startValueIndicatorText)}}const b=["*"],C=new y.InjectionToken("_MatSlider"),x=new y.InjectionToken("_MatSliderThumb"),w=new y.InjectionToken("_MatSliderRangeThumb"),T=new y.InjectionToken("_MatSliderVisualThumb");class S{}let M=(()=>{class ne{constructor(j,B,$,Z){this._cdr=j,this._ngZone=B,this._slider=Z,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=H=>{if(this._sliderInput._isFocused)return;const te=this._hostElement.getBoundingClientRect(),ue=this._slider._isCursorOnSliderThumb(H,te);this._isHovered=ue,ue?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=H=>{0===H.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=$.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const j=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{j.addEventListener("pointermove",this._onPointerMove),j.addEventListener("pointerdown",this._onDragStart),j.addEventListener("pointerup",this._onDragEnd),j.addEventListener("pointerleave",this._onMouseLeave),j.addEventListener("focus",this._onFocus),j.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const j=this._sliderInputEl;j.removeEventListener("pointermove",this._onPointerMove),j.removeEventListener("pointerdown",this._onDragStart),j.removeEventListener("pointerup",this._onDragEnd),j.removeEventListener("pointerleave",this._onMouseLeave),j.removeEventListener("focus",this._onFocus),j.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(j){return 0===j?.state||1===j?.state}_showRipple(j,B){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||B))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:j,centered:!0,persistent:!0})}_hideRipple(j){if(j?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const B=this._getSibling();B._isShowingAnyRipple()||(this._hideValueIndicator(),B._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275cmp=y.\u0275\u0275defineComponent({type:ne,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(B,$){if(1&B&&(y.\u0275\u0275viewQuery(u.MatRipple,5),y.\u0275\u0275viewQuery(m,5),y.\u0275\u0275viewQuery(h,5)),2&B){let Z;y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._ripple=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._knob=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._valueIndicatorContainer=Z.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[y.\u0275\u0275ProvidersFeature([{provide:T,useExisting:ne}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(B,$){1&B&&(y.\u0275\u0275template(0,o,5,1,"div",0),y.\u0275\u0275element(1,"div",1,2)(3,"div",3)),2&B&&(y.\u0275\u0275conditional(0,$.discrete?0:-1),y.\u0275\u0275advance(3),y.\u0275\u0275property("matRippleDisabled",!0))},dependencies:[u.MatRipple],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return ne})();const k=(0,u.mixinColor)((0,u.mixinDisableRipple)(class{constructor(ne){this._elementRef=ne}}),"primary");let I=(()=>{class ne extends k{get disabled(){return this._disabled}set disabled(j){this._disabled=(0,f.Ig)(j);const B=this._getInput(2),$=this._getInput(1);B&&(B.disabled=this._disabled),$&&($.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(j){this._discrete=(0,f.Ig)(j),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(j){this._showTickMarks=(0,f.Ig)(j)}get min(){return this._min}set min(j){const B=(0,f.su)(j,this._min);this._min!==B&&this._updateMin(B)}_updateMin(j){const B=this._min;this._min=j,this._isRange?this._updateMinRange({old:B,new:j}):this._updateMinNonRange(j),this._onMinMaxOrStepChange()}_updateMinRange(j){const B=this._getInput(2),$=this._getInput(1),Z=B.value,H=$.value;$.min=j.new,B.min=Math.max(j.new,$.value),$.max=Math.min(B.max,B.value),$._updateWidthInactive(),B._updateWidthInactive(),j.newj.old?this._onTranslateXChangeBySideEffect($,B):this._onTranslateXChangeBySideEffect(B,$),Z!==B.value&&this._onValueChange(B),H!==$.value&&this._onValueChange($)}_updateMaxNonRange(j){const B=this._getInput(2);if(B){const $=B.value;B.max=j,B._updateThumbUIByValue(),this._updateTrackUI(B),$!==B.value&&this._onValueChange(B)}}get step(){return this._step}set step(j){const B=(0,f.su)(j,this._step);this._step!==B&&this._updateStep(B)}_updateStep(j){this._step=j,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const j=this._getInput(2),B=this._getInput(1),$=j.value,Z=B.value,H=B.value;j.min=this._min,B.max=this._max,j.step=this._step,B.step=this._step,this._platform.SAFARI&&(j.value=j.value,B.value=B.value),j.min=Math.max(this._min,B.value),B.max=Math.min(this._max,j.value),B._updateWidthInactive(),j._updateWidthInactive(),j.value`${ue}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,y.inject)(D.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===te,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const j=this._getInput(2),B=this._getInput(1);this._isRange=!!j&&!!B,this._cdr.detectChanges();const $=this._getThumb(2);this._rippleRadius=$._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(j,B):this._initUINonRange(j),this._updateTrackUI(j),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(j){j.initProps(),j.initUI(),this._updateValueIndicatorUI(j),this._hasViewInitialized=!0,j._updateThumbUIByValue()}_initUIRange(j,B){j.initProps(),j.initUI(),B.initProps(),B.initUI(),j._updateMinMax(),B._updateMinMax(),j._updateStaticStyles(),B._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,j._updateThumbUIByValue(),B._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const j=this._getInput(2),B=this._getInput(1);j._setIsLeftThumb(),B._setIsLeftThumb(),j.translateX=j._calcTranslateXByValue(),B.translateX=B._calcTranslateXByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateWidthInactive(),B._updateWidthInactive(),j._updateThumbUIByValue(),B._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(j=2){const B=this._getInput(j);return B?B.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(j){const B=this._trackActive.nativeElement.style;B.left=j.left,B.right=j.right,B.transformOrigin=j.transformOrigin,B.transform=j.transform}_calcTickMarkTransform(j){return`translateX(${j*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(j){this._hasViewInitialized&&(this._updateThumbUI(j),this._updateTrackUI(j),this._updateOverlappingThumbUI(j))}_onTranslateXChangeBySideEffect(j,B){this._hasViewInitialized&&(j._updateThumbUIByValue(),B._updateThumbUIByValue())}_onValueChange(j){this._hasViewInitialized&&(this._updateValueIndicatorUI(j),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const j=this._getInput(2),B=this._getInput(1);j._updateThumbUIByValue(),B._updateThumbUIByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateMinMax(),B._updateMinMax(),j._updateWidthInactive(),B._updateWidthInactive()}else{const j=this._getInput(2);j&&j._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const j=this._getInput(1),B=this._getInput(2);return!(!j||!B)&&B.translateX-j.translateX<20}_updateOverlappingThumbClassNames(j){const B=j.getSibling(),$=this._getThumb(j.thumbPosition);this._getThumb(B.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),$._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(j){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(j))}_updateThumbUI(j){this._skipUpdate()||(this._getThumb(2===j.thumbPosition?2:1)._hostElement.style.transform=`translateX(${j.translateX}px)`)}_updateValueIndicatorUI(j){if(this._skipUpdate())return;const B=this.displayWith(j.value);if(this._hasViewInitialized?j._valuetext=B:j._hostElement.setAttribute("aria-valuetext",B),this.discrete){1===j.thumbPosition?this.startValueIndicatorText=B:this.endValueIndicatorText=B;const $=this._getThumb(j.thumbPosition);B.length<3?$._hostElement.classList.add("mdc-slider__thumb--short-value"):$._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const j=this._getInput(2),B=this._getInput(1);j&&this._updateValueIndicatorUI(j),B&&this._updateValueIndicatorUI(B)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const j=this._step&&this._step>0?this._step:1,$=(Math.floor(this.max/j)*j-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*$-6}_updateTrackUI(j){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(j):this._updateTrackUINonRange(j))}_updateTrackUIRange(j){const B=j.getSibling();if(!B||!this._cachedWidth)return;const $=Math.abs(B.translateX-j.translateX)/this._cachedWidth;this._setTrackActiveStyles(j._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-B.translateX+"px",transformOrigin:"right",transform:`scaleX(${$})`}:{left:`${B.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${$})`})}_updateTrackUINonRange(j){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-j.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${j.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const j=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(j):this._updateTickMarkUINonRange(j),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(j){const B=this._getValue();let $=Math.max(Math.floor((B-this.min)/j),0),Z=Math.max(Math.floor((this.max-B)/j),0);this._isRtl?$++:Z++,this._tickMarks=Array($).fill(0).concat(Array(Z).fill(1))}_updateTickMarkUIRange(j){const B=this._getValue(),$=this._getValue(1),Z=Math.max(Math.floor(($-this.min)/j),0),H=Math.max(Math.floor((B-$)/j)+1,0),te=Math.max(Math.floor((this.max-B)/j),0);this._tickMarks=Array(Z).fill(1).concat(Array(H).fill(0),Array(te).fill(1))}_getInput(j){return 2===j&&this._input?this._input:this._inputs?.length?1===j?this._inputs.first:this._inputs.last:void 0}_getThumb(j){return 2===j?this._thumbs?.last:this._thumbs?.first}_setTransition(j){this._hasAnimation=!this._platform.IOS&&j&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(j,B){const $=B.width/2,ue=j.clientY-(B.y+$);return Math.pow(j.clientX-(B.x+$),2)+Math.pow(ue,2)R),multi:!0},F={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,y.forwardRef)(()=>U),multi:!0};let R=(()=>{class ne{get value(){return(0,f.su)(this._hostElement.value)}set value(j){const B=(0,f.su)(j).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=B,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=B}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(j){this._translateX=j}get min(){return(0,f.su)(this._hostElement.min)}set min(j){this._hostElement.min=(0,f.su)(j).toString(),this._cdr.detectChanges()}get max(){return(0,f.su)(this._hostElement.max)}set max(j){this._hostElement.max=(0,f.su)(j).toString(),this._cdr.detectChanges()}get step(){return(0,f.su)(this._hostElement.step)}set step(j){this._hostElement.step=(0,f.su)(j).toString(),this._cdr.detectChanges()}get disabled(){return(0,f.Ig)(this._hostElement.disabled)}set disabled(j){this._hostElement.disabled=(0,f.Ig)(j),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(j){this._isFocused=j}constructor(j,B,$,Z){this._ngZone=j,this._elementRef=B,this._cdr=$,this._slider=Z,this.valueChange=new y.EventEmitter,this.dragStart=new y.EventEmitter,this.dragEnd=new y.EventEmitter,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new s.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,y.inject)(D.t4),this._hostElement=B.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(j){if(!this.disabled&&0===j.button){if(this._platform.IOS){const B=this._slider._isCursorOnSliderThumb(j,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=B,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(j,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(j),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(j){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(j)},0)}_fixValue(j){const B=j.clientX-this._slider._cachedLeft,$=this._slider._cachedWidth,Z=0===this._slider.step?1:this._slider.step,H=Math.floor((this._slider.max-this._slider.min)/Z),ye=Math.round((this._slider._isRtl?1-B/$:B/$)*H)/H*(this._slider.max-this._slider.min)+this._slider.min,Ge=Math.round(ye/Z)*Z;if(Ge===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation}));this.value=Ge,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation})}_onPointerMove(j){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(j)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(j){return Math.max(Math.min(j,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*(this._slider._cachedWidth-6)+3}_calcTranslateXByPointerEvent(j){return j.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(j){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(j)}_updateThumbUIByPointerEvent(j,B){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(j)),this._updateThumbUI(B)}_updateThumbUI(j){this._slider._setTransition(!!j?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(j){(this._isControlInitialized||null!==j)&&(this.value=j)}registerOnChange(j){this._onChangeFn=j,this._isControlInitialized=!0}registerOnTouched(j){this._onTouchedFn=j}setDisabledState(j){this.disabled=j}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275dir=y.\u0275\u0275defineDirective({type:ne,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(B,$){1&B&&y.\u0275\u0275listener("change",function(){return $._onChange()})("input",function(){return $._onInput()})("blur",function(){return $._onBlur()})("focus",function(){return $._onFocus()}),2&B&&y.\u0275\u0275attribute("aria-valuetext",$._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[y.\u0275\u0275ProvidersFeature([L,{provide:x,useExisting:ne}])]})}return ne})(),U=(()=>{class ne extends R{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const j=this.getSibling();return!this._isLeftThumb&&j?j.translateX:0}getMaxPos(){const j=this.getSibling();return this._isLeftThumb&&j?j.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(j,B,$,Z){super(j,$,Z,B),this._cdr=Z,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(j){this.disabled||0!==j.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(j))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(j){super._onPointerMove(j),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(j){super._fixValue(j),this._sibling?._updateMinMax()}_clamp(j){return Math.max(Math.min(j,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const j=this.getSibling();j&&(this._isEndThumb?(this.min=Math.max(this._slider.min,j.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,j.value)))}_updateWidthActive(){const j=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-j)*(this._slider.min{class ne{static#e=this.\u0275fac=function(B){return new(B||ne)};static#t=this.\u0275mod=y.\u0275\u0275defineNgModule({type:ne});static#n=this.\u0275inj=y.\u0275\u0275defineInjector({imports:[u.MatCommonModule,u.MatRippleModule]})}return ne})()},5313:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatCell:()=>Se,MatCellDef:()=>Nt,MatColumnDef:()=>ce,MatFooterCell:()=>oe,MatFooterCellDef:()=>_e,MatFooterRow:()=>Lt,MatFooterRowDef:()=>mt,MatHeaderCell:()=>z,MatHeaderCellDef:()=>bt,MatHeaderRow:()=>rt,MatHeaderRowDef:()=>nt,MatNoDataRow:()=>tn,MatRecycleRows:()=>Ct,MatRow:()=>Xt,MatRowDef:()=>He,MatTable:()=>Pt,MatTableDataSource:()=>Yn,MatTableModule:()=>_i,MatTextColumn:()=>Nn});var n=_(9212),f=_(9388),D=_(8337),y=_(2831),u=_(6672),v=_(6814),s=_(8645),m=_(2459),h=_(5619),o=_(2664),l=_(2096),r=_(9773),c=_(8180),d=_(2495);const g=[[["caption"]],[["colgroup"],["col"]]],b=["caption","colgroup, col"];function C(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function x(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}function w(st){return class extends st{get sticky(){return this._sticky}set sticky(pn){const Ue=this._sticky;this._sticky=(0,d.Ig)(pn),this._hasStickyChanged=Ue!==this._sticky}hasStickyChanged(){const pn=this._hasStickyChanged;return this._hasStickyChanged=!1,pn}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...pn){super(...pn),this._sticky=!1,this._hasStickyChanged=!1}}}const T=new n.InjectionToken("CDK_TABLE"),S=new n.InjectionToken("text-column-options");let M=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellDef",""]]})}return st})(),k=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderCellDef",""]]})}return st})(),I=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterCellDef",""]]})}return st})();class P{}const A=w(P);let L=(()=>{class st extends A{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ue){Ue!==this._stickyEnd&&(this._stickyEnd=Ue,this._hasStickyChanged=!0)}constructor(Ue){super(),this._table=Ue,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ue){Ue&&(this._name=Ue,this.cssClassFriendlyName=Ue.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,M,5),n.\u0275\u0275contentQuery(qt,k,5),n.\u0275\u0275contentQuery(qt,I,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.cell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.headerCell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.footerCell=it.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",n.booleanAttribute]},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275InheritDefinitionFeature]})}return st})();class F{constructor(pn,Ue){Ue.nativeElement.classList.add(...pn._columnCssClassName)}}let R=(()=>{class st extends F{constructor(Ue,ot){super(Ue,ot)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),U=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),W=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})();class ne{constructor(){this.tasks=[],this.endTasks=[]}}const ee=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let j=(()=>{class st{constructor(Ue){this._ngZone=Ue,this._currentSchedule=null,this._destroyed=new s.x}schedule(Ue){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ue)}scheduleEnd(Ue){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ue)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ne,this._getScheduleObservable().pipe((0,r.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ue=this._currentSchedule;this._currentSchedule=new ne;for(const ot of Ue.tasks)ot();for(const ot of Ue.endTasks)ot()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,m.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,c.q)(1))}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:st,factory:st.\u0275fac})}return st})(),$=(()=>{class st{constructor(Ue,ot){this.template=Ue,this._differs=ot}ngOnChanges(Ue){if(!this._columnsDiffer){const ot=Ue.columns&&Ue.columns.currentValue||[];this._columnsDiffer=this._differs.find(ot).create(),this._columnsDiffer.diff(ot)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ue){return this instanceof te?Ue.headerCell.template:this instanceof Ge?Ue.footerCell.template:Ue.cell.template}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,features:[n.\u0275\u0275NgOnChangesFeature]})}return st})();class Z extends ${}const H=w(Z);let te=(()=>{class st extends H{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})();class ue extends ${}const ye=w(ue);let Ge=(()=>{class st extends ye{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})(),$e=(()=>{class st extends ${constructor(Ue,ot,At){super(Ue,ot),this._table=At}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Ye=(()=>{class st{static#e=this.mostRecentCellOutlet=null;constructor(Ue){this._viewContainer=Ue,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellOutlet",""]]})}return st})(),Ze=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Et=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Te=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),qe=(()=>{class st{constructor(Ue){this.templateRef=Ue,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","cdkNoDataRow",""]]})}return st})();const Ee=["top","bottom","left","right"];class Ie{constructor(pn,Ue,ot,At,qt=!0,it=!0,dt){this._isNativeHtmlTable=pn,this._stickCellCss=Ue,this.direction=ot,this._coalescedStyleScheduler=At,this._isBrowser=qt,this._needsPositionStickyOnElement=it,this._positionListener=dt,this._cachedCellWidths=[],this._borderCellCss={top:`${Ue}-border-elem-top`,bottom:`${Ue}-border-elem-bottom`,left:`${Ue}-border-elem-left`,right:`${Ue}-border-elem-right`}}clearStickyPositioning(pn,Ue){const ot=[];for(const At of pn)if(At.nodeType===At.ELEMENT_NODE){ot.push(At);for(let qt=0;qt{for(const At of ot)this._removeStickyStyle(At,Ue)})}updateStickyColumns(pn,Ue,ot,At=!0){if(!pn.length||!this._isBrowser||!Ue.some(Ht=>Ht)&&!ot.some(Ht=>Ht))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const qt=pn[0],it=qt.children.length,dt=this._getCellWidths(qt,At),ct=this._getStickyStartColumnPositions(dt,Ue),Ut=this._getStickyEndColumnPositions(dt,ot),wt=Ue.lastIndexOf(!0),vt=ot.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Ht="rtl"===this.direction,dn=Ht?"right":"left",ze=Ht?"left":"right";for(const en of pn)for(let Y=0;YUe[Y]?en:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===vt?[]:dt.slice(vt).map((en,Y)=>ot[Y+vt]?en:null).reverse()}))})}stickRows(pn,Ue,ot){if(!this._isBrowser)return;const At="bottom"===ot?pn.slice().reverse():pn,qt="bottom"===ot?Ue.slice().reverse():Ue,it=[],dt=[],ct=[];for(let wt=0,vt=0;wt{for(let wt=0;wt{Ue.some(At=>!At)?this._removeStickyStyle(ot,["bottom"]):this._addStickyStyle(ot,"bottom",0,!1)})}_removeStickyStyle(pn,Ue){for(const At of Ue)pn.style[At]="",pn.classList.remove(this._borderCellCss[At]);Ee.some(At=>-1===Ue.indexOf(At)&&pn.style[At])?pn.style.zIndex=this._getCalculatedZIndex(pn):(pn.style.zIndex="",this._needsPositionStickyOnElement&&(pn.style.position=""),pn.classList.remove(this._stickCellCss))}_addStickyStyle(pn,Ue,ot,At){pn.classList.add(this._stickCellCss),At&&pn.classList.add(this._borderCellCss[Ue]),pn.style[Ue]=`${ot}px`,pn.style.zIndex=this._getCalculatedZIndex(pn),this._needsPositionStickyOnElement&&(pn.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(pn){const Ue={top:100,bottom:10,left:1,right:1};let ot=0;for(const At of Ee)pn.style[At]&&(ot+=Ue[At]);return ot?`${ot}`:""}_getCellWidths(pn,Ue=!0){if(!Ue&&this._cachedCellWidths.length)return this._cachedCellWidths;const ot=[],At=pn.children;for(let qt=0;qt0;qt--)Ue[qt]&&(ot[qt]=At,At+=pn[qt]);return ot}}const Pe=new n.InjectionToken("CDK_SPL");let Be=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","rowOutlet",""]]})}return st})(),yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","headerRowOutlet",""]]})}return st})(),Ot=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","footerRowOutlet",""]]})}return st})(),Yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","noDataRowOutlet",""]]})}return st})(),fn=(()=>{class st{get trackBy(){return this._trackByFn}set trackBy(Ue){this._trackByFn=Ue}get dataSource(){return this._dataSource}set dataSource(Ue){this._dataSource!==Ue&&this._switchDataSource(Ue)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ue){this._multiTemplateDataRows=Ue,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ue){this._fixedLayout=Ue,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ue,ot,At,qt,it,dt,ct,Ut,wt,vt,Ht,dn){this._differs=Ue,this._changeDetectorRef=ot,this._elementRef=At,this._dir=it,this._platform=ct,this._viewRepeater=Ut,this._coalescedStyleScheduler=wt,this._viewportRuler=vt,this._stickyPositioningListener=Ht,this._ngZone=dn,this._onDestroy=new s.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new h.X({start:0,end:Number.MAX_VALUE}),qt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=dt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Ue,ot)=>this.trackBy?this.trackBy(ot.dataIndex,ot.data):ot),this._viewportRuler.change().pipe((0,r.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const ot=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ot,this._forceRecalculateCellWidths=ot,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ue=>{Ue.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ue=this._dataDiffer.diff(this._renderRows);if(!Ue)return this._updateNoDataRow(),void this.contentChanged.next();const ot=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ue,ot,(At,qt,it)=>this._getEmbeddedViewArgs(At.item,it),At=>At.item.data,At=>{1===At.operation&&At.context&&this._renderCellTemplateForItem(At.record.item.rowDef,At.context)}),this._updateRowIndexContext(),Ue.forEachIdentityChange(At=>{ot.get(At.currentIndex).context.$implicit=At.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,c.q)(1),(0,r.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ue){this._customColumnDefs.add(Ue)}removeColumnDef(Ue){this._customColumnDefs.delete(Ue)}addRowDef(Ue){this._customRowDefs.add(Ue)}removeRowDef(Ue){this._customRowDefs.delete(Ue)}addHeaderRowDef(Ue){this._customHeaderRowDefs.add(Ue),this._headerRowDefChanged=!0}removeHeaderRowDef(Ue){this._customHeaderRowDefs.delete(Ue),this._headerRowDefChanged=!0}addFooterRowDef(Ue){this._customFooterRowDefs.add(Ue),this._footerRowDefChanged=!0}removeFooterRowDef(Ue){this._customFooterRowDefs.delete(Ue),this._footerRowDefChanged=!0}setNoDataRow(Ue){this._customNoDataRow=Ue}updateStickyHeaderRowStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),At=this._elementRef.nativeElement.querySelector("thead");At&&(At.style.display=Ue.length?"":"none");const qt=this._headerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["top"]),this._stickyStyler.stickRows(Ue,qt,"top"),this._headerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyFooterRowStyles(){const Ue=this._getRenderedRows(this._footerRowOutlet),At=this._elementRef.nativeElement.querySelector("tfoot");At&&(At.style.display=Ue.length?"":"none");const qt=this._footerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["bottom"]),this._stickyStyler.stickRows(Ue,qt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,qt),this._footerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyColumnStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),ot=this._getRenderedRows(this._rowOutlet),At=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ue,...ot,...At],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ue.forEach((qt,it)=>{this._addStickyColumnStyles([qt],this._headerRowDefs[it])}),this._rowDefs.forEach(qt=>{const it=[];for(let dt=0;dt{this._addStickyColumnStyles([qt],this._footerRowDefs[it])}),Array.from(this._columnDefsByName.values()).forEach(qt=>qt.resetStickyChanged())}_getAllRenderRows(){const Ue=[],ot=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let At=0;At{const dt=At&&At.has(it)?At.get(it):[];if(dt.length){const ct=dt.shift();return ct.dataIndex=ot,ct}return{data:Ue,rowDef:it,dataIndex:ot}})}_cacheColumnDefs(){this._columnDefsByName.clear(),an(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ot=>{this._columnDefsByName.has(ot.name),this._columnDefsByName.set(ot.name,ot)})}_cacheRowDefs(){this._headerRowDefs=an(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=an(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=an(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ue=this._rowDefs.filter(ot=>!ot.when);this._defaultRowDef=Ue[0]}_renderUpdatedColumns(){const Ue=(it,dt)=>it||!!dt.getColumnsDiff(),ot=this._rowDefs.reduce(Ue,!1);ot&&this._forceRenderDataRows();const At=this._headerRowDefs.reduce(Ue,!1);At&&this._forceRenderHeaderRows();const qt=this._footerRowDefs.reduce(Ue,!1);return qt&&this._forceRenderFooterRows(),ot||At||qt}_switchDataSource(Ue){this._data=[],(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ue||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Ue}_observeRenderChanges(){if(!this.dataSource)return;let Ue;(0,D.Z9)(this.dataSource)?Ue=this.dataSource.connect(this):(0,o.b)(this.dataSource)?Ue=this.dataSource:Array.isArray(this.dataSource)&&(Ue=(0,l.of)(this.dataSource)),this._renderChangeSubscription=Ue.pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._data=ot||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ue,ot)=>this._renderRow(this._headerRowOutlet,Ue,ot)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ue,ot)=>this._renderRow(this._footerRowOutlet,Ue,ot)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ue,ot){const At=Array.from(ot.columns||[]).map(dt=>this._columnDefsByName.get(dt)),qt=At.map(dt=>dt.sticky),it=At.map(dt=>dt.stickyEnd);this._stickyStyler.updateStickyColumns(Ue,qt,it,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ue){const ot=[];for(let At=0;At!qt.when||qt.when(ot,Ue));else{let qt=this._rowDefs.find(it=>it.when&&it.when(ot,Ue))||this._defaultRowDef;qt&&At.push(qt)}return At}_getEmbeddedViewArgs(Ue,ot){return{templateRef:Ue.rowDef.template,context:{$implicit:Ue.data},index:ot}}_renderRow(Ue,ot,At,qt={}){const it=Ue.viewContainer.createEmbeddedView(ot.template,qt,At);return this._renderCellTemplateForItem(ot,qt),it}_renderCellTemplateForItem(Ue,ot){for(let At of this._getCellTemplates(Ue))Ye.mostRecentCellOutlet&&Ye.mostRecentCellOutlet._viewContainer.createEmbeddedView(At,ot);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ue=this._rowOutlet.viewContainer;for(let ot=0,At=Ue.length;ot{const At=this._columnDefsByName.get(ot);return Ue.extractCellTemplate(At)}):[]}_applyNativeTableSections(){const Ue=this._document.createDocumentFragment(),ot=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const At of ot){const qt=this._document.createElement(At.tag);qt.setAttribute("role","rowgroup");for(const it of At.outlets)qt.appendChild(it.elementRef.nativeElement);Ue.appendChild(qt)}this._elementRef.nativeElement.appendChild(Ue)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ue=(ot,At)=>ot||At.hasStickyChanged();this._headerRowDefs.reduce(Ue,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ue,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ue,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ie(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,l.of)()).pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._stickyStyler.direction=ot,this.updateStickyColumnStyles()})}_getOwnDefs(Ue){return Ue.filter(ot=>!ot._table||ot._table===this)}_updateNoDataRow(){const Ue=this._customNoDataRow||this._noDataRow;if(!Ue)return;const ot=0===this._rowOutlet.viewContainer.length;if(ot===this._isShowingNoDataRow)return;const At=this._noDataRowOutlet.viewContainer;if(ot){const qt=At.createEmbeddedView(Ue.templateRef),it=qt.rootNodes[0];1===qt.rootNodes.length&&it?.nodeType===this._document.ELEMENT_NODE&&(it.setAttribute("role","row"),it.classList.add(Ue._contentClassName))}else At.clear();this._isShowingNoDataRow=ot,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(f.Is,8),n.\u0275\u0275directiveInject(v.DOCUMENT),n.\u0275\u0275directiveInject(y.t4),n.\u0275\u0275directiveInject(D.k),n.\u0275\u0275directiveInject(ee),n.\u0275\u0275directiveInject(u.rL),n.\u0275\u0275directiveInject(Pe,12),n.\u0275\u0275directiveInject(n.NgZone,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,qe,5),n.\u0275\u0275contentQuery(qt,L,5),n.\u0275\u0275contentQuery(qt,$e,5),n.\u0275\u0275contentQuery(qt,te,5),n.\u0275\u0275contentQuery(qt,Ge,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._noDataRow=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentColumnDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentHeaderRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentFooterRowDefs=it)}},viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(Be,7),n.\u0275\u0275viewQuery(yt,7),n.\u0275\u0275viewQuery(Ot,7),n.\u0275\u0275viewQuery(Yt,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._rowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._headerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._footerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._noDataRowOutlet=qt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("cdk-table-fixed-layout",At.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",n.booleanAttribute],fixedLayout:["fixedLayout","fixedLayout",n.booleanAttribute]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:T,useExisting:st},{provide:D.k,useClass:D.yy},{provide:ee,useClass:j},{provide:Pe,useValue:null}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:b,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(g),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return st})();function an(st,pn){return st.concat(Array.from(pn))}let En=(()=>{class st{get name(){return this._name}set name(Ue){this._name=Ue,this._syncColumnDefName()}constructor(Ue,ot){this._table=Ue,this._options=ot,this.justify="start",this._options=ot||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Ue,ot)=>Ue[ot])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const Ue=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Ue):Ue[0].toUpperCase()+Ue.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(S,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-text-column"]],viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(L,7),n.\u0275\u0275viewQuery(M,7),n.\u0275\u0275viewQuery(k,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.columnDef=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.cell=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.headerCell=qt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,C,2,3,"th",1)(2,x,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[M,k,L,W,R],encapsulation:2})}return st})(),Bt=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[u.Cl]})}return st})();var Ft=_(3680),De=_(3019),Ve=_(2572),Xe=_(7398);const St=[[["caption"]],[["colgroup"],["col"]]],tt=["caption","colgroup, col"];function ut(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function Oe(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}let Ct=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:D.k,useClass:D.eX}])]})}return st})(),Pt=(()=>{class st extends fn{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("mdc-table-fixed-layout",At.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:fn,useExisting:st},{provide:T,useExisting:st},{provide:ee,useClass:j},{provide:D.k,useClass:D.yy},{provide:Pe,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:tt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(St),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return st})(),Nt=(()=>{class st extends M{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:M,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),bt=(()=>{class st extends k{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:k,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),_e=(()=>{class st extends I{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:I,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),ce=(()=>{class st extends L{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:L,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),z=(()=>{class st extends R{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),oe=(()=>{class st extends U{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Se=(()=>{class st extends W{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),nt=(()=>{class st extends te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),mt=(()=>{class st extends Ge{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),He=(()=>{class st extends $e{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),rt=(()=>{class st extends Ze{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ze,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Lt=(()=>{class st extends Et{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Xt=(()=>{class st extends Te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),tn=(()=>{class st extends qe{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Nn=(()=>{class st extends En{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-text-column"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,ut,2,3,"th",1)(2,Oe,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[bt,ce,Nt,z,Se],encapsulation:2})}return st})(),_i=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ft.MatCommonModule,Bt,Ft.MatCommonModule]})}return st})();class Yn extends D.o2{get data(){return this._data.value}set data(pn){pn=Array.isArray(pn)?pn:[],this._data.next(pn),this._renderChangesSubscription||this._filterData(pn)}get filter(){return this._filter.value}set filter(pn){this._filter.next(pn),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(pn){this._sort=pn,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(pn){this._paginator=pn,this._updateChangeSubscription()}constructor(pn=[]){super(),this._renderData=new h.X([]),this._filter=new h.X(""),this._internalPageChanges=new s.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ue,ot)=>{const At=Ue[ot];if((0,d.t6)(At)){const qt=Number(At);return qt<9007199254740991?qt:At}return At},this.sortData=(Ue,ot)=>{const At=ot.active,qt=ot.direction;return At&&""!=qt?Ue.sort((it,dt)=>{let ct=this.sortingDataAccessor(it,At),Ut=this.sortingDataAccessor(dt,At);const wt=typeof ct,vt=typeof Ut;wt!==vt&&("number"===wt&&(ct+=""),"number"===vt&&(Ut+=""));let Ht=0;return null!=ct&&null!=Ut?ct>Ut?Ht=1:ct{const At=Object.keys(Ue).reduce((it,dt)=>it+Ue[dt]+"\u25ec","").toLowerCase(),qt=ot.trim().toLowerCase();return-1!=At.indexOf(qt)},this._data=new h.X(pn),this._updateChangeSubscription()}_updateChangeSubscription(){const pn=this._sort?(0,De.T)(this._sort.sortChange,this._sort.initialized):(0,l.of)(null),Ue=this._paginator?(0,De.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,l.of)(null),At=(0,Ve.a)([this._data,this._filter]).pipe((0,Xe.U)(([dt])=>this._filterData(dt))),qt=(0,Ve.a)([At,pn]).pipe((0,Xe.U)(([dt])=>this._orderData(dt))),it=(0,Ve.a)([qt,Ue]).pipe((0,Xe.U)(([dt])=>this._pageData(dt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=it.subscribe(dt=>this._renderData.next(dt))}_filterData(pn){return this.filteredData=null==this.filter||""===this.filter?pn:pn.filter(Ue=>this.filterPredicate(Ue,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(pn){return this.sort?this.sortData(pn.slice(),this.sort):pn}_pageData(pn){if(!this.paginator)return pn;const Ue=this.paginator.pageIndex*this.paginator.pageSize;return pn.slice(Ue,Ue+this.paginator.pageSize)}_updatePaginator(pn){Promise.resolve().then(()=>{const Ue=this.paginator;if(Ue&&(Ue.length=pn,Ue.pageIndex>0)){const ot=Math.ceil(Ue.length/Ue.pageSize)-1||0,At=Math.min(Ue.pageIndex,ot);At!==Ue.pageIndex&&(Ue.pageIndex=At,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_TAB:()=>q,MAT_TABS_CONFIG:()=>Ft,MAT_TAB_CONTENT:()=>Ce,MAT_TAB_GROUP:()=>jt,MAT_TAB_LABEL:()=>Ae,MatInkBar:()=>me,MatPaginatedTabHeader:()=>un,MatTab:()=>cn,MatTabBody:()=>Ie,MatTabBodyPortal:()=>Ee,MatTabChangeEvent:()=>tt,MatTabContent:()=>ge,MatTabGroup:()=>St,MatTabHeader:()=>Bt,MatTabLabel:()=>Re,MatTabLabelWrapper:()=>Ot,MatTabLink:()=>Pt,MatTabNav:()=>Oe,MatTabNavPanel:()=>Nt,MatTabsModule:()=>bt,_MAT_INK_BAR_POSITIONER:()=>Be,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Ne,matTabsAnimations:()=>qe});var n=_(6814),f=_(9212),D=_(3680),y=_(8484),u=_(7131),v=_(4191),s=_(9388),m=_(7394),h=_(8645),o=_(2438),l=_(2096),r=_(3019),c=_(6232),d=_(5592),g=_(9080),b=_(5619),C=_(7921),x=_(3997),w=_(9773),T=_(8180),S=_(4664),M=_(836),k=_(2181),I=_(6825),P=_(2495),A=_(6672),L=_(2831),F=_(6028);function R(_e,ce){}const U=_e=>({animationDuration:_e}),W=(_e,ce)=>({value:_e,params:ce});function ne(_e,ce){1&_e&&f.\u0275\u0275projection(0)}const ee=["*"],j=["tabListContainer"],B=["tabList"],$=["tabListInner"],Z=["nextPaginator"],H=["previousPaginator"],te=["tabBodyWrapper"],ue=["tabHeader"];function ye(_e,ce){}function Ge(_e,ce){if(1&_e&&f.\u0275\u0275template(0,ye,0,0,"ng-template",10),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("cdkPortalOutlet",z.templateLabel)}}function $e(_e,ce){if(1&_e&&f.\u0275\u0275text(0),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275textInterpolate(z.textLabel)}}function Ye(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"div",4,5),f.\u0275\u0275listener("click",function(){const Se=f.\u0275\u0275restoreView(z),at=Se.$implicit,nt=Se.$index,mt=f.\u0275\u0275nextContext(),He=f.\u0275\u0275reference(1);return f.\u0275\u0275resetView(mt._handleClick(at,He,nt))})("cdkFocusChange",function(Se){const nt=f.\u0275\u0275restoreView(z).$index,mt=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(mt._tabFocusChanged(Se,nt))}),f.\u0275\u0275element(2,"span",6)(3,"div",7),f.\u0275\u0275elementStart(4,"span",8)(5,"span",9),f.\u0275\u0275template(6,Ge,1,1,null,10)(7,$e,1,1),f.\u0275\u0275elementEnd()()()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275reference(1),at=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mdc-tab--active",at.selectedIndex===oe),f.\u0275\u0275property("id",at._getTabLabelId(oe))("ngClass",z.labelClass)("disabled",z.disabled)("fitInkBarToContent",at.fitInkBarToContent),f.\u0275\u0275attribute("tabIndex",at._getTabIndex(oe))("aria-posinset",oe+1)("aria-setsize",at._tabs.length)("aria-controls",at._getTabContentId(oe))("aria-selected",at.selectedIndex===oe)("aria-label",z.ariaLabel||null)("aria-labelledby",!z.ariaLabel&&z.ariaLabelledby?z.ariaLabelledby:null),f.\u0275\u0275advance(3),f.\u0275\u0275property("matRippleTrigger",Se)("matRippleDisabled",z.disabled||at.disableRipple),f.\u0275\u0275advance(3),f.\u0275\u0275conditional(6,z.templateLabel?6:7)}}function Ze(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-body",11),f.\u0275\u0275listener("_onCentered",function(){f.\u0275\u0275restoreView(z);const Se=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Se._removeTabBodyWrapperHeight())})("_onCentering",function(Se){f.\u0275\u0275restoreView(z);const at=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(at._setTabBodyWrapperHeight(Se))}),f.\u0275\u0275elementEnd()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mat-mdc-tab-body-active",Se.selectedIndex===oe),f.\u0275\u0275property("id",Se._getTabContentId(oe))("ngClass",z.bodyClass)("content",z.content)("position",z.position)("origin",z.origin)("animationDuration",Se.animationDuration)("preserveContent",Se.preserveContent),f.\u0275\u0275attribute("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===oe?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(oe))("aria-hidden",Se.selectedIndex!==oe)}}const Et=["mat-tab-nav-bar",""],Te=["mat-tab-link",""],qe={translateTab:(0,I.X$)("translateTab",[(0,I.SB)("center, void, left-origin-center, right-origin-center",(0,I.oB)({transform:"none"})),(0,I.SB)("left",(0,I.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.SB)("right",(0,I.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.eR)("* => left, * => right, left => center, right => center",(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,I.eR)("void => left-origin-center",[(0,I.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,I.eR)("void => right-origin-center",[(0,I.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ee=(()=>{class _e extends y.Pl{constructor(z,oe,Se,at){super(z,oe,at),this._host=Se,this._centeringSub=m.w0.EMPTY,this._leavingSub=m.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,C.O)(this._host._isCenterPosition(this._host._position))).subscribe(z=>{z&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ComponentFactoryResolver),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject((0,f.forwardRef)(()=>Ie)),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabBodyHost",""]],features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ie=(()=>{class _e{set position(z){this._positionIndex=z,this._computePositionAnimationState()}constructor(z,oe,Se){this._elementRef=z,this._dir=oe,this._dirChangeSubscription=m.w0.EMPTY,this._translateTabComplete=new h.x,this._onCentering=new f.EventEmitter,this._beforeCentering=new f.EventEmitter,this._afterLeavingCenter=new f.EventEmitter,this._onCentered=new f.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,oe&&(this._dirChangeSubscription=oe.change.subscribe(at=>{this._computePositionAnimationState(at),Se.markForCheck()})),this._translateTabComplete.pipe((0,x.x)((at,nt)=>at.fromState===nt.fromState&&at.toState===nt.toState)).subscribe(at=>{this._isCenterPosition(at.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(at.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(z){const oe=this._isCenterPosition(z.toState);this._beforeCentering.emit(oe),oe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(z){return"center"==z||"left-origin-center"==z||"right-origin-center"==z}_computePositionAnimationState(z=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==z?"left":"right":this._positionIndex>0?"ltr"==z?"right":"left":"center"}_computePositionFromOrigin(z){const oe=this._getLayoutDirection();return"ltr"==oe&&z<=0||"rtl"==oe&&z>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.ChangeDetectorRef))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-body"]],viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(y.Pl,5),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._portalHost=at.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"div",0,1),f.\u0275\u0275listener("@translateTab.start",function(nt){return Se._onTranslateTabStarted(nt)})("@translateTab.done",function(nt){return Se._translateTabComplete.next(nt)}),f.\u0275\u0275template(2,R,0,0,"ng-template",2),f.\u0275\u0275elementEnd()),2&oe&&f.\u0275\u0275property("@translateTab",f.\u0275\u0275pureFunction2(3,W,Se._position,f.\u0275\u0275pureFunction1(1,U,Se.animationDuration)))},dependencies:[Ee],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[qe.translateTab]}})}return _e})();const Ce=new f.InjectionToken("MatTabContent");let ge=(()=>{class _e{constructor(z){this.template=z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabContent",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ce,useExisting:_e}])]})}return _e})();const Ae=new f.InjectionToken("MatTabLabel"),q=new f.InjectionToken("MAT_TAB");let Re=(()=>{class _e extends y.ig{constructor(z,oe,Se){super(z,oe),this._closestTab=Se}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(q,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ae,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const ke="mdc-tab-indicator--active",Ke="mdc-tab-indicator--no-transition";class me{constructor(ce){this._items=ce}hide(){this._items.forEach(ce=>ce.deactivateInkBar())}alignToElement(ce){const z=this._items.find(Se=>Se.elementRef.nativeElement===ce),oe=this._currentItem;if(z!==oe&&(oe?.deactivateInkBar(),z)){const Se=oe?.elementRef.nativeElement.getBoundingClientRect?.();z.activateInkBar(Se),this._currentItem=z}}}function Pe(_e){return class extends _e{constructor(...ce){super(...ce),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ce){const z=(0,P.Ig)(ce);this._fitToContent!==z&&(this._fitToContent=z,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ce){const z=this.elementRef.nativeElement;if(!ce||!z.getBoundingClientRect||!this._inkBarContentElement)return void z.classList.add(ke);const oe=z.getBoundingClientRect(),Se=ce.width/oe.width,at=ce.left-oe.left;z.classList.add(Ke),this._inkBarContentElement.style.setProperty("transform",`translateX(${at}px) scaleX(${Se})`),z.getBoundingClientRect(),z.classList.remove(Ke),z.classList.add(ke),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ke)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ce=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ce.createElement("span"),this._inkBarContentElement=ce.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function Ne(){return ce=>({left:ce?(ce.offsetLeft||0)+"px":"0",width:ce?(ce.offsetWidth||0)+"px":"0"})}const Be=new f.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:Ne}),yt=Pe((0,D.mixinDisabled)(class{}));let Ot=(()=>{class _e extends yt{constructor(z){super(),this.elementRef=z}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275attribute("aria-disabled",!!Se.disabled),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const Yt=(0,D.mixinDisabled)(class{}),jt=new f.InjectionToken("MAT_TAB_GROUP");let cn=(()=>{class _e extends Yt{get templateLabel(){return this._templateLabel}set templateLabel(z){this._setTemplateLabelInput(z)}get content(){return this._contentPortal}constructor(z,oe){super(),this._viewContainerRef=z,this._closestTabGroup=oe,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(z){(z.hasOwnProperty("textLabel")||z.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(z){z&&z._closestTab===this&&(this._templateLabel=z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab"]],contentQueries:function(oe,Se,at){if(1&oe&&(f.\u0275\u0275contentQuery(at,Re,5),f.\u0275\u0275contentQuery(at,ge,7,f.TemplateRef)),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se.templateLabel=nt.first),f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._explicitContent=nt.first)}},viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(f.TemplateRef,7),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._implicitContent=at.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[f.\u0275\u0275ProvidersFeature([{provide:q,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275template(0,ne,1,0,"ng-template"))},encapsulation:2})}return _e})();const fn=(0,L.i$)({passive:!0});let un=(()=>{class _e{get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){z=(0,P.su)(z),this._selectedIndex!=z&&(this._selectedIndexChanged=!0,this._selectedIndex=z,this._keyManager&&this._keyManager.updateActiveItem(z))}constructor(z,oe,Se,at,nt,mt,He){this._elementRef=z,this._changeDetectorRef=oe,this._viewportRuler=Se,this._dir=at,this._ngZone=nt,this._platform=mt,this._animationMode=He,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new f.EventEmitter,this.indexFocused=new f.EventEmitter,nt.runOutsideAngular(()=>{(0,o.R)(z.nativeElement,"mouseleave").pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,o.R)(this._previousPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,o.R)(this._nextPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const z=this._dir?this._dir.change:(0,l.of)("ltr"),oe=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new v.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(Se),(0,r.T)(z,oe,this._items.changes,this._itemsResized()).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Se()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(at=>{this.indexFocused.emit(at),this._setTabFocus(at)})}_itemsResized(){return"function"!=typeof ResizeObserver?c.E:this._items.changes.pipe((0,C.O)(this._items),(0,S.w)(z=>new d.y(oe=>this._ngZone.runOutsideAngular(()=>{const Se=new ResizeObserver(at=>oe.next(at));return z.forEach(at=>Se.observe(at.elementRef.nativeElement)),()=>{Se.disconnect()}}))),(0,M.T)(1),(0,k.h)(z=>z.some(oe=>oe.contentRect.width>0&&oe.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(z){if(!(0,F.Vb)(z))switch(z.keyCode){case F.K5:case F.L_:if(this.focusIndex!==this.selectedIndex){const oe=this._items.get(this.focusIndex);oe&&!oe.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(z))}break;default:this._keyManager.onKeydown(z)}}_onContentChanges(){const z=this._elementRef.nativeElement.textContent;z!==this._currentTextContent&&(this._currentTextContent=z||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(z){!this._isValidIndex(z)||this.focusIndex===z||!this._keyManager||this._keyManager.setActiveItem(z)}_isValidIndex(z){return!this._items||!!this._items.toArray()[z]}_setTabFocus(z){if(this._showPaginationControls&&this._scrollToLabel(z),this._items&&this._items.length){this._items.toArray()[z].focus();const oe=this._tabListContainer.nativeElement;oe.scrollLeft="ltr"==this._getLayoutDirection()?0:oe.scrollWidth-oe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const z=this.scrollDistance,oe="ltr"===this._getLayoutDirection()?-z:z;this._tabList.nativeElement.style.transform=`translateX(${Math.round(oe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(z){this._scrollTo(z)}_scrollHeader(z){return this._scrollTo(this._scrollDistance+("before"==z?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(z){this._stopInterval(),this._scrollHeader(z)}_scrollToLabel(z){if(this.disablePagination)return;const oe=this._items?this._items.toArray()[z]:null;if(!oe)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:at,offsetWidth:nt}=oe.elementRef.nativeElement;let mt,He;"ltr"==this._getLayoutDirection()?(mt=at,He=mt+nt):(He=this._tabListInner.nativeElement.offsetWidth-at,mt=He-nt);const rt=this.scrollDistance,Lt=this.scrollDistance+Se;mtLt&&(this.scrollDistance+=Math.min(He-Lt,mt-rt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const z=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;z||(this.scrollDistance=0),z!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=z}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const z=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,oe=z?z.elementRef.nativeElement:null;oe?this._inkBar.alignToElement(oe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(z,oe){oe&&null!=oe.button&&0!==oe.button||(this._stopInterval(),(0,g.H)(650,100).pipe((0,w.R)((0,r.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:at}=this._scrollHeader(z);(0===at||at>=Se)&&this._stopInterval()}))}_scrollTo(z){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const oe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(oe,z)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:oe,distance:this._scrollDistance}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,inputs:{disablePagination:"disablePagination"}})}return _e})(),Bt=(()=>{class _e extends un{get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He){super(z,oe,Se,at,nt,mt,He),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new me(this._items),super.ngAfterContentInit()}_itemSelected(z){z.preventDefault()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-header"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,Ot,4),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._items=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(j,7),f.\u0275\u0275viewQuery(B,7),f.\u0275\u0275viewQuery($,7),f.\u0275\u0275viewQuery(Z,5),f.\u0275\u0275viewQuery(H,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListContainer=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabList=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListInner=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._nextPaginator=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._previousPaginator=at.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[f.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275elementStart(0,"button",0,1),f.\u0275\u0275listener("click",function(){return Se._handlePaginatorClick("before")})("mousedown",function(nt){return Se._handlePaginatorPress("before",nt)})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(2,"div",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"div",3,4),f.\u0275\u0275listener("keydown",function(nt){return Se._handleKeydown(nt)}),f.\u0275\u0275elementStart(5,"div",5,6),f.\u0275\u0275listener("cdkObserveContent",function(){return Se._onContentChanges()}),f.\u0275\u0275elementStart(7,"div",7,8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275elementStart(10,"button",9,10),f.\u0275\u0275listener("mousedown",function(nt){return Se._handlePaginatorPress("after",nt)})("click",function(){return Se._handlePaginatorClick("after")})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(12,"div",2),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),f.\u0275\u0275advance(3),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(7),f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[D.MatRipple,u.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return _e})();const Ft=new f.InjectionToken("MAT_TABS_CONFIG");let De=0;const Ve=(0,D.mixinColor)((0,D.mixinDisableRipple)(class{constructor(_e){this._elementRef=_e}}),"primary");let St=(()=>{class _e extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(z){this._fitInkBarToContent=(0,P.Ig)(z),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(z){this._dynamicHeight=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){this._indexToSelect=(0,P.su)(z,null)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(z){this._contentTabIndex=(0,P.su)(z,null)}get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get preserveContent(){return this._preserveContent}set preserveContent(z){this._preserveContent=(0,P.Ig)(z)}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}constructor(z,oe,Se,at){super(z),this._changeDetectorRef=oe,this._animationMode=at,this._tabs=new f.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=m.w0.EMPTY,this._tabLabelSubscription=m.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new f.EventEmitter,this.focusChange=new f.EventEmitter,this.animationDone=new f.EventEmitter,this.selectedTabChange=new f.EventEmitter(!0),this._groupId=De++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,this.contentTabIndex=Se?.contentTabIndex??null,this.preserveContent=!!Se?.preserveContent,this.fitInkBarToContent=!(!Se||null==Se.fitInkBarToContent)&&Se.fitInkBarToContent,this.stretchTabs=!Se||null==Se.stretchTabs||Se.stretchTabs}ngAfterContentChecked(){const z=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=z){const oe=null==this._selectedIndex;if(!oe){this.selectedTabChange.emit(this._createChangeEvent(z));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,at)=>Se.isActive=at===z),oe||(this.selectedIndexChange.emit(z),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((oe,Se)=>{oe.position=Se-z,null!=this._selectedIndex&&0==oe.position&&!oe.origin&&(oe.origin=z-this._selectedIndex)}),this._selectedIndex!==z&&(this._selectedIndex=z,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const z=this._clampTabIndex(this._indexToSelect);if(z===this._selectedIndex){const oe=this._tabs.toArray();let Se;for(let at=0;at{oe[z].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(z))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,C.O)(this._allTabs)).subscribe(z=>{this._tabs.reset(z.filter(oe=>oe._closestTabGroup===this||!oe._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(z){const oe=this._tabHeader;oe&&(oe.focusIndex=z)}_focusChanged(z){this._lastFocusedTabIndex=z,this.focusChange.emit(this._createChangeEvent(z))}_createChangeEvent(z){const oe=new tt;return oe.index=z,this._tabs&&this._tabs.length&&(oe.tab=this._tabs.toArray()[z]),oe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,r.T)(...this._tabs.map(z=>z._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(z){return Math.min(this._tabs.length-1,Math.max(z||0,0))}_getTabLabelId(z){return`mat-tab-label-${this._groupId}-${z}`}_getTabContentId(z){return`mat-tab-content-${this._groupId}-${z}`}_setTabBodyWrapperHeight(z){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const oe=this._tabBodyWrapper.nativeElement;oe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(oe.style.height=z+"px")}_removeTabBodyWrapperHeight(){const z=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=z.clientHeight,z.style.height="",this.animationDone.emit()}_handleClick(z,oe,Se){oe.focusIndex=Se,z.disabled||(this.selectedIndex=Se)}_getTabIndex(z){return z===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(z,oe){z&&"mouse"!==z&&"touch"!==z&&(this._tabHeader.focusIndex=oe)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(Ft,8),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-group"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,cn,5),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._allTabs=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(te,5),f.\u0275\u0275viewQuery(ue,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabBodyWrapper=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabHeader=at.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),f.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Se.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Se.headerPosition)("mat-mdc-tab-group-stretch-tabs",Se.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[f.\u0275\u0275ProvidersFeature([{provide:jt,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"mat-tab-header",0,1),f.\u0275\u0275listener("indexFocused",function(nt){return Se._focusChanged(nt)})("selectFocusedIndex",function(nt){return Se.selectedIndex=nt}),f.\u0275\u0275repeaterCreate(2,Ye,8,16,"div",12,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(4,"div",2,3),f.\u0275\u0275repeaterCreate(6,Ze,1,12,"mat-tab-body",13,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275property("selectedIndex",Se.selectedIndex||0)("disableRipple",Se.disableRipple)("disablePagination",Se.disablePagination),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs),f.\u0275\u0275advance(2),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs))},dependencies:[n.NgClass,y.Pl,D.MatRipple,v.kH,Ie,Ot,Bt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return _e})();class tt{}let ut=0,Oe=(()=>{class _e extends un{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(z){this._fitInkBarToContent.next((0,P.Ig)(z)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He,rt){super(z,at,nt,oe,Se,mt,He),this._fitInkBarToContent=new b.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!rt||null==rt.disablePagination)&&rt.disablePagination,this.fitInkBarToContent=!(!rt||null==rt.fitInkBarToContent)&&rt.fitInkBarToContent,this.stretchTabs=!rt||null==rt.stretchTabs||rt.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new me(this._items),this._items.changes.pipe((0,C.O)(null),(0,w.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const z=this._items.toArray();for(let oe=0;oe.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return _e})();const Ct=Pe((0,D.mixinTabIndex)((0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}))));let Pt=(()=>{class _e extends Ct{get active(){return this._isActive}set active(z){const oe=(0,P.Ig)(z);oe!==this._isActive&&(this._isActive=oe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(z,oe,Se,at,nt,mt){super(),this._tabNavBar=z,this.elementRef=oe,this._focusMonitor=nt,this._destroyed=new h.x,this._isActive=!1,this.id="mat-tab-link-"+ut++,this.rippleConfig=Se||{},this.tabIndex=parseInt(at)||0,"NoopAnimations"===mt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),z._fitInkBarToContent.pipe((0,w.R)(this._destroyed)).subscribe(He=>{this.fitInkBarToContent=He})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(z){(z.keyCode===F.L_||z.keyCode===F.K5)&&(this.disabled?z.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(Oe),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(D.MAT_RIPPLE_GLOBAL_OPTIONS,8),f.\u0275\u0275injectAttribute("tabindex"),f.\u0275\u0275directiveInject(v.tE),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(oe,Se){1&oe&&f.\u0275\u0275listener("focus",function(){return Se._handleFocus()})("keydown",function(nt){return Se._handleKeydown(nt)}),2&oe&&(f.\u0275\u0275attribute("aria-controls",Se._getAriaControls())("aria-current",Se._getAriaCurrent())("aria-disabled",Se.disabled)("aria-selected",Se._getAriaSelected())("id",Se.id)("tabIndex",Se._getTabIndex())("role",Se._getRole()),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled)("mdc-tab--active",Se.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:Te,ngContentSelectors:ee,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0)(1,"div",1),f.\u0275\u0275elementStart(2,"span",2)(3,"span",3),f.\u0275\u0275projection(4),f.\u0275\u0275elementEnd()()),2&oe&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("matRippleTrigger",Se.elementRef.nativeElement)("matRippleDisabled",Se.rippleDisabled))},dependencies:[D.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return _e})(),Nt=(()=>{class _e{constructor(){this.id="mat-tab-nav-panel-"+ut++}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275attribute("aria-labelledby",Se._activeTabId)("id",Se.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return _e})(),bt=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[n.CommonModule,D.MatCommonModule,y.eL,D.MatRippleModule,u.Q8,v.rt,D.MatCommonModule]})}return _e})()},1274:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatToolbar:()=>h,MatToolbarModule:()=>l,MatToolbarRow:()=>m,throwToolbarMixedModesError:()=>o});var n=_(9212),f=_(3680),D=_(2831),y=_(6814);const u=["*",[["mat-toolbar-row"]]],v=["*","mat-toolbar-row"],s=(0,f.mixinColor)(class{constructor(r){this._elementRef=r}});let m=(()=>{class r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return r})(),h=(()=>{class r extends s{constructor(d,g,b){super(d),this._platform=g,this._document=b}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(g){return new(g||r)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(y.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-toolbar"]],contentQueries:function(g,b,C){if(1&g&&n.\u0275\u0275contentQuery(C,m,5),2&g){let x;n.\u0275\u0275queryRefresh(x=n.\u0275\u0275loadQuery())&&(b._toolbarRows=x)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(g,b){2&g&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",b._toolbarRows.length>0)("mat-toolbar-single-row",0===b._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:2,vars:0,template:function(g,b){1&g&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return r})();function o(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}let l=(()=>{class r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:r});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return r})()},2596:(Me,ie,_)=>{"use strict";_.d(ie,{AV:()=>B,gM:()=>ne});var n=_(9773),f=_(8180),D=_(2495),y=_(6028),u=_(9212),v=_(6814),s=_(2831),m=_(4191),h=_(9388),o=_(9594),l=_(6672),r=_(8484),c=_(8645),g=(_(6825),_(3680));const b=["tooltip"],w=new u.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,u.inject)(o.aV);return()=>$.scrollStrategies.reposition({scrollThrottle:20})}}),S={provide:w,deps:[o.aV],useFactory:function T($){return()=>$.scrollStrategies.reposition({scrollThrottle:20})}},k=new u.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function M(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),P="tooltip-panel",A=(0,s.i$)({passive:!0});let ne=(()=>{class ${get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,D.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,D.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,D.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,D.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).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(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,te,ue,ye,Ge,$e,Ye,Ze,Et,Te,qe,Ee){this._overlay=H,this._elementRef=te,this._scrollDispatcher=ue,this._viewContainerRef=ye,this._ngZone=Ge,this._platform=$e,this._ariaDescriber=Ye,this._focusMonitor=Ze,this._dir=Te,this._defaultOptions=qe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ee,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new c.x,this._scrollStrategy=Et,this._document=Ee,qe&&(this._showDelay=qe.showDelay,this._hideDelay=qe.hideDelay,qe.position&&(this.position=qe.position),qe.positionAtOrigin&&(this.positionAtOrigin=qe.positionAtOrigin),qe.touchGestures&&(this.touchGestures=qe.touchGestures)),Te.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([te,ue])=>{H.removeEventListener(te,ue,A)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,te){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ue=this._createOverlay(te);this._detach(),this._portal=this._portal||new r.C5(this._tooltipComponent,this._viewContainerRef);const ye=this._tooltipInstance=ue.attach(this._portal).instance;ye._triggerElement=this._elementRef.nativeElement,ye._mouseLeaveHideDelay=this._hideDelay,ye.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ye.show(H)}hide(H=this.hideDelay){const te=this._tooltipInstance;te&&(te.isVisible()?te.hide(H):(te._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const ye=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&ye._origin instanceof u.ElementRef)return this._overlayRef;this._detach()}const te=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ue=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(te);return ue.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._updateCurrentPositionClass(ye.connectionPair),this._tooltipInstance&&ye.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ue,panelClass:`${this._cssClassPrefix}-${P}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._isTooltipVisible()&&ye.keyCode===y.hY&&!(0,y.Vb)(ye)&&(ye.preventDefault(),ye.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(H){const te=H.getConfig().positionStrategy,ue=this._getOrigin(),ye=this._getOverlayPosition();te.withPositions([this._addOffset({...ue.main,...ye.main}),this._addOffset({...ue.fallback,...ye.fallback})])}_addOffset(H){const ue=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=ue?-8:8:"end"===H.originX&&(H.offsetX=ue?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te||"below"==te?ue={originX:"center",originY:"above"==te?"top":"bottom"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={originX:"start",originY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={originX:"end",originY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.originX,ue.originY);return{main:ue,fallback:{originX:ye,originY:Ge}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te?ue={overlayX:"center",overlayY:"bottom"}:"below"==te?ue={overlayX:"center",overlayY:"top"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={overlayX:"end",overlayY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={overlayX:"start",overlayY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.overlayX,ue.overlayY);return{main:ue,fallback:{overlayX:ye,overlayY:Ge}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,te){return"above"===this.position||"below"===this.position?"top"===te?te="bottom":"bottom"===te&&(te="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:te}}_updateCurrentPositionClass(H){const{overlayY:te,originX:ue,originY:ye}=H;let Ge;if(Ge="center"===te?this._dir&&"rtl"===this._dir.value?"end"===ue?"left":"right":"start"===ue?"left":"right":"bottom"===te&&"top"===ye?"above":"below",Ge!==this._currentPosition){const $e=this._overlayRef;if($e){const Ye=`${this._cssClassPrefix}-${P}-`;$e.removePanelClass(Ye+this._currentPosition),$e.addPanelClass(Ye+Ge)}this._currentPosition=Ge}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let te;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(te=H),this.show(void 0,te)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const te=H.targetTouches?.[0],ue=te?{x:te.clientX,y:te.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ue),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",te=>{const ue=te.relatedTarget;(!ue||!this._overlayRef?.overlayElement.contains(ue))&&this.hide()}],["wheel",te=>this._wheelListener(te)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const te=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",te],["touchcancel",te])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([te,ue])=>{this._elementRef.nativeElement.addEventListener(te,ue,A)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const te=this._document.elementFromPoint(H.clientX,H.clientY),ue=this._elementRef.nativeElement;te!==ue&&!ue.contains(te)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const te=this._elementRef.nativeElement,ue=te.style;("on"===H||"INPUT"!==te.nodeName&&"TEXTAREA"!==te.nodeName)&&(ue.userSelect=ue.msUserSelect=ue.webkitUserSelect=ue.MozUserSelect="none"),("on"===H||!te.draggable)&&(ue.webkitUserDrag="none"),ue.touchAction="none",ue.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(o.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.mF),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(s.t4),u.\u0275\u0275directiveInject(m.$s),u.\u0275\u0275directiveInject(m.tE),u.\u0275\u0275directiveInject(w),u.\u0275\u0275directiveInject(h.Is),u.\u0275\u0275directiveInject(k,8),u.\u0275\u0275directiveInject(v.DOCUMENT))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:$,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(te,ue){2&te&&u.\u0275\u0275classProp("mat-mdc-tooltip-disabled",ue.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return $})(),ee=(()=>{class ${constructor(H,te,ue){this._changeDetectorRef=H,this._elementRef=te,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new c.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ue}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const te=this._tooltip.nativeElement,ue=this._showAnimation,ye=this._hideAnimation;if(te.classList.remove(H?ye:ue),te.classList.add(H?ue:ye),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ge=getComputedStyle(te);("0s"===Ge.getPropertyValue("animation-duration")||"none"===Ge.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(te.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:$,selectors:[["mat-tooltip-component"]],viewQuery:function(te,ue){if(1&te&&u.\u0275\u0275viewQuery(b,7),2&te){let ye;u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue._tooltip=ye.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(te,ue){1&te&&u.\u0275\u0275listener("mouseleave",function(Ge){return ue._handleMouseLeave(Ge)}),2&te&&u.\u0275\u0275styleProp("zoom",ue.isVisible()?1:null)},decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(te,ue){1&te&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("animationend",function(Ge){return ue._handleAnimationEnd(Ge)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&te&&(u.\u0275\u0275classProp("mdc-tooltip--multiline",ue._isMultiline),u.\u0275\u0275property("ngClass",ue.tooltipClass),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(ue.message))},dependencies:[v.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[S],imports:[m.rt,v.CommonModule,o.U8,g.MatCommonModule,g.MatCommonModule,l.ZD]})}return $})()},6593:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{BrowserModule:()=>Ce,By:()=>jt,DomSanitizer:()=>De,EVENT_MANAGER_PLUGINS:()=>l,EventManager:()=>r,EventManagerPlugin:()=>c,HAMMER_GESTURE_CONFIG:()=>an,HAMMER_LOADER:()=>En,HammerGestureConfig:()=>un,HammerModule:()=>Ft,Meta:()=>Ae,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>M,Title:()=>ke,TransferState:()=>bt,VERSION:()=>Pt,bootstrapApplication:()=>te,createApplication:()=>ue,disableDebugTools:()=>Yt,enableDebugTools:()=>Ot,makeStateKey:()=>Nt,platformBrowser:()=>Te,provideClientHydration:()=>Ct,provideProtractorTestingSupport:()=>Ge,withHttpTransferCacheOptions:()=>ut,withNoHttpTransferCache:()=>tt,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>h,\u0275DomEventsPlugin:()=>j,\u0275DomRendererFactory2:()=>A,\u0275DomSanitizerImpl:()=>Xe,\u0275HammerGesturesPlugin:()=>Bt,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Et,\u0275KeyEventsPlugin:()=>H,\u0275SharedStylesHost:()=>g,\u0275getDOM:()=>f.\u0275getDOM,\u0275initDomAdapter:()=>$e});var n=_(9212),f=_(6814),D=_(9862);class y extends f.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends y{static makeCurrent(){(0,f.\u0275setRootDomAdapter)(new u)}onAndCancel(ce,z,oe){return ce.addEventListener(z,oe),()=>{ce.removeEventListener(z,oe)}}dispatchEvent(ce,z){ce.dispatchEvent(z)}remove(ce){ce.parentNode&&ce.parentNode.removeChild(ce)}createElement(ce,z){return(z=z||this.getDefaultDocument()).createElement(ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ce){return ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(ce){return ce instanceof DocumentFragment}getGlobalEventTarget(ce,z){return"window"===z?window:"document"===z?ce:"body"===z?ce.body:null}getBaseHref(ce){const z=function s(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==z?null:function m(_e){return new URL(_e,document.baseURI).pathname}(z)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(ce){return(0,f.\u0275parseCookieValue)(document.cookie,ce)}}let v=null;class h{addToWindow(ce){n.\u0275global.getAngularTestability=(oe,Se=!0)=>{const at=ce.findTestabilityInTree(oe,Se);if(null==at)throw new n.\u0275RuntimeError(5103,!1);return at},n.\u0275global.getAllAngularTestabilities=()=>ce.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>ce.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(oe=>{const Se=n.\u0275global.getAllAngularTestabilities();let at=Se.length,nt=!1;const mt=function(He){nt=nt||He,at--,0==at&&oe(nt)};Se.forEach(He=>{He.whenStable(mt)})})}findTestabilityInTree(ce,z,oe){return null==z?null:ce.getTestability(z)??(oe?(0,f.\u0275getDOM)().isShadowRoot(z)?this.findTestabilityInTree(ce,z.host,!0):this.findTestabilityInTree(ce,z.parentElement,!0):null)}}let o=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const l=new n.InjectionToken("EventManagerPlugins");let r=(()=>{class _e{constructor(z,oe){this._zone=oe,this._eventNameToPlugin=new Map,z.forEach(Se=>{Se.manager=this}),this._plugins=z.slice().reverse()}addEventListener(z,oe,Se){return this._findPluginFor(oe).addEventListener(z,oe,Se)}getZone(){return this._zone}_findPluginFor(z){let oe=this._eventNameToPlugin.get(z);if(oe)return oe;if(oe=this._plugins.find(at=>at.supports(z)),!oe)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(z,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class c{constructor(ce){this._doc=ce}}const d="ng-app-id";let g=(()=>{class _e{constructor(z,oe,Se,at={}){this.doc=z,this.appId=oe,this.nonce=Se,this.platformId=at,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,f.isPlatformServer)(at),this.resetHostNodes()}addStyles(z){for(const oe of z)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(z){for(const oe of z)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const z=this.styleNodesInDOM;z&&(z.forEach(oe=>oe.remove()),z.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(z){this.hostNodes.add(z);for(const oe of this.getAllStyles())this.addStyleToHost(z,oe)}removeHost(z){this.hostNodes.delete(z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(z){for(const oe of this.hostNodes)this.addStyleToHost(oe,z)}onStyleRemoved(z){const oe=this.styleRef;oe.get(z)?.elements?.forEach(Se=>Se.remove()),oe.delete(z)}collectServerRenderedStyles(){const z=this.doc.head?.querySelectorAll(`style[${d}="${this.appId}"]`);if(z?.length){const oe=new Map;return z.forEach(Se=>{null!=Se.textContent&&oe.set(Se.textContent,Se)}),oe}return null}changeUsageCount(z,oe){const Se=this.styleRef;if(Se.has(z)){const at=Se.get(z);return at.usage+=oe,at.usage}return Se.set(z,{usage:oe,elements:[]}),oe}getStyleElement(z,oe){const Se=this.styleNodesInDOM,at=Se?.get(oe);if(at?.parentNode===z)return Se.delete(oe),at.removeAttribute(d),at;{const nt=this.doc.createElement("style");return this.nonce&&nt.setAttribute("nonce",this.nonce),nt.textContent=oe,this.platformIsServer&&nt.setAttribute(d,this.appId),z.appendChild(nt),nt}}addStyleToHost(z,oe){const Se=this.getStyleElement(z,oe),at=this.styleRef,nt=at.get(oe)?.elements;nt?nt.push(Se):at.set(oe,{elements:[Se],usage:1})}resetHostNodes(){const z=this.hostNodes;z.clear(),z.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const b={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/"},C=/%COMP%/g,x="%COMP%",w=`_nghost-${x}`,T=`_ngcontent-${x}`,M=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function P(_e,ce){return ce.map(z=>z.replace(C,_e))}let A=(()=>{class _e{constructor(z,oe,Se,at,nt,mt,He,rt=null){this.eventManager=z,this.sharedStylesHost=oe,this.appId=Se,this.removeStylesOnCompDestroy=at,this.doc=nt,this.platformId=mt,this.ngZone=He,this.nonce=rt,this.rendererByCompId=new Map,this.platformIsServer=(0,f.isPlatformServer)(mt),this.defaultRenderer=new L(z,nt,He,this.platformIsServer)}createRenderer(z,oe){if(!z||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===n.ViewEncapsulation.ShadowDom&&(oe={...oe,encapsulation:n.ViewEncapsulation.Emulated});const Se=this.getOrCreateRenderer(z,oe);return Se instanceof ee?Se.applyToHost(z):Se instanceof ne&&Se.applyStyles(),Se}getOrCreateRenderer(z,oe){const Se=this.rendererByCompId;let at=Se.get(oe.id);if(!at){const nt=this.doc,mt=this.ngZone,He=this.eventManager,rt=this.sharedStylesHost,Lt=this.removeStylesOnCompDestroy,Xt=this.platformIsServer;switch(oe.encapsulation){case n.ViewEncapsulation.Emulated:at=new ee(He,rt,oe,this.appId,Lt,nt,mt,Xt);break;case n.ViewEncapsulation.ShadowDom:return new W(He,rt,z,oe,nt,mt,this.nonce,Xt);default:at=new ne(He,rt,oe,Lt,nt,mt,Xt)}Se.set(oe.id,at)}return at}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(r),n.\u0275\u0275inject(g),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(M),n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class L{constructor(ce,z,oe,Se){this.eventManager=ce,this.doc=z,this.ngZone=oe,this.platformIsServer=Se,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ce,z){return z?this.doc.createElementNS(b[z]||z,ce):this.doc.createElement(ce)}createComment(ce){return this.doc.createComment(ce)}createText(ce){return this.doc.createTextNode(ce)}appendChild(ce,z){(U(ce)?ce.content:ce).appendChild(z)}insertBefore(ce,z,oe){ce&&(U(ce)?ce.content:ce).insertBefore(z,oe)}removeChild(ce,z){ce&&ce.removeChild(z)}selectRootElement(ce,z){let oe="string"==typeof ce?this.doc.querySelector(ce):ce;if(!oe)throw new n.\u0275RuntimeError(-5104,!1);return z||(oe.textContent=""),oe}parentNode(ce){return ce.parentNode}nextSibling(ce){return ce.nextSibling}setAttribute(ce,z,oe,Se){if(Se){z=Se+":"+z;const at=b[Se];at?ce.setAttributeNS(at,z,oe):ce.setAttribute(z,oe)}else ce.setAttribute(z,oe)}removeAttribute(ce,z,oe){if(oe){const Se=b[oe];Se?ce.removeAttributeNS(Se,z):ce.removeAttribute(`${oe}:${z}`)}else ce.removeAttribute(z)}addClass(ce,z){ce.classList.add(z)}removeClass(ce,z){ce.classList.remove(z)}setStyle(ce,z,oe,Se){Se&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?ce.style.setProperty(z,oe,Se&n.RendererStyleFlags2.Important?"important":""):ce.style[z]=oe}removeStyle(ce,z,oe){oe&n.RendererStyleFlags2.DashCase?ce.style.removeProperty(z):ce.style[z]=""}setProperty(ce,z,oe){null!=ce&&(ce[z]=oe)}setValue(ce,z){ce.nodeValue=z}listen(ce,z,oe){if("string"==typeof ce&&!(ce=(0,f.\u0275getDOM)().getGlobalEventTarget(this.doc,ce)))throw new Error(`Unsupported event target ${ce} for event ${z}`);return this.eventManager.addEventListener(ce,z,this.decoratePreventDefault(oe))}decoratePreventDefault(ce){return z=>{if("__ngUnwrap__"===z)return ce;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ce(z)):ce(z))&&z.preventDefault()}}}function U(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class W extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,He),this.sharedStylesHost=z,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=P(Se.id,Se.styles);for(const Lt of rt){const Xt=document.createElement("style");mt&&Xt.setAttribute("nonce",mt),Xt.textContent=Lt,this.shadowRoot.appendChild(Xt)}}nodeOrShadowRoot(ce){return ce===this.hostEl?this.shadowRoot:ce}appendChild(ce,z){return super.appendChild(this.nodeOrShadowRoot(ce),z)}insertBefore(ce,z,oe){return super.insertBefore(this.nodeOrShadowRoot(ce),z,oe)}removeChild(ce,z){return super.removeChild(this.nodeOrShadowRoot(ce),z)}parentNode(ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ce)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ne extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,mt),this.sharedStylesHost=z,this.removeStylesOnCompDestroy=Se,this.styles=He?P(He,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ee extends ne{constructor(ce,z,oe,Se,at,nt,mt,He){const rt=Se+"-"+oe.id;super(ce,z,oe,at,nt,mt,He,rt),this.contentAttr=function k(_e){return T.replace(C,_e)}(rt),this.hostAttr=function I(_e){return w.replace(C,_e)}(rt)}applyToHost(ce){this.applyStyles(),this.setAttribute(ce,this.hostAttr,"")}createElement(ce,z){const oe=super.createElement(ce,z);return super.setAttribute(oe,this.contentAttr,""),oe}}let j=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return!0}addEventListener(z,oe,Se){return z.addEventListener(oe,Se,!1),()=>this.removeEventListener(z,oe,Se)}removeEventListener(z,oe,Se){return z.removeEventListener(oe,Se)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const B=["alt","control","meta","shift"],$={"\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"},Z={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let H=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return null!=_e.parseEventName(z)}addEventListener(z,oe,Se){const at=_e.parseEventName(oe),nt=_e.eventCallback(at.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.\u0275getDOM)().onAndCancel(z,at.domEventName,nt))}static parseEventName(z){const oe=z.toLowerCase().split("."),Se=oe.shift();if(0===oe.length||"keydown"!==Se&&"keyup"!==Se)return null;const at=_e._normalizeKey(oe.pop());let nt="",mt=oe.indexOf("code");if(mt>-1&&(oe.splice(mt,1),nt="code."),B.forEach(rt=>{const Lt=oe.indexOf(rt);Lt>-1&&(oe.splice(Lt,1),nt+=rt+".")}),nt+=at,0!=oe.length||0===at.length)return null;const He={};return He.domEventName=Se,He.fullKey=nt,He}static matchEventFullKeyCode(z,oe){let Se=$[z.key]||z.key,at="";return oe.indexOf("code.")>-1&&(Se=z.code,at="code."),!(null==Se||!Se)&&(Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),B.forEach(nt=>{nt!==Se&&(0,Z[nt])(z)&&(at+=nt+".")}),at+=Se,at===oe)}static eventCallback(z,oe,Se){return at=>{_e.matchEventFullKeyCode(at,z)&&Se.runGuarded(()=>oe(at))}}static _normalizeKey(z){return"esc"===z?"escape":z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();function te(_e,ce){return(0,n.\u0275internalCreateApplication)({rootComponent:_e,...ye(ce)})}function ue(_e){return(0,n.\u0275internalCreateApplication)(ye(_e))}function ye(_e){return{appProviders:[...Ie,..._e?.providers??[]],platformProviders:Et}}function Ge(){return[...Ee]}function $e(){u.makeCurrent()}const Et=[{provide:n.PLATFORM_ID,useValue:f.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:$e,multi:!0},{provide:f.DOCUMENT,useFactory:function Ze(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Te=(0,n.createPlatformFactory)(n.platformCore,"browser",Et),qe=new n.InjectionToken(""),Ee=[{provide:n.\u0275TESTABILITY_GETTER,useClass:h,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Ie=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ye(){return new n.ErrorHandler},deps:[]},{provide:l,useClass:j,multi:!0,deps:[f.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:l,useClass:H,multi:!0,deps:[f.DOCUMENT]},A,g,r,{provide:n.RendererFactory2,useExisting:A},{provide:f.XhrFactory,useClass:o,deps:[]},[]];let Ce=(()=>{class _e{constructor(z){}static withServerTransition(z){return{ngModule:_e,providers:[{provide:n.APP_ID,useValue:z.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(qe,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Ie,...Ee],imports:[f.CommonModule,n.ApplicationModule]})}return _e})(),Ae=(()=>{class _e{constructor(z){this._doc=z,this._dom=(0,f.\u0275getDOM)()}addTag(z,oe=!1){return z?this._getOrCreateElement(z,oe):null}addTags(z,oe=!1){return z?z.reduce((Se,at)=>(at&&Se.push(this._getOrCreateElement(at,oe)),Se),[]):[]}getTag(z){return z&&this._doc.querySelector(`meta[${z}]`)||null}getTags(z){if(!z)return[];const oe=this._doc.querySelectorAll(`meta[${z}]`);return oe?[].slice.call(oe):[]}updateTag(z,oe){if(!z)return null;oe=oe||this._parseSelector(z);const Se=this.getTag(oe);return Se?this._setMetaElementAttributes(z,Se):this._getOrCreateElement(z,!0)}removeTag(z){this.removeTagElement(this.getTag(z))}removeTagElement(z){z&&this._dom.remove(z)}_getOrCreateElement(z,oe=!1){if(!oe){const nt=this._parseSelector(z),mt=this.getTags(nt).filter(He=>this._containsAttributes(z,He))[0];if(void 0!==mt)return mt}const Se=this._dom.createElement("meta");return this._setMetaElementAttributes(z,Se),this._doc.getElementsByTagName("head")[0].appendChild(Se),Se}_setMetaElementAttributes(z,oe){return Object.keys(z).forEach(Se=>oe.setAttribute(this._getMetaKeyMap(Se),z[Se])),oe}_parseSelector(z){const oe=z.name?"name":"property";return`${oe}="${z[oe]}"`}_containsAttributes(z,oe){return Object.keys(z).every(Se=>oe.getAttribute(this._getMetaKeyMap(Se))===z[Se])}_getMetaKeyMap(z){return q[z]||z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function ge(){return new Ae((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();const q={httpEquiv:"http-equiv"};let ke=(()=>{class _e{constructor(z){this._doc=z}getTitle(){return this._doc.title}setTitle(z){this._doc.title=z||""}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Re(){return new ke((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();function Ke(_e,ce){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[_e]=ce)}const me=typeof window<"u"&&window||{};class Pe{constructor(ce,z){this.msPerTick=ce,this.numTicks=z}}class Ne{constructor(ce){this.appRef=ce.injector.get(n.ApplicationRef)}timeChangeDetection(ce){const z=ce&&ce.record,oe="Change Detection",Se=null!=me.console.profile;z&&Se&&me.console.profile(oe);const at=Be();let nt=0;for(;nt<5||Be()-at<500;)this.appRef.tick(),nt++;const mt=Be();z&&Se&&me.console.profileEnd(oe);const He=(mt-at)/nt;return me.console.log(`ran ${nt} change detection cycles`),me.console.log(`${He.toFixed(2)} ms per check`),new Pe(He,nt)}}function Be(){return me.performance&&me.performance.now?me.performance.now():(new Date).getTime()}const yt="profiler";function Ot(_e){return Ke(yt,new Ne(_e)),_e}function Yt(){Ke(yt,null)}class jt{static all(){return()=>!0}static css(ce){return z=>null!=z.nativeElement&&function cn(_e,ce){return!!(0,f.\u0275getDOM)().isElementNode(_e)&&(_e.matches&&_e.matches(ce)||_e.msMatchesSelector&&_e.msMatchesSelector(ce)||_e.webkitMatchesSelector&&_e.webkitMatchesSelector(ce))}(z.nativeElement,ce)}static directive(ce){return z=>-1!==z.providerTokens.indexOf(ce)}}const fn={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},an=new n.InjectionToken("HammerGestureConfig"),En=new n.InjectionToken("HammerLoader");let un=(()=>{class _e{constructor(){this.events=[],this.overrides={}}buildHammer(z){const oe=new Hammer(z,this.options);oe.get("pinch").set({enable:!0}),oe.get("rotate").set({enable:!0});for(const Se in this.overrides)oe.get(Se).set(this.overrides[Se]);return oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Bt=(()=>{class _e extends c{constructor(z,oe,Se,at){super(z),this._config=oe,this.console=Se,this.loader=at,this._loaderPromise=null}supports(z){return!(!fn.hasOwnProperty(z.toLowerCase())&&!this.isCustomEvent(z)||!window.Hammer&&!this.loader)}addEventListener(z,oe,Se){const at=this.manager.getZone();if(oe=oe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||at.runOutsideAngular(()=>this.loader());let nt=!1,mt=()=>{nt=!0};return at.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?nt||(mt=this.addEventListener(z,oe,Se)):mt=()=>{}}).catch(()=>{mt=()=>{}})),()=>{mt()}}return at.runOutsideAngular(()=>{const nt=this._config.buildHammer(z),mt=function(He){at.runGuarded(function(){Se(He)})};return nt.on(oe,mt),()=>{nt.off(oe,mt),"function"==typeof nt.destroy&&nt.destroy()}})}isCustomEvent(z){return this._config.events.indexOf(z)>-1}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(an),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(En,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Ft=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:l,useClass:Bt,multi:!0,deps:[f.DOCUMENT,an,n.\u0275Console,[new n.Optional,En]]},{provide:an,useClass:un,deps:[]}]})}return _e})(),De=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new(oe||_e):n.\u0275\u0275inject(Xe),Se},providedIn:"root"})}return _e})(),Xe=(()=>{class _e extends De{constructor(z){super(),this._doc=z}sanitize(z,oe){if(null==oe)return null;switch(z){case n.SecurityContext.NONE:return oe;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"HTML")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeHtml)(this._doc,String(oe)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Style")?(0,n.\u0275unwrapSafeValue)(oe):oe;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Script"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"URL")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeUrl)(String(oe));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(z){return(0,n.\u0275bypassSanitizationTrustHtml)(z)}bypassSecurityTrustStyle(z){return(0,n.\u0275bypassSanitizationTrustStyle)(z)}bypassSecurityTrustScript(z){return(0,n.\u0275bypassSanitizationTrustScript)(z)}bypassSecurityTrustUrl(z){return(0,n.\u0275bypassSanitizationTrustUrl)(z)}bypassSecurityTrustResourceUrl(z){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Ve(_e){return new Xe(_e.get(f.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),Se},providedIn:"root"})}return _e})();function St(_e,ce=[],z={}){return{\u0275kind:_e,\u0275providers:ce}}function tt(){return St(0)}function ut(_e){return St(1,(0,D.\u0275withHttpTransferCache)(_e))}function Ct(..._e){const ce=[],z=new Set,oe=z.has(1);for(const{\u0275providers:Se,\u0275kind:at}of _e)z.add(at),Se.length&&ce.push(Se);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),z.has(0)||oe?[]:(0,D.\u0275withHttpTransferCache)({}),ce])}const Pt=new n.Version("17.0.8"),Nt=n.makeStateKey,bt=n.TransferState},5187:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ActivatedRoute:()=>_n,ActivatedRouteSnapshot:()=>Fn,ActivationEnd:()=>Zn,ActivationStart:()=>Ci,BaseRouteReuseStrategy:()=>Yi,ChildActivationEnd:()=>Bn,ChildActivationStart:()=>On,ChildrenOutletContexts:()=>fr,DefaultTitleStrategy:()=>Ds,DefaultUrlSerializer:()=>Yt,GuardsCheckEnd:()=>pe,GuardsCheckStart:()=>Y,NavigationCancel:()=>Ht,NavigationEnd:()=>vt,NavigationError:()=>ze,NavigationSkipped:()=>dn,NavigationStart:()=>wt,NoPreloading:()=>no,OutletContext:()=>Gi,PRIMARY_OUTLET:()=>Z,PreloadAllModules:()=>al,PreloadingStrategy:()=>ar,ROUTER_CONFIGURATION:()=>us,ROUTER_INITIALIZER:()=>bo,ROUTES:()=>J,ResolveEnd:()=>Qe,ResolveStart:()=>de,RouteConfigLoadEnd:()=>hn,RouteConfigLoadStart:()=>_t,RouteReuseStrategy:()=>Ii,Router:()=>Rr,RouterEvent:()=>Ut,RouterLink:()=>xi,RouterLinkActive:()=>Fs,RouterLinkWithHref:()=>xi,RouterModule:()=>ul,RouterOutlet:()=>Gr,RouterPreloader:()=>Ss,RouterState:()=>Fi,RouterStateSnapshot:()=>Ln,RoutesRecognized:()=>en,Scroll:()=>Ei,TitleStrategy:()=>po,UrlHandlingStrategy:()=>zt,UrlSegment:()=>Pe,UrlSegmentGroup:()=>me,UrlSerializer:()=>Ot,UrlTree:()=>Ke,VERSION:()=>ha,convertToParamMap:()=>ue,createUrlTreeFromSnapshot:()=>nt,defaultUrlMatcher:()=>ye,mapToCanActivate:()=>Uo,mapToCanActivateChild:()=>Bo,mapToCanDeactivate:()=>dl,mapToCanMatch:()=>ss,mapToResolve:()=>uc,provideRouter:()=>Lo,provideRoutes:()=>aa,withComponentInputBinding:()=>Ts,withDebugTracing:()=>Po,withDisabledInitialNavigation:()=>zn,withEnabledBlockingInitialNavigation:()=>_o,withHashLocation:()=>No,withInMemoryScrolling:()=>la,withNavigationErrorHandler:()=>vo,withPreloading:()=>ca,withRouterConfig:()=>io,withViewTransitions:()=>Fo,\u0275EmptyOutletComponent:()=>qr,\u0275ROUTER_PROVIDERS:()=>ro,\u0275afterNextNavigation:()=>ur,\u0275loadChildren:()=>le});var n=_(9212),f=_(2664),D=_(2459),y=_(2096),u=_(5619),v=_(2572),s=_(6973),m=_(34),h=_(4911),o=_(8407),l=_(8504),r=_(6232),c=_(3168),d=_(8645),g=_(7394),b=_(6814),C=_(7398),x=_(4664),w=_(8180),T=_(7921),S=_(2181),M=_(9769),k=_(1374),I=_(6328),P=_(9397),A=_(6306),L=_(6424),F=_(3572),R=_(2032),U=_(4418),W=_(975),ne=_(4716),ee=_(6196),j=_(9773),B=_(7537),$=_(6593);const Z="primary",H=Symbol("RouteTitle");class te{constructor(se){this.params=se||{}}has(se){return Object.prototype.hasOwnProperty.call(this.params,se)}get(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q[0]:Q}return null}getAll(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function ue(G){return new te(G)}function ye(G,se,Q){const re=Q.path.split("/");if(re.length>G.length||"full"===Q.pathMatch&&(se.hasChildren()||re.lengthre[We]===be)}return G===se}function Et(G){return G.length>0?G[G.length-1]:null}function Te(G){return(0,f.b)(G)?G:(0,n.\u0275isPromise)(G)?(0,D.D)(Promise.resolve(G)):(0,y.of)(G)}const qe={exact:function ge(G,se,Q){if(!Be(G.segments,se.segments)||!ke(G.segments,se.segments,Q)||G.numberOfChildren!==se.numberOfChildren)return!1;for(const re in se.children)if(!G.children[re]||!ge(G.children[re],se.children[re],Q))return!1;return!0},subset:q},Ee={exact:function Ce(G,se){return $e(G,se)},subset:function Ae(G,se){return Object.keys(se).length<=Object.keys(G).length&&Object.keys(se).every(Q=>Ze(G[Q],se[Q]))},ignored:()=>!0};function Ie(G,se,Q){return qe[Q.paths](G.root,se.root,Q.matrixParams)&&Ee[Q.queryParams](G.queryParams,se.queryParams)&&!("exact"===Q.fragment&&G.fragment!==se.fragment)}function q(G,se,Q){return Re(G,se,se.segments,Q)}function Re(G,se,Q,re){if(G.segments.length>Q.length){const be=G.segments.slice(0,Q.length);return!(!Be(be,Q)||se.hasChildren()||!ke(be,Q,re))}if(G.segments.length===Q.length){if(!Be(G.segments,Q)||!ke(G.segments,Q,re))return!1;for(const be in se.children)if(!G.children[be]||!q(G.children[be],se.children[be],re))return!1;return!0}{const be=Q.slice(0,G.segments.length),We=Q.slice(G.segments.length);return!!(Be(G.segments,be)&&ke(G.segments,be,re)&&G.children[Z])&&Re(G.children[Z],se,We,re)}}function ke(G,se,Q){return se.every((re,be)=>Ee[Q](G[be].parameters,re.parameters))}class Ke{constructor(se=new me([],{}),Q={},re=null){this.root=se,this.queryParams=Q,this.fragment=re}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class me{constructor(se,Q){this.segments=se,this.children=Q,this.parent=null,Object.values(Q).forEach(re=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cn(this)}}class Pe{constructor(se,Q){this.path=se,this.parameters=Q}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Be(G,se){return G.length===se.length&&G.every((Q,re)=>Q.path===se[re].path)}let Ot=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>new Yt,providedIn:"root"})}return G})();class Yt{parse(se){const Q=new ce(se);return new Ke(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(se){const Q=`/${fn(se.root,!0)}`,re=function St(G){const se=Object.keys(G).map(Q=>{const re=G[Q];return Array.isArray(re)?re.map(be=>`${En(Q)}=${En(be)}`).join("&"):`${En(Q)}=${En(re)}`}).filter(Q=>!!Q);return se.length?`?${se.join("&")}`:""}(se.queryParams);return`${Q}${re}${"string"==typeof se.fragment?`#${function un(G){return encodeURI(G)}(se.fragment)}`:""}`}}const jt=new Yt;function cn(G){return G.segments.map(se=>Ve(se)).join("/")}function fn(G,se){if(!G.hasChildren())return cn(G);if(se){const Q=G.children[Z]?fn(G.children[Z],!1):"",re=[];return Object.entries(G.children).forEach(([be,We])=>{be!==Z&&re.push(`${be}:${fn(We,!1)}`)}),re.length>0?`${Q}(${re.join("//")})`:Q}{const Q=function yt(G,se){let Q=[];return Object.entries(G.children).forEach(([re,be])=>{re===Z&&(Q=Q.concat(se(be,re)))}),Object.entries(G.children).forEach(([re,be])=>{re!==Z&&(Q=Q.concat(se(be,re)))}),Q}(G,(re,be)=>be===Z?[fn(G.children[Z],!1)]:[`${be}:${fn(re,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[Z]?`${cn(G)}/${Q[0]}`:`${cn(G)}/(${Q.join("//")})`}}function an(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(G){return an(G).replace(/%3B/gi,";")}function Bt(G){return an(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(G){return decodeURIComponent(G)}function De(G){return Ft(G.replace(/\+/g,"%20"))}function Ve(G){return`${Bt(G.path)}${function Xe(G){return Object.keys(G).map(se=>`;${Bt(se)}=${Bt(G[se])}`).join("")}(G.parameters)}`}const tt=/^[^\/()?;#]+/;function ut(G){const se=G.match(tt);return se?se[0]:""}const Oe=/^[^\/()?;=#]+/,Pt=/^[^=?&#]+/,bt=/^[^&#]+/;class ce{constructor(se){this.url=se,this.remaining=se}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const se={};if(this.consumeOptional("?"))do{this.parseQueryParam(se)}while(this.consumeOptional("&"));return se}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const se=[];for(this.peekStartsWith("(")||se.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),se.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(se.length>0||Object.keys(Q).length>0)&&(re[Z]=new me(se,Q)),re}parseSegment(){const se=ut(this.remaining);if(""===se&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(se),new Pe(Ft(se),this.parseMatrixParams())}parseMatrixParams(){const se={};for(;this.consumeOptional(";");)this.parseParam(se);return se}parseParam(se){const Q=function Ct(G){const se=G.match(Oe);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const be=ut(this.remaining);be&&(re=be,this.capture(re))}se[Ft(Q)]=Ft(re)}parseQueryParam(se){const Q=function Nt(G){const se=G.match(Pt);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const pt=function _e(G){const se=G.match(bt);return se?se[0]:""}(this.remaining);pt&&(re=pt,this.capture(re))}const be=De(Q),We=De(re);if(se.hasOwnProperty(be)){let pt=se[be];Array.isArray(pt)||(pt=[pt],se[be]=pt),pt.push(We)}else se[be]=We}parseParens(se){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=ut(this.remaining),be=this.remaining[re.length];if("/"!==be&&")"!==be&&";"!==be)throw new n.\u0275RuntimeError(4010,!1);let We;re.indexOf(":")>-1?(We=re.slice(0,re.indexOf(":")),this.capture(We),this.capture(":")):se&&(We=Z);const pt=this.parseChildren();Q[We]=1===Object.keys(pt).length?pt[Z]:new me([],pt),this.consumeOptional("//")}return Q}peekStartsWith(se){return this.remaining.startsWith(se)}consumeOptional(se){return!!this.peekStartsWith(se)&&(this.remaining=this.remaining.substring(se.length),!0)}capture(se){if(!this.consumeOptional(se))throw new n.\u0275RuntimeError(4011,!1)}}function z(G){return G.segments.length>0?new me([],{[Z]:G}):G}function oe(G){const se={};for(const re of Object.keys(G.children)){const We=oe(G.children[re]);if(re===Z&&0===We.segments.length&&We.hasChildren())for(const[pt,Zt]of Object.entries(We.children))se[pt]=Zt;else(We.segments.length>0||We.hasChildren())&&(se[re]=We)}return function Se(G){if(1===G.numberOfChildren&&G.children[Z]){const se=G.children[Z];return new me(G.segments.concat(se.segments),se.children)}return G}(new me(G.segments,se))}function at(G){return G instanceof Ke}function nt(G,se,Q=null,re=null){return He(mt(G),se,Q,re)}function mt(G){let se;const be=z(function Q(We){const pt={};for(const Wt of We.children){const Mn=Q(Wt);pt[Wt.outlet]=Mn}const Zt=new me(We.url,pt);return We===G&&(se=Zt),Zt}(G.root));return se??be}function He(G,se,Q,re){let be=G;for(;be.parent;)be=be.parent;if(0===se.length)return Xt(be,be,be,Q,re);const We=function ui(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new Nn(!0,0,G);let se=0,Q=!1;const re=G.reduce((be,We,pt)=>{if("object"==typeof We&&null!=We){if(We.outlets){const Zt={};return Object.entries(We.outlets).forEach(([Wt,Mn])=>{Zt[Wt]="string"==typeof Mn?Mn.split("/"):Mn}),[...be,{outlets:Zt}]}if(We.segmentPath)return[...be,We.segmentPath]}return"string"!=typeof We?[...be,We]:0===pt?(We.split("/").forEach((Zt,Wt)=>{0==Wt&&"."===Zt||(0==Wt&&""===Zt?Q=!0:".."===Zt?se++:""!=Zt&&be.push(Zt))}),be):[...be,We]},[]);return new Nn(Q,se,re)}(se);if(We.toRoot())return Xt(be,be,new me([],{}),Q,re);const pt=function Hi(G,se,Q){if(G.isAbsolute)return new _i(se,!0,0);if(!Q)return new _i(se,!1,NaN);if(null===Q.parent)return new _i(Q,!0,0);const re=rt(G.commands[0])?0:1;return function Yn(G,se,Q){let re=G,be=se,We=Q;for(;We>be;){if(We-=be,re=re.parent,!re)throw new n.\u0275RuntimeError(4005,!1);be=re.segments.length}return new _i(re,!1,be-We)}(Q,Q.segments.length-1+re,G.numberOfDoubleDots)}(We,be,G),Zt=pt.processChildren?Ue(pt.segmentGroup,pt.index,We.commands):pn(pt.segmentGroup,pt.index,We.commands);return Xt(be,pt.segmentGroup,Zt,Q,re)}function rt(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function Lt(G){return"object"==typeof G&&null!=G&&G.outlets}function Xt(G,se,Q,re,be){let pt,We={};re&&Object.entries(re).forEach(([Wt,Mn])=>{We[Wt]=Array.isArray(Mn)?Mn.map(ni=>`${ni}`):`${Mn}`}),pt=G===se?Q:tn(G,se,Q);const Zt=z(oe(pt));return new Ke(Zt,We,be)}function tn(G,se,Q){const re={};return Object.entries(G.children).forEach(([be,We])=>{re[be]=We===se?Q:tn(We,se,Q)}),new me(G.segments,re)}class Nn{constructor(se,Q,re){if(this.isAbsolute=se,this.numberOfDoubleDots=Q,this.commands=re,se&&re.length>0&&rt(re[0]))throw new n.\u0275RuntimeError(4003,!1);const be=re.find(Lt);if(be&&be!==Et(re))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _i{constructor(se,Q,re){this.segmentGroup=se,this.processChildren=Q,this.index=re}}function pn(G,se,Q){if(G||(G=new me([],{})),0===G.segments.length&&G.hasChildren())return Ue(G,se,Q);const re=function ot(G,se,Q){let re=0,be=se;const We={match:!1,pathIndex:0,commandIndex:0};for(;be=Q.length)return We;const pt=G.segments[be],Zt=Q[re];if(Lt(Zt))break;const Wt=`${Zt}`,Mn=re0&&void 0===Wt)break;if(Wt&&Mn&&"object"==typeof Mn&&void 0===Mn.outlets){if(!dt(Wt,Mn,pt))return We;re+=2}else{if(!dt(Wt,{},pt))return We;re++}be++}return{match:!0,pathIndex:be,commandIndex:re}}(G,se,Q),be=Q.slice(re.commandIndex);if(re.match&&re.pathIndexWe!==Z)&&G.children[Z]&&1===G.numberOfChildren&&0===G.children[Z].segments.length){const We=Ue(G.children[Z],se,Q);return new me(G.segments,We.children)}return Object.entries(re).forEach(([We,pt])=>{"string"==typeof pt&&(pt=[pt]),null!==pt&&(be[We]=pn(G.children[We],se,pt))}),Object.entries(G.children).forEach(([We,pt])=>{void 0===re[We]&&(be[We]=pt)}),new me(G.segments,be)}}function At(G,se,Q){const re=G.segments.slice(0,se);let be=0;for(;be{"string"==typeof re&&(re=[re]),null!==re&&(se[Q]=At(new me([],{}),0,re))}),se}function it(G){const se={};return Object.entries(G).forEach(([Q,re])=>se[Q]=`${re}`),se}function dt(G,se,Q){return G==Q.path&&$e(se,Q.parameters)}const ct="imperative";class Ut{constructor(se,Q){this.id=se,this.url=Q}}class wt extends Ut{constructor(se,Q,re="imperative",be=null){super(se,Q),this.type=0,this.navigationTrigger=re,this.restoredState=be}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vt extends Ut{constructor(se,Q,re){super(se,Q),this.urlAfterRedirects=re,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ht extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class dn extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=16}}class ze extends Ut{constructor(se,Q,re,be){super(se,Q),this.error=re,this.target=be,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pe extends Ut{constructor(se,Q,re,be,We){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.shouldActivate=We,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class de extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t{constructor(se){this.route=se,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class hn{constructor(se){this.route=se,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class On{constructor(se){this.snapshot=se,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(se){this.snapshot=se,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(se){this.snapshot=se,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zn{constructor(se){this.snapshot=se,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ei{constructor(se,Q,re){this.routerEvent=se,this.position=Q,this.anchor=re,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qi{}class ki{constructor(se){this.url=se}}class Gi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class G{constructor(){this.contexts=new Map}onChildOutletCreated(Q,re){const be=this.getOrCreateContext(Q);be.outlet=re,this.contexts.set(Q,be)}onChildOutletDestroyed(Q){const re=this.getContext(Q);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let re=this.getContext(Q);return re||(re=new Gi,this.contexts.set(Q,re)),re}getContext(Q){return this.contexts.get(Q)||null}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();class Tn{constructor(se){this._root=se}get root(){return this._root.value}parent(se){const Q=this.pathFromRoot(se);return Q.length>1?Q[Q.length-2]:null}children(se){const Q=Ki(se,this._root);return Q?Q.children.map(re=>re.value):[]}firstChild(se){const Q=Ki(se,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(se){const Q=qn(se,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(be=>be.value).filter(be=>be!==se)}pathFromRoot(se){return qn(se,this._root).map(Q=>Q.value)}}function Ki(G,se){if(G===se.value)return se;for(const Q of se.children){const re=Ki(G,Q);if(re)return re}return null}function qn(G,se){if(G===se.value)return[se];for(const Q of se.children){const re=qn(G,Q);if(re.length)return re.unshift(se),re}return[]}class Pn{constructor(se,Q){this.value=se,this.children=Q}toString(){return`TreeNode(${this.value})`}}function Qn(G){const se={};return G&&G.children.forEach(Q=>se[Q.value.outlet]=Q),se}class Fi extends Tn{constructor(se,Q){super(se),this.snapshot=Q,Mi(this,se)}toString(){return this.snapshot.toString()}}function mr(G,se){const Q=function er(G,se){const pt=new Fn([],{},{},"",{},Z,se,null,{});return new Ln("",new Pn(pt,[]))}(0,se),re=new u.X([new Pe("",{})]),be=new u.X({}),We=new u.X({}),pt=new u.X({}),Zt=new u.X(""),Wt=new _n(re,be,pt,Zt,We,Z,se,Q.root);return Wt.snapshot=Q.root,new Fi(new Pn(Wt,[]),Q)}class _n{constructor(se,Q,re,be,We,pt,Zt,Wt){this.urlSubject=se,this.paramsSubject=Q,this.queryParamsSubject=re,this.fragmentSubject=be,this.dataSubject=We,this.outlet=pt,this.component=Zt,this._futureSnapshot=Wt,this.title=this.dataSubject?.pipe((0,C.U)(Mn=>Mn[H]))??(0,y.of)(void 0),this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,C.U)(se=>ue(se)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)(se=>ue(se)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wn(G,se,Q="emptyOnly"){let re;const{routeConfig:be}=G;return re=null===se||"always"!==Q&&""!==be?.path&&(se.component||se.routeConfig?.loadComponent)?{params:{...G.params},data:{...G.data},resolve:{...G.data,...G._resolvedData??{}}}:{params:{...se.params,...G.params},data:{...se.data,...G.data},resolve:{...G.data,...se.data,...be?.data,...G._resolvedData}},be&&pr(be)&&(re.resolve[H]=be.title),re}class Fn{get title(){return this.data?.[H]}constructor(se,Q,re,be,We,pt,Zt,Wt,Mn){this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We,this.outlet=pt,this.component=Zt,this.routeConfig=Wt,this._resolve=Mn}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=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ln extends Tn{constructor(se,Q){super(Q),this.url=se,Mi(this,Q)}toString(){return Vn(this._root)}}function Mi(G,se){se.value._routerState=G,se.children.forEach(Q=>Mi(G,Q))}function Vn(G){const se=G.children.length>0?` { ${G.children.map(Vn).join(", ")} } `:"";return`${G.value}${se}`}function Ui(G){if(G.snapshot){const se=G.snapshot,Q=G._futureSnapshot;G.snapshot=Q,$e(se.queryParams,Q.queryParams)||G.queryParamsSubject.next(Q.queryParams),se.fragment!==Q.fragment&&G.fragmentSubject.next(Q.fragment),$e(se.params,Q.params)||G.paramsSubject.next(Q.params),function Ge(G,se){if(G.length!==se.length)return!1;for(let Q=0;Q$e(Q.parameters,se[re].parameters))}(G.url,se.url);return Q&&!(!G.parent!=!se.parent)&&(!G.parent||sr(G.parent,se.parent))}function pr(G){return"string"==typeof G.title||null===G.title}let Gr=(()=>{class G{constructor(){this.activated=null,this._activatedRoute=null,this.name=Z,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(fr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Lr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Q){if(Q.name){const{firstChange:re,previousValue:be}=Q.name;if(re)return;this.isTrackedInParentContexts(be)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(be)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Q){return this.parentContexts.getContext(Q)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Q=this.parentContexts.getContext(this.name);Q?.route&&(Q.attachRef?this.attach(Q.attachRef,Q.route):this.activateWith(Q.route,Q.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,re){this.activated=Q,this._activatedRoute=re,this.location.insert(Q.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Q.instance)}deactivate(){if(this.activated){const Q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Q)}}activateWith(Q,re){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=Q;const be=this.location,pt=Q.snapshot.component,Zt=this.parentContexts.getOrCreateContext(this.name).children,Wt=new Sr(Q,Zt,be.injector);this.activated=be.createComponent(pt,{index:be.length,injector:Wt,environmentInjector:re??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class Sr{constructor(se,Q,re){this.route=se,this.childContexts=Q,this.parent=re}get(se,Q){return se===_n?this.route:se===fr?this.childContexts:this.parent.get(se,Q)}}const Lr=new n.InjectionToken("");let tr=(()=>{class G{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Q){this.unsubscribeFromRouteData(Q),this.subscribeToRouteData(Q)}unsubscribeFromRouteData(Q){this.outletDataSubscriptions.get(Q)?.unsubscribe(),this.outletDataSubscriptions.delete(Q)}subscribeToRouteData(Q){const{activatedRoute:re}=Q,be=(0,v.a)([re.queryParams,re.params,re.data]).pipe((0,x.w)(([We,pt,Zt],Wt)=>(Zt={...We,...pt,...Zt},0===Wt?(0,y.of)(Zt):Promise.resolve(Zt)))).subscribe(We=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==re||null===re.component)return void this.unsubscribeFromRouteData(Q);const pt=(0,n.reflectComponentType)(re.component);if(pt)for(const{templateName:Zt}of pt.inputs)Q.activatedComponentRef.setInput(Zt,We[Zt]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,be)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Zi(G,se,Q){if(Q&&G.shouldReuseRoute(se.value,Q.value.snapshot)){const re=Q.value;re._futureSnapshot=se.value;const be=function or(G,se,Q){return se.children.map(re=>{for(const be of Q.children)if(G.shouldReuseRoute(re.value,be.value.snapshot))return Zi(G,re,be);return Zi(G,re)})}(G,se,Q);return new Pn(re,be)}{if(G.shouldAttach(se.value)){const We=G.retrieve(se.value);if(null!==We){const pt=We.route;return pt.value._futureSnapshot=se.value,pt.children=se.children.map(Zt=>Zi(G,Zt)),pt}}const re=function oi(G){return new _n(new u.X(G.url),new u.X(G.params),new u.X(G.queryParams),new u.X(G.fragment),new u.X(G.data),G.outlet,G.component,G)}(se.value),be=se.children.map(We=>Zi(G,We));return new Pn(re,be)}}const wr="ngNavigationCancelingError";function Fr(G,se){const{redirectTo:Q,navigationBehaviorOptions:re}=at(se)?{redirectTo:se,navigationBehaviorOptions:void 0}:se,be=ps(!1,0,se);return be.url=Q,be.navigationBehaviorOptions=re,be}function ps(G,se,Q){const re=new Error("NavigationCancelingError: "+(G||""));return re[wr]=!0,re.cancellationCode=se,Q&&(re.url=Q),re}function Tr(G){return G&&G[wr]}let qr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:G,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(re,be){1&re&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[Gr],encapsulation:2})}return G})();function bn(G){const se=G.children&&G.children.map(bn),Q=se?{...G,children:se}:{...G};return!Q.component&&!Q.loadComponent&&(se||Q.loadChildren)&&Q.outlet&&Q.outlet!==Z&&(Q.component=qr),Q}function An(G){return G.outlet||Z}function ai(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let se=G.parent;se;se=se.parent){const Q=se.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class ri{constructor(se,Q,re,be,We){this.routeReuseStrategy=se,this.futureState=Q,this.currState=re,this.forwardEvent=be,this.inputBindingEnabled=We}activate(se){const Q=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,re,se),Ui(this.futureState.root),this.activateChildRoutes(Q,re,se)}deactivateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{const pt=We.value.outlet;this.deactivateRoutes(We,be[pt],re),delete be[pt]}),Object.values(be).forEach(We=>{this.deactivateRouteAndItsChildren(We,re)})}deactivateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(be===We)if(be.component){const pt=re.getContext(be.outlet);pt&&this.deactivateChildRoutes(se,Q,pt.children)}else this.deactivateChildRoutes(se,Q,re);else We&&this.deactivateRouteAndItsChildren(Q,re)}deactivateRouteAndItsChildren(se,Q){se.value.component&&this.routeReuseStrategy.shouldDetach(se.value.snapshot)?this.detachAndStoreRouteSubtree(se,Q):this.deactivateRouteAndOutlet(se,Q)}detachAndStoreRouteSubtree(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);if(re&&re.outlet){const pt=re.outlet.detach(),Zt=re.children.onOutletDeactivated();this.routeReuseStrategy.store(se.value.snapshot,{componentRef:pt,route:se,contexts:Zt})}}deactivateRouteAndOutlet(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);re&&(re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated()),re.attachRef=null,re.route=null)}activateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{this.activateRoutes(We,be[We.value.outlet],re),this.forwardEvent(new Zn(We.value.snapshot))}),se.children.length&&this.forwardEvent(new Bn(se.value.snapshot))}activateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(Ui(be),be===We)if(be.component){const pt=re.getOrCreateContext(be.outlet);this.activateChildRoutes(se,Q,pt.children)}else this.activateChildRoutes(se,Q,re);else if(be.component){const pt=re.getOrCreateContext(be.outlet);if(this.routeReuseStrategy.shouldAttach(be.snapshot)){const Zt=this.routeReuseStrategy.retrieve(be.snapshot);this.routeReuseStrategy.store(be.snapshot,null),pt.children.onOutletReAttached(Zt.contexts),pt.attachRef=Zt.componentRef,pt.route=Zt.route.value,pt.outlet&&pt.outlet.attach(Zt.componentRef,Zt.route.value),Ui(Zt.route.value),this.activateChildRoutes(se,null,pt.children)}else{const Zt=ai(be.snapshot);pt.attachRef=null,pt.route=be,pt.injector=Zt,pt.outlet&&pt.outlet.activateWith(be,pt.injector),this.activateChildRoutes(se,null,pt.children)}}else this.activateChildRoutes(se,null,re)}}class Kn{constructor(se){this.path=se,this.route=this.path[this.path.length-1]}}class li{constructor(se,Q){this.component=se,this.route=Q}}function ji(G,se,Q){const re=G._root;return ls(re,se?se._root:null,Q,[re.value])}function gr(G,se){const Q=Symbol(),re=se.get(G,Q);return re===Q?"function"!=typeof G||(0,n.\u0275isInjectable)(G)?se.get(G):G:re}function ls(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=Qn(se);return G.children.forEach(pt=>{(function Ys(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=G.value,pt=se?se.value:null,Zt=Q?Q.getContext(G.value.outlet):null;if(pt&&We.routeConfig===pt.routeConfig){const Wt=function ti(G,se,Q){if("function"==typeof Q)return Q(G,se);switch(Q){case"pathParamsChange":return!Be(G.url,se.url);case"pathParamsOrQueryParamsChange":return!Be(G.url,se.url)||!$e(G.queryParams,se.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sr(G,se)||!$e(G.queryParams,se.queryParams);default:return!sr(G,se)}}(pt,We,We.routeConfig.runGuardsAndResolvers);Wt?be.canActivateChecks.push(new Kn(re)):(We.data=pt.data,We._resolvedData=pt._resolvedData),ls(G,se,We.component?Zt?Zt.children:null:Q,re,be),Wt&&Zt&&Zt.outlet&&Zt.outlet.isActivated&&be.canDeactivateChecks.push(new li(Zt.outlet.component,pt))}else pt&&wi(se,Zt,be),be.canActivateChecks.push(new Kn(re)),ls(G,null,We.component?Zt?Zt.children:null:Q,re,be)})(pt,We[pt.value.outlet],Q,re.concat([pt.value]),be),delete We[pt.value.outlet]}),Object.entries(We).forEach(([pt,Zt])=>wi(Zt,Q.getContext(pt),be)),be}function wi(G,se,Q){const re=Qn(G),be=G.value;Object.entries(re).forEach(([We,pt])=>{wi(pt,be.component?se?se.children.getContext(We):null:se,Q)}),Q.canDeactivateChecks.push(new li(be.component&&se&&se.outlet&&se.outlet.isActivated?se.outlet.component:null,be))}function Ri(G){return"function"==typeof G}function yn(G){return G instanceof s.K||"EmptyError"===G?.name}const he=Symbol("INITIAL_VALUE");function we(){return(0,x.w)(G=>(0,v.a)(G.map(se=>se.pipe((0,w.q)(1),(0,T.O)(he)))).pipe((0,C.U)(se=>{for(const Q of se)if(!0!==Q){if(Q===he)return he;if(!1===Q||Q instanceof Ke)return Q}return!0}),(0,S.h)(se=>se!==he),(0,w.q)(1)))}function _s(G){return(0,o.z)((0,P.b)(se=>{if(at(se))throw Fr(0,se)}),(0,C.U)(se=>!0===se))}class Oi{constructor(se){this.segmentGroup=se||null}}class bs extends Error{constructor(se){super(),this.urlTree=se}}function Pr(G){return(0,l._)(new Oi(G))}class ts{constructor(se,Q){this.urlSerializer=se,this.urlTree=Q}lineralizeSegments(se,Q){let re=[],be=Q.root;for(;;){if(re=re.concat(be.segments),0===be.numberOfChildren)return(0,y.of)(re);if(be.numberOfChildren>1||!be.children[Z])return(0,l._)(new n.\u0275RuntimeError(4e3,!1));be=be.children[Z]}}applyRedirectCommands(se,Q,re){const be=this.applyRedirectCreateUrlTree(Q,this.urlSerializer.parse(Q),se,re);if(Q.startsWith("/"))throw new bs(be);return be}applyRedirectCreateUrlTree(se,Q,re,be){const We=this.createSegmentGroup(se,Q.root,re,be);return new Ke(We,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(se,Q){const re={};return Object.entries(se).forEach(([be,We])=>{if("string"==typeof We&&We.startsWith(":")){const Zt=We.substring(1);re[be]=Q[Zt]}else re[be]=We}),re}createSegmentGroup(se,Q,re,be){const We=this.createSegments(se,Q.segments,re,be);let pt={};return Object.entries(Q.children).forEach(([Zt,Wt])=>{pt[Zt]=this.createSegmentGroup(se,Wt,re,be)}),new me(We,pt)}createSegments(se,Q,re,be){return Q.map(We=>We.path.startsWith(":")?this.findPosParam(se,We,be):this.findOrReturn(We,re))}findPosParam(se,Q,re){const be=re[Q.path.substring(1)];if(!be)throw new n.\u0275RuntimeError(4001,!1);return be}findOrReturn(se,Q){let re=0;for(const be of Q){if(be.path===se.path)return Q.splice(re),be;re++}return se}}const Yr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ar(G,se,Q,re,be){const We=Hn(G,se,Q);return We.matched?(re=function Ur(G,se){return G.providers&&!G._injector&&(G._injector=(0,n.createEnvironmentInjector)(G.providers,se,`Route: ${G.path}`)),G._injector??se}(se,re),function vs(G,se,Q,re){const be=se.canMatch;if(!be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Zs(G){return G&&Ri(G.canMatch)}(Zt)?Zt.canMatch(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(re,se,Q).pipe((0,C.U)(pt=>!0===pt?We:{...Yr}))):(0,y.of)(We)}function Hn(G,se,Q){if("**"===se.path)return function Qs(G){return{matched:!0,parameters:G.length>0?Et(G).parameters:{},consumedSegments:G,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===se.path)return"full"===se.pathMatch&&(G.hasChildren()||Q.length>0)?{...Yr}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const be=(se.matcher||ye)(Q,G,se);if(!be)return{...Yr};const We={};Object.entries(be.posParams??{}).forEach(([Zt,Wt])=>{We[Zt]=Wt.path});const pt=be.consumed.length>0?{...We,...be.consumed[be.consumed.length-1].parameters}:We;return{matched:!0,consumedSegments:be.consumed,remainingSegments:Q.slice(be.consumed.length),parameters:pt,positionalParamSegments:be.posParams??{}}}function Vr(G,se,Q,re){return Q.length>0&&function ys(G,se,Q){return Q.some(re=>jr(G,se,re)&&An(re)!==Z)}(G,Q,re)?{segmentGroup:new me(se,Ls(re,new me(Q,G.children))),slicedSegments:[]}:0===Q.length&&function fi(G,se,Q){return Q.some(re=>jr(G,se,re))}(G,Q,re)?{segmentGroup:new me(G.segments,nr(G,0,Q,re,G.children)),slicedSegments:Q}:{segmentGroup:new me(G.segments,G.children),slicedSegments:Q}}function nr(G,se,Q,re,be){const We={};for(const pt of re)if(jr(G,Q,pt)&&!be[An(pt)]){const Zt=new me([],{});We[An(pt)]=Zt}return{...be,...We}}function Ls(G,se){const Q={};Q[Z]=se;for(const re of G)if(""===re.path&&An(re)!==Z){const be=new me([],{});Q[An(re)]=be}return Q}function jr(G,se,Q){return(!(G.hasChildren()||se.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Xs{}class Nr{constructor(se,Q,re,be,We,pt,Zt){this.injector=se,this.configLoader=Q,this.rootComponentType=re,this.config=be,this.urlTree=We,this.paramsInheritanceStrategy=pt,this.urlSerializer=Zt,this.applyRedirects=new ts(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(se){return new n.\u0275RuntimeError(4002,`'${se.segmentGroup}'`)}recognize(){const se=Vr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(se).pipe((0,C.U)(Q=>{const re=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,{}),be=new Pn(re,Q),We=new Ln("",be),pt=nt(re,[],this.urlTree.queryParams,this.urlTree.fragment);return pt.queryParams=this.urlTree.queryParams,We.url=this.urlSerializer.serialize(pt),this.inheritParamsAndData(We._root,null),{state:We,tree:pt}}))}match(se){return this.processSegmentGroup(this.injector,this.config,se,Z).pipe((0,A.K)(re=>{if(re instanceof bs)return this.urlTree=re.urlTree,this.match(re.urlTree.root);throw re instanceof Oi?this.noMatchError(re):re}))}inheritParamsAndData(se,Q){const re=se.value,be=wn(re,Q,this.paramsInheritanceStrategy);re.params=Object.freeze(be.params),re.data=Object.freeze(be.data),se.children.forEach(We=>this.inheritParamsAndData(We,re))}processSegmentGroup(se,Q,re,be){return 0===re.segments.length&&re.hasChildren()?this.processChildren(se,Q,re):this.processSegment(se,Q,re,re.segments,be,!0).pipe((0,C.U)(We=>We instanceof Pn?[We]:[]))}processChildren(se,Q,re){const be=[];for(const We of Object.keys(re.children))"primary"===We?be.unshift(We):be.push(We);return(0,D.D)(be).pipe((0,I.b)(We=>{const pt=re.children[We],Zt=function Gn(G,se){const Q=G.filter(re=>An(re)===se);return Q.push(...G.filter(re=>An(re)!==se)),Q}(Q,We);return this.processSegmentGroup(se,Zt,pt,We)}),(0,L.R)((We,pt)=>(We.push(...pt),We)),(0,F.d)(null),(0,R.Z)(),(0,M.z)(We=>{if(null===We)return Pr(re);const pt=Js(We);return function Ns(G){G.sort((se,Q)=>se.value.outlet===Z?-1:Q.value.outlet===Z?1:se.value.outlet.localeCompare(Q.value.outlet))}(pt),(0,y.of)(pt)}))}processSegment(se,Q,re,be,We,pt){return(0,D.D)(Q).pipe((0,I.b)(Zt=>this.processSegmentAgainstRoute(Zt._injector??se,Q,Zt,re,be,We,pt).pipe((0,A.K)(Wt=>{if(Wt instanceof Oi)return(0,y.of)(null);throw Wt}))),(0,k.P)(Zt=>!!Zt),(0,A.K)(Zt=>{if(yn(Zt))return function ir(G,se,Q){return 0===se.length&&!G.children[Q]}(re,be,We)?(0,y.of)(new Xs):Pr(re);throw Zt}))}processSegmentAgainstRoute(se,Q,re,be,We,pt,Zt){return function Xi(G,se,Q,re){return!!(An(G)===re||re!==Z&&jr(se,Q,G))&&Hn(se,G,Q).matched}(re,be,We,pt)?void 0===re.redirectTo?this.matchSegmentAgainstRoute(se,be,re,We,pt):this.allowRedirects&&Zt?this.expandSegmentAgainstRouteUsingRedirect(se,be,Q,re,We,pt):Pr(be):Pr(be)}expandSegmentAgainstRouteUsingRedirect(se,Q,re,be,We,pt){const{matched:Zt,consumedSegments:Wt,positionalParamSegments:Mn,remainingSegments:ni}=Hn(Q,be,We);if(!Zt)return Pr(Q);be.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const O=this.applyRedirects.applyRedirectCommands(Wt,be.redirectTo,Mn);return this.applyRedirects.lineralizeSegments(be,O).pipe((0,M.z)(xe=>this.processSegment(se,re,Q,xe.concat(ni),pt,!1)))}matchSegmentAgainstRoute(se,Q,re,be,We){const pt=Ar(Q,re,be,se);return"**"===re.path&&(Q.children={}),pt.pipe((0,x.w)(Zt=>Zt.matched?this.getChildConfig(se=re._injector??se,re,be).pipe((0,x.w)(({routes:Wt})=>{const Mn=re._loadedInjector??se,{consumedSegments:ni,remainingSegments:O,parameters:xe}=Zt,K=new Fn(ni,xe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ho(G){return G.data||{}}(re),An(re),re.component??re._loadedComponent??null,re,function ko(G){return G.resolve||{}}(re)),{segmentGroup:Je,slicedSegments:ft}=Vr(Q,ni,O,Wt);if(0===ft.length&&Je.hasChildren())return this.processChildren(Mn,Wt,Je).pipe((0,C.U)(Kt=>null===Kt?null:new Pn(K,Kt)));if(0===Wt.length&&0===ft.length)return(0,y.of)(new Pn(K,[]));const ht=An(re)===We;return this.processSegment(Mn,Wt,Je,ft,ht?Z:We,!0).pipe((0,C.U)(Kt=>new Pn(K,Kt instanceof Pn?[Kt]:[])))})):Pr(Q)))}getChildConfig(se,Q,re){return Q.children?(0,y.of)({routes:Q.children,injector:se}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,y.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function gs(G,se,Q,re){const be=se.canLoad;if(void 0===be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Qi(G){return G&&Ri(G.canLoad)}(Zt)?Zt.canLoad(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(se,Q,re).pipe((0,M.z)(be=>be?this.configLoader.loadChildren(se,Q).pipe((0,P.b)(We=>{Q._loadedRoutes=We.routes,Q._loadedInjector=We.injector})):function cs(G){return(0,l._)(ps(!1,3))}())):(0,y.of)({routes:[],injector:se})}}function Ao(G){const se=G.value.routeConfig;return se&&""===se.path}function Js(G){const se=[],Q=new Set;for(const re of G){if(!Ao(re)){se.push(re);continue}const be=se.find(We=>re.value.routeConfig===We.value.routeConfig);void 0!==be?(be.children.push(...re.children),Q.add(be)):se.push(re)}for(const re of Q){const be=Js(re.children);se.push(new Pn(re.value,be))}return se.filter(re=>!Q.has(re))}function ns(G){const se=G.children.map(Q=>ns(Q)).flat();return[G,...se]}function mo(G){return(0,x.w)(se=>{const Q=G(se);return Q?(0,D.D)(Q).pipe((0,C.U)(()=>se)):(0,y.of)(se)})}let po=(()=>{class G{buildTitle(Q){let re,be=Q.root;for(;void 0!==be;)re=this.getResolvedTitleForRoute(be)??re,be=be.children.find(We=>We.outlet===Z);return re}getResolvedTitleForRoute(Q){return Q.data[H]}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(Ds),providedIn:"root"})}return G})(),Ds=(()=>{class G extends po{constructor(Q){super(),this.title=Q}updateTitle(Q){const re=this.buildTitle(Q);void 0!==re&&this.title.setTitle(re)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject($.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const us=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),J=new n.InjectionToken("ROUTES");let Fe=(()=>{class G{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(Q){if(this.componentLoaders.get(Q))return this.componentLoaders.get(Q);if(Q._loadedComponent)return(0,y.of)(Q._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Q);const re=Te(Q.loadComponent()).pipe((0,C.U)(lt),(0,P.b)(We=>{this.onLoadEndListener&&this.onLoadEndListener(Q),Q._loadedComponent=We}),(0,ne.x)(()=>{this.componentLoaders.delete(Q)})),be=new c.c(re,()=>new d.x).pipe((0,ee.x)());return this.componentLoaders.set(Q,be),be}loadChildren(Q,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,y.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const We=le(re,this.compiler,Q,this.onLoadEndListener).pipe((0,ne.x)(()=>{this.childrenLoaders.delete(re)})),pt=new c.c(We,()=>new d.x).pipe((0,ee.x)());return this.childrenLoaders.set(re,pt),pt}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function le(G,se,Q,re){return Te(G.loadChildren()).pipe((0,C.U)(lt),(0,M.z)(be=>be instanceof n.NgModuleFactory||Array.isArray(be)?(0,y.of)(be):(0,D.D)(se.compileModuleAsync(be))),(0,C.U)(be=>{re&&re(G);let We,pt;return Array.isArray(be)?pt=be:(We=be.create(Q).injector,pt=We.get(J,[],{optional:!0,self:!0}).flat()),{routes:pt.map(bn),injector:We}}))}function lt(G){return function ve(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let zt=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(nn),providedIn:"root"})}return G})(),nn=(()=>{class G{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,re){return Q}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xn=new n.InjectionToken(""),Li=new n.InjectionToken("");function di(G,se,Q){const re=G.get(Li),be=G.get(b.DOCUMENT);return G.get(n.NgZone).runOutsideAngular(()=>{if(!be.startViewTransition||re.skipNextTransition)return re.skipNextTransition=!1,Promise.resolve();let We;const pt=new Promise(Mn=>{We=Mn}),Zt=be.startViewTransition(()=>(We(),function Un(G){return new Promise(se=>{(0,n.afterNextRender)(se,{injector:G})})}(G))),{onViewTransitionCreated:Wt}=re;return Wt&&(0,n.runInInjectionContext)(G,()=>Wt({transition:Zt,from:se,to:Q})),pt})}let Xn=(()=>{class G{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new d.x,this.transitionAbortSubject=new d.x,this.configLoader=(0,n.inject)(Fe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Ot),this.rootContexts=(0,n.inject)(fr),this.location=(0,n.inject)(b.Location),this.inputBindingEnabled=null!==(0,n.inject)(Lr,{optional:!0}),this.titleStrategy=(0,n.inject)(po),this.options=(0,n.inject)(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(zt),this.createViewTransition=(0,n.inject)(xn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=be=>this.events.next(new hn(be)),this.configLoader.onLoadStartListener=be=>this.events.next(new _t(be))}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...Q,id:re})}setupNavigations(Q,re,be){return this.transitions=new u.X({id:0,currentUrlTree:re,currentRawUrl:re,extractedUrl:this.urlHandlingStrategy.extract(re),urlAfterRedirects:this.urlHandlingStrategy.extract(re),rawUrl:re,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ct,restoredState:null,currentSnapshot:be.snapshot,targetSnapshot:null,currentRouterState:be,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)(We=>0!==We.id),(0,C.U)(We=>({...We,extractedUrl:this.urlHandlingStrategy.extract(We.rawUrl)})),(0,x.w)(We=>{this.currentTransition=We;let pt=!1,Zt=!1;return(0,y.of)(We).pipe((0,P.b)(Wt=>{this.currentNavigation={id:Wt.id,initialUrl:Wt.rawUrl,extractedUrl:Wt.extractedUrl,trigger:Wt.source,extras:Wt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,x.w)(Wt=>{const Mn=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Mn&&"reload"!==(Wt.extras.onSameUrlNavigation??Q.onSameUrlNavigation)){const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),O,0)),Wt.resolve(null),r.E}if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,y.of)(Wt).pipe((0,x.w)(O=>{const xe=this.transitions?.getValue();return this.events.next(new wt(O.id,this.urlSerializer.serialize(O.extractedUrl),O.source,O.restoredState)),xe!==this.transitions?.getValue()?r.E:Promise.resolve(O)}),function eo(G,se,Q,re,be,We){return(0,M.z)(pt=>function Zr(G,se,Q,re,be,We,pt="emptyOnly"){return new Nr(G,se,Q,re,be,pt,We).recognize()}(G,se,Q,re,pt.extractedUrl,be,We).pipe((0,C.U)(({state:Zt,tree:Wt})=>({...pt,targetSnapshot:Zt,urlAfterRedirects:Wt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,P.b)(O=>{We.targetSnapshot=O.targetSnapshot,We.urlAfterRedirects=O.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:O.urlAfterRedirects};const xe=new en(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects),O.targetSnapshot);this.events.next(xe)}));if(Mn&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:O,extractedUrl:xe,source:K,restoredState:Je,extras:ft}=Wt,ht=new wt(O,this.urlSerializer.serialize(xe),K,Je);this.events.next(ht);const Kt=mr(0,this.rootComponentType).snapshot;return this.currentTransition=We={...Wt,targetSnapshot:Kt,urlAfterRedirects:xe,extras:{...ft,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=xe,(0,y.of)(We)}{const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),O,1)),Wt.resolve(null),r.E}}),(0,P.b)(Wt=>{const Mn=new Y(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Mn)}),(0,C.U)(Wt=>(this.currentTransition=We={...Wt,guards:ji(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},We)),function ae(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,currentSnapshot:be,guards:{canActivateChecks:We,canDeactivateChecks:pt}}=Q;return 0===pt.length&&0===We.length?(0,y.of)({...Q,guardsResult:!0}):function je(G,se,Q,re){return(0,D.D)(G).pipe((0,M.z)(be=>function $n(G,se,Q,re,be){const We=se&&se.routeConfig?se.routeConfig.canDeactivate:null;if(!We||0===We.length)return(0,y.of)(!0);const pt=We.map(Zt=>{const Wt=ai(se)??be,Mn=gr(Zt,Wt);return Te(function es(G){return G&&Ri(G.canDeactivate)}(Mn)?Mn.canDeactivate(G,se,Q,re):(0,n.runInInjectionContext)(Wt,()=>Mn(G,se,Q,re))).pipe((0,k.P)())});return(0,y.of)(pt).pipe(we())}(be.component,be.route,Q,se,re)),(0,k.P)(be=>!0!==be,!0))}(pt,re,be,G).pipe((0,M.z)(Zt=>Zt&&function Br(G){return"boolean"==typeof G}(Zt)?function xt(G,se,Q,re){return(0,D.D)(se).pipe((0,I.b)(be=>(0,m.z)(function Sn(G,se){return null!==G&&se&&se(new On(G)),(0,y.of)(!0)}(be.route.parent,re),function gn(G,se){return null!==G&&se&&se(new Ci(G)),(0,y.of)(!0)}(be.route,re),function cr(G,se,Q){const re=se[se.length-1],We=se.slice(0,se.length-1).reverse().map(pt=>function lr(G){const se=G.routeConfig?G.routeConfig.canActivateChild:null;return se&&0!==se.length?{node:G,guards:se}:null}(pt)).filter(pt=>null!==pt).map(pt=>(0,h.P)(()=>{const Zt=pt.guards.map(Wt=>{const Mn=ai(pt.node)??Q,ni=gr(Wt,Mn);return Te(function $r(G){return G&&Ri(G.canActivateChild)}(ni)?ni.canActivateChild(re,G):(0,n.runInInjectionContext)(Mn,()=>ni(re,G))).pipe((0,k.P)())});return(0,y.of)(Zt).pipe(we())}));return(0,y.of)(We).pipe(we())}(G,be.path,Q),function Di(G,se,Q){const re=se.routeConfig?se.routeConfig.canActivate:null;if(!re||0===re.length)return(0,y.of)(!0);const be=re.map(We=>(0,h.P)(()=>{const pt=ai(se)??Q,Zt=gr(We,pt);return Te(function Es(G){return G&&Ri(G.canActivate)}(Zt)?Zt.canActivate(se,G):(0,n.runInInjectionContext)(pt,()=>Zt(se,G))).pipe((0,k.P)())}));return(0,y.of)(be).pipe(we())}(G,be.route,Q))),(0,k.P)(be=>!0!==be,!0))}(re,We,G,se):(0,y.of)(Zt)),(0,C.U)(Zt=>({...Q,guardsResult:Zt})))})}(this.environmentInjector,Wt=>this.events.next(Wt)),(0,P.b)(Wt=>{if(We.guardsResult=Wt.guardsResult,at(Wt.guardsResult))throw Fr(0,Wt.guardsResult);const Mn=new pe(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);this.events.next(Mn)}),(0,S.h)(Wt=>!!Wt.guardsResult||(this.cancelNavigationTransition(Wt,"",3),!1)),mo(Wt=>{if(Wt.guards.canActivateChecks.length)return(0,y.of)(Wt).pipe((0,P.b)(Mn=>{const ni=new de(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}),(0,x.w)(Mn=>{let ni=!1;return(0,y.of)(Mn).pipe(function fo(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,guards:{canActivateChecks:be}}=Q;if(!be.length)return(0,y.of)(Q);const We=new Set(be.map(Wt=>Wt.route)),pt=new Set;for(const Wt of We)if(!pt.has(Wt))for(const Mn of ns(Wt))pt.add(Mn);let Zt=0;return(0,D.D)(pt).pipe((0,I.b)(Wt=>We.has(Wt)?function Ro(G,se,Q,re){const be=G.routeConfig,We=G._resolve;return void 0!==be?.title&&!pr(be)&&(We[H]=be.title),function ta(G,se,Q,re){const be=Ye(G);if(0===be.length)return(0,y.of)({});const We={};return(0,D.D)(be).pipe((0,M.z)(pt=>function Oo(G,se,Q,re){const be=ai(se)??re,We=gr(G,be);return Te(We.resolve?We.resolve(se,Q):(0,n.runInInjectionContext)(be,()=>We(se,Q)))}(G[pt],se,Q,re).pipe((0,k.P)(),(0,P.b)(Zt=>{We[pt]=Zt}))),(0,U.h)(1),(0,W.h)(We),(0,A.K)(pt=>yn(pt)?r.E:(0,l._)(pt)))}(We,G,se,re).pipe((0,C.U)(pt=>(G._resolvedData=pt,G.data=wn(G,G.parent,Q).resolve,null)))}(Wt,re,G,se):(Wt.data=wn(Wt,Wt.parent,G).resolve,(0,y.of)(void 0))),(0,P.b)(()=>Zt++),(0,U.h)(1),(0,M.z)(Wt=>Zt===pt.size?(0,y.of)(Q):r.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>ni=!0,complete:()=>{ni||this.cancelNavigationTransition(Mn,"",2)}}))}),(0,P.b)(Mn=>{const ni=new Qe(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}))}),mo(Wt=>{const Mn=ni=>{const O=[];ni.routeConfig?.loadComponent&&!ni.routeConfig._loadedComponent&&O.push(this.configLoader.loadComponent(ni.routeConfig).pipe((0,P.b)(xe=>{ni.component=xe}),(0,C.U)(()=>{})));for(const xe of ni.children)O.push(...Mn(xe));return O};return(0,v.a)(Mn(Wt.targetSnapshot.root)).pipe((0,F.d)(null),(0,w.q)(1))}),mo(()=>this.afterPreactivation()),(0,x.w)(()=>{const{currentSnapshot:Wt,targetSnapshot:Mn}=We,ni=this.createViewTransition?.(this.environmentInjector,Wt.root,Mn.root);return ni?(0,D.D)(ni).pipe((0,C.U)(()=>We)):(0,y.of)(We)}),(0,C.U)(Wt=>{const Mn=function Cr(G,se,Q){const re=Zi(G,se._root,Q?Q._root:void 0);return new Fi(re,se)}(Q.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=We={...Wt,targetRouterState:Mn},this.currentNavigation.targetRouterState=Mn,We}),(0,P.b)(()=>{this.events.next(new qi)}),((G,se,Q,re)=>(0,C.U)(be=>(new ri(se,be.targetRouterState,be.currentRouterState,Q,re).activate(G),be)))(this.rootContexts,Q.routeReuseStrategy,Wt=>this.events.next(Wt),this.inputBindingEnabled),(0,w.q)(1),(0,P.b)({next:Wt=>{pt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vt(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0)},complete:()=>{pt=!0}}),(0,j.R)(this.transitionAbortSubject.pipe((0,P.b)(Wt=>{throw Wt}))),(0,ne.x)(()=>{pt||Zt||this.cancelNavigationTransition(We,"",1),this.currentNavigation?.id===We.id&&(this.currentNavigation=null)}),(0,A.K)(Wt=>{if(Zt=!0,Tr(Wt))this.events.next(new Ht(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt.message,Wt.cancellationCode)),function Jr(G){return Tr(G)&&at(G.url)}(Wt)?this.events.next(new ki(Wt.url)):We.resolve(!1);else{this.events.next(new ze(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt,We.targetSnapshot??void 0));try{We.resolve(Q.errorHandler(Wt))}catch(Mn){We.reject(Mn)}}return r.E}))}))}cancelNavigationTransition(Q,re,be){const We=new Ht(Q.id,this.urlSerializer.serialize(Q.extractedUrl),re,be);this.events.next(We),Q.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function $i(G){return G!==ct}let Ii=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(is),providedIn:"root"})}return G})();class Yi{shouldDetach(se){return!1}store(se,Q){}shouldAttach(se){return!1}retrieve(se){return null}shouldReuseRoute(se,Q){return se.routeConfig===Q.routeConfig}}let is=(()=>{class G extends Yi{static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),kr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(ds),providedIn:"root"})}return G})(),ds=(()=>{class G extends kr{constructor(){super(...arguments),this.location=(0,n.inject)(b.Location),this.urlSerializer=(0,n.inject)(Ot),this.options=(0,n.inject)(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ke,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mr(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Q){return this.location.subscribe(re=>{"popstate"===re.type&&Q(re.url,re.state)})}handleRouterEvent(Q,re){if(Q instanceof wt)this.stateMemento=this.createStateMemento();else if(Q instanceof dn)this.rawUrlTree=re.initialUrl;else if(Q instanceof en){if("eager"===this.urlUpdateStrategy&&!re.extras.skipLocationChange){const be=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl);this.setBrowserUrl(be,re)}}else Q instanceof qi?(this.currentUrlTree=re.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re))):Q instanceof Ht&&(3===Q.code||2===Q.code)?this.restoreHistory(re):Q instanceof ze?this.restoreHistory(re,!0):Q instanceof vt&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,re){const be=this.urlSerializer.serialize(Q);if(this.location.isCurrentPathEqualTo(be)||re.extras.replaceUrl){const pt={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId)};this.location.replaceState(be,"",pt)}else{const We={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId+1)};this.location.go(be,"",We)}}restoreHistory(Q,re=!1){if("computed"===this.canceledNavigationResolution){const We=this.currentPageId-this.browserPageId;0!==We?this.location.historyGo(We):this.currentUrlTree===Q.finalUrl&&0===We&&(this.resetState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(re&&this.resetState(Q),this.resetUrlToCurrentUrlTree())}resetState(Q){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Q.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Q,re){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:re}:{navigationId:Q}}static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();var _r=function(G){return G[G.COMPLETE=0]="COMPLETE",G[G.FAILED=1]="FAILED",G[G.REDIRECTING=2]="REDIRECTING",G}(_r||{});function ur(G,se){G.events.pipe((0,S.h)(Q=>Q instanceof vt||Q instanceof Ht||Q instanceof ze||Q instanceof dn),(0,C.U)(Q=>Q instanceof vt||Q instanceof dn?_r.COMPLETE:Q instanceof Ht&&(0===Q.code||1===Q.code)?_r.REDIRECTING:_r.FAILED),(0,S.h)(Q=>Q!==_r.REDIRECTING),(0,w.q)(1)).subscribe(()=>{se()})}function Ji(G){throw G}const rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Is={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class G{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(kr),this.options=(0,n.inject)(us,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(Xn),this.urlSerializer=(0,n.inject)(Ot),this.location=(0,n.inject)(b.Location),this.urlHandlingStrategy=(0,n.inject)(zt),this._events=new d.x,this.errorHandler=this.options.errorHandler||Ji,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(Ii),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(J,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(Lr,{optional:!0}),this.eventsSubscription=new g.w0,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Q=>{this.console.warn(Q)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Q=this.navigationTransitions.events.subscribe(re=>{try{const be=this.navigationTransitions.currentTransition,We=this.navigationTransitions.currentNavigation;if(null!==be&&null!==We)if(this.stateManager.handleRouterEvent(re,We),re instanceof Ht&&0!==re.code&&1!==re.code)this.navigated=!0;else if(re instanceof vt)this.navigated=!0;else if(re instanceof ki){const pt=this.urlHandlingStrategy.merge(re.url,be.currentRawUrl),Zt={skipLocationChange:be.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$i(be.source)};this.scheduleNavigation(pt,ct,null,Zt,{resolve:be.resolve,reject:be.reject,promise:be.promise})}(function ia(G){return!(G instanceof qi||G instanceof ki)})(re)&&this._events.next(re)}catch(be){this.navigationTransitions.transitionAbortSubject.next(be)}});this.eventsSubscription.add(Q)}resetRootComponentType(Q){this.routerState.root.component=Q,this.navigationTransitions.rootComponentType=Q}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ct,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Q,"popstate",re)},0)}))}navigateToSyncWithBrowser(Q,re,be){const We={replaceUrl:!0},pt=be?.navigationId?be:null;if(be){const Wt={...be};delete Wt.navigationId,delete Wt.\u0275routerPageId,0!==Object.keys(Wt).length&&(We.state=Wt)}const Zt=this.parseUrl(Q);this.scheduleNavigation(Zt,re,pt,We)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(bn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Q,re={}){const{relativeTo:be,queryParams:We,fragment:pt,queryParamsHandling:Zt,preserveFragment:Wt}=re,Mn=Wt?this.currentUrlTree.fragment:pt;let O,ni=null;switch(Zt){case"merge":ni={...this.currentUrlTree.queryParams,...We};break;case"preserve":ni=this.currentUrlTree.queryParams;break;default:ni=We||null}null!==ni&&(ni=this.removeEmptyProps(ni));try{O=mt(be?be.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||!Q[0].startsWith("/"))&&(Q=[]),O=this.currentUrlTree.root}return He(O,Q,ni,Mn??null)}navigateByUrl(Q,re={skipLocationChange:!1}){const be=at(Q)?Q:this.parseUrl(Q),We=this.urlHandlingStrategy.merge(be,this.rawUrlTree);return this.scheduleNavigation(We,ct,null,re)}navigate(Q,re={skipLocationChange:!1}){return function na(G){for(let se=0;se{const We=Q[be];return null!=We&&(re[be]=We),re},{})}scheduleNavigation(Q,re,be,We,pt){if(this.disposed)return Promise.resolve(!1);let Zt,Wt,Mn;pt?(Zt=pt.resolve,Wt=pt.reject,Mn=pt.promise):Mn=new Promise((O,xe)=>{Zt=O,Wt=xe});const ni=this.pendingTasks.add();return ur(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ni))}),this.navigationTransitions.handleNavigationRequest({source:re,restoredState:be,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:We,resolve:Zt,reject:Wt,promise:Mn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mn.catch(O=>Promise.reject(O))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),xi=(()=>{class G{constructor(Q,re,be,We,pt,Zt){this.router=Q,this.route=re,this.tabIndexAttribute=be,this.renderer=We,this.el=pt,this.locationStrategy=Zt,this.href=null,this.commands=null,this.onChanges=new d.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Wt=pt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt,this.isAnchorElement?this.subscription=Q.events.subscribe(Mn=>{Mn instanceof vt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Q){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Q)}ngOnChanges(Q){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Q){null!=Q?(this.commands=Array.isArray(Q)?Q:[Q],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Q,re,be,We,pt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==Q||re||be||We||pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const Q=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Q)}applyAttributeValue(Q,re){const be=this.renderer,We=this.el.nativeElement;null!==re?be.setAttribute(We,Q,re):be.removeAttribute(We,Q)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,be){1&re&&n.\u0275\u0275listener("click",function(pt){return be.onClick(pt.button,pt.ctrlKey,pt.shiftKey,pt.altKey,pt.metaKey)}),2&re&&n.\u0275\u0275attribute("target",be.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return G})(),Fs=(()=>{class G{get isActive(){return this._isActive}constructor(Q,re,be,We,pt){this.router=Q,this.element=re,this.renderer=be,this.cdr=We,this.link=pt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=Q.events.subscribe(Zt=>{Zt instanceof vt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,B.J)()).subscribe(Q=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Q=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,D.D)(Q).pipe((0,B.J)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(Q){const re=Array.isArray(Q)?Q:Q.split(" ");this.classes=re.filter(be=>!!be)}ngOnChanges(Q){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Q=this.hasActiveLinks();this._isActive!==Q&&(this._isActive=Q,this.cdr.markForCheck(),this.classes.forEach(re=>{Q?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),Q&&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(Q))})}isLinkActive(Q){const re=function to(G){return!!G.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return be=>!!be.urlTree&&Q.isActive(be.urlTree,re)}hasActiveLinks(){const Q=this.isLinkActive(this.router);return this.link&&Q(this.link)||this.links.some(Q)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(xi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLinkActive",""]],contentQueries:function(re,be,We){if(1&re&&n.\u0275\u0275contentQuery(We,xi,5),2&re){let pt;n.\u0275\u0275queryRefresh(pt=n.\u0275\u0275loadQuery())&&(be.links=pt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class ar{}let al=(()=>{class G{preload(Q,re){return re().pipe((0,A.K)(()=>(0,y.of)(null)))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),no=(()=>{class G{preload(Q,re){return(0,y.of)(null)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),Ss=(()=>{class G{constructor(Q,re,be,We,pt){this.router=Q,this.injector=be,this.preloadingStrategy=We,this.loader=pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,S.h)(Q=>Q instanceof vt),(0,I.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Q,re){const be=[];for(const We of re){We.providers&&!We._injector&&(We._injector=(0,n.createEnvironmentInjector)(We.providers,Q,`Route: ${We.path}`));const pt=We._injector??Q,Zt=We._loadedInjector??pt;(We.loadChildren&&!We._loadedRoutes&&void 0===We.canLoad||We.loadComponent&&!We._loadedComponent)&&be.push(this.preloadConfig(pt,We)),(We.children||We._loadedRoutes)&&be.push(this.processRoutes(Zt,We.children??We._loadedRoutes))}return(0,D.D)(be).pipe((0,B.J)())}preloadConfig(Q,re){return this.preloadingStrategy.preload(re,()=>{let be;be=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(Q,re):(0,y.of)(null);const We=be.pipe((0,M.z)(pt=>null===pt?(0,y.of)(void 0):(re._loadedRoutes=pt.routes,re._loadedInjector=pt.injector,this.processRoutes(pt.injector??Q,pt.routes))));if(re.loadComponent&&!re._loadedComponent){const pt=this.loader.loadComponent(re);return(0,D.D)([We,pt]).pipe((0,B.J)())}return We})}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Rr),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(ar),n.\u0275\u0275inject(Fe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xr=new n.InjectionToken("");let ra=(()=>{class G{constructor(Q,re,be,We,pt={}){this.urlSerializer=Q,this.transitions=re,this.viewportScroller=be,this.zone=We,this.options=pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},pt.scrollPositionRestoration=pt.scrollPositionRestoration||"disabled",pt.anchorScrolling=pt.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Q=>{Q instanceof wt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Q.navigationTrigger,this.restoredId=Q.restoredState?Q.restoredState.navigationId:0):Q instanceof vt?(this.lastId=Q.id,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.urlAfterRedirects).fragment)):Q instanceof dn&&0===Q.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Q=>{Q instanceof Ei&&(Q.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Q.position):Q.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Q.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Q,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ei(Q,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Lo(G,...se){return(0,n.makeEnvironmentProviders)([{provide:J,multi:!0,useValue:G},[],{provide:_n,useFactory:sa,deps:[Rr]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:go},se.map(Q=>Q.\u0275providers)])}function sa(G){return G.routerState.root}function rr(G,se){return{\u0275kind:G,\u0275providers:se}}function aa(G){return[{provide:J,multi:!0,useValue:G},[]]}function la(G={}){return rr(4,[{provide:xr,useFactory:()=>{const Q=(0,n.inject)(b.ViewportScroller),re=(0,n.inject)(n.NgZone),be=(0,n.inject)(Xn),We=(0,n.inject)(Ot);return new ra(We,be,Q,re,G)}}])}function go(){const G=(0,n.inject)(n.Injector);return se=>{const Q=G.get(n.ApplicationRef);if(se!==Q.components[0])return;const re=G.get(Rr),be=G.get(Us);1===G.get(Or)&&re.initialNavigation(),G.get(ll,null,n.InjectFlags.Optional)?.setUpPreloading(),G.get(xr,null,n.InjectFlags.Optional)?.init(),re.resetRootComponentType(Q.componentTypes[0]),be.closed||(be.next(),be.complete(),be.unsubscribe())}}const Us=new n.InjectionToken("",{factory:()=>new d.x}),Or=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function _o(){return rr(2,[{provide:Or,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:se=>{const Q=se.get(b.LOCATION_INITIALIZED,Promise.resolve());return()=>Q.then(()=>new Promise(re=>{const be=se.get(Rr),We=se.get(Us);ur(be,()=>{re(!0)}),se.get(Xn).afterPreactivation=()=>(re(!0),We.closed?(0,y.of)(void 0):We),be.initialNavigation()}))}}])}function zn(){return rr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const se=(0,n.inject)(Rr);return()=>{se.setUpLocationChangeListener()}}},{provide:Or,useValue:2}])}function Po(){let G=[];return G=[],rr(1,G)}const ll=new n.InjectionToken("");function ca(G){return rr(0,[{provide:ll,useExisting:Ss},{provide:ar,useExisting:G}])}function io(G){return rr(5,[{provide:us,useValue:G}])}function No(){return rr(6,[{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}])}function vo(G){return rr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Q=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Rr).events.subscribe(re=>{re instanceof ze&&(0,n.runInInjectionContext)(Q,()=>G(re))})}}])}function Ts(){return rr(8,[tr,{provide:Lr,useExisting:tr}])}function Fo(G){return rr(9,[{provide:xn,useValue:di},{provide:Li,useValue:{skipNextTransition:!!G?.skipInitialTransition,...G}}])}const Bs=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ro=[b.Location,{provide:Ot,useClass:Yt},Rr,fr,{provide:_n,useFactory:sa,deps:[Rr]},Fe,[]];let ul=(()=>{class G{constructor(Q){}static forRoot(Q,re){return{ngModule:G,providers:[ro,[],{provide:J,multi:!0,useValue:Q},{provide:Bs,useFactory:da,deps:[[Rr,new n.Optional,new n.SkipSelf]]},{provide:us,useValue:re||{}},re?.useHash?{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}:{provide:b.LocationStrategy,useClass:b.PathLocationStrategy},{provide:xr,useFactory:()=>{const G=(0,n.inject)(b.ViewportScroller),se=(0,n.inject)(n.NgZone),Q=(0,n.inject)(us),re=(0,n.inject)(Xn),be=(0,n.inject)(Ot);return Q.scrollOffset&&G.setOffset(Q.scrollOffset),new ra(be,re,G,se,Q)}},re?.preloadingStrategy?ca(re.preloadingStrategy).\u0275providers:[],re?.initialNavigation?Pi(re):[],re?.bindToComponentInputs?Ts().\u0275providers:[],re?.enableViewTransitions?Fo().\u0275providers:[],[{provide:bo,useFactory:go},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:bo}]]}}static forChild(Q){return{ngModule:G,providers:[{provide:J,multi:!0,useValue:Q}]}}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Bs,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:G});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return G})();function da(G){return"guarded"}function Pi(G){return["disabled"===G.initialNavigation?zn().\u0275providers:[],"enabledBlocking"===G.initialNavigation?_o().\u0275providers:[]]}const bo=new n.InjectionToken("");function ss(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canMatch(...Q))}function Uo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivate(...Q))}function Bo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivateChild(...Q))}function dl(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canDeactivate(...Q))}function uc(G){return(...se)=>(0,n.inject)(G).resolve(...se)}const ha=new n.Version("17.0.8")},9515:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DEFAULT_LANGUAGE:()=>L,FakeMissingTranslationHandler:()=>g,MissingTranslationHandler:()=>d,TranslateCompiler:()=>M,TranslateDefaultParser:()=>S,TranslateDirective:()=>U,TranslateFakeCompiler:()=>k,TranslateFakeLoader:()=>c,TranslateLoader:()=>r,TranslateModule:()=>ne,TranslateParser:()=>T,TranslatePipe:()=>W,TranslateService:()=>R,TranslateStore:()=>I,USE_DEFAULT_LANG:()=>A,USE_EXTEND:()=>F,USE_STORE:()=>P});var n=_(9212),f=_(2096),D=_(2664),y=_(9315),u=_(34),v=_(4911),s=_(8180),m=_(7081),h=_(7398),o=_(6328),l=_(4664);class r{}let c=(()=>{class ee extends r{getTranslation(B){return(0,f.of)({})}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class d{}let g=(()=>{class ee{handle(B){return B.key}static \u0275fac=function($){return new($||ee)};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();function b(ee,j){if(ee===j)return!0;if(null===ee||null===j)return!1;if(ee!=ee&&j!=j)return!0;let Z,H,te,B=typeof ee;if(B==typeof j&&"object"==B){if(!Array.isArray(ee)){if(Array.isArray(j))return!1;for(H in te=Object.create(null),ee){if(!b(ee[H],j[H]))return!1;te[H]=!0}for(H in j)if(!(H in te)&&typeof j[H]<"u")return!1;return!0}if(!Array.isArray(j))return!1;if((Z=ee.length)==j.length){for(H=0;H{x(j[$])?$ in ee?B[$]=w(ee[$],j[$]):Object.assign(B,{[$]:j[$]}):Object.assign(B,{[$]:j[$]})}),B}class T{}let S=(()=>{class ee extends T{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(B,$){let Z;return Z="string"==typeof B?this.interpolateString(B,$):"function"==typeof B?this.interpolateFunction(B,$):B,Z}getValue(B,$){let Z="string"==typeof $?$.split("."):[$];$="";do{$+=Z.shift(),!C(B)||!C(B[$])||"object"!=typeof B[$]&&Z.length?Z.length?$+=".":B=void 0:(B=B[$],$="")}while(Z.length);return B}interpolateFunction(B,$){return B($)}interpolateString(B,$){return $?B.replace(this.templateMatcher,(Z,H)=>{let te=this.getValue($,H);return C(te)?te:Z}):B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class M{}let k=(()=>{class ee extends M{compile(B,$){return B}compileTranslations(B,$){return B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class I{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new n.EventEmitter;onLangChange=new n.EventEmitter;onDefaultLangChange=new n.EventEmitter}const P=new n.InjectionToken("USE_STORE"),A=new n.InjectionToken("USE_DEFAULT_LANG"),L=new n.InjectionToken("DEFAULT_LANGUAGE"),F=new n.InjectionToken("USE_EXTEND");let R=(()=>{class ee{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new n.EventEmitter;_onLangChange=new n.EventEmitter;_onDefaultLangChange=new n.EventEmitter;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(B){this.isolate?this._defaultLang=B:this.store.defaultLang=B}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(B){this.isolate?this._currentLang=B:this.store.currentLang=B}get langs(){return this.isolate?this._langs:this.store.langs}set langs(B){this.isolate?this._langs=B:this.store.langs=B}get translations(){return this.isolate?this._translations:this.store.translations}set translations(B){this.isolate?this._translations=B:this.store.translations=B}constructor(B,$,Z,H,te,ue=!0,ye=!1,Ge=!1,$e){this.store=B,this.currentLoader=$,this.compiler=Z,this.parser=H,this.missingTranslationHandler=te,this.useDefaultLang=ue,this.isolate=ye,this.extend=Ge,$e&&this.setDefaultLang($e)}setDefaultLang(B){if(B===this.defaultLang)return;let $=this.retrieveTranslations(B);typeof $<"u"?(null==this.defaultLang&&(this.defaultLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeDefaultLang(B)})):this.changeDefaultLang(B)}getDefaultLang(){return this.defaultLang}use(B){if(B===this.currentLang)return(0,f.of)(this.translations[B]);let $=this.retrieveTranslations(B);return typeof $<"u"?(this.currentLang||(this.currentLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeLang(B)}),$):(this.changeLang(B),(0,f.of)(this.translations[B]))}retrieveTranslations(B){let $;return(typeof this.translations[B]>"u"||this.extend)&&(this._translationRequests[B]=this._translationRequests[B]||this.getTranslation(B),$=this._translationRequests[B]),$}getTranslation(B){this.pending=!0;const $=this.currentLoader.getTranslation(B).pipe((0,m.d)(1),(0,s.q)(1));return this.loadingTranslations=$.pipe((0,h.U)(Z=>this.compiler.compileTranslations(Z,B)),(0,m.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Z=>{this.translations[B]=this.extend&&this.translations[B]?{...Z,...this.translations[B]}:Z,this.updateLangs(),this.pending=!1},error:Z=>{this.pending=!1}}),$}setTranslation(B,$,Z=!1){$=this.compiler.compileTranslations($,B),this.translations[B]=(Z||this.extend)&&this.translations[B]?w(this.translations[B],$):$,this.updateLangs(),this.onTranslationChange.emit({lang:B,translations:this.translations[B]})}getLangs(){return this.langs}addLangs(B){B.forEach($=>{-1===this.langs.indexOf($)&&this.langs.push($)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(B,$,Z){let H;if($ instanceof Array){let te={},ue=!1;for(let ye of $)te[ye]=this.getParsedResult(B,ye,Z),(0,D.b)(te[ye])&&(ue=!0);if(ue){const ye=$.map(Ge=>(0,D.b)(te[Ge])?te[Ge]:(0,f.of)(te[Ge]));return(0,y.D)(ye).pipe((0,h.U)(Ge=>{let $e={};return Ge.forEach((Ye,Ze)=>{$e[$[Ze]]=Ye}),$e}))}return te}if(B&&(H=this.parser.interpolate(this.parser.getValue(B,$),Z)),typeof H>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(H=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],$),Z)),typeof H>"u"){let te={key:$,translateService:this};typeof Z<"u"&&(te.interpolateParams=Z),H=this.missingTranslationHandler.handle(te)}return typeof H<"u"?H:$}get(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,o.b)(Z=>(Z=this.getParsedResult(Z,B,$),(0,D.b)(Z)?Z:(0,f.of)(Z))));{let Z=this.getParsedResult(this.translations[this.currentLang],B,$);return(0,D.b)(Z)?Z:(0,f.of)(Z)}}getStreamOnTranslationChange(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onTranslationChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return"function"==typeof H.subscribe?H:(0,f.of)(H)})))}stream(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onLangChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return(0,D.b)(H)?H:(0,f.of)(H)})))}instant(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');let Z=this.getParsedResult(this.translations[this.currentLang],B,$);if((0,D.b)(Z)){if(B instanceof Array){let H={};return B.forEach((te,ue)=>{H[B[ue]]=B[ue]}),H}return B}return Z}set(B,$,Z=this.currentLang){this.translations[Z][B]=this.compiler.compile($,Z),this.updateLangs(),this.onTranslationChange.emit({lang:Z,translations:this.translations[Z]})}changeLang(B){this.currentLang=B,this.onLangChange.emit({lang:B,translations:this.translations[B]}),null==this.defaultLang&&this.changeDefaultLang(B)}changeDefaultLang(B){this.defaultLang=B,this.onDefaultLangChange.emit({lang:B,translations:this.translations[B]})}reloadLang(B){return this.resetLang(B),this.getTranslation(B)}resetLang(B){this._translationRequests[B]=void 0,this.translations[B]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof B>"u"?void 0:(-1!==B.indexOf("-")&&(B=B.split("-")[0]),-1!==B.indexOf("_")&&(B=B.split("_")[0]),B)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,B}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(r),n.\u0275\u0275inject(M),n.\u0275\u0275inject(T),n.\u0275\u0275inject(d),n.\u0275\u0275inject(A),n.\u0275\u0275inject(P),n.\u0275\u0275inject(F),n.\u0275\u0275inject(L))};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),U=(()=>{class ee{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(B){B&&(this.key=B,this.checkNodes())}set translateParams(B){b(this.currentParams,B)||(this.currentParams=B,this.checkNodes(!0))}constructor(B,$,Z){this.translateService=B,this.element=$,this._ref=Z,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(H=>{H.lang===this.translateService.currentLang&&this.checkNodes(!0,H.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(H=>{this.checkNodes(!0,H.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(H=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(B=!1,$){let Z=this.element.nativeElement.childNodes;Z.length||(this.setContent(this.element.nativeElement,this.key),Z=this.element.nativeElement.childNodes);for(let H=0;H{te!==B&&($.lastKey=B),$.originalContent||($.originalContent=this.getContent($)),$.currentValue=C(te)?te:$.originalContent||B,this.setContent($,this.key?$.currentValue:$.originalContent.replace(B,$.currentValue)),this._ref.markForCheck()};if(C(Z)){let te=this.translateService.getParsedResult(Z,B,this.currentParams);(0,D.b)(te)?te.subscribe({next:H}):H(te)}else this.translateService.get(B,this.currentParams).subscribe(H)}}getContent(B){return C(B.textContent)?B.textContent:B.data}setContent(B,$){C(B.textContent)?B.textContent=$:B.data=$}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275directiveInject(R),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static \u0275dir=n.\u0275\u0275defineDirective({type:ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ee})(),W=(()=>{class ee{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(B,$){this.translate=B,this._ref=$}updateValue(B,$,Z){let H=te=>{this.value=void 0!==te?te:B,this.lastKey=B,this._ref.markForCheck()};if(Z){let te=this.translate.getParsedResult(Z,B,$);(0,D.b)(te.subscribe)?te.subscribe(H):H(te)}this.translate.get(B,$).subscribe(H)}transform(B,...$){if(!B||!B.length)return B;if(b(B,this.lastKey)&&b($,this.lastParams))return this.value;let Z;if(C($[0])&&$.length)if("string"==typeof $[0]&&$[0].length){let H=$[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Z=JSON.parse(H)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${$[0]}`)}}else"object"==typeof $[0]&&!Array.isArray($[0])&&(Z=$[0]);return this.lastKey=B,this.lastParams=$,this.updateValue(B,Z),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(H=>{this.lastKey&&H.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(H=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275directiveInject(R,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static \u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:ee,pure:!1});static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),ne=(()=>{class ee{static forRoot(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},I,{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static forChild(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static \u0275fac=function($){return new($||ee)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ee});static \u0275inj=n.\u0275\u0275defineInjector({})}return ee})()},5061:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{TranslateHttpLoader:()=>n});class n{http;prefix;suffix;constructor(D,y="/assets/i18n/",u=".json"){this.http=D,this.prefix=y,this.suffix=u}getTranslation(D){return this.http.get(`${this.prefix}${D}${this.suffix}`)}}},4751:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AUTH_CONFIG:()=>un,AbstractValidationHandler:()=>Ge,AuthConfig:()=>te,DateTimeProvider:()=>A,DefaultHashHandler:()=>Pe,DefaultOAuthInterceptor:()=>Ot,HashHandler:()=>ke,JwksValidationHandler:()=>En,LoginOptions:()=>F,MemoryStorage:()=>W,NullValidationHandler:()=>k,OAuthErrorEvent:()=>$,OAuthEvent:()=>ee,OAuthInfoEvent:()=>B,OAuthLogger:()=>R,OAuthModule:()=>fn,OAuthModuleConfig:()=>I,OAuthNoopResourceServerErrorHandler:()=>yt,OAuthResourceServerConfig:()=>P,OAuthResourceServerErrorHandler:()=>Be,OAuthService:()=>Ne,OAuthStorage:()=>U,OAuthSuccessEvent:()=>j,ReceivedTokens:()=>ne,SystemDateTimeProvider:()=>L,UrlHelperService:()=>$e,ValidationHandler:()=>ye,provideOAuthClient:()=>cn});var n=_(5861),f=_(9212),D=_(6814),y=_(9862),u=_(8645),v=_(2096),s=_(2459),m=_(3684),h=_(8504),o=_(2572),l=_(3019),r=_(2181),c=_(9397),d=_(3620),g=_(7547),b=_(4664),C=_(7398),x=_(1374),w=_(6306),T=_(5178),S=_(8180),M=_(9769);class k{validateSignature(Ft){return Promise.resolve(null)}validateAtHash(Ft){return Promise.resolve(!0)}}class I{}class P{}class A{}let L=(()=>{class Bt extends A{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let De;return function(Xe){return(De||(De=f.\u0275\u0275getInheritedFactory(Bt)))(Xe||Bt)}})();static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class F{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class R{}class U{}let W=(()=>{class Bt{constructor(){this.data=new Map}getItem(De){return this.data.get(De)}removeItem(De){this.data.delete(De)}setItem(De,Ve){this.data.set(De,Ve)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class ne{}class ee{constructor(Ft){this.type=Ft}}class j extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class B extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class $ extends ee{constructor(Ft,De,Ve=null){super(Ft),this.reason=De,this.params=Ve}}function Z(Bt){const Ft=Bt.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Ft).split("").map(function(De){return"%"+("00"+De.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function H(Bt){return btoa(Bt).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class te{constructor(Ft){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=De=>{location.href=De},Ft&&Object.assign(this,Ft)}}class ue{encodeKey(Ft){return encodeURIComponent(Ft)}encodeValue(Ft){return encodeURIComponent(Ft)}decodeKey(Ft){return decodeURIComponent(Ft)}decodeValue(Ft){return decodeURIComponent(Ft)}}class ye{}class Ge{validateAtHash(Ft){var De=this;return(0,n.Z)(function*(){const Ve=De.inferHashAlgorithm(Ft.idTokenHeader),Xe=yield De.calcHash(Ft.accessToken,Ve),tt=H(Xe.substr(0,Xe.length/2)),ut=Ft.idTokenClaims.at_hash.replace(/=/g,"");return tt!==ut&&(console.error("exptected at_hash: "+tt),console.error("actual at_hash: "+ut)),tt===ut})()}inferHashAlgorithm(Ft){const De=Ft.alg;if(!De.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+De);return"sha-"+De.substr(2)}}let $e=(()=>{class Bt{getHashFragmentParams(De){let Ve=De||window.location.hash;if(Ve=decodeURIComponent(Ve),0!==Ve.indexOf("#"))return{};const Xe=Ve.indexOf("?");return Ve=Ve.substr(Xe>-1?Xe+1:1),this.parseQueryString(Ve)}parseQueryString(De){const Ve={};let Xe,St,tt,ut,Oe,Ct;if(null===De)return Ve;const Pt=De.split("&");for(let Nt=0;Nt=64;){for(St=Ft[0],tt=Ft[1],ut=Ft[2],Oe=Ft[3],Ct=Ft[4],Pt=Ft[5],Nt=Ft[6],bt=Ft[7],ce=0;ce<16;ce++)z=Ve+4*ce,Bt[ce]=(255&De[z])<<24|(255&De[z+1])<<16|(255&De[z+2])<<8|255&De[z+3];for(ce=16;ce<64;ce++)_e=Bt[ce-2],oe=(_e>>>17|_e<<15)^(_e>>>19|_e<<13)^_e>>>10,_e=Bt[ce-15],Se=(_e>>>7|_e<<25)^(_e>>>18|_e<<14)^_e>>>3,Bt[ce]=(oe+Bt[ce-7]|0)+(Se+Bt[ce-16]|0);for(ce=0;ce<64;ce++)oe=(((Ct>>>6|Ct<<26)^(Ct>>>11|Ct<<21)^(Ct>>>25|Ct<<7))+(Ct&Pt^~Ct&Nt)|0)+(bt+(Et[ce]+Bt[ce]|0)|0)|0,Se=((St>>>2|St<<30)^(St>>>13|St<<19)^(St>>>22|St<<10))+(St&tt^St&ut^tt&ut)|0,bt=Nt,Nt=Pt,Pt=Ct,Ct=Oe+oe|0,Oe=ut,ut=tt,tt=St,St=oe+Se|0;Ft[0]+=St,Ft[1]+=tt,Ft[2]+=ut,Ft[3]+=Oe,Ft[4]+=Ct,Ft[5]+=Pt,Ft[6]+=Nt,Ft[7]+=bt,Ve+=64,Xe-=64}return Ve}class qe{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let Ft=0;Ft0){for(;this.bufferLength<64&&De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;64===this.bufferLength&&(Te(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(De>=64&&(Ve=Te(this.temp,this.state,Ft,Ve,De),De%=64);De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;return this}finish(Ft){if(!this.finished){const De=this.bytesHashed,Ve=this.bufferLength,Xe=De/536870912|0,St=De<<3,tt=De%64<56?64:128;this.buffer[Ve]=128;for(let ut=Ve+1;ut>>24&255,this.buffer[tt-7]=Xe>>>16&255,this.buffer[tt-6]=Xe>>>8&255,this.buffer[tt-5]=Xe>>>0&255,this.buffer[tt-4]=St>>>24&255,this.buffer[tt-3]=St>>>16&255,this.buffer[tt-2]=St>>>8&255,this.buffer[tt-1]=St>>>0&255,Te(this.temp,this.state,this.buffer,0,tt),this.finished=!0}for(let De=0;De<8;De++)Ft[4*De+0]=this.state[De]>>>24&255,Ft[4*De+1]=this.state[De]>>>16&255,Ft[4*De+2]=this.state[De]>>>8&255,Ft[4*De+3]=this.state[De]>>>0&255;return this}digest(){const Ft=new Uint8Array(this.digestLength);return this.finish(Ft),Ft}_saveState(Ft){for(let De=0;De{class Bt{calcHash(De,Ve){return(0,n.Z)(function*(){return function me(Bt){const Ft=[];for(let De=0;De{class Bt extends te{constructor(De,Ve,Xe,St,tt,ut,Oe,Ct,Pt,Nt){super(),this.ngZone=De,this.http=Ve,this.config=tt,this.urlHelper=ut,this.logger=Oe,this.crypto=Ct,this.dateTimeService=Nt,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new u.x,this.discoveryDocumentLoadedSubject=new u.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Pt,tt||(tt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),St&&(this.tokenValidationHandler=St),tt&&this.configure(tt);try{Xe?this.setStorage(Xe):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(bt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",bt)}if(this.checkLocalStorageAccessable()){const bt=window?.navigator?.userAgent;(bt?.includes("MSIE ")||bt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const De="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(De,De),localStorage.removeItem(De),0))}catch{return!1}}configure(De){Object.assign(this,new te,De),this.config=Object.assign({},new te,De),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.h)(De=>"token_received"===De.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(De={},Ve,Xe=!0){let St=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,c.b)(tt=>{"token_received"===tt.type?St=!0:"logout"===tt.type&&(St=!1)}),(0,r.h)(tt=>"token_expires"===tt.type&&(null==Ve||"any"===Ve||tt.info===Ve)),(0,d.b)(1e3)).subscribe(()=>{St&&this.refreshInternal(De,Xe).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(De,Ve){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(De,Ve):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(De=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(De))}loadDiscoveryDocumentAndLogin(De=null){return this.loadDiscoveryDocumentAndTryLogin(De=De||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof De.state?De.state:""),!1))}debug(...De){this.showDebugInformation&&this.logger.debug(...De)}validateUrlFromDiscoveryDocument(De){const Ve=[],Xe=this.validateUrlForHttps(De),St=this.validateUrlAgainstIssuer(De);return Xe||Ve.push("https for all urls required. Also for urls received by discovery."),St||Ve.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ve}validateUrlForHttps(De){if(!De)return!0;const Ve=De.toLowerCase();return!(!1!==this.requireHttps&&(!Ve.match(/^http:\/\/localhost($|[:/])/)&&!Ve.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||Ve.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(De,Ve){if(!De)throw new Error(`'${Ve}' should not be null`);if(!this.validateUrlForHttps(De))throw new Error(`'${Ve}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(De){return!this.strictDiscoveryDocumentValidation||!De||De.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,r.h)(De=>"token_received"===De.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const De=this.getAccessTokenExpiration(),Ve=this.getAccessTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,v.of)(new B("token_expires","access_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}setupIdTokenTimer(){const De=this.getIdTokenExpiration(),Ve=this.getIdTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,v.of)(new B("token_expires","id_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(De,Ve){const Xe=this.dateTimeService.now(),tt=Math.max(0,(Ve-De)*this.timeoutFactor-(Xe-De)),ut=2147483647;return tt>ut?ut:tt}setStorage(De){this._storage=De,this.configChanged()}loadDiscoveryDocument(De=null){return new Promise((Ve,Xe)=>{De||((De=this.issuer||"").endsWith("/")||(De+="/"),De+=".well-known/openid-configuration"),this.validateUrlForHttps(De)?this.http.get(De).subscribe(St=>{if(!this.validateDiscoveryDocument(St))return this.eventsSubject.next(new $("discovery_document_validation_error",null)),void Xe("discovery_document_validation_error");this.loginUrl=St.authorization_endpoint,this.logoutUrl=St.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=St.grant_types_supported,this.issuer=St.issuer,this.tokenEndpoint=St.token_endpoint,this.userinfoEndpoint=St.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=St.jwks_uri,this.sessionCheckIFrameUrl=St.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(St),this.revocationEndpoint=St.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(tt=>{const Oe=new j("discovery_document_loaded",{discoveryDocument:St,jwks:tt});this.eventsSubject.next(Oe),Ve(Oe)}).catch(tt=>{this.eventsSubject.next(new $("discovery_document_load_error",tt)),Xe(tt)})},St=>{this.logger.error("error loading discovery document",St),this.eventsSubject.next(new $("discovery_document_load_error",St)),Xe(St)}):Xe("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((De,Ve)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(Xe=>{this.jwks=Xe,De(Xe)},Xe=>{this.logger.error("error loading jwks",Xe),this.eventsSubject.next(new $("jwks_load_error",Xe)),Ve(Xe)}):De(null)})}validateDiscoveryDocument(De){let Ve;return this.skipIssuerCheck||De.issuer===this.issuer?(Ve=this.validateUrlFromDiscoveryDocument(De.authorization_endpoint),Ve.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.end_session_endpoint),Ve.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.token_endpoint),Ve.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.revocation_endpoint),Ve.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.userinfo_endpoint),Ve.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.jwks_uri),Ve.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ve),!1):(this.sessionChecksEnabled&&!De.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+De.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingPasswordFlow(De,Ve,Xe).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((De,Ve)=>{const Xe=(new y.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:Xe,observe:"response",responseType:"text"}).subscribe(St=>{if(this.debug("userinfo received",JSON.stringify(St)),St.headers.get("content-type").startsWith("application/json")){let tt=JSON.parse(St.body);const ut=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!ut.sub||tt.sub!==ut.sub))return void Ve("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");tt=Object.assign({},ut,tt),this._storage.setItem("id_token_claims_obj",JSON.stringify(tt)),this.eventsSubject.next(new j("user_profile_loaded")),De({info:tt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new j("user_profile_loaded")),De(JSON.parse(St.body))},St=>{this.logger.error("error loading user info",St),this.eventsSubject.next(new $("user_profile_load_error",St)),Ve(St)})})}fetchTokenUsingPasswordFlow(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:De,password:Ve},Xe)}fetchTokenUsingGrant(De,Ve,Xe=new y.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let St=new y.HttpParams({encoder:new ue}).set("grant_type",De).set("scope",this.scope);if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(St=St.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(St=St.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))St=St.set(tt,this.customQueryParams[tt]);for(const tt of Object.keys(Ve))St=St.set(tt,Ve[tt]);return Xe=Xe.set("Content-Type","application/x-www-form-urlencoded"),new Promise((tt,ut)=>{this.http.post(this.tokenEndpoint,St,{headers:Xe}).subscribe(Oe=>{this.debug("tokenResponse",Oe),this.storeAccessTokenResponse(Oe.access_token,Oe.refresh_token,Oe.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Oe.scope,this.extractRecognizedCustomParameters(Oe)),this.oidc&&Oe.id_token&&this.processIdToken(Oe.id_token,Oe.access_token).then(Ct=>{this.storeIdToken(Ct),tt(Oe)}),this.eventsSubject.next(new j("token_received")),tt(Oe)},Oe=>{this.logger.error("Error performing ${grantType} flow",Oe),this.eventsSubject.next(new $("token_error",Oe)),ut(Oe)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((De,Ve)=>{let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),St=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);St=St.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(Xe=Xe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Xe=Xe.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))Xe=Xe.set(tt,this.customQueryParams[tt]);this.http.post(this.tokenEndpoint,Xe,{headers:St}).pipe((0,b.w)(tt=>this.oidc&&tt.id_token?(0,s.D)(this.processIdToken(tt.id_token,tt.access_token,!0)).pipe((0,c.b)(ut=>this.storeIdToken(ut)),(0,C.U)(()=>tt)):(0,v.of)(tt))).subscribe(tt=>{this.debug("refresh tokenResponse",tt),this.storeAccessTokenResponse(tt.access_token,tt.refresh_token,tt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,tt.scope,this.extractRecognizedCustomParameters(tt)),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),De(tt)},tt=>{this.logger.error("Error refreshing token",tt),this.eventsSubject.next(new $("token_refresh_error",tt)),Ve(tt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=De=>{const Ve=this.processMessageEventMessage(De);this.checkOrigin&&De.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ve,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(Xe=>this.debug("tryLogin during silent refresh failed",Xe))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(De={},Ve=!0){const Xe=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(De.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");const St=this.document.getElementById(this.silentRefreshIFrameName);St&&this.document.body.removeChild(St),this.silentRefreshSubject=Xe.sub;const tt=this.document.createElement("iframe");tt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ve,De).then(Nt=>{tt.setAttribute("src",Nt),this.silentRefreshShowIFrame||(tt.style.display="none"),this.document.body.appendChild(tt)});const Oe=this.events.pipe((0,r.h)(Nt=>Nt instanceof $),(0,x.P)()),Ct=this.events.pipe((0,r.h)(Nt=>"token_received"===Nt.type),(0,x.P)()),Pt=(0,v.of)(new $("silent_refresh_timeout",null)).pipe((0,g.g)(this.silentRefreshTimeout));return(0,m.S)([Oe,Ct,Pt]).pipe((0,C.U)(Nt=>{if(Nt instanceof $)throw"silent_refresh_timeout"===Nt.type||(Nt=new $("silent_refresh_error",Nt)),this.eventsSubject.next(Nt),Nt;return"token_received"===Nt.type&&(Nt=new j("silently_refreshed"),this.eventsSubject.next(Nt)),Nt})).toPromise()}initImplicitFlowInPopup(De){return this.initLoginFlowInPopup(De)}initLoginFlowInPopup(De){return De=De||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ve=>new Promise((Xe,St)=>{let Oe,ut=null;De.windowRef?De.windowRef&&!De.windowRef.closed&&(ut=De.windowRef,ut.location.href=Ve):ut=window.open(Ve,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(De));const Ct=ce=>{this.tryLogin({customHashFragment:ce,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Nt(),Xe(!0)},z=>{Nt(),St(z)})};ut?Oe=window.setInterval(()=>{(!ut||ut.closed)&&(Nt(),St(new $("popup_closed",{})))},500):St(new $("popup_blocked",{}));const Nt=()=>{window.clearInterval(Oe),window.removeEventListener("storage",_e),window.removeEventListener("message",bt),null!==ut&&ut.close(),ut=null},bt=ce=>{const z=this.processMessageEventMessage(ce);z&&null!==z?(window.removeEventListener("storage",_e),Ct(z)):console.log("false event firing")},_e=ce=>{"auth_hash"===ce.key&&(window.removeEventListener("message",bt),Ct(ce.newValue))};window.addEventListener("message",bt),window.addEventListener("storage",_e)}))}calculatePopupFeatures(De){const Ve=De.height||470,Xe=De.width||500,St=window.screenLeft+(window.outerWidth-Xe)/2;return`location=no,toolbar=no,width=${Xe},height=${Ve},top=${window.screenTop+(window.outerHeight-Ve)/2},left=${St}`}processMessageEventMessage(De){let Ve="#";if(this.silentRefreshMessagePrefix&&(Ve+=this.silentRefreshMessagePrefix),!De||!De.data||"string"!=typeof De.data)return;const Xe=De.data;return Xe.startsWith(Ve)?"#"+Xe.substr(Ve.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.getSessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=De=>{const Ve=De.origin.toLowerCase(),Xe=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),Xe.startsWith(Ve)){switch(De.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",De)}else this.debug("sessionCheckEventListener","wrong origin",Ve,"expected",Xe,"event",De)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new B("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new B("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new B("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new B("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.h)(De=>"silently_refreshed"===De.type||"silent_refresh_timeout"===De.type||"silent_refresh_error"===De.type),(0,x.P)()).subscribe(De=>{"silently_refreshed"!==De.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new B("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new B("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const De=this.document.getElementById(this.sessionCheckIFrameName);De&&this.document.body.removeChild(De);const Ve=this.document.createElement("iframe");Ve.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ve.setAttribute("src",this.sessionCheckIFrameUrl),Ve.style.display="none",this.document.body.appendChild(Ve),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const De=this.document.getElementById(this.sessionCheckIFrameName);De||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ve=this.getSessionState();Ve||this.stopSessionCheckTimer(),De.contentWindow.postMessage(this.clientId+" "+Ve,this.issuer)}createLoginUrl(De="",Ve="",Xe="",St=!1,tt={}){var ut=this;return(0,n.Z)(function*(){const Oe=ut;let Ct;Ct=Xe||ut.redirectUri;const Pt=yield ut.createAndSaveNonce();if(De=De?Pt+ut.config.nonceStateSeparator+encodeURIComponent(De):Pt,!ut.requestAccessToken&&!ut.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ut.responseType=ut.config.responseType?ut.config.responseType:ut.oidc&&ut.requestAccessToken?"id_token token":ut.oidc&&!ut.requestAccessToken?"id_token":"token";const Nt=Oe.loginUrl.indexOf("?")>-1?"&":"?";let bt=Oe.scope;ut.oidc&&!bt.match(/(^|\s)openid($|\s)/)&&(bt="openid "+bt);let _e=Oe.loginUrl+Nt+"response_type="+encodeURIComponent(Oe.responseType)+"&client_id="+encodeURIComponent(Oe.clientId)+"&state="+encodeURIComponent(De)+"&redirect_uri="+encodeURIComponent(Ct)+"&scope="+encodeURIComponent(bt);if(ut.responseType.includes("code")&&!ut.disablePKCE){const[ce,z]=yield ut.createChallangeVerifierPairForPKCE();ut.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",z):ut._storage.setItem("PKCE_verifier",z),_e+="&code_challenge="+ce,_e+="&code_challenge_method=S256"}Ve&&(_e+="&login_hint="+encodeURIComponent(Ve)),Oe.resource&&(_e+="&resource="+encodeURIComponent(Oe.resource)),Oe.oidc&&(_e+="&nonce="+encodeURIComponent(Pt)),St&&(_e+="&prompt=none");for(const ce of Object.keys(tt))_e+="&"+encodeURIComponent(ce)+"="+encodeURIComponent(tt[ce]);if(ut.customQueryParams)for(const ce of Object.getOwnPropertyNames(ut.customQueryParams))_e+="&"+ce+"="+encodeURIComponent(ut.customQueryParams[ce]);return _e})()}initImplicitFlowInternal(De="",Ve=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initImplicitFlow",tt),this.inImplicitFlow=!1})}initImplicitFlow(De="",Ve=""){""!==this.loginUrl?this.initImplicitFlowInternal(De,Ve):this.events.pipe((0,r.h)(Xe=>"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initImplicitFlowInternal(De,Ve))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(De){const Ve=this;if(De.onTokenReceived){const Xe={idClaims:Ve.getIdentityClaims(),idToken:Ve.getIdToken(),accessToken:Ve.getAccessToken(),state:Ve.state};De.onTokenReceived(Xe)}}storeAccessTokenResponse(De,Ve,Xe,St,tt){if(this._storage.setItem("access_token",De),St&&!Array.isArray(St)?this._storage.setItem("granted_scopes",JSON.stringify(St.split(" "))):St&&Array.isArray(St)&&this._storage.setItem("granted_scopes",JSON.stringify(St)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),Xe){const ut=1e3*Xe,Ct=this.dateTimeService.new().getTime()+ut;this._storage.setItem("expires_at",""+Ct)}Ve&&this._storage.setItem("refresh_token",Ve),tt&&tt.forEach((ut,Oe)=>{this._storage.setItem(Oe,ut)})}tryLogin(De=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(De).then(()=>!0):this.tryLoginImplicitFlow(De)}parseQueryString(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):{}}tryLoginCodeFlow(De=null){var Ve=this;return(0,n.Z)(function*(){const Xe=(De=De||{}).customHashFragment?De.customHashFragment.substring(1):window.location.search,St=Ve.getCodePartsFromUrl(Xe),tt=St.code,ut=St.state,Oe=St.session_state;if(!De.preventClearHashAfterLogin){const Nt=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,Nt)}const[Ct,Pt]=Ve.parseState(ut);if(Ve.state=Pt,St.error){Ve.debug("error trying to login"),Ve.handleLoginError(De,St);const Nt=new $("code_error",{},St);return Ve.eventsSubject.next(Nt),Promise.reject(Nt)}if(!De.disableNonceCheck){if(!Ct)return Ve.saveRequestedRoute(),Promise.resolve();if(!De.disableOAuth2StateCheck&&!Ve.validateNonce(Ct)){const bt=new $("invalid_nonce_in_state",null);return Ve.eventsSubject.next(bt),Promise.reject(bt)}}return Ve.storeSessionState(Oe),tt&&(yield Ve.getTokenFromCode(tt,De),Ve.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const De=this._storage.getItem("requested_route");De&&history.replaceState(null,"",window.location.origin+De)}getCodePartsFromUrl(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(De,Ve){let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","authorization_code").set("code",De).set("redirect_uri",Ve.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let St;St=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),St?Xe=Xe.set("code_verifier",St):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(Xe,Ve)}fetchAndProcessToken(De,Ve){Ve=Ve||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Xe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const St=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+St)}return this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),new Promise((St,tt)=>{if(this.customQueryParams)for(const ut of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(ut,this.customQueryParams[ut]);this.http.post(this.tokenEndpoint,De,{headers:Xe}).subscribe(ut=>{this.debug("refresh tokenResponse",ut),this.storeAccessTokenResponse(ut.access_token,ut.refresh_token,ut.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ut.scope,this.extractRecognizedCustomParameters(ut)),this.oidc&&ut.id_token?this.processIdToken(ut.id_token,ut.access_token,Ve.disableNonceCheck).then(Oe=>{this.storeIdToken(Oe),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut)}).catch(Oe=>{this.eventsSubject.next(new $("token_validation_error",Oe)),console.error("Error validating tokens"),console.error(Oe),tt(Oe)}):(this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut))},ut=>{console.error("Error getting token",ut),this.eventsSubject.next(new $("token_refresh_error",ut)),tt(ut)})})}tryLoginImplicitFlow(De=null){let Ve;Ve=(De=De||{}).customHashFragment?this.urlHelper.getHashFragmentParams(De.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ve);const Xe=Ve.state,[St,tt]=this.parseState(Xe);if(this.state=tt,Ve.error){this.debug("error trying to login"),this.handleLoginError(De,Ve);const Nt=new $("token_error",{},Ve);return this.eventsSubject.next(Nt),Promise.reject(Nt)}const ut=Ve.access_token,Oe=Ve.id_token,Ct=Ve.session_state,Pt=Ve.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!ut||this.requestAccessToken&&!De.disableOAuth2StateCheck&&!Xe||this.oidc&&!Oe)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!Ct&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!De.disableNonceCheck&&!this.validateNonce(St)){const bt=new $("invalid_nonce_in_state",null);return this.eventsSubject.next(bt),Promise.reject(bt)}return this.requestAccessToken&&this.storeAccessTokenResponse(ut,null,Ve.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Pt),this.oidc?this.processIdToken(Oe,ut,De.disableNonceCheck).then(Nt=>De.validationHandler?De.validationHandler({accessToken:ut,idClaims:Nt.idTokenClaims,idToken:Nt.idToken,state:Xe}).then(()=>Nt):Nt).then(Nt=>(this.storeIdToken(Nt),this.storeSessionState(Ct),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new j("token_received")),this.callOnTokenReceivedIfExists(De),this.inImplicitFlow=!1,!0)).catch(Nt=>(this.eventsSubject.next(new $("token_validation_error",Nt)),this.logger.error("Error validating tokens"),this.logger.error(Nt),Promise.reject(Nt))):(this.eventsSubject.next(new j("token_received")),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(De),Promise.resolve(!0))}parseState(De){let Ve=De,Xe="";if(De){const St=De.indexOf(this.config.nonceStateSeparator);St>-1&&(Ve=De.substr(0,St),Xe=De.substr(St+this.config.nonceStateSeparator.length))}return[Ve,Xe]}validateNonce(De){let Ve;return Ve=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ve===De||(console.error("Validating access_token failed, wrong state/nonce.",Ve,De),!1)}storeIdToken(De){this._storage.setItem("id_token",De.idToken),this._storage.setItem("id_token_claims_obj",De.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+De.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(De){this._storage.setItem("session_state",De)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(De,Ve){De.onLoginError&&De.onLoginError(Ve),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(De=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:De}processIdToken(De,Ve,Xe=!1){const St=De.split("."),ut=Z(this.padBase64(St[0])),Oe=JSON.parse(ut),Pt=Z(this.padBase64(St[1])),Nt=JSON.parse(Pt);let bt;if(bt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Nt.aud)){if(Nt.aud.every(at=>at!==this.clientId)){const at="Wrong audience: "+Nt.aud.join(",");return this.logger.warn(at),Promise.reject(at)}}else if(Nt.aud!==this.clientId){const at="Wrong audience: "+Nt.aud;return this.logger.warn(at),Promise.reject(at)}if(!Nt.sub){const at="No sub claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Nt.sub){const at=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Nt.sub}`;return this.logger.warn(at),Promise.reject(at)}if(!Nt.iat){const at="No iat claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(!this.skipIssuerCheck&&Nt.iss!==this.issuer){const at="Wrong issuer: "+Nt.iss;return this.logger.warn(at),Promise.reject(at)}if(!Xe&&Nt.nonce!==bt){const at="Wrong nonce: "+Nt.nonce;return this.logger.warn(at),Promise.reject(at)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Nt.at_hash){const at="An at_hash is needed!";return this.logger.warn(at),Promise.reject(at)}const _e=this.dateTimeService.now(),ce=1e3*Nt.iat,z=1e3*Nt.exp,oe=this.getClockSkewInMsec();if(ce-oe>=_e||z+oe-this.decreaseExpirationBySec<=_e){const at="Token has expired";return console.error(at),console.error({now:_e,issuedAtMSec:ce,expiresAtMSec:z}),Promise.reject(at)}const Se={accessToken:Ve,idToken:De,jwks:this.jwks,idTokenClaims:Nt,idTokenHeader:Oe,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(Se).then(()=>({idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z})):this.checkAtHash(Se).then(at=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!at){const nt="Wrong at_hash";return this.logger.warn(nt),Promise.reject(nt)}return this.checkSignature(Se).then(()=>{const mt={idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z};return this.disableAtHashCheck?mt:this.checkAtHash(Se).then(He=>{if(this.requestAccessToken&&!He){const rt="Wrong at_hash";return this.logger.warn(rt),Promise.reject(rt)}return mt})})})}getIdentityClaims(){const De=this._storage.getItem("id_token_claims_obj");return De?JSON.parse(De):null}getGrantedScopes(){const De=this._storage.getItem("granted_scopes");return De?JSON.parse(De):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(De){for(;De.length%4!=0;)De+="=";return De}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const De=this._storage.getItem("expires_at"),Ve=this.dateTimeService.new();return!(De&&parseInt(De,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(De)?JSON.parse(this._storage.getItem(De)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(De={},Ve=""){let Xe=!1;"boolean"==typeof De&&(Xe=De,De={});const St=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ut=>this._storage.removeItem(ut)),this.silentRefreshSubject=null,this.eventsSubject.next(new B("logout")),!this.logoutUrl||Xe)return;let tt;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)tt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(St)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let ut=new y.HttpParams({encoder:new ue});St&&(ut=ut.set("id_token_hint",St));const Oe=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Oe&&(ut=ut.set("post_logout_redirect_uri",Oe),Ve&&(ut=ut.set("state",Ve)));for(const Ct in De)ut=ut.set(Ct,De[Ct]);tt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+ut.toString()}this.config.openUri(tt)}createAndSaveNonce(){const De=this;return this.createNonce().then(function(Ve){return De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ve):De._storage.setItem("nonce",Ve),Ve})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const De=this.document.getElementById(this.silentRefreshIFrameName);De&&De.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ve=this.document.getElementById(this.sessionCheckIFrameName);Ve&&Ve.remove()}createNonce(){return new Promise(De=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let Xe=45,St="";const tt=typeof self>"u"?null:self.crypto||self.msCrypto;if(tt){let ut=new Uint8Array(Xe);tt.getRandomValues(ut),ut.map||(ut.map=Array.prototype.map),ut=ut.map(Oe=>Ve.charCodeAt(Oe%66)),St=String.fromCharCode.apply(null,ut)}else for(;0"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initCodeFlowInternal(De,Ve))}initCodeFlowInternal(De="",Ve={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(tt)})}createChallangeVerifierPairForPKCE(){var De=this;return(0,n.Z)(function*(){if(!De.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ve=yield De.createNonce();return[H(yield De.crypto.calcHash(Ve,"sha-256")),Ve]})()}extractRecognizedCustomParameters(De){const Ve=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Xe=>{De[Xe]&&Ve.set(Xe,JSON.stringify(De[Xe]))}),Ve}revokeTokenAndLogout(De={},Ve=!1){const Xe=this.revocationEndpoint,St=this.getAccessToken(),tt=this.getRefreshToken();if(!St)return Promise.resolve();let ut=new y.HttpParams({encoder:new ue}),Oe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ct=btoa(`${this.clientId}:${this.dummyClientSecret}`);Oe=Oe.set("Authorization","Basic "+Ct)}if(this.useHttpBasicAuth||(ut=ut.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ut=ut.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ct of Object.getOwnPropertyNames(this.customQueryParams))ut=ut.set(Ct,this.customQueryParams[Ct]);return new Promise((Ct,Pt)=>{let Nt,bt;if(St){const _e=ut.set("token",St).set("token_type_hint","access_token");Nt=this.http.post(Xe,_e,{headers:Oe})}else Nt=(0,v.of)(null);if(tt){const _e=ut.set("token",tt).set("token_type_hint","refresh_token");bt=this.http.post(Xe,_e,{headers:Oe})}else bt=(0,v.of)(null);Ve&&(Nt=Nt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e))),bt=bt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e)))),(0,o.a)([Nt,bt]).subscribe(_e=>{this.logOut(De),Ct(_e),this.logger.info("Token successfully revoked")},_e=>{this.logger.error("Error revoking token",_e),this.eventsSubject.next(new $("token_revoke_error",_e)),Pt(_e)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(y.HttpClient),f.\u0275\u0275inject(U,8),f.\u0275\u0275inject(ye,8),f.\u0275\u0275inject(te,8),f.\u0275\u0275inject($e),f.\u0275\u0275inject(R),f.\u0275\u0275inject(ke,8),f.\u0275\u0275inject(D.DOCUMENT),f.\u0275\u0275inject(A))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class Be{}class yt{handleError(Ft){return(0,h._)(Ft)}}let Ot=(()=>{class Bt{constructor(De,Ve,Xe){this.oAuthService=De,this.errorHandler=Ve,this.moduleConfig=Xe}checkUrl(De){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(De):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ve=>De.toLowerCase().startsWith(Ve.toLowerCase()))}intercept(De,Ve){const Xe=De.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(Xe)?this.moduleConfig.resourceServer.sendAccessToken?(0,l.T)((0,v.of)(this.oAuthService.getAccessToken()).pipe((0,r.h)(tt=>!!tt)),this.oAuthService.events.pipe((0,r.h)(tt=>"token_received"===tt.type),(0,T.V)(this.oAuthService.waitForTokenInMsec||0),(0,w.K)(()=>(0,v.of)(null)),(0,C.U)(()=>this.oAuthService.getAccessToken()))).pipe((0,S.q)(1),(0,M.z)(tt=>{if(tt){const Oe=De.headers.set("Authorization","Bearer "+tt);De=De.clone({headers:Oe})}return Ve.handle(De).pipe((0,w.K)(ut=>this.errorHandler.handleError(ut)))})):Ve.handle(De).pipe((0,w.K)(tt=>this.errorHandler.handleError(tt))):Ve.handle(De)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(Ne),f.\u0275\u0275inject(Be),f.\u0275\u0275inject(I,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();function Yt(){return console}function jt(){return typeof sessionStorage<"u"?sessionStorage:new W}function cn(Bt=null,Ft=k){return(0,f.makeEnvironmentProviders)([Ne,$e,{provide:R,useFactory:Yt},{provide:U,useFactory:jt},{provide:ye,useClass:Ft},{provide:ke,useClass:Pe},{provide:Be,useClass:yt},{provide:I,useValue:Bt},{provide:y.HTTP_INTERCEPTORS,useClass:Ot,multi:!0},{provide:A,useClass:L}])}let fn=(()=>{class Bt{static forRoot(De=null,Ve=k){return{ngModule:Bt,providers:[cn(De,Ve)]}}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Bt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[D.CommonModule]})}return Bt})();class En extends k{constructor(){super(),console.error("PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n")}}const un=new f.InjectionToken("AUTH_CONFIG")},9949:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{HIGHLIGHT_OPTIONS:()=>b,Highlight:()=>k,HighlightJS:()=>M,HighlightLoader:()=>T,HighlightModule:()=>I});var n=_(9212),f=_(6814),D=_(5619),y=_(2181),u=_(8180),v=_(4664),s=_(9397),m=_(6232),h=_(6306),o=_(8504),l=_(9278),r=_(7398),c=_(2459),d=_(927),g=_(6593);const b=new n.InjectionToken("HIGHLIGHT_OPTIONS");let C;let T=(()=>{class P{constructor(L,F,R){this.doc=L,this.platformId=F,this._options=R,this._ready=new D.X(null),this.ready=this._ready.asObservable().pipe((0,y.h)(U=>!!U),(0,u.q)(1)),(0,f.isPlatformBrowser)(F)&&(L.defaultView.hljs?this._ready.next(L.defaultView.hljs):(this._loadLibrary().pipe((0,v.w)(U=>this._options&&this._options.lineNumbersLoader?(L.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.b)(W=>{W.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),m.E)),(0,h.K)(U=>(console.error("[HLJS] ",U),m.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,o._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,o._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,o._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,o._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,v.w)(L=>this._loadLanguages(L)))}return(0,o._)(()=>"Highlight.js library was not imported!")}_loadLanguages(L){const F=Object.entries(this._options.languages).map(([R,U])=>S(U()).pipe((0,s.b)(W=>L.registerLanguage(R,W))));return(0,l.$)(...F).pipe((0,r.U)(()=>L))}loadCoreLibrary(){return S(this._options.coreLibraryLoader())}loadFullLibrary(){return S(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,c.D)(this._options.lineNumbersLoader())}setTheme(L){(0,f.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=L:this.loadTheme(L))}loadTheme(L){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=L,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();const S=P=>(0,c.D)(P).pipe((0,y.h)(A=>!!A?.default),(0,r.U)(A=>A.default));let M=(()=>{class P{get hljs(){return this._hljs}constructor(L,F){this._loader=L,this._hljs=null,L.ready.subscribe(R=>{this._hljs=R,F&&F.config&&(R.configure(F.config),R.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(L,{language:F,ignoreIllegals:R}){return this._loader.ready.pipe((0,r.U)(U=>U.highlight(L,{language:F,ignoreIllegals:R})))}highlightAuto(L,F){return this._loader.ready.pipe((0,r.U)(R=>R.highlightAuto(L,F)))}highlightElement(L){return this._loader.ready.pipe((0,r.U)(F=>F.highlightElement(L)))}highlightAll(){return this._loader.ready.pipe((0,r.U)(L=>L.highlightAll()))}configure(L){return this._loader.ready.pipe((0,r.U)(F=>F.configure(L)))}registerLanguage(L,F){return this._loader.ready.pipe((0,s.b)(R=>R.registerLanguage(L,F)))}unregisterLanguage(L){return this._loader.ready.pipe((0,s.b)(F=>F.unregisterLanguage(L)))}registerAliases(L,{languageName:F}){return this._loader.ready.pipe((0,s.b)(R=>R.registerAliases(L,{languageName:F})))}listLanguages(){return this._loader.ready.pipe((0,r.U)(L=>L.listLanguages()))}getLanguage(L){return this._loader.ready.pipe((0,r.U)(F=>F.getLanguage(L)))}safeMode(){return this._loader.ready.pipe((0,r.U)(L=>L.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.U)(L=>L.debugMode()))}lineNumbersBlock(L){return this._loader.ready.pipe((0,y.h)(F=>!!F.lineNumbersBlock),(0,s.b)(F=>F.lineNumbersBlock(L)))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275inject(T),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),k=(()=>{class P{constructor(L,F,R,U,W){this._hljs=F,this._sanitizer=R,this.platformId=U,this._options=W,this.highlighted=new n.EventEmitter,this._nativeElement=L.nativeElement}ngOnChanges(L){(0,f.isPlatformBrowser)(this.platformId)&&null!==L?.code?.currentValue&&L.code.currentValue!==L.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(L,F){this.setTextContent(L),this._hljs.highlightAuto(L,F).subscribe(R=>{this.setInnerHTML(R?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(R)})}addLineNumbers(){this.destroyLineNumbersObserver(),d.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(L){d.Z.schedule(()=>this._nativeElement.textContent=L)}setInnerHTML(L){d.Z.schedule(()=>this._nativeElement.innerHTML=function w(P){return function x(){if(!C)try{C=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:P=>P})}catch{}return C}()?.createHTML(P)||P}(this._sanitizer.sanitize(n.SecurityContext.HTML,L)||""))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(M),n.\u0275\u0275directiveInject(g.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(b,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(F,R){2&F&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return P})()},3427:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>Ge,MatSelectNoEntriesFoundDirective:()=>$e,MatSelectSearchClearDirective:()=>ue,MatSelectSearchComponent:()=>Ye,MatSelectSearchVersion:()=>Ze,NgxMatSelectSearchModule:()=>Et,configurableDefaultOptions:()=>ye});var n=_(6028),f=_(9212),D=_(6223),y=_(3680),u=_(4170),v=_(8525),s=_(5619),m=_(2096),h=_(2572),o=_(8645),l=_(4664),r=_(7398),c=_(7921),d=_(7547),g=_(9773),b=_(8180),C=_(9397),x=_(2181),w=_(6672),T=_(6814),S=_(2296),M=_(5986),k=_(617),I=_(5940),P=_(2596),A=_(6385);const L=["searchSelectInput"],F=["innerSelectSearch"];function R(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-checkbox",10),f.\u0275\u0275listener("change",function(Ce){f.\u0275\u0275restoreView(Ee);const ge=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(ge._emitSelectAllBooleanToParent(Ce.checked))}),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275nextContext();f.\u0275\u0275property("color",null==Ee.matFormField?null:Ee.matFormField.color)("checked",Ee.toggleAllCheckboxChecked)("indeterminate",Ee.toggleAllCheckboxIndeterminate)("matTooltip",Ee.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Ee.toggleAllCheckboxTooltipPosition)}}function U(Te,qe){1&Te&&f.\u0275\u0275element(0,"mat-spinner",11)}function W(Te,qe){1&Te&&f.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ne(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"mat-icon",15),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275property("svgIcon",Ee.closeSvgIcon),f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate1(" ",Ee.closeSvgIcon?null:Ee.closeIcon," ")}}function ee(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",12),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(Ee);const Ce=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Ce._reset(!0))}),f.\u0275\u0275template(1,W,1,0,"ng-content",13)(2,ne,2,2,"ng-template",null,14,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.clearIcon)("ngIfElse",Ee)}}function j(Te,qe){1&Te&&f.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function B(Te,qe){if(1&Te&&f.\u0275\u0275text(0),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275textInterpolate(Ee.noEntriesFoundLabel)}}function $(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"div",16),f.\u0275\u0275template(1,j,1,0,"ng-content",13)(2,B,1,1,"ng-template",null,17,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.noEntriesFound)("ngIfElse",Ee)}}const Z=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],H=(Te,qe)=>({"mat-select-search-inner-multiple":Te,"mat-select-search-inner-toggle-all":qe}),te=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let ue=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectSearchClear",""]]}),Te})();const ye=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Ge=new f.InjectionToken("mat-selectsearch-default-options");let $e=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Te})(),Ye=(()=>{class Te{constructor(Ee,Ie,Ce,ge=null,Ae=null,q){this.matSelect=Ee,this.changeDetectorRef=Ie,this._viewportRuler=Ce,this.matOption=ge,this.matFormField=Ae,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new f.EventEmitter,this.onTouched=Re=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,l.w)(Re=>Re?Re.changes.pipe((0,r.U)(ke=>ke.toArray()),(0,c.O)(Re.toArray())):(0,m.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.U)(Re=>Re?Re.length:0)),this._formControl=new D.FormControl(""),this._showNoEntriesFound$=(0,h.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.U)(([Re,ke])=>this.noEntriesFoundLabel&&Re&&ke===this.getOptionsLengthOffset())),this._onDestroy=new o.x,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(Ee){this._options$.next(Ee)}get _options(){return this._options$.getValue()}applyDefaultOptions(Ee){if(Ee)for(const Ie of ye)Ee.hasOwnProperty(Ie)&&(this[Ie]=Ee[Ie])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,d.g)(1),(0,g.R)(this._onDestroy)).subscribe(Ee=>{Ee?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,b.q)(1),(0,l.w)(Ee=>{this._options=this.matSelect.options;let Ie=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,C.b)(()=>{setTimeout(()=>{const Ce=this._options.toArray(),ge=Ce[this.getOptionsLengthOffset()],Ae=this.matSelect._keyManager;Ae&&this.matSelect.panelOpen&&ge&&((!Ie||!this.matSelect.compareWith(Ie.value,ge.value)||!Ae.activeItem||!Ce.find(Re=>this.matSelect.compareWith(Re.value,Ae.activeItem.value)))&&Ae.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),Ie=ge})}))})).pipe((0,g.R)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{this.matOption&&(Ee?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,g.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,g.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Ee){this.toggleAll.emit(Ee)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Ee){(Ee.key&&1===Ee.key.length||Ee.keyCode>=n.A&&Ee.keyCode<=n.Z||Ee.keyCode>=n.xE&&Ee.keyCode<=n.aO||Ee.keyCode===n.L_||this.preventHomeEndKeyPropagation&&(Ee.keyCode===n.Sd||Ee.keyCode===n.uR))&&Ee.stopPropagation(),this.matSelect.multiple&&Ee.key&&Ee.keyCode===n.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&Ee.keyCode===n.hY&&this.value&&(this._reset(!0),Ee.stopPropagation())}_handleKeyup(Ee){if(Ee.keyCode===n.LH||Ee.keyCode===n.JH){const Ie=this.matSelect._getAriaActiveDescendant(),Ce=this._options.toArray().findIndex(ge=>ge.id===Ie);-1!==Ce&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Ce]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",Ie))}}writeValue(Ee){this._lastExternalInputValue=Ee,this._formControl.setValue(Ee),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(Ee){this._formControl.valueChanges.pipe((0,x.h)(Ie=>Ie!==this._lastExternalInputValue),(0,C.b)(()=>this._lastExternalInputValue=void 0),(0,g.R)(this._onDestroy)).subscribe(Ee)}registerOnTouched(Ee){this.onTouched=Ee}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Ee=this.matSelect.panel.nativeElement,Ie=Ee.scrollTop;this.searchSelectInput.nativeElement.focus(),Ee.scrollTop=Ie}_reset(Ee){this._formControl.setValue(""),Ee&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{let Ie=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Ee||!Array.isArray(Ee))&&(Ee=[]);const Ce=this.matSelect.options.map(ge=>ge.value);this.previousSelectedValues.forEach(ge=>{!Ee.some(Ae=>this.matSelect.compareWith(Ae,ge))&&!Ce.some(Ae=>this.matSelect.compareWith(Ae,ge))&&(Ee.push(ge),Ie=!0)})}this.previousSelectedValues=Ee,Ie&&this.matSelect._onChange(Ee)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let Ie,Ee=this.innerSelectSearch.nativeElement;for(;Ee=Ee.parentElement;)if(Ee.classList.contains("mat-select-panel")){Ie=Ee;break}Ie&&(this.innerSelectSearch.nativeElement.style.width=Ie.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Te.\u0275fac=function(Ee){return new(Ee||Te)(f.\u0275\u0275directiveInject(v.MatSelect),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(w.rL),f.\u0275\u0275directiveInject(y.MatOption,8),f.\u0275\u0275directiveInject(u.MatFormField,8),f.\u0275\u0275directiveInject(Ge,8))},Te.\u0275cmp=f.\u0275\u0275defineComponent({type:Te,selectors:[["ngx-mat-select-search"]],contentQueries:function(Ee,Ie,Ce){if(1&Ee&&(f.\u0275\u0275contentQuery(Ce,ue,5),f.\u0275\u0275contentQuery(Ce,$e,5)),2&Ee){let ge;f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.clearIcon=ge.first),f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.noEntriesFound=ge.first)}},viewQuery:function(Ee,Ie){if(1&Ee&&(f.\u0275\u0275viewQuery(L,7,f.ElementRef),f.\u0275\u0275viewQuery(F,7,f.ElementRef)),2&Ee){let Ce;f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.searchSelectInput=Ce.first),f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.innerSelectSearch=Ce.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[f.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:(0,f.forwardRef)(()=>Te),multi:!0}])],ngContentSelectors:te,decls:13,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(Ee,Ie){1&Ee&&(f.\u0275\u0275projectionDef(Z),f.\u0275\u0275element(0,"input",0),f.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),f.\u0275\u0275template(4,R,1,5,"mat-checkbox",4),f.\u0275\u0275elementStart(5,"input",5,6),f.\u0275\u0275listener("keydown",function(ge){return Ie._handleKeydown(ge)})("keyup",function(ge){return Ie._handleKeyup(ge)})("blur",function(){return Ie.onBlur()}),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(7,U,1,0,"mat-spinner",7)(8,ee,4,2,"button",8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"mat-divider"),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(11,$,4,2,"div",9),f.\u0275\u0275pipe(12,"async")),2&Ee&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("ngClass",f.\u0275\u0275pureFunction2(11,H,Ie.matSelect.multiple,Ie._isToggleAllCheckboxVisible())),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",Ie._isToggleAllCheckboxVisible()),f.\u0275\u0275advance(1),f.\u0275\u0275property("type",Ie.type)("formControl",Ie._formControl)("placeholder",Ie.placeholderLabel),f.\u0275\u0275attribute("aria-label",Ie.ariaLabel),f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",Ie.searching),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!Ie.hideClearSearchButton&&Ie.value&&!Ie.searching),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(12,9,Ie._showNoEntriesFound$)))},dependencies:[T.NgClass,T.NgIf,D.DefaultValueAccessor,D.NgControlStatus,D.FormControlDirective,S.MatIconButton,M.MatCheckbox,k.MatIcon,I.MatProgressSpinner,P.gM,A.MatDivider,T.AsyncPipe],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),Te})();const Ze="7.0.5";let Et=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275mod=f.\u0275\u0275defineNgModule({type:Te}),Te.\u0275inj=f.\u0275\u0275defineInjector({imports:[T.CommonModule,D.ReactiveFormsModule,S.MatButtonModule,M.MatCheckboxModule,k.MatIconModule,I.MatProgressSpinnerModule,P.AV,A.MatDividerModule]}),Te})()},827:(Me,ie,_)=>{"use strict";function u(O){let xe=O.length;for(;--xe>=0;)O[xe]=0}_.r(ie),_.d(ie,{Deflate:()=>se,Inflate:()=>We,constants:()=>Mn,default:()=>ni,deflate:()=>Q,deflateRaw:()=>re,gzip:()=>be,inflate:()=>pt,inflateRaw:()=>Zt,ungzip:()=>Wt});const I=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),P=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),A=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),L=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),R=new Array(576);u(R);const U=new Array(60);u(U);const W=new Array(512);u(W);const ne=new Array(256);u(ne);const ee=new Array(29);u(ee);const j=new Array(30);function B(O,xe,K,Je,ft){this.static_tree=O,this.extra_bits=xe,this.extra_base=K,this.elems=Je,this.max_length=ft,this.has_stree=O&&O.length}let $,Z,H;function te(O,xe){this.dyn_tree=O,this.max_code=0,this.stat_desc=xe}u(j);const ue=O=>O<256?W[O]:W[256+(O>>>7)],ye=(O,xe)=>{O.pending_buf[O.pending++]=255&xe,O.pending_buf[O.pending++]=xe>>>8&255},Ge=(O,xe,K)=>{O.bi_valid>16-K?(O.bi_buf|=xe<>16-O.bi_valid,O.bi_valid+=K-16):(O.bi_buf|=xe<{Ge(O,K[2*xe],K[2*xe+1])},Ye=(O,xe)=>{let K=0;do{K|=1&O,O>>>=1,K<<=1}while(--xe>0);return K>>>1},Te=(O,xe,K)=>{const Je=new Array(16);let ht,Kt,ft=0;for(ht=1;ht<=15;ht++)ft=ft+K[ht-1]<<1,Je[ht]=ft;for(Kt=0;Kt<=xe;Kt++){let Vt=O[2*Kt+1];0!==Vt&&(O[2*Kt]=Ye(Je[Vt]++,Vt))}},Ee=O=>{let xe;for(xe=0;xe<286;xe++)O.dyn_ltree[2*xe]=0;for(xe=0;xe<30;xe++)O.dyn_dtree[2*xe]=0;for(xe=0;xe<19;xe++)O.bl_tree[2*xe]=0;O.dyn_ltree[512]=1,O.opt_len=O.static_len=0,O.sym_next=O.matches=0},Ie=O=>{O.bi_valid>8?ye(O,O.bi_buf):O.bi_valid>0&&(O.pending_buf[O.pending++]=O.bi_buf),O.bi_buf=0,O.bi_valid=0},Ce=(O,xe,K,Je)=>{const ft=2*xe,ht=2*K;return O[ft]{const Je=O.heap[K];let ft=K<<1;for(;ft<=O.heap_len&&(ft{let Je,ft,Kt,Vt,ht=0;if(0!==O.sym_next)do{Je=255&O.pending_buf[O.sym_buf+ht++],Je+=(255&O.pending_buf[O.sym_buf+ht++])<<8,ft=O.pending_buf[O.sym_buf+ht++],0===Je?$e(O,ft,xe):(Kt=ne[ft],$e(O,Kt+256+1,xe),Vt=I[Kt],0!==Vt&&(ft-=ee[Kt],Ge(O,ft,Vt)),Je--,Kt=ue(Je),$e(O,Kt,K),Vt=P[Kt],0!==Vt&&(Je-=j[Kt],Ge(O,Je,Vt)))}while(ht{const K=xe.dyn_tree,Je=xe.stat_desc.static_tree,ft=xe.stat_desc.has_stree,ht=xe.stat_desc.elems;let Kt,Vt,kt,kn=-1;for(O.heap_len=0,O.heap_max=573,Kt=0;Kt>1;Kt>=1;Kt--)ge(O,K,Kt);kt=ht;do{Kt=O.heap[1],O.heap[1]=O.heap[O.heap_len--],ge(O,K,1),Vt=O.heap[1],O.heap[--O.heap_max]=Kt,O.heap[--O.heap_max]=Vt,K[2*kt]=K[2*Kt]+K[2*Vt],O.depth[kt]=(O.depth[Kt]>=O.depth[Vt]?O.depth[Kt]:O.depth[Vt])+1,K[2*Kt+1]=K[2*Vt+1]=kt,O.heap[1]=kt++,ge(O,K,1)}while(O.heap_len>=2);O.heap[--O.heap_max]=O.heap[1],((O,xe)=>{const K=xe.dyn_tree,Je=xe.max_code,ft=xe.stat_desc.static_tree,ht=xe.stat_desc.has_stree,Kt=xe.stat_desc.extra_bits,Vt=xe.stat_desc.extra_base,kn=xe.stat_desc.max_length;let kt,Qt,Jn,Dn,sn,Wn,Wi=0;for(Dn=0;Dn<=15;Dn++)O.bl_count[Dn]=0;for(K[2*O.heap[O.heap_max]+1]=0,kt=O.heap_max+1;kt<573;kt++)Qt=O.heap[kt],Dn=K[2*K[2*Qt+1]+1]+1,Dn>kn&&(Dn=kn,Wi++),K[2*Qt+1]=Dn,!(Qt>Je)&&(O.bl_count[Dn]++,sn=0,Qt>=Vt&&(sn=Kt[Qt-Vt]),Wn=K[2*Qt],O.opt_len+=Wn*(Dn+sn),ht&&(O.static_len+=Wn*(ft[2*Qt+1]+sn)));if(0!==Wi){do{for(Dn=kn-1;0===O.bl_count[Dn];)Dn--;O.bl_count[Dn]--,O.bl_count[Dn+1]+=2,O.bl_count[kn]--,Wi-=2}while(Wi>0);for(Dn=kn;0!==Dn;Dn--)for(Qt=O.bl_count[Dn];0!==Qt;)Jn=O.heap[--kt],!(Jn>Je)&&(K[2*Jn+1]!==Dn&&(O.opt_len+=(Dn-K[2*Jn+1])*K[2*Jn],K[2*Jn+1]=Dn),Qt--)}})(O,xe),Te(K,kn,O.bl_count)},Re=(O,xe,K)=>{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),xe[2*(K+1)+1]=65535,Je=0;Je<=K;Je++)ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),Je=0;Je<=K;Je++)if(ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{Ge(O,0+(Je?1:0),3),Ie(O),ye(O,K),ye(O,~K),K&&O.pending_buf.set(O.window.subarray(xe,xe+K),O.pending),O.pending+=K};var Bt={_tr_init:O=>{Ne||((()=>{let O,xe,K,Je,ft;const ht=new Array(16);for(K=0,Je=0;Je<28;Je++)for(ee[Je]=K,O=0;O<1<>=7;Je<30;Je++)for(j[Je]=ft<<7,O=0;O<1<{let ft,ht,Kt=0;O.level>0?(2===O.strm.data_type&&(O.strm.data_type=(O=>{let K,xe=4093624447;for(K=0;K<=31;K++,xe>>>=1)if(1&xe&&0!==O.dyn_ltree[2*K])return 0;if(0!==O.dyn_ltree[18]||0!==O.dyn_ltree[20]||0!==O.dyn_ltree[26])return 1;for(K=32;K<256;K++)if(0!==O.dyn_ltree[2*K])return 1;return 0})(O)),q(O,O.l_desc),q(O,O.d_desc),Kt=(O=>{let xe;for(Re(O,O.dyn_ltree,O.l_desc.max_code),Re(O,O.dyn_dtree,O.d_desc.max_code),q(O,O.bl_desc),xe=18;xe>=3&&0===O.bl_tree[2*L[xe]+1];xe--);return O.opt_len+=3*(xe+1)+5+5+4,xe})(O),ft=O.opt_len+3+7>>>3,ht=O.static_len+3+7>>>3,ht<=ft&&(ft=ht)):ft=ht=K+5,K+4<=ft&&-1!==xe?yt(O,xe,K,Je):4===O.strategy||ht===ft?(Ge(O,2+(Je?1:0),3),Ae(O,R,U)):(Ge(O,4+(Je?1:0),3),((O,xe,K,Je)=>{let ft;for(Ge(O,xe-257,5),Ge(O,K-1,5),Ge(O,Je-4,4),ft=0;ft(O.pending_buf[O.sym_buf+O.sym_next++]=xe,O.pending_buf[O.sym_buf+O.sym_next++]=xe>>8,O.pending_buf[O.sym_buf+O.sym_next++]=K,0===xe?O.dyn_ltree[2*K]++:(O.matches++,xe--,O.dyn_ltree[2*(ne[K]+256+1)]++,O.dyn_dtree[2*ue(xe)]++),O.sym_next===O.sym_end),_tr_align:O=>{Ge(O,2,3),$e(O,256,R),(O=>{16===O.bi_valid?(ye(O,O.bi_buf),O.bi_buf=0,O.bi_valid=0):O.bi_valid>=8&&(O.pending_buf[O.pending++]=255&O.bi_buf,O.bi_buf>>=8,O.bi_valid-=8)})(O)}},De=(O,xe,K,Je)=>{let ft=65535&O|0,ht=O>>>16&65535|0,Kt=0;for(;0!==K;){Kt=K>2e3?2e3:K,K-=Kt;do{ft=ft+xe[Je++]|0,ht=ht+ft|0}while(--Kt);ft%=65521,ht%=65521}return ft|ht<<16|0};const Xe=new Uint32Array((()=>{let O,xe=[];for(var K=0;K<256;K++){O=K;for(var Je=0;Je<8;Je++)O=1&O?3988292384^O>>>1:O>>>1;xe[K]=O}return xe})());var tt=(O,xe,K,Je)=>{const ft=Xe,ht=Je+K;O^=-1;for(let Kt=Je;Kt>>8^ft[255&(O^xe[Kt])];return-1^O},ut={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Oe={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Ct,_tr_stored_block:Pt,_tr_flush_block:Nt,_tr_tally:bt,_tr_align:_e}=Bt,{Z_NO_FLUSH:ce,Z_PARTIAL_FLUSH:z,Z_FULL_FLUSH:oe,Z_FINISH:Se,Z_BLOCK:at,Z_OK:nt,Z_STREAM_END:mt,Z_STREAM_ERROR:He,Z_DATA_ERROR:rt,Z_BUF_ERROR:Lt,Z_DEFAULT_COMPRESSION:Xt,Z_FILTERED:tn,Z_HUFFMAN_ONLY:Nn,Z_RLE:ui,Z_FIXED:_i,Z_DEFAULT_STRATEGY:Hi,Z_UNKNOWN:Yn,Z_DEFLATED:st}=Oe,dn=262,ki=(O,xe)=>(O.msg=ut[xe],xe),zi=O=>2*O-(O>4?9:0),Gi=O=>{let xe=O.length;for(;--xe>=0;)O[xe]=0},fr=O=>{let xe,K,Je,ft=O.w_size;xe=O.hash_size,Je=xe;do{K=O.head[--Je],O.head[Je]=K>=ft?K-ft:0}while(--xe);xe=ft,Je=xe;do{K=O.prev[--Je],O.prev[Je]=K>=ft?K-ft:0}while(--xe)};let Ki=(O,xe,K)=>(xe<{const xe=O.state;let K=xe.pending;K>O.avail_out&&(K=O.avail_out),0!==K&&(O.output.set(xe.pending_buf.subarray(xe.pending_out,xe.pending_out+K),O.next_out),O.next_out+=K,xe.pending_out+=K,O.total_out+=K,O.avail_out-=K,xe.pending-=K,0===xe.pending&&(xe.pending_out=0))},Pn=(O,xe)=>{Nt(O,O.block_start>=0?O.block_start:-1,O.strstart-O.block_start,xe),O.block_start=O.strstart,qn(O.strm)},Qn=(O,xe)=>{O.pending_buf[O.pending++]=xe},Fi=(O,xe)=>{O.pending_buf[O.pending++]=xe>>>8&255,O.pending_buf[O.pending++]=255&xe},mr=(O,xe,K,Je)=>{let ft=O.avail_in;return ft>Je&&(ft=Je),0===ft?0:(O.avail_in-=ft,xe.set(O.input.subarray(O.next_in,O.next_in+ft),K),1===O.state.wrap?O.adler=De(O.adler,xe,ft,K):2===O.state.wrap&&(O.adler=tt(O.adler,xe,ft,K)),O.next_in+=ft,O.total_in+=ft,ft)},er=(O,xe)=>{let ft,ht,K=O.max_chain_length,Je=O.strstart,Kt=O.prev_length,Vt=O.nice_match;const kn=O.strstart>O.w_size-dn?O.strstart-(O.w_size-dn):0,kt=O.window,Qt=O.w_mask,Jn=O.prev,Dn=O.strstart+258;let sn=kt[Je+Kt-1],Wn=kt[Je+Kt];O.prev_length>=O.good_match&&(K>>=2),Vt>O.lookahead&&(Vt=O.lookahead);do{if(ft=xe,kt[ft+Kt]===Wn&&kt[ft+Kt-1]===sn&&kt[ft]===kt[Je]&&kt[++ft]===kt[Je+1]){Je+=2,ft++;do{}while(kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&JeKt){if(O.match_start=xe,Kt=ht,ht>=Vt)break;sn=kt[Je+Kt-1],Wn=kt[Je+Kt]}}}while((xe=Jn[xe&Qt])>kn&&0!=--K);return Kt<=O.lookahead?Kt:O.lookahead},_n=O=>{const xe=O.w_size;let K,Je,ft;do{if(Je=O.window_size-O.lookahead-O.strstart,O.strstart>=xe+(xe-dn)&&(O.window.set(O.window.subarray(xe,xe+xe-Je),0),O.match_start-=xe,O.strstart-=xe,O.block_start-=xe,O.insert>O.strstart&&(O.insert=O.strstart),fr(O),Je+=xe),0===O.strm.avail_in)break;if(K=mr(O.strm,O.window,O.strstart+O.lookahead,Je),O.lookahead+=K,O.lookahead+O.insert>=3)for(ft=O.strstart-O.insert,O.ins_h=O.window[ft],O.ins_h=Ki(O,O.ins_h,O.window[ft+1]);O.insert&&(O.ins_h=Ki(O,O.ins_h,O.window[ft+3-1]),O.prev[ft&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=ft,ft++,O.insert--,!(O.lookahead+O.insert<3)););}while(O.lookahead{let Je,ft,ht,K=O.pending_buf_size-5>O.w_size?O.w_size:O.pending_buf_size-5,Kt=0,Vt=O.strm.avail_in;do{if(Je=65535,ht=O.bi_valid+42>>3,O.strm.avail_outft+O.strm.avail_in&&(Je=ft+O.strm.avail_in),Je>ht&&(Je=ht),Je>8,O.pending_buf[O.pending-2]=~Je,O.pending_buf[O.pending-1]=~Je>>8,qn(O.strm),ft&&(ft>Je&&(ft=Je),O.strm.output.set(O.window.subarray(O.block_start,O.block_start+ft),O.strm.next_out),O.strm.next_out+=ft,O.strm.avail_out-=ft,O.strm.total_out+=ft,O.block_start+=ft,Je-=ft),Je&&(mr(O.strm,O.strm.output,O.strm.next_out,Je),O.strm.next_out+=Je,O.strm.avail_out-=Je,O.strm.total_out+=Je)}while(0===Kt);return Vt-=O.strm.avail_in,Vt&&(Vt>=O.w_size?(O.matches=2,O.window.set(O.strm.input.subarray(O.strm.next_in-O.w_size,O.strm.next_in),0),O.strstart=O.w_size,O.insert=O.strstart):(O.window_size-O.strstart<=Vt&&(O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,O.insert>O.strstart&&(O.insert=O.strstart)),O.window.set(O.strm.input.subarray(O.strm.next_in-Vt,O.strm.next_in),O.strstart),O.strstart+=Vt,O.insert+=Vt>O.w_size-O.insert?O.w_size-O.insert:Vt),O.block_start=O.strstart),O.high_waterht&&O.block_start>=O.w_size&&(O.block_start-=O.w_size,O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,ht+=O.w_size,O.insert>O.strstart&&(O.insert=O.strstart)),ht>O.strm.avail_in&&(ht=O.strm.avail_in),ht&&(mr(O.strm,O.window,O.strstart,ht),O.strstart+=ht,O.insert+=ht>O.w_size-O.insert?O.w_size-O.insert:ht),O.high_water>3,ht=O.pending_buf_size-ht>65535?65535:O.pending_buf_size-ht,K=ht>O.w_size?O.w_size:ht,ft=O.strstart-O.block_start,(ft>=K||(ft||xe===Se)&&xe!==ce&&0===O.strm.avail_in&&ft<=ht)&&(Je=ft>ht?ht:ft,Kt=xe===Se&&0===O.strm.avail_in&&Je===ft?1:0,Pt(O,O.block_start,Je,Kt),O.block_start+=Je,qn(O.strm)),Kt?3:1)},Fn=(O,xe)=>{let K,Je;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),0!==K&&O.strstart-K<=O.w_size-dn&&(O.match_length=er(O,K)),O.match_length>=3)if(Je=bt(O,O.strstart-O.match_start,O.match_length-3),O.lookahead-=O.match_length,O.match_length<=O.max_lazy_match&&O.lookahead>=3){O.match_length--;do{O.strstart++,O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart}while(0!=--O.match_length);O.strstart++}else O.strstart+=O.match_length,O.match_length=0,O.ins_h=O.window[O.strstart],O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+1]);else Je=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++;if(Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2},Ln=(O,xe)=>{let K,Je,ft;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),O.prev_length=O.match_length,O.prev_match=O.match_start,O.match_length=2,0!==K&&O.prev_length4096)&&(O.match_length=2)),O.prev_length>=3&&O.match_length<=O.prev_length){ft=O.strstart+O.lookahead-3,Je=bt(O,O.strstart-1-O.prev_match,O.prev_length-3),O.lookahead-=O.prev_length-1,O.prev_length-=2;do{++O.strstart<=ft&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart)}while(0!=--O.prev_length);if(O.match_available=0,O.match_length=2,O.strstart++,Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}else if(O.match_available){if(Je=bt(O,0,O.window[O.strstart-1]),Je&&Pn(O,!1),O.strstart++,O.lookahead--,0===O.strm.avail_out)return 1}else O.match_available=1,O.strstart++,O.lookahead--}return O.match_available&&(Je=bt(O,0,O.window[O.strstart-1]),O.match_available=0),O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2};function Ui(O,xe,K,Je,ft){this.good_length=O,this.max_lazy=xe,this.nice_length=K,this.max_chain=Je,this.func=ft}const sr=[new Ui(0,0,0,0,wn),new Ui(4,4,8,4,Fn),new Ui(4,5,16,8,Fn),new Ui(4,6,32,32,Fn),new Ui(4,4,16,16,Ln),new Ui(8,16,32,32,Ln),new Ui(8,16,128,128,Ln),new Ui(8,32,128,256,Ln),new Ui(32,128,258,1024,Ln),new Ui(32,258,258,4096,Ln)];function Gr(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=st,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Gi(this.dyn_ltree),Gi(this.dyn_dtree),Gi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Gi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Gi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Sr=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||42!==xe.status&&57!==xe.status&&69!==xe.status&&73!==xe.status&&91!==xe.status&&103!==xe.status&&113!==xe.status&&666!==xe.status?1:0},Lr=O=>{if(Sr(O))return ki(O,He);O.total_in=O.total_out=0,O.data_type=Yn;const xe=O.state;return xe.pending=0,xe.pending_out=0,xe.wrap<0&&(xe.wrap=-xe.wrap),xe.status=2===xe.wrap?57:xe.wrap?42:113,O.adler=2===xe.wrap?0:1,xe.last_flush=-2,Ct(xe),nt},tr=O=>{const xe=Lr(O);return xe===nt&&(O=>{O.window_size=2*O.w_size,Gi(O.head),O.max_lazy_match=sr[O.level].max_lazy,O.good_match=sr[O.level].good_length,O.nice_match=sr[O.level].nice_length,O.max_chain_length=sr[O.level].max_chain,O.strstart=0,O.block_start=0,O.lookahead=0,O.insert=0,O.match_length=O.prev_length=2,O.match_available=0,O.ins_h=0})(O.state),xe},Zi=(O,xe,K,Je,ft,ht)=>{if(!O)return He;let Kt=1;if(xe===Xt&&(xe=6),Je<0?(Kt=0,Je=-Je):Je>15&&(Kt=2,Je-=16),ft<1||ft>9||K!==st||Je<8||Je>15||xe<0||xe>9||ht<0||ht>_i||8===Je&&1!==Kt)return ki(O,He);8===Je&&(Je=9);const Vt=new Gr;return O.state=Vt,Vt.strm=O,Vt.status=42,Vt.wrap=Kt,Vt.gzhead=null,Vt.w_bits=Je,Vt.w_size=1<Zi(O,xe,st,15,8,Hi),deflateInit2:Zi,deflateReset:tr,deflateResetKeep:Lr,deflateSetHeader:(O,xe)=>Sr(O)||2!==O.state.wrap?He:(O.state.gzhead=xe,nt),deflate:(O,xe)=>{if(Sr(O)||xe>at||xe<0)return O?ki(O,He):He;const K=O.state;if(!O.output||0!==O.avail_in&&!O.input||666===K.status&&xe!==Se)return ki(O,0===O.avail_out?Lt:He);const Je=K.last_flush;if(K.last_flush=xe,0!==K.pending){if(qn(O),0===O.avail_out)return K.last_flush=-1,nt}else if(0===O.avail_in&&zi(xe)<=zi(Je)&&xe!==Se)return ki(O,Lt);if(666===K.status&&0!==O.avail_in)return ki(O,Lt);if(42===K.status&&0===K.wrap&&(K.status=113),42===K.status){let ft=st+(K.w_bits-8<<4)<<8,ht=-1;if(ht=K.strategy>=Nn||K.level<2?0:K.level<6?1:6===K.level?2:3,ft|=ht<<6,0!==K.strstart&&(ft|=32),ft+=31-ft%31,Fi(K,ft),0!==K.strstart&&(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),O.adler=1,K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(57===K.status)if(O.adler=0,Qn(K,31),Qn(K,139),Qn(K,8),K.gzhead)Qn(K,(K.gzhead.text?1:0)+(K.gzhead.hcrc?2:0)+(K.gzhead.extra?4:0)+(K.gzhead.name?8:0)+(K.gzhead.comment?16:0)),Qn(K,255&K.gzhead.time),Qn(K,K.gzhead.time>>8&255),Qn(K,K.gzhead.time>>16&255),Qn(K,K.gzhead.time>>24&255),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(Qn(K,255&K.gzhead.extra.length),Qn(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(O.adler=tt(O.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69;else if(Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,3),K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt;if(69===K.status){if(K.gzhead.extra){let ft=K.pending,ht=(65535&K.gzhead.extra.length)-K.gzindex;for(;K.pending+ht>K.pending_buf_size;){let Vt=K.pending_buf_size-K.pending;if(K.pending_buf.set(K.gzhead.extra.subarray(K.gzindex,K.gzindex+Vt),K.pending),K.pending=K.pending_buf_size,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex+=Vt,qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0,ht-=Vt}let Kt=new Uint8Array(K.gzhead.extra);K.pending_buf.set(Kt.subarray(K.gzindex,K.gzindex+ht),K.pending),K.pending+=ht,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=73}if(73===K.status){if(K.gzhead.name){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=91}if(91===K.status){if(K.gzhead.comment){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft))}K.status=103}if(103===K.status){if(K.gzhead.hcrc){if(K.pending+2>K.pending_buf_size&&(qn(O),0!==K.pending))return K.last_flush=-1,nt;Qn(K,255&O.adler),Qn(K,O.adler>>8&255),O.adler=0}if(K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(0!==O.avail_in||0!==K.lookahead||xe!==ce&&666!==K.status){let ft=0===K.level?wn(K,xe):K.strategy===Nn?((O,xe)=>{let K;for(;;){if(0===O.lookahead&&(_n(O),0===O.lookahead)){if(xe===ce)return 1;break}if(O.match_length=0,K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++,K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):K.strategy===ui?((O,xe)=>{let K,Je,ft,ht;const Kt=O.window;for(;;){if(O.lookahead<=258){if(_n(O),O.lookahead<=258&&xe===ce)return 1;if(0===O.lookahead)break}if(O.match_length=0,O.lookahead>=3&&O.strstart>0&&(ft=O.strstart-1,Je=Kt[ft],Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft])){ht=O.strstart+258;do{}while(Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&ftO.lookahead&&(O.match_length=O.lookahead)}if(O.match_length>=3?(K=bt(O,1,O.match_length-3),O.lookahead-=O.match_length,O.strstart+=O.match_length,O.match_length=0):(K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++),K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):sr[K.level].func(K,xe);if((3===ft||4===ft)&&(K.status=666),1===ft||3===ft)return 0===O.avail_out&&(K.last_flush=-1),nt;if(2===ft&&(xe===z?_e(K):xe!==at&&(Pt(K,0,0,!1),xe===oe&&(Gi(K.head),0===K.lookahead&&(K.strstart=0,K.block_start=0,K.insert=0))),qn(O),0===O.avail_out))return K.last_flush=-1,nt}return xe!==Se?nt:K.wrap<=0?mt:(2===K.wrap?(Qn(K,255&O.adler),Qn(K,O.adler>>8&255),Qn(K,O.adler>>16&255),Qn(K,O.adler>>24&255),Qn(K,255&O.total_in),Qn(K,O.total_in>>8&255),Qn(K,O.total_in>>16&255),Qn(K,O.total_in>>24&255)):(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),qn(O),K.wrap>0&&(K.wrap=-K.wrap),0!==K.pending?nt:mt)},deflateEnd:O=>{if(Sr(O))return He;const xe=O.state.status;return O.state=null,113===xe?ki(O,rt):nt},deflateSetDictionary:(O,xe)=>{let K=xe.length;if(Sr(O))return He;const Je=O.state,ft=Je.wrap;if(2===ft||1===ft&&42!==Je.status||Je.lookahead)return He;if(1===ft&&(O.adler=De(O.adler,xe,K,0)),Je.wrap=0,K>=Je.w_size){0===ft&&(Gi(Je.head),Je.strstart=0,Je.block_start=0,Je.insert=0);let kn=new Uint8Array(Je.w_size);kn.set(xe.subarray(K-Je.w_size,K),0),xe=kn,K=Je.w_size}const ht=O.avail_in,Kt=O.next_in,Vt=O.input;for(O.avail_in=K,O.next_in=0,O.input=xe,_n(Je);Je.lookahead>=3;){let kn=Je.strstart,kt=Je.lookahead-2;do{Je.ins_h=Ki(Je,Je.ins_h,Je.window[kn+3-1]),Je.prev[kn&Je.w_mask]=Je.head[Je.ins_h],Je.head[Je.ins_h]=kn,kn++}while(--kt);Je.strstart=kn,Je.lookahead=2,_n(Je)}return Je.strstart+=Je.lookahead,Je.block_start=Je.strstart,Je.insert=Je.lookahead,Je.lookahead=0,Je.match_length=Je.prev_length=2,Je.match_available=0,O.next_in=Kt,O.input=Vt,O.avail_in=ht,Je.wrap=ft,nt},deflateInfo:"pako deflate (from Nodeca project)"};const Gt=(O,xe)=>Object.prototype.hasOwnProperty.call(O,xe);var bn={assign:function(O){const xe=Array.prototype.slice.call(arguments,1);for(;xe.length;){const K=xe.shift();if(K){if("object"!=typeof K)throw new TypeError(K+"must be non-object");for(const Je in K)Gt(K,Je)&&(O[Je]=K[Je])}}return O},flattenChunks:O=>{let xe=0;for(let Je=0,ft=O.length;Je=252?6:O>=248?5:O>=240?4:O>=224?3:O>=192?2:1;Gn[254]=Gn[254]=1;var Kn={string2buf:O=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(O);let xe,K,Je,ft,ht,Kt=O.length,Vt=0;for(ft=0;ft>>6,xe[ht++]=128|63&K):K<65536?(xe[ht++]=224|K>>>12,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K):(xe[ht++]=240|K>>>18,xe[ht++]=128|K>>>12&63,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K);return xe},buf2string:(O,xe)=>{const K=xe||O.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(O.subarray(0,xe));let Je,ft;const ht=new Array(2*K);for(ft=0,Je=0;Je4)ht[ft++]=65533,Je+=Vt-1;else{for(Kt&=2===Vt?31:3===Vt?15:7;Vt>1&&Je1?ht[ft++]=65533:Kt<65536?ht[ft++]=Kt:(Kt-=65536,ht[ft++]=55296|Kt>>10&1023,ht[ft++]=56320|1023&Kt)}}return((O,xe)=>{if(xe<65534&&O.subarray&&An)return String.fromCharCode.apply(null,O.length===xe?O:O.subarray(0,xe));let K="";for(let Je=0;Je{(xe=xe||O.length)>O.length&&(xe=O.length);let K=xe-1;for(;K>=0&&128==(192&O[K]);)K--;return K<0||0===K?xe:K+Gn[O[K]]>xe?K:xe}},ji=function li(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const lr=Object.prototype.toString,{Z_NO_FLUSH:gr,Z_SYNC_FLUSH:ls,Z_FULL_FLUSH:Ys,Z_FINISH:ti,Z_OK:wi,Z_STREAM_END:Ri,Z_DEFAULT_COMPRESSION:Br,Z_DEFAULT_STRATEGY:Qi,Z_DEFLATED:Es}=Oe;function $r(O){this.options=bn.assign({level:Br,method:Es,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qi},O||{});let xe=this.options;xe.raw&&xe.windowBits>0?xe.windowBits=-xe.windowBits:xe.gzip&&xe.windowBits>0&&xe.windowBits<16&&(xe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=$t.deflateInit2(this.strm,xe.level,xe.method,xe.windowBits,xe.memLevel,xe.strategy);if(K!==wi)throw new Error(ut[K]);if(xe.header&&$t.deflateSetHeader(this.strm,xe.header),xe.dictionary){let Je;if(Je="string"==typeof xe.dictionary?Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===lr.call(xe.dictionary)?new Uint8Array(xe.dictionary):xe.dictionary,K=$t.deflateSetDictionary(this.strm,Je),K!==wi)throw new Error(ut[K]);this._dict_set=!0}}function es(O,xe){const K=new $r(xe);if(K.push(O,!0),K.err)throw K.msg||ut[K.err];return K.result}$r.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize;let ft,ht;if(this.ended)return!1;for(ht=xe===~~xe?xe:!0===xe?ti:gr,K.input="string"==typeof O?Kn.string2buf(O):"[object ArrayBuffer]"===lr.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;)if(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),(ht===ls||ht===Ys)&&K.avail_out<=6)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else{if(ft=$t.deflate(K,ht),ft===Ri)return K.next_out>0&&this.onData(K.output.subarray(0,K.next_out)),ft=$t.deflateEnd(this.strm),this.onEnd(ft),this.ended=!0,ft===wi;if(0!==K.avail_out){if(ht>0&&K.next_out>0)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else if(0===K.avail_in)break}else this.onData(K.output)}return!0},$r.prototype.onData=function(O){this.chunks.push(O)},$r.prototype.onEnd=function(O){O===wi&&(this.result=bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var je={Deflate:$r,deflate:es,deflateRaw:function Zs(O,xe){return(xe=xe||{}).raw=!0,es(O,xe)},gzip:function uo(O,xe){return(xe=xe||{}).gzip=!0,es(O,xe)},constants:Oe};const xt=16209;var Sn=function(xe,K){let Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,bi,ci,Ai,pi,In,hi,vr,jn,Ni,gi,ei;const vi=xe.state;Je=xe.next_in,gi=xe.input,ft=Je+(xe.avail_in-5),ht=xe.next_out,ei=xe.output,Kt=ht-(K-xe.avail_out),Vt=ht+(xe.avail_out-257),kn=vi.dmax,kt=vi.wsize,Qt=vi.whave,Jn=vi.wnext,Dn=vi.window,sn=vi.hold,Wn=vi.bits,Wi=vi.lencode,bi=vi.distcode,ci=(1<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,0===In)ei[ht++]=65535πelse{if(!(16&In)){if(64&In){if(32&In){vi.mode=16191;break e}xe.msg="invalid literal/length code",vi.mode=xt;break e}pi=Wi[(65535&pi)+(sn&(1<>>=In,Wn-=In),Wn<15&&(sn+=gi[Je++]<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,16&In){if(vr=65535&pi,In&=15,Wnkn){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(sn>>>=In,Wn-=In,In=ht-Kt,vr>In){if(In=vr-In,In>Qt&&vi.sane){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(jn=0,Ni=Dn,0===Jn){if(jn+=kt-In,In2;)ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],hi-=3;hi&&(ei[ht++]=Ni[jn++],hi>1&&(ei[ht++]=Ni[jn++]))}else{jn=ht-vr;do{ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],hi-=3}while(hi>2);hi&&(ei[ht++]=ei[jn++],hi>1&&(ei[ht++]=ei[jn++]))}break}if(64&In){xe.msg="invalid distance code",vi.mode=xt;break e}pi=bi[(65535&pi)+(sn&(1<>3,Je-=hi,Wn-=hi<<3,sn&=(1<{const kn=Vt.bits;let pi,In,hi,vr,jn,gi,kt=0,Qt=0,Jn=0,Dn=0,sn=0,Wn=0,Wi=0,bi=0,ci=0,Ai=0,Ni=null;const ei=new Uint16Array(16),vi=new Uint16Array(16);let dc,As,Vs,$s=null;for(kt=0;kt<=15;kt++)ei[kt]=0;for(Qt=0;Qt=1&&0===ei[Dn];Dn--);if(sn>Dn&&(sn=Dn),0===Dn)return ft[ht++]=20971520,ft[ht++]=20971520,Vt.bits=1,0;for(Jn=1;Jn0&&(0===O||1!==Dn))return-1;for(vi[1]=0,kt=1;kt<15;kt++)vi[kt+1]=vi[kt]+ei[kt];for(Qt=0;Qt852||2===O&&ci>592)return 1;for(;;){dc=kt-Wi,Kt[Qt]+1=gi?(As=$s[Kt[Qt]-gi],Vs=Ni[Kt[Qt]-gi]):(As=96,Vs=0),pi=1<>Wi)+In]=dc<<24|As<<16|Vs|0}while(0!==In);for(pi=1<>=1;if(0!==pi?(Ai&=pi-1,Ai+=pi):Ai=0,Qt++,0==--ei[kt]){if(kt===Dn)break;kt=xe[K+Kt[Qt]]}if(kt>sn&&(Ai&vr)!==hi){for(0===Wi&&(Wi=sn),jn+=Jn,Wn=kt-Wi,bi=1<852||2===O&&ci>592)return 1;hi=Ai&vr,ft[hi]=sn<<24|Wn<<16|jn-ht|0}}return 0!==Ai&&(ft[jn+Ai]=kt-Wi<<24|64<<16|0),Vt.bits=sn,0};const{Z_FINISH:Hn,Z_BLOCK:Qs,Z_TREES:Vr,Z_OK:nr,Z_STREAM_END:Ls,Z_NEED_DICT:ys,Z_STREAM_ERROR:fi,Z_DATA_ERROR:jr,Z_MEM_ERROR:Xi,Z_BUF_ERROR:ir,Z_DEFLATED:Xs}=Oe,Zr=16180,fo=16190,ns=16191,J=16199,Fe=16200,Un=16209,ds=O=>(O>>>24&255)+(O>>>8&65280)+((65280&O)<<8)+((255&O)<<24);function _r(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ur=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||xe.mode16211?1:0},Ji=O=>{if(ur(O))return fi;const xe=O.state;return O.total_in=O.total_out=xe.total=0,O.msg="",xe.wrap&&(O.adler=1&xe.wrap),xe.mode=Zr,xe.last=0,xe.havedict=0,xe.flags=-1,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new Int32Array(852),xe.distcode=xe.distdyn=new Int32Array(592),xe.sane=1,xe.back=-1,nr},rs=O=>{if(ur(O))return fi;const xe=O.state;return xe.wsize=0,xe.whave=0,xe.wnext=0,Ji(O)},Is=(O,xe)=>{let K;if(ur(O))return fi;const Je=O.state;return xe<0?(K=0,xe=-xe):(K=5+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||xe>15)?fi:(null!==Je.window&&Je.wbits!==xe&&(Je.window=null),Je.wrap=K,Je.wbits=xe,rs(O))},Rr=(O,xe)=>{if(!O)return fi;const K=new _r;O.state=K,K.strm=O,K.window=null,K.mode=Zr;const Je=Is(O,xe);return Je!==nr&&(O.state=null),Je};let xi,Fs,ia=!0;const to=O=>{if(ia){xi=new Int32Array(512),Fs=new Int32Array(32);let xe=0;for(;xe<144;)O.lens[xe++]=8;for(;xe<256;)O.lens[xe++]=9;for(;xe<280;)O.lens[xe++]=7;for(;xe<288;)O.lens[xe++]=8;for(cs(1,O.lens,0,288,xi,0,O.work,{bits:9}),xe=0;xe<32;)O.lens[xe++]=5;cs(2,O.lens,0,32,Fs,0,O.work,{bits:5}),ia=!1}O.lencode=xi,O.lenbits=9,O.distcode=Fs,O.distbits=5},ar=(O,xe,K,Je)=>{let ft;const ht=O.state;return null===ht.window&&(ht.wsize=1<=ht.wsize?(ht.window.set(xe.subarray(K-ht.wsize,K),0),ht.wnext=0,ht.whave=ht.wsize):(ft=ht.wsize-ht.wnext,ft>Je&&(ft=Je),ht.window.set(xe.subarray(K-Je,K-Je+ft),ht.wnext),(Je-=ft)?(ht.window.set(xe.subarray(K-Je,K),0),ht.wnext=Je,ht.whave=ht.wsize):(ht.wnext+=ft,ht.wnext===ht.wsize&&(ht.wnext=0),ht.whaveRr(O,15),inflateInit2:Rr,inflate:(O,xe)=>{let K,Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,ci,Ai,pi,In,hi,vr,jn,Ni,bi=0;const gi=new Uint8Array(4);let ei,vi;const $s=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ur(O)||!O.output||!O.input&&0!==O.avail_in)return fi;K=O.state,K.mode===ns&&(K.mode=16192),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,Jn=Vt,Dn=kn,Ni=nr;e:for(;;)switch(K.mode){case Zr:if(0===K.wrap){K.mode=16192;break}for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0),kt=0,Qt=0,K.mode=16181;break}if(K.head&&(K.head.done=!1),!(1&K.wrap)||(((255&kt)<<8)+(kt>>8))%31){O.msg="incorrect header check",K.mode=Un;break}if((15&kt)!==Xs){O.msg="unknown compression method",K.mode=Un;break}if(kt>>>=4,Qt-=4,jn=8+(15&kt),0===K.wbits&&(K.wbits=jn),jn>15||jn>K.wbits){O.msg="invalid window size",K.mode=Un;break}K.dmax=1<>8&1),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16182;case 16182:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,gi[2]=kt>>>16&255,gi[3]=kt>>>24&255,K.check=tt(K.check,gi,4,0)),kt=0,Qt=0,K.mode=16183;case 16183:for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>8),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16184;case 16184:if(1024&K.flags){for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0}else K.head&&(K.head.extra=null);K.mode=16185;case 16185:if(1024&K.flags&&(sn=K.length,sn>Vt&&(sn=Vt),sn&&(K.head&&(jn=K.head.extra_len-K.length,K.head.extra||(K.head.extra=new Uint8Array(K.head.extra_len)),K.head.extra.set(Je.subarray(ht,ht+sn),jn)),512&K.flags&&4&K.wrap&&(K.check=tt(K.check,Je,sn,ht)),Vt-=sn,ht+=sn,K.length-=sn),K.length))break e;K.length=0,K.mode=16186;case 16186:if(2048&K.flags){if(0===Vt)break e;sn=0;do{jn=Je[ht+sn++],K.head&&jn&&K.length<65536&&(K.head.name+=String.fromCharCode(jn))}while(jn&&sn>9&1,K.head.done=!0),O.adler=K.check=0,K.mode=ns;break;case 16189:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=7&Qt,Qt-=7&Qt,K.mode=16206;break}for(;Qt<3;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=1,Qt-=1,3&kt){case 0:K.mode=16193;break;case 1:if(to(K),K.mode=J,xe===Vr){kt>>>=2,Qt-=2;break e}break;case 2:K.mode=16196;break;case 3:O.msg="invalid block type",K.mode=Un}kt>>>=2,Qt-=2;break;case 16193:for(kt>>>=7&Qt,Qt-=7&Qt;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>16^65535)){O.msg="invalid stored block lengths",K.mode=Un;break}if(K.length=65535&kt,kt=0,Qt=0,K.mode=16194,xe===Vr)break e;case 16194:K.mode=16195;case 16195:if(sn=K.length,sn){if(sn>Vt&&(sn=Vt),sn>kn&&(sn=kn),0===sn)break e;ft.set(Je.subarray(ht,ht+sn),Kt),Vt-=sn,ht+=sn,kn-=sn,Kt+=sn,K.length-=sn;break}K.mode=ns;break;case 16196:for(;Qt<14;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=5,Qt-=5,K.ndist=1+(31&kt),kt>>>=5,Qt-=5,K.ncode=4+(15&kt),kt>>>=4,Qt-=4,K.nlen>286||K.ndist>30){O.msg="too many length or distance symbols",K.mode=Un;break}K.have=0,K.mode=16197;case 16197:for(;K.have>>=3,Qt-=3}for(;K.have<19;)K.lens[$s[K.have++]]=0;if(K.lencode=K.lendyn,K.lenbits=7,ei={bits:K.lenbits},Ni=cs(0,K.lens,0,19,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid code lengths set",K.mode=Un;break}K.have=0,K.mode=16198;case 16198:for(;K.have>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=ci,Qt-=ci,K.lens[K.have++]=pi;else{if(16===pi){for(vi=ci+2;Qt>>=ci,Qt-=ci,0===K.have){O.msg="invalid bit length repeat",K.mode=Un;break}jn=K.lens[K.have-1],sn=3+(3&kt),kt>>>=2,Qt-=2}else if(17===pi){for(vi=ci+3;Qt>>=ci,Qt-=ci,jn=0,sn=3+(7&kt),kt>>>=3,Qt-=3}else{for(vi=ci+7;Qt>>=ci,Qt-=ci,jn=0,sn=11+(127&kt),kt>>>=7,Qt-=7}if(K.have+sn>K.nlen+K.ndist){O.msg="invalid bit length repeat",K.mode=Un;break}for(;sn--;)K.lens[K.have++]=jn}}if(K.mode===Un)break;if(0===K.lens[256]){O.msg="invalid code -- missing end-of-block",K.mode=Un;break}if(K.lenbits=9,ei={bits:K.lenbits},Ni=cs(1,K.lens,0,K.nlen,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid literal/lengths set",K.mode=Un;break}if(K.distbits=6,K.distcode=K.distdyn,ei={bits:K.distbits},Ni=cs(2,K.lens,K.nlen,K.ndist,K.distcode,0,K.work,ei),K.distbits=ei.bits,Ni){O.msg="invalid distances set",K.mode=Un;break}if(K.mode=J,xe===Vr)break e;case J:K.mode=Fe;case Fe:if(Vt>=6&&kn>=258){O.next_out=Kt,O.avail_out=kn,O.next_in=ht,O.avail_in=Vt,K.hold=kt,K.bits=Qt,Sn(O,Dn),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,K.mode===ns&&(K.back=-1);break}for(K.back=0;bi=K.lencode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,K.length=pi,0===Ai){K.mode=16205;break}if(32&Ai){K.back=-1,K.mode=ns;break}if(64&Ai){O.msg="invalid literal/length code",K.mode=Un;break}K.extra=15&Ai,K.mode=16201;case 16201:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}K.was=K.length,K.mode=16202;case 16202:for(;bi=K.distcode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,64&Ai){O.msg="invalid distance code",K.mode=Un;break}K.offset=pi,K.extra=15&Ai,K.mode=16203;case 16203:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}if(K.offset>K.dmax){O.msg="invalid distance too far back",K.mode=Un;break}K.mode=16204;case 16204:if(0===kn)break e;if(sn=Dn-kn,K.offset>sn){if(sn=K.offset-sn,sn>K.whave&&K.sane){O.msg="invalid distance too far back",K.mode=Un;break}sn>K.wnext?(sn-=K.wnext,Wn=K.wsize-sn):Wn=K.wnext-sn,sn>K.length&&(sn=K.length),Wi=K.window}else Wi=ft,Wn=Kt-K.offset,sn=K.length;sn>kn&&(sn=kn),kn-=sn,K.length-=sn;do{ft[Kt++]=Wi[Wn++]}while(--sn);0===K.length&&(K.mode=Fe);break;case 16205:if(0===kn)break e;ft[Kt++]=K.length,kn--,K.mode=Fe;break;case 16206:if(K.wrap){for(;Qt<32;){if(0===Vt)break e;Vt--,kt|=Je[ht++]<{if(ur(O))return fi;let xe=O.state;return xe.window&&(xe.window=null),O.state=null,nr},inflateGetHeader:(O,xe)=>{if(ur(O))return fi;const K=O.state;return 2&K.wrap?(K.head=xe,xe.done=!1,nr):fi},inflateSetDictionary:(O,xe)=>{const K=xe.length;let Je,ft,ht;return ur(O)||(Je=O.state,0!==Je.wrap&&Je.mode!==fo)?fi:Je.mode===fo&&(ft=1,ft=De(ft,xe,K,0),ft!==Je.check)?jr:(ht=ar(O,xe,K,K),ht?(Je.mode=16210,Xi):(Je.havedict=1,nr))},inflateInfo:"pako inflate (from Nodeca project)"},zn=function _o(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const Po=Object.prototype.toString,{Z_NO_FLUSH:ll,Z_FINISH:ca,Z_OK:io,Z_STREAM_END:No,Z_NEED_DICT:vo,Z_STREAM_ERROR:Ts,Z_DATA_ERROR:Fo,Z_MEM_ERROR:cl}=Oe;function Bs(O){this.options=bn.assign({chunkSize:65536,windowBits:15,to:""},O||{});const xe=this.options;xe.raw&&xe.windowBits>=0&&xe.windowBits<16&&(xe.windowBits=-xe.windowBits,0===xe.windowBits&&(xe.windowBits=-15)),xe.windowBits>=0&&xe.windowBits<16&&!(O&&O.windowBits)&&(xe.windowBits+=32),xe.windowBits>15&&xe.windowBits<48&&(15&xe.windowBits||(xe.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=Or.inflateInit2(this.strm,xe.windowBits);if(K!==io)throw new Error(ut[K]);if(this.header=new zn,Or.inflateGetHeader(this.strm,this.header),xe.dictionary&&("string"==typeof xe.dictionary?xe.dictionary=Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===Po.call(xe.dictionary)&&(xe.dictionary=new Uint8Array(xe.dictionary)),xe.raw&&(K=Or.inflateSetDictionary(this.strm,xe.dictionary),K!==io)))throw new Error(ut[K])}function ro(O,xe){const K=new Bs(xe);if(K.push(O),K.err)throw K.msg||ut[K.err];return K.result}Bs.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize,ft=this.options.dictionary;let ht,Kt,Vt;if(this.ended)return!1;for(Kt=xe===~~xe?xe:!0===xe?ca:ll,K.input="[object ArrayBuffer]"===Po.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;){for(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),ht=Or.inflate(K,Kt),ht===vo&&ft&&(ht=Or.inflateSetDictionary(K,ft),ht===io?ht=Or.inflate(K,Kt):ht===Fo&&(ht=vo));K.avail_in>0&&ht===No&&K.state.wrap>0&&0!==O[K.next_in];)Or.inflateReset(K),ht=Or.inflate(K,Kt);switch(ht){case Ts:case Fo:case vo:case cl:return this.onEnd(ht),this.ended=!0,!1}if(Vt=K.avail_out,K.next_out&&(0===K.avail_out||ht===No))if("string"===this.options.to){let kn=Kn.utf8border(K.output,K.next_out),kt=K.next_out-kn,Qt=Kn.buf2string(K.output,kn);K.next_out=kt,K.avail_out=Je-kt,kt&&K.output.set(K.output.subarray(kn,kn+kt),0),this.onData(Qt)}else this.onData(K.output.length===K.next_out?K.output:K.output.subarray(0,K.next_out));if(ht!==io||0!==Vt){if(ht===No)return ht=Or.inflateEnd(this.strm),this.onEnd(ht),this.ended=!0,!0;if(0===K.avail_in)break}}return!0},Bs.prototype.onData=function(O){this.chunks.push(O)},Bs.prototype.onEnd=function(O){O===io&&(this.result="string"===this.options.to?this.chunks.join(""):bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var bo={Inflate:Bs,inflate:ro,inflateRaw:function ul(O,xe){return(xe=xe||{}).raw=!0,ro(O,xe)},ungzip:ro,constants:Oe};const{Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo}=je,{Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G}=bo;var se=so,Q=ss,re=Uo,be=Bo,We=dl,pt=uc,Zt=ha,Wt=G,Mn=Oe,ni={Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo,Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G,constants:Oe}},5861:(Me,ie,_)=>{"use strict";function n(D,y,u,v,s,m,h){try{var o=D[m](h),l=o.value}catch(r){return void u(r)}o.done?y(l):Promise.resolve(l).then(v,s)}function f(D){return function(){var y=this,u=arguments;return new Promise(function(v,s){var m=D.apply(y,u);function h(l){n(m,v,s,h,o,"next",l)}function o(l){n(m,v,s,h,o,"throw",l)}h(void 0)})}}_.d(ie,{Z:()=>f})},8210:Me=>{"use strict";Me.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((106).CFU)/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[false,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"((cm\xa0HO2)/L)/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"((cm\xa0HO2)/s)/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[false,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[false,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[false,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[false,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[false,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[false,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[false,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[false,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[false,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[false,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[false,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[false,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[false,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[false,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[false,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[false,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[false,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[false,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[false,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[false,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[false,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[false,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[false,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[false,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[false,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[false,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[false,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[false,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[false,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[false,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[false,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[false,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[false,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')},82:Me=>{"use strict";Me.exports=JSON.parse('{"name":"fhirpath","version":"3.9.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"node --use_strict node_modules/.bin/jest && TZ=America/New_York node --use_strict node_modules/.bin/jest && TZ=Europe/Paris node --use_strict node_modules/.bin/jest","test:unit:debug":"echo \'open chrome chrome://inspect/\' && node --inspect node_modules/.bin/jest --runInBand","build:demo":"npm run build && cd demo && npm run build","test:e2e":"npm run build:demo && cypress run","test":"npm run lint && npm run test:unit && npm run test:e2e && echo \\"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\\"","lint":"eslint src/parser/index.js src/*.js converter/","compare-performance":"node ./test/benchmark.js"},"bin":{"fhirpath":"bin/fhirpath"},"repository":"github:HL7/fhirpath.js","license":"MIT"}')},4147:Me=>{"use strict";Me.exports=JSON.parse('{"name":"matchbox","version":"3.5.3","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production","build-matchbox":"ng build --configuration production --output-path ../matchbox-server/src/main/resources/static","test":"ng test","test-ci":"ng test --no-watch --no-progress --browsers=ChromeHeadlessNoSandbox --code-coverage","lint":"ng lint","e2e":"ng e2e"},"private":true,"dependencies":{"@angular-devkit/build-angular":"^17.0.9","@angular/animations":"^17.0.8","@angular/cdk":"^17.0.4","@angular/common":"^17.0.8","@angular/core":"^17.0.8","@angular/forms":"^17.0.8","@angular/material":"^17.0.4","@angular/platform-browser":"^17.0.8","@angular/platform-browser-dynamic":"^17.0.8","@angular/router":"^17.0.8","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.3","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.9.0","highlightjs-line-numbers.js":"^2.8.0","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","ngx-mat-select-search":"^7.0.5","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","zone.js":"^0.14.0"},"devDependencies":{"@angular-eslint/builder":"^17.1.1","@angular-eslint/eslint-plugin":"^17.1.1","@angular-eslint/eslint-plugin-template":"^17.1.1","@angular-eslint/schematics":"^17.1.1","@angular-eslint/template-parser":"^17.1.1","@angular/cli":"^17.0.9","@angular/compiler":"^17.0.8","@angular/compiler-cli":"^17.0.8","@angular/language-service":"^17.0.8","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.10.6","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^6.17.0","@typescript-eslint/parser":"^6.17.0","eslint":"^8.56.0","husky":"^8.0.3","jasmine":"^5.1.0","jasmine-core":"^5.1.1","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.3.1","karma-chrome-launcher":"^3.2.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.1.0","prettier":"^3.1.1","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.2","tslint":"~6.1.0","typescript":"^5.2.2"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Me=>{Me(Me.s=4913)}]); \ No newline at end of file +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Ucum=void 0,ie.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' ',closeEmphHTML_:" ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Me,ie,_)=>{"use strict";ie.R=void 0;var f=_(9473),D=_(4864);class y{constructor(v){if(0===f.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==v)this.assignZero();else if(v instanceof Array){if(v.length!==f.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(v)}`);this.dimVec_=[];for(let s=0;s=f.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[v]=1}}setElementAt(v,s){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${v})`);this.dimVec_||this.assignZero(),null==s&&(s=1),this.dimVec_[v]=s}getElementAt(v){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${v})`);let s=null;return this.dimVec_&&(s=this.dimVec_[v]),s}getProperty(v){return this["_"===v.charAt(v.length-1)?v:v+"_"]}toString(){let v=null;return this.dimVec_&&(v="["+this.dimVec_.join(", ")+"]"),v}add(v){if(!v instanceof y)throw new Error(`Dimension.add called with an invalid parameter - ${typeof v} instead of a Dimension object`);if(this.dimVec_&&v.dimVec_)for(let s=0;s{"use strict";ie.DP=function m(h){const o=h&&h.config;if(o){if(o.length&&h.data){const l=y(o);return h.data.map(v.bind(null,l))}return h.data}return h};function y(h){return h.map(o=>Array.isArray(o)?o:[o])}function v(h,o){let l={};return h.forEach((r,c)=>{let d=l;for(let g=0;g{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Prefix=void 0,_(9473),ie.Prefix=class f{constructor(y){if(null==y.code_||null==y.name_||null==y.value_||void 0===y.exp_)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=y.code_,this.ciCode_=y.ciCode_,this.name_=y.name_,this.printSymbol_=y.printSymbol_,this.value_="string"==typeof y.value_?parseFloat(y.value_):y.value_,this.exp_=y.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(y){return this.code_===y.code_&&this.ciCode_===y.ciCode_&&this.name_===y.name_&&this.printSymbol_===y.printSymbol_&&this.value_===y.value_&&this.exp_===y.exp_}}},8902:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.PrefixTables=ie.PrefixTablesFactory=void 0;class _{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let y="",u=Object.keys(this.byValue_),v=u.length;for(let s=0;s{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=void 0;var n=new class _{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.degf={cnvTo:function(D){return D-459.67},cnvFrom:function(D){return D+459.67}},this.funcs.degre={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.ph={cnvTo:function(D){return-Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.ln={cnvTo:function(D){return Math.log(D)},cnvFrom:function(D){return Math.exp(D)}},this.funcs["2ln"]={cnvTo:function(D){return 2*Math.log(D)},cnvFrom:function(D){return Math.exp(D/2)}},this.funcs.lg={cnvTo:function(D){return Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D)}},this.funcs["10lg"]={cnvTo:function(D){return 10*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/10)}},this.funcs["20lg"]={cnvTo:function(D){return 20*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/20)}},this.funcs["2lg"]={cnvTo:function(D){return 2*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(D){return Math.log(D)/Math.LN2},cnvFrom:function(D){return Math.pow(2,D)}},this.funcs["100tan"]={cnvTo:function(D){return 100*Math.tan(D)},cnvFrom:function(D){return Math.atan(D/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(D){return Math.sqrt(D)},cnvFrom:function(D){return D*D}},this.funcs.inv={cnvTo:function(D){return 1/D},cnvFrom:function(D){return 1/D}},this.funcs.hpX={cnvTo:function(D){return-this.funcs.lg(D)},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.hpC={cnvTo:function(D){return-this.func.ln(D)/this.funcs.ln(100)},cnvFrom:function(D){return Math.pow(100,-D)}},this.funcs.hpM={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(1e3)},cnvFrom:function(D){return Math.pow(1e3,-D)}},this.funcs.hpQ={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(5e4)},cnvFrom:function(D){return Math.pow(5e4,-D)}}}forName(D){D=D.toLowerCase();let y=this.funcs[D];if(null===y)throw new Error(`Requested function ${D} is not defined`);return y}isDefined(D){return D=D.toLowerCase(),null!==this.funcs[D]}};ie.default=n},6361:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.isNumericString=function f(u){let v=""+u;return!isNaN(v)&&!isNaN(parseFloat(v))},ie.isIntegerUnit=function D(u){return/^\d+$/.test(u)},ie.getSynonyms=function y(u){let v={},m={};if(m=n.getInstance().getUnitBySynonym(u),m.units){v.status="succeeded";let h=m.units.length;v.units=[];for(let o=0;o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ucumJsonDefs=ie.UcumJsonDefs=void 0;var n=_(3407),f=_(8902),D=_(5744),y=_(7894),u=_(5601).DP;class v{loadJsonDefs(){const h=_(8210);if(h.prefixes=u(h.prefixes),h.units=u(h.units),0===y.UnitTables.getInstance().unitsCount()){let o=f.PrefixTables.getInstance(),l=h.prefixes,r=l.length;for(let b=0;b{"use strict";ie.n=void 0;var f=_(8929),D=function u(o){if(o&&o.__esModule)return o;if(null===o||"object"!=typeof o&&"function"!=typeof o)return{default:o};var l=y();if(l&&l.has(o))return l.get(o);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(Object.prototype.hasOwnProperty.call(o,d)){var g=c?Object.getOwnPropertyDescriptor(o,d):null;g&&(g.get||g.set)?Object.defineProperty(r,d,g):r[d]=o[d]}return r.default=o,l&&l.set(o,r),r}(_(6361));function y(){if("function"!=typeof WeakMap)return null;var o=new WeakMap;return y=function(){return o},o}var v=_(9473).Ucum,s=_(7894).UnitTables,m=_(4206).T;class h{constructor(){0===s.getInstance().unitsCount()&&f.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=m.getInstance()}useHTMLInMessages(l){void 0===l&&(l=!0),this.uStrParser_.useHTMLInMessages(l)}useBraceMsgForEachString(l){void 0===l&&(l=!0),this.uStrParser_.useBraceMsgForEachString(l)}validateUnitString(l,r,c){void 0===r&&(r=!1),void 0===c&&(c="validate");let d=this.getSpecifiedUnit(l,c,r),g=d.unit,b={};return b=g?{status:d.origString===l?"valid":"invalid",ucumCode:d.origString,unit:{code:g.csCode_,name:g.name_,guidance:g.guidance_}}:{status:d.origString&&null!==d.origString?"invalid":"error",ucumCode:null},d.suggestions&&(b.suggestions=d.suggestions),b.msg=d.retMsg,b}convertUnitTo(l,r,c,d,g){void 0===d&&(d=!1),void 0===g&&(g=null);let b={status:"failed",toVal:null,msg:[]};if(l&&(l=l.trim()),(!l||""==l)&&(b.status="error",b.msg.push('No "from" unit expression specified.')),(null===r||isNaN(r)||"number"!=typeof r&&!D.isNumericString(r))&&(b.status="error",b.msg.push('No "from" value, or an invalid "from" value, was specified.')),c&&(c=c.trim()),(!c||""==c)&&(b.status="error",b.msg.push('No "to" unit expression specified.')),"error"!==b.status)try{let C=null,x=this.getSpecifiedUnit(l,"convert",d);C=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions={},b.suggestions.from=x.suggestions),C||b.msg.push(`Unable to find a unit for ${l}, so no conversion could be performed.`);let w=null;if(x=this.getSpecifiedUnit(c,"convert",d),w=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions||(b.suggestions={}),b.suggestions.to=x.suggestions),w||b.msg.push(`Unable to find a unit for ${c}, so no conversion could be performed.`),C&&w)try{if(g){if(0!==C.moleExp_&&0!==w.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===C.moleExp_&&0===w.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!C.isMoleMassCommensurable(w))throw new Error(`Sorry. ${l} cannot be converted to ${c}.`);b.toVal=0!==C.moleExp_?C.convertMolToMass(r,w,g):C.convertMassToMol(r,w,g)}else b.toVal=w.convertFrom(r,C);b.status="succeeded",b.fromUnit=C,b.toUnit=w}catch(T){b.status="failed",b.msg.push(T.message)}}catch(C){b.status=C.message==v.needMoleWeightMsg_?"failed":"error",b.msg.push(C.message)}return b}convertToBaseUnits(l,r){let c=this.getSpecifiedUnit(l,"validate"),d={},g=c.unit;if(d.msg=c.retMsg||[],g){if(g.isArbitrary_)d.msg.push("Arbitrary units cannot be converted to base units or other units.");else if(0==d.msg.length){let b={},C=g.dim_?.dimVec_,x="1";if(C){let S=s.getInstance().dimVecIndexToBaseUnit_;for(let M=0,k=C.length;M0&&(r=d.retMsg),g){let b=null,C=g.getProperty("dim_");if(C){try{b=C.getProperty("dimVec_")}catch(x){r.push(x.message),"Dimension does not have requested property(dimVec_)"===x.message&&(b=null)}b&&(c=s.getInstance().getUnitsByDimension(b))}else r.push("No commensurable units were found for "+l)}else r.push(`Could not find unit ${l}.`);return[c,r]}}ie.n=h,h.getInstance=function(){return new h}},2207:(Me,ie,_)=>{"use strict";ie.ng=void 0,_(9473);var D=_(9741).n;ie.ng=D,_(7894)},5744:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Unit=void 0;var n=function u(l){return l&&l.__esModule?l:{default:l}}(_(5568)),f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}var m,v=_(9473).Ucum,s=_(1995).R,h=_(4864);class o{constructor(r={}){this.isBase_=r.isBase_||!1,this.name_=r.name_||"",this.csCode_=r.csCode_||"",this.ciCode_=r.ciCode_||"",this.property_=r.property_||"",this.magnitude_=r.magnitude_||1,this.dim_=null==r.dim_?new s:void 0!==r.dim_.dimVec_?new s(r.dim_.dimVec_):r.dim_ instanceof s?r.dim_:r.dim_ instanceof Array||h(r.dim_)?new s(r.dim_):new s,this.printSymbol_=r.printSymbol_||null,this.class_=r.class_||null,this.isMetric_=r.isMetric_||!1,this.variable_=r.variable_||null,this.cnv_=r.cnv_||null,this.cnvPfx_=r.cnvPfx_||1,this.isSpecial_=r.isSpecial_||!1,this.isArbitrary_=r.isArbitrary_||!1,this.moleExp_=r.moleExp_||0,this.synonyms_=r.synonyms_||null,this.source_=r.source_||null,this.loincProperty_=r.loincProperty_||null,this.category_=r.category_||null,this.guidance_=r.guidance_||null,this.csUnitString_=r.csUnitString_||null,this.ciUnitString_=r.ciUnitString_||null,this.baseFactorStr_=r.baseFactorStr_||null,this.baseFactor_=r.baseFactor_||null,this.defError_=r.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new s),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(r){for(let c in r){let d="_"===!c.charAt(c.length-1)?c+"_":c;if(!this.hasOwnProperty(d))throw new Error(`Parameter error; ${c} is not a property of a Unit`);this[d]=r[c]}}clone(){let r=new o;return Object.getOwnPropertyNames(this).forEach(c=>{"dim_"===c?r.dim_=this.dim_?this.dim_.clone():null:r[c]=this[c]}),r}assign(r){Object.getOwnPropertyNames(r).forEach(c=>{"dim_"===c?this.dim_=r.dim_?r.dim_.clone():null:this[c]=r[c]})}equals(r){return this.magnitude_===r.magnitude_&&this.cnv_===r.cnv_&&this.cnvPfx_===r.cnvPfx_&&(null===this.dim_&&null===r.dim_||this.dim_.equals(r.dim_))}fullEquals(r){let c=Object.keys(this).sort(),d=Object.keys(r).sort(),g=c.length,b=g===d.length;for(let C=0;C0){let c=r.replace("/","!").replace(".","/").replace("!",".");switch(c.charAt(0)){case".":r=c.substr(1);break;case"/":r=c;break;default:r="/"+c}}return r}_concatStrs(r,c,d,g,b){return this._buildOneString(r,g,b)+c+this._buildOneString(d,g,b)}_buildOneString(r,c,d){let g="";return g=f.isNumericString(r)||"("===r.charAt(0)&&r.endsWith(")")||"["===r.charAt(0)&&r.endsWith("]")?r:/[./* ]/.test(r)?c+r+d:r,g}power(r){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let d=this.csCode_.match(/([./]|[^./]+)/g),g=d.length;for(let b=0;b=0;T--){let S=parseInt(C[T]);if(!h(S)){if(("-"===C[T]||"+"===C[T])&&T--,T{"use strict";ie.T=void 0;var f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}function u(l,r,c){return r in l?Object.defineProperty(l,r,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[r]=c,l}var v=_(9473).Ucum,s=_(5744).Unit,m=_(7894).UnitTables,h=_(8902).PrefixTables;class o{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=h.getInstance(),this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(r){void 0===r||r?(this.openEmph_=v.openEmphHTML_,this.closeEmph_=v.closeEmphHTML_):(this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?v.bracesMsg_:""}parseString(r,c,d){if(""===(r=r.trim())||null===r)throw new Error("Please specify a unit expression to be validated.");"validate"===c?(this.vcMsgStart_=v.valMsgStart_,this.vcMsgEnd_=v.valMsgEnd_):(this.vcMsgStart_=v.cnvMsgStart_,this.vcMsgEnd_=v.cnvMsgEnd_),this.suggestions_=void 0===d||!1===d?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let g=r,b=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)b[0]=null,b[1]=null;else{let x=null;for(x in v.specUnits_)for(;-1!==r.indexOf(x);)r=r.replace(x,v.specUnits_[x]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");b=this._parseTheString(r,g);let w=b[0];(f.isIntegerUnit(w)||"number"==typeof w)&&(w=new s({csCode_:g,ciCode_:g,magnitude_:w,name_:g}),b[0]=w)}return b[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(b[3]=this.suggestions_),b}_parseTheString(r,c){let d=null,g=this.retMsg_.length>0,b=this._processParens(r,c);g=b[2];let C=[];if(!g){let x=this._makeUnitsArray(r=b[0],c=b[1]);if(g=x[2],!g){C=x[0],c=x[1];let w=C.length;for(let T=0;T=0){let M=this._getParensUnit(S,c);g||(g=M[1]),g||(C[T].un=M[0])}else{let M=this._makeUnit(S,c);null===M[0]?g=!0:(C[T].un=M[0],c=M[1])}}}}return g||(null===C[0]||" "===C[0]||null==C[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${c}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),g=!0),g||(d=this._performUnitArithmetic(C,c)),[d,c]}_getAnnotations(r){let c=r.indexOf("{");for(;c>=0;){let d=r.indexOf("}");if(d<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+r.substr(c)+this.closeEmph_),c=-1;else{let g=r.substring(c,d+1);if(o.VALID_ANNOTATION_REGEX.test(g)){let b=this.annotations_.length.toString();r=r.replace(g,this.braceFlag_+b+this.braceFlag_),this.annotations_.push(g),c=r.indexOf("{")}else this.retMsg_.push(o.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+g+this.closeEmph_),c=-1}}if(0==this.retMsg_.length){let d=r.indexOf("}");d>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+r.substring(0,d+1)+this.closeEmph_)}return r}_processParens(r,c){let d=[],g=0,b=!1,C=this.parensUnits_.length,x=0;for(;""!==r&&!b;){let w=0,T=0,S=r.indexOf("(");if(S<0){let M=r.indexOf(")");if(M>=0){let k=`Missing open parenthesis for close parenthesis at ${r.substring(0,M+x)}${this.openEmph_}${r.substr(M,1)}${this.closeEmph_}`;M0&&(d[g++]=r.substr(0,S));let k=0,I=S+1;for(;I0&&(T=r.substr(0,w-1));let S=r.lastIndexOf(this.parensFlag_),M=null;S+this.pFlagLen_=0){let I=this._getAnnoText(T,c);if(I[1]||I[2])throw new Error(`Text found before the parentheses (${T}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);this.retMsg_.push(`The annotation ${I[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=I[0])+this.vcMsgEnd_)}else this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`${T} preceding the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);if(M)if(M.indexOf(this.braceFlag_)>=0){let I=this._getAnnoText(M,c);if(I[1]||I[2])throw new Error(`Text found after the parentheses (${M}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);r+=I[0]}else f.isNumericString(M)?(r+=M,b=b.power(Number(M)),this.retMsg_.push(`An exponent (${M}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+r+this.vcMsgEnd_)):this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`Text ${M} following the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);return d||(b?f.isIntegerUnit(b)?b=new s({csCode_:b,magnitude_:b,name_:b}):b.csCode_=r:b=new s({csCode_:r,magnitude_:1,name_:r})),[b,d]}_getAnnoText(r,c){let d=r.indexOf(this.braceFlag_),g=d>0?r.substring(0,d):null;0!==d&&(r=r.substr(d));let b=r.indexOf(this.braceFlag_,1),C=b+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${x} found in ${r} that was created from ${c}`);return[r=this.annotations_[w],g,C]}_getSuggestions(r){let c=f.getSynonyms(r);if("succeeded"===c.status){let d={};d.msg=`${r} is not a valid UCUM code. We found possible units that might be what was meant:`,d.invalidUnit=r;let g=c.units.length;d.units=[];for(let b=0;b=0){let g=this._getUnitWithAnnotation(r,c);d=g[0],d&&(c=g[1])}else{if(r.indexOf("^")>-1){let g=r.replace("^","*");d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),d.csCode_=d.csCode_.replace("*","^"),d.ciCode_=d.ciCode_.replace("*","^"))}if(!d){let g="["+r+"]";d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),c=c.replace(r,g),this.retMsg_.push(`${r} is not a valid unit expression, but ${g} is.\n`+this.vcMsgStart_+`${g} (${d.name_})${this.vcMsgEnd_}`))}if(!d){let g=this.utabs_.getUnitByName(r);if(g&&g.length>0){d=g[0].clone();let b="The UCUM code for "+r+" is "+d.csCode_+".\n"+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_,C=!1;for(let T=0;T"+R+"",csCode_:F+R,ciCode_:A+R,printSymbol_:L+""+R+""})}}else d=null,this.suggestions_?this._getSuggestions(g):this.retMsg_.push(`${g} is not a valid UCUM code.`)}}return[d,c]}_getUnitWithAnnotation(r,c){let d=null,g=this._getAnnoText(r,c),b=g[0],C=g[1],x=g[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(C||x)if(C&&!x)if(f.isIntegerUnit(C))d=C;else{let T=this._makeUnit(C,c);T[0]?(d=T[0],d.csCode_+=b,c=T[1]):this.retMsg_.push(`Unable to find a unit for ${C} that precedes the annotation ${b}.`)}else if(!C&&x)if(f.isIntegerUnit(x))d=x+b,this.retMsg_.push(`The annotation ${b} before the ``${x} is invalid.\n`+this.vcMsgStart_+d+this.vcMsgEnd_);else{let T=this._makeUnit(x,c);T[0]?(d=T[0],d.csCode_+=b,c=d.csCode_,this.retMsg_.push(`The annotation ${b} before the unit code is invalid.\n`+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${C} that follows the annotation ${b}.`)}else this.retMsg_.push(`Unable to find a unit for ${C}${b}${x}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let T="["+b.substring(1,b.length-1)+"]",S=this._makeUnit(T,c);S[0]?(d=S[0],c=c.replace(b,T),this.retMsg_.push(`${b} is not a valid unit expression, but ${T} is.\n`+this.vcMsgStart_+`${T} (${d.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>w&&this.retMsg_.pop(),r=1,d=1)}return[d,c]}_performUnitArithmetic(r,c){let d=r[0].un;f.isIntegerUnit(d)&&(d=new s({csCode_:d,ciCode_:d,magnitude_:Number(d),name_:d}));let g=r.length,b=!1;for(let C=1;C{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.UnitTables=void 0;var n=_(9473).Ucum,D=new class f{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(v){v.name_&&this.addUnitName(v),this.addUnitCode(v),this.addUnitString(v);try{v.dim_.getProperty("dimVec_")&&this.addUnitDimension(v)}catch{}if(v.isBase_){const m=v.dim_.dimVec_;let h;for(let o=0,l=m.length;null==h&&o=1&&(m=v.substr(s+n.codeSep_.length),v=v.substr(0,s));let h=this.unitNames_[v];if(h){let o=h.length;if(m&&o>1){let l=0;for(;h[l].csCode_!==m&&l0&&(m+=s),"dim_"===v[b])m+=null!=g.dim_&&g.dim_.dimVec_ instanceof Array?"["+g.dim_.dimVec_.join(",")+"]":"";else{let C=g[v[b]];m+="string"==typeof C?C.replace(/[\n\r]/g," "):C}m+="\r\n"}}return m}printUnits(v,s){void 0===v&&(v=!1),void 0===s&&(s="|");let m="",h=this.codeOrder_.length,o="csCode"+s;v&&(o+="ciCode"+s),o+="name"+s,v&&(o+="isBase"+s),o+="magnitude"+s+"dimension"+s+"from unit(s)"+s+"value"+s+"function"+s,v&&(o+="property"+s+"printSymbol"+s+"synonyms"+s+"source"+s+"class"+s+"isMetric"+s+"variable"+s+"isSpecial"+s+"isAbitrary"+s),o+="comment",m=o+"\n";for(let l=0;l{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppComponent=void 0;const n=_(655),y=(_(7088),_(9515),n.__importDefault(_(4147))),u=n.__importStar(_(9212)),v=n.__importStar(_(9515)),s=n.__importStar(_(7088)),m=n.__importStar(_(617)),h=n.__importStar(_(5187));ie.AppComponent=(()=>{class l{constructor(c,d){this.version=y.default.version,c.setDefaultLang("de"),c.use(c.getBrowserLang());let g=location.origin;if("http://localhost:4200"===g)console.log("note: using local dev mag system for"+location.origin),d.changeFhirMicroService("http://localhost:8080/matchboxv3/fhir");else{let b=g+location.pathname+"fhir";d.changeFhirMicroService(b),console.log("fhir endpoint "+b)}}static#e=this.\u0275fac=function(d){return new(d||l)(u.\u0275\u0275directiveInject(v.TranslateService),u.\u0275\u0275directiveInject(s.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:l,selectors:[["app-root"]],decls:43,vars:1,consts:[["routerLink","/",1,"logo-container"],["alt","Matchbox logo","height","40","src","assets/matchbox_logo_color.png","width","95"],[1,"version"],["routerLink","/"],["routerLink","/CapabilityStatement"],["routerLink","/igs"],["routerLink","/mappinglanguage"],["routerLink","/transform"],["routerLink","/validate"],["routerLink","/settings"],[1,"mat-typography"]],template:function(d,g){1&d&&(u.\u0275\u0275elementStart(0,"header")(1,"div",0),u.\u0275\u0275element(2,"img",1),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"nav")(6,"div",3)(7,"mat-icon"),u.\u0275\u0275text(8,"home"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"span"),u.\u0275\u0275text(10,"Home"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(11,"div",4)(12,"mat-icon"),u.\u0275\u0275text(13,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(14,"span"),u.\u0275\u0275text(15,"CapabilityStatement"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(16,"div",5)(17,"mat-icon"),u.\u0275\u0275text(18,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(19,"span"),u.\u0275\u0275text(20,"IGs"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(21,"div",6)(22,"mat-icon"),u.\u0275\u0275text(23,"search"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"span"),u.\u0275\u0275text(25,"FHIR Mapping"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(26,"div",7)(27,"mat-icon"),u.\u0275\u0275text(28,"transform"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(29,"span"),u.\u0275\u0275text(30,"Transform"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(31,"div",8)(32,"mat-icon"),u.\u0275\u0275text(33,"rule"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(34,"span"),u.\u0275\u0275text(35,"Validate"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(36,"div",9)(37,"mat-icon"),u.\u0275\u0275text(38,"settings"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(39,"span"),u.\u0275\u0275text(40,"Settings"),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275elementStart(41,"main",10),u.\u0275\u0275element(42,"router-outlet"),u.\u0275\u0275elementEnd()),2&d&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate1("v",g.version,""))},dependencies:[m.MatIcon,h.RouterOutlet,h.RouterLink],styles:[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{padding-left:0}mat-toolbar[_ngcontent-%COMP%] .home-link[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;height:100%;width:160px;justify-content:center;align-items:center}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:calc(100% - 1.2em)}header[_ngcontent-%COMP%]{background:#97d6ba;display:flex;flex-wrap:wrap;flex:0 1 auto;padding:10px 2em;justify-content:space-between}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:inline-block}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{color:#2e7d73;font-size:.9em;display:inline-block;margin:4px 0 0 10px;vertical-align:top}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{display:flex;margin-top:10px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block;margin:0 1rem;cursor:pointer;color:#3d5c73}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#d2eade}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media (max-width: 1140px){header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 7px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:18px;width:18px;height:18px}}"]})}return l})()},8629:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppModule=ie.createTranslateLoader=void 0;const n=_(655),f=_(9862),D=_(5187),y=_(9515),u=_(5061),v=_(6401),s=_(6938),m=_(6459),h=_(5389),o=_(3835),l=_(6208),r=_(1037),c=_(9949),d=_(7154),g=_(9936),b=_(4751),C=_(3427),x=n.__importStar(_(9212)),M=(n.__importStar(_(5187)),n.__importStar(_(9515)),n.__importStar(_(4751)),[{path:"",component:m.HomeComponent},{path:"mappinglanguage",component:h.MappingLanguageComponent},{path:"CapabilityStatement",component:s.CapabilityStatementComponent},{path:"igs",component:r.IgsComponent},{path:"settings",component:o.SettingsComponent},{path:"transform",component:d.TransformComponent},{path:"validate",component:g.ValidateComponent}]);function k(P){return new u.TranslateHttpLoader(P,"./assets/i18n/",".json")}ie.createTranslateLoader=k,ie.AppModule=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=x.\u0275\u0275defineNgModule({type:P,bootstrap:[v.AppComponent]});static#n=this.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:c.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(_(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(_(1035))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(_(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(_(5149)))}}}],imports:[l.SharedModule,f.HttpClientModule,c.HighlightModule,D.RouterModule.forRoot(M,{useHash:!0}),y.TranslateModule.forRoot({loader:{provide:y.TranslateLoader,useFactory:k,deps:[f.HttpClient]}}),b.OAuthModule.forRoot(),C.NgxMatSelectSearchModule]})}return P})()},6938:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.CapabilityStatementComponent=void 0;const n=_(655),D=(_(7088),n.__importDefault(_(5101)));_(2919),_(9811);const y=_(6504),u=n.__importStar(_(9212)),v=n.__importStar(_(7088)),s=n.__importStar(_(6814)),m=n.__importStar(_(5940)),h=n.__importStar(_(5135));function o(d,g){1&d&&u.\u0275\u0275element(0,"mat-spinner")}function l(d,g){if(1&d&&u.\u0275\u0275element(0,"app-operation-result",4),2&d){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("operationResult",b.operationResult)}}ie.CapabilityStatementComponent=(()=>{class d{constructor(b){this.data=b,this.capabilityStatement=null,this.operationResult=null,this.loading=!0,this.client=b.getFhirClient()}ngAfterViewInit(){this.client.capabilityStatement().then(b=>{this.loading=!1,this.operationResult=null,this.editor=D.default.edit("code"),this.editor.setReadOnly(!0),this.editor.setValue(JSON.stringify(b,null,4),-1),this.editor.getSession().setMode("ace/mode/json"),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({maxLines:1e4,tabSize:4,wrap:!0,useWorker:!1}),this.editor.resize(!0)}).catch(b=>{console.error(b),this.loading=!1,this.capabilityStatement=null,this.editor&&(this.editor.destroy(),this.editor.container.remove()),this.editor=null,this.operationResult=b.response?.data?y.OperationResult.fromOperationOutcome(b.response.data):y.OperationResult.fromMatchboxError(b.message)})}static#e=this.\u0275fac=function(C){return new(C||d)(u.\u0275\u0275directiveInject(v.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:d,selectors:[["app-capability-statement"]],decls:10,vars:3,consts:[["id","capability-statement",1,"white-block"],[4,"ngIf"],["id","code"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(C,x){1&C&&(u.\u0275\u0275elementStart(0,"div",0)(1,"h2"),u.\u0275\u0275text(2,"CapabilityStatement"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"p"),u.\u0275\u0275text(4," CapabilityStatement of the server: "),u.\u0275\u0275elementStart(5,"code"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(7,o,1,0,"mat-spinner",1),u.\u0275\u0275element(8,"div",2),u.\u0275\u0275template(9,l,1,1,"app-operation-result",3),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275advance(6),u.\u0275\u0275textInterpolate(x.client.baseUrl),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",x.loading),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",x.operationResult))},dependencies:[s.NgIf,m.MatProgressSpinner,h.OperationResultComponent]})}return d})()},7088:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirConfigService=void 0;const n=_(655),f=n.__importDefault(_(8907)),D=n.__importStar(_(9212));ie.FhirConfigService=(()=>{class u{constructor(){}changeFhirMicroService(s){localStorage.setItem("fhirMicroServer",s)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new f.default({baseUrl:this.getFhirMicroService()})}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},7973:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirPathService=void 0;const n=_(655),f=_(8921),D=n.__importStar(_(9212));ie.FhirPathService=(()=>{class u{evaluate(s,m){return(0,f.evaluate)(s,m,null)}evaluateToString(s,m){const h=this.evaluate(s,m);return h&&h instanceof Array&&1===h.length?h[0]:null}getOauthUriToken(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},6459:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.HomeComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212)),y=n.__importStar(_(5195)),u=n.__importStar(_(617)),v=n.__importStar(_(7988)),s=n.__importStar(_(5187));ie.HomeComponent=(()=>{class h{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(r){return new(r||h)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:h,selectors:[["app-home"]],decls:31,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/settings"],["href","https://fhirpath-lab.com/FhirPath","target","_blank"],["href","https://fhirpath-lab.com/FhirMapper2","target","_blank"],["href","https://www.ahdis.ch","rel","external nofollow noopener","target","_blank"]],template:function(r,c){1&r&&(D.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),D.\u0275\u0275text(4,"rule"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"span"),D.\u0275\u0275text(6,"Validate resource"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),D.\u0275\u0275text(9,"info"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(10,"span"),D.\u0275\u0275text(11,"Installed IGs"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),D.\u0275\u0275text(14,"settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(15,"span"),D.\u0275\u0275text(16,"Settings"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(17,"p"),D.\u0275\u0275text(18,"Other tools:"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(19,"ul")(20,"li")(21,"a",4),D.\u0275\u0275text(22,"FHIRPath tester"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(23,"li")(24,"a",5),D.\u0275\u0275text(25,"FHIR Mapper"),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275elementStart(26,"mat-card-footer")(27,"p"),D.\u0275\u0275text(28),D.\u0275\u0275elementStart(29,"a",6),D.\u0275\u0275text(30," contact"),D.\u0275\u0275elementEnd()()()()),2&r&&(D.\u0275\u0275advance(28),D.\u0275\u0275textInterpolate1(" matchbox version: ",c.version," | "))},dependencies:[y.MatCard,y.MatCardContent,y.MatCardFooter,u.MatIcon,v.MatMenuItem,s.RouterLink],styles:["mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:20px}mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#68c39a}mat-card.primary[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:30px 0 15px}mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}"]})}return h})()},1037:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.IgsComponent=void 0;const n=_(655),D=(_(7088),_(6223)),u=(_(7973),_(6504)),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(7973)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(4170)),r=n.__importStar(_(8582)),c=n.__importStar(_(5940)),d=n.__importStar(_(5135));function g(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"tr",9),v.\u0275\u0275listener("click",function(){const L=v.\u0275\u0275restoreView(I).$implicit,F=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(F.selectRow(L))}),v.\u0275\u0275elementStart(1,"td"),v.\u0275\u0275text(2),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"td",10),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(5,"td",10),v.\u0275\u0275text(6),v.\u0275\u0275elementEnd()()}if(2&M){const I=k.$implicit;v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.packageId),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.version),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.title)}}function b(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onUpdate())}),v.\u0275\u0275text(3,"Update"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function C(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onDelete())}),v.\u0275\u0275text(3,"Delete"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function x(M,k){1&M&&(v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275element(1,"mat-progress-spinner",11),v.\u0275\u0275elementContainerEnd())}function w(M,k){if(1&M&&v.\u0275\u0275element(0,"app-operation-result",14),2&M){const I=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("operationResult",I.operationResult)}}function T(M,k){if(1&M&&(v.\u0275\u0275elementStart(0,"div",12)(1,"h2"),v.\u0275\u0275text(2,"Result of the last operation"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(3,w,1,1,"app-operation-result",13),v.\u0275\u0275elementEnd()),2&M){const I=v.\u0275\u0275nextContext();v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",I.operationResult)}}ie.IgsComponent=(()=>{class M{constructor(I,P){this.data=I,this.fhirPathService=P,this.update=!1,this.operationResult=null,this.query={_sort:"title",_count:1e4},this.client=I.getFhirClient(),this.addPackageId=new D.UntypedFormControl("",[D.Validators.required,D.Validators.minLength(1)]),this.addVersion=new D.UntypedFormControl("current",[D.Validators.required,D.Validators.minLength(1)]),this.addUrl=new D.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(I=>{this.igs=I.entry.map(A=>A.resource),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(I=>{this.errorMessage="Error accessing FHIR server",this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message)}),this.update=!1}getPackageUrl(I){return this.fhirPathService.evaluateToString(I,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}selectRow(I){this.selection=I,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(I));let P=this.selection.version;P&&P.endsWith(" (current)")&&(P=P.substring(0,P.length-10)),this.addVersion.setValue(P)}onSubmit(){if(this.errorMessage=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errorMessage="Please provide package name");let I=this.addPackageId.value.trim();I.indexOf("#")>0&&(I.substring(0,I.indexOf("#")-1),this.addVersion.setValue(I.substring(0,I.indexOf("#")+1))),this.addPackageId.setValue(I);const P=this.addVersion.value.trim();this.addVersion.setValue(P),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:I,version:P,packageId:I,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(A=>{this.errorMessage="Created Implementation Guide "+this.addPackageId.value,this.operationResult=u.OperationResult.fromOperationOutcome(A),this.search()}).catch(A=>{this.errorMessage="Error creating Implementation Guide "+this.addPackageId.value,this.operationResult=A.response?.data?u.OperationResult.fromOperationOutcome(A.response.data):u.OperationResult.fromMatchboxError(A.message),this.update=!1})}onUpdate(){this.errorMessage=null,this.selection.name=this.addPackageId.value,this.selection.version=this.addVersion.value,this.selection.packageId=this.addPackageId.value,this.selection.url=this.addUrl.value,this.update=!0,this.client.update({resourceType:this.selection.resourceType,id:this.selection.id,body:this.selection,options:{headers:{Prefer:"return=OperationOutcome"}}}).then(I=>{this.errorMessage="Updated Implementation Guide "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error updating Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message),this.update=!1})}onDelete(){this.errorMessage=null,this.update=!0,this.client.delete({resourceType:this.selection.resourceType,id:this.selection.id,options:{headers:{Prefer:"return=OperationOutcome","X-Cascade":"delete"}}}).then(I=>{this.errorMessage="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error deleting Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message),this.update=!1})}static#e=this.\u0275fac=function(P){return new(P||M)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(m.FhirPathService))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:M,selectors:[["app-igs"]],decls:40,vars:8,consts:[[1,"white-block","card-igs"],[3,"click",4,"ngFor","ngForOf"],[1,"white-block","Search","card-igs"],["matInput","",3,"formControl"],[2,"width","50vw"],["href","https://packages.fhir.org"],["type","submit",3,"click"],[4,"ngIf"],["class","white-block logs",4,"ngIf"],[3,"click"],[1,"secondary"],["mode","indeterminate"],[1,"white-block","logs"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(P,A){1&P&&(v.\u0275\u0275elementStart(0,"div",0)(1,"h2"),v.\u0275\u0275text(2,"ImplementationGuides installed on the server"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"table")(4,"thead")(5,"tr")(6,"th"),v.\u0275\u0275text(7,"Package"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"th"),v.\u0275\u0275text(9,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(10,"th"),v.\u0275\u0275text(11,"Title"),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(12,"tbody"),v.\u0275\u0275template(13,g,7,3,"tr",1),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(14,"div",2)(15,"h3"),v.\u0275\u0275text(16,"Install an ImplementationGuide"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(17,"mat-form-field")(18,"mat-label"),v.\u0275\u0275text(19,"PackageId"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(20,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(21," \xa0 "),v.\u0275\u0275elementStart(22,"mat-form-field")(23,"mat-label"),v.\u0275\u0275text(24,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(25,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(26," \xa0 "),v.\u0275\u0275elementStart(27,"mat-form-field",4)(28,"mat-label"),v.\u0275\u0275text(29,"Package url (optional, use only if not available through "),v.\u0275\u0275elementStart(30,"a",5),v.\u0275\u0275text(31,"packages.fhir.org"),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(32,") "),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(33,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(34,"button",6),v.\u0275\u0275listener("click",function(){return A.onSubmit()}),v.\u0275\u0275text(35,"Upload"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(36,b,4,0,"ng-container",7)(37,C,4,0,"ng-container",7),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(38,x,2,0,"ng-container",7)(39,T,4,1,"div",8)),2&P&&(v.\u0275\u0275advance(13),v.\u0275\u0275property("ngForOf",A.igs),v.\u0275\u0275advance(7),v.\u0275\u0275property("formControl",A.addPackageId),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",A.addVersion),v.\u0275\u0275advance(8),v.\u0275\u0275property("formControl",A.addUrl),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.update),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.errorMessage))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatFormField,l.MatLabel,r.MatInput,c.MatProgressSpinner,d.OperationResultComponent],styles:[".secondary[_ngcontent-%COMP%]{color:#6b7280}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:1px solid rgb(209,213,219);padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:1px solid rgb(229,231,235);padding-top:1rem;padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:hover{background:#eee}.mat-form-field.url[_ngcontent-%COMP%]{width:200px}.mat-table[_ngcontent-%COMP%]{margin:1rem}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.mat-table[_ngcontent-%COMP%] .mat-cell.title[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.title[_ngcontent-%COMP%]{flex:2;justify-content:flex-end}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:first-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:first-child{padding-left:1rem}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:last-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:1rem}.card-igs[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return M})()},5389:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.MappingLanguageComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importDefault(_(563)),s=n.__importStar(_(9212)),m=n.__importStar(_(7088)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8582));function d(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function g(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,d,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcome.issue)}}function b(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("Successfully created on server: ",M.structureMap.url," ")}}function C(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,C,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,v.default)("app:");constructor(S,M){this.cd=S,this.data=M,this.client=M.getFhirClient(),this.source=new y.UntypedFormControl,this.map=new y.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>{w.log("create StructureMap"),this.client.create({resourceType:"StructureMap",body:k,headers:{accept:"application/fhir+json","content-type":"text/fhir-mapping"}}).then(I=>{this.operationOutcome=null,this.structureMap=I,this.transform()}).catch(I=>{this.structureMap=null,this.operationOutcome=I.response.data})}),this.source.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>this.transform())}transform(){w.log("transform Source");let S=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:S}).then(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}ngOnInit(){}fileSource(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.source.setValue(M.result),this.cd.markForCheck()}}}fileChange(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.map.setValue(M.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(M){return new(M||w)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(m.FhirConfigService))};static#n=this.\u0275cmp=s.\u0275\u0275defineComponent({type:w,selectors:[["app-mapping-language"]],decls:31,vars:8,consts:[[1,"card-maps"],[1,"fixtextarea"],["accept",".json","placeholder","Upload source","type","file",3,"change"],["cols","400","matNativeControl","","rows","15",3,"formControl"],["accept",".map","placeholder","Upload map","type","file",3,"change"],["cols","400","matNativeControl","","rows","20",3,"formControl"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(M,k){1&M&&(s.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),s.\u0275\u0275text(4,"Source"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(5,"mat-form-field",1)(6,"mat-card-actions")(7,"input",2),s.\u0275\u0275listener("change",function(P){return k.fileSource(P)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(8,"textarea",3),s.\u0275\u0275text(9," "),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-card-content")(12,"mat-card-header")(13,"mat-card-title"),s.\u0275\u0275text(14,"FHIR Mapping Language map"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(15,"mat-form-field",1)(16,"mat-card-actions")(17,"input",4),s.\u0275\u0275listener("change",function(P){return k.fileChange(P)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(18,"textarea",5),s.\u0275\u0275text(19," "),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(20,g,3,1,"mat-error",6)(21,b,2,1,"mat-hint",6),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(22,"mat-card",0)(23,"mat-card-content")(24,"mat-card-header")(25,"mat-card-title"),s.\u0275\u0275text(26,"Transformed"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(27,x,3,1,"mat-error",6),s.\u0275\u0275elementStart(28,"pre"),s.\u0275\u0275text(29),s.\u0275\u0275pipe(30,"json"),s.\u0275\u0275elementEnd()()()),2&M&&(s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",k.source),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",k.map),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",k.operationOutcome),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",k.structureMap),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",k.operationOutcomeTransformed),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(30,6,k.transformed)))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatCard,l.MatCardActions,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatHint,r.MatError,c.MatInput,h.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}ie.MappingLanguageComponent=w},5135:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.OperationResultComponent=void 0;const n=_(655),f=_(9212),u=(_(6593),_(6504),n.__importStar(_(9212))),v=n.__importStar(_(6593)),s=n.__importStar(_(6814));function m(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"li",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=b.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C," ")}}function h(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ol"),u.\u0275\u0275template(1,m,2,1,"li",7),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.sliceInfo)}}function o(g,b){if(1&g){const C=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"li",3),u.\u0275\u0275listener("click",function(){const T=u.\u0275\u0275restoreView(C).$implicit,S=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(S.select.emit(T))}),u.\u0275\u0275elementStart(1,"span",4),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(3,"span",5)(4,"br"),u.\u0275\u0275elementStart(5,"p"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,h,2,1,"ol",6),u.\u0275\u0275elementEnd()}if(2&g){const C=b.$implicit,x=u.\u0275\u0275nextContext(2);u.\u0275\u0275classMapInterpolate1("issue ",C.severity,""),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(C.severity),u.\u0275\u0275advance(1),u.\u0275\u0275property("innerHtml",x.getTemplateHeaderLine(C),u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(C.text),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.sliceInfo.length)}}const l=g=>({clickable:g});function r(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ul",1),u.\u0275\u0275template(1,o,8,7,"li",2),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngClass",u.\u0275\u0275pureFunction1(2,l,C.reactsToClick)),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.result.issues)}}const c=["fatal","error","warning","information"];ie.OperationResultComponent=(()=>{class g{set operationResult(C){this.result=C,this.result&&this.result.issues.length&&this.result.issues.sort(g.sortIssues)}constructor(C){this.sanitized=C,this.select=new f.EventEmitter,this.reactsToClick=!1}ngOnInit(){this.reactsToClick=this.select.observed}static sortIssues(C,x){const w=c.indexOf(C.severity)-c.indexOf(x.severity);return 0!==w?w:(C.line??0)-(x.line??0)}getTemplateHeaderLine(C){let x="";C.code&&(x+=` [${C.code}]`),x+=": ";const w=[];return C.line&&w.push(`line ${C.line}`),C.col&&w.push(`column ${C.col}`),C.expression&&w.push(`in ${C.expression}`),w.length&&(x+=w.join(", ")+":"),this.sanitized.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(x){return new(x||g)(u.\u0275\u0275directiveInject(v.DomSanitizer))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:g,selectors:[["app-operation-result"]],inputs:{operationResult:"operationResult"},outputs:{select:"select"},decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"class","click",4,"ngFor","ngForOf"],[3,"click"],[1,"severity"],[3,"innerHtml"],[4,"ngIf"],["class","slice",4,"ngFor","ngForOf"],[1,"slice"]],template:function(x,w){1&x&&u.\u0275\u0275template(0,r,2,4,"ul",0),2&x&&u.\u0275\u0275property("ngIf",w.result)},dependencies:[s.NgClass,s.NgForOf,s.NgIf],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.app-ace-editor[_ngcontent-%COMP%]{border:2px solid #f8f9fa;box-shadow:0 .5rem 1rem #00000026}ul[_ngcontent-%COMP%]{list-style:none;padding:0}.clickable[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{cursor:pointer}.issue[_ngcontent-%COMP%]{border:1px solid #e1e1e1;background:#fbfbfb;border-radius:5px;padding:5px 8px;--color: #000;border-left:4px solid var(--color);margin-bottom:4px}.issue[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px 0 0}.issue[_ngcontent-%COMP%] .severity[_ngcontent-%COMP%]{color:var(--color);font-weight:600}.issue.fatal[_ngcontent-%COMP%], .issue.error[_ngcontent-%COMP%]{--color: #d9534f}.issue.warning[_ngcontent-%COMP%]{--color: #f0ad4e}.issue.information[_ngcontent-%COMP%]{--color: #4ca8de}[_nghost-%COMP%] .issue .code{font-size:.9em;color:#636363}[_nghost-%COMP%] .issue>span>code{background:#e1e1e1;border-radius:4px;padding:2px 4px;font-family:courier,monospace} .ace-highlight-fatal{position:absolute;background:#cc3300;opacity:.4} .ace-highlight-error{position:absolute;background:#ff9966;opacity:.4} .ace-highlight-warning{position:absolute;background:#ffcc00;opacity:.4} .ace-highlight-information{position:absolute;background:#99cc33;opacity:.4}"]})}return g})()},3835:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SettingsComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212));ie.SettingsComponent=(()=>{class u{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:u,selectors:[["app-settings"]],decls:12,vars:1,consts:[["id","settings",1,"white-block"],["href","https://github.com/ahdis/matchbox","rel","external nofollow noopener","target","_blank"]],template:function(m,h){1&m&&(D.\u0275\u0275elementStart(0,"div",0)(1,"h2"),D.\u0275\u0275text(2,"Matchbox settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(3,"h5"),D.\u0275\u0275text(4),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"p")(6,"em"),D.\u0275\u0275text(7,"There are no configurable settings here right now"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(8,"p"),D.\u0275\u0275text(9," Source code: "),D.\u0275\u0275elementStart(10,"a",1),D.\u0275\u0275text(11,"github.com/ahdis/matchbox"),D.\u0275\u0275elementEnd()()()),2&m&&(D.\u0275\u0275advance(4),D.\u0275\u0275textInterpolate1("Version ",h.version,""))}})}return u})()},6208:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SharedModule=void 0;const n=_(655),f=_(6814),D=_(6223),y=_(6593),u=_(4630),v=_(2296),s=_(5195),m=_(5986),h=_(3680),o=_(8034),l=_(6385),r=_(4170),c=_(617),d=_(8582),g=_(7988),b=_(1476),C=_(7466),x=_(8525),w=_(2599),T=_(2202),S=_(5313),M=_(4104),k=_(1274),I=_(9515),P=_(5940),A=n.__importStar(_(9212)),L=[f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule];ie.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ee){return new(ee||U)};static#t=this.\u0275mod=A.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=A.\u0275\u0275defineInjector({imports:[L,f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule]})}return U})()},7154:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.TransformComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(6814)),h=n.__importStar(_(6223)),o=n.__importStar(_(3680)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8525)),d=n.__importStar(_(9949)),g=n.__importStar(_(9009));function b(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-option",7),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275propertyInterpolate("value",M.url),v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1("",M.name," ")}}function C(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"li"),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),v.\u0275\u0275template(2,C,2,1,"li",8),v.\u0275\u0275elementEnd()()),2&T){const M=v.\u0275\u0275nextContext();v.\u0275\u0275advance(2),v.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}ie.TransformComponent=(()=>{class T{constructor(M,k){this.data=M,this.cd=k,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=M.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(I=>(this.setMaps(I),I)),this.selectedMap=new y.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,u.debounceTime)(400),(0,u.distinctUntilChanged)()).subscribe(I=>{this.selectedUrl=I,this.transform()})}transform(){null!=this.source&&null!=this.selectedUrl&&this.client.operation({name:"transform?source="+encodeURIComponent(this.selectedUrl),resourceType:"StructureMap",input:this.source,options:{headers:{"content-type":this.mimeType}}}).then(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(M){this.structureMaps=M.entry.map(k=>k.resource)}ngOnInit(){}addFile(M){this.transformed=null,("application/json"===M.contentType||M.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===M.contentType||M.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const k=new FileReader;k.readAsText(M.blob),k.onload=()=>{this.source=k.result}}static#e=this.\u0275fac=function(k){return new(k||T)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(v.ChangeDetectorRef))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:T,selectors:[["app-transform"]],decls:24,vars:8,consts:[[1,"card-maps"],[3,"addFiles"],[3,"highlight","lineNumbers"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"]],template:function(k,I){1&k&&(v.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd()(),v.\u0275\u0275elementStart(5,"div"),v.\u0275\u0275text(6,"Resource"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(7,"app-upload",1),v.\u0275\u0275listener("addFiles",function(A){return I.addFile(A)}),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"pre"),v.\u0275\u0275element(9,"code",2),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),v.\u0275\u0275text(13,"Map for transforming"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(14,"mat-select",4),v.\u0275\u0275template(15,b,2,2,"mat-option",5),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),v.\u0275\u0275text(20,"Transformed"),v.\u0275\u0275elementEnd()(),v.\u0275\u0275template(21,x,3,1,"mat-error",6),v.\u0275\u0275elementStart(22,"pre"),v.\u0275\u0275element(23,"code",2),v.\u0275\u0275elementEnd()()()),2&k&&(v.\u0275\u0275advance(4),v.\u0275\u0275textInterpolate(I.client.baseUrl),v.\u0275\u0275advance(5),v.\u0275\u0275property("highlight",I.getSource())("lineNumbers",!0),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",I.selectedMap),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngForOf",I.structureMaps),v.\u0275\u0275advance(6),v.\u0275\u0275property("ngIf",I.operationOutcomeTransformed),v.\u0275\u0275advance(2),v.\u0275\u0275property("highlight",I.getMapped())("lineNumbers",!0))},dependencies:[m.NgForOf,m.NgIf,h.NgControlStatus,h.FormControlDirective,o.MatOption,l.MatCard,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatLabel,r.MatError,c.MatSelect,d.Highlight,g.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return T})()},9009:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.UploadComponent=void 0;const f=_(655),D=_(9212),y=f.__importStar(_(9212)),u=f.__importStar(_(2296)),v=f.__importStar(_(617));ie.UploadComponent=(()=>{class m{constructor(){this.addFiles=new D.EventEmitter,this.dragCounter=0}checkStatus(o){if(!o.ok)throw new Error(`HTTP ${o.status} - ${o.statusText}`);return o}onDrop(o){o.preventDefault(),this.dragCounter=0;const l=o.target.files||o.dataTransfer.items;if(l)for(let c=0;c0))},dependencies:[u.MatButton,v.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#f0f3f6}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%]{border-bottom:1px solid #dedede;display:flex;align-items:center;height:40px}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-name[_ngcontent-%COMP%]{flex:1;padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-size[_ngcontent-%COMP%]:last-child{margin-right:1rem}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;line-height:inherit}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]{text-align:center;padding:2rem;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone.file-over[_ngcontent-%COMP%]{background:#e0e6ec}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{line-height:3rem}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:700}"],changeDetection:0})}return m})()},6504:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Issue=ie.OperationResult=void 0;class _{constructor(D,y){this.operationOutcome=y,this.issues=D??[]}static fromOperationOutcome(D){const y=D.issue?.map(u=>n.fromOoIssue(u));return new _(y,D)}static fromMatchboxError(D){const y=new _;return y.issues.push(new n("fatal","matchbox",D,void 0,void 0,void 0,void 0)),y}}ie.OperationResult=_;class n{constructor(D,y,u,v,s,m,h){this.sliceInfo=[],this.severity=D,this.code=y,this.text=u,this.expression=v,this.line=s,this.col=m,this.sliceInfo=h??[]}static fromOoIssue(D){let y;D.expression&&D.expression.length?y=D.expression[0]:D.location&&D.location.length&&(y=D.location[0]);const u=D.diagnostics?.indexOf("Slice info: 1.)");let v,s=null;return u>=0?(v=D.diagnostics.substring(0,u).trimEnd(),s=D.diagnostics.substring(u+15).trimStart().split(/\d+[.][)]/)):v=D.diagnostics,new n(D.severity,D.code,v,y,n.getLineNo(D),n.getColNo(D),s)}static getLineNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line");return y&&y>0?y:void 0}static getColNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col");return y&&y>0?y:void 0}static getExtensionIntValue(D,y){if(D.extension)for(const u of D.extension)if(u.url===y)return u.valueInteger}}ie.Issue=n},9936:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidateComponent=void 0;const f=_(655),u=(_(9212),_(7088),f.__importDefault(_(827))),v=f.__importDefault(_(1328)),s=f.__importDefault(_(5101)),m=_(5892),h=_(3538),o=_(6504),l=_(6223),r=f.__importStar(_(9212)),c=f.__importStar(_(7088)),d=f.__importStar(_(6814)),g=f.__importStar(_(6223)),b=f.__importStar(_(3680)),C=f.__importStar(_(2296)),x=f.__importStar(_(5195)),w=f.__importStar(_(4170)),T=f.__importStar(_(617)),S=f.__importStar(_(8582)),M=f.__importStar(_(7988)),k=f.__importStar(_(8525)),I=f.__importStar(_(5940)),P=f.__importStar(_(3427)),A=f.__importStar(_(5135)),L=f.__importStar(_(9009));function F(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275text(1," a "),r.\u0275\u0275elementStart(2,"span"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(4,", from "),r.\u0275\u0275elementStart(5,"em"),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.filename)}}function R(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"None"),r.\u0275\u0275elementEnd())}function U(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function W(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ne(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function ee(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"p",24)(1,"mat-icon"),r.\u0275\u0275text(2,"report"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",Ee.errorMessage,"")}}function j(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",13),r.\u0275\u0275listener("addFiles",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.addFile(Ce))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",14),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,F,7,2,"ng-container",3)(5,R,2,0,"em",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"div",15)(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Validation profile (required)"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",16),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedProfile=Ce)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",17),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.profileFilter=Ce)})("ngModelChange",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,U,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(14,W,2,0,"mat-error",3),r.\u0275\u0275elementStart(15,"mat-hint"),r.\u0275\u0275text(16,"A profile is required to validate against."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(17,"div",15)(18,"mat-form-field")(19,"mat-label"),r.\u0275\u0275text(20,"Validation IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(21,"mat-select",19),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedIg=Ce)}),r.\u0275\u0275elementStart(22,"mat-option",20)(23,"em"),r.\u0275\u0275text(24,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(25,ne,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(26,"mat-hint"),r.\u0275\u0275text(27,"A specific IG version may be specified."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(28,"button",21),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.onValidate())}),r.\u0275\u0275text(29,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ee,4,1,"p",22),r.\u0275\u0275elementContainerEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",Ee.currentResource),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngModel",Ee.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngModel",Ee.profileFilter),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.filteredProfiles),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ee.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngModel",Ee.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",Ee.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",Ee.errorMessage)}}function B(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"div",15)(1,"mat-form-field",26)(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",27),r.\u0275\u0275elementEnd()()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.param.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",Ee.formControl)}}function $(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,B,5,2,"div",25),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.validatorSettings)}}function Z(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",33)}function H(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-icon",34),r.\u0275\u0275text(2,"error"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275element(4,"br"),r.\u0275\u0275elementStart(5,"mat-icon",35),r.\u0275\u0275text(6,"warning"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7),r.\u0275\u0275element(8,"br"),r.\u0275\u0275elementStart(9,"mat-icon",36),r.\u0275\u0275text(10,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(11),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.result?Ee.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.result?Ee.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",Ee.result?Ee.getInfos():"-"," ")}}const te=Te=>({selected:Te});function ue(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",28),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.show(ge))}),r.\u0275\u0275elementStart(1,"td",29),r.\u0275\u0275text(2),r.\u0275\u0275element(3,"br"),r.\u0275\u0275elementStart(4,"time"),r.\u0275\u0275text(5),r.\u0275\u0275pipe(6,"date"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(7,"at"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"td",29),r.\u0275\u0275text(9),r.\u0275\u0275element(10,"br"),r.\u0275\u0275text(11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"td",30),r.\u0275\u0275template(13,Z,1,0,"mat-spinner",11)(14,H,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",31)(16,"mat-icon",32),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.removeEntryFromHistory(ge))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Te){const Ee=qe.$implicit,Ie=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,te,Ee===Ie.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,Ee.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",Ee.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",Ee.loading),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.loading)}}function ye(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"dl")(1,"dt"),r.\u0275\u0275text(2,"Filename"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"dd"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"dt"),r.\u0275\u0275text(6,"Profile"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"dd"),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"dt"),r.\u0275\u0275text(10,"IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"dd"),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()()),2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.ig)}}function Ge(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",37),r.\u0275\u0275listener("select",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.highlightIssue(Ce))}),r.\u0275\u0275elementEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",Ee.selectedEntry.result)}}function $e(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",33)}ie.ValidateComponent=(()=>{class Te{constructor(Ee,Ie){this.cd=Ie,this.validationEntries=new Array,this.selectedEntry=null,this.capabilityStatement=null,this.installedIgs=new Set,this.supportedProfiles=new Set,this.validatorSettings=new Array,this.filteredProfiles=new Set,this.profileFilter="",this.selectedIg=null,this.profileControl=new l.FormControl(null,l.Validators.required),this.showSettings=!1,this.currentResource=null,this.errorMessage=null,this.client=Ee.getFhirClient(),this.client.capabilityStatement().then(Ce=>{this.capabilityStatement=Ce,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(ge=>{ge.parameter?.forEach(Ae=>{"profile"==Ae.name&&(Ae.targetProfile.forEach(q=>this.supportedProfiles.add(q)),this.updateProfileFilter())}),ge.parameter.filter(Ae=>"in"==Ae.use&&"resource"!=Ae.name&&"profile"!=Ae.name&&"ig"!=Ae.name).forEach(Ae=>{this.validatorSettings.push(new h.ValidationParameter(Ae))})})}).catch(Ce=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Ce=>{Ce.entry.map(ge=>ge.resource).map(ge=>`${ge.packageId}#${ge.version}`).sort().forEach(ge=>this.installedIgs.add(ge))}).catch(Ce=>{this.errorMessage="Error accessing FHIR server"})}ngAfterViewInit(){this.editor=s.default.edit("editor"),this.editor.setReadOnly(!0),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({tabSize:4,wrap:!0,useWorker:!1,useSvgGutterIcons:!1})}addFile(Ee){if(Ee.name.endsWith(".tgz"))try{this.addPackage(Ee.blob)}catch(Ie){console.error(Ie)}else{let Ie=null;try{this.selectedProfile=null,this.selectedIg=null;const Ce=new FileReader;Ce.readAsText(Ee.blob),Ce.onload=()=>{this.cd.markForCheck(),Ie=new m.ValidationEntry(Ee.blob.name,Ce.result,Ee.contentType,null),this.currentResource=new Et(Ee.name,Ee.contentType,Ce.result,Ie.resourceType),Ie.selectedProfile&&(this.selectedProfile=Ie.selectedProfile),this.validationEntries.unshift(Ie),this.show(Ie),this.validate(Ie)}}catch(Ce){console.error(Ce),Ie&&(Ie.result=o.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Ce.message))}}}onValidateIg(){let Ee="";null!=this.selectedIg&&(Ee=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg,Ee=Ee.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+Ee))}fetchData(Ee){var Ie=this;return n(function*(){const ge=yield(yield fetch(Ee,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();Ie.addPackage(ge)})()}addPackage(Ee){this.selectedProfile=null,this.selectedIg=null;const Ie=new FileReader;Ie.readAsArrayBuffer(Ee),Ie.onload=()=>{if(this.package=Ie.result,this.cd.markForCheck(),null!=this.package){const Ce=u.default.inflate(new Uint8Array(this.package)),ge=new Array;let Ae=null,q=null;const Re=this;(0,v.default)(Ce.buffer).then(function(ke){ge.forEach(Ke=>{Re.validationEntries.unshift(Ke),Re.validate(Ke)})},function(ke){},function(ke){if(ke.name?.indexOf("package.json")>=0){let Ke=new TextDecoder("utf-8"),me=JSON.parse(Ke.decode(ke.buffer));Ae=me.fhirVersions[0],q=me.name+"#"+me.version}if(ke.name?.indexOf("example")>=0&&-1==ke.name?.indexOf(".index.json")){let Ke=ke.name;Ke.startsWith("package/example/")&&(Ke=Ke.substring(16)),Ke.startsWith("example/")&&(Ke=Ke.substring(8));let me=new TextDecoder("utf-8"),Pe=JSON.parse(me.decode(ke.buffer)),Ne=Pe.meta?.profile,Be=new m.ValidationEntry(Ke,JSON.stringify(Pe,null,2),"application/fhir+json",Ne);ge.push(Be)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(Ee){if(null!=this.selectedProfile&&(Ee.profiles.includes(this.selectedProfile)||Ee.profiles.push(this.selectedProfile),Ee.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(Ee.ig=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg),!Ee.selectedProfile)return void console.error("No profile selected, won't run validation");const Ie=new URLSearchParams;Ie.set("profile",Ee.selectedProfile),Ee.ig&&Ie.set("ig",Ee.ig);for(const Ce of this.validatorSettings)null!=Ce.formControl.value&&Ce.formControl.value.length>0&&Ie.set(Ce.param.name,Ce.formControl.value);Ee.loading=!0,this.client.operation({name:"validate?"+Ie.toString(),resourceType:void 0,input:Ee.resource,options:{headers:{accept:"application/fhir+json","content-type":Ee.mimetype}}}).then(Ce=>{Ee.loading=!1,Ee.setOperationOutcome(Ce),Ee===this.selectedEntry&&this.updateEditorIssues()}).catch(Ce=>{Ee.loading=!1,Ee.result=o.OperationResult.fromMatchboxError("Error while sending the validation request: "+Ce.message),console.error(Ce)})}show(Ee){if(this.errorMessage=null,this.selectedEntry=Ee,!Ee)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Et(Ee.filename,Ee.mimetype,Ee.resource,Ee.resourceType),this.editor.setValue(Ee.resource,-1),"application/fhir+json"===Ee.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===Ee.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(Ee){Ee===this.selectedEntry&&this.show(null);const Ie=this.validationEntries.indexOf(Ee);this.validationEntries.splice(Ie,1)}onValidate(){let Ee=new m.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);Ee.ig=this.selectedIg,this.validationEntries.unshift(Ee),this.validate(Ee)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const Ee=this.selectedEntry.result.issues.filter(Ie=>Ie.line).map(Ie=>{let Ce;switch(Ie.severity){case"fatal":case"error":Ce="error";break;case"warning":Ce="warning";break;case"information":Ce="info"}return{row:Ie.line-1,column:Ie.col,text:Ie.text,type:Ce}});this.editor.session.setAnnotations(Ee)}highlightIssue(Ee){Ee.line&&(this.editor.gotoLine(Ee.line,Ee.col,!0),this.editor.scrollToLine(Ee.line,!1,!0,()=>{}))}updateProfileFilter(){this.filteredProfiles=new Set([...this.supportedProfiles].filter(Ee=>Ee.includes(this.profileFilter)))}static#e=this.\u0275fac=function(Ie){return new(Ie||Te)(r.\u0275\u0275directiveInject(c.FhirConfigService),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))};static#t=this.\u0275cmp=r.\u0275\u0275defineComponent({type:Te,selectors:[["app-validate"]],decls:37,vars:6,consts:[[1,"row"],[1,"card-maps","white-block"],["mat-menu-item","",1,"setting",3,"click"],[4,"ngIf"],[1,"mat-table"],[1,"mat-header-row"],[1,"mat-header-cell"],["class","mat-row",3,"ngClass","click",4,"ngFor","ngForOf"],["mat-raised-button","","type","submit",3,"click"],[1,"row","row-full-height"],[3,"operationResult","select",4,"ngIf"],["diameter","30",4,"ngIf"],["id","editor"],[3,"addFiles"],[1,"current"],[1,"form-field-group"],["name","selectProfile","placeholder","Validate against specific Profile",3,"ngModel","ngModelChange"],["placeholderLabel","Find a profile\u2026","noEntriesFoundLabel","'no matching profile found'",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","selectIg","placeholder","Validate against specific Implementation Guide",3,"ngModel","ngModelChange"],["value",""],["color","primary","mat-raised-button","",3,"click"],["class","error",4,"ngIf"],[3,"value"],[1,"error"],["class","form-field-group",4,"ngFor","ngForOf"],[1,"column50"],["matInput","",3,"formControl"],[1,"mat-row",3,"ngClass","click"],[1,"mat-cell"],[1,"issues","mat-cell"],[1,"actions","mat-cell"],["aria-label","Remove","title","Remove from history",3,"click"],["diameter","30"],["inline","",1,"error"],["inline","",1,"warning"],["inline","",1,"info"],[3,"operationResult","select"]],template:function(Ie,Ce){1&Ie&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return Ce.toggleSettings()}),r.\u0275\u0275elementStart(3,"mat-icon"),r.\u0275\u0275text(4,"settings"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"h2"),r.\u0275\u0275text(6,"Validate FHIR Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,j,31,9,"ng-container",3)(8,$,2,1,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",1)(10,"h2"),r.\u0275\u0275text(11,"Validation history"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"table",4)(13,"tr",5)(14,"th",6),r.\u0275\u0275text(15,"Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(16,"th",6),r.\u0275\u0275text(17,"Profile/IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(18,"th",6),r.\u0275\u0275text(19,"Issues"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(20,"th",6),r.\u0275\u0275text(21,"Actions"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(22,ue,18,12,"tr",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(23,"mat-card-actions")(24,"button",8),r.\u0275\u0275listener("click",function(){return Ce.onClear()}),r.\u0275\u0275text(25,"Clear history"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(26,"div",9)(27,"div",1)(28,"h2"),r.\u0275\u0275text(29,"Result of the validation"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ye,13,3,"dl",3)(31,Ge,1,1,"app-operation-result",10)(32,$e,1,0,"mat-spinner",11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"div",1)(34,"h2"),r.\u0275\u0275text(35,"Document content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(36,"div",12),r.\u0275\u0275elementEnd()()),2&Ie&&(r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",!Ce.showSettings),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.showSettings),r.\u0275\u0275advance(14),r.\u0275\u0275property("ngForOf",Ce.validationEntries),r.\u0275\u0275advance(8),r.\u0275\u0275property("ngIf",Ce.selectedEntry),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.result),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.loading))},dependencies:[d.NgClass,d.NgForOf,d.NgIf,g.DefaultValueAccessor,g.NgControlStatus,g.NgModel,g.FormControlDirective,b.MatOption,C.MatButton,x.MatCardActions,w.MatFormField,w.MatLabel,w.MatHint,w.MatError,T.MatIcon,S.MatInput,M.MatMenuItem,k.MatSelect,I.MatProgressSpinner,P.MatSelectSearchComponent,A.OperationResultComponent,L.UploadComponent,d.DatePipe],styles:["[_nghost-%COMP%]{margin:0 auto;min-width:1400px;width:100%}button.setting[_ngcontent-%COMP%]{float:right}button.setting[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}p.current[_ngcontent-%COMP%]{margin:10px 0}p.current[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}mat-hint[_ngcontent-%COMP%]{color:#7db99e}p.error[_ngcontent-%COMP%]{color:#d9534f;margin-top:20px}p.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-self:stretch;margin:1em auto;min-width:1400px;width:100%;justify-content:space-evenly}.row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:46%}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#d8f1e6}table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%]{font-size:12px;line-height:12px;color:#818181}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-right:2px;vertical-align:bottom}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#d9534f}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.warning[_ngcontent-%COMP%]{color:#f0ad4e}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#4ca8de}table[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;color:#d9534f}.form-field-group[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;display:flex;flex-direction:row}.form-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card-maps[_ngcontent-%COMP%]{padding:8px 16px}.row-full-height[_ngcontent-%COMP%] .card-maps[_ngcontent-%COMP%]{height:96vh;max-height:96vh;overflow-y:auto}#editor[_ngcontent-%COMP%]{height:calc(100% - 50px)}.column50[_ngcontent-%COMP%]{width:40%}"]})}return Te})();class Et{constructor(qe,Ee,Ie,Ce){this.filename=qe,this.contentType=Ee,this.content=Ie,this.resourceType=Ce}}},5892:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationEntry=void 0;const n=_(6504);ie.ValidationEntry=class f{constructor(y,u,v,s){this.profiles=[],this.loading=!1,this.filename=y,this.resource=u,this.mimetype=v||(y.endsWith(".json")?"application/fhir+json":"application/fhir+xml"),s&&(this.profiles=s),this.date=new Date,"application/fhir+json"===this.mimetype?this.extractJsonInfo():this.extractXmlInfo(),this.profiles&&this.profiles.length?this.selectedProfile=this.profiles[0]:this.resourceType&&(this.selectedProfile="http://hl7.org/fhir/StructureDefinition/"+this.resourceType)}getErrors(){if(this.result)return this.result.issues.filter(y=>"error"===y.severity||"fatal"===y.severity).length}getWarnings(){if(this.result)return this.result.issues.filter(y=>"warning"===y.severity).length}getInfos(){if(this.result)return this.result.issues.filter(y=>"information"===y.severity).length}setOperationOutcome(y){this.result=n.OperationResult.fromOperationOutcome(y)}extractJsonInfo(){const y=JSON.parse(this.resource);y?.resourceType&&(this.resourceType=y.resourceType,this.resourceId=y.id),y.meta?.profile&&this.profiles.push(...y.meta.profile)}extractXmlInfo(){let y=this.resource.indexOf("",u);if(u0&&(s=s.substring(0,m)),m=s.indexOf(":"),m>0&&(s=s.substring(m+1)),this.resourceType=s;let h=this.resource.indexOf("profile",v);if(h>0){let o=this.resource.indexOf('value="',h)+7,l=this.resource.indexOf('"',o);o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationParameter=void 0;const n=_(6223);ie.ValidationParameter=class f{constructor(y){this.param=y,this.formControl=new n.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},553:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.environment=void 0,ie.environment={production:!0}},4913:(Me,ie,_)=>{"use strict";const D=_(655).__importStar(_(6593)),y=_(9212),u=_(8629);_(553).environment.production&&(0,y.enableProdMode)(),D.platformBrowser().bootstrapModule(u.AppModule).catch(s=>console.log(s))},5101:(Me,ie,_)=>{Me=_.nmd(Me),function(){var f=function(){return this}();!f&&typeof window<"u"&&(f=window);var D=function(h,o,l){"string"==typeof h?(2==arguments.length&&(l=o),D.modules[h]||(D.payloads[h]=l,D.modules[h]=null)):D.original?D.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};D.modules={},D.payloads={};var y=function(h,o,l){if("string"==typeof o){var r=s(h,o);if(null!=r)return l&&l(),r}else if("[object Array]"===Object.prototype.toString.call(o)){for(var c=[],d=0,g=o.length;ds.length)&&(v=s.length);var m=s.indexOf(u,v-=u.length);return-1!==m&&m===v}),String.prototype.repeat||y(String.prototype,"repeat",function(u){for(var v="",s=this;u>0;)1&u&&(v+=s),(u>>=1)&&(s+=s);return v}),String.prototype.includes||y(String.prototype,"includes",function(u,v){return-1!=this.indexOf(u,v)}),Object.assign||(Object.assign=function(u){if(null==u)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(u),s=1;s>>0,h=arguments[1]>>0,o=h<0?Math.max(s+h,0):Math.min(h,s),l=arguments[2],r=void 0===l?s:l>>0,c=r<0?Math.max(s+r,0):Math.min(r,s);o0;)1&s&&(m+=v),(s>>=1)&&(v+=v);return m};var y=/^\s\s*/,u=/\s\s*$/;f.stringTrimLeft=function(v){return v.replace(y,"")},f.stringTrimRight=function(v){return v.replace(u,"")},f.copyObject=function(v){var s={};for(var m in v)s[m]=v[m];return s},f.copyArray=function(v){for(var s=[],m=0,h=v.length;m65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(n,f,D){"use strict";f.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},f.getOS=function(){return f.isMac?f.OS.MAC:f.isLinux?f.OS.LINUX:f.OS.WINDOWS};var y="object"==typeof navigator?navigator:{},u=(/mac|win|linux/i.exec(y.platform)||["other"])[0].toLowerCase(),v=y.userAgent||"",s=y.appName||"";f.isWin="win"==u,f.isMac="mac"==u,f.isLinux="linux"==u,f.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((v.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((v.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),f.isOldIE=f.isIE&&f.isIE<9,f.isGecko=f.isMozilla=v.match(/ Gecko\/\d+/),f.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),f.isWebKit=parseFloat(v.split("WebKit/")[1])||void 0,f.isChrome=parseFloat(v.split(" Chrome/")[1])||void 0,f.isSafari=parseFloat(v.split(" Safari/")[1])&&!f.isChrome||void 0,f.isEdge=parseFloat(v.split(" Edge/")[1])||void 0,f.isAIR=v.indexOf("AdobeAIR")>=0,f.isAndroid=v.indexOf("Android")>=0,f.isChromeOS=v.indexOf(" CrOS ")>=0,f.isIOS=/iPad|iPhone|iPod/.test(v)&&!window.MSStream,f.isIOS&&(f.isMac=!0),f.isMobile=f.isIOS||f.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("./useragent");f.buildDom=function l(r,c,d){if("string"==typeof r&&r){var g=document.createTextNode(r);return c&&c.appendChild(g),g}if(!Array.isArray(r))return r&&r.appendChild&&c&&c.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var b=[],C=0;C"u")){if(s)if(c)m();else if(!1===c)return s.push([l,r]);if(!v){var d=c;c&&c.getRootNode?(!(d=c.getRootNode())||d==c)&&(d=document):d=document;var g=d.ownerDocument||d;if(r&&f.hasCssString(r,d))return null;r&&(l+="\n/*# sourceURL=ace/css/"+r+" */");var b=f.createElement("style");b.appendChild(g.createTextNode(l)),r&&(b.id=r),d==g&&(d=f.getDocumentHead(g)),d.insertBefore(b,d.firstChild)}}}if(f.useStrictCSP=function(l){v=l,0==l?m():s||(s=[])},f.importCssString=h,f.importCssStylsheet=function(l,r){f.buildDom(["link",{rel:"stylesheet",href:l}],f.getDocumentHead(r))},f.scrollbarWidth=function(l){var r=f.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var c=f.createElement("ace_outer"),d=c.style;d.position="absolute",d.left="-10000px",d.overflow="hidden",d.width="200px",d.minWidth="0px",d.height="150px",d.display="block",c.appendChild(r);var g=l&&l.documentElement||document&&document.documentElement;if(!g)return 0;g.appendChild(c);var b=r.offsetWidth;d.overflow="scroll";var C=r.offsetWidth;return b===C&&(C=c.clientWidth),g.removeChild(c),b-C},f.computedStyle=function(l,r){return window.getComputedStyle(l,"")||{}},f.setStyle=function(l,r,c){l[r]!==c&&(l[r]=c)},f.HAS_CSS_ANIMATION=!1,f.HAS_CSS_TRANSFORMS=!1,f.HI_DPI=!y.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,y.isChromeOS&&(f.HI_DPI=!1),typeof document<"u"){var o=document.createElement("div");f.HI_DPI&&void 0!==o.style.transform&&(f.HAS_CSS_TRANSFORMS=!0),!y.isEdge&&typeof o.style.animationName<"u"&&(f.HAS_CSS_ANIMATION=!0),o=null}f.translate=f.HAS_CSS_TRANSFORMS?function(l,r,c){l.style.transform="translate("+Math.round(r)+"px, "+Math.round(c)+"px)"}:function(l,r,c){l.style.top=Math.round(c)+"px",l.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./dom");f.get=function(u,v){var s=new XMLHttpRequest;s.open("GET",u,!0),s.onreadystatechange=function(){4===s.readyState&&v(s.responseText)},s.send(null)},f.loadScript=function(u,v){var s=y.getDocumentHead(),m=document.createElement("script");m.src=u,s.appendChild(m),m.onload=m.onreadystatechange=function(h,o){(o||!m.readyState||"loaded"==m.readyState||"complete"==m.readyState)&&(m=m.onload=m.onreadystatechange=null,o||v())}},f.qualifyURL=function(u){var v=document.createElement("a");return v.href=u,v.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(n,f,D){"use strict";f.inherits=function(y,u){y.super_=u,y.prototype=Object.create(u.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(y,u){for(var v in u)y[v]=u[v];return y},f.implement=function(y,u){f.mixin(y,u)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(n,f,D){"use strict";var y={},u=function(){this.propagationStopped=!0},v=function(){this.defaultPrevented=!0};y._emit=y._dispatchEvent=function(s,m){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var h=this._eventRegistry[s]||[],o=this._defaultHandlers[s];if(h.length||o){("object"!=typeof m||!m)&&(m={}),m.type||(m.type=s),m.stopPropagation||(m.stopPropagation=u),m.preventDefault||(m.preventDefault=v),h=h.slice();for(var l=0;l1&&(b=d[d.length-2]);var x=m[c+"Path"];return null==x?x=m.basePath:"/"==g&&(c=g=""),x&&"/"!=x.slice(-1)&&(x+="/"),x+c+g+b+this.get("suffix")},f.setModuleUrl=function(r,c){return m.$moduleUrls[r]=c},f.setLoader=function(r){o=r},f.dynamicModules=Object.create(null),f.$loading={},f.$loaded={},f.loadModule=function(r,c){var d;if(Array.isArray(r))var g=r[0],b=r[1];else"string"==typeof r&&(b=r);var C=function(x){if(x&&!f.$loading[b])return c&&c(x);if(f.$loading[b]||(f.$loading[b]=[]),f.$loading[b].push(c),!(f.$loading[b].length>1)){var w=function(){!function(r,c){"ace/theme/textmate"===r||"./theme/textmate"===r?c(0,n("./theme/textmate")):o?o(r,c):console.error("loader is not configured")}(b,function(T,S){S&&(f.$loaded[b]=S),f._emit("load.module",{name:b,module:S});var M=f.$loading[b];f.$loading[b]=null,M.forEach(function(k){k&&k(S)})})};if(!f.get("packaged"))return w();u.loadScript(f.moduleUrl(b,g),w),l()}};if(f.dynamicModules[b])f.dynamicModules[b]().then(function(x){C(x.default?x.default:x)});else{try{d=this.$require(b)}catch{}C(d||f.$loaded[b])}},f.$require=function(r){if("function"==typeof D.require)return D.require(r)},f.setModuleLoader=function(r,c){f.dynamicModules[r]=c};var l=function(){!m.basePath&&!m.workerPath&&!m.modePath&&!m.themePath&&!Object.keys(m.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),l=function(){})};f.version="1.32.3"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(n,f,D){"use strict";n("./lib/fixoldbrowsers");var y=n("./config");y.setLoader(function(m,h){n([m],function(o){h(null,o)})});var u=function(){return this||typeof window<"u"&&window}();function v(m){if(u&&u.document){y.set("packaged",m||n.packaged||D.packaged||u.define&&_.amdD.packaged);var h={},o="",l=document.currentScript||document._currentScript,r=l&&l.ownerDocument||document;l&&l.src&&(o=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var c=r.getElementsByTagName("script"),d=0;d ["+this.end.row+"/"+this.end.column+"]"},u.prototype.contains=function(v,s){return 0==this.compare(v,s)},u.prototype.compareRange=function(v){var s,m=v.end,h=v.start;return 1==(s=this.compare(m.row,m.column))?1==(s=this.compare(h.row,h.column))?2:0==s?1:0:-1==s?-2:-1==(s=this.compare(h.row,h.column))?-1:1==s?42:0},u.prototype.comparePoint=function(v){return this.compare(v.row,v.column)},u.prototype.containsRange=function(v){return 0==this.comparePoint(v.start)&&0==this.comparePoint(v.end)},u.prototype.intersects=function(v){var s=this.compareRange(v);return-1==s||0==s||1==s},u.prototype.isEnd=function(v,s){return this.end.row==v&&this.end.column==s},u.prototype.isStart=function(v,s){return this.start.row==v&&this.start.column==s},u.prototype.setStart=function(v,s){"object"==typeof v?(this.start.column=v.column,this.start.row=v.row):(this.start.row=v,this.start.column=s)},u.prototype.setEnd=function(v,s){"object"==typeof v?(this.end.column=v.column,this.end.row=v.row):(this.end.row=v,this.end.column=s)},u.prototype.inside=function(v,s){return 0==this.compare(v,s)&&!(this.isEnd(v,s)||this.isStart(v,s))},u.prototype.insideStart=function(v,s){return 0==this.compare(v,s)&&!this.isEnd(v,s)},u.prototype.insideEnd=function(v,s){return 0==this.compare(v,s)&&!this.isStart(v,s)},u.prototype.compare=function(v,s){return this.isMultiLine()||v!==this.start.row?vthis.end.row?1:this.start.row===v?s>=this.start.column?0:-1:this.end.row===v?s<=this.end.column?0:1:0:sthis.end.column?1:0},u.prototype.compareStart=function(v,s){return this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.compareEnd=function(v,s){return this.end.row==v&&this.end.column==s?1:this.compare(v,s)},u.prototype.compareInside=function(v,s){return this.end.row==v&&this.end.column==s?1:this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.clipRows=function(v,s){if(this.end.row>s)var m={row:s+1,column:0};else this.end.rows)var h={row:s+1,column:0};else this.start.row1?++k>4&&(k=1):k=1,u.isIE){var U=Math.abs(R.clientX-I)>5||Math.abs(R.clientY-P)>5;(!A||U)&&(k=1),A&&clearTimeout(A),A=setTimeout(function(){A=null},w[k-1]||600),1==k&&(I=R.clientX,P=R.clientY)}if(R._clicks=k,T[S]("mousedown",R),k>4)k=0;else if(k>1)return T[S](L[k],R)}Array.isArray(x)||(x=[x]),x.forEach(function(R){r(R,"mousedown",F,M)})};var d=function(x){return 0|(x.ctrlKey?1:0)|(x.altKey?2:0)|(x.shiftKey?4:0)|(x.metaKey?8:0)};function b(){v=Object.create(null)}if(f.getModifierString=function(x){return y.KEY_MODS[d(x)]},f.addCommandKeyListener=function(x,w,T){var S=null;r(x,"keydown",function(M){v[M.keyCode]=(v[M.keyCode]||0)+1;var k=function g(x,w,T){var S=d(w);if(!u.isMac&&v){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(S|=8),v.altGr){if(3==(3&S))return;v.altGr=0}if(18===T||17===T){var M="location"in w?w.location:w.keyLocation;17===T&&1===M?1==v[T]&&(s=w.timeStamp):18===T&&3===S&&2===M&&w.timeStamp-s<50&&(v.altGr=!0)}}if(T in y.MODIFIER_KEYS&&(T=-1),S||13!==T||3!==(M="location"in w?w.location:w.keyLocation)||(x(w,S,-T),!w.defaultPrevented)){if(u.isChromeOS&&8&S){if(x(w,S,T),w.defaultPrevented)return;S&=-9}return!!(S||T in y.FUNCTION_KEYS||T in y.PRINTABLE_KEYS)&&x(w,S,T)}}(w,M,M.keyCode);return S=M.defaultPrevented,k},T),r(x,"keypress",function(M){S&&(M.ctrlKey||M.altKey||M.shiftKey||M.metaKey)&&(f.stopEvent(M),S=null)},T),r(x,"keyup",function(M){v[M.keyCode]=null},T),v||(b(),r(window,"focus",b))},"object"==typeof window&&window.postMessage&&!u.isOldIE){var C=1;f.nextTick=function(x,w){w=w||window;var T="zero-timeout-message-"+C++,S=function(M){M.data==T&&(f.stopPropagation(M),c(w,"message",S),x())};r(w,"message",S),w.postMessage(T,"*")}}f.$idleBlocked=!1,f.onIdle=function(x,w){return setTimeout(function T(){f.$idleBlocked?setTimeout(T,100):x()},w)},f.$idleBlockId=null,f.blockIdle=function(x){f.$idleBlockId&&clearTimeout(f.$idleBlockId),f.$idleBlocked=!0,f.$idleBlockId=setTimeout(function(){f.$idleBlocked=!1},x||100)},f.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),f.nextFrame=f.nextFrame?f.nextFrame.bind(window):function(x){setTimeout(x,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(n,f,D){"use strict";var y;D.exports={lineMode:!1,pasteCancelled:function(){return!!(y&&y>Date.now()-50)||(y=!1)},cancel:function(){y=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(n,f,D){"use strict";var y=n("../lib/event"),u=n("../config").nls,v=n("../lib/useragent"),s=n("../lib/dom"),m=n("../lib/lang"),h=n("../clipboard"),o=v.isChrome<18,l=v.isIE,r=v.isChrome>63,c=400,d=n("../lib/keys"),g=d.KEY_MODS,b=v.isIOS,C=b?/\s/:/\n/,x=v.isMobile;f.TextInput=function(T,S){var M=s.createElement("textarea");M.className="ace_text-input",M.setAttribute("wrap","off"),M.setAttribute("autocorrect","off"),M.setAttribute("autocapitalize","off"),M.setAttribute("spellcheck","false"),M.style.opacity="0",T.insertBefore(M,T.firstChild);var k=!1,I=!1,P=!1,A=!1,L="";x||(M.style.fontSize="1px");var F=!1,R=!1,U="",W=0,ne=0,ee=0,j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=0;try{var Z=document.activeElement===M}catch{}this.setNumberOfExtraLines=function(Be){j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=Be<0?0:Be},this.setAriaOptions=function(Be){Be.activeDescendant?(M.setAttribute("aria-haspopup","true"),M.setAttribute("aria-autocomplete",Be.inline?"both":"list"),M.setAttribute("aria-activedescendant",Be.activeDescendant)):(M.setAttribute("aria-haspopup","false"),M.setAttribute("aria-autocomplete","both"),M.removeAttribute("aria-activedescendant")),Be.role&&M.setAttribute("role",Be.role),Be.setLabel&&(M.setAttribute("aria-roledescription",u("editor")),S.session)&&M.setAttribute("aria-label",u("Cursor at row $0",[S.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),y.addListener(M,"blur",function(Be){R||(S.onBlur(Be),Z=!1)},S),y.addListener(M,"focus",function(Be){if(!R){if(Z=!0,v.isEdge)try{if(!document.hasFocus())return}catch{}S.onFocus(Be),v.isEdge?setTimeout(te):te()}},S),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:S.renderer.enableKeyboardAccessibility}),L||r||"browser"==this.$focusScroll)return M.focus({preventScroll:!0});var Be=M.style.top;M.style.position="fixed",M.style.top="0px";try{var yt=0!=M.getBoundingClientRect().top}catch{return}var Ot=[];if(yt)for(var Yt=M.parentElement;Yt&&1==Yt.nodeType;)Ot.push(Yt),Yt.setAttribute("ace_nocontext","true"),Yt=!Yt.parentElement&&Yt.getRootNode?Yt.getRootNode().host:Yt.parentElement;M.focus({preventScroll:!0}),yt&&Ot.forEach(function(jt){jt.removeAttribute("ace_nocontext")}),setTimeout(function(){M.style.position="","0px"==M.style.top&&(M.style.top=Be)},0)},this.blur=function(){M.blur()},this.isFocused=function(){return Z},S.on("beforeEndOperation",function(){var Be=S.curOp,yt=Be&&Be.command&&Be.command.name;"insertstring"!=yt&&(P&&yt&&(Be.docChanged||Be.selectionChanged)&&(U=M.value="",Ae()),te())});var H=function(Be,yt){for(var Ot=yt,Yt=1;Yt<=Be-j&&Yt<2*$+1;Yt++)Ot+=S.session.getLine(Be-Yt).length+1;return Ot},te=b?function(Be){if(Z&&(!k||Be)&&!A){Be||(Be="");var yt="\n ab"+Be+"cde fg\n";yt!=M.value&&(M.value=U=yt);var Yt=4+(Be.length||(S.selection.isEmpty()?0:1));(4!=W||ne!=Yt)&&M.setSelectionRange(4,Yt),W=4,ne=Yt}}:function(){if(!P&&!A&&(Z||$e)){P=!0;var Be=0,yt=0,Ot="";if(S.session){var Yt=S.selection,jt=Yt.getRange(),cn=Yt.cursor.row;cn===B+1?B=(j=B+1)+2*$:cn===j-1?j=(B=j-1)-2*$:(cnB+1)&&(j=cn>$?cn-$:0,B=cn>$?cn+$:2*$);for(var fn=[],an=j;an<=B;an++)fn.push(S.session.getLine(an));if(Ot=fn.join("\n"),Be=H(jt.start.row,jt.start.column),yt=H(jt.end.row,jt.end.column),jt.start.rowB){var un=S.session.getLine(B+1);yt=jt.end.row>B+1?un.length:jt.end.column,yt+=Ot.length+1,Ot=Ot+"\n"+un}else x&&cn>0&&(Ot="\n"+Ot,yt+=1,Be+=1);Ot.length>c&&(Be0&&U[un]==Be[un];)un++,jt--;for(fn=fn.slice(un),un=1;cn>0&&U.length-un>W-1&&U[U.length-un]==Be[Be.length-un];)un++,cn--;an-=un-1,En-=un-1;var Bt=fn.length-un+1;if(Bt<0&&(jt=-Bt,Bt=0),fn=fn.slice(0,Bt),!(yt||fn||an||jt||cn||En))return"";A=!0;var Ft=!1;return v.isAndroid&&". "==fn&&(fn=" ",Ft=!0),fn&&!jt&&!cn&&!an&&!En||F?S.onTextInput(fn):S.onTextInput(fn,{extendLeft:jt,extendRight:cn,restoreStart:an,restoreEnd:En}),A=!1,U=Be,W=Ot,ne=Yt,ee=En,Ft?"\n":fn},Ze=function(Be){if(P)return ge();if(Be&&Be.inputType){if("historyUndo"==Be.inputType)return S.execCommand("undo");if("historyRedo"==Be.inputType)return S.execCommand("redo")}var yt=M.value,Ot=Ye(yt,!0);(yt.length>500||C.test(Ot)||x&&W<1&&W==ne)&&te()},Et=function(Be,yt,Ot){var Yt=Be.clipboardData||window.clipboardData;if(Yt&&!o){var jt=l||Ot?"Text":"text/plain";try{return yt?!1!==Yt.setData(jt,yt):Yt.getData(jt)}catch(cn){if(!Ot)return Et(cn,yt,!0)}}},Te=function(Be,yt){var Ot=S.getCopyText();if(!Ot)return y.preventDefault(Be);Et(Be,Ot)?(b&&(te(Ot),k=Ot,setTimeout(function(){k=!1},10)),yt?S.onCut():S.onCopy(),y.preventDefault(Be)):(k=!0,M.value=Ot,M.select(),setTimeout(function(){k=!1,te(),yt?S.onCut():S.onCopy()}))},qe=function(Be){Te(Be,!0)},Ee=function(Be){Te(Be,!1)},Ie=function(Be){var yt=Et(Be);h.pasteCancelled()||("string"==typeof yt?(yt&&S.onPaste(yt,Be),v.isIE&&setTimeout(te),y.preventDefault(Be)):(M.value="",I=!0))};y.addCommandKeyListener(M,S.onCommandKey.bind(S),S),y.addListener(M,"select",function(Be){P||(k?k=!1:function(Be){return 0===Be.selectionStart&&Be.selectionEnd>=U.length&&Be.value===U&&U&&Be.selectionEnd!==ne}(M)?(S.selectAll(),te()):x&&M.selectionStart!=W&&te())},S),y.addListener(M,"input",Ze,S),y.addListener(M,"cut",qe,S),y.addListener(M,"copy",Ee,S),y.addListener(M,"paste",Ie,S),(!("oncut"in M)||!("oncopy"in M)||!("onpaste"in M))&&y.addListener(T,"keydown",function(Be){if((!v.isMac||Be.metaKey)&&Be.ctrlKey)switch(Be.keyCode){case 67:Ee(Be);break;case 86:Ie(Be);break;case 88:qe(Be)}},S);var ge=function(){if(P&&S.onCompositionUpdate&&!S.$readOnly){if(F)return q();P.useTextareaForIME?S.onCompositionUpdate(M.value):(Ye(M.value),P.markerRange&&(P.context&&(P.markerRange.start.column=P.selectionStart=P.context.compositionStartOffset),P.markerRange.end.column=P.markerRange.start.column+ne-P.selectionStart+ee))}},Ae=function(Be){!S.onCompositionEnd||S.$readOnly||(P=!1,S.onCompositionEnd(),S.off("mousedown",q),Be&&Ze())};function q(){R=!0,M.blur(),M.focus(),R=!1}var Ke,Re=m.delayedCall(ge,50).schedule.bind(null,null);function me(){clearTimeout(Ke),Ke=setTimeout(function(){L&&(M.style.cssText=L,L=""),S.renderer.$isMousePressed=!1,S.renderer.$keepTextAreaAtCursor&&S.renderer.$moveTextAreaToCursor()},0)}y.addListener(M,"compositionstart",function(Be){if(!P&&S.onCompositionStart&&!S.$readOnly&&(P={},!F)){Be.data&&(P.useTextareaForIME=!1),setTimeout(ge,0),S._signal("compositionStart"),S.on("mousedown",q);var yt=S.getSelectionRange();yt.end.row=yt.start.row,yt.end.column=yt.start.column,P.markerRange=yt,P.selectionStart=W,S.onCompositionStart(P),P.useTextareaForIME?(U=M.value="",W=0,ne=0):(M.msGetInputContext&&(P.context=M.msGetInputContext()),M.getInputContext&&(P.context=M.getInputContext()))}},S),y.addListener(M,"compositionupdate",ge,S),y.addListener(M,"keyup",function ke(Be){27==Be.keyCode&&M.value.lengthne&&"\n"==U[En]?un=d.end:anne&&U.slice(0,En).split("\n").length>2?un=d.down:En>ne&&" "==U[En-1]?(un=d.right,Bt=g.option):(En>ne||En==ne&&ne!=W&&an==En)&&(un=d.right),an!==En&&(Bt|=g.shift),un){if(!yt.onCommandKey({},Bt,un)&&yt.commands){un=d.keyCodeToString(un);var De=yt.commands.findKeyCommand(Bt,un);De&&yt.execCommand(De)}W=an,ne=En,te("")}}};document.addEventListener("selectionchange",cn),yt.on("destroy",function(){document.removeEventListener("selectionchange",cn)})}(0,S,M),this.destroy=function(){M.parentElement&&M.parentElement.removeChild(M)}},f.$setUserAgentForTests=function(T,S){x=T,b=S}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/useragent"),s=function(){function o(l){l.$clickSelection=null;var r=l.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(d){l[d]=this[d]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}return o.prototype.onMouseDown=function(l){var r=l.inSelection(),c=l.getDocumentPosition();this.mousedownEvent=l;var d=this.editor,g=l.getButton();return 0!==g?((d.getSelectionRange().isEmpty()||1==g)&&d.selection.moveToPosition(c),void(2==g&&(d.textInput.onContextMenu(l.domEvent),y.isMozilla||l.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||d.isFocused()||(d.focus(),!this.$focusTimeout||this.$clickSelection||d.inMultiSelectMode)?(this.captureMouse(l),this.startSelect(c,l.domEvent._clicks>1),l.preventDefault()):(this.setState("focusWait"),void this.captureMouse(l)))},o.prototype.startSelect=function(l,r){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var c=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?c.selection.selectToPosition(l):r||c.selection.moveToPosition(l),r||this.select(),c.setStyle("ace_selecting"),this.setState("select"))},o.prototype.select=function(){var l,r=this.editor,c=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var d=this.$clickSelection.comparePoint(c);if(-1==d)l=this.$clickSelection.end;else if(1==d)l=this.$clickSelection.start;else{var g=h(this.$clickSelection,c);c=g.cursor,l=g.anchor}r.selection.setSelectionAnchor(l.row,l.column)}r.selection.selectToPosition(c),r.renderer.scrollCursorIntoView()},o.prototype.extendSelectionBy=function(l){var r,c=this.editor,d=c.renderer.screenToTextCoordinates(this.x,this.y),g=c.selection[l](d.row,d.column);if(this.$clickSelection){var b=this.$clickSelection.comparePoint(g.start),C=this.$clickSelection.comparePoint(g.end);if(-1==b&&C<=0)r=this.$clickSelection.end,(g.end.row!=d.row||g.end.column!=d.column)&&(d=g.start);else if(1==C&&b>=0)r=this.$clickSelection.start,(g.start.row!=d.row||g.start.column!=d.column)&&(d=g.end);else if(-1==b&&1==C)d=g.end,r=g.start;else{var x=h(this.$clickSelection,d);d=x.cursor,r=x.anchor}c.selection.setSelectionAnchor(r.row,r.column)}c.selection.selectToPosition(d),c.renderer.scrollCursorIntoView()},o.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},o.prototype.focusWait=function(){var l=function m(o,l,r,c){return Math.sqrt(Math.pow(r-o,2)+Math.pow(c-l,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(l>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},o.prototype.onDoubleClick=function(l){var r=l.getDocumentPosition(),c=this.editor,g=c.session.getBracketRange(r);g?(g.isEmpty()&&(g.start.column--,g.end.column++),this.setState("select")):(g=c.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=g,this.select()},o.prototype.onTripleClick=function(l){var r=l.getDocumentPosition(),c=this.editor;this.setState("selectByLines");var d=c.getSelectionRange();d.isMultiLine()&&d.contains(r.row,r.column)?(this.$clickSelection=c.selection.getLineRange(d.start.row),this.$clickSelection.end=c.selection.getLineRange(d.end.row).end):this.$clickSelection=c.selection.getLineRange(r.row),this.select()},o.prototype.onQuadClick=function(l){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},o.prototype.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var c=this.$lastScroll,d=l.domEvent.timeStamp,g=d-c.t,b=g?l.wheelX/g:c.vx,C=g?l.wheelY/g:c.vy;g<550&&(b=(b+c.vx)/2,C=(C+c.vy)/2);var x=Math.abs(b/C),w=!1;if(x>=1&&r.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(w=!0),x<=1&&r.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(w=!0),w?c.allowed=d:d-c.allowed<550&&(Math.abs(b)<=1.5*Math.abs(c.vx)&&Math.abs(C)<=1.5*Math.abs(c.vy)?(w=!0,c.allowed=d):c.allowed=0),c.t=d,c.vx=b,c.vy=C,w)return r.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},o}();function h(o,l){if(o.start.row==o.end.row)var r=2*l.column-o.start.column-o.end.column;else if(o.start.row!=o.end.row-1||o.start.column||o.end.column)r=2*l.row-o.start.row-o.end.row;else r=l.column-4;return r<0?{cursor:o.start,anchor:o.end}:{cursor:o.end,anchor:o.start}}s.prototype.selectEnd=s.prototype.selectByLinesEnd,s.prototype.selectAllEnd=s.prototype.selectByLinesEnd,s.prototype.selectByWordsEnd=s.prototype.selectByLinesEnd,f.DefaultHandlers=s}),ace.define("ace/lib/scroll",["require","exports","module"],function(n,f,D){f.preventParentScroll=function(u){u.stopPropagation();var v=u.currentTarget;v.scrollHeight>v.clientHeight||u.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(n,f,D){"use strict";var g,y=this&&this.__extends||(g=function(b,C){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,w){x.__proto__=w}||function(x,w){for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(x[T]=w[T])})(b,C)},function(b,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function x(){this.constructor=b}g(b,C),b.prototype=null===C?Object.create(C):(x.prototype=C.prototype,new x)}),u=this&&this.__values||function(g){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&g[b],x=0;if(C)return C.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&x>=g.length&&(g=void 0),{value:g&&g[x++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("./lib/dom"),m=(n("./lib/event"),n("./range").Range),h=n("./lib/scroll").preventParentScroll,o="ace_tooltip",l=function(){function g(b){this.isOpen=!1,this.$element=null,this.$parentNode=b}return g.prototype.$init=function(){return this.$element=v.createElement("div"),this.$element.className=o,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},g.prototype.getElement=function(){return this.$element||this.$init()},g.prototype.setText=function(b){this.getElement().textContent=b},g.prototype.setHtml=function(b){this.getElement().innerHTML=b},g.prototype.setPosition=function(b,C){this.getElement().style.left=b+"px",this.getElement().style.top=C+"px"},g.prototype.setClassName=function(b){v.addCssClass(this.getElement(),b)},g.prototype.setTheme=function(b){this.$element.className=o+" "+(b.isDark?"ace_dark ":"")+(b.cssClass||"")},g.prototype.show=function(b,C,x){null!=b&&this.setText(b),null!=C&&null!=x&&this.setPosition(C,x),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},g.prototype.hide=function(b){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=o,this.isOpen=!1)},g.prototype.getHeight=function(){return this.getElement().offsetHeight},g.prototype.getWidth=function(){return this.getElement().offsetWidth},g.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},g}(),r=function(){function g(){this.popups=[]}return g.prototype.addPopup=function(b){this.popups.push(b),this.updatePopups()},g.prototype.removePopup=function(b){var C=this.popups.indexOf(b);-1!==C&&(this.popups.splice(C,1),this.updatePopups())},g.prototype.updatePopups=function(){var b,C,x,w;this.popups.sort(function(F,R){return R.priority-F.priority});var T=[];try{for(var S=u(this.popups),M=S.next();!M.done;M=S.next()){var k=M.value,I=!0;try{for(var P=(x=void 0,u(T)),A=P.next();!A.done;A=P.next())if(this.doPopupsOverlap(A.value,k)){I=!1;break}}catch(F){x={error:F}}finally{try{A&&!A.done&&(w=P.return)&&w.call(P)}finally{if(x)throw x.error}}I?T.push(k):k.hide()}}catch(F){b={error:F}}finally{try{M&&!M.done&&(C=S.return)&&C.call(S)}finally{if(b)throw b.error}}},g.prototype.doPopupsOverlap=function(b,C){var x=b.getElement().getBoundingClientRect(),w=C.getElement().getBoundingClientRect();return x.leftw.left&&x.topw.top},g}(),c=new r;f.popupManager=c,f.Tooltip=l;var d=function(g){function b(C){void 0===C&&(C=document.body);var x=g.call(this,C)||this;x.timeout=void 0,x.lastT=0,x.idleTime=350,x.lastEvent=void 0,x.onMouseOut=x.onMouseOut.bind(x),x.onMouseMove=x.onMouseMove.bind(x),x.waitForHover=x.waitForHover.bind(x),x.hide=x.hide.bind(x);var w=x.getElement();return w.style.whiteSpace="pre-wrap",w.style.pointerEvents="auto",w.addEventListener("mouseout",x.onMouseOut),w.tabIndex=-1,w.addEventListener("blur",function(){w.contains(document.activeElement)||this.hide()}.bind(x)),w.addEventListener("wheel",h),x}return y(b,g),b.prototype.addToEditor=function(C){C.on("mousemove",this.onMouseMove),C.on("mousedown",this.hide),C.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},b.prototype.removeFromEditor=function(C){C.off("mousemove",this.onMouseMove),C.off("mousedown",this.hide),C.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},b.prototype.onMouseMove=function(C,x){this.lastEvent=C,this.lastT=Date.now();var w=x.$mouseHandler.isMousePressed;if(this.isOpen){var T=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(T.row,T.column)||w||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||w||(this.lastEvent=C,this.timeout=setTimeout(this.waitForHover,this.idleTime))},b.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var C=Date.now()-this.lastT;this.idleTime-C>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-C):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},b.prototype.isOutsideOfText=function(C){var x=C.editor,w=C.getDocumentPosition(),T=x.session.getLine(w.row);if(w.column==T.length){var S=x.renderer.pixelToScreenCoordinates(C.clientX,C.clientY),M=x.session.documentToScreenPosition(w.row,w.column);if(M.column!=S.column||M.row!=S.row)return!0}return!1},b.prototype.setDataProvider=function(C){this.$gatherData=C},b.prototype.showForRange=function(C,x,w,T){if(!(T&&T!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var M=C.renderer;this.isOpen||(c.addPopup(this),this.$registerCloseEvents(),this.setTheme(M.theme)),this.isOpen=!0,this.addMarker(x,C.session),this.range=m.fromPoints(x.start,x.end);var k=M.textToScreenCoordinates(x.start.row,x.start.column),I=M.scroller.getBoundingClientRect();k.pageX=r.length&&(r=void 0),{value:r&&r[g++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("../lib/dom"),s=n("../lib/event"),m=n("../tooltip").Tooltip,h=n("../config").nls;f.GutterHandler=function o(r){var b,C,c=r.editor,d=c.renderer.$gutterLayer,g=new l(c);function w(){b&&(b=clearTimeout(b)),g.isOpen&&(g.hideTooltip(),c.off("mousewheel",w))}function T(S){g.setPosition(S.x,S.y)}r.editor.setDefaultHandler("guttermousedown",function(S){if(c.isFocused()&&0==S.getButton()&&"foldWidgets"!=d.getRegion(S)){var k=S.getDocumentPosition().row,I=c.session.selection;if(S.getShiftKey())I.selectTo(k,0);else{if(2==S.domEvent.detail)return c.selectAll(),S.preventDefault();r.$clickSelection=c.selection.getLineRange(k)}return r.setState("selectByLines"),r.captureMouse(S),S.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(S){if(v.hasCssClass(S.domEvent.target||S.domEvent.srcElement,"ace_fold-widget"))return w();g.isOpen&&r.$tooltipFollowsMouse&&T(S),C=S,!b&&(b=setTimeout(function(){b=null,C&&!r.isMousePressed?function x(){var S=C.getDocumentPosition().row;if(S==c.session.getLength()){var k=c.renderer.pixelToScreenCoordinates(0,C.y).row,I=C.$pos;if(k>c.session.documentToScreenRow(I.row,I.column))return w()}if(g.showTooltip(S),g.isOpen)if(c.on("mousewheel",w),r.$tooltipFollowsMouse)T(C);else{var P=C.getGutterRow(),A=d.$lines.get(P);if(A){var F=A.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),R=g.getElement().style;R.left=F.right+"px",R.top=F.bottom+"px"}else T(C)}}():w()},50))}),s.addListener(c.renderer.$gutter,"mouseout",function(S){C=null,g.isOpen&&!b&&(b=setTimeout(function(){b=null,w()},50))},c),c.on("changeSession",w),c.on("input",w)};var l=function(r){function c(d){var g=r.call(this,d.container)||this;return g.editor=d,g}return y(c,r),c.prototype.setPosition=function(d,g){var b=window.innerWidth||document.documentElement.clientWidth,C=window.innerHeight||document.documentElement.clientHeight,x=this.getWidth(),w=this.getHeight();(d+=15)+x>b&&(d-=d+x-b),(g+=15)+w>C&&(g-=20+w),m.prototype.setPosition.call(this,d,g)},Object.defineProperty(c,"annotationLabels",{get:function(){return{error:{singular:h("error"),plural:h("errors")},warning:{singular:h("warning"),plural:h("warnings")},info:{singular:h("information message"),plural:h("information messages")}}},enumerable:!1,configurable:!0}),c.prototype.showTooltip=function(d){var C,g=this.editor.renderer.$gutterLayer,b=g.$annotations[d];C=b?{text:Array.from(b.text),type:Array.from(b.type)}:{text:[],type:[]};var x=g.session.getFoldLine(d);if(x&&g.$showFoldedAnnotations){for(var T,w={error:[],warning:[],info:[]},S=d+1;S<=x.end.row;S++)if(g.$annotations[S])for(var M=0;M ").concat(C.text[S]);P[C.type[S].replace("_fold","")].push(L)}var F=[].concat(P.error,P.warning,P.info).join("
");this.setHtml(F),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},c.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},c.annotationsToSummaryString=function(d){var g,b,C=[];try{for(var w=u(["error","warning","info"]),T=w.next();!T.done;T=w.next()){var S=T.value;if(d[S].length){var M=1===d[S].length?c.annotationLabels[S].singular:c.annotationLabels[S].plural;C.push("".concat(d[S].length," ").concat(M))}}}catch(k){g={error:k}}finally{try{T&&!T.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return C.join(", ")},c}(m);f.GutterTooltip=l}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/event"),u=n("../lib/useragent"),v=function(){function s(m,h){this.domEvent=m,this.editor=h,this.x=this.clientX=m.clientX,this.y=this.clientY=m.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){y.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){y.preventDefault(this.domEvent),this.defaultPrevented=!0},s.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},s.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},s.prototype.getGutterRow=function(){var m=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(m,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},s.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var h=this.editor.getSelectionRange();if(h.isEmpty())this.$inSelection=!1;else{var o=this.getDocumentPosition();this.$inSelection=h.contains(o.row,o.column)}return this.$inSelection},s.prototype.getButton=function(){return y.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return u.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();f.MouseEvent=v}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/event"),v=n("../lib/useragent");function o(r){var c=r.editor,d=y.createElement("div");d.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",d.textContent="\xa0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(H){r[H]=this[H]},this),c.on("mousedown",this.onMouseDown.bind(r));var C,x,w,T,S,M,I,P,A,L,F,b=c.container,k=0;function W(){var H=M;(function R(H,te){var ue=Date.now();L&&te&&H.row==te.row&&te&&H.column==te.column?l(F.x,F.y,x,w)>5?L=null:ue-L>=200&&(c.renderer.scrollCursorIntoView(),L=null):(c.moveCursorToPosition(H),L=ue,F={x,y:w})})(M=c.renderer.screenToTextCoordinates(x,w),H),function U(H,te){var ue=Date.now(),ye=c.renderer.layerConfig.lineHeight,Ge=c.renderer.layerConfig.characterWidth,$e=c.renderer.scroller.getBoundingClientRect(),Ye={x:{left:x-$e.left,right:$e.right-x},y:{top:w-$e.top,bottom:$e.bottom-w}},Ze=Math.min(Ye.x.left,Ye.x.right),Et=Math.min(Ye.y.top,Ye.y.bottom),Te={row:H.row,column:H.column};Ze/Ge<=2&&(Te.column+=Ye.x.left=200&&c.renderer.scrollCursorIntoView(Te):A=ue:A=null}(M,H)}function ne(){S=c.selection.toOrientedRange(),C=c.session.addMarker(S,"ace_selection",c.getSelectionStyle()),c.clearSelection(),c.isFocused()&&c.renderer.$cursorLayer.setBlinking(!1),clearInterval(T),W(),T=setInterval(W,20),k=0,u.addListener(document,"mousemove",B)}function ee(){clearInterval(T),c.session.removeMarker(C),C=null,c.selection.fromOrientedRange(S),c.isFocused()&&!P&&c.$resetCursorStyle(),S=null,M=null,k=0,A=null,L=null,u.removeListener(document,"mousemove",B)}this.onDragStart=function(H){if(this.cancelDrag||!b.draggable){var te=this;return setTimeout(function(){te.startSelect(),te.captureMouse(H)},0),H.preventDefault()}S=c.getSelectionRange();var ue=H.dataTransfer;ue.effectAllowed=c.getReadOnly()?"copy":"copyMove",c.container.appendChild(d),ue.setDragImage&&ue.setDragImage(d,0,0),setTimeout(function(){c.container.removeChild(d)}),ue.clearData(),ue.setData("Text",c.session.getTextRange()),P=!0,this.setState("drag")},this.onDragEnd=function(H){b.draggable=!1,P=!1,this.setState(null),c.getReadOnly()||(!I&&"move"==H.dataTransfer.dropEffect&&c.session.remove(c.getSelectionRange()),c.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||ne(),k++,H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragOver=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||(ne(),k++),null!==j&&(j=null),H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragLeave=function(H){if(--k<=0&&C)return ee(),I=null,u.preventDefault(H)},this.onDrop=function(H){if(M){var te=H.dataTransfer;if(P)switch(I){case"move":S=S.contains(M.row,M.column)?{start:M,end:M}:c.moveText(S,M);break;case"copy":S=c.moveText(S,M,!0)}else{var ue=te.getData("Text");S={start:M,end:c.session.insert(M,ue)},c.focus(),I=null}return ee(),u.preventDefault(H)}},u.addListener(b,"dragstart",this.onDragStart.bind(r),c),u.addListener(b,"dragend",this.onDragEnd.bind(r),c),u.addListener(b,"dragenter",this.onDragEnter.bind(r),c),u.addListener(b,"dragover",this.onDragOver.bind(r),c),u.addListener(b,"dragleave",this.onDragLeave.bind(r),c),u.addListener(b,"drop",this.onDrop.bind(r),c);var j=null;function B(){null==j&&(j=setTimeout(function(){null!=j&&C&&ee()},20))}function $(H){var te=H.types;return!te||Array.prototype.some.call(te,function(ue){return"text/plain"==ue||"Text"==ue})}function Z(H){var te=["copy","copymove","all","uninitialized"],ye=v.isMac?H.altKey:H.ctrlKey,Ge="uninitialized";try{Ge=H.dataTransfer.effectAllowed.toLowerCase()}catch{}var $e="none";return ye&&te.indexOf(Ge)>=0?$e="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(Ge)>=0?$e="move":te.indexOf(Ge)>=0&&($e="copy"),$e}}function l(r,c,d,g){return Math.sqrt(Math.pow(d-r,2)+Math.pow(g-c,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(r){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var r=this.editor;r.container.draggable=!0,r.renderer.$cursorLayer.setBlinking(!1),r.setStyle("ace_dragging"),r.renderer.setCursorStyle(v.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var c=this.editor.container;v.isIE&&"dragReady"==this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&c.dragDrop(),"dragWait"===this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(c.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(r){if(this.$dragEnabled){this.mousedownEvent=r;var c=this.editor,d=r.inSelection(),g=r.getButton();if(1===(r.domEvent.detail||1)&&0===g&&d){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var C=r.domEvent.target||r.domEvent.srcElement;"unselectable"in C&&(C.unselectable="on"),c.getDragDelay()?(v.isWebKit&&(this.cancelDrag=!0,c.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(r,this.onMouseDrag.bind(this)),r.defaultPrevented=!0}}}}).call(o.prototype),f.DragdropHandler=o}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./mouse_event").MouseEvent,u=n("../lib/event"),v=n("../lib/dom");f.addTouchListeners=function(s,m){var o,l,r,c,d,g,C,S,M,h="scroll",b=0,x=0,w=0,T=0;function I(){M||function k(){var R=window.navigator&&window.navigator.clipboard,U=!1,ne=function(ee){var j=ee.target.getAttribute("action");if("more"==j||!U)return U=!U,function(){var ee=m.getCopyText(),j=m.session.getUndoManager().hasUndo();M.replaceChild(v.buildDom(U?["span",!ee&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ee&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ee&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],R&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],j&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),M.firstChild)}();"paste"==j?R.readText().then(function(B){m.execCommand(j,B)}):j&&(("cut"==j||"copy"==j)&&(R?R.writeText(m.getCopyText()):document.execCommand("copy")),m.execCommand(j)),M.firstChild.style.display="none",U=!1,"openCommandPalette"!=j&&m.focus()};M=v.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ee){h="menu",ee.stopPropagation(),ee.preventDefault(),m.textInput.focus()},ontouchend:function(ee){ee.stopPropagation(),ee.preventDefault(),ne(ee)},onclick:ne},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],m.container)}();var R=m.selection.cursor,U=m.renderer.textToScreenCoordinates(R.row,R.column),W=m.renderer.textToScreenCoordinates(0,0).pageX,ne=m.renderer.scrollLeft,ee=m.container.getBoundingClientRect();M.style.top=U.pageY-ee.top-3+"px",U.pageX-ee.left1)return clearTimeout(d),d=null,r=-1,void(h="zoom");S=m.$mouseHandler.isMousePressed=!0;var W=m.renderer.layerConfig.lineHeight,ne=m.renderer.layerConfig.lineHeight,ee=R.timeStamp;c=ee;var j=U[0],B=j.clientX,$=j.clientY;Math.abs(o-B)+Math.abs(l-$)>W&&(r=-1),o=R.clientX=B,l=R.clientY=$,w=T=0;var Z=new y(R,m);if(C=Z.getDocumentPosition(),ee-r<500&&1==U.length&&!b)x++,R.preventDefault(),R.button=0,function L(){d=null,clearTimeout(d),m.selection.moveToPosition(C);var R=x>=2?m.selection.getLineRange(C.row):m.session.getBracketRange(C);R&&!R.isEmpty()?m.selection.setRange(R):m.selection.selectWord(),h="wait"}();else{x=0;var H=m.selection.cursor,te=m.selection.isEmpty()?H:m.selection.anchor,ue=m.renderer.$cursorLayer.getPixelPosition(H,!0),ye=m.renderer.$cursorLayer.getPixelPosition(te,!0),Ge=m.renderer.scroller.getBoundingClientRect(),$e=m.renderer.layerConfig.offset,Ye=m.renderer.scrollLeft,Ze=function(qe,Ee){return(qe/=ne)*qe+(Ee=Ee/W-.75)*Ee};if(R.clientXTe?"cursor":"anchor"),h=Te<3.5?"anchor":Et<3.5?"cursor":"scroll",d=setTimeout(A,450)}r=ee},m),u.addListener(s,"touchend",function(R){S=m.$mouseHandler.isMousePressed=!1,g&&clearInterval(g),"zoom"==h?(h="",b=0):d?(m.selection.moveToPosition(C),b=0,I()):"scroll"==h?(function F(){b+=60,g=setInterval(function(){b--<=0&&(clearInterval(g),g=null),Math.abs(w)<.01&&(w=0),Math.abs(T)<.01&&(T=0),b<20&&(w*=.9),b<20&&(T*=.9);var R=m.session.getScrollTop();m.renderer.scrollBy(10*w,10*T),R==m.session.getScrollTop()&&(b=0)},10)}(),P()):I(),clearTimeout(d),d=null},m),u.addListener(s,"touchmove",function(R){d&&(clearTimeout(d),d=null);var U=R.touches;if(!(U.length>1||"zoom"==h)){var W=U[0],ne=o-W.clientX,ee=l-W.clientY;if("wait"==h){if(!(ne*ne+ee*ee>4))return R.preventDefault();h="cursor"}o=W.clientX,l=W.clientY,R.clientX=W.clientX,R.clientY=W.clientY;var j=R.timeStamp,B=j-c;if(c=j,"scroll"==h){var $=new y(R,m);$.speed=1,$.wheelX=ne,$.wheelY=ee,10*Math.abs(ne)=Ye){for(Ee=qe+1;Ee=Ye;)Ee++;for(Ie=qe,Ce=Ee-1;Ie=Ze.length||2!=(Ee=Et[Te-1])&&3!=Ee||2!=(Ie=Ze[Te+1])&&3!=Ie?4:(m&&(Ie=3),Ie==Ee?Ie:4);case 10:return 2==(Ee=Te>0?Et[Te-1]:5)&&Te+10&&2==Et[Te-1])return 2;if(m)return 4;for(ge=Te+1,Ce=Ze.length;ge=1425&&Ae<=2303||64286==Ae)&&(1==Ee||7==Ee))return 1}return Te<1||5==(Ee=Ze[Te-1])?4:Et[Te-1];case 5:return m=!1,o=!0,v;case 6:return l=!0,4;case 13:case 14:case 16:case 17:case 15:m=!1;case $:return 4}}function Ge(Ye){var Ze=Ye.charCodeAt(0),Et=Ze>>8;return 0==Et?Ze>191?0:Z[Ze]:5==Et?/[\u0591-\u05f4]/.test(Ye)?1:0:6==Et?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Ye)?12:/[\u0660-\u0669\u066b-\u066c]/.test(Ye)?3:1642==Ze?R:/[\u06f0-\u06f9]/.test(Ye)?2:7:32==Et&&Ze<=8287?H[255&Ze]:254==Et&&Ze>=65136?7:4}f.L=0,f.R=1,f.EN=2,f.ON_R=3,f.AN=4,f.R_H=5,f.B=6,f.RLE=7,f.DOT="\xb7",f.doBidiReorder=function(Ye,Ze,Et){if(Ye.length<2)return{};var Te=Ye.split(""),qe=new Array(Te.length),Ee=new Array(Te.length),Ie=[];v=Et?1:0,function te(Ye,Ze,Et,Te){var qe=v?g:d,Ee=null,Ie=null,Ce=null,ge=0,Ae=null,Re=-1,ke=null,Ke=null,me=[];if(!Te)for(ke=0,Te=[];ke0)if(16==Ae){for(ke=Re;ke-1){for(ke=Re;ke=0&&8==Te[Pe];Pe--)Ze[Pe]=v}}(Te,Ie,Te.length,Ze);for(var Ce=0;Ce7&&Ze[Ce]<13||4===Ze[Ce]||Ze[Ce]===$)?Ie[Ce]=f.ON_R:Ce>0&&"\u0644"===Te[Ce-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Te[Ce])&&(Ie[Ce-1]=Ie[Ce]=f.R_H,Ce++);for(Te[Te.length-1]===f.DOT&&(Ie[Te.length-1]=f.B),"\u202b"===Te[0]&&(Ie[0]=f.RLE),Ce=0;Ce=0&&(h=this.session.$docRowCache[l])}return h},m.prototype.getSplitIndex=function(){var h=0,o=this.session.$screenRowCache;if(o.length)for(var l,r=this.session.$getRowCacheIndex(o,this.currentRow);this.currentRow-h>0&&(l=this.session.$getRowCacheIndex(o,this.currentRow-h-1))===r;)r=l,h++;else h=this.currentRow;return h},m.prototype.updateRowLine=function(h,o){void 0===h&&(h=this.getDocumentRow());var r=h===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(h),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var c=this.session.$wrapData[h];c&&(void 0===o&&(o=this.getSplitIndex()),o>0&&c.length?(this.wrapIndent=c.indent,this.wrapOffset=this.wrapIndent*this.charWidths[y.L],this.line=oo?this.session.getOverwrite()?h:h-1:o,r=y.getVisualFromLogicalIdx(l,this.bidiMap),c=this.bidiMap.bidiLevels,d=0;!this.session.getOverwrite()&&h<=o&&c[r]%2!=0&&r++;for(var g=0;go&&c[r]%2==0&&(d+=this.charWidths[c[r]]),this.wrapIndent&&(d+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(d+=this.rtlLineOffset),d},m.prototype.getSelections=function(h,o){var c,l=this.bidiMap,r=l.bidiLevels,d=[],g=0,b=Math.min(h,o)-this.wrapIndent,C=Math.max(h,o)-this.wrapIndent,x=!1,w=!1,T=0;this.wrapIndent&&(g+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var S,M=0;M=b&&Sr+g/2;){if(r+=g,c===d.length-1){g=0;break}g=this.charWidths[d[++c]]}return c>0&&d[c-1]%2!=0&&d[c]%2==0?(l0&&d[c-1]%2==0&&d[c]%2!=0?o=1+(l>r?this.bidiMap.logicalFromVisual[c]:this.bidiMap.logicalFromVisual[c-1]):this.isRtlDir&&c===d.length-1&&0===g&&d[c-1]%2==0||!this.isRtlDir&&0===c&&d[c]%2!=0?o=1+this.bidiMap.logicalFromVisual[c]:(c>0&&d[c-1]%2!=0&&0!==g&&c--,o=this.bidiMap.logicalFromVisual[c]),0===o&&this.isRtlDir&&o++,o+this.wrapIndent},m}();f.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/lang"),v=n("./lib/event_emitter").EventEmitter,s=n("./range").Range,m=function(){function h(o){this.session=o,this.doc=o.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var l=this;this.cursor.on("change",function(r){l.$cursorChanged=!0,l.$silent||l._emit("changeCursor"),!l.$isEmpty&&!l.$silent&&l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(l.$desiredColumn=null)}),this.anchor.on("change",function(){l.$anchorChanged=!0,!l.$isEmpty&&!l.$silent&&l._emit("changeSelection")})}return h.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},h.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},h.prototype.getCursor=function(){return this.lead.getPosition()},h.prototype.setAnchor=function(o,l){this.$isEmpty=!1,this.anchor.setPosition(o,l)},h.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},h.prototype.getSelectionLead=function(){return this.lead.getPosition()},h.prototype.isBackwards=function(){var o=this.anchor,l=this.lead;return o.row>l.row||o.row==l.row&&o.column>l.column},h.prototype.getRange=function(){var o=this.anchor,l=this.lead;return this.$isEmpty?s.fromPoints(l,l):this.isBackwards()?s.fromPoints(l,o):s.fromPoints(o,l)},h.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},h.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},h.prototype.setRange=function(o,l){var r=l?o.end:o.start,c=l?o.start:o.end;this.$setSelection(r.row,r.column,c.row,c.column)},h.prototype.$setSelection=function(o,l,r,c){if(!this.$silent){var d=this.$isEmpty,g=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(o,l),this.cursor.setPosition(r,c),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||d!=this.$isEmpty||g)&&this._emit("changeSelection")}},h.prototype.$moveSelection=function(o){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),o.call(this)},h.prototype.selectTo=function(o,l){this.$moveSelection(function(){this.moveCursorTo(o,l)})},h.prototype.selectToPosition=function(o){this.$moveSelection(function(){this.moveCursorToPosition(o)})},h.prototype.moveTo=function(o,l){this.clearSelection(),this.moveCursorTo(o,l)},h.prototype.moveToPosition=function(o){this.clearSelection(),this.moveCursorToPosition(o)},h.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},h.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},h.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},h.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},h.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},h.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},h.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},h.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},h.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},h.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},h.prototype.getWordRange=function(o,l){if(typeof l>"u"){var r=o||this.lead;o=r.row,l=r.column}return this.session.getWordRange(o,l)},h.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},h.prototype.selectAWord=function(){var o=this.getCursor(),l=this.session.getAWordRange(o.row,o.column);this.setSelectionRange(l)},h.prototype.getLineRange=function(o,l){var c,r="number"==typeof o?o:this.lead.row,d=this.session.getFoldLine(r);return d?(r=d.start.row,c=d.end.row):c=r,!0===l?new s(r,0,c,this.session.getLine(c).length):new s(r,0,c+1,0)},h.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},h.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},h.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},h.prototype.wouldMoveIntoSoftTab=function(o,l,r){var c=o.column,d=o.column+l;return r<0&&(c=o.column-l,d=o.column),this.session.isTabStop(o)&&this.doc.getLine(o.row).slice(c,d).split(" ").length-1==l},h.prototype.moveCursorLeft=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(0===o.column)o.row>0&&this.moveCursorTo(o.row-1,this.doc.getLine(o.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(o,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},h.prototype.moveCursorRight=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(l.column=c)}}this.moveCursorTo(l.row,l.column)},h.prototype.moveCursorFileEnd=function(){var o=this.doc.getLength()-1,l=this.doc.getLine(o).length;this.moveCursorTo(o,l)},h.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},h.prototype.moveCursorLongWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var d=this.session.getFoldAt(o,l,1);if(!d)return this.session.nonTokenRe.exec(c)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,c=r.substring(l)),l>=r.length?(this.moveCursorTo(o,r.length),this.moveCursorRight(),void(o0&&this.moveCursorWordLeft());this.session.tokenRe.exec(d)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(o,l)}},h.prototype.$shortWordEndIndex=function(o){var r,l=0,c=/\s/,d=this.session.tokenRe;if(d.lastIndex=0,this.session.tokenRe.exec(o))l=this.session.tokenRe.lastIndex;else{for(;(r=o[l])&&c.test(r);)l++;if(l<1)for(d.lastIndex=0;(r=o[l])&&!d.test(r);)if(d.lastIndex=0,l++,c.test(r)){if(l>2){l--;break}for(;(r=o[l])&&c.test(r);)l++;if(l>2)break}}return d.lastIndex=0,l},h.prototype.moveCursorShortWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l),d=this.session.getFoldAt(o,l,1);if(d)return this.moveCursorTo(d.end.row,d.end.column);if(l==r.length){var g=this.doc.getLength();do{o++,c=this.doc.getLine(o)}while(o0&&/^\s*$/.test(c));l=c.length,/\s+$/.test(c)||(c="")}var d=u.stringReverse(c),g=this.$shortWordEndIndex(d);return this.moveCursorTo(o,l-g)},h.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},h.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},h.prototype.moveCursorBy=function(o,l){var c,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===l&&(0!==o&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(c=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(c/this.session.$bidiHandler.charWidths[0])):c=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=o&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var d=this.session.lineWidgets[this.lead.row];o<0?o-=d.rowsAbove||0:o>0&&(o+=d.rowCount-(d.rowsAbove||0))}var g=this.session.screenToDocumentPosition(r.row+o,r.column,c);this.moveCursorTo(g.row,g.column+l,0===l)},h.prototype.moveCursorToPosition=function(o){this.moveCursorTo(o.row,o.column)},h.prototype.moveCursorTo=function(o,l,r){var c=this.session.getFoldAt(o,l,1);c&&(o=c.start.row,l=c.start.column),this.$keepDesiredColumnOnChange=!0;var d=this.session.getLine(o);/[\uDC00-\uDFFF]/.test(d.charAt(l))&&d.charAt(l-1)&&(this.lead.row==o&&this.lead.column==l+1?l-=1:l+=1),this.lead.setPosition(o,l),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},h.prototype.moveCursorToScreen=function(o,l,r){var c=this.session.screenToDocumentPosition(o,l);this.moveCursorTo(c.row,c.column,r)},h.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},h.prototype.fromOrientedRange=function(o){this.setSelectionRange(o,o.cursor==o.start),this.$desiredColumn=o.desiredColumn||this.$desiredColumn},h.prototype.toOrientedRange=function(o){var l=this.getRange();return o?(o.start.column=l.start.column,o.start.row=l.start.row,o.end.column=l.end.column,o.end.row=l.end.row):o=l,o.cursor=this.isBackwards()?o.start:o.end,o.desiredColumn=this.$desiredColumn,o},h.prototype.getRangeOfMovements=function(o){var l=this.getCursor();try{o(this);var r=this.getCursor();return s.fromPoints(l,r)}catch{return s.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},h.prototype.toJSON=function(){if(this.rangeCount)var o=this.ranges.map(function(l){var r=l.clone();return r.isBackwards=l.cursor==l.start,r});else(o=this.getRange()).isBackwards=this.isBackwards();return o},h.prototype.fromJSON=function(o){if(null==o.start){if(this.rangeList&&o.length>1){this.toSingleRange(o[0]);for(var l=o.length;l--;){var r=s.fromPoints(o[l].start,o[l].end);o[l].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}o=o[0]}this.rangeList&&this.toSingleRange(o),this.setSelectionRange(o,o.isBackwards)},h.prototype.isEqual=function(o){if((o.length||this.rangeCount)&&o.length!=this.rangeCount)return!1;if(!o.length||!this.ranges)return this.getRange().isEqual(o);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(o[l]))return!1;return!0},h}();m.prototype.setSelectionAnchor=m.prototype.setAnchor,m.prototype.getSelectionAnchor=m.prototype.getAnchor,m.prototype.setSelectionRange=m.prototype.setRange,y.implement(m.prototype,v),f.Selection=m}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(n,f,D){"use strict";var y=n("./lib/report_error").reportError,u=2e3,v=function(){function s(m){for(var h in this.states=m,this.regExps={},this.matchMappings={},this.states){for(var o=this.states[h],l=[],r=0,c=this.matchMappings[h]={defaultToken:"text"},d="g",g=[],b=0;b1?this.$applyToken:C.token),w>1&&(/\\\d/.test(C.regex)?x=C.regex.replace(/\\([0-9]+)/g,function(T,S){return"\\"+(parseInt(S,10)+r+1)}):(w=1,x=this.removeCapturingGroups(C.regex)),!C.splitRegex&&"string"!=typeof C.token&&g.push(C)),c[r]=b,r+=w,l.push(x),C.onMatch||(C.onMatch=null)}}l.length||(c[0]=0,l.push("$")),g.forEach(function(T){T.splitRegex=this.createSplitterRegexp(T.regex,d)},this),this.regExps[h]=new RegExp("("+l.join(")|(")+")|($)",d)}}return s.prototype.$setMaxTokenCount=function(m){u=0|m},s.prototype.$applyToken=function(m){var h=this.splitRegex.exec(m).slice(1),o=this.token.apply(this,h);if("string"==typeof o)return[{type:o,value:m}];for(var l=[],r=0,c=o.length;rC){var I=m.substring(C,k-M.length);w.type==T?w.value+=I:(w.type&&b.push(w),w={type:T,value:I})}for(var P=0;Pu){for(x>2*m.length&&this.reportError("infinite loop with in ace tokenizer",{startState:h,line:m});C1&&o[0]!==l&&o.unshift("#tmp",l),{tokens:b,state:o.length?o:l}},s}();v.prototype.reportError=y,f.Tokenizer=v}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(n,f,D){"use strict";var u,y=n("../lib/deep_copy").deepCopy;(function(){this.addRules=function(m,h){if(h)for(var o in m){for(var l=m[o],r=0;r=this.$rowTokens.length;){if(this.$row+=1,s||(s=this.$session.getLength()),this.$row>=s)return this.$row=s-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentTokenRow=function(){return this.$row},v.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,m=this.$tokenIndex,h=s[m].start;if(void 0!==h)return h;for(h=0;m>0;)h+=s[m-=1].value.length;return h},v.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},v.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],m=this.getCurrentTokenColumn();return new y(this.$row,m,this.$row,m+s.value.length)},v}();f.TokenIterator=u}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(n,f,D){"use strict";var o,g,y=n("../../lib/oop"),u=n("../behaviour").Behaviour,v=n("../../token_iterator").TokenIterator,s=n("../../lib/lang"),m=["text","paren.rparen","rparen","paren","punctuation.operator"],h=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],l={},r={'"':'"',"'":"'"},c=function(b){var C=-1;if(b.multiSelect&&(C=b.selection.index,l.rangeCount!=b.multiSelect.rangeCount&&(l={rangeCount:b.multiSelect.rangeCount})),l[C])return o=l[C];o=l[C]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},d=function(b,C,x,w){var T=b.end.row-b.start.row;return{text:x+C+w,selection:[0,b.start.column+1,T,b.end.column+(T?0:1)]}};(g=function(b){b=b||{},this.add("braces","insertion",function(C,x,w,T,S){var M=w.getCursorPosition(),k=T.doc.getLine(M.row);if("{"==S){c(w);var I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&"{"!==P&&w.getWrapBehavioursEnabled())return d(I,P,"{","}");if(g.isSaneInsertion(w,T))return/[\]\}\)]/.test(k[M.column])||w.inMultiSelectMode||b.braces?(g.recordAutoInsert(w,T,"}"),{text:"{}",selection:[1,1]}):(g.recordMaybeInsert(w,T,"{"),{text:"{",selection:[1,1]})}else if("}"==S){if(c(w),"}"==k.substring(M.column,M.column+1)&&null!==T.$findOpeningBracket("}",{column:M.column+1,row:M.row})&&g.isAutoInsertedClosing(M,k,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==S||"\r\n"==S){c(w);var F="";if(g.isMaybeInsertedClosing(M,k)&&(F=s.stringRepeat("}",o.maybeInsertedBrackets),g.clearMaybeInsertedClosing()),"}"===k.substring(M.column,M.column+1)){var R=T.findMatchingBracket({row:M.row,column:M.column+1},"}");if(!R)return null;var U=this.$getIndent(T.getLine(R.row))}else{if(!F)return void g.clearMaybeInsertedClosing();U=this.$getIndent(k)}var W=U+T.getTabString();return{text:"\n"+W+"\n"+U+F,selection:[1,W.length,1,W.length]}}g.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"{"==M){if(c(w),"}"==T.doc.getLine(S.start.row).substring(S.end.column,S.end.column+1))return S.end.column++,S;o.maybeInsertedBrackets--}}),this.add("parens","insertion",function(C,x,w,T,S){if("("==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"(",")");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,")"),{text:"()",selection:[1,1]}}else if(")"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if(")"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket(")",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"("==M&&(c(w),")"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("brackets","insertion",function(C,x,w,T,S){if("["==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"[","]");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,"]"),{text:"[]",selection:[1,1]}}else if("]"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if("]"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket("]",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"["==M&&(c(w),"]"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("string_dquotes","insertion",function(C,x,w,T,S){var M=T.$mode.$quotes||r;if(1==S.length&&M[S]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(S))return;c(w);var k=S,I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&(1!=P.length||!M[P])&&w.getWrapBehavioursEnabled())return d(I,P,k,k);if(!P){var A=w.getCursorPosition(),L=T.doc.getLine(A.row),F=L.substring(A.column-1,A.column),R=L.substring(A.column,A.column+1),U=T.getTokenAt(A.row,A.column),W=T.getTokenAt(A.row,A.column+1);if("\\"==F&&U&&/escape/.test(U.type))return null;var j,ne=U&&/string|escape/.test(U.type),ee=!W||/string|escape/.test(W.type);if(R==k)(j=ne!==ee)&&/string\.end/.test(W.type)&&(j=!1);else{if(ne&&!ee||ne&&ee)return null;var B=T.$mode.tokenRe;B.lastIndex=0;var $=B.test(F);B.lastIndex=0;var Z=B.test(R),H=T.$mode.$pairQuotesAfter;if(!(H&&H[k]&&H[k].test(F))&&$||Z||R&&!/[\s;,.})\]\\]/.test(R))return null;var ue=L[A.column-2];if(F==k&&(ue==k||B.test(ue)))return null;j=!0}return{text:j?k+k:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(C,x,w,T,S){var M=T.$mode.$quotes||r,k=T.doc.getTextRange(S);if(!S.isMultiLine()&&M.hasOwnProperty(k)&&(c(w),T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)==k))return S.end.column++,S}),!1!==b.closeDocComment&&this.add("doc comment end","insertion",function(C,x,w,T,S){if("doc-start"===C&&("\n"===S||"\r\n"===S)&&w.selection.isEmpty()){var M=w.getCursorPosition(),k=T.doc.getLine(M.row),I=T.doc.getLine(M.row+1),P=this.$getIndent(k);if(/\s*\*/.test(I))return/^\s*\*/.test(k)?{text:S+P+"* ",selection:[1,3+P.length,1,3+P.length]}:{text:S+P+" * ",selection:[1,3+P.length,1,3+P.length]};if(/\/\*\*/.test(k.substring(0,M.column)))return{text:S+P+" * "+S+" "+P+"*/",selection:[1,4+P.length,1,4+P.length]}}})}).isSaneInsertion=function(b,C){var x=b.getCursorPosition(),w=new v(C,x.row,x.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",m)){if(/[)}\]]/.test(b.session.getLine(x.row)[x.column]))return!0;var T=new v(C,x.row,x.column+1);if(!this.$matchTokenType(T.getCurrentToken()||"text",m))return!1}return w.stepForward(),w.getCurrentTokenRow()!==x.row||this.$matchTokenType(w.getCurrentToken()||"text",h)},g.$matchTokenType=function(b,C){return C.indexOf(b.type||b)>-1},g.recordAutoInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isAutoInsertedClosing(w,T,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=w.row,o.autoInsertedLineEnd=x+T.substr(w.column),o.autoInsertedBrackets++},g.recordMaybeInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isMaybeInsertedClosing(w,T)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=w.row,o.maybeInsertedLineStart=T.substr(0,w.column)+x,o.maybeInsertedLineEnd=T.substr(w.column),o.maybeInsertedBrackets++},g.isAutoInsertedClosing=function(b,C,x){return o.autoInsertedBrackets>0&&b.row===o.autoInsertedRow&&x===o.autoInsertedLineEnd[0]&&C.substr(b.column)===o.autoInsertedLineEnd},g.isMaybeInsertedClosing=function(b,C){return o.maybeInsertedBrackets>0&&b.row===o.maybeInsertedRow&&C.substr(b.column)===o.maybeInsertedLineEnd&&C.substr(0,b.column)==o.maybeInsertedLineStart},g.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},g.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},y.inherits(g,u),f.CstyleBehaviour=g}),ace.define("ace/unicode",["require","exports","module"],function(n,f,D){"use strict";for(var y=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],u=0,v=[],s=0;s2?ue%S!=S-1:ue%S==0}}else{if(!this.blockComment)return!1;k=this.blockComment.start;var I=this.blockComment.end,A=(P=new RegExp("^(\\s*)(?:"+h.escapeRegExp(k)+")"),new RegExp("(?:"+h.escapeRegExp(I)+")\\s*$"));L=function(j,B){R(j,B)||(!x||/\S/.test(j))&&(C.insertInLine({row:B,column:j.length},I),C.insertInLine({row:B,column:T},k))},F=function(j,B){var $;($=j.match(A))&&C.removeInLine(B,j.length-$[0].length,j.length),($=j.match(P))&&C.removeInLine(B,$[1].length,$[0].length)},R=function(j,B){if(P.test(j))return!0;for(var $=d.getTokens(B),Z=0;Z<$.length;Z++)if("comment"===$[Z].type)return!0}}function ne(j){for(var B=g;B<=b;B++)j(C.getLine(B),B)}var ee=1/0;ne(function(j,B){var $=j.search(/\S/);-1!==$?($j.length&&(ee=j.length)}),T==1/0&&(T=ee,x=!1,w=!1),M&&T%S!=0&&(T=Math.floor(T/S)*S),ne(w?F:L)},this.toggleBlockComment=function(c,d,g,b){var C=this.blockComment;if(C){!C.start&&C[0]&&(C=C[0]);var M,k,w=(x=new o(d,b.row,b.column)).getCurrentToken(),S=d.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var I,P;w&&/comment/.test(w.type);){if(-1!=(A=w.value.indexOf(C.start))){var L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A;I=new l(L,F,L,F+C.start.length);break}w=x.stepBackward()}var x;for(w=(x=new o(d,b.row,b.column)).getCurrentToken();w&&/comment/.test(w.type);){var A;if(-1!=(A=w.value.indexOf(C.end))){L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A,P=new l(L,F,L,F+C.end.length);break}w=x.stepForward()}P&&d.remove(P),I&&(d.remove(I),M=I.start.row,k=-C.start.length)}else k=C.start.length,M=g.start.row,d.insert(g.end,C.end),d.insert(g.start,C.start);S.start.row==M&&(S.start.column+=k),S.end.row==M&&(S.end.column+=k),d.selection.fromOrientedRange(S)}},this.getNextLineIndent=function(c,d,g){return this.$getIndent(d)},this.checkOutdent=function(c,d,g){return!1},this.autoOutdent=function(c,d,g){},this.$getIndent=function(c){return c.match(/^\s*/)[0]},this.createWorker=function(c){return null},this.createModeDelegates=function(c){for(var d in this.$embeds=[],this.$modes={},c)if(c[d]){var g=c[d],b=g.prototype.$id,C=y.$modes[b];C||(y.$modes[b]=C=new g),y.$modes[d]||(y.$modes[d]=C),this.$embeds.push(d),this.$modes[d]=C}var x=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],w=function(S){var M,k,I;I=(M=T)[k=x[S]],M[x[S]]=function(){return this.$delegator(k,arguments,I)}},T=this;for(d=0;dthis.row)){var l=function m(h,o,l){var r="insert"==h.action,c=(r?1:-1)*(h.end.row-h.start.row),d=(r?1:-1)*(h.end.column-h.start.column),g=h.start,b=r?g:h.end;return s(o,g,l)?{row:o.row,column:o.column}:s(b,o,!l)?{row:o.row+c,column:o.column+(o.row==b.row?d:0)}:{row:g.row,column:g.column}}(o,{row:this.row,column:this.column},this.$insertRight);this.setPosition(l.row,l.column,!0)}},h.prototype.setPosition=function(o,l,r){var c;if(c=r?{row:o,column:l}:this.$clipPositionToDocument(o,l),this.row!=c.row||this.column!=c.column){var d={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:d,value:c})}},h.prototype.detach=function(){this.document.off("change",this.$onChange)},h.prototype.attach=function(o){this.document=o||this.document,this.document.on("change",this.$onChange)},h.prototype.$clipPositionToDocument=function(o,l){var r={};return o>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):o<0?(r.row=0,r.column=0):(r.row=o,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,l))),l<0&&(r.column=0),r},h}();function s(h,o,l){return h.row=c&&(l=c-1,r=void 0);var d=this.getLine(l);return null==r&&(r=d.length),{row:l,column:r=Math.min(Math.max(r,0),d.length)}},o.prototype.clonePos=function(l){return{row:l.row,column:l.column}},o.prototype.pos=function(l,r){return{row:l,column:r}},o.prototype.$clipPosition=function(l){var r=this.getLength();return l.row>=r?(l.row=Math.max(0,r-1),l.column=this.getLine(r-1).length):(l.row=Math.max(0,l.row),l.column=Math.min(Math.max(l.column,0),this.getLine(l.row).length)),l},o.prototype.insertFullLines=function(l,r){var c=0;(l=Math.min(Math.max(l,0),this.getLength()))0,d=r=0&&this.applyDelta({start:this.pos(l,this.getLine(l).length),end:this.pos(l+1,0),action:"remove",lines:["",""]})},o.prototype.replace=function(l,r){return l instanceof s||(l=s.fromPoints(l.start,l.end)),0===r.length&&l.isEmpty()?l.start:r==this.getTextRange(l)?l.end:(this.remove(l),r?this.insert(l.start,r):l.start)},o.prototype.applyDeltas=function(l){for(var r=0;r=0;r--)this.revertDelta(l[r])},o.prototype.applyDelta=function(l,r){var c="insert"==l.action;(c?l.lines.length<=1&&!l.lines[0]:!s.comparePoints(l.start,l.end))||(c&&l.lines.length>2e4?this.$splitAndapplyLargeDelta(l,2e4):(u(this.$lines,l,r),this._signal("change",l)))},o.prototype.$safeApplyDelta=function(l){var r=this.$lines.length;("remove"==l.action&&l.start.row20){o.running=setTimeout(o.$worker,20);break}}o.currentLine=r,-1==c&&(c=r),g<=c&&o.fireUpdateEvent(g,c)}}}return s.prototype.setTokenizer=function(m){this.tokenizer=m,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(m){this.doc=m,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(m,h){this._signal("update",{data:{first:m,last:h}})},s.prototype.start=function(m){this.currentLine=Math.min(m||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},s.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},s.prototype.$updateOnChange=function(m){var h=m.start.row,o=m.end.row-h;if(0===o)this.lines[h]=null;else if("remove"==m.action)this.lines.splice(h,o+1,null),this.states.splice(h,o+1,null);else{var l=Array(o+1);l.unshift(h,1),this.lines.splice.apply(this.lines,l),this.states.splice.apply(this.states,l)}this.currentLine=Math.min(h,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(m){return this.lines[m]||this.$tokenizeRow(m)},s.prototype.getState=function(m){return this.currentLine==m&&this.$tokenizeRow(m),this.states[m]||"start"},s.prototype.$tokenizeRow=function(m){var h=this.doc.getLine(m),l=this.tokenizer.getLineTokens(h,this.states[m-1],m);return this.states[m]+""!=l.state+""?(this.states[m]=l.state,this.lines[m+1]=null,this.currentLine>m+1&&(this.currentLine=m+1)):this.currentLine==m&&(this.currentLine=m+1),this.lines[m]=l.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();y.implement(v.prototype,u),f.BackgroundTokenizer=v}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./range").Range,v=function(){function s(m,h,o){void 0===o&&(o="text"),this.setRegexp(m),this.clazz=h,this.type=o}return s.prototype.setRegexp=function(m){this.regExp+""!=m+""&&(this.regExp=m,this.cache=[])},s.prototype.update=function(m,h,o,l){if(this.regExp)for(var c=l.lastRow,d={},g=l.firstRow;g<=c;g++){var b=this.cache[g];null==b&&((b=y.getMatchOffsets(o.getLine(g),this.regExp)).length>this.MAX_RANGES&&(b=b.slice(0,this.MAX_RANGES)),b=b.map(function(T){return new u(g,T.offset,g,T.offset+T.length)}),this.cache[g]=b.length?b:"");for(var C=b.length;C--;){var x=b[C].toScreenRange(o),w=x.toString();d[w]||(d[w]=!0,h.drawSingleLineMarker(m,x,this.clazz,l))}}},s}();v.prototype.MAX_RANGES=500,f.SearchHighlight=v}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=function(){function M(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return M.prototype.addSession=function(k){this.$session=k},M.prototype.add=function(k,I,P){if(!this.$fromUndo&&k!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===I||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),k.id=this.$rev=++this.$maxRev}("remove"==k.action||"insert"==k.action)&&(this.$lastDelta=k),this.lastDeltas.push(k)}},M.prototype.addSelection=function(k,I){this.selections.push({value:k,rev:I||this.$rev})},M.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},M.prototype.markIgnored=function(k,I){null==I&&(I=this.$rev+1);for(var P=this.$undoStack,A=P.length;A--;){var L=P[A][0];if(L.id<=k)break;L.id0},M.prototype.canRedo=function(){return this.$redoStack.length>0},M.prototype.bookmark=function(k){null==k&&(k=this.$rev),this.mark=k},M.prototype.isAtBookmark=function(){return this.$rev===this.mark},M.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},M.prototype.fromJSON=function(k){this.reset(),this.$undoStack=k.$undoStack,this.$redoStack=k.$redoStack},M.prototype.$prettyPrint=function(k){return k?r(k):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},M}();y.prototype.hasUndo=y.prototype.canUndo,y.prototype.hasRedo=y.prototype.canRedo,y.prototype.isClean=y.prototype.isAtBookmark,y.prototype.markClean=y.prototype.bookmark;var v=n("./range").Range,s=v.comparePoints;function o(M){return{row:M.row,column:M.column}}function r(M){if(M=M||this,Array.isArray(M))return M.map(r).join("\n");var k="";return M.action?(k="insert"==M.action?"+":"-",k+="["+M.lines+"]"):M.value&&(k=Array.isArray(M.value)?M.value.map(c).join("\n"):c(M.value)),M.start&&(k+=c(M)),(M.id||M.rev)&&(k+="\t("+(M.id||M.rev)+")"),k}function c(M){return M.start.row+":"+M.start.column+"=>"+M.end.row+":"+M.end.column}function d(M,k){var I="insert"==M.action,P="insert"==k.action;if(I&&P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}else if(!I&&P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(!I&&!P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}return[k,M]}function g(M,k){for(var I=M.length;I--;)for(var P=0;P=0?C(M,k,-1):(s(M.start,k.start)<=0||C(M,v.fromPoints(k.start,M.start),-1),C(k,M,1));else if(!I&&P)s(k.start,M.end)>=0?C(k,M,-1):(s(k.start,M.start)<=0||C(k,v.fromPoints(M.start,k.start),-1),C(M,k,1));else if(!I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{var A,L;if(!(s(k.end,M.start)<=0))return s(M.start,k.start)<0&&(A=M,M=w(M,k.start)),s(M.end,k.end)>0&&(L=w(M,k.end)),x(k.end,M.start,M.end,-1),L&&!A&&(M.lines=L.lines,M.start=L.start,M.end=L.end,L=M),[k,A,L].filter(Boolean);C(M,k,-1)}return[k,M]}function C(M,k,I){x(M.start,k.start,k.end,I),x(M.end,k.start,k.end,I)}function x(M,k,I,P){M.row==(1==P?k:I).row&&(M.column+=P*(I.column-k.column)),M.row+=P*(I.row-k.row)}function w(M,k){var I=M.lines,P=M.end;M.end=o(k);var A=M.end.row-M.start.row,L=I.splice(A,I.length),F=A?k.column:k.column-M.start.column;return I.push(L[0].substring(0,F)),L[0]=L[0].substr(F),{start:o(k),end:P,lines:L,action:M.action}}function T(M,k){k=function l(M){return{start:o(M.start),end:o(M.end),action:M.action,lines:M.lines.slice()}}(k);for(var I=M.length;I--;){for(var P=M[I],A=0;Athis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(s),this.folds.sort(function(m,h){return-m.range.compareEnd(h.start.row,h.start.column)}),this.range.compareEnd(s.start.row,s.start.column)>0?(this.end.row=s.end.row,this.end.column=s.end.column):this.range.compareStart(s.end.row,s.end.column)<0&&(this.start.row=s.start.row,this.start.column=s.start.column)}else if(s.start.row==this.end.row)this.folds.push(s),this.end.row=s.end.row,this.end.column=s.end.column;else{if(s.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(s),this.start.row=s.start.row,this.start.column=s.start.column}s.foldLine=this},v.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},v.prototype.walk=function(s,m,h){var r,c,o=0,l=this.folds,g=!0;null==m&&(m=this.end.row,h=this.end.column);for(var b=0;b0)){var g=u(m,c.start);return 0===d?h&&0!==g?-r-2:r:g>0||0===g&&!h?r:-r-1}}return-r-1},s.prototype.add=function(m){var h=!m.isEmpty(),o=this.pointIndex(m.start,h);o<0&&(o=-o-1);var l=this.pointIndex(m.end,h,o);return l<0?l=-l-1:l++,this.ranges.splice(o,l-o,m)},s.prototype.addList=function(m){for(var h=[],o=m.length;o--;)h.push.apply(h,this.add(m[o]));return h},s.prototype.substractPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges.splice(h,1)},s.prototype.merge=function(){for(var l,m=[],h=this.ranges,o=(h=h.sort(function(d,g){return u(d.start,g.start)}))[0],r=1;r=0},s.prototype.containsPoint=function(m){return this.pointIndex(m)>=0},s.prototype.rangeAtPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges[h]},s.prototype.clipRows=function(m,h){var o=this.ranges;if(o[0].start.row>h||o[o.length-1].start.row=l);d++);if("insert"==m.action){for(var C=r-l,x=-h.column+o.column;dl);d++)if(b.start.row==l&&b.start.column>=h.column&&(b.start.column==h.column&&this.$bias<=0||(b.start.column+=x,b.start.row+=C)),b.end.row==l&&b.end.column>=h.column){if(b.end.column==h.column&&this.$bias<0)continue;b.end.column==h.column&&x>0&&db.start.column&&b.end.column==c[d+1].start.column&&(b.end.column-=x),b.end.column+=x,b.end.row+=C}}else for(C=l-r,x=h.column-o.column;dr);d++)b.end.rowh.column)&&(b.end.column=h.column,b.end.row=h.row):(b.end.column+=x,b.end.row+=C):b.end.row>r&&(b.end.row+=C),b.start.rowh.column)&&(b.start.column=h.column,b.start.row=h.row):(b.start.column+=x,b.start.row+=C):b.start.row>r&&(b.start.row+=C);if(0!=C&&d=o)return d;if(d.end.row>o)return null}return null},this.getNextFoldLine=function(o,l){var r=this.$foldData,c=0;for(l&&(c=r.indexOf(l)),-1==c&&(c=0);c=o)return d}return null},this.getFoldedRowCount=function(o,l){for(var r=this.$foldData,c=l-o+1,d=0;d=l){C=o?c-=l-C:c=0);break}b>=o&&(c-=C>=o?b-C:b-o+1)}return c},this.$addFoldLine=function(o){return this.$foldData.push(o),this.$foldData.sort(function(l,r){return l.start.row-r.start.row}),o},this.addFold=function(o,l){var d,r=this.$foldData,c=!1;o instanceof v?d=o:(d=new v(l,o)).collapseChildren=l.collapseChildren,this.$clipRangeToDocument(d.range);var g=d.start.row,b=d.start.column,C=d.end.row,x=d.end.column,w=this.getFoldAt(g,b,1),T=this.getFoldAt(C,x,-1);if(w&&T==w)return w.addSubFold(d);w&&!w.range.isStart(g,b)&&this.removeFold(w),T&&!T.range.isEnd(C,x)&&this.removeFold(T);var S=this.getFoldsInRange(d.range);S.length>0&&(this.removeFolds(S),d.collapseChildren||S.forEach(function(P){d.addSubFold(P)}));for(var M=0;M0&&this.foldAll(o.start.row+1,o.end.row,o.collapseChildren-1),o.subFolds=[]},this.expandFolds=function(o){o.forEach(function(l){this.expandFold(l)},this)},this.unfold=function(o,l){var r,c;if(null==o)r=new y(0,0,this.getLength(),0),null==l&&(l=!0);else if("number"==typeof o)r=new y(o,0,o,this.getLine(o).length);else if("row"in o)r=y.fromPoints(o,o);else{if(Array.isArray(o))return c=[],o.forEach(function(g){c=c.concat(this.unfold(g))},this),c;r=o}for(var d=c=this.getFoldsInRangeList(r);1==c.length&&y.comparePoints(c[0].start,r.start)<0&&y.comparePoints(c[0].end,r.end)>0;)this.expandFolds(c),c=this.getFoldsInRangeList(r);if(0!=l?this.removeFolds(c):this.expandFolds(c),d.length)return d},this.isRowFolded=function(o,l){return!!this.getFoldLine(o,l)},this.getRowFoldEnd=function(o,l){var r=this.getFoldLine(o,l);return r?r.end.row:o},this.getRowFoldStart=function(o,l){var r=this.getFoldLine(o,l);return r?r.start.row:o},this.getFoldDisplayLine=function(o,l,r,c,d){null==c&&(c=o.start.row),null==d&&(d=0),null==l&&(l=o.end.row),null==r&&(r=this.getLine(l).length);var g=this.doc,b="";return o.walk(function(C,x,w,T){if(!(xx)break}while(d&&b.test(d.type)&&!/^comment.start/.test(d.type));d=c.stepBackward()}else d=c.getCurrentToken();return C.end.row=c.getCurrentTokenRow(),C.end.column=c.getCurrentTokenColumn(),/^comment.end/.test(d.type)||(C.end.column+=d.value.length-2),C}},this.foldAll=function(o,l,r,c){null==r&&(r=1e5);var d=this.foldWidgets;if(d){l=l||this.getLength();for(var g=o=o||0;g=o&&(g=b.end.row,b.collapseChildren=r,this.addFold("...",b))}}},this.foldToLevel=function(o){for(this.foldAll();o-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var o=this;this.foldAll(null,null,null,function(l){for(var r=o.getTokens(l),c=0;c=0;){var g=r[c];if(null==g&&(g=r[c]=this.getFoldWidget(c)),"start"==g){var b=this.getFoldWidgetRange(c);if(d||(d=b),b&&b.end.row>=o)break}c--}return{range:-1!==c&&b,firstRange:d}},this.onFoldWidgetClick=function(o,l){if(l instanceof m&&(l=l.domEvent),!this.$toggleFoldWidget(o,{children:l.shiftKey,all:l.ctrlKey||l.metaKey,siblings:l.altKey})){var d=l.target||l.srcElement;d&&/ace_fold-widget/.test(d.className)&&(d.className+=" ace_invalid")}},this.$toggleFoldWidget=function(o,l){if(this.getFoldWidget){var r=this.getFoldWidget(o),c=this.getLine(o),d="end"===r?-1:1,g=this.getFoldAt(o,-1===d?0:c.length,d);if(g)return l.children||l.all?this.removeFold(g):this.expandFold(g),g;var b=this.getFoldWidgetRange(o,!0);if(b&&!b.isMultiLine()&&(g=this.getFoldAt(b.start.row,b.start.column,1))&&b.isEqual(g.range))return this.removeFold(g),g;if(l.siblings){var C=this.getParentFoldRangeData(o);if(C.range)var x=C.range.start.row+1,w=C.range.end.row;this.foldAll(x,w,l.all?1e4:0)}else l.children?(w=b?b.end.row:this.getLength(),this.foldAll(o+1,w,l.all?1e4:0)):b&&(l.all&&(b.collapseChildren=1e4),this.addFold("...",b));return b}},this.toggleFoldWidget=function(o){var l=this.selection.getCursor().row;l=this.getRowFoldStart(l);var r=this.$toggleFoldWidget(l,{});if(!r){var c=this.getParentFoldRangeData(l,!0);if(r=c.range||c.firstRange){var d=this.getFoldAt(l=r.start.row,this.getLine(l).length,1);d?this.removeFold(d):this.addFold("...",r)}}},this.updateFoldWidgets=function(o){var l=o.start.row,r=o.end.row-l;if(0===r)this.foldWidgets[l]=null;else if("remove"==o.action)this.foldWidgets.splice(l,r+1,null);else{var c=Array(r+1);c.unshift(l,1),this.foldWidgets.splice.apply(this.foldWidgets,c)}},this.tokenizerUpdateFoldWidgets=function(o){var l=o.data;l.first!=l.last&&this.foldWidgets.length>l.first&&this.foldWidgets.splice(l.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(n,f,D){"use strict";var y=n("../token_iterator").TokenIterator,u=n("../range").Range;f.BracketMatch=function v(){this.findMatchingBracket=function(s,m){if(0==s.column)return null;var h=m||this.getLine(s.row).charAt(s.column-1);if(""==h)return null;var o=h.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],s):this.$findOpeningBracket(o[2],s):null},this.getBracketRange=function(s){var o,m=this.getLine(s.row),h=!0,l=m.charAt(s.column-1),r=l&&l.match(/([\(\[\{])|([\)\]\}])/);if(r||(l=m.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(/([\(\[\{])|([\)\]\}])/),h=!1),!r)return null;if(r[1]){if(!(c=this.$findClosingBracket(r[1],s)))return null;o=u.fromPoints(s,c),h||(o.end.column++,o.start.column--),o.cursor=o.end}else{var c;if(!(c=this.$findOpeningBracket(r[2],s)))return null;o=u.fromPoints(c,s),h||(o.start.column++,o.end.column--),o.cursor=o.start}return o},this.getMatchingBracketRanges=function(s,m){var h=this.getLine(s.row),o=/([\(\[\{])|([\)\]\}])/,l=!m&&h.charAt(s.column-1),r=l&&l.match(o);if(r||(l=(void 0===m||m)&&h.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(o)),!r)return null;var c=new u(s.row,s.column-1,s.row,s.column),d=r[1]?this.$findClosingBracket(r[1],s):this.$findOpeningBracket(r[2],s);return d?[c,new u(d.row,d.column,d.row,d.column+1)]:[c]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn()-2,g=c.value;;){for(;d>=0;){var b=g.charAt(d);if(b==o){if(0==(l-=1))return{row:r.getCurrentTokenRow(),column:d+r.getCurrentTokenColumn()}}else b==s&&(l+=1);d-=1}do{c=r.stepBackward()}while(c&&!h.test(c.type));if(null==c)break;d=(g=c.value).length-1}return null}},this.$findClosingBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn();;){for(var g=c.value,b=g.length;d"===m.value?o=!0:-1!==m.type.indexOf("tag-name")&&(h=!0))}while(m&&!h);return m},this.$findClosingTag=function(s,m){var h,o=m.value,l=m.value,r=0,c=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);m=s.stepForward();var d=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length),g=!1;do{if(h=m,m=s.stepForward()){if(">"===m.value&&!g){var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);g=!0}if(-1!==m.type.indexOf("tag-name")){if(l===(o=m.value))if("<"===h.value)r++;else if(""!==m.value)return;var w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else l===o&&"/>"===m.value&&--r<0&&(w=x=C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),b=new u(d.end.row,d.end.column,d.end.row,d.end.column+1))}}while(m&&r>=0);if(c&&b&&C&&w&&d&&x)return{openTag:new u(c.start.row,c.start.column,b.end.row,b.end.column),closeTag:new u(C.start.row,C.start.column,w.end.row,w.end.column),openTagName:d,closeTagName:x}},this.$findOpeningTag=function(s,m){var h=s.getCurrentToken(),o=m.value,l=0,r=s.getCurrentTokenRow(),c=s.getCurrentTokenColumn(),d=c+2,g=new u(r,c,r,d);s.stepForward();var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length);if((m=s.stepForward())&&">"===m.value){var C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do{if(m=h,r=s.getCurrentTokenRow(),d=(c=s.getCurrentTokenColumn())+m.value.length,h=s.stepBackward(),m)if(-1!==m.type.indexOf("tag-name")){if(o===m.value)if("<"===h.value){if(++l>0){var x=new u(r,c,r,d),w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do{m=s.stepForward()}while(m&&">"!==m.value);var T=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else""===m.value){for(var S=0,M=h;M;){if(-1!==M.type.indexOf("tag-name")&&M.value===o){l--;break}if("<"===M.value)break;M=s.stepBackward(),S++}for(var k=0;kR&&(this.$docRowCache.splice(R,F),this.$screenRowCache.splice(R,F))},A.prototype.$getRowCacheIndex=function(L,F){for(var R=0,U=L.length-1;R<=U;){var W=R+U>>1,ne=L[W];if(F>ne)R=W+1;else{if(!(F=F);ne++);return(U=R[ne])?(U.index=ne,U.start=W-U.value.length,U):null},A.prototype.setUndoManager=function(L){if(this.$undoManager=L,this.$informUndoManager&&this.$informUndoManager.cancel(),L){var F=this;L.addSession(this),this.$syncInformUndoManager=function(){F.$informUndoManager.cancel(),F.mergeUndoDeltas=!1},this.$informUndoManager=u.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},A.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},A.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},A.prototype.getTabString=function(){return this.getUseSoftTabs()?u.stringRepeat(" ",this.getTabSize()):"\t"},A.prototype.setUseSoftTabs=function(L){this.setOption("useSoftTabs",L)},A.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},A.prototype.setTabSize=function(L){this.setOption("tabSize",L)},A.prototype.getTabSize=function(){return this.$tabSize},A.prototype.isTabStop=function(L){return this.$useSoftTabs&&L.column%this.$tabSize==0},A.prototype.setNavigateWithinSoftTabs=function(L){this.setOption("navigateWithinSoftTabs",L)},A.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},A.prototype.setOverwrite=function(L){this.setOption("overwrite",L)},A.prototype.getOverwrite=function(){return this.$overwrite},A.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},A.prototype.addGutterDecoration=function(L,F){this.$decorations[L]||(this.$decorations[L]=""),this.$decorations[L]+=" "+F,this._signal("changeBreakpoint",{})},A.prototype.removeGutterDecoration=function(L,F){this.$decorations[L]=(this.$decorations[L]||"").replace(" "+F,""),this._signal("changeBreakpoint",{})},A.prototype.getBreakpoints=function(){return this.$breakpoints},A.prototype.setBreakpoints=function(L){this.$breakpoints=[];for(var F=0;F0&&(U=!!R.charAt(F-1).match(this.tokenRe)),U||(U=!!R.charAt(F).match(this.tokenRe)),U)var W=this.tokenRe;else W=/^\s+$/.test(R.slice(F-1,F+1))?/\s/:this.nonTokenRe;var ne=F;if(ne>0){do{ne--}while(ne>=0&&R.charAt(ne).match(W));ne++}for(var ee=F;eeL&&(L=F.screenWidth)}),this.lineWidgetWidth=L},A.prototype.$computeWidth=function(L){if(this.$modified||L){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var F=this.doc.getAllLines(),R=this.$rowLengthCache,U=0,W=0,ne=this.$foldData[W],ee=ne?ne.start.row:1/0,j=F.length,B=0;Bee){if((B=ne.end.row+1)>=j)break;ee=(ne=this.$foldData[W++])?ne.start.row:1/0}null==R[B]&&(R[B]=this.$getStringScreenWidth(F[B])[0]),R[B]>U&&(U=R[B])}this.screenWidth=U}},A.prototype.getLine=function(L){return this.doc.getLine(L)},A.prototype.getLines=function(L,F){return this.doc.getLines(L,F)},A.prototype.getLength=function(){return this.doc.getLength()},A.prototype.getTextRange=function(L){return this.doc.getTextRange(L||this.selection.getRange())},A.prototype.insert=function(L,F){return this.doc.insert(L,F)},A.prototype.remove=function(L){return this.doc.remove(L)},A.prototype.removeFullLines=function(L,F){return this.doc.removeFullLines(L,F)},A.prototype.undoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=L.length-1;-1!=R;R--){var U=L[R];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!F&&this.$undoSelect&&(L.selectionBefore?this.selection.fromJSON(L.selectionBefore):this.selection.setRange(this.$getUndoSelection(L,!0))),this.$fromUndo=!1}},A.prototype.redoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=0;RL.end.column&&(ne.start.column+=j),ne.end.row==L.end.row&&ne.end.column>L.end.column&&(ne.end.column+=j)),ee&&ne.start.row>=L.end.row&&(ne.start.row+=ee,ne.end.row+=ee)),ne.end=this.insert(ne.start,U),W.length){var B=L.start,$=ne.start,ee=$.row-B.row,j=$.column-B.column;this.addFolds(W.map(function(te){return(te=te.clone()).start.row==B.row&&(te.start.column+=j),te.end.row==B.row&&(te.end.column+=j),te.start.row+=ee,te.end.row+=ee,te}))}return ne},A.prototype.indentRows=function(L,F,R){R=R.replace(/\t/g,this.getTabString());for(var U=L;U<=F;U++)this.doc.insertInLine({row:U,column:0},R)},A.prototype.outdentRows=function(L){for(var F=L.collapseRows(),R=new l(0,0,0,0),U=this.getTabSize(),W=F.start.row;W<=F.end.row;++W){var ne=this.getLine(W);R.start.row=W,R.end.row=W;for(var ee=0;ee0){var U;if((U=this.getRowFoldEnd(F+R))>this.doc.getLength()-1)return 0;W=U-F}else L=this.$clipRowToDocument(L),W=(F=this.$clipRowToDocument(F))-L+1;var ne=new l(L,0,F,Number.MAX_VALUE),ee=this.getFoldsInRange(ne).map(function(B){return(B=B.clone()).start.row+=W,B.end.row+=W,B}),j=0==R?this.doc.getLines(L,F):this.doc.removeFullLines(L,F);return this.doc.insertFullLines(L+W,j),ee.length&&this.addFolds(ee),W},A.prototype.moveLinesUp=function(L,F){return this.$moveLines(L,F,-1)},A.prototype.moveLinesDown=function(L,F){return this.$moveLines(L,F,1)},A.prototype.duplicateLines=function(L,F){return this.$moveLines(L,F,0)},A.prototype.$clipRowToDocument=function(L){return Math.max(0,Math.min(L,this.doc.getLength()-1))},A.prototype.$clipColumnToRow=function(L,F){return F<0?0:Math.min(this.doc.getLine(L).length,F)},A.prototype.$clipPositionToDocument=function(L,F){if(F=Math.max(0,F),L<0)L=0,F=0;else{var R=this.doc.getLength();L>=R?(L=R-1,F=this.doc.getLine(R-1).length):F=Math.min(this.doc.getLine(L).length,F)}return{row:L,column:F}},A.prototype.$clipRangeToDocument=function(L){L.start.row<0?(L.start.row=0,L.start.column=0):L.start.column=this.$clipColumnToRow(L.start.row,L.start.column);var F=this.doc.getLength()-1;return L.end.row>F?(L.end.row=F,L.end.column=this.doc.getLine(F).length):L.end.column=this.$clipColumnToRow(L.end.row,L.end.column),L},A.prototype.setUseWrapMode=function(L){if(L!=this.$useWrapMode){if(this.$useWrapMode=L,this.$modified=!0,this.$resetRowCache(0),L){var F=this.getLength();this.$wrapData=Array(F),this.$updateWrapData(0,F-1)}this._signal("changeWrapMode")}},A.prototype.getUseWrapMode=function(){return this.$useWrapMode},A.prototype.setWrapLimitRange=function(L,F){(this.$wrapLimitRange.min!==L||this.$wrapLimitRange.max!==F)&&(this.$wrapLimitRange={min:L,max:F},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},A.prototype.adjustWrapLimit=function(L,F){var R=this.$wrapLimitRange;R.max<0&&(R={min:F,max:F});var U=this.$constrainWrapLimit(L,R.min,R.max);return U!=this.$wrapLimit&&U>1&&(this.$wrapLimit=U,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},A.prototype.$constrainWrapLimit=function(L,F,R){return F&&(L=Math.max(F,L)),R&&(L=Math.min(R,L)),L},A.prototype.getWrapLimit=function(){return this.$wrapLimit},A.prototype.setWrapLimit=function(L){this.setWrapLimitRange(L,L)},A.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},A.prototype.$updateInternalDataOnChange=function(L){var F=this.$useWrapMode,R=L.action,U=L.start,W=L.end,ne=U.row,ee=W.row,j=ee-ne,B=null;if(this.$updating=!0,0!=j)if("remove"===R){this[F?"$wrapData":"$rowLengthCache"].splice(ne,j);var $=this.$foldData;B=this.getFoldsInRange(L),this.removeFolds(B);var H=0;if(Z=this.getFoldLine(W.row)){Z.addRemoveChars(W.row,W.column,U.column-W.column),Z.shiftRow(-j);var te=this.getFoldLine(ne);te&&te!==Z&&(te.merge(Z),Z=te),H=$.indexOf(Z)+1}for(;H<$.length;H++)(Z=$[H]).start.row>=W.row&&Z.shiftRow(-j);ee=ne}else{var ue=Array(j);ue.unshift(ne,0);var ye=F?this.$wrapData:this.$rowLengthCache;if(ye.splice.apply(ye,ue),$=this.$foldData,H=0,Z=this.getFoldLine(ne)){var Ge=Z.range.compareInside(U.row,U.column);0==Ge?(Z=Z.split(U.row,U.column))&&(Z.shiftRow(j),Z.addRemoveChars(ee,0,W.column-U.column)):-1==Ge&&(Z.addRemoveChars(ne,0,W.column-U.column),Z.shiftRow(j)),H=$.indexOf(Z)+1}for(;H<$.length;H++){var Z;(Z=$[H]).start.row>=ne&&Z.shiftRow(j)}}else j=Math.abs(L.start.column-L.end.column),"remove"===R&&(B=this.getFoldsInRange(L),this.removeFolds(B),j=-j),(Z=this.getFoldLine(ne))&&Z.addRemoveChars(ne,U.column,j);return F&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,F?this.$updateWrapData(ne,ee):this.$updateRowLengthCache(ne,ee),B},A.prototype.$updateRowLengthCache=function(L,F){this.$rowLengthCache[L]=null,this.$rowLengthCache[F]=null},A.prototype.$updateWrapData=function(L,F){var ee,j,R=this.doc.getAllLines(),U=this.getTabSize(),W=this.$wrapData,ne=this.$wrapLimit,B=L;for(F=Math.min(F,R.length-1);B<=F;)(j=this.getFoldLine(B,j))?(ee=[],j.walk(function($,Z,H,te){var ue;if(null!=$){(ue=this.$getDisplayTokens($,ee.length))[0]=w;for(var ye=1;yeF-te;){var ue=ne+F-te;if(L[ue-1]>=M&&L[ue]>=M)H(ue);else if(L[ue]!=w&&L[ue]!=T){for(var ye=Math.max(ue-(F-(F>>2)),ne-1);ue>ye&&L[ue]ye&&L[ue]ye&&L[ue]==S;)ue--}else for(;ue>ye&&L[ue]ye?H(++ue):(L[ue=ne+F]==x&&ue--,H(ue-te))}else{for(;ue!=ne-1&&L[ue]!=w;ue--);if(ue>ne){H(ue);continue}for(ue=ne+F;ue39&&ne<48||ne>57&&ne<64?R.push(S):ne>=4352&&P(ne)?R.push(C,x):R.push(C)}return R},A.prototype.$getStringScreenWidth=function(L,F,R){if(0==F)return[0,0];var U,W;for(null==F&&(F=1/0),R=R||0,W=0;W=4352&&P(U)?R+=2:R+=1,!(R>F));W++);return[R,W]},A.prototype.getRowLength=function(L){var F=1;return this.lineWidgets&&(F+=this.lineWidgets[L]&&this.lineWidgets[L].rowCount||0),this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+F:F},A.prototype.getRowLineCount=function(L){return this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+1:1},A.prototype.getRowWrapIndent=function(L){if(this.$useWrapMode){var F=this.screenToDocumentPosition(L,Number.MAX_VALUE),R=this.$wrapData[F.row];return R.length&&R[0]=0){j=$[Z],W=this.$docRowCache[Z];var te=L>$[H-1]}else te=!H;for(var ue=this.getLength()-1,ye=this.getNextFoldLine(W),Ge=ye?ye.start.row:1/0;j<=L&&!(j+(B=this.getRowLength(W))>L||W>=ue);)j+=B,++W>Ge&&(Ge=(ye=this.getNextFoldLine(W=ye.end.row+1,ye))?ye.start.row:1/0),te&&(this.$docRowCache.push(W),this.$screenRowCache.push(j));if(ye&&ye.start.row<=W)U=this.getFoldDisplayLine(ye),W=ye.start.row;else{if(j+B<=L||W>ue)return{row:ue,column:this.getLine(ue).length};U=this.getLine(W),ye=null}var $e=0,Ye=Math.floor(L-j);if(this.$useWrapMode){var Ze=this.$wrapData[W];Ze&&(ee=Ze[Ye],Ye>0&&Ze.length&&($e=Ze.indent,U=U.substring(ne=Ze[Ye-1]||Ze[Ze.length-1])))}return void 0!==R&&this.$bidiHandler.isBidiRow(j+Ye,W,Ye)&&(F=this.$bidiHandler.offsetToCol(R)),ne+=this.$getStringScreenWidth(U,F-$e)[1],this.$useWrapMode&&ne>=ee&&(ne=ee-1),ye?ye.idxToPosition(ne):{row:W,column:ne}},A.prototype.documentToScreenPosition=function(L,F){if(typeof F>"u")var R=this.$clipPositionToDocument(L.row,L.column);else R=this.$clipPositionToDocument(L,F);var ne,U=0,W=null;(ne=this.getFoldAt(L=R.row,F=R.column,1))&&(L=ne.start.row,F=ne.start.column);var ee,j=0,B=this.$docRowCache,$=this.$getRowCacheIndex(B,L),Z=B.length;if(Z&&$>=0){j=B[$],U=this.$screenRowCache[$];var H=L>B[Z-1]}else H=!Z;for(var te=this.getNextFoldLine(j),ue=te?te.start.row:1/0;j=ue){if((ee=te.end.row+1)>L)break;ue=(te=this.getNextFoldLine(ee,te))?te.start.row:1/0}else ee=j+1;U+=this.getRowLength(j),j=ee,H&&(this.$docRowCache.push(j),this.$screenRowCache.push(U))}var ye="";te&&j>=ue?(ye=this.getFoldDisplayLine(te,L,F),W=te.start.row):(ye=this.getLine(L).substring(0,F),W=L);var Ge=0;if(this.$useWrapMode){var $e=this.$wrapData[W];if($e){for(var Ye=0;ye.length>=$e[Ye];)U++,Ye++;ye=ye.substring($e[Ye-1]||0,ye.length),Ge=Ye>0?$e.indent:0}}return this.lineWidgets&&this.lineWidgets[j]&&this.lineWidgets[j].rowsAbove&&(U+=this.lineWidgets[j].rowsAbove),{row:U,column:Ge+this.$getStringScreenWidth(ye)[0]}},A.prototype.documentToScreenColumn=function(L,F){return this.documentToScreenPosition(L,F).column},A.prototype.documentToScreenRow=function(L,F){return this.documentToScreenPosition(L,F).row},A.prototype.getScreenLength=function(){var L=0,F=null;if(this.$useWrapMode)for(var W=this.$wrapData.length,ne=0,U=0,ee=(F=this.$foldData[U++])?F.start.row:1/0;neee&&(ne=F.end.row+1,ee=(F=this.$foldData[U++])?F.start.row:1/0)}else{L=this.getLength();var R=this.$foldData;for(U=0;UR);ne++);return[U,ne]})},A.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},A}();b.$uid=0,b.prototype.$modes=s.$modes,b.prototype.getValue=b.prototype.toString,b.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},b.prototype.$overwrite=!1,b.prototype.$mode=null,b.prototype.$modeId=null,b.prototype.$scrollTop=0,b.prototype.$scrollLeft=0,b.prototype.$wrapLimit=80,b.prototype.$useWrapMode=!1,b.prototype.$wrapLimitRange={min:null,max:null},b.prototype.lineWidgets=null,b.prototype.isFullWidth=P,y.implement(b.prototype,m);var C=1,x=2,w=3,T=4,S=9,M=10,k=11,I=12;function P(A){return!(A<4352)&&(A>=4352&&A<=4447||A>=4515&&A<=4519||A>=4602&&A<=4607||A>=9001&&A<=9002||A>=11904&&A<=11929||A>=11931&&A<=12019||A>=12032&&A<=12245||A>=12272&&A<=12283||A>=12288&&A<=12350||A>=12353&&A<=12438||A>=12441&&A<=12543||A>=12549&&A<=12589||A>=12593&&A<=12686||A>=12688&&A<=12730||A>=12736&&A<=12771||A>=12784&&A<=12830||A>=12832&&A<=12871||A>=12880&&A<=13054||A>=13056&&A<=19903||A>=19968&&A<=42124||A>=42128&&A<=42182||A>=43360&&A<=43388||A>=44032&&A<=55203||A>=55216&&A<=55238||A>=55243&&A<=55291||A>=63744&&A<=64255||A>=65040&&A<=65049||A>=65072&&A<=65106||A>=65108&&A<=65126||A>=65128&&A<=65131||A>=65281&&A<=65376||A>=65504&&A<=65510)}n("./edit_session/folding").Folding.call(b.prototype),n("./edit_session/bracket_match").BracketMatch.call(b.prototype),s.defineOptions(b.prototype,"session",{wrap:{set:function(A){if(A&&"off"!=A?"free"==A?A=!0:"printMargin"==A?A=-1:"string"==typeof A&&(A=parseInt(A,10)||!1):A=!1,this.$wrap!=A)if(this.$wrap=A,A){var L="number"==typeof A?A:null;this.setWrapLimitRange(L,L),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(A){(A="auto"==A?"text"!=this.$mode.type:"text"!=A)!=this.$wrapAsCode&&(this.$wrapAsCode=A,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(A){this.$useWorker=A,this.$stopWorker(),A&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(A){(A=parseInt(A))>0&&this.$tabSize!==A&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=A,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(A){this.setFoldStyle(A)},handlesSet:!0},overwrite:{set:function(A){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(A){this.doc.setNewLineMode(A)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(A){this.setMode(A)},get:function(){return this.$modeId},handlesSet:!0}}),f.EditSession=b}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./lib/oop"),v=n("./range").Range,s=function(){function h(){this.$options={}}return h.prototype.set=function(o){return u.mixin(this.$options,o),this},h.prototype.getOptions=function(){return y.copyObject(this.$options)},h.prototype.setOptions=function(o){this.$options=o},h.prototype.find=function(o){var l=this.$options,r=this.$matchIterator(o,l);if(!r)return!1;var c=null;return r.forEach(function(d,g,b,C){return c=new v(d,g,b,C),!(g==C&&l.start&&l.start.start&&0!=l.skipCurrent&&c.isEqual(l.start)&&(c=null,1))}),c},h.prototype.findAll=function(o){var l=this.$options;if(!l.needle)return[];this.$assembleRegExp(l);var r=l.range,c=r?o.getLines(r.start.row,r.end.row):o.doc.getAllLines(),d=[],g=l.re;if(l.$isMultiLine){var x,b=g.length,C=c.length-b;e:for(var w=g.offset||0;w<=C;w++){for(var T=0;Tk||(d.push(x=new v(w,k,w+b-1,I)),b>2&&(w=w+b-2))}}else for(var P=0;PR&&d[T].end.row==U;)T--;for(d=d.slice(P,T+1),P=0,T=d.length;P=x;I--)if(M(I,Number.MAX_VALUE,k))return;if(0!=l.wrap)for(I=w,x=C.row;I>=x;I--)if(M(I,Number.MAX_VALUE,k))return}};else T=function(I){var P=C.row;if(!M(P,C.column,I)){for(P+=1;P<=w;P++)if(M(P,0,I))return;if(0!=l.wrap)for(P=x,w=C.row;P<=w;P++)if(M(P,0,I))return}};if(l.$isMultiLine)var S=r.length,M=function(k,I,P){var A=c?k-S+1:k;if(!(A<0||A+S>o.getLength())){var L=o.getLine(A),F=L.search(r[0]);if(!(!c&&FI)&&P(A,F,A+S-1,U))return!0}}};else M=c?function(I,P,A){var R,L=o.getLine(I),F=[],U=0;for(r.lastIndex=0;R=r.exec(L);){if(U=R.index,!(W=R[0].length)){if(U>=L.length)break;r.lastIndex=U+=y.skipEmptyMatch(L,U,g)}if(R.index+W>P)break;F.push(R.index,W)}for(var ne=F.length-1;ne>=0;ne-=2){var W,ee=F[ne-1];if(A(I,ee,I,ee+(W=F[ne])))return!0}}:function(I,P,A){var F,R,L=o.getLine(I);for(r.lastIndex=P;R=r.exec(L);){var U=R[0].length;if(A(I,F=R.index,I,F+U))return!0;if(!U&&(r.lastIndex=F+=y.skipEmptyMatch(L,F,g),F>=L.length))return!1}};return{forEach:T}},h}();f.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(n,f,D){"use strict";var l,y=this&&this.__extends||(l=function(r,c){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(d[b]=g[b])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}l(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}),u=n("../lib/keys"),v=n("../lib/useragent"),s=u.KEY_MODS,m=function(){function l(r,c){this.$init(r,c,!1)}return l.prototype.$init=function(r,c,d){this.platform=c||(v.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=d},l.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},l.prototype.removeCommand=function(r,c){var d=r&&("string"==typeof r?r:r.name);r=this.commands[d],c||delete this.commands[d];var g=this.commandKeyBinding;for(var b in g){var C=g[b];if(C==r)delete g[b];else if(Array.isArray(C)){var x=C.indexOf(r);-1!=x&&(C.splice(x,1),1==C.length&&(g[b]=C[0]))}}},l.prototype.bindKey=function(r,c,d){if("object"==typeof r&&r&&(null==d&&(d=r.position),r=r[this.platform]),r){if("function"==typeof c)return this.addCommand({exec:c,bindKey:r,name:c.name||r});r.split("|").forEach(function(g){var b="";if(-1!=g.indexOf(" ")){var C=g.split(/\s+/);g=C.pop(),C.forEach(function(T){var S=this.parseKeys(T);this._addCommandToBinding(b+=(b?" ":"")+(s[S.hashId]+S.key),"chainKeys")},this),b+=" "}var x=this.parseKeys(g);this._addCommandToBinding(b+(s[x.hashId]+x.key),c,d)},this)}},l.prototype._addCommandToBinding=function(r,c,d){var b,g=this.commandKeyBinding;if(c)if(!g[r]||this.$singleCommand)g[r]=c;else{Array.isArray(g[r])?-1!=(b=g[r].indexOf(c))&&g[r].splice(b,1):g[r]=[g[r]],"number"!=typeof d&&(d=h(c));var C=g[r];for(b=0;bd);b++);C.splice(b,0,c)}else delete g[r]},l.prototype.addCommands=function(r){r&&Object.keys(r).forEach(function(c){var d=r[c];if(d){if("string"==typeof d)return this.bindKey(d,c);"function"==typeof d&&(d={exec:d}),"object"==typeof d&&(d.name||(d.name=c),this.addCommand(d))}},this)},l.prototype.removeCommands=function(r){Object.keys(r).forEach(function(c){this.removeCommand(r[c])},this)},l.prototype.bindKeys=function(r){Object.keys(r).forEach(function(c){this.bindKey(c,r[c])},this)},l.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},l.prototype.parseKeys=function(r){var c=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),d=c.pop(),g=u[d];if(u.FUNCTION_KEYS[g])d=u.FUNCTION_KEYS[g].toLowerCase();else{if(!c.length)return{key:d,hashId:-1};if(1==c.length&&"shift"==c[0])return{key:d.toUpperCase(),hashId:-1}}for(var b=0,C=c.length;C--;){var x=u.KEY_MODS[c[C]];if(null==x)return typeof console<"u"&&console.error("invalid modifier "+c[C]+" in "+r),!1;b|=x}return{key:d,hashId:b}},l.prototype.findKeyCommand=function(r,c){return this.commandKeyBinding[s[r]+c]},l.prototype.handleKeyboard=function(r,c,d,g){if(!(g<0)){var b=s[c]+d,C=this.commandKeyBinding[b];return r.$keyChain&&(r.$keyChain+=" "+b,C=this.commandKeyBinding[r.$keyChain]||C),!C||"chainKeys"!=C&&"chainKeys"!=C[C.length-1]?(r.$keyChain&&(c&&4!=c||1!=d.length?(-1==c||g>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-b.length-1)),{command:C}):(r.$keyChain=r.$keyChain||b,{command:"null"})}},l.prototype.getStatusText=function(r,c){return c.$keyChain||""},l}();function h(l){return"object"==typeof l&&l.bindKey&&l.bindKey.position||(l.isDefault?-100:0)}var o=function(l){function r(c,d){var g=l.call(this,c,d)||this;return g.$singleCommand=!0,g}return y(r,l),r}(m);o.call=function(l,r,c){m.prototype.$init.call(l,r,c,!0)},m.call=function(l,r,c){m.prototype.$init.call(l,r,c,!1)},f.HashHandler=o,f.MultiHashHandler=m}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(n,f,D){"use strict";var h,y=this&&this.__extends||(h=function(o,l){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(r[d]=c[d])})(o,l)},function(o,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function r(){this.constructor=o}h(o,l),o.prototype=null===l?Object.create(l):(r.prototype=l.prototype,new r)}),u=n("../lib/oop"),v=n("../keyboard/hash_handler").MultiHashHandler,s=n("../lib/event_emitter").EventEmitter,m=function(h){function o(l,r){var c=h.call(this,r,l)||this;return c.byName=c.commands,c.setDefaultHandler("exec",function(d){return d.args?d.command.exec(d.editor,d.args,d.event,!1):d.command.exec(d.editor,{},d.event,!0)}),c}return y(o,h),o.prototype.exec=function(l,r,c){if(Array.isArray(l)){for(var d=l.length;d--;)if(this.exec(l[d],r,c))return!0;return!1}if("string"==typeof l&&(l=this.commands[l]),!l||r&&r.$readOnly&&!l.readOnly||0!=this.$checkCommandState&&l.isAvailable&&!l.isAvailable(r))return!1;var g={editor:r,command:l,args:c};return g.returnValue=this._emit("exec",g),this._signal("afterExec",g),!1!==g.returnValue},o.prototype.toggleRecording=function(l){if(!this.$inReplay)return l&&l._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(r){this.macro.push([r.command,r.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},o.prototype.replay=function(l){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(l);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,l):this.exec(r[0],l,r[1])},this)}finally{this.$inReplay=!1}}},o.prototype.trimMacro=function(l){return l.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},o}(v);u.implement(m.prototype,s),f.CommandManager=m}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(n,f,D){"use strict";var y=n("../lib/lang"),u=n("../config"),v=n("../range").Range;function s(h,o){return{win:h,mac:o}}f.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(h){u.loadModule("ace/ext/settings_menu",function(o){o.init(h),h.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(h){h.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(h){h.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(h,o){"number"==typeof o&&!isNaN(o)&&h.gotoLine(o),h.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(h){h.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(h){h.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(h){h.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(h){h.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(h){h.session.foldAll(),h.session.unfold(h.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(h){h.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(h){h.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(h){h.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(h){h.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(h){h.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(h){h.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(h){h.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(h,o){h.navigateUp(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(h){h.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(h){h.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(h){h.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(h,o){h.navigateDown(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(h){h.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(h){h.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(h){h.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(h){h.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(h){h.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(h,o){h.navigateLeft(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(h){h.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(h){h.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(h){h.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(h){h.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(h){h.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(h,o){h.navigateRight(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(h){h.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(h){h.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(h){h.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(h){h.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(h){h.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(h){h.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(h){h.renderer.scrollBy(0,-2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(h){h.renderer.scrollBy(0,2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(h){h.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(h){h.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(h){h.commands.toggleRecording(h)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(h){h.commands.replay(h)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(h){h.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(h){h.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(h){h.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(h){},readOnly:!0},{name:"cut",description:"Cut",exec:function(h){var l=h.$copyWithEmptySelection&&h.selection.isEmpty()?h.selection.getLineRange():h.selection.getRange();h._emit("cut",l),l.isEmpty()||h.session.remove(l),h.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(h,o){h.$handlePaste(o)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(h){h.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(h){h.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(h){h.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(h){h.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(h){h.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(h){h.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(h){h.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(h){h.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(h){h.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(h){h.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(h){h.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(h){h.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(h){h.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(h){h.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(h){h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(h){if(!h.selection.isEmpty())return!1;h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(h){h.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(h){h.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(h){var o=h.selection.getRange();o.start.column=0,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(h){var o=h.selection.getRange();o.end.column=Number.MAX_VALUE,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(h){h.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(h){h.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(h){h.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(h){h.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(h){h.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(h){h.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(h,o){h.insert(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(h,o){h.insert(y.stringRepeat(o.text||"",o.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(h){h.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(h){h.transposeLetters()},multiSelectAction:function(h){h.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(h){h.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(h){h.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(h){h.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(h){var o=h.selection.getRange();o.start.column=o.end.column=0,o.end.row++,h.selection.setRange(o,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(h){h.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(h){for(var o=h.selection.isBackwards(),l=o?h.selection.getSelectionLead():h.selection.getSelectionAnchor(),r=o?h.selection.getSelectionAnchor():h.selection.getSelectionLead(),c=h.session.doc.getLine(l.row).length,g=h.session.doc.getTextRange(h.selection.getRange()).replace(/\n\s*/," ").length,b=h.session.doc.getLine(l.row),C=l.row+1;C<=r.row+1;C++){var x=y.stringTrimLeft(y.stringTrimRight(h.session.doc.getLine(C)));0!==x.length&&(x=" "+x),b+=x}r.row+10?(h.selection.moveCursorTo(l.row,l.column),h.selection.selectTo(l.row,l.column+g)):(c=h.session.doc.getLine(l.row).length>c?c+1:c,h.selection.moveCursorTo(l.row,c))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(h){var o=h.session.doc.getLength()-1,l=h.session.doc.getLine(o).length,r=h.selection.rangeList.ranges,c=[];r.length<1&&(r=[h.selection.getRange()]);for(var d=0;dm[h].column&&h++,r.unshift(h,0),m.splice.apply(m,r),this.$updateRows()}}},v.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(s){var m=!0;s.forEach(function(h,o){if(h)for(m=!1,h.row=o;h.$oldWidget;)h.$oldWidget.row=o,h=h.$oldWidget}),m&&(this.session.lineWidgets=null)}},v.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var m=this.session.lineWidgets[s.row];return m&&(s.$oldWidget=m,m.el&&m.el.parentNode&&(m.el.parentNode.removeChild(m.el),m._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},v.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var m=this.editor.renderer;s.html&&!s.el&&(s.el=y.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=y.createElement("div"),s.el.textContent=s.text),s.el&&(y.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&y.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",m.container.appendChild(s.el),s._inDocument=!0,s.coverGutter||(s.el.style.zIndex="3"),null==s.pixelHeight&&(s.pixelHeight=s.el.offsetHeight)),null==s.rowCount&&(s.rowCount=s.pixelHeight/m.layerConfig.lineHeight);var h=this.session.getFoldAt(s.row,0);if(s.$fold=h,h){var o=this.session.lineWidgets;s.row!=h.end.row||o[h.start.row]?s.hidden=!0:o[h.start.row]=s}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,m),this.onWidgetChanged(s),s},v.prototype.removeLineWidget=function(s){if(s._inDocument=!1,s.session=null,s.el&&s.el.parentNode&&s.el.parentNode.removeChild(s.el),s.editor&&s.editor.destroy)try{s.editor.destroy()}catch{}if(this.session.lineWidgets){var m=this.session.lineWidgets[s.row];if(m==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;m;){if(m.$oldWidget==s){m.$oldWidget=s.$oldWidget;break}m=m.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},v.prototype.getWidgetsAtRow=function(s){for(var m=this.session.lineWidgets,h=m&&m[s],o=[];h;)o.push(h),h=h.$oldWidget;return o},v.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},v.prototype.measureWidgets=function(s,m){var h=this.session._changedWidgets,o=m.layerConfig;if(h&&h.length){for(var l=1/0,r=0;r0&&!o[l];)l--;this.firstRow=h.firstRow,this.lastRow=h.lastRow,m.$cursorLayer.config=h;for(var c=l;c<=r;c++){var d=o[c];if(d&&d.el){if(d.hidden){d.el.style.top=-100-(d.pixelHeight||0)+"px";continue}d._inDocument||(d._inDocument=!0,m.container.appendChild(d.el));var g=m.$cursorLayer.getPixelPosition({row:c,column:0},!0).top;d.coverLine||(g+=h.lineHeight*this.session.getRowLineCount(d.row)),d.el.style.top=g-h.offset+"px";var b=d.coverGutter?0:m.gutterWidth;d.fixedWidth||(b-=m.scrollLeft),d.el.style.left=b+"px",d.fullWidth&&d.screenWidth&&(d.el.style.minWidth=h.width+2*h.padding+"px"),d.el.style.right=d.fixedWidth?m.scrollBar.getWidth()+"px":""}}}},v}();f.LineWidgets=u}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(n,f,D){"use strict";var y=n("../lib/keys"),u=n("../mouse/default_gutter_handler").GutterTooltip,v=function(){function m(h){this.editor=h,this.gutterLayer=h.renderer.$gutterLayer,this.element=h.renderer.$gutter,this.lines=h.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new u(this.editor)}return m.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},m.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},m.prototype.$onGutterKeyDown=function(h){if(this.annotationTooltip.isOpen)return h.preventDefault(),void(h.keyCode===y.escape&&this.annotationTooltip.hideTooltip());if(h.target===this.element){if(h.keyCode!=y.enter)return;h.preventDefault();var o=this.editor.getCursorPosition().row;return this.editor.isRowVisible(o)||this.editor.scrollToLine(o,!0,!0),void setTimeout(function(){var l=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(l),c=this.$findNearestAnnotation(l);if(null!==r||null!==c)return null===r&&null!==c?(this.activeRowIndex=c,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==r&&null===c?(this.activeRowIndex=r,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(c-l)0||h+o=0&&this.$isFoldWidgetVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(h+o))return h+o}return null},m.prototype.$findNearestAnnotation=function(h){if(this.$isAnnotationVisible(h))return h;for(var o=0;h-o>0||h+o=0&&this.$isAnnotationVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isAnnotationVisible(h+o))return h+o}return null},m.prototype.$focusFoldWidget=function(h){if(null!=h){var o=this.$getFoldWidget(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$focusAnnotation=function(h){if(null!=h){var o=this.$getAnnotation(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$blurFoldWidget=function(h){var o=this.$getFoldWidget(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$blurAnnotation=function(h){var o=this.$getAnnotation(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$moveFoldWidgetUp=function(){for(var h=this.activeRowIndex;h>0;)if(h--,this.$isFoldWidgetVisible(h))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=h,void this.$focusFoldWidget(this.activeRowIndex)},m.prototype.$moveFoldWidgetDown=function(){for(var h=this.activeRowIndex;h0;)if(h--,this.$isAnnotationVisible(h))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=h,void this.$focusAnnotation(this.activeRowIndex)},m.prototype.$moveAnnotationDown=function(){for(var h=this.activeRowIndex;h=F.length&&(F=void 0),{value:F&&F[W++],done:!F}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/lang"),m=n("./lib/useragent"),h=n("./keyboard/textinput").TextInput,o=n("./mouse/mouse_handler").MouseHandler,l=n("./mouse/fold_handler").FoldHandler,r=n("./keyboard/keybinding").KeyBinding,c=n("./edit_session").EditSession,d=n("./search").Search,g=n("./range").Range,b=n("./lib/event_emitter").EventEmitter,C=n("./commands/command_manager").CommandManager,x=n("./commands/default_commands").commands,w=n("./config"),T=n("./token_iterator").TokenIterator,S=n("./line_widgets").LineWidgets,M=n("./keyboard/gutter_handler").GutterKeyboardHandler,k=n("./config").nls,I=n("./clipboard"),P=n("./lib/keys"),A=function(){function F(R,U,W){this.$toDestroy=[];var ne=R.getContainerElement();this.container=ne,this.renderer=R,this.id="editor"+ ++F.$uid,this.commands=new C(m.isMac?"mac":"win",x),"object"==typeof document&&(this.textInput=new h(R.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new o(this),new l(this)),this.keyBinding=new r(this),this.$search=(new d).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(ee,j){j._$emitInputEvent.schedule(31)}),this.setSession(U||W&&W.session||new c("")),w.resetOptions(this),W&&this.setOptions(W),w._signal("editor",this)}return F.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},F.prototype.startOperation=function(R){if(this.curOp){if(!R||this.curOp.command)return;this.prevOp=this.curOp}R||(this.previousCommand=null,R={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:R.command||{},args:R.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},F.prototype.endOperation=function(R){if(this.curOp&&this.session){if(R&&!1===R.returnValue||!this.session)return this.curOp=null;if(1==R&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var U=this.curOp.command,W=U&&U.scrollIntoView;if(W){switch(W){case"center-animate":W="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ne=this.selection.getRange(),ee=this.renderer.layerConfig;(ne.start.row>=ee.lastRow||ne.end.row<=ee.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==W&&this.renderer.animateScrolling(this.curOp.scrollTop)}var j=this.selection.toJSON();this.curOp.selectionAfter=j,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(j),this.prevOp=this.curOp,this.curOp=null}},F.prototype.$historyTracker=function(R){if(this.$mergeUndoDeltas){var U=this.prevOp,W=this.$mergeableCommands,ne=U.command&&R.command.name==U.command.name;if("insertstring"==R.command.name){var ee=R.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ne=ne&&this.mergeNextCommand&&(!/\s/.test(ee)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ne=ne&&-1!==W.indexOf(R.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ne=!1),ne?this.session.mergeUndoDeltas=!0:-1!==W.indexOf(R.command.name)&&(this.sequenceStartTime=Date.now())}},F.prototype.setKeyboardHandler=function(R,U){if(R&&"string"==typeof R&&"ace"!=R){this.$keybindingId=R;var W=this;w.loadModule(["keybinding",R],function(ne){W.$keybindingId==R&&W.keyBinding.setKeyboardHandler(ne&&ne.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(R),U&&U()},F.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},F.prototype.setSession=function(R){if(this.session!=R){this.curOp&&this.endOperation(),this.curOp={};var U=this.session;if(U){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var W=this.session.getSelection();W.off("changeCursor",this.$onCursorChange),W.off("changeSelection",this.$onSelectionChange)}this.session=R,R?(this.$onDocumentChange=this.onDocumentChange.bind(this),R.on("change",this.$onDocumentChange),this.renderer.setSession(R),this.$onChangeMode=this.onChangeMode.bind(this),R.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),R.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),R.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),R.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),R.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),R.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=R.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(R)),this._signal("changeSession",{session:R,oldSession:U}),this.curOp=null,U&&U._signal("changeEditor",{oldEditor:this}),R&&R._signal("changeEditor",{editor:this}),R&&!R.destroyed&&R.bgTokenizer.scheduleStart()}},F.prototype.getSession=function(){return this.session},F.prototype.setValue=function(R,U){return this.session.doc.setValue(R),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),R},F.prototype.getValue=function(){return this.session.getValue()},F.prototype.getSelection=function(){return this.selection},F.prototype.resize=function(R){this.renderer.onResize(R)},F.prototype.setTheme=function(R,U){this.renderer.setTheme(R,U)},F.prototype.getTheme=function(){return this.renderer.getTheme()},F.prototype.setStyle=function(R){this.renderer.setStyle(R)},F.prototype.unsetStyle=function(R){this.renderer.unsetStyle(R)},F.prototype.getFontSize=function(){return this.getOption("fontSize")||v.computedStyle(this.container).fontSize},F.prototype.setFontSize=function(R){this.setOption("fontSize",R)},F.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var R=this;this.$highlightPending=!0,setTimeout(function(){R.$highlightPending=!1;var U=R.session;if(U&&!U.destroyed){U.$bracketHighlight&&(U.$bracketHighlight.markerIds.forEach(function(te){U.removeMarker(te)}),U.$bracketHighlight=null);var W=R.getCursorPosition(),ne=R.getKeyboardHandler(),ee=ne&&ne.$getDirectionForHighlight&&ne.$getDirectionForHighlight(R),j=U.getMatchingBracketRanges(W,ee);if(!j){var $=new T(U,W.row,W.column).getCurrentToken();if($&&/\b(?:tag-open|tag-name)/.test($.type)){var Z=U.getMatchingTags(W);Z&&(j=[Z.openTagName,Z.closeTagName])}}if(!j&&U.$mode.getMatching&&(j=U.$mode.getMatching(R.session)),!j)return void(R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide());var H="ace_bracket";Array.isArray(j)?1==j.length&&(H="ace_error_bracket"):j=[j],2==j.length&&(0==g.comparePoints(j[0].end,j[1].start)?j=[g.fromPoints(j[0].start,j[1].end)]:0==g.comparePoints(j[0].start,j[1].end)&&(j=[g.fromPoints(j[1].start,j[0].end)])),U.$bracketHighlight={ranges:j,markerIds:j.map(function(te){return U.addMarker(te,H,"text")})},R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide()}},50)}},F.prototype.focus=function(){this.textInput.focus()},F.prototype.isFocused=function(){return this.textInput.isFocused()},F.prototype.blur=function(){this.textInput.blur()},F.prototype.onFocus=function(R){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",R))},F.prototype.onBlur=function(R){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",R))},F.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},F.prototype.onDocumentChange=function(R){this.renderer.updateLines(R.start.row,R.start.row==R.end.row?R.end.row:1/0,this.session.$useWrapMode),this._signal("change",R),this.$cursorChange()},F.prototype.onTokenizerUpdate=function(R){var U=R.data;this.renderer.updateLines(U.first,U.last)},F.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},F.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},F.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},F.prototype.$updateHighlightActiveLine=function(){var U,R=this.getSession();if(this.$highlightActiveLine&&(("line"!=this.$selectionStyle||!this.selection.isMultiLine())&&(U=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(U=!1),this.renderer.$maxLines&&1===this.session.getLength()&&!(this.renderer.$minLines>1)&&(U=!1)),R.$highlightLineMarker&&!U)R.removeMarker(R.$highlightLineMarker.id),R.$highlightLineMarker=null;else if(!R.$highlightLineMarker&&U){var W=new g(U.row,U.column,U.row,1/0);W.id=R.addMarker(W,"ace_active-line","screenLine"),R.$highlightLineMarker=W}else U&&(R.$highlightLineMarker.start.row=U.row,R.$highlightLineMarker.end.row=U.row,R.$highlightLineMarker.start.column=U.column,R._signal("changeBackMarker"))},F.prototype.onSelectionChange=function(R){var U=this.session;if(U.$selectionMarker&&U.removeMarker(U.$selectionMarker),U.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var W=this.selection.getRange(),ne=this.getSelectionStyle();U.$selectionMarker=U.addMarker(W,"ace_selection",ne)}var ee=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ee),this._signal("changeSelection")},F.prototype.$getSelectionHighLightRegexp=function(){var R=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var W=U.start.column,ne=U.end.column,ee=R.getLine(U.start.row),j=ee.substring(W,ne);if(!(j.length>5e3)&&/[\w\d]/.test(j)){var B=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:j}),$=ee.substring(W-1,ne+1);if(B.test($))return B}}},F.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},F.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},F.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},F.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},F.prototype.onChangeMode=function(R){this.renderer.updateText(),this._emit("changeMode",R)},F.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},F.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},F.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},F.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},F.prototype.getCopyText=function(){var R=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),W=!1;if(!R&&this.$copyWithEmptySelection){W=!0;for(var ne=this.selection.getAllRanges(),ee=0;eete.search(/\S|$/)){var $=te.substr(ee.column).search(/\S|$/);W.doc.removeInLine(ee.row,ee.column,ee.column+$)}}this.clearSelection();var Z=ee.column,H=W.getState(ee.row),ue=(te=W.getLine(ee.row),ne.checkOutdent(H,te,R));if(W.insert(ee,R),j&&j.selection&&this.selection.setSelectionRange(2==j.selection.length?new g(ee.row,Z+j.selection[0],ee.row,Z+j.selection[1]):new g(ee.row+j.selection[0],j.selection[1],ee.row+j.selection[2],j.selection[3])),this.$enableAutoIndent){if(W.getDocument().isNewLine(R)){var ye=ne.getNextLineIndent(H,te.slice(0,ee.column),W.getTabString());W.insert({row:ee.row+1,column:0},ye)}ue&&ne.autoOutdent(H,W,ee.row)}},F.prototype.autoIndent=function(){var W,ne,R=this.session,U=R.getMode();if(this.selection.isEmpty())W=0,ne=R.doc.getLength()-1;else{var ee=this.getSelectionRange();W=ee.start.row,ne=ee.end.row}for(var Z,H,te,j="",B="",$="",ue=R.getTabString(),ye=W;ye<=ne;ye++)ye>0&&(j=R.getState(ye-1),B=R.getLine(ye-1),$=U.getNextLineIndent(j,B,ue)),Z=R.getLine(ye),$!==(H=U.$getIndent(Z))&&(H.length>0&&(te=new g(ye,0,ye,H.length),R.remove(te)),$.length>0&&R.insert({row:ye,column:0},$)),U.autoOutdent(j,R,ye)},F.prototype.onTextInput=function(R,U){if(!U)return this.keyBinding.onTextInput(R);this.startOperation({command:{name:"insertstring"}});var W=this.applyComposition.bind(this,R,U);this.selection.rangeCount?this.forEachSelection(W):W(),this.endOperation()},F.prototype.applyComposition=function(R,U){var W;(U.extendLeft||U.extendRight)&&((W=this.selection.getRange()).start.column-=U.extendLeft,W.end.column+=U.extendRight,W.start.column<0&&(W.start.row--,W.start.column+=this.session.getLine(W.start.row).length+1),this.selection.setRange(W),!R&&!W.isEmpty()&&this.remove()),(R||!this.selection.isEmpty())&&this.insert(R,!0),(U.restoreStart||U.restoreEnd)&&((W=this.selection.getRange()).start.column-=U.restoreStart,W.end.column-=U.restoreEnd,this.selection.setRange(W))},F.prototype.onCommandKey=function(R,U,W){return this.keyBinding.onCommandKey(R,U,W)},F.prototype.setOverwrite=function(R){this.session.setOverwrite(R)},F.prototype.getOverwrite=function(){return this.session.getOverwrite()},F.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},F.prototype.setScrollSpeed=function(R){this.setOption("scrollSpeed",R)},F.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},F.prototype.setDragDelay=function(R){this.setOption("dragDelay",R)},F.prototype.getDragDelay=function(){return this.getOption("dragDelay")},F.prototype.setSelectionStyle=function(R){this.setOption("selectionStyle",R)},F.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},F.prototype.setHighlightActiveLine=function(R){this.setOption("highlightActiveLine",R)},F.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},F.prototype.setHighlightGutterLine=function(R){this.setOption("highlightGutterLine",R)},F.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},F.prototype.setHighlightSelectedWord=function(R){this.setOption("highlightSelectedWord",R)},F.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},F.prototype.setAnimatedScroll=function(R){this.renderer.setAnimatedScroll(R)},F.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},F.prototype.setShowInvisibles=function(R){this.renderer.setShowInvisibles(R)},F.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},F.prototype.setDisplayIndentGuides=function(R){this.renderer.setDisplayIndentGuides(R)},F.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},F.prototype.setHighlightIndentGuides=function(R){this.renderer.setHighlightIndentGuides(R)},F.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},F.prototype.setShowPrintMargin=function(R){this.renderer.setShowPrintMargin(R)},F.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},F.prototype.setPrintMarginColumn=function(R){this.renderer.setPrintMarginColumn(R)},F.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},F.prototype.setReadOnly=function(R){this.setOption("readOnly",R)},F.prototype.getReadOnly=function(){return this.getOption("readOnly")},F.prototype.setBehavioursEnabled=function(R){this.setOption("behavioursEnabled",R)},F.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},F.prototype.setWrapBehavioursEnabled=function(R){this.setOption("wrapBehavioursEnabled",R)},F.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},F.prototype.setShowFoldWidgets=function(R){this.setOption("showFoldWidgets",R)},F.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},F.prototype.setFadeFoldWidgets=function(R){this.setOption("fadeFoldWidgets",R)},F.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},F.prototype.remove=function(R){this.selection.isEmpty()&&("left"==R?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var W=this.session,ne=W.getState(U.start.row),ee=W.getMode().transformAction(ne,"deletion",this,W,U);if(0===U.end.column){var j=W.getTextRange(U);if("\n"==j[j.length-1]){var B=W.getLine(U.end.row);/^\s+$/.test(B)&&(U.end.column=B.length)}}ee&&(U=ee)}this.session.remove(U),this.clearSelection()},F.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var R=this.getSelectionRange();R.start.column==R.end.column&&R.start.row==R.end.row&&(R.end.column=0,R.end.row++),this.session.remove(R),this.clearSelection()},F.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var R=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(R)},F.prototype.setGhostText=function(R,U){this.session.widgetManager||(this.session.widgetManager=new S(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(R,U)},F.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},F.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var R=this.getCursorPosition(),U=R.column;if(0!==U){var ne,ee,W=this.session.getLine(R.row);U$.toLowerCase()?1:0});var ee=new g(0,0,0,0);for(ne=R.first;ne<=R.last;ne++){var j=U.getLine(ne);ee.start.row=ne,ee.end.row=ne,ee.end.column=j.length,U.replace(ee,W[ne-R.first])}},F.prototype.toggleCommentLines=function(){var R=this.session.getState(this.getCursorPosition().row),U=this.$getSelectedRows();this.session.getMode().toggleCommentLines(R,this.session,U.first,U.last)},F.prototype.toggleBlockComment=function(){var R=this.getCursorPosition(),U=this.session.getState(R.row),W=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,W,R)},F.prototype.getNumberAt=function(R,U){var W=/[\-]?[0-9]+(?:\.[0-9]+)?/g;W.lastIndex=0;for(var ne=this.session.getLine(R);W.lastIndex=U)return{value:ee[0],start:ee.index,end:ee.index+ee[0].length}}return null},F.prototype.modifyNumber=function(R){var U=this.selection.getCursor().row,W=this.selection.getCursor().column,ne=new g(U,W-1,U,W),ee=this.session.getTextRange(ne);if(!isNaN(parseFloat(ee))&&isFinite(ee)){var j=this.getNumberAt(U,W);if(j){var B=j.value.indexOf(".")>=0?j.start+j.value.indexOf(".")+1:j.end,$=j.start+j.value.length-B,Z=parseFloat(j.value);Z*=Math.pow(10,$),Z+=R*=B!==j.end&&W=B&&j<=$&&(W=Et,Z.selection.clearSelection(),Z.moveCursorTo(R,B+ne),Z.selection.selectTo(R,$+ne)),B=$});for(var te,H=this.$toggleWordPairs,ue=0;ue=$&&B<=Z&&ye.match(/((?:https?|ftp):\/\/[\S]+)/)){H=ye.replace(/[\s:.,'";}\]]+$/,"");break}$=Z}}catch(Ge){W={error:Ge}}finally{try{ue&&!ue.done&&(ne=te.return)&&ne.call(te)}finally{if(W)throw W.error}}return H},F.prototype.openLink=function(){var R=this.selection.getCursor(),U=this.findLinkAt(R.row,R.column);return U&&window.open(U,"_blank"),null!=U},F.prototype.removeLines=function(){var R=this.$getSelectedRows();this.session.removeFullLines(R.first,R.last),this.clearSelection()},F.prototype.duplicateSelection=function(){var R=this.selection,U=this.session,W=R.getRange(),ne=R.isBackwards();if(W.isEmpty()){var ee=W.start.row;U.duplicateLines(ee,ee)}else{var j=ne?W.start:W.end,B=U.insert(j,U.getTextRange(W));W.start=j,W.end=B,R.setSelectionRange(W,ne)}},F.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},F.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},F.prototype.moveText=function(R,U,W){return this.session.moveText(R,U,W)},F.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},F.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},F.prototype.$moveLines=function(R,U){var W,ne,ee=this.selection;if(!ee.inMultiSelectMode||this.inVirtualSelectionMode){var j=ee.toOrientedRange();W=this.$getSelectedRows(j),ne=this.session.$moveLines(W.first,W.last,U?0:R),U&&-1==R&&(ne=0),j.moveBy(ne,0),ee.fromOrientedRange(j)}else{var B=ee.rangeList.ranges;ee.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var $=0,Z=0,H=B.length,te=0;teGe+1)break;Ge=$e.last}for(te--,$=this.session.$moveLines(ye,Ge,U?0:R),U&&-1==R&&(ue=te+1);ue<=te;)B[ue].moveBy($,0),ue++;U||($=0),Z+=$}ee.fromOrientedRange(ee.ranges[0]),ee.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},F.prototype.$getSelectedRows=function(R){return R=(R||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(R.start.row),last:this.session.getRowFoldEnd(R.end.row)}},F.prototype.onCompositionStart=function(R){this.renderer.showComposition(R)},F.prototype.onCompositionUpdate=function(R){this.renderer.setCompositionText(R)},F.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},F.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},F.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},F.prototype.isRowVisible=function(R){return R>=this.getFirstVisibleRow()&&R<=this.getLastVisibleRow()},F.prototype.isRowFullyVisible=function(R){return R>=this.renderer.getFirstFullyVisibleRow()&&R<=this.renderer.getLastFullyVisibleRow()},F.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},F.prototype.$moveByPage=function(R,U){var W=this.renderer,ne=this.renderer.layerConfig,ee=R*Math.floor(ne.height/ne.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ee,0)}):!1===U&&(this.selection.moveCursorBy(ee,0),this.selection.clearSelection());var j=W.scrollTop;W.scrollBy(0,ee*ne.lineHeight),null!=U&&W.scrollCursorIntoView(null,.5),W.animateScrolling(j)},F.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},F.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},F.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},F.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},F.prototype.scrollPageDown=function(){this.$moveByPage(1)},F.prototype.scrollPageUp=function(){this.$moveByPage(-1)},F.prototype.scrollToRow=function(R){this.renderer.scrollToRow(R)},F.prototype.scrollToLine=function(R,U,W,ne){this.renderer.scrollToLine(R,U,W,ne)},F.prototype.centerSelection=function(){var R=this.getSelectionRange(),U={row:Math.floor(R.start.row+(R.end.row-R.start.row)/2),column:Math.floor(R.start.column+(R.end.column-R.start.column)/2)};this.renderer.alignCursor(U,.5)},F.prototype.getCursorPosition=function(){return this.selection.getCursor()},F.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},F.prototype.getSelectionRange=function(){return this.selection.getRange()},F.prototype.selectAll=function(){this.selection.selectAll()},F.prototype.clearSelection=function(){this.selection.clearSelection()},F.prototype.moveCursorTo=function(R,U){this.selection.moveCursorTo(R,U)},F.prototype.moveCursorToPosition=function(R){this.selection.moveCursorToPosition(R)},F.prototype.jumpToMatching=function(R,U){var W=this.getCursorPosition(),ne=new T(this.session,W.row,W.column),ee=ne.getCurrentToken(),j=0;ee&&-1!==ee.type.indexOf("tag-name")&&(ee=ne.stepBackward());var B=ee||ne.stepForward();if(B){var $,ue,Z=!1,H={},te=W.column-B.start,ye={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(B.value.match(/[{}()\[\]]/g)){for(;te1?H[B.value]++:"=0;--j)this.$tryReplace(W[j],R)&&ne++;return this.selection.setSelectionRange(ee),ne},F.prototype.$tryReplace=function(R,U){var W=this.session.getTextRange(R);return null!==(U=this.$search.replace(W,U))?(R.end=this.session.replace(R,U),R):null},F.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},F.prototype.find=function(R,U,W){U||(U={}),"string"==typeof R||R instanceof RegExp?U.needle=R:"object"==typeof R&&u.mixin(U,R);var ne=this.selection.getRange();null==U.needle&&((R=this.session.getTextRange(ne)||this.$search.$options.needle)||(ne=this.session.getWordRange(ne.start.row,ne.start.column),R=this.session.getTextRange(ne)),this.$search.set({needle:R})),this.$search.set(U),U.start||this.$search.set({start:ne});var ee=this.$search.find(this.session);return U.preventScroll?ee:ee?(this.revealRange(ee,W),ee):(U.backwards?ne.start=ne.end:ne.end=ne.start,void this.selection.setRange(ne))},F.prototype.findNext=function(R,U){this.find({skipCurrent:!0,backwards:!1},R,U)},F.prototype.findPrevious=function(R,U){this.find(R,{skipCurrent:!0,backwards:!0},U)},F.prototype.revealRange=function(R,U){this.session.unfold(R),this.selection.setSelectionRange(R);var W=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(R.start,R.end,.5),!1!==U&&this.renderer.animateScrolling(W)},F.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(R){R.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},F.prototype.setAutoScrollEditorIntoView=function(R){if(R){var U,W=this,ne=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ee=this.$scrollAnchor;ee.style.cssText="position:absolute",this.container.insertBefore(ee,this.container.firstChild);var j=this.on("changeSelection",function(){ne=!0}),B=this.renderer.on("beforeRender",function(){ne&&(U=W.renderer.container.getBoundingClientRect())}),$=this.renderer.on("afterRender",function(){if(ne&&U&&(W.isFocused()||W.searchBox&&W.searchBox.isFocused())){var Z=W.renderer,H=Z.$cursorLayer.$pixelPos,te=Z.layerConfig,ue=H.top-te.offset;null!=(ne=H.top>=0&&ue+U.top<0||!(H.topwindow.innerHeight)&&null)&&(ee.style.top=ue+"px",ee.style.left=H.left+"px",ee.style.height=te.lineHeight+"px",ee.scrollIntoView(ne)),ne=U=null}});this.setAutoScrollEditorIntoView=function(Z){Z||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",j),this.renderer.off("afterRender",$),this.renderer.off("beforeRender",B))}}},F.prototype.$resetCursorStyle=function(){var R=this.$cursorStyle||"ace",U=this.renderer.$cursorLayer;U&&(U.setSmoothBlinking(/smooth/.test(R)),U.isBlinking=!this.$readOnly&&"wide"!=R,v.setCssClass(U.element,"ace_slim-cursors",/slim/.test(R)))},F.prototype.prompt=function(R,U,W){var ne=this;w.loadModule("ace/ext/prompt",function(ee){ee.prompt(ne,R,U,W)})},F}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],u.implement(A.prototype,b),w.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(F){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:F})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(F){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(F){this.textInput.setReadOnly(F),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(F){this.textInput.setCopyWithEmptySelection(F)},initialValue:!1},cursorStyle:{set:function(F){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(F){this.setAutoScrollEditorIntoView(F)}},keyboardHandler:{set:function(F){this.setKeyboardHandler(F)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(F){this.session.setValue(F)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(F){this.setSession(F)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(F){this.renderer.$gutterLayer.setShowLineNumbers(F),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),F&&this.$relativeLineNumbers?L.attach(this):L.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(F){this.$showLineNumbers&&F?L.attach(this):L.detach(this)}},placeholder:{set:function(F){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var R=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(R&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),v.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(R||this.renderer.placeholderNode)!R&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),v.addCssClass(this.container,"ace_hasPlaceholder");var U=v.createElement("div");U.className="ace_placeholder",U.textContent=this.$placeholder||"",this.renderer.placeholderNode=U,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(F){var W,R={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(ne){ne.blur(),ne.renderer.scroller.focus()},readOnly:!0},U=function(ne){if(ne.target==this.renderer.scroller&&ne.keyCode===P.enter){ne.preventDefault();var ee=this.getCursorPosition().row;this.isRowVisible(ee)||this.scrollToLine(ee,!0,!0),this.focus()}};F?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(m.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",k("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",k("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",U.bind(this)),this.commands.addCommand(R),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",k("editor")),this.renderer.$gutter.setAttribute("aria-label",k("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),W||(W=new M(this)),W.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",U.bind(this)),this.commands.removeCommand(R),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),W&&W.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var L={getText:function(F,R){return(Math.abs(F.selection.lead.row-R)||R+1+(R<9?"\xb7":""))+""},getWidth:function(F,R,U){return Math.max(R.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(F,R){R.renderer.$loop.schedule(R.renderer.CHANGE_GUTTER)},attach:function(F){F.renderer.$gutterLayer.$renderer=this,F.on("changeSelection",this.update),this.update(null,F)},detach:function(F){F.renderer.$gutterLayer.$renderer==this&&(F.renderer.$gutterLayer.$renderer=null),F.off("changeSelection",this.update),this.update(null,F)}};f.Editor=A}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s,m){this.element=s,this.canvasHeight=m||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return v.prototype.moveContainer=function(s){y.translate(this.element,0,-s.firstRowScreen*s.lineHeight%this.canvasHeight-s.offset*this.$offsetCoefficient)},v.prototype.pageChanged=function(s,m){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight)},v.prototype.computeLineTop=function(s,m,h){var l=Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight);return h.documentToScreenRow(s,0)*m.lineHeight-l*this.canvasHeight},v.prototype.computeLineHeight=function(s,m,h){return m.lineHeight*h.getRowLineCount(s)},v.prototype.getLength=function(){return this.cells.length},v.prototype.get=function(s){return this.cells[s]},v.prototype.shift=function(){this.$cacheCell(this.cells.shift())},v.prototype.pop=function(){this.$cacheCell(this.cells.pop())},v.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var m=y.createFragment(this.element),h=0;hx&&(x=(C=d.getNextFoldLine(S=C.end.row+1,C))?C.start.row:1/0),S>b){for(;this.$lines.getLength()>T+1;)this.$lines.pop();break}(w=this.$lines.get(++T))?w.row=S:(w=this.$lines.createCell(S,c,this.session,l),this.$lines.push(w)),this.$renderCell(w,c,C,S),S++}this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$updateGutterWidth=function(c){var d=this.session,g=d.gutterRenderer||this.$renderer,b=d.$firstLineNumber,C=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||d.$useWrapMode)&&(C=d.getLength()+b-1);var x=g?g.getWidth(d,C,c):C.toString().length*c.characterWidth,w=this.$padding||this.$computePadding();(x+=w.left+w.right)!==this.gutterWidth&&!isNaN(x)&&(this.gutterWidth=x,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",x))},r.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var c=this.session.selection.getCursor();this.$cursorRow!==c.row&&(this.$cursorRow=c.row)}},r.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var c=this.session.selection.cursor.row;if(this.$cursorRow=c,!this.$cursorCell||this.$cursorCell.row!=c){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var d=this.$lines.cells;this.$cursorCell=null;for(var g=0;g=this.$cursorRow){if(b.row>this.$cursorRow){var C=this.session.getFoldLine(this.$cursorRow);if(!(g>0&&C&&C.start.row==d[g-1].row))break;b=d[g-1]}b.element.className="ace_gutter-active-line "+b.element.className,this.$cursorCell=b;break}}}}},r.prototype.scrollLines=function(c){var d=this.config;if(this.config=c,this.$updateCursorRow(),this.$lines.pageChanged(d,c))return this.update(c);this.$lines.moveContainer(c);var g=Math.min(c.lastRow+c.gutterOffset,this.session.getLength()-1),b=this.oldLastRow;if(this.oldLastRow=g,!d||b0;C--)this.$lines.shift();if(b>g)for(C=this.session.getFoldedRowCount(g+1,b);C>0;C--)this.$lines.pop();c.firstRowb&&this.$lines.push(this.$renderLines(c,b+1,g)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$renderLines=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session,l);this.$renderCell(T,c,x,C),b.push(T),C++}return b},r.prototype.$renderCell=function(c,d,g,b){var C=c.element,x=this.session,w=C.childNodes[0],T=C.childNodes[1],S=C.childNodes[2],M=S.firstChild,k=x.$firstLineNumber,I=x.$breakpoints,P=x.$decorations,A=x.gutterRenderer||this.$renderer,L=this.$showFoldWidgets&&x.foldWidgets,F=g?g.start.row:Number.MAX_VALUE,R=d.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",W=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ne=(A?A.getText(x,b):b+k).toString();if(this.$highlightGutterLine&&(b==this.$cursorRow||g&&b=F&&this.$cursorRow<=g.end.row)&&(U+="ace_gutter-active-line ",this.$cursorCell!=c&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=c)),I[b]&&(U+=I[b]),P[b]&&(U+=P[b]),this.$annotations[b]&&b!==F&&(U+=this.$annotations[b].className),L){var ee=L[b];null==ee&&(ee=L[b]=x.getFoldWidget(b))}if(ee){var j="ace_fold-widget ace_"+ee,B="start"==ee&&b==F&&bg.right-d.right?"foldWidgets":void 0},r}();function l(r){var c=document.createTextNode("");r.appendChild(c);var d=y.createElement("span");r.appendChild(d);var g=y.createElement("span");r.appendChild(g);var b=y.createElement("span");return g.appendChild(b),r}o.prototype.$fixedWidth=!1,o.prototype.$highlightGutterLine=!0,o.prototype.$renderer="",o.prototype.$showLineNumbers=!0,o.prototype.$showFoldWidgets=!0,u.implement(o.prototype,s),f.Gutter=o}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../range").Range,u=n("../lib/dom"),v=function(){function m(h){this.element=u.createElement("div"),this.element.className="ace_layer ace_marker-layer",h.appendChild(this.element)}return m.prototype.setPadding=function(h){this.$padding=h},m.prototype.setSession=function(h){this.session=h},m.prototype.setMarkers=function(h){this.markers=h},m.prototype.elt=function(h,o){var l=-1!=this.i&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=o,l.className=h},m.prototype.update=function(h){if(h){var o;for(var l in this.config=h,this.i=0,this.markers){var r=this.markers[l];if(r.range){var c=r.range.clipRows(h.firstRow,h.lastRow);if(!c.isEmpty())if(c=c.toScreenRange(this.session),r.renderer){var d=this.$getTop(c.start.row,h);r.renderer(o,c,this.$padding+c.start.column*h.characterWidth,d,h)}else"fullLine"==r.type?this.drawFullLineMarker(o,c,r.clazz,h):"screenLine"==r.type?this.drawScreenLineMarker(o,c,r.clazz,h):c.isMultiLine()?"text"==r.type?this.drawTextMarker(o,c,r.clazz,h):this.drawMultiLineMarker(o,c,r.clazz,h):this.drawSingleLineMarker(o,c,r.clazz+" ace_start ace_br15",h)}else r.update(o,this,this.session,h)}if(-1!=this.i)for(;this.iT,C==b),r,C==b?0:1,c)},m.prototype.drawMultiLineMarker=function(h,o,l,r,c){var x,d=this.$padding,g=r.lineHeight,b=this.$getTop(o.start.row,r),C=d+o.start.column*r.characterWidth;if(c=c||"",this.session.$bidiHandler.isBidiRow(o.start.row)?((x=o.clone()).end.row=x.start.row,x.end.column=this.session.getLine(x.start.row).length,this.drawBidiSingleLineMarker(h,x,l+" ace_br1 ace_start",r,null,c)):this.elt(l+" ace_br1 ace_start","height:"+g+"px;right:0;top:"+b+"px;left:"+C+"px;"+(c||"")),this.session.$bidiHandler.isBidiRow(o.end.row)?((x=o.clone()).start.row=x.end.row,x.start.column=0,this.drawBidiSingleLineMarker(h,x,l+" ace_br12",r,null,c)):(b=this.$getTop(o.end.row,r),this.elt(l+" ace_br12","height:"+g+"px;width:"+o.end.column*r.characterWidth+"px;top:"+b+"px;left:"+d+"px;"+(c||""))),!((g=(o.end.row-o.start.row-1)*r.lineHeight)<=0)){b=this.$getTop(o.start.row+1,r);var T=(o.start.column?1:0)|(o.end.column?0:8);this.elt(l+(T?" ace_br"+T:""),"height:"+g+"px;right:0;top:"+b+"px;left:"+d+"px;"+(c||""))}},m.prototype.drawSingleLineMarker=function(h,o,l,r,c,d){if(this.session.$bidiHandler.isBidiRow(o.start.row))return this.drawBidiSingleLineMarker(h,o,l,r,c,d);var g=r.lineHeight,b=(o.end.column+(c||0)-o.start.column)*r.characterWidth,C=this.$getTop(o.start.row,r);this.elt(l,"height:"+g+"px;width:"+b+"px;top:"+C+"px;left:"+(this.$padding+o.start.column*r.characterWidth)+"px;"+(d||""))},m.prototype.drawBidiSingleLineMarker=function(h,o,l,r,c,d){var g=r.lineHeight,b=this.$getTop(o.start.row,r),C=this.$padding;this.session.$bidiHandler.getSelections(o.start.column,o.end.column).forEach(function(w){this.elt(l,"height:"+g+"px;width:"+(w.width+(c||0))+"px;top:"+b+"px;left:"+(C+w.left)+"px;"+(d||""))},this)},m.prototype.drawFullLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r),g=r.lineHeight;o.start.row!=o.end.row&&(g+=this.$getTop(o.end.row,r)-d),this.elt(l,"height:"+g+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m.prototype.drawScreenLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r);this.elt(l,"height:"+r.lineHeight+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m}();function s(m,h,o,l){return(m?1:0)|(h?2:0)|(o?4:0)|(l?8:0)}v.prototype.$padding=0,f.Marker=v}),ace.define("ace/layer/text_util",["require","exports","module"],function(n,f,D){var y=new Set(["text","rparen","lparen"]);f.isTextToken=function(u){return y.has(u)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("./lines").Lines,m=n("../lib/event_emitter").EventEmitter,h=n("../config").nls,o=n("./text_util").isTextToken,l=function(){function r(c){this.dom=u,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",c.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return r.prototype.$updateEolChar=function(){var c=this.session.doc,g="\n"==c.getNewLineCharacter()&&"windows"!=c.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=g)return this.EOL_CHAR=g,!0},r.prototype.setPadding=function(c){this.$padding=c,this.element.style.margin="0 "+c+"px"},r.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},r.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},r.prototype.$setFontMetrics=function(c){this.$fontMetrics=c,this.$fontMetrics.on("changeCharacterSize",function(d){this._signal("changeCharacterSize",d)}.bind(this)),this.$pollSizeChanges()},r.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},r.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},r.prototype.setSession=function(c){this.session=c,c&&this.$computeTabString()},r.prototype.setShowInvisibles=function(c){return this.showInvisibles!=c&&(this.showInvisibles=c,"string"==typeof c?(this.showSpaces=/tab/i.test(c),this.showTabs=/space/i.test(c),this.showEOL=/eol/i.test(c)):this.showSpaces=this.showTabs=this.showEOL=c,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(c){return this.displayIndentGuides!=c&&(this.displayIndentGuides=c,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(c){return this.$highlightIndentGuides!==c&&(this.$highlightIndentGuides=c,c)},r.prototype.$computeTabString=function(){var c=this.session.getTabSize();this.tabSize=c;for(var d=this.$tabStrings=[0],g=1;gk&&(k=(M=this.session.getNextFoldLine(S=M.end.row+1,M))?M.start.row:1/0),!(S>C);){var I=x[w++];if(I){this.dom.removeChildren(I),this.$renderLine(I,S,S==k&&M),T&&(I.style.top=this.$lines.computeLineTop(S,c,this.session)+"px");var P=c.lineHeight*this.session.getRowLength(S)+"px";I.style.height!=P&&(T=!0,I.style.height=P)}S++}if(T)for(;w0;C--)this.$lines.shift();if(d.lastRow>c.lastRow)for(C=this.session.getFoldedRowCount(c.lastRow+1,d.lastRow);C>0;C--)this.$lines.pop();c.firstRowd.lastRow&&this.$lines.push(this.$renderLinesFragment(c,d.lastRow+1,c.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session),S=T.element;this.dom.removeChildren(S),u.setStyle(S.style,"height",this.$lines.computeLineHeight(C,c,this.session)+"px"),u.setStyle(S.style,"top",this.$lines.computeLineTop(C,c,this.session)+"px"),this.$renderLine(S,C,C==w&&x),S.className=this.$useLineGroups()?"ace_line_group":"ace_line",b.push(T),C++}return b},r.prototype.update=function(c){this.$lines.moveContainer(c),this.config=c;for(var d=c.firstRow,g=c.lastRow,b=this.$lines;b.getLength();)b.pop();b.push(this.$renderLinesFragment(c,d,g))},r.prototype.$renderToken=function(c,d,g,b){for(var T,C=this,x=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,w=this.dom.createFragment(this.element),S=0;T=x.exec(b);){var M=T[1],k=T[2],I=T[3],P=T[4],A=T[5];if(C.showSpaces||!k){var L=S!=T.index?b.slice(S,T.index):"";if(S=T.index+T[0].length,L&&w.appendChild(this.dom.createTextNode(L,this.element)),M){var F=C.session.getScreenTabSize(d+T.index);w.appendChild(C.$tabStrings[F].cloneNode(!0)),d+=F-1}else k?C.showSpaces?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",R.textContent=v.stringRepeat(C.SPACE_CHAR,k.length),w.appendChild(R)):w.appendChild(this.dom.createTextNode(k,this.element)):I?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",R.textContent=v.stringRepeat(C.SPACE_CHAR,I.length),w.appendChild(R)):P?(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className=C.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",R.textContent=C.showSpaces?C.SPACE_CHAR:P,w.appendChild(R)):A&&(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className="ace_cjk",R.textContent=A,w.appendChild(R))}}if(w.appendChild(this.dom.createTextNode(S?b.slice(S):b,this.element)),o(g.type))c.appendChild(w);else{var U="ace_"+g.type.replace(/\./g," ace_"),R=this.dom.createElement("span");"fold"==g.type&&(R.style.width=g.value.length*this.config.characterWidth+"px",R.setAttribute("title",h("Unfold code"))),R.className=U,R.appendChild(w),c.appendChild(R)}return d+b.length},r.prototype.renderIndentGuide=function(c,d,g){var b=d.search(this.$indentGuideRe);if(b<=0||b>=g)return d;if(" "==d[0]){for(var C=(b-=b%this.tabSize)/this.tabSize,x=0;xx[w].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==c[d.row]&&d.column===c[d.row].length)for(this.$highlightIndentGuideMarker.dir=1,w=d.row+1;w0)for(var C=0;C=this.$highlightIndentGuideMarker.start+1){if(b.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(b,d)}}else for(g=c.length-1;g>=0;g--)if(b=c[g],this.$highlightIndentGuideMarker.end&&b.row=x;)w=this.$renderToken(T,w,M,k.substring(0,x-b)),k=k.substring(x-b),b=x,T=this.$createLineElement(),c.appendChild(T),T.appendChild(this.dom.createTextNode(v.stringRepeat("\xa0",g.indent),this.element)),w=0,x=g[++C]||Number.MAX_VALUE;0!=k.length&&(b+=k.length,w=this.$renderToken(T,w,M,k))}}g[g.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(T,w,null,"",!0)},r.prototype.$renderSimpleLine=function(c,d){for(var g=0,b=0;bthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(c,g,C,x);g=this.$renderToken(c,g,C,x)}}},r.prototype.$renderOverflowMessage=function(c,d,g,b,C){g&&this.$renderToken(c,d,g,b.slice(0,this.MAX_LINE_LENGTH-d));var x=this.dom.createElement("span");x.className="ace_inline_button ace_keyword ace_toggle_wrap",x.textContent=C?"":"",c.appendChild(x)},r.prototype.$renderLine=function(c,d,g){if(!g&&0!=g&&(g=this.session.getFoldLine(d)),g)var b=this.$getFoldLineTokens(d,g);else b=this.session.getTokens(d);var C=c;if(b.length){var x=this.session.getRowSplitData(d);x&&x.length?(this.$renderWrappedLine(c,b,x),C=c.lastChild):(C=c,this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C)),this.$renderSimpleLine(C,b))}else this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C));if(this.showEOL&&C){g&&(d=g.end.row);var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_eol",w.textContent=d==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,C.appendChild(w)}},r.prototype.$getFoldLineTokens=function(c,d){var g=this.session,b=[],x=g.getTokens(c);return d.walk(function(w,T,S,M,k){null!=w?b.push({type:"fold",value:w}):(k&&(x=g.getTokens(T)),x.length&&function C(w,T,S){for(var M=0,k=0;k+w[M].value.lengthS-T&&(I=I.substring(0,S-T)),b.push({type:w[M].type,value:I}),k=T+I.length,M+=1);kS?{type:w[M].type,value:I.substring(0,S-k)}:w[M]),k+=I.length,M+=1}}(x,M,S))},d.end.row,this.session.getLine(d.end.row).length),b},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();l.prototype.EOF_CHAR="\xb6",l.prototype.EOL_CHAR_LF="\xac",l.prototype.EOL_CHAR_CRLF="\xa4",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="\u2014",l.prototype.SPACE_CHAR="\xb7",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,y.implement(l.prototype,m),f.Text=l}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s){this.element=y.createElement("div"),this.element.className="ace_layer ace_cursor-layer",s.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),y.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return v.prototype.$updateOpacity=function(s){for(var m=this.cursors,h=m.length;h--;)y.setStyle(m[h].style,"opacity",s?"":"0")},v.prototype.$startCssAnimation=function(){for(var s=this.cursors,m=s.length;m--;)s[m].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&y.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},v.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,y.removeCssClass(this.element,"ace_animate-blinking")},v.prototype.setPadding=function(s){this.$padding=s},v.prototype.setSession=function(s){this.session=s},v.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},v.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},v.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,y.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},v.prototype.addCursor=function(){var s=y.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},v.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},v.prototype.hideCursor=function(){this.isVisible=!1,y.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.showCursor=function(){this.isVisible=!0,y.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,y.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&y.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),y.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var m=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),m()},this.blinkInterval),m()}else this.$stopCssAnimation()},v.prototype.getPixelPosition=function(s,m){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var h=this.session.documentToScreenPosition(s);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(h.row,s.row)?this.session.$bidiHandler.getPosLeft(h.column):h.column*this.config.characterWidth),top:(h.row-(m?this.config.firstRowScreen:0))*this.config.lineHeight}},v.prototype.isCursorInView=function(s,m){return s.top>=0&&s.tops.height+s.offset||r.top<0)&&h>1)){var c=this.cursors[o++]||this.addCursor(),d=c.style;this.drawCursor?this.drawCursor(c,r,s,m[h],this.session):this.isCursorInView(r,s)?(y.setStyle(d,"display","block"),y.translate(c,r.left,r.top),y.setStyle(d,"width",Math.round(s.characterWidth)+"px"),y.setStyle(d,"height",s.lineHeight+"px")):y.setStyle(d,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var g=this.session.getOverwrite();this.$setOverwrite(g),this.$pixelPos=r,this.restartTimer()},v.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?y.addCssClass(this.element,"ace_overwrite-cursors"):y.removeCssClass(this.element,"ace_overwrite-cursors"))},v.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},v}();u.prototype.$padding=0,u.prototype.drawCursor=null,f.Cursor=u}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var c,y=this&&this.__extends||(c=function(d,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,C){b.__proto__=C}||function(b,C){for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&(b[x]=C[x])})(d,g)},function(d,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function b(){this.constructor=d}c(d,g),d.prototype=null===g?Object.create(g):(b.prototype=g.prototype,new b)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter,h=32768,o=function(){function c(d,g){this.element=v.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+g,this.inner=v.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),d.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addListener(this.element,"scroll",this.onScroll.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)}return c.prototype.setVisible=function(d){this.element.style.display=d?"":"none",this.isVisible=d,this.coeff=1},c}();u.implement(o.prototype,m);var l=function(c){function d(g,b){var C=c.call(this,g,"-v")||this;return C.scrollTop=0,C.scrollHeight=0,b.$scrollbarWidth=C.width=v.scrollbarWidth(g.ownerDocument),C.inner.style.width=C.element.style.width=(C.width||15)+5+"px",C.$minWidth=0,C}return y(d,c),d.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var g=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-g)/(this.coeff-g)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},d.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},d.prototype.setHeight=function(g){this.element.style.height=g+"px"},d.prototype.setScrollHeight=function(g){this.scrollHeight=g,g>h?(this.coeff=h/g,g=h):1!=this.coeff&&(this.coeff=1),this.inner.style.height=g+"px"},d.prototype.setScrollTop=function(g){this.scrollTop!=g&&(this.skipEvent=!0,this.scrollTop=g,this.element.scrollTop=g*this.coeff)},d}(o);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var r=function(c){function d(g,b){var C=c.call(this,g,"-h")||this;return C.scrollLeft=0,C.height=b.$scrollbarWidth,C.inner.style.height=C.element.style.height=(C.height||15)+5+"px",C}return y(d,c),d.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},d.prototype.getHeight=function(){return this.isVisible?this.height:0},d.prototype.setWidth=function(g){this.element.style.width=g+"px"},d.prototype.setInnerWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollLeft=function(g){this.scrollLeft!=g&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=g)},d}(o);f.ScrollBar=l,f.ScrollBarV=l,f.ScrollBarH=r,f.VScrollBar=l,f.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var r,y=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var C in b)Object.prototype.hasOwnProperty.call(b,C)&&(g[C]=b[C])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter;v.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var h=function(){function r(c,d){this.element=v.createElement("div"),this.element.className="ace_sb"+d,this.inner=v.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,c.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return r.prototype.setVisible=function(c){this.element.style.display=c?"":"none",this.isVisible=c,this.coeff=1},r}();u.implement(h.prototype,m);var o=function(r){function c(d,g){var b=r.call(this,d,"-v")||this;return b.scrollTop=0,b.scrollHeight=0,b.parent=d,b.width=b.VScrollWidth,b.renderer=g,b.inner.style.width=b.element.style.width=(b.width||15)+"px",b.$minWidth=0,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientY,T=g.clientY,S=this.thumbTop;s.capture(this.inner,function(P){C=P.clientY},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollTopFromThumbTop(S+C-T);P!==b.scrollTop&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.height},c.prototype.scrollTopFromThumbTop=function(d){var g=d*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(g>>=0)<0?g=0:g>this.pageHeight-this.viewHeight&&(g=this.pageHeight-this.viewHeight),g},c.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},c.prototype.setHeight=function(d){this.height=Math.max(0,d),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},c.prototype.setScrollHeight=function(d,g){this.pageHeight===d&&!g||(this.pageHeight=d,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},c.prototype.setScrollTop=function(d){this.scrollTop=d,d<0&&(d=0),this.thumbTop=d*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},c}(h);o.prototype.setInnerHeight=o.prototype.setScrollHeight;var l=function(r){function c(d,g){var b=r.call(this,d,"-h")||this;return b.scrollLeft=0,b.scrollWidth=0,b.height=b.HScrollHeight,b.inner.style.height=b.element.style.height=(b.height||12)+"px",b.renderer=g,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientX,T=g.clientX,S=this.thumbLeft;s.capture(this.inner,function(P){C=P.clientX},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollLeftFromThumbLeft(S+C-T);P!==b.scrollLeft&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.isVisible?this.height:0},c.prototype.scrollLeftFromThumbLeft=function(d){var g=d*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(g>>=0)<0?g=0:g>this.pageWidth-this.viewWidth&&(g=this.pageWidth-this.viewWidth),g},c.prototype.setWidth=function(d){this.width=Math.max(0,d),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},c.prototype.setScrollWidth=function(d,g){this.pageWidth===d&&!g||(this.pageWidth=d,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},c.prototype.setScrollLeft=function(d){this.scrollLeft=d,d<0&&(d=0),this.thumbLeft=d*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},c}(h);l.prototype.setInnerWidth=l.prototype.setScrollWidth,f.ScrollBar=o,f.ScrollBarV=o,f.ScrollBarH=l,f.VScrollBar=o,f.HScrollBar=l}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(n,f,D){"use strict";var y=n("./lib/event"),u=function(){function v(s,m){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=m||window;var h=this;this._flush=function(o){h.pending=!1;var l=h.changes;if(l&&(y.blockIdle(100),h.changes=0,h.onRender(l)),h.changes){if(h.$recursionLimit--<0)return;h.schedule()}else h.$recursionLimit=2}}return v.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(y.nextFrame(this._flush),this.pending=!0)},v.prototype.clear=function(s){var m=this.changes;return this.changes=0,m},v}();f.RenderLoop=u}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(n,f,D){var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("../lib/event"),m=n("../lib/useragent"),h=n("../lib/event_emitter").EventEmitter,o=512,l="function"==typeof ResizeObserver,r=200,c=function(){function d(g){this.el=u.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=u.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=u.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),g.appendChild(this.el),this.$measureNode.textContent=v.stringRepeat("X",o),this.$characterSize={width:0,height:0},l?this.$addObserver():this.checkForSizeChanges()}return d.prototype.$setMeasureNodeStyles=function(g,b){g.width=g.height="auto",g.left=g.top="0px",g.visibility="hidden",g.position="absolute",g.whiteSpace="pre",m.isIE<8?g["font-family"]="inherit":g.font="inherit",g.overflow=b?"hidden":"visible"},d.prototype.checkForSizeChanges=function(g){if(void 0===g&&(g=this.$measureSizes()),g&&(this.$characterSize.width!==g.width||this.$characterSize.height!==g.height)){this.$measureNode.style.fontWeight="bold";var b=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=g,this.charSizes=Object.create(null),this.allowBoldFonts=b&&b.width===g.width&&b.height===g.height,this._emit("changeCharacterSize",{data:g})}},d.prototype.$addObserver=function(){var g=this;this.$observer=new window.ResizeObserver(function(b){g.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},d.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var g=this;return this.$pollSizeChangesTimer=s.onIdle(function b(){g.checkForSizeChanges(),s.onIdle(b,500)},500)},d.prototype.setPolling=function(g){g?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},d.prototype.$measureSizes=function(g){var b={height:(g||this.$measureNode).clientHeight,width:(g||this.$measureNode).clientWidth/o};return 0===b.width||0===b.height?null:b},d.prototype.$measureCharWidth=function(g){return this.$main.textContent=v.stringRepeat(g,o),this.$main.getBoundingClientRect().width/o},d.prototype.getCharacterWidth=function(g){var b=this.charSizes[g];return void 0===b&&(b=this.charSizes[g]=this.$measureCharWidth(g)/this.$characterSize.width),b},d.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},d.prototype.$getZoom=function(g){return g&&g.parentElement?(window.getComputedStyle(g).zoom||1)*this.$getZoom(g.parentElement):1},d.prototype.$initTransformMeasureNodes=function(){var g=function(b,C){return["div",{style:"position: absolute;top:"+b+"px;left:"+C+"px;"}]};this.els=u.buildDom([g(0,0),g(r,0),g(0,r),g(r,r)],this.el)},d.prototype.transformCoordinates=function(g,b){function x(B,$,Z){var H=B[1]*$[0]-B[0]*$[1];return[(-$[1]*Z[0]+$[0]*Z[1])/H,(+B[1]*Z[0]-B[0]*Z[1])/H]}function w(B,$){return[B[0]-$[0],B[1]-$[1]]}function T(B,$){return[B[0]+$[0],B[1]+$[1]]}function S(B,$){return[B*$[0],B*$[1]]}function M(B){var $=B.getBoundingClientRect();return[$.left,$.top]}g&&(g=S(1/this.$getZoom(this.el),g)),this.els||this.$initTransformMeasureNodes();var k=M(this.els[0]),I=M(this.els[1]),P=M(this.els[2]),A=M(this.els[3]),L=x(w(A,I),w(A,P),w(T(I,P),T(A,k))),F=S(1+L[0],w(I,k)),R=S(1+L[1],w(P,k));if(b){var U=b,W=L[0]*U[0]/r+L[1]*U[1]/r+1,ne=T(S(U[0],F),S(U[1],R));return T(S(1/W/r,ne),k)}var ee=w(g,k),j=x(w(F,S(L[0],ee)),w(R,S(L[1],ee)),ee);return S(r,j)},d}();c.prototype.$characterSize={width:0,height:0},y.implement(c.prototype,h),f.FontMetrics=c}),ace.define("ace/css/editor-css",["require","exports","module"],function(n,f,D){D.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/oop"),v=n("../lib/event_emitter").EventEmitter,s=function(){function m(h,o){this.canvas=y.createElement("canvas"),this.renderer=o,this.pixelRatio=1,this.maxHeight=o.layerConfig.maxHeight,this.lineHeight=o.layerConfig.lineHeight,this.canvasHeight=h.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=h.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},h.element.appendChild(this.canvas)}return m.prototype.$updateDecorators=function(h){var o=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;h&&(this.maxHeight=h.maxHeight,this.lineHeight=h.lineHeight,this.canvasHeight=h.height,this.heightRatio=(h.lastRow+1)*this.lineHeightL.priority?1:0});for(var b=this.renderer.session.$foldData,C=0;Cthis.canvasHeight&&(I=this.canvasHeight-this.halfMinDecorationHeight),S=Math.round(I-this.halfMinDecorationHeight),M=Math.round(I+this.halfMinDecorationHeight)}r.fillStyle=o[d[C].type]||null,r.fillRect(0,T,this.canvasWidth,M-S)}}var P=this.renderer.session.selection.getCursor();P&&(w=this.compensateFoldRows(P.row,b),T=Math.round((P.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,T,this.canvasWidth,2))},m.prototype.compensateFoldRows=function(h,o){var l=0;if(o&&o.length>0)for(var r=0;ro[r].start.row&&h=o[r].end.row&&(l+=o[r].end.row-o[r].start.row);return l},m}();u.implement(s.prototype,v),f.Decorator=s}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/dom"),v=n("./lib/lang"),s=n("./config"),m=n("./layer/gutter").Gutter,h=n("./layer/marker").Marker,o=n("./layer/text").Text,l=n("./layer/cursor").Cursor,r=n("./scrollbar").HScrollBar,c=n("./scrollbar").VScrollBar,d=n("./scrollbar_custom").HScrollBar,g=n("./scrollbar_custom").VScrollBar,b=n("./renderloop").RenderLoop,C=n("./layer/font_metrics").FontMetrics,x=n("./lib/event_emitter").EventEmitter,w=n("./css/editor-css"),T=n("./layer/decorators").Decorator,S=n("./lib/useragent");u.importCssString(w,"ace_editor.css",!1);var M=function(){function k(I,P){var A=this;this.container=I||u.createElement("div"),u.addCssClass(this.container,"ace_editor"),u.HI_DPI&&u.addCssClass(this.container,"ace_hidpi"),this.setTheme(P),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=u.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=u.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=u.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new m(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new h(this.content);var L=this.$textLayer=new o(this.content);this.canvas=L.element,this.$markerFront=new h(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new c(this.container,this),this.scrollBarH=new r(this.container,this),this.scrollBarV.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollTop(F.data-A.scrollMargin.top)}),this.scrollBarH.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollLeft(F.data-A.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new C(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(F){A.updateCharacterSize(),A.onResize(!0,A.gutterWidth,A.$size.width,A.$size.height),A._signal("changeCharacterSize",F)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!S.isIOS,this.$loop=new b(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return k.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),u.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},k.prototype.setSession=function(I){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=I,I&&this.scrollMargin.top&&I.getScrollTop()<=0&&I.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(I),this.$markerBack.setSession(I),this.$markerFront.setSession(I),this.$gutterLayer.setSession(I),this.$textLayer.setSession(I),I&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},k.prototype.updateLines=function(I,P,A){if(void 0===P&&(P=1/0),this.$changedLines?(this.$changedLines.firstRow>I&&(this.$changedLines.firstRow=I),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},k.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},k.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},k.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},k.prototype.updateFull=function(I){I?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},k.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},k.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},k.prototype.onResize=function(I,P,A,L){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=I?1:0;var F=this.container;L||(L=F.clientHeight||F.scrollHeight),A||(A=F.clientWidth||F.scrollWidth);var R=this.$updateCachedSize(I,P,A,L);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!A&&!L)return this.resizing=0;I&&(this.$gutterLayer.$padding=null),I?this.$renderChanges(R|this.$changes,!0):this.$loop.schedule(R|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},k.prototype.$updateCachedSize=function(I,P,A,L){var F=0,R=this.$size,U={width:R.width,height:R.height,scrollerHeight:R.scrollerHeight,scrollerWidth:R.scrollerWidth};if((L-=this.$extraHeight||0)&&(I||R.height!=L)&&(R.height=L,F|=this.CHANGE_SIZE,R.scrollerHeight=R.height,this.$horizScroll&&(R.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(R.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",F|=this.CHANGE_SCROLL),A&&(I||R.width!=A)){F|=this.CHANGE_SIZE,R.width=A,null==P&&(P=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=P,u.setStyle(this.scrollBarH.element.style,"left",P+"px"),u.setStyle(this.scroller.style,"left",P+this.margin.left+"px"),R.scrollerWidth=Math.max(0,A-P-this.scrollBarV.getWidth()-this.margin.h),u.setStyle(this.$gutter.style,"left",this.margin.left+"px");var W=this.scrollBarV.getWidth()+"px";u.setStyle(this.scrollBarH.element.style,"right",W),u.setStyle(this.scroller.style,"right",W),u.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(R.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||I)&&(F|=this.CHANGE_FULL)}return R.$dirty=!A||!L,F&&this._signal("resize",U),F},k.prototype.onGutterResize=function(I){var P=this.$showGutter?I:0;P!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,P,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},k.prototype.adjustWrapLimit=function(){var P=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(P,this.$showPrintMargin&&this.$printMarginColumn)},k.prototype.setAnimatedScroll=function(I){this.setOption("animatedScroll",I)},k.prototype.getAnimatedScroll=function(){return this.$animatedScroll},k.prototype.setShowInvisibles=function(I){this.setOption("showInvisibles",I),this.session.$bidiHandler.setShowInvisibles(I)},k.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},k.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},k.prototype.setDisplayIndentGuides=function(I){this.setOption("displayIndentGuides",I)},k.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},k.prototype.setHighlightIndentGuides=function(I){this.setOption("highlightIndentGuides",I)},k.prototype.setShowPrintMargin=function(I){this.setOption("showPrintMargin",I)},k.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},k.prototype.setPrintMarginColumn=function(I){this.setOption("printMarginColumn",I)},k.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},k.prototype.getShowGutter=function(){return this.getOption("showGutter")},k.prototype.setShowGutter=function(I){return this.setOption("showGutter",I)},k.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},k.prototype.setFadeFoldWidgets=function(I){this.setOption("fadeFoldWidgets",I)},k.prototype.setHighlightGutterLine=function(I){this.setOption("highlightGutterLine",I)},k.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},k.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var I=u.createElement("div");I.className="ace_layer ace_print-margin-layer",this.$printMarginEl=u.createElement("div"),this.$printMarginEl.className="ace_print-margin",I.appendChild(this.$printMarginEl),this.content.insertBefore(I,this.content.firstChild)}var P=this.$printMarginEl.style;P.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",P.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},k.prototype.getContainerElement=function(){return this.container},k.prototype.getMouseEventTarget=function(){return this.scroller},k.prototype.getTextAreaContainer=function(){return this.container},k.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var I=this.textarea.style,P=this.$composition;if(!this.$keepTextAreaAtCursor&&!P)return void u.translate(this.textarea,-100,0);var A=this.$cursorLayer.$pixelPos;if(A){P&&P.markerRange&&(A=this.$cursorLayer.getPixelPosition(P.markerRange.start,!0));var L=this.layerConfig,F=A.top,R=A.left,U=P&&P.useTextareaForIME||S.isMobile?this.lineHeight:1;if((F-=L.offset)<0||F>L.height-U)return void u.translate(this.textarea,0,0);var W=1,ne=this.$size.height-U;P?P.useTextareaForIME?W=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:F+=this.lineHeight+2:F+=this.lineHeight,(R-=this.scrollLeft)>this.$size.scrollerWidth-W&&(R=this.$size.scrollerWidth-W),R+=this.gutterWidth+this.margin.left,u.setStyle(I,"height",U+"px"),u.setStyle(I,"width",W+"px"),u.translate(this.textarea,Math.min(R,this.$size.scrollerWidth-W),Math.min(F,ne))}}},k.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},k.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},k.prototype.getLastFullyVisibleRow=function(){var I=this.layerConfig,P=I.lastRow;return this.session.documentToScreenRow(P,0)*I.lineHeight-this.session.getScrollTop()>I.height-I.lineHeight?P-1:P},k.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},k.prototype.setPadding=function(I){this.$padding=I,this.$textLayer.setPadding(I),this.$cursorLayer.setPadding(I),this.$markerFront.setPadding(I),this.$markerBack.setPadding(I),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},k.prototype.setScrollMargin=function(I,P,A,L){var F=this.scrollMargin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,F.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-F.top),this.updateFull()},k.prototype.setMargin=function(I,P,A,L){var F=this.margin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},k.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},k.prototype.setHScrollBarAlwaysVisible=function(I){this.setOption("hScrollBarAlwaysVisible",I)},k.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},k.prototype.setVScrollBarAlwaysVisible=function(I){this.setOption("vScrollBarAlwaysVisible",I)},k.prototype.$updateScrollBarV=function(){var I=this.layerConfig.maxHeight,P=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(I-=(P-this.lineHeight)*this.$scrollPastEnd)-P&&(I=this.scrollTop+P,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(I+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},k.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},k.prototype.freeze=function(){this.$frozen=!0},k.prototype.unfreeze=function(){this.$frozen=!1},k.prototype.$renderChanges=function(I,P){if(this.$changes&&(I|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(I||P)){if(this.$size.$dirty)return this.$changes|=I,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",I),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var A=this.layerConfig;if(I&this.CHANGE_FULL||I&this.CHANGE_SIZE||I&this.CHANGE_TEXT||I&this.CHANGE_LINES||I&this.CHANGE_SCROLL||I&this.CHANGE_H_SCROLL){if(I|=this.$computeLayerConfig()|this.$loop.clear(),A.firstRow!=this.layerConfig.firstRow&&A.firstRowScreen==this.layerConfig.firstRowScreen){var L=this.scrollTop+(A.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;L>0&&(this.scrollTop=L,I|=this.CHANGE_SCROLL,I|=this.$computeLayerConfig()|this.$loop.clear())}A=this.layerConfig,this.$updateScrollBarV(),I&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),u.translate(this.content,-this.scrollLeft,-A.offset);var R=A.minHeight+"px";u.setStyle(this.content.style,"width",A.width+2*this.$padding+"px"),u.setStyle(this.content.style,"height",R)}return I&this.CHANGE_H_SCROLL&&(u.translate(this.content,-this.scrollLeft,-A.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),I&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):I&this.CHANGE_SCROLL?(this.$changedLines=null,I&this.CHANGE_TEXT||I&this.CHANGE_LINES?this.$textLayer.update(A):this.$textLayer.scrollLines(A),this.$showGutter&&(I&this.CHANGE_GUTTER||I&this.CHANGE_LINES?this.$gutterLayer.update(A):this.$gutterLayer.scrollLines(A)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):(I&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_LINES?((this.$updateLines()||I&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_TEXT||I&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)),I&this.CHANGE_CURSOR&&(this.$cursorLayer.update(A),this.$moveTextAreaToCursor()),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(A),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(A),void this._signal("afterRender",I))}this.$changes|=I},k.prototype.$autosize=function(){var I=this.session.getScreenLength()*this.lineHeight,P=this.$maxLines*this.lineHeight,A=Math.min(P,Math.max((this.$minLines||1)*this.lineHeight,I))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(A+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&A>this.$maxPixelHeight&&(A=this.$maxPixelHeight);var F=!(A<=2*this.lineHeight)&&I>P;if(A!=this.desiredHeight||this.$size.height!=this.desiredHeight||F!=this.$vScroll){F!=this.$vScroll&&(this.$vScroll=F,this.scrollBarV.setVisible(F));var R=this.container.clientWidth;this.container.style.height=A+"px",this.$updateCachedSize(!0,this.$gutterWidth,R,A),this.desiredHeight=A,this._signal("autosize")}},k.prototype.$computeLayerConfig=function(){var I=this.session,P=this.$size,A=P.height<=2*this.lineHeight,F=this.session.getScreenLength()*this.lineHeight,R=this.$getLongestLine(),U=!A&&(this.$hScrollBarAlwaysVisible||P.scrollerWidth-R-2*this.$padding<0),W=this.$horizScroll!==U;W&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ne=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ee=P.scrollerHeight+this.lineHeight,j=!this.$maxLines&&this.$scrollPastEnd?(P.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;F+=j;var B=this.scrollMargin;this.session.setScrollTop(Math.max(-B.top,Math.min(this.scrollTop,F-P.scrollerHeight+B.bottom))),this.session.setScrollLeft(Math.max(-B.left,Math.min(this.scrollLeft,R+2*this.$padding-P.scrollerWidth+B.right)));var $=!A&&(this.$vScrollBarAlwaysVisible||P.scrollerHeight-F+j<0||this.scrollTop>B.top),Z=ne!==$;Z&&(this.$vScroll=$,this.scrollBarV.setVisible($));var Ge,$e,H=this.scrollTop%this.lineHeight,te=Math.ceil(ee/this.lineHeight)-1,ue=Math.max(0,Math.round((this.scrollTop-H)/this.lineHeight)),ye=ue+te,Ye=this.lineHeight;ue=I.screenToDocumentRow(ue,0);var Ze=I.getFoldLine(ue);Ze&&(ue=Ze.start.row),Ge=I.documentToScreenRow(ue,0),$e=I.getRowLength(ue)*Ye,ye=Math.min(I.screenToDocumentRow(ye,0),I.getLength()-1),ee=P.scrollerHeight+I.getRowLength(ye)*Ye+$e,H=this.scrollTop-Ge*Ye;var Et=0;return(this.layerConfig.width!=R||W)&&(Et=this.CHANGE_H_SCROLL),(W||Z)&&(Et|=this.$updateCachedSize(!0,this.gutterWidth,P.width,P.height),this._signal("scrollbarVisibilityChanged"),Z&&(R=this.$getLongestLine())),this.layerConfig={width:R,padding:this.$padding,firstRow:ue,firstRowScreen:Ge,lastRow:ye,lineHeight:Ye,characterWidth:this.characterWidth,minHeight:ee,maxHeight:F,offset:H,gutterOffset:Ye?Math.max(0,Math.ceil((H+P.height-P.scrollerHeight)/Ye)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(R-this.$padding),Et},k.prototype.$updateLines=function(){if(this.$changedLines){var I=this.$changedLines.firstRow,P=this.$changedLines.lastRow;this.$changedLines=null;var A=this.layerConfig;if(!(I>A.lastRow+1||Pthis.$textLayer.MAX_LINE_LENGTH&&(I=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(I*this.characterWidth))},k.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},k.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},k.prototype.addGutterDecoration=function(I,P){this.$gutterLayer.addGutterDecoration(I,P)},k.prototype.removeGutterDecoration=function(I,P){this.$gutterLayer.removeGutterDecoration(I,P)},k.prototype.updateBreakpoints=function(I){this._rows=I,this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.setAnnotations=function(I){this.$gutterLayer.setAnnotations(I),this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},k.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},k.prototype.showCursor=function(){this.$cursorLayer.showCursor()},k.prototype.scrollSelectionIntoView=function(I,P,A){this.scrollCursorIntoView(I,A),this.scrollCursorIntoView(P,A)},k.prototype.scrollCursorIntoView=function(I,P,A){if(0!==this.$size.scrollerHeight){var L=this.$cursorLayer.getPixelPosition(I),F=L.left,R=L.top,U=A&&A.top||0,W=A&&A.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ne=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ne+U>R?(P&&ne+U>R+this.lineHeight&&(R-=P*this.$size.scrollerHeight),0===R&&(R=-this.scrollMargin.top),this.session.setScrollTop(R)):ne+this.$size.scrollerHeight-W=1-this.scrollMargin.top||P>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||I<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||I>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},k.prototype.pixelToScreenCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=Math.floor((P+this.scrollTop-A.top)/this.lineHeight),W=this.$blockCursor?Math.floor(R):Math.round(R);return{row:U,column:W,side:R-W>0?1:-1,offsetX:F}},k.prototype.screenToTextCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=this.$blockCursor?Math.floor(R):Math.round(R),W=Math.floor((P+this.scrollTop-A.top)/this.lineHeight);return this.session.screenToDocumentPosition(W,Math.max(U,0),F)},k.prototype.textToScreenCoordinates=function(I,P){var A=this.scroller.getBoundingClientRect(),L=this.session.documentToScreenPosition(I,P),F=this.$padding+(this.session.$bidiHandler.isBidiRow(L.row,I)?this.session.$bidiHandler.getPosLeft(L.column):Math.round(L.column*this.characterWidth));return{pageX:A.left+F-this.scrollLeft,pageY:A.top+L.row*this.lineHeight-this.scrollTop}},k.prototype.visualizeFocus=function(){u.addCssClass(this.container,"ace_focus")},k.prototype.visualizeBlur=function(){u.removeCssClass(this.container,"ace_focus")},k.prototype.showComposition=function(I){this.$composition=I,I.cssText||(I.cssText=this.textarea.style.cssText),null==I.useTextareaForIME&&(I.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(u.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):I.markerId=this.session.addMarker(I.markerRange,"ace_composition_marker","text")},k.prototype.setCompositionText=function(I){var P=this.session.selection.cursor;this.addToken(I,"composition_placeholder",P.row,P.column),this.$moveTextAreaToCursor()},k.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),u.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var I=this.session.selection.cursor;this.removeExtraToken(I.row,I.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},k.prototype.setGhostText=function(I,P){var A=this.session.selection.cursor,L=P||{row:A.row,column:A.column};this.removeGhostText();var F=I.split("\n");if(this.addToken(F[0],"ghost_text",L.row,L.column),this.$ghostText={text:I,position:{row:L.row,column:L.column}},F.length>1){this.$ghostTextWidget={text:F.slice(1).join("\n"),row:L.row,column:L.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var R=this.$cursorLayer.getPixelPosition(L,!0),W=this.container.getBoundingClientRect().height,ne=F.length*this.lineHeight;if(ne1||Math.abs(I.$size.height-L)>1?I.$resizeTimer.delay():I.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},k}();M.prototype.CHANGE_CURSOR=1,M.prototype.CHANGE_MARKER=2,M.prototype.CHANGE_GUTTER=4,M.prototype.CHANGE_SCROLL=8,M.prototype.CHANGE_LINES=16,M.prototype.CHANGE_TEXT=32,M.prototype.CHANGE_SIZE=64,M.prototype.CHANGE_MARKER_BACK=128,M.prototype.CHANGE_MARKER_FRONT=256,M.prototype.CHANGE_FULL=512,M.prototype.CHANGE_H_SCROLL=1024,M.prototype.$changes=0,M.prototype.$padding=null,M.prototype.$frozen=!1,M.prototype.STEPS=8,y.implement(M.prototype,x),s.defineOptions(M.prototype,"renderer",{useResizeObserver:{set:function(k){!k&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):k&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(k){this.$textLayer.setShowInvisibles(k)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(k){"number"==typeof k&&(this.$printMarginColumn=k),this.$showPrintMargin=!!k,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(k){this.$gutter.style.display=k?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(k){this.$gutterLayer.$useSvgGutterIcons=k},initialValue:!1},showFoldedAnnotations:{set:function(k){this.$gutterLayer.$showFoldedAnnotations=k},initialValue:!1},fadeFoldWidgets:{set:function(k){u.setCssClass(this.$gutter,"ace_fade-fold-widgets",k)},initialValue:!1},showFoldWidgets:{set:function(k){this.$gutterLayer.setShowFoldWidgets(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(k){this.$textLayer.setDisplayIndentGuides(k)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(k){1==this.$textLayer.setHighlightIndentGuides(k)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(k){this.$gutterLayer.setHighlightGutterLine(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(k){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(k){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(k){"number"==typeof k&&(k+="px"),this.container.style.fontSize=k,this.updateFontSize()},initialValue:12},fontFamily:{set:function(k){this.container.style.fontFamily=k,this.updateFontSize()}},maxLines:{set:function(k){this.updateFull()}},minLines:{set:function(k){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(k){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(k){this.$scrollPastEnd!=(k=+k||0)&&(this.$scrollPastEnd=k,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(k){this.$gutterLayer.$fixedWidth=!!k,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(k){this.$updateCustomScrollbar(k)},initialValue:!1},theme:{set:function(k){this.setTheme(k)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!S.isMobile&&!S.isIE}}),f.VirtualRenderer=M}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/net"),v=n("../lib/event_emitter").EventEmitter,s=n("../config");function h(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var c=function m(r){var c="importScripts('"+u.qualifyURL(r)+"');";try{return new Blob([c],{type:"application/javascript"})}catch{var g=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return g.append(c),g.getBlob("application/javascript")}}(r),g=(window.URL||window.webkitURL).createObjectURL(c);return new Worker(g)}return new Worker(r)}var o=function(r){r.postMessage||(r=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=r,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){y.implement(this,v),this.$createWorkerFromOldConfig=function(r,c,d,g,b){if(n.nameToUrl&&!n.toUrl&&(n.toUrl=n.nameToUrl),s.get("packaged")||!n.toUrl)g=g||s.moduleUrl(c,"worker");else{var C=this.$normalizePath;g=g||C(n.toUrl("ace/worker/worker.js",null,"_"));var x={};r.forEach(function(w){x[w]=C(n.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=h(g),b&&this.send("importScripts",b),this.$worker.postMessage({init:!0,tlns:x,module:c,classname:d}),this.$worker},this.onMessage=function(r){var c=r.data;switch(c.type){case"event":this._signal(c.name,{data:c.data});break;case"call":var d=this.callbacks[c.id];d&&(d(c.data),delete this.callbacks[c.id]);break;case"error":this.reportError(c.data);break;case"log":window.console&&console.log&&console.log.apply(console,c.data)}},this.reportError=function(r){window.console&&console.error&&console.error(r)},this.$normalizePath=function(r){return u.qualifyURL(r)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(r){r.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(r,c){this.$worker.postMessage({command:r,args:c})},this.call=function(r,c,d){if(d){var g=this.callbackId++;this.callbacks[g]=d,c.push(g)}this.send(r,c)},this.emit=function(r,c){try{c.data&&c.data.err&&(c.data.err={message:c.data.err.message,stack:c.data.err.stack,code:c.data.err.code}),this.$worker&&this.$worker.postMessage({event:r,data:{data:c.data}})}catch(d){console.error(d.stack)}},this.attachToDocument=function(r){this.$doc&&this.terminate(),this.$doc=r,this.call("setValue",[r.getValue()]),r.on("change",this.changeListener,!0)},this.changeListener=function(r){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(r.start,"insert"==r.action?r.lines:r.end)},this.$sendDeltaQueue=function(){var r=this.deltaQueue;r&&(this.deltaQueue=null,r.length>50&&r.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:r}))}}).call(o.prototype),f.UIWorkerClient=function(r,c,d){var g=null,b=!1,C=Object.create(v),x=[],w=new o({messageBuffer:x,terminate:function(){},postMessage:function(S){x.push(S),g&&(b?setTimeout(T):T())}});w.setEmitSync=function(S){b=S};var T=function(){var S=x.shift();S.command?g[S.command].apply(g,S.args):S.event&&C._signal(S.event,S.data)};return C.postMessage=function(S){w.onMessage({data:S})},C.callback=function(S,M){this.postMessage({type:"call",id:M,data:S})},C.emit=function(S,M){this.postMessage({type:"event",name:S,data:M})},s.loadModule(["worker",c],function(S){for(g=new S[d](C);x.length;)T()}),w},f.WorkerClient=o,f.createWorker=h}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(n,f,D){"use strict";var y=n("./range").Range,u=n("./lib/event_emitter").EventEmitter,v=n("./lib/oop"),s=function(){function m(h,o,l,r,c,d){var g=this;this.length=o,this.session=h,this.doc=h.getDocument(),this.mainClass=c,this.othersClass=d,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){g.onCursorChange()})},this.$pos=l;var b=h.getUndoManager().$undoStack||h.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=b.length,this.setup(),h.selection.on("changeCursor",this.$onCursorChange)}return m.prototype.setup=function(){var h=this,o=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=o.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=l.addMarker(new y(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(c){var d=o.createAnchor(c.row,c.column);d.$insertRight=!0,d.detach(),h.others.push(d)}),l.setUndoSelect(!1)},m.prototype.showOtherMarkers=function(){if(!this.othersActive){var h=this.session,o=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=h.addMarker(new y(l.row,l.column,l.row,l.column+o.length),o.othersClass,null,!1)})}},m.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var h=0;h=this.pos.column&&o.start.column<=this.pos.column+this.length+1,c=o.start.column-this.pos.column;if(this.updateAnchors(h),r&&(this.length+=l),r&&!this.session.$fromUndo)if("insert"===h.action)for(var d=this.others.length-1;d>=0;d--)this.doc.insertMergedLines(b={row:(g=this.others[d]).row,column:g.column+c},h.lines);else if("remove"===h.action)for(d=this.others.length-1;d>=0;d--){var g,b;this.doc.remove(new y((b={row:(g=this.others[d]).row,column:g.column+c}).row,b.column,b.row,b.column-l))}this.$updating=!1,this.updateMarkers()}},m.prototype.updateAnchors=function(h){this.pos.onChange(h);for(var o=this.others.length;o--;)this.others[o].onChange(h);this.updateMarkers()},m.prototype.updateMarkers=function(){if(!this.$updating){var h=this,o=this.session,l=function(c,d){o.removeMarker(c.markerId),c.markerId=o.addMarker(new y(c.row,c.column,c.row,c.column+h.length),d,null,!1)};l(this.pos,this.mainClass);for(var r=this.others.length;r--;)l(this.others[r],this.othersClass)}},m.prototype.onCursorChange=function(h){if(!this.$updating&&this.session){var o=this.session.selection.getCursor();o.row===this.pos.row&&o.column>=this.pos.column&&o.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",h)):(this.hideOtherMarkers(),this._emit("cursorLeave",h))}},m.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},m.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var h=this.session.getUndoManager(),o=(h.$undoStack||h.$undostack).length-this.$undoStackDepth,l=0;l1?u.multiSelect.joinSelections():u.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(u){u.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(u){u.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(u){u.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],f.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(u){u.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(u){return u&&u.inMultiSelectMode}}];var y=n("../keyboard/hash_handler").HashHandler;f.keyboardHandler=new y(f.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(n,f,D){var y=n("./range_list").RangeList,u=n("./range").Range,v=n("./selection").Selection,s=n("./mouse/multi_select_handler").onMouseDown,m=n("./lib/event"),h=n("./lib/lang"),o=n("./commands/multi_select_commands");f.commands=o.defaultCommands.concat(o.multiSelectCommands);var r=new(0,n("./search").Search),d=n("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,T){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var S=this.toOrientedRange();if(this.rangeList.add(S),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),T||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(S),this.$onAddRange(S)}w.cursor||(w.cursor=w.end);var M=this.rangeList.add(w);return this.$onAddRange(w),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),T||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var T=this.rangeList.removeAll();T.length&&this.$onRemoveRange(T),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var T=this.rangeList.substractPoint(w);if(T)return this.$onRemoveRange(T),T[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var T=this.rangeList.ranges.pop();w.push(T),this.rangeCount=0}for(var S=w.length;S--;){var M=this.ranges.indexOf(w[S]);this.ranges.splice(M,1)}this._signal("removeRange",{ranges:w}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(T=T||this.ranges[0])&&!T.isEqual(this.getRange())&&this.fromOrientedRange(T)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new y,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],T=[],S=0;S1){var w=this.rangeList.ranges,T=w[w.length-1],S=u.fromPoints(w[0].start,T.end);this.toSingleRange(),this.setSelectionRange(S,T.cursor==T.start)}else{var M=this.session.documentToScreenPosition(this.cursor),k=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(M,k).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,T,S){var M=[],k=w.column0;)j--;if(j>0)for(var B=0;M[B].isEmpty();)B++;for(var $=j;$>=B;$--)M[$].isEmpty()&&M.splice($,1)}return M}}.call(v.prototype);var g=n("./editor").Editor;function b(w,T){return w.row==T.row&&w.column==T.column}function C(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=f.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",s),w.commands.addCommands(o.defaultCommands),function x(w){if(w.textInput){var T=w.textInput.getElement(),S=!1;m.addListener(T,"keydown",function(k){w.$blockSelectEnabled&&18==k.keyCode&&!(k.ctrlKey||k.shiftKey||k.metaKey)?S||(w.renderer.setMouseCursor("crosshair"),S=!0):S&&M()},w),m.addListener(T,"keyup",M,w),m.addListener(T,"blur",M,w)}function M(k){S&&(w.renderer.setMouseCursor(""),S=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var T=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",T),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(w.marker){this.session.removeMarker(w.marker);var T=this.session.$selectionMarkers.indexOf(w);-1!=T&&this.session.$selectionMarkers.splice(T,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var T=this.session.$selectionMarkers,S=w.length;S--;){var M=w[S];if(M.marker){this.session.removeMarker(M.marker);var k=T.indexOf(M);-1!=k&&T.splice(k,1)}}this.session.selectionMarkerCount=T.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(o.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(o.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var T=w.command,S=w.editor;if(S.multiSelect){if(T.multiSelectAction)"forEach"==T.multiSelectAction?M=S.forEachSelection(T,w.args):"forEachLine"==T.multiSelectAction?M=S.forEachSelection(T,w.args,!0):"single"==T.multiSelectAction?(S.exitMultiSelectMode(),M=T.exec(S,w.args||{})):M=T.multiSelectAction(S,w.args||{});else{var M=T.exec(S,w.args||{});S.multiSelect.addRange(S.multiSelect.toOrientedRange()),S.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(w,T,S){if(!this.inVirtualSelectionMode){var F,k=1==S||S&&S.$byLines,I=this.session,P=this.selection,L=(S&&S.keepOrder?P:P.rangeList).ranges;if(!L.length)return w.exec?w.exec(this,T||{}):w(this,T||{});var R=P._eventRegistry;P._eventRegistry={};var U=new v(I);this.inVirtualSelectionMode=!0;for(var W=L.length;W--;){if(k)for(;W>0&&L[W].start.row==L[W-1].end.row;)W--;U.fromOrientedRange(L[W]),U.index=W,this.selection=I.selection=U;var ne=w.exec?w.exec(this,T||{}):w(this,T||{});!F&&void 0!==ne&&(F=ne),U.toOrientedRange(L[W])}U.detach(),this.selection=I.selection=P,this.inVirtualSelectionMode=!1,P._eventRegistry=R,P.mergeOverlappingRanges(),P.ranges[0]&&P.fromOrientedRange(P.ranges[0]);var ee=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ee&&ee.from==ee.to&&this.renderer.animateScrolling(ee.from),F}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var T=this.multiSelect.rangeList.ranges,S=[],M=0;MW&&(W=B.column),ZH?w.insert($,h.stringRepeat(" ",Z-H)):w.remove(new u($.row,$.column,$.row,$.column-Z+H)),j.start.column=j.end.column=W,j.start.row=j.end.row=$.row,j.cursor=j.end}),T.fromOrientedRange(S[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var I=this.selection.getRange(),P=I.start.row,A=I.end.row,L=P==A;if(L){var R,F=this.session.getLength();do{R=this.session.getLine(A)}while(/[=:]/.test(R)&&++A0);P<0&&(P=0),A>=F&&(A=F-1)}var U=this.session.removeFullLines(P,A);U=this.$reAlignText(U,L),this.session.insert({row:P,column:0},U.join("\n")+"\n"),L||(I.start.column=0,I.end.column=U[U.length-1].length),this.selection.setRange(I)}},this.$reAlignText=function(w,T){var k,I,P,S=!0,M=!0;return w.map(function(U){var W=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return W?null==k?(k=W[1].length,I=W[2].length,P=W[3].length,W):(k+I+P!=W[1].length+W[2].length+W[3].length&&(M=!1),k!=W[1].length&&(S=!1),k>W[1].length&&(k=W[1].length),IW[3].length&&(P=W[3].length),W):[U]}).map(T?L:S?M?function F(U){return U[2]?A(k+I-U[2].length)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:L:function R(U){return U[2]?A(k)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function A(U){return h.stringRepeat(" ",U)}function L(U){return U[2]?A(k)+U[2]+A(I-U[2].length+P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}}}).call(g.prototype),f.onSessionChange=function(w){var T=w.session;T&&!T.multiSelect&&(T.$selectionMarkers=[],T.selection.$initRangeList(),T.multiSelect=T.selection),this.multiSelect=T&&T.multiSelect;var S=w.oldSession;S&&(S.multiSelect.off("addRange",this.$onAddRange),S.multiSelect.off("removeRange",this.$onRemoveRange),S.multiSelect.off("multiSelect",this.$onMultiSelect),S.multiSelect.off("singleSelect",this.$onSingleSelect),S.multiSelect.lead.off("change",this.$checkMultiselectChange),S.multiSelect.anchor.off("change",this.$checkMultiselectChange)),T&&(T.multiSelect.on("addRange",this.$onAddRange),T.multiSelect.on("removeRange",this.$onRemoveRange),T.multiSelect.on("multiSelect",this.$onMultiSelect),T.multiSelect.on("singleSelect",this.$onSingleSelect),T.multiSelect.lead.on("change",this.$checkMultiselectChange),T.multiSelect.anchor.on("change",this.$checkMultiselectChange)),T&&this.inMultiSelectMode!=T.selection.inMultiSelectMode&&(T.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},f.MultiSelect=C,n("./config").defineOptions(g.prototype,"editor",{enableMultiselect:{set:function(w){C(this),w?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=n("../../range").Range,u=f.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(v,s,m){var h=v.getLine(m);return this.foldingStartMarker.test(h)?"start":"markbeginend"==s&&this.foldingStopMarker&&this.foldingStopMarker.test(h)?"end":""},this.getFoldWidgetRange=function(v,s,m){return null},this.indentationBlock=function(v,s,m){var h=/\S/,o=v.getLine(s),l=o.search(h);if(-1!=l){for(var r=m||o.length,c=v.getLength(),d=s,g=s;++sd){var x=v.getLine(g).length;return new y(d,r,g,x)}}},this.openingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h+1},r=v.$findClosingBracket(s,l,o);if(r){var c=v.foldWidgets[r.row];return null==c&&(c=v.getFoldWidget(r.row)),"start"==c&&r.row>l.row&&(r.row--,r.column=v.getLine(r.row).length),y.fromPoints(l,r)}},this.closingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h},r=v.$findOpeningBracket(s,l);if(r)return r.column++,l.column--,y.fromPoints(r,l)}}).call(u.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(n,f,D){"use strict";var y=n("../line_widgets").LineWidgets,u=n("../lib/dom"),v=n("../range").Range,s=n("../config").nls;f.showErrorMarker=function(o,l){var r=o.session;r.widgetManager||(r.widgetManager=new y(r),r.widgetManager.attach(o));var c=o.getCursorPosition(),d=c.row,g=r.widgetManager.getWidgetsAtRow(d).filter(function(I){return"errorMarker"==I.type})[0];g?g.destroy():d-=l;var C,b=function h(o,l,r){var c=o.getAnnotations().sort(v.comparePoints);if(c.length){var d=function m(o,l,r){for(var c=0,d=o.length-1;c<=d;){var g=c+d>>1,b=r(l,o[g]);if(b>0)c=g+1;else{if(!(b<0))return g;d=g-1}}return-(c+1)}(c,{row:l,column:-1},v.comparePoints);d<0&&(d=-d-1),d>=c.length?d=r>0?0:c.length-1:0===d&&r<0&&(d=c.length-1);var g=c[d];if(g&&r){if(g.row===l){do{g=c[d+=r]}while(g&&g.row===l);if(!g)return c.slice()}var b=[];l=g.row;do{b[r<0?"unshift":"push"](g),g=c[d+=r]}while(g&&g.row==l);return b.length&&b}}}(r,d,l);if(b){var x=b[0];c.column=(x.pos&&"number"!=typeof x.column?x.pos.sc:x.column)||0,c.row=x.row,C=o.renderer.$gutterLayer.$annotations[c.row]}else{if(g)return;C={text:[s("Looks good!")],className:"ace_ok"}}o.session.unfold(c.row),o.selection.moveToPosition(c);var w={row:c.row,fixedWidth:!0,coverGutter:!0,el:u.createElement("div"),type:"errorMarker"},T=w.el.appendChild(u.createElement("div")),S=w.el.appendChild(u.createElement("div"));S.className="error_widget_arrow "+C.className;var M=o.renderer.$cursorLayer.getPixelPosition(c).left;S.style.left=M+o.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",T.className="error_widget "+C.className,T.innerHTML=C.text.join("
"),T.appendChild(u.createElement("div"));var k=function(I,P,A){if(0===P&&("esc"===A||"return"===A))return w.destroy(),{command:"null"}};w.destroy=function(){o.$mouseHandler.isMousePressed||(o.keyBinding.removeKeyboardHandler(k),r.widgetManager.removeLineWidget(w),o.off("changeSelection",w.destroy),o.off("changeSession",w.destroy),o.off("mouseup",w.destroy),o.off("change",w.destroy))},o.keyBinding.addKeyboardHandler(k),o.on("changeSelection",w.destroy),o.on("changeSession",w.destroy),o.on("mouseup",w.destroy),o.on("change",w.destroy),o.session.widgetManager.addLineWidget(w),w.el.onmousedown=o.focus.bind(o),o.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},u.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(n,f,D){"use strict";n("./loader_build")(f);var y=n("./lib/dom"),u=n("./range").Range,v=n("./editor").Editor,s=n("./edit_session").EditSession,m=n("./undomanager").UndoManager,h=n("./virtual_renderer").VirtualRenderer;n("./worker/worker_client"),n("./keyboard/hash_handler"),n("./placeholder"),n("./multi_select"),n("./mode/folding/fold_mode"),n("./theme/textmate"),n("./ext/error_marker"),f.config=n("./config"),f.edit=function(o,l){if("string"==typeof o){var r=o;if(!(o=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(o&&o.env&&o.env.editor instanceof v)return o.env.editor;var c="";if(o&&/input|textarea/i.test(o.tagName)){var d=o;c=d.value,o=y.createElement("pre"),d.parentNode.replaceChild(o,d)}else o&&(c=o.textContent,o.innerHTML="");var g=f.createEditSession(c),b=new v(new h(o),g,l),C={document:g,editor:b,onResize:b.resize.bind(b,null)};return d&&(C.textarea=d),b.on("destroy",function(){C.editor.container.env=null}),b.container.env=b.env=C,b},f.createEditSession=function(o,l){var r=new s(o,l);return r.setUndoManager(new m),r},f.Range=u,f.Editor=v,f.EditSession=s,f.UndoManager=m,f.VirtualRenderer=h,f.version=f.config.version}),ace.require(["ace/ace"],function(n){n&&(n.config.init(!0),n.define=ace.define);var f=function(){return this}();for(var D in!f&&typeof window<"u"&&(f=window),!f&&typeof self<"u"&&(f=self),f.ace||(f.ace=n),n)n.hasOwnProperty(D)&&(f.ace[D]=n[D]);f.ace.default=f.ace,Me&&(Me.exports=f.ace)})},2919:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text_highlight_rules").TextHighlightRules,v=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};y.inherits(v,u),f.JsonHighlightRules=v}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=n("../range").Range,u=function(){};(function(){this.checkOutdent=function(v,s){return!!/^\s+$/.test(v)&&/^\s*\}/.test(s)},this.autoOutdent=function(v,s){var h=v.getLine(s).match(/^(\s*\})/);if(!h)return 0;var o=h[1].length,l=v.findMatchingBracket({row:s,column:o});if(!l||l.row==s)return 0;var r=this.$getIndent(v.getLine(l.row));v.replace(new y(s,0,s,o-1),r)},this.$getIndent=function(v){return v.match(/^\s*/)[0]}}).call(u.prototype),f.MatchingBraceOutdent=u}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,f,D){"use strict";var y=n("../../lib/oop"),u=n("../../range").Range,v=n("./fold_mode").FoldMode,s=f.FoldMode=function(m){m&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+m.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+m.end)))};y.inherits(s,v),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(m,h,o){var l=m.getLine(o);if(this.singleLineBlockCommentRe.test(l)&&!this.startRegionRe.test(l)&&!this.tripleStarBlockCommentRe.test(l))return"";var r=this._getFoldWidgetBase(m,h,o);return!r&&this.startRegionRe.test(l)?"start":r},this.getFoldWidgetRange=function(m,h,o,l){var g,r=m.getLine(o);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(m,r,o);if(g=r.match(this.foldingStartMarker)){var c=g.index;if(g[1])return this.openingBracketBlock(m,g[1],o,c);var d=m.getCommentFoldRange(o,c+g[0].length,1);return d&&!d.isMultiLine()&&(l?d=this.getSectionRange(m,o):"all"!=h&&(d=null)),d}return"markbegin"!==h&&(g=r.match(this.foldingStopMarker))?(c=g.index+g[0].length,g[1]?this.closingBracketBlock(m,g[1],o,c):m.getCommentFoldRange(o,c,-1)):void 0},this.getSectionRange=function(m,h){for(var o=m.getLine(h),l=o.search(/\S/),r=h,c=o.length,d=h+=1,g=m.getLength();++hb)break;var C=this.getFoldWidgetRange(m,"all",h);if(C){if(C.start.row<=r)break;if(C.isMultiLine())h=C.end.row;else if(l==b)break}d=h}}return new u(r,c,d,m.getLine(d).length)},this.getCommentRegionBlock=function(m,h,o){for(var l=h.search(/\s*$/),r=m.getLength(),c=o,d=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,g=1;++oc)return new u(c,l,o,h.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text").Mode,v=n("./json_highlight_rules").JsonHighlightRules,s=n("./matching_brace_outdent").MatchingBraceOutdent,m=n("./folding/cstyle").FoldMode,h=n("../worker/worker_client").WorkerClient,o=function(){this.HighlightRules=v,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new m};y.inherits(o,u),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(l,r,c){var d=this.$getIndent(r);return"start"==l&&r.match(/^.*[\{\(\[]\s*$/)&&(d+=c),d},this.checkOutdent=function(l,r,c){return this.$outdent.checkOutdent(r,c)},this.autoOutdent=function(l,r,c){this.$outdent.autoOutdent(r,c)},this.createWorker=function(l){var r=new h(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(l.getDocument()),r.on("annotate",function(c){l.setAnnotations(c.data)}),r.on("terminate",function(){l.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(o.prototype),f.Mode=o}),ace.require(["ace/mode/json"],function(n){Me&&(Me.exports=n)})},9811:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(n,f,D){"use strict";f.isDark=!1,f.cssClass="ace-tm",f.cssText=n("./textmate-css"),f.$id="ace/theme/textmate",n("../lib/dom").importCssString(f.cssText,f.cssClass,!1)}),ace.require(["ace/theme/textmate"],function(n){Me&&(Me.exports=n)})},5899:Me=>{function ie(){}Me.exports=ie,Me.exports.HttpsAgent=ie},6357:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),{Interval:D}=_(9173);class y{}Me.exports=class u extends y{constructor(s){super(),this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(s){}reset(){this.seek(0)}seek(s){this.lazyInit(),this.index=this.adjustSeekIndex(s)}get(s){return this.lazyInit(),this.tokens[s]}consume(){let s=!1;if(s=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(m)>=m}fetch(s){if(this.fetchedEOF)return 0;for(let m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(let l=s;l=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]}adjustSeekIndex(s){return s}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(s){this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(s,m){if(this.sync(s),s>=this.tokens.length)return-1;let h=this.tokens[s];for(;h.channel!==this.channel;){if(h.type===n.EOF)return-1;this.sync(s+=1),h=this.tokens[s]}return s}previousTokenOnChannel(s,m){for(;s>=0&&this.tokens[s].channel!==m;)s-=1;return s}getHiddenTokensToRight(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.nextTokenOnChannel(s+1,f.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(s+1,-1===h?this.tokens.length-1:h,m)}getHiddenTokensToLeft(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.previousTokenOnChannel(s-1,f.DEFAULT_TOKEN_CHANNEL);return h===s-1?null:this.filterForChannel(h+1,s-1,m)}filterForChannel(s,m,h){const o=[];for(let l=s;l=this.tokens.length&&(h=this.tokens.length-1);let o="";for(let l=m;l{const n=_(6205).CommonToken;class f{}class D extends f{constructor(u){super(),this.copyText=void 0!==u&&u}create(u,v,s,m,h,o,l,r){const c=new n(u,v,m,h,o);return c.line=l,c.column=r,null!==s?c.text=s:this.copyText&&null!==u[1]&&(c.text=u[1].getText(h,o)),c}createThin(u,v){const s=new n(null,u);return s.text=v,s}}D.DEFAULT=new D,Me.exports=D},7456:(Me,ie,_)=>{const n=_(6205).Token,f=_(6357);Me.exports=class D extends f{constructor(u,v){super(u),this.channel=void 0===v?n.DEFAULT_CHANNEL:v}adjustSeekIndex(u){return this.nextTokenOnChannel(u,this.channel)}LB(u){if(0===u||this.index-u<0)return null;let v=this.index,s=1;for(;s<=u;)v=this.previousTokenOnChannel(v-1,this.channel),s+=1;return v<0?null:this.tokens[v]}LT(u){if(this.lazyInit(),0===u)return null;if(u<0)return this.LB(-u);let v=this.index,s=1;for(;s{const{Token:n}=_(6205);_(6419),_(9182),Me.exports=class f{constructor(y,u){if(this.name="",this.strdata=y,this.decodeToUnicodeCodePoints=u||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let v=0;v=this._size)throw"cannot consume EOF";this._index+=1}LA(y){if(0===y)return 0;y<0&&(y+=1);const u=this._index+y-1;return u<0||u>=this._size?n.EOF:this.data[u]}LT(y){return this.LA(y)}mark(){return-1}release(y){}seek(y){this._index=y<=this._index?y:Math.min(y,this._size)}getText(y,u){if(u>=this._size&&(u=this._size-1),y>=this._size)return"";if(this.decodeToUnicodeCodePoints){let v="";for(let s=y;s<=u;s++)v+=String.fromCodePoint(this.data[s]);return v}return this.strdata.slice(y,u+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Me,ie,_)=>{const{Token:n}=_(6205);class f{constructor(u,v){this.start=u,this.stop=v}clone(){return new f(this.start,this.stop)}contains(u){return u>=this.start&&uthis.addInterval(v),this),this}reduce(u){if(u=s.stop?(this.intervals.splice(u+1,1),this.reduce(u)):v.stop>=s.start&&(this.intervals[u]=new f(v.start,s.stop),this.intervals.splice(u+1,1))}}complement(u,v){const s=new D;return s.addInterval(new f(u,v+1)),null!==this.intervals&&this.intervals.forEach(m=>s.removeRange(m)),s}contains(u){if(null===this.intervals)return!1;for(let v=0;vm.start&&u.stop=m.stop?(this.intervals.splice(v,1),v-=1):u.start":"'"+String.fromCharCode(s.start)+"'":"'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return u.length>1?"{"+u.join(", ")+"}":u[0]}toIndexString(){const u=[];for(let v=0;v":s.start.toString():s.start.toString()+".."+(s.stop-1).toString())}return u.length>1?"{"+u.join(", ")+"}":u[0]}toTokenString(u,v){const s=[];for(let m=0;m1?"{"+s.join(", ")+"}":s[0]}elementName(u,v,s){return s===n.EOF?"":s===n.EPSILON?"":u[s]||v[s]}get length(){return this.intervals.map(u=>u.length).reduce((u,v)=>u+v)}}Me.exports={Interval:f,IntervalSet:D}},4589:(Me,ie,_)=>{const{Set:n,BitSet:f}=_(3340),{Token:D}=_(6205),{ATNConfig:y}=_(7745),{IntervalSet:u}=_(9173),{RuleStopState:v}=_(5516),{RuleTransition:s,NotSetTransition:m,WildcardTransition:h,AbstractPredicateTransition:o}=_(6850),{predictionContextFromRuleContext:l,PredictionContext:r,SingletonPredictionContext:c}=_(6185);class d{constructor(b){this.atn=b}getDecisionLookahead(b){if(null===b)return null;const C=b.transitions.length,x=[];for(let w=0;w{const{Token:n}=_(6205),f=_(9495),D=_(9882),{RecognitionException:y}=_(5858),{LexerNoViableAltException:u}=_(5858);class s extends f{constructor(h){super(),this._input=h,this._factory=D.DEFAULT,this._tokenFactorySourcePair=[this,h],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=s.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=s.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const h=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let o=!1;for(;;){this._type=n.INVALID_TYPE;let l=s.SKIP;try{l=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof y))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=l),this._type===s.SKIP){o=!0;break}if(this._type!==s.MORE)break}if(!o)return null===this._token&&this.emit(),this._token}}finally{this._input.release(h)}}skip(){this._type=s.SKIP}more(){this._type=s.MORE}mode(h){this._mode=h}pushMode(h){this._interp.debug&&console.log("pushMode "+h),this._modeStack.push(this._mode),this.mode(h)}popMode(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(h){this._token=h}emit(){const h=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(h),h}emitEOF(){const l=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(l),l}getCharIndex(){return this._input.index}getAllTokens(){const h=[];let o=this.nextToken();for(;o.type!==n.EOF;)h.push(o),o=this.nextToken();return h}notifyListeners(h){const r=this._input.getText(this._tokenStartCharIndex,this._input.index),c="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,c,h)}getErrorDisplay(h){const o=[];for(let l=0;l":"\n"===h?"\\n":"\t"===h?"\\t":"\r"===h?"\\r":h}getCharErrorDisplay(h){return"'"+this.getErrorDisplayForChar(h)+"'"}recover(h){this._input.LA(1)!==n.EOF&&(h instanceof u?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(h){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=h,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(h){this._type=h}get line(){return this._interp.line}set line(h){this._interp.line=h}get column(){return this._interp.column}set column(h){this._interp.column=h}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(h){this._text=h}}s.DEFAULT_MODE=0,s.MORE=-2,s.SKIP=-3,s.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,s.HIDDEN=n.HIDDEN_CHANNEL,s.MIN_CHAR_VALUE=0,s.MAX_CHAR_VALUE=1114111,Me.exports=s},111:(Me,ie,_)=>{const{Token:n}=_(6205),{ParseTreeListener:f,TerminalNode:D,ErrorNode:y}=_(5829),u=_(9495),{DefaultErrorStrategy:v}=_(2487),s=_(7499),m=_(2905),h=_(9042);class o extends f{constructor(c){super(),this.parser=c}enterEveryRule(c){console.log("enter "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(c){console.log("consume "+c.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(c){console.log("exit "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}Me.exports=(()=>{class r extends u{constructor(d){super(),this._input=null,this._errHandler=new v,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(d)}reset(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()}match(d){let g=this.getCurrentToken();return g.type===d?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g}matchWildcard(){let d=this.getCurrentToken();return d.type>0?(this._errHandler.reportMatch(this),this.consume()):(d=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===d.tokenIndex&&this._ctx.addErrorNode(d)),d}getParseListeners(){return this._parseListeners||[]}addParseListener(d){if(null===d)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(d)}removeParseListener(d){if(null!==this._parseListeners){const g=this._parseListeners.indexOf(d);g>=0&&this._parseListeners.splice(g,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.forEach(function(g){g.enterEveryRule(d),d.enterRule(g)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(g){d.exitRule(g),g.exitEveryRule(d)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(d){this._input.tokenSource._factory=d}getATNWithBypassAlts(){const d=this.getSerializedATN();if(null===d)throw"The current parser does not support an ATN with bypass alternatives.";let g=this.bypassAltsAtnCache[d];if(null===g){const b=new m;b.generateRuleBypassTransitions=!0,g=new s(b).deserialize(d),this.bypassAltsAtnCache[d]=g}return g}compileParseTreePattern(d,g,b){if(null===(b=b||null)&&null!==this.getTokenStream()){const x=this.getTokenStream().tokenSource;x instanceof h&&(b=x)}if(null===b)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(b,this).compile(d,g)}getInputStream(){return this.getTokenStream()}setInputStream(d){this.setTokenStream(d)}getTokenStream(){return this._input}setTokenStream(d){this._input=null,this.reset(),this._input=d}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(d,g,b){b=b||null,null===(g=g||null)&&(g=this.getCurrentToken()),this._syntaxErrors+=1;const C=g.line,x=g.column;this.getErrorListenerDispatch().syntaxError(this,g,C,x,d,b)}consume(){const d=this.getCurrentToken();d.type!==n.EOF&&this.getInputStream().consume();const g=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||g){let b;b=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(d):this._ctx.addTokenNode(d),b.invokingState=this.state,g&&this._parseListeners.forEach(function(C){b instanceof y||void 0!==b.isErrorNode&&b.isErrorNode()?C.visitErrorNode(b):b instanceof D&&C.visitTerminal(b)})}return d}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(d,g,b){this.state=g,this._ctx=d,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(d,g){d.setAltNumber(g),this.buildParseTrees&&this._ctx!==d&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(d)),this._ctx=d}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(d,g,b,C){this.state=g,this._precedenceStack.push(C),this._ctx=d,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(d,g,b){const C=this._ctx;C.parentCtx=d,C.invokingState=g,C.stop=this._input.LT(-1),this._ctx=d,this._ctx.start=C.start,this.buildParseTrees&&this._ctx.addChild(C),this.triggerEnterRuleEvent()}unrollRecursionContexts(d){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const g=this._ctx,b=this.getParseListeners();if(null!==b&&b.length>0)for(;this._ctx!==d;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=d;g.parentCtx=d,this.buildParseTrees&&null!==d&&d.addChild(g)}getInvokingContext(d){let g=this._ctx;for(;null!==g;){if(g.ruleIndex===d)return g;g=g.parentCtx}return null}precpred(d,g){return g>=this._precedenceStack[this._precedenceStack.length-1]}inContext(d){return!1}isExpectedToken(d){const g=this._interp.atn;let b=this._ctx,x=g.nextTokens(g.states[this.state]);if(x.contains(d))return!0;if(!x.contains(n.EPSILON))return!1;for(;null!==b&&b.invokingState>=0&&x.contains(n.EPSILON);){if(x=g.nextTokens(g.states[b.invokingState].transitions[0].followState),x.contains(d))return!0;b=b.parentCtx}return!(!x.contains(n.EPSILON)||d!==n.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const d=this._interp.atn;return d.nextTokens(d.states[this.state])}getRuleIndex(d){const g=this.getRuleIndexMap()[d];return null!==g?g:-1}getRuleInvocationStack(d){null===(d=d||null)&&(d=this._ctx);const g=[];for(;null!==d;){const b=d.ruleIndex;g.push(b<0?"n/a":this.ruleNames[b]),d=d.parentCtx}return g}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let d=!1;for(let g=0;g0&&(d&&console.log(),this.printer.println("Decision "+b.decision+":"),this.printer.print(b.toString(this.literalNames,this.symbolicNames)),d=!0)}}getSourceName(){return this._input.sourceName}setTrace(d){d?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new o(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return r.bypassAltsAtnCache={},r})()},7293:(Me,ie,_)=>{const n=_(13),f=_(5829),D=f.INVALID_INTERVAL,y=f.TerminalNode,u=f.TerminalNodeImpl,v=f.ErrorNodeImpl,s=_(9173).Interval;class m extends n{constructor(l,r){super(l=l||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(l){this.parentCtx=l.parentCtx,this.invokingState=l.invokingState,this.children=null,this.start=l.start,this.stop=l.stop,l.children&&(this.children=[],l.children.map(function(r){r instanceof v&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(l){}exitRule(l){}addChild(l){return null===this.children&&(this.children=[]),this.children.push(l),l}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(l){const r=new u(l);return this.addChild(r),r.parentCtx=this,r}addErrorNode(l){const r=new v(l);return this.addChild(r),r.parentCtx=this,r}getChild(l,r){if(null===this.children||l<0||l>=this.children.length)return null;if(null===(r=r||null))return this.children[l];for(let c=0;c=this.children.length)return null;for(let c=0;c{const n=_(13),{Hash:f,Map:D,equalArrays:y}=_(3340);class u{constructor(w){this.cachedHashCode=w}isEmpty(){return this===u.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===u.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}u.EMPTY=null,u.EMPTY_RETURN_STATE=2147483647,u.globalNodeCount=1,u.id=u.globalNodeCount;class s extends u{constructor(w,T){let S=0;const M=new f;null!==w?M.update(w,T):M.update(1),S=M.finish(),super(S),this.parentCtx=w,this.returnState=T}getParent(w){return this.parentCtx}getReturnState(w){return this.returnState}equals(w){return this===w||w instanceof s&&this.hashCode()===w.hashCode()&&this.returnState===w.returnState&&(null==this.parentCtx?null==w.parentCtx:this.parentCtx.equals(w.parentCtx))}toString(){const w=null===this.parentCtx?"":this.parentCtx.toString();return 0===w.length?this.returnState===u.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,T){return T===u.EMPTY_RETURN_STATE&&null===w?u.EMPTY:new s(w,T)}}class m extends s{constructor(){super(null,u.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}u.EMPTY=new m;class h extends u{constructor(w,T){const S=new f;return S.update(w,T),super(S.finish()),this.parents=w,this.returnStates=T,this}isEmpty(){return this.returnStates[0]===u.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof h&&this.hashCode()===w.hashCode()&&y(this.returnStates,w.returnStates)&&y(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let T=0;T0&&(w+=", "),this.returnStates[T]!==u.EMPTY_RETURN_STATE?(w+=this.returnStates[T],null!==this.parents[T]?w=w+" "+this.parents[T]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}Me.exports={merge:function l(x,w,T,S){if(x===w)return x;if(x instanceof s&&w instanceof s)return function r(x,w,T,S){if(null!==S){let k=S.get(x,w);if(null!==k||(k=S.get(w,x),null!==k))return k}const M=function c(x,w,T){if(T){if(x===u.EMPTY||w===u.EMPTY)return u.EMPTY}else{if(x===u.EMPTY&&w===u.EMPTY)return u.EMPTY;if(x===u.EMPTY)return new h([w.parentCtx,null],[w.returnState,u.EMPTY_RETURN_STATE]);if(w===u.EMPTY)return new h([x.parentCtx,null],[x.returnState,u.EMPTY_RETURN_STATE])}return null}(x,w,T);if(null!==M)return null!==S&&S.set(x,w,M),M;if(x.returnState===w.returnState){const k=l(x.parentCtx,w.parentCtx,T,S);if(k===x.parentCtx)return x;if(k===w.parentCtx)return w;const I=s.create(k,x.returnState);return null!==S&&S.set(x,w,I),I}{let k=null;if((x===w||null!==x.parentCtx&&x.parentCtx===w.parentCtx)&&(k=x.parentCtx),null!==k){const L=[x.returnState,w.returnState];x.returnState>w.returnState&&(L[0]=w.returnState,L[1]=x.returnState);const R=new h([k,k],L);return null!==S&&S.set(x,w,R),R}const I=[x.returnState,w.returnState];let P=[x.parentCtx,w.parentCtx];x.returnState>w.returnState&&(I[0]=w.returnState,I[1]=x.returnState,P=[w.parentCtx,x.parentCtx]);const A=new h(P,I);return null!==S&&S.set(x,w,A),A}}(x,w,T,S);if(T){if(x instanceof m)return x;if(w instanceof m)return w}return x instanceof s&&(x=new h([x.getParent()],[x.returnState])),w instanceof s&&(w=new h([w.getParent()],[w.returnState])),function d(x,w,T,S){if(null!==S){let F=S.get(x,w);if(null!==F||(F=S.get(w,x),null!==F))return F}let M=0,k=0,I=0,P=[],A=[];for(;M{const{Token:n}=_(6205),{ConsoleErrorListener:f}=_(7967),{ProxyErrorListener:D}=_(7967);Me.exports=(()=>{class u{constructor(){this._listeners=[f.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(s){"4.9.3"!==s&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+s)}addErrorListener(s){this._listeners.push(s)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const s=this.getLiteralNames(),m=this.getSymbolicNames(),h=s.length>m.length?s.length:m.length;this.tokenNames=[];for(let o=0;o";let m=s.text;return null===m&&(m=s.type===n.EOF?"":"<"+s.type+">"),m=m.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+m+"'"}getErrorListenerDispatch(){return new D(this._listeners)}sempred(s,m,h){return!0}precpred(s,m){return!0}get state(){return this._stateNumber}set state(s){this._stateNumber=s}}return u.tokenTypeMapCache={},u.ruleIndexMapCache={},u})()},13:(Me,ie,_)=>{const{RuleNode:n}=_(5829),{INVALID_INTERVAL:f}=_(5829),D=_(5140);Me.exports=class y extends n{constructor(v,s){super(),this.parentCtx=v||null,this.invokingState=s||-1}depth(){let v=0,s=this;for(;null!==s;)s=s.parentCtx,v+=1;return v}isEmpty(){return-1===this.invokingState}getSourceInterval(){return f}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(v){return v.getText()}).join("")}getAltNumber(){return 0}setAltNumber(v){}getChild(v){return null}getChildCount(){return 0}accept(v){return v.visitChildren(this)}toStringTree(v,s){return D.toStringTree(this,v,s)}toString(v,s){v=v||null,s=s||null;let m=this,h="[";for(;null!==m&&m!==s;){if(null===v)m.isEmpty()||(h+=m.invokingState);else{const o=m.ruleIndex;h+=o>=0&&o{let ie=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(D){this._text=D}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Me.exports={Token:ie,CommonToken:(()=>{class n extends ie{constructor(D,y,u,v,s){super(),this.source=void 0!==D?D:n.EMPTY_SOURCE,this.type=void 0!==y?y:null,this.channel=void 0!==u?u:ie.DEFAULT_CHANNEL,this.start=void 0!==v?v:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=D[0].line,this.column=D[0].column):this.column=-1}clone(){const D=new n(this.source,this.type,this.channel,this.start,this.stop);return D.tokenIndex=this.tokenIndex,D.line=this.line,D.column=this.column,D.text=this.text,D}toString(){let D=this.text;return D=null!==D?D.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+D+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const D=this.getInputStream();if(null===D)return null;const y=D.size;return this.start"}set text(D){this._text=D}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Me=>{function ie(c){return null===c?"null":c}function _(c){return Array.isArray(c)?"["+c.map(ie).join(", ")+"]":"null"}function n(c,d){return c?c.equals(d):c==d}function f(c){return c?c.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const c=this.toString();let d,g;const b=3&c.length,C=c.length-b;let x=String.prototype.seed;const w=3432918353,T=461845907;let S=0;for(;S>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g,x=x<<13|x>>>19,d=5*(65535&x)+((5*(x>>>16)&65535)<<16)&4294967295,x=27492+(65535&d)+((58964+(d>>>16)&65535)<<16);switch(g=0,b){case 3:g^=(255&c.charCodeAt(S+2))<<16;case 2:g^=(255&c.charCodeAt(S+1))<<8;case 1:g^=255&c.charCodeAt(S),g=(65535&g)*w+(((g>>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g}return x^=c.length,x^=x>>>16,x=2246822507*(65535&x)+((2246822507*(x>>>16)&65535)<<16)&4294967295,x^=x>>>13,x=3266489909*(65535&x)+((3266489909*(x>>>16)&65535)<<16)&4294967295,x^=x>>>16,x>>>0};class y{constructor(){this.data=[]}add(d){this.data[d]=!0}or(d){const g=this;Object.keys(d.data).map(function(b){g.add(b)})}remove(d){delete this.data[d]}contains(d){return!0===this.data[d]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const d=new m;return d.update(this.values()),d.finish()}equals(d){return d instanceof y&&this.hashCode()===d.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class u{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}put(d,g){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x>>17,b*=461845907,this.count=this.count+1;let C=this.hash^b;C=C<<13|C>>>19,C=5*C+3864292196,this.hash=C}}}finish(){let d=this.hash^4*this.count;return d^=d>>>16,d*=2246822507,d^=d>>>13,d*=3266489909,d^=d>>>16,d}}Me.exports={Hash:m,Set:class D{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}add(d){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x{const n=_(4589),{IntervalSet:f}=_(9173),{Token:D}=_(6205);Me.exports=(()=>{class u{constructor(s,m){this.grammarType=s,this.maxTokenType=m,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(s,m){return new n(this).LOOK(s,null,m)}nextTokensNoContext(s){return null!==s.nextTokenWithinRule||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}nextTokens(s,m){return void 0===m?this.nextTokensNoContext(s):this.nextTokensInContext(s,m)}addState(s){null!==s&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}removeState(s){this.states[s.stateNumber]=null}defineDecisionState(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}getDecisionState(s){return 0===this.decisionToState.length?null:this.decisionToState[s]}getExpectedTokens(s,m){if(s<0||s>=this.states.length)throw"Invalid state number.";let o=this.nextTokens(this.states[s]);if(!o.contains(D.EPSILON))return o;const l=new f;for(l.addSet(o),l.removeOne(D.EPSILON);null!==m&&m.invokingState>=0&&o.contains(D.EPSILON);)o=this.nextTokens(this.states[m.invokingState].transitions[0].followState),l.addSet(o),l.removeOne(D.EPSILON),m=m.parentCtx;return o.contains(D.EPSILON)&&l.addOne(D.EOF),l}}return u.INVALID_ALT_NUMBER=0,u})()},7745:(Me,ie,_)=>{const{DecisionState:n}=_(5516),{SemanticContext:f}=_(9454),{Hash:D}=_(3340);function y(s,m){if(null===s){const h={state:null,alt:null,context:null,semanticContext:null};return m&&(h.reachesIntoOuterContext=0),h}{const h={};return h.state=s.state||null,h.alt=void 0===s.alt?null:s.alt,h.context=s.context||null,h.semanticContext=s.semanticContext||null,m&&(h.reachesIntoOuterContext=s.reachesIntoOuterContext||0,h.precedenceFilterSuppressed=s.precedenceFilterSuppressed||!1),h}}class u{constructor(m,h){this.checkContext(m,h),m=y(m),h=y(h,!0),this.state=null!==m.state?m.state:h.state,this.alt=null!==m.alt?m.alt:h.alt,this.context=null!==m.context?m.context:h.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==h.semanticContext?h.semanticContext:f.NONE,this.reachesIntoOuterContext=h.reachesIntoOuterContext,this.precedenceFilterSuppressed=h.precedenceFilterSuppressed}checkContext(m,h){null==m.context&&(null===h||null==h.context)&&(this.context=null)}hashCode(){const m=new D;return this.updateHashCode(m),m.finish()}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed}hashCodeForConfigSet(){const m=new D;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()}equalsForConfigSet(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==f.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class v extends u{constructor(m,h){return super(m,h),this.lexerActionExecutor=m.lexerActionExecutor||(null!==h?h.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==h&&this.checkNonGreedyDecision(h,this.state),this.hashCodeForConfigSet=v.prototype.hashCode,this.equalsForConfigSet=v.prototype.equals,this}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(m){return this===m||m instanceof v&&this.passedThroughNonGreedyDecision===m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&super.equals(m)}checkNonGreedyDecision(m,h){return m.passedThroughNonGreedyDecision||h instanceof n&&h.nonGreedy}}Me.exports.ATNConfig=u,Me.exports.LexerATNConfig=v},4280:(Me,ie,_)=>{const n=_(9800),f=_(3340),{SemanticContext:D}=_(9454),{merge:y}=_(6185);function u(h){return h.hashCodeForConfigSet()}function v(h,o){return h===o||null!==h&&null!==o&&h.equalsForConfigSet(o)}class s{constructor(o){this.configLookup=new f.Set(u,v),this.fullCtx=void 0===o||o,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(o,l){if(void 0===l&&(l=null),this.readOnly)throw"This set is readonly";o.semanticContext!==D.NONE&&(this.hasSemanticContext=!0),o.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(o);if(r===o)return this.cachedHashCode=-1,this.configs.push(o),!0;const d=y(r.context,o.context,!this.fullCtx,l);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,o.reachesIntoOuterContext),o.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=d,!0}getStates(){const o=new f.Set;for(let l=0;l{class ie{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}ie.defaultOptions=new ie,ie.defaultOptions.readOnly=!0,Me.exports=ie},7499:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9800),D=_(8729),{ATNState:y,BasicState:u,DecisionState:v,BlockStartState:s,BlockEndState:m,LoopEndState:h,RuleStartState:o,RuleStopState:l,TokensStartState:r,PlusLoopbackState:c,StarLoopbackState:d,StarLoopEntryState:g,PlusBlockStartState:b,StarBlockStartState:C,BasicBlockStartState:x}=_(5516),{Transition:w,AtomTransition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,RangeTransition:I,ActionTransition:P,EpsilonTransition:A,WildcardTransition:L,PredicateTransition:F,PrecedencePredicateTransition:R}=_(6850),{IntervalSet:U}=_(9173),W=_(2905),{LexerActionType:ne,LexerSkipAction:ee,LexerChannelAction:j,LexerCustomAction:B,LexerMoreAction:$,LexerTypeAction:Z,LexerPushModeAction:H,LexerPopModeAction:te,LexerModeAction:ue}=_(201),Ge="59627784-3BE5-417A-B9EB-8131A7286089",$e=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Ge],Ze=Ge;function Et(Ie,Ce){const ge=[];return ge[Ie-1]=Ce,ge.map(function(Ae){return Ce})}const Ee=function qe(){const Ie=[];for(let Ce=0;Ce<256;Ce++)Ie[Ce]=(Ce+256).toString(16).substr(1).toUpperCase();return Ie}();Me.exports=class Te{constructor(Ce){null==Ce&&(Ce=W.defaultOptions),this.deserializationOptions=Ce,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Ce,ge){const Ae=$e.indexOf(Ce);return!(Ae<0)&&$e.indexOf(ge)>=Ae}deserialize(Ce){this.reset(Ce),this.checkVersion(),this.checkUUID();const ge=this.readATN();this.readStates(ge),this.readRules(ge),this.readModes(ge);const Ae=[];return this.readSets(ge,Ae,this.readInt.bind(this)),this.isFeatureSupported(Ge,this.uuid)&&this.readSets(ge,Ae,this.readInt32.bind(this)),this.readEdges(ge,Ae),this.readDecisions(ge),this.readLexerActions(ge),this.markPrecedenceDecisions(ge),this.verifyATN(ge),this.deserializationOptions.generateRuleBypassTransitions&&ge.grammarType===D.PARSER&&(this.generateRuleBypassTransitions(ge),this.verifyATN(ge)),ge}reset(Ce){const Ae=Ce.split("").map(function(q){const Re=q.charCodeAt(0);return Re>1?Re-2:Re+65534});Ae[0]=Ce.charCodeAt(0),this.data=Ae,this.pos=0}checkVersion(){const Ce=this.readInt();if(3!==Ce)throw"Could not deserialize ATN with version "+Ce+" (expected 3)."}checkUUID(){const Ce=this.readUUID();if($e.indexOf(Ce)<0)throw Ze;this.uuid=Ce}readATN(){const Ce=this.readInt(),ge=this.readInt();return new f(Ce,ge)}readStates(Ce){let ge,Ae,q;const Re=[],ke=[],Ke=this.readInt();for(let Ne=0;Ne0;)Re.addTransition(Pe.transitions[Ne-1]),Pe.transitions=Pe.transitions.slice(-1);Ce.ruleToStartState[ge].addTransition(new A(Re)),ke.addTransition(new A(me));const Be=new u;Ce.addState(Be),Be.addTransition(new T(ke,Ce.ruleToTokenType[ge])),Re.addTransition(new A(Be))}stateIsEndStateFor(Ce,ge){if(Ce.ruleIndex!==ge||!(Ce instanceof g))return null;const Ae=Ce.transitions[Ce.transitions.length-1].target;return Ae instanceof h&&Ae.epsilonOnlyTransitions&&Ae.transitions[0].target instanceof l?Ce:null}markPrecedenceDecisions(Ce){for(let ge=0;ge=0:Ae.transitions.length<=1||Ae instanceof l)}}checkCondition(Ce,ge){if(!Ce)throw null==ge&&(ge="IllegalState"),ge}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Ce=[];for(let ge=7;ge>=0;ge--){const Ae=this.readInt();Ce[2*ge+1]=255&Ae,Ce[2*ge]=Ae>>8&255}return Ee[Ce[0]]+Ee[Ce[1]]+Ee[Ce[2]]+Ee[Ce[3]]+"-"+Ee[Ce[4]]+Ee[Ce[5]]+"-"+Ee[Ce[6]]+Ee[Ce[7]]+"-"+Ee[Ce[8]]+Ee[Ce[9]]+"-"+Ee[Ce[10]]+Ee[Ce[11]]+Ee[Ce[12]]+Ee[Ce[13]]+Ee[Ce[14]]+Ee[Ce[15]]}edgeFactory(Ce,ge,Ae,q,Re,ke,Ke,me){const Pe=Ce.states[q];switch(ge){case w.EPSILON:return new A(Pe);case w.RANGE:return new I(Pe,0!==Ke?n.EOF:Re,ke);case w.RULE:return new k(Ce.states[Re],ke,Ke,Pe);case w.PREDICATE:return new F(Pe,Re,ke,0!==Ke);case w.PRECEDENCE:return new R(Pe,Re);case w.ATOM:return new T(Pe,0!==Ke?n.EOF:Re);case w.ACTION:return new P(Pe,Re,ke,0!==Ke);case w.SET:return new S(Pe,me[Re]);case w.NOT_SET:return new M(Pe,me[Re]);case w.WILDCARD:return new L(Pe);default:throw"The specified transition type: "+ge+" is not valid."}}stateFactory(Ce,ge){if(null===this.stateFactories){const Ae=[];Ae[y.INVALID_TYPE]=null,Ae[y.BASIC]=()=>new u,Ae[y.RULE_START]=()=>new o,Ae[y.BLOCK_START]=()=>new x,Ae[y.PLUS_BLOCK_START]=()=>new b,Ae[y.STAR_BLOCK_START]=()=>new C,Ae[y.TOKEN_START]=()=>new r,Ae[y.RULE_STOP]=()=>new l,Ae[y.BLOCK_END]=()=>new m,Ae[y.STAR_LOOP_BACK]=()=>new d,Ae[y.STAR_LOOP_ENTRY]=()=>new g,Ae[y.PLUS_LOOP_BACK]=()=>new c,Ae[y.LOOP_END]=()=>new h,this.stateFactories=Ae}if(Ce>this.stateFactories.length||null===this.stateFactories[Ce])throw"The specified state type "+Ce+" is not valid.";{const Ae=this.stateFactories[Ce]();if(null!==Ae)return Ae.ruleIndex=ge,Ae}}lexerActionFactory(Ce,ge,Ae){if(null===this.actionFactories){const q=[];q[ne.CHANNEL]=(Re,ke)=>new j(Re),q[ne.CUSTOM]=(Re,ke)=>new B(Re,ke),q[ne.MODE]=(Re,ke)=>new ue(Re),q[ne.MORE]=(Re,ke)=>$.INSTANCE,q[ne.POP_MODE]=(Re,ke)=>te.INSTANCE,q[ne.PUSH_MODE]=(Re,ke)=>new H(Re),q[ne.SKIP]=(Re,ke)=>ee.INSTANCE,q[ne.TYPE]=(Re,ke)=>new Z(Re),this.actionFactories=q}if(Ce>this.actionFactories.length||null===this.actionFactories[Ce])throw"The specified lexer action type "+Ce+" is not valid.";return this.actionFactories[Ce](ge,Ae)}}},4675:(Me,ie,_)=>{const{DFAState:n}=_(5468),{ATNConfigSet:f}=_(4280),{getCachedPredictionContext:D}=_(6185),{Map:y}=_(3340);class u{constructor(s,m){return this.atn=s,this.sharedContextCache=m,this}getCachedContext(s){if(null===this.sharedContextCache)return s;const m=new y;return D(s,this.sharedContextCache,m)}}u.ERROR=new n(2147483647,new f),Me.exports=u},5516:Me=>{let _=(()=>{class g{constructor(){this.atn=null,this.stateNumber=g.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(C){return C instanceof g&&this.stateNumber===C.stateNumber}isNonGreedyExitState(){return!1}addTransition(C,x){void 0===x&&(x=-1),0===this.transitions.length?this.epsilonOnlyTransitions=C.isEpsilon:this.epsilonOnlyTransitions!==C.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===x?this.transitions.push(C):this.transitions.splice(x,1,C)}}return g.INVALID_TYPE=0,g.BASIC=1,g.RULE_START=2,g.BLOCK_START=3,g.PLUS_BLOCK_START=4,g.STAR_BLOCK_START=5,g.TOKEN_START=6,g.RULE_STOP=7,g.BLOCK_END=8,g.STAR_LOOP_BACK=9,g.STAR_LOOP_ENTRY=10,g.PLUS_LOOP_BACK=11,g.LOOP_END=12,g.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],g.INVALID_STATE_NUMBER=-1,g})();class f extends _{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class D extends f{constructor(){return super(),this.endState=null,this}}Me.exports={ATNState:_,BasicState:class n extends _{constructor(){super(),this.stateType=_.BASIC}},DecisionState:f,BlockStartState:D,BlockEndState:class u extends _{constructor(){return super(),this.stateType=_.BLOCK_END,this.startState=null,this}},LoopEndState:class c extends _{constructor(){return super(),this.stateType=_.LOOP_END,this.loopBackState=null,this}},RuleStartState:class s extends _{constructor(){return super(),this.stateType=_.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class v extends _{constructor(){return super(),this.stateType=_.RULE_STOP,this}},TokensStartState:class d extends f{constructor(){return super(),this.stateType=_.TOKEN_START,this}},PlusLoopbackState:class m extends f{constructor(){return super(),this.stateType=_.PLUS_LOOP_BACK,this}},StarLoopbackState:class l extends _{constructor(){return super(),this.stateType=_.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends f{constructor(){return super(),this.stateType=_.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class h extends D{constructor(){return super(),this.stateType=_.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class o extends D{constructor(){return super(),this.stateType=_.STAR_BLOCK_START,this}},BasicBlockStartState:class y extends D{constructor(){return super(),this.stateType=_.BLOCK_START,this}}}},8729:Me=>{Me.exports={LEXER:0,PARSER:1}},9462:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),D=_(9800),y=_(4675),{DFAState:u}=_(5468),{OrderedATNConfigSet:v}=_(4280),{PredictionContext:s}=_(6185),{SingletonPredictionContext:m}=_(6185),{RuleStopState:h}=_(5516),{LexerATNConfig:o}=_(7745),{Transition:l}=_(6850),r=_(5168),{LexerNoViableAltException:c}=_(5858);function d(C){C.index=-1,C.line=0,C.column=-1,C.dfaState=null}class g{constructor(){d(this)}reset(){d(this)}}Me.exports=(()=>{class C extends y{constructor(w,T,S,M){super(T,M),this.decisionToDFA=S,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE,this.prevAccept=new g}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,T){this.match_calls+=1,this.mode=T;const S=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const M=this.decisionToDFA[T];return null===M.s0?this.matchATN(w):this.execATN(w,M.s0)}finally{w.release(S)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE}matchATN(w){const T=this.atn.modeToStartState[this.mode];C.debug&&console.log("matchATN mode "+this.mode+" start: "+T);const S=this.mode,M=this.computeStartState(w,T),k=M.hasSemanticContext;M.hasSemanticContext=!1;const I=this.addDFAState(M);k||(this.decisionToDFA[this.mode].s0=I);const P=this.execATN(w,I);return C.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[S].toLexerString()),P}execATN(w,T){C.debug&&console.log("start state closure="+T.configs),T.isAcceptState&&this.captureSimState(this.prevAccept,w,T);let S=w.LA(1),M=T;for(;;){C.debug&&console.log("execATN loop starting closure: "+M.configs);let k=this.getExistingTargetState(M,S);if(null===k&&(k=this.computeTargetState(w,M,S)),k===y.ERROR||(S!==n.EOF&&this.consume(w),k.isAcceptState&&(this.captureSimState(this.prevAccept,w,k),S===n.EOF)))break;S=w.LA(1),M=k}return this.failOrAccept(this.prevAccept,w,M.configs,S)}getExistingTargetState(w,T){if(null===w.edges||TC.MAX_DFA_EDGE)return null;let S=w.edges[T-C.MIN_DFA_EDGE];return void 0===S&&(S=null),C.debug&&null!==S&&console.log("reuse state "+w.stateNumber+" edge to "+S.stateNumber),S}computeTargetState(w,T,S){const M=new v;return this.getReachableConfigSet(w,T.configs,M,S),0===M.items.length?(M.hasSemanticContext||this.addDFAEdge(T,S,y.ERROR),y.ERROR):this.addDFAEdge(T,S,null,M)}failOrAccept(w,T,S,M){if(null!==this.prevAccept.dfaState)return this.accept(T,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(M===n.EOF&&T.index===this.startIndex)return n.EOF;throw new c(this.recog,T,this.startIndex,S)}getReachableConfigSet(w,T,S,M){let k=D.INVALID_ALT_NUMBER;for(let I=0;IC.MAX_DFA_EDGE||(C.debug&&console.log("EDGE "+w+" -> "+S+" upon "+T),null===w.edges&&(w.edges=[]),w.edges[T-C.MIN_DFA_EDGE]=S),S}addDFAState(w){const T=new u(null,w);let S=null;for(let P=0;P{const ie={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class _{constructor(l){this.actionType=l,this.isPositionDependent=!1}hashCode(){const l=new Hash;return this.updateHashCode(l),l.finish()}updateHashCode(l){l.update(this.actionType)}equals(l){return this===l}}class n extends _{constructor(){super(ie.SKIP)}execute(l){l.skip()}toString(){return"skip"}}n.INSTANCE=new n;class f extends _{constructor(l){super(ie.TYPE),this.type=l}execute(l){l.type=this.type}updateHashCode(l){l.update(this.actionType,this.type)}equals(l){return this===l||l instanceof f&&this.type===l.type}toString(){return"type("+this.type+")"}}class D extends _{constructor(l){super(ie.PUSH_MODE),this.mode=l}execute(l){l.pushMode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof D&&this.mode===l.mode}toString(){return"pushMode("+this.mode+")"}}class y extends _{constructor(){super(ie.POP_MODE)}execute(l){l.popMode()}toString(){return"popMode"}}y.INSTANCE=new y;class u extends _{constructor(){super(ie.MORE)}execute(l){l.more()}toString(){return"more"}}u.INSTANCE=new u;class v extends _{constructor(l){super(ie.MODE),this.mode=l}execute(l){l.mode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof v&&this.mode===l.mode}toString(){return"mode("+this.mode+")"}}class s extends _{constructor(l,r){super(ie.CUSTOM),this.ruleIndex=l,this.actionIndex=r,this.isPositionDependent=!0}execute(l){l.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(l){l.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(l){return this===l||l instanceof s&&this.ruleIndex===l.ruleIndex&&this.actionIndex===l.actionIndex}}class m extends _{constructor(l){super(ie.CHANNEL),this.channel=l}execute(l){l._channel=this.channel}updateHashCode(l){l.update(this.actionType,this.channel)}equals(l){return this===l||l instanceof m&&this.channel===l.channel}toString(){return"channel("+this.channel+")"}}class h extends _{constructor(l,r){super(r.actionType),this.offset=l,this.action=r,this.isPositionDependent=!0}execute(l){this.action.execute(l)}updateHashCode(l){l.update(this.actionType,this.offset,this.action)}equals(l){return this===l||l instanceof h&&this.offset===l.offset&&this.action===l.action}}Me.exports={LexerActionType:ie,LexerSkipAction:n,LexerChannelAction:m,LexerCustomAction:s,LexerIndexedCustomAction:h,LexerMoreAction:u,LexerTypeAction:f,LexerPushModeAction:D,LexerPopModeAction:y,LexerModeAction:v}},5168:(Me,ie,_)=>{const{hashStuff:n}=_(3340),{LexerIndexedCustomAction:f}=_(201);class D{constructor(u){return this.lexerActions=null===u?[]:u,this.cachedHashCode=n(u),this}fixOffsetBeforeMatch(u){let v=null;for(let s=0;s{const n=_(3340),{Set:f,BitSet:D,DoubleDict:y}=n,u=_(9800),{ATNState:v,RuleStopState:s}=_(5516),{ATNConfig:m}=_(7745),{ATNConfigSet:h}=_(4280),{Token:o}=_(6205),{DFAState:l,PredPrediction:r}=_(5468),c=_(4675),d=_(5359),g=_(13),{SemanticContext:C}=(_(7293),_(9454)),{PredictionContext:x}=_(6185),{Interval:w}=_(9173),{Transition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,ActionTransition:I}=_(6850),{NoViableAltException:P}=_(5858),{SingletonPredictionContext:A,predictionContextFromRuleContext:L}=_(6185);Me.exports=class F extends c{constructor(U,W,ne,ee){super(W,ee),this.parser=U,this.decisionToDFA=ne,this.predictionMode=d.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(U,W,ne){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+W+" exec LA(1)=="+this.getLookaheadName(U)+" line "+U.LT(1).line+":"+U.LT(1).column),this._input=U,this._startIndex=U.index,this._outerContext=ne;const ee=this.decisionToDFA[W];this._dfa=ee;const j=U.mark(),B=U.index;try{let $;if($=ee.precedenceDfa?ee.getPrecedenceStartState(this.parser.getPrecedence()):ee.s0,null===$){null===ne&&(ne=g.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ee.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ne.toString(this.parser.ruleNames));let te=this.computeStartState(ee.atnStartState,g.EMPTY,!1);ee.precedenceDfa?(ee.s0.configs=te,te=this.applyPrecedenceFilter(te),$=this.addDFAState(ee,new l(null,te)),ee.setPrecedenceStartState(this.parser.getPrecedence(),$)):($=this.addDFAState(ee,new l(null,te)),ee.s0=$)}const Z=this.execATN(ee,$,U,B,ne);return this.debug&&console.log("DFA after predictATN: "+ee.toString(this.parser.literalNames,this.parser.symbolicNames)),Z}finally{this._dfa=null,this.mergeCache=null,U.seek(B),U.release(j)}}execATN(U,W,ne,ee,j){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+U.decision+" exec LA(1)=="+this.getLookaheadName(ne)+" line "+ne.LT(1).line+":"+ne.LT(1).column);let B,$=W;this.debug&&console.log("s0 = "+W);let Z=ne.LA(1);for(;;){let H=this.getExistingTargetState($,Z);if(null===H&&(H=this.computeTargetState(U,$,Z)),H===c.ERROR){const te=this.noViableAlt(ne,j,$.configs,ee);if(ne.seek(ee),B=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule($.configs,j),B!==u.INVALID_ALT_NUMBER)return B;throw te}if(H.requiresFullContext&&this.predictionMode!==d.SLL){let te=null;if(null!==H.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Ge=ne.index;if(Ge!==ee&&ne.seek(ee),te=this.evalSemanticContext(H.predicates,j,!0),1===te.length)return this.debug&&console.log("Full LL avoided"),te.minValue();Ge!==ee&&ne.seek(Ge)}this.dfa_debug&&console.log("ctx sensitive state "+j+" in "+H);const ye=this.computeStartState(U.atnStartState,j,!0);return this.reportAttemptingFullContext(U,te,H.configs,ee,ne.index),B=this.execATNWithFullContext(U,H,ye,ne,ee,j),B}if(H.isAcceptState){if(null===H.predicates)return H.prediction;const te=ne.index;ne.seek(ee);const ue=this.evalSemanticContext(H.predicates,j,!0);if(0===ue.length)throw this.noViableAlt(ne,j,H.configs,ee);return 1===ue.length||this.reportAmbiguity(U,H,ee,te,!1,ue,H.configs),ue.minValue()}$=H,Z!==o.EOF&&(ne.consume(),Z=ne.LA(1))}}getExistingTargetState(U,W){const ne=U.edges;return null===ne?null:ne[W+1]||null}computeTargetState(U,W,ne){const ee=this.computeReachSet(W.configs,ne,!1);if(null===ee)return this.addDFAEdge(U,W,ne,c.ERROR),c.ERROR;let j=new l(null,ee);const B=this.getUniqueAlt(ee);if(this.debug){const $=d.getConflictingAltSubsets(ee);console.log("SLL altSubSets="+n.arrayToString($)+", configs="+ee+", predict="+B+", allSubsetsConflict="+d.allSubsetsConflict($)+", conflictingAlts="+this.getConflictingAlts(ee))}return B!==u.INVALID_ALT_NUMBER?(j.isAcceptState=!0,j.configs.uniqueAlt=B,j.prediction=B):d.hasSLLConflictTerminatingPrediction(this.predictionMode,ee)&&(j.configs.conflictingAlts=this.getConflictingAlts(ee),j.requiresFullContext=!0,j.isAcceptState=!0,j.prediction=j.configs.conflictingAlts.minValue()),j.isAcceptState&&j.configs.hasSemanticContext&&(this.predicateDFAState(j,this.atn.getDecisionState(U.decision)),null!==j.predicates&&(j.prediction=u.INVALID_ALT_NUMBER)),j=this.addDFAEdge(U,W,ne,j),j}predicateDFAState(U,W){const ne=W.transitions.length,ee=this.getConflictingAltsOrUniqueAlt(U.configs),j=this.getPredsForAmbigAlts(ee,U.configs,ne);null!==j?(U.predicates=this.getPredicatePredictions(ee,j),U.prediction=u.INVALID_ALT_NUMBER):U.prediction=ee.minValue()}execATNWithFullContext(U,W,ne,ee,j,B){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ne);let H,Z=!1,te=ne;ee.seek(j);let ue=ee.LA(1),ye=-1;for(;;){if(H=this.computeReachSet(te,ue,!0),null===H){const $e=this.noViableAlt(ee,B,te,j);ee.seek(j);const Ye=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(te,B);if(Ye!==u.INVALID_ALT_NUMBER)return Ye;throw $e}const Ge=d.getConflictingAltSubsets(H);if(this.debug&&console.log("LL altSubSets="+Ge+", predict="+d.getUniqueAlt(Ge)+", resolvesToJustOneViableAlt="+d.resolvesToJustOneViableAlt(Ge)),H.uniqueAlt=this.getUniqueAlt(H),H.uniqueAlt!==u.INVALID_ALT_NUMBER){ye=H.uniqueAlt;break}if(this.predictionMode!==d.LL_EXACT_AMBIG_DETECTION){if(ye=d.resolvesToJustOneViableAlt(Ge),ye!==u.INVALID_ALT_NUMBER)break}else if(d.allSubsetsConflict(Ge)&&d.allSubsetsEqual(Ge)){Z=!0,ye=d.getSingleViableAlt(Ge);break}te=H,ue!==o.EOF&&(ee.consume(),ue=ee.LA(1))}return H.uniqueAlt!==u.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ye,H,j,ee.index),ye):(this.reportAmbiguity(U,W,j,ee.index,Z,null,H),ye)}computeReachSet(U,W,ne){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new y);const ee=new h(ne);let j=null;for(let $=0;$0&&(B=this.getAltThatFinishedDecisionEntryRule(j),B!==u.INVALID_ALT_NUMBER)?B:u.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const W=[];for(let ne=0;ne0||ee.state instanceof s&&ee.context.hasEmptyPath())&&W.indexOf(ee.alt)<0&&W.push(ee.alt)}return 0===W.length?u.INVALID_ALT_NUMBER:Math.min.apply(null,W)}splitAccordingToSemanticValidity(U,W){const ne=new h(U.fullCtx),ee=new h(U.fullCtx);for(let j=0;j50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let Z=0;Z=0&&(Ge+=1)}this.closureCheckingStopState(ye,W,ne,ue,j,Ge,$)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const W=U.state;if(W.stateType!==v.STAR_LOOP_ENTRY||W.stateType!==v.STAR_LOOP_ENTRY||!W.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ne=U.context.length;for(let $=0;$=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,W,ne,ee,j,B){switch(W.serializationType){case T.RULE:return this.ruleTransition(U,W);case T.PRECEDENCE:return this.precedenceTransition(U,W,ne,ee,j);case T.PREDICATE:return this.predTransition(U,W,ne,ee,j);case T.ACTION:return this.actionTransition(U,W);case T.EPSILON:return new m({state:W.target},U);case T.ATOM:case T.RANGE:case T.SET:return B&&W.matches(o.EOF,0,1)?new m({state:W.target},U):null;default:return null}}actionTransition(U,W){return this.debug&&console.log("ACTION edge "+W.ruleIndex+":"+(-1===W.actionIndex?65535:W.actionIndex)),new m({state:W.target},U)}precedenceTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&ee)if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}predTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.ruleIndex+":"+W.predIndex+", ctx dependent="+W.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&(W.isCtxDependent&&ee||!W.isCtxDependent))if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}ruleTransition(U,W){this.debug&&console.log("CALL rule "+this.getRuleName(W.target.ruleIndex)+", ctx="+U.context);const ee=A.create(U.context,W.followState.stateNumber);return new m({state:W.target,context:ee},U)}getConflictingAlts(U){const W=d.getConflictingAltSubsets(U);return d.getAlts(W)}getConflictingAltsOrUniqueAlt(U){let W=null;return U.uniqueAlt!==u.INVALID_ALT_NUMBER?(W=new D,W.add(U.uniqueAlt)):W=U.conflictingAlts,W}getTokenName(U){if(U===o.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(U>=this.parser.literalNames.length&&U>=this.parser.symbolicNames.length))return(this.parser.literalNames[U]||this.parser.symbolicNames[U])+"<"+U+">";console.log(U+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+U}getLookaheadName(U){return this.getTokenName(U.LA(1))}dumpDeadEndConfigs(U){console.log("dead end configs: ");const W=U.getDeadEndConfigs();for(let ne=0;ne0){const B=ee.state.transitions[0];B instanceof AtomTransition?j="Atom "+this.getTokenName(B.label):B instanceof S&&(j=(B instanceof M?"~":"")+"Set "+B.set)}console.error(ee.toString(this.parser,!0)+":"+j)}}noViableAlt(U,W,ne,ee){return new P(this.parser,U,U.get(ee),U.LT(1),ne,W)}getUniqueAlt(U){let W=u.INVALID_ALT_NUMBER;for(let ne=0;ne "+ee+" upon "+this.getTokenName(ne)),null===ee?null:(ee=this.addDFAState(U,ee),null===W||ne<-1||ne>this.atn.maxTokenType||(null===W.edges&&(W.edges=[]),W.edges[ne+1]=ee,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ee)}addDFAState(U,W){if(W===c.ERROR)return W;const ne=U.states.get(W);return null!==ne?ne:(W.stateNumber=U.states.length,W.configs.readOnly||(W.configs.optimizeConfigs(this),W.configs.setReadonly(!0)),U.states.add(W),this.debug&&console.log("adding new DFA state: "+W),W)}reportAttemptingFullContext(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ee,j,W,ne)}reportContextSensitivity(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportContextSensitivity decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ee,j,W,ne)}reportAmbiguity(U,W,ne,ee,j,B,$){if(this.debug||this.retry_debug){const Z=new w(ne,ee+1);console.log("reportAmbiguity "+B+":"+$+", input="+this.parser.getTokenStream().getText(Z))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ne,ee,j,B,$)}}},5359:(Me,ie,_)=>{const{Map:n,BitSet:f,AltDict:D,hashStuff:y}=_(3340),u=_(9800),{RuleStopState:v}=_(5516),{ATNConfigSet:s}=_(4280),{ATNConfig:m}=_(7745),{SemanticContext:h}=_(9454),o={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(l,r){if(o.allConfigsInRuleStopStates(r))return!0;if(l===o.SLL&&r.hasSemanticContext){const d=new s;for(let g=0;g1)return!0;return!1},allSubsetsEqual:function(l){let r=null;for(let c=0;c{const{Set:n,Hash:f,equalArrays:D}=_(3340);class y{hashCode(){const o=new f;return this.updateHashCode(o),o.finish()}evaluate(o,l){}evalPrecedence(o,l){return this}static andContext(o,l){if(null===o||o===y.NONE)return l;if(null===l||l===y.NONE)return o;const r=new s(o,l);return 1===r.opnds.length?r.opnds[0]:r}static orContext(o,l){if(null===o)return l;if(null===l)return o;if(o===y.NONE||l===y.NONE)return y.NONE;const r=new m(o,l);return 1===r.opnds.length?r.opnds[0]:r}}class u extends y{constructor(o,l,r){super(),this.ruleIndex=void 0===o?-1:o,this.predIndex=void 0===l?-1:l,this.isCtxDependent=void 0!==r&&r}evaluate(o,l){return o.sempred(this.isCtxDependent?l:null,this.ruleIndex,this.predIndex)}updateHashCode(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(o){return this===o||o instanceof u&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}y.NONE=new u;class v extends y{constructor(o){super(),this.precedence=void 0===o?0:o}evaluate(o,l){return o.precpred(l,this.precedence)}evalPrecedence(o,l){return o.precpred(l,this.precedence)?y.NONE:null}compareTo(o){return this.precedence-o.precedence}updateHashCode(o){o.update(this.precedence)}equals(o){return this===o||o instanceof v&&this.precedence===o.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(o){const l=[];return o.values().map(function(r){r instanceof v&&l.push(r)}),l}}class s extends y{constructor(o,l){super();const r=new n;o instanceof s?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof s?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){let d=null;c.map(function(g){(null===d||g.precedencel.toString());return(o.length>3?o.slice(3):o).join("&&")}}class m extends y{constructor(o,l){super();const r=new n;o instanceof m?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof m?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){const d=c.sort(function(b,C){return b.compareTo(C)});r.add(d[d.length-1])}this.opnds=Array.from(r.values())}equals(o){return this===o||o instanceof m&&D(this.opnds,o.opnds)}updateHashCode(o){o.update(this.opnds,"OR")}evaluate(o,l){for(let r=0;rl.toString());return(o.length>3?o.slice(3):o).join("||")}}Me.exports={SemanticContext:y,PrecedencePredicate:v,Predicate:u}},6850:(Me,ie,_)=>{const{Token:n}=_(6205),{IntervalSet:f}=_(9173),{Predicate:D,PrecedencePredicate:y}=_(9454);class u{constructor(x){if(null==x)throw"target cannot be null.";this.target=x,this.isEpsilon=!1,this.label=null}}u.EPSILON=1,u.RANGE=2,u.RULE=3,u.PREDICATE=4,u.ATOM=5,u.ACTION=6,u.SET=7,u.NOT_SET=8,u.WILDCARD=9,u.PRECEDENCE=10,u.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],u.serializationTypes={EpsilonTransition:u.EPSILON,RangeTransition:u.RANGE,RuleTransition:u.RULE,PredicateTransition:u.PREDICATE,AtomTransition:u.ATOM,ActionTransition:u.ACTION,SetTransition:u.SET,NotSetTransition:u.NOT_SET,WildcardTransition:u.WILDCARD,PrecedencePredicateTransition:u.PRECEDENCE};class o extends u{constructor(x){super(x)}}class c extends u{constructor(x,w){super(x),this.serializationType=u.SET,null!=w?this.label=w:(this.label=new f,this.label.addOne(n.INVALID_TYPE))}matches(x,w,T){return this.label.contains(x)}toString(){return this.label.toString()}}Me.exports={Transition:u,AtomTransition:class v extends u{constructor(x,w){super(x),this.label_=w,this.label=this.makeLabel(),this.serializationType=u.ATOM}makeLabel(){const x=new f;return x.addOne(this.label_),x}matches(x,w,T){return this.label_===x}toString(){return this.label_}},SetTransition:c,NotSetTransition:class d extends c{constructor(x,w){super(x,w),this.serializationType=u.NOT_SET}matches(x,w,T){return x>=w&&x<=T&&!super.matches(x,w,T)}toString(){return"~"+super.toString()}},RuleTransition:class s extends u{constructor(x,w,T,S){super(x),this.ruleIndex=w,this.precedence=T,this.followState=S,this.serializationType=u.RULE,this.isEpsilon=!0}matches(x,w,T){return!1}},ActionTransition:class r extends u{constructor(x,w,T,S){super(x),this.serializationType=u.ACTION,this.ruleIndex=w,this.actionIndex=void 0===T?-1:T,this.isCtxDependent=void 0!==S&&S,this.isEpsilon=!0}matches(x,w,T){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class m extends u{constructor(x,w){super(x),this.serializationType=u.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(x,w,T){return!1}toString(){return"epsilon"}},RangeTransition:class h extends u{constructor(x,w,T){super(x),this.serializationType=u.RANGE,this.start=w,this.stop=T,this.label=this.makeLabel()}makeLabel(){const x=new f;return x.addRange(this.start,this.stop),x}matches(x,w,T){return x>=this.start&&x<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class g extends u{constructor(x){super(x),this.serializationType=u.WILDCARD}matches(x,w,T){return x>=w&&x<=T}toString(){return"."}},PredicateTransition:class l extends o{constructor(x,w,T,S){super(x),this.serializationType=u.PREDICATE,this.ruleIndex=w,this.predIndex=T,this.isCtxDependent=S,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new D(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class b extends o{constructor(x,w){super(x),this.serializationType=u.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new y(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:o}},871:(Me,ie,_)=>{ie.ATN=_(9800),ie.ATNDeserializer=_(7499),ie.LexerATNSimulator=_(9462),ie.ParserATNSimulator=_(6877),ie.PredictionMode=_(5359)},5343:(Me,ie,_)=>{const{Set:n}=_(3340),{DFAState:f}=_(5468),{StarLoopEntryState:D}=_(5516),{ATNConfigSet:y}=_(4280),{DFASerializer:u}=_(7279),{LexerDFASerializer:v}=_(7279);Me.exports=class s{constructor(h,o){if(void 0===o&&(o=0),this.atnStartState=h,this.decision=o,this._states=new n,this.s0=null,this.precedenceDfa=!1,h instanceof D&&h.isPrecedenceDecision){this.precedenceDfa=!0;const l=new f(null,new y);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}getPrecedenceStartState(h){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return h<0||h>=this.s0.edges.length?null:this.s0.edges[h]||null}setPrecedenceStartState(h,o){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";h<0||(this.s0.edges[h]=o)}setPrecedenceDfa(h){if(this.precedenceDfa!==h){if(this._states=new n,h){const o=new f(null,new y);o.edges=[],o.isAcceptState=!1,o.requiresFullContext=!1,this.s0=o}else this.s0=null;this.precedenceDfa=h}}sortedStates(){return this._states.values().sort(function(o,l){return o.stateNumber-l.stateNumber})}toString(h,o){return h=h||null,o=o||null,null===this.s0?"":new u(this,h,o).toString()}toLexerString(){return null===this.s0?"":new v(this).toString()}get states(){return this._states}}},7279:(Me,ie,_)=>{const n=_(3340);class f{constructor(u,v,s){this.dfa=u,this.literalNames=v||[],this.symbolicNames=s||[]}toString(){if(null===this.dfa.s0)return null;let u="";const v=this.dfa.sortedStates();for(let s=0;s"),u=u.concat(this.getStateString(l)),u=u.concat("\n"))}}}return 0===u.length?null:u}getEdgeLabel(u){return 0===u?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[u-1]||this.symbolicNames[u-1]:String.fromCharCode(u-1)}getStateString(u){const v=(u.isAcceptState?":":"")+"s"+u.stateNumber+(u.requiresFullContext?"^":"");return u.isAcceptState?null!==u.predicates?v+"=>"+n.arrayToString(u.predicates):v+"=>"+u.prediction.toString():v}}Me.exports={DFASerializer:f,LexerDFASerializer:class D extends f{constructor(u){super(u,null)}getEdgeLabel(u){return"'"+String.fromCharCode(u)+"'"}}}},5468:(Me,ie,_)=>{const{ATNConfigSet:n}=_(4280),{Hash:f,Set:D}=_(3340);class u{constructor(s,m){return null===s&&(s=-1),null===m&&(m=new n),this.stateNumber=s,this.configs=m,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const s=new D;if(null!==this.configs)for(let m=0;m{ie.DFA=_(5343),ie.DFASerializer=_(7279).DFASerializer,ie.LexerDFASerializer=_(7279).LexerDFASerializer,ie.PredPrediction=_(5468).PredPrediction},9935:(Me,ie,_)=>{const{BitSet:n}=_(3340),{ErrorListener:f}=_(7967),{Interval:D}=_(9173);Me.exports=class y extends f{constructor(v){super(),this.exactOnly=v=v||!0}reportAmbiguity(v,s,m,h,o,l,r){if(this.exactOnly&&!o)return;const c="reportAmbiguity d="+this.getDecisionDescription(v,s)+": ambigAlts="+this.getConflictingAlts(l,r)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(c)}reportAttemptingFullContext(v,s,m,h,o,l){const r="reportAttemptingFullContext d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}reportContextSensitivity(v,s,m,h,o,l){const r="reportContextSensitivity d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}getDecisionDescription(v,s){const m=s.decision,h=s.atnStartState.ruleIndex,o=v.ruleNames;if(h<0||h>=o.length)return""+m;const l=o[h]||null;return null===l||0===l.length?""+m:`${m} (${l})`}getConflictingAlts(v,s){if(null!==v)return v;const m=new n;for(let h=0;h{class ie{syntaxError(D,y,u,v,s,m){}reportAmbiguity(D,y,u,v,s,m,h){}reportAttemptingFullContext(D,y,u,v,s,m){}reportContextSensitivity(D,y,u,v,s,m){}}class _ extends ie{constructor(){super()}syntaxError(D,y,u,v,s,m){console.error("line "+u+":"+v+" "+s)}}_.INSTANCE=new _,Me.exports={ErrorListener:ie,ConsoleErrorListener:_,ProxyErrorListener:class n extends ie{constructor(D){if(super(),null===D)throw"delegates";return this.delegates=D,this}syntaxError(D,y,u,v,s,m){this.delegates.map(h=>h.syntaxError(D,y,u,v,s,m))}reportAmbiguity(D,y,u,v,s,m,h){this.delegates.map(o=>o.reportAmbiguity(D,y,u,v,s,m,h))}reportAttemptingFullContext(D,y,u,v,s,m){this.delegates.map(h=>h.reportAttemptingFullContext(D,y,u,v,s,m))}reportContextSensitivity(D,y,u,v,s,m){this.delegates.map(h=>h.reportContextSensitivity(D,y,u,v,s,m))}}}},2487:(Me,ie,_)=>{const{Token:n}=_(6205),{NoViableAltException:f,InputMismatchException:D,FailedPredicateException:y,ParseCancellationException:u}=_(5858),{ATNState:v}=_(5516),{Interval:s,IntervalSet:m}=_(9173);class h{reset(c){}recoverInline(c){}recover(c,d){}sync(c){}inErrorRecoveryMode(c){}reportError(c){}}class o extends h{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(c){this.endErrorCondition(c)}beginErrorCondition(c){this.errorRecoveryMode=!0}inErrorRecoveryMode(c){return this.errorRecoveryMode}endErrorCondition(c){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(c){this.endErrorCondition(c)}reportError(c,d){this.inErrorRecoveryMode(c)||(this.beginErrorCondition(c),d instanceof f?this.reportNoViableAlternative(c,d):d instanceof D?this.reportInputMismatch(c,d):d instanceof y?this.reportFailedPredicate(c,d):(console.log("unknown recognition error type: "+d.constructor.name),console.log(d.stack),c.notifyErrorListeners(d.getOffendingToken(),d.getMessage(),d)))}recover(c,d){this.lastErrorIndex===c.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(c.state)>=0&&c.consume(),this.lastErrorIndex=c._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(c.state);const g=this.getErrorRecoverySet(c);this.consumeUntil(c,g)}sync(c){if(this.inErrorRecoveryMode(c))return;const d=c._interp.atn.states[c.state],g=c.getTokenStream().LA(1),b=c.atn.nextTokens(d);if(b.contains(g))return this.nextTokensContext=null,void(this.nextTokenState=v.INVALID_STATE_NUMBER);if(b.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=c._ctx,this.nextTokensState=c._stateNumber);else switch(d.stateType){case v.BLOCK_START:case v.STAR_BLOCK_START:case v.PLUS_BLOCK_START:case v.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(c))return;throw new D(c);case v.PLUS_LOOP_BACK:case v.STAR_LOOP_BACK:this.reportUnwantedToken(c);const C=new m;C.addSet(c.getExpectedTokens());const x=C.addSet(this.getErrorRecoverySet(c));this.consumeUntil(c,x)}}reportNoViableAlternative(c,d){const g=c.getTokenStream();let b;b=null!==g?d.startToken.type===n.EOF?"":g.getText(new s(d.startToken.tokenIndex,d.offendingToken.tokenIndex)):"";const C="no viable alternative at input "+this.escapeWSAndQuote(b);c.notifyErrorListeners(C,d.offendingToken,d)}reportInputMismatch(c,d){const g="mismatched input "+this.getTokenErrorDisplay(d.offendingToken)+" expecting "+d.getExpectedTokens().toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(g,d.offendingToken,d)}reportFailedPredicate(c,d){c.notifyErrorListeners("rule "+c.ruleNames[c._ctx.ruleIndex]+" "+d.message,d.offendingToken,d)}reportUnwantedToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),C="extraneous input "+this.getTokenErrorDisplay(d)+" expecting "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(C,d,null)}reportMissingToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),b="missing "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames)+" at "+this.getTokenErrorDisplay(d);c.notifyErrorListeners(b,d,null)}recoverInline(c){const d=this.singleTokenDeletion(c);if(null!==d)return c.consume(),d;if(this.singleTokenInsertion(c))return this.getMissingSymbol(c);throw new D(c)}singleTokenInsertion(c){const d=c.getTokenStream().LA(1),g=c._interp.atn;return!!g.nextTokens(g.states[c.state].transitions[0].target,c._ctx).contains(d)&&(this.reportMissingToken(c),!0)}singleTokenDeletion(c){const d=c.getTokenStream().LA(2);if(this.getExpectedTokens(c).contains(d)){this.reportUnwantedToken(c),c.consume();const b=c.getCurrentToken();return this.reportMatch(c),b}return null}getMissingSymbol(c){const d=c.getCurrentToken(),b=this.getExpectedTokens(c).first();let C;C=b===n.EOF?"":"";let x=d;const w=c.getTokenStream().LT(-1);return x.type===n.EOF&&null!==w&&(x=w),c.getTokenFactory().create(x.source,b,C,n.DEFAULT_CHANNEL,-1,-1,x.line,x.column)}getExpectedTokens(c){return c.getExpectedTokens()}getTokenErrorDisplay(c){if(null===c)return"";let d=c.text;return null===d&&(d=c.type===n.EOF?"":"<"+c.type+">"),this.escapeWSAndQuote(d)}escapeWSAndQuote(c){return"'"+(c=(c=(c=c.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(c){const d=c._interp.atn;let g=c._ctx;const b=new m;for(;null!==g&&g.invokingState>=0;){const w=d.nextTokens(d.states[g.invokingState].transitions[0].followState);b.addSet(w),g=g.parentCtx}return b.removeOne(n.EPSILON),b}consumeUntil(c,d){let g=c.getTokenStream().LA(1);for(;g!==n.EOF&&!d.contains(g);)c.consume(),g=c.getTokenStream().LA(1)}}Me.exports={BailErrorStrategy:class l extends o{constructor(){super()}recover(c,d){let g=c._ctx;for(;null!==g;)g.exception=d,g=g.parentCtx;throw new u(d)}recoverInline(c){this.recover(c,new D(c))}sync(c){}},DefaultErrorStrategy:o}},5858:(Me,ie,_)=>{const{PredicateTransition:n}=_(6850),{Interval:f}=_(9173).Interval;class D extends Error{constructor(l){super(l.message),Error.captureStackTrace?Error.captureStackTrace(this,D):new Error,this.message=l.message,this.recognizer=l.recognizer,this.input=l.input,this.ctx=l.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}function s(o,l){return null!==l?l:"failed predicate: {"+o+"}?"}class h extends Error{constructor(){super(),Error.captureStackTrace(this,h)}}Me.exports={RecognitionException:D,NoViableAltException:class u extends D{constructor(l,r,c,d,g,b){b=b||l._ctx,d=d||l.getCurrentToken(),c=c||l.getCurrentToken(),r=r||l.getInputStream(),super({message:"",recognizer:l,input:r,ctx:b}),this.deadEndConfigs=g,this.startToken=c,this.offendingToken=d}},LexerNoViableAltException:class y extends D{constructor(l,r,c,d){super({message:"",recognizer:l,input:r,ctx:null}),this.startIndex=c,this.deadEndConfigs=d}toString(){let l="";return this.startIndex>=0&&this.startIndex{Me.exports.RecognitionException=_(5858).RecognitionException,Me.exports.NoViableAltException=_(5858).NoViableAltException,Me.exports.LexerNoViableAltException=_(5858).LexerNoViableAltException,Me.exports.InputMismatchException=_(5858).InputMismatchException,Me.exports.FailedPredicateException=_(5858).FailedPredicateException,Me.exports.DiagnosticErrorListener=_(9935),Me.exports.BailErrorStrategy=_(2487).BailErrorStrategy,Me.exports.DefaultErrorStrategy=_(2487).DefaultErrorStrategy,Me.exports.ErrorListener=_(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Me=function(){let _;try{const n={},f=Object.defineProperty;_=f(n,n,n)&&f}catch{}return _}();const ie=function(_){if(null==this)throw TypeError();const n=String(this),f=n.length;let D=_?Number(_):0;if(D!=D&&(D=0),D<0||D>=f)return;const y=n.charCodeAt(D);let u;return y>=55296&&y<=56319&&f>D+1&&(u=n.charCodeAt(D+1),u>=56320&&u<=57343)?1024*(y-55296)+u-56320+65536:y};Me?Me(String.prototype,"codePointAt",{value:ie,configurable:!0,writable:!0}):String.prototype.codePointAt=ie}()},9182:()=>{String.fromCodePoint||function(){const Me=function(){let f;try{const D={},y=Object.defineProperty;f=y(D,D,D)&&y}catch{}return f}(),ie=String.fromCharCode,_=Math.floor,n=function(f){const y=[];let u,v,s=-1;const m=arguments.length;if(!m)return"";let h="";for(;++s1114111||_(o)!==o)throw RangeError("Invalid code point: "+o);o<=65535?y.push(o):(o-=65536,u=55296+(o>>10),v=o%1024+56320,y.push(u,v)),(s+1===m||y.length>16384)&&(h+=ie.apply(null,y),y.length=0)}return h};Me?Me(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Me,ie,_)=>{const{Token:n}=_(6205),{Interval:f}=_(9173),D=new f(-1,-2);class y{}class u extends y{constructor(){super()}}class v extends u{constructor(){super()}}class m extends v{constructor(){super()}}class h extends m{constructor(){super()}}class r extends m{constructor(b){super(),this.parentCtx=null,this.symbol=b}getChild(b){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return D;const b=this.symbol.tokenIndex;return new f(b,b)}getChildCount(){return 0}accept(b){return b.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class d{walk(b,C){if(C instanceof h||void 0!==C.isErrorNode&&C.isErrorNode())b.visitErrorNode(C);else if(C instanceof m)b.visitTerminal(C);else{this.enterRule(b,C);for(let w=0;w{const n=_(3340),{Token:f}=_(6205),{ErrorNode:D,TerminalNode:y,RuleNode:u}=_(5829),v={toStringTree:function(s,m,h){m=m||null,null!==(h=h||null)&&(m=h.ruleNames);let o=v.getNodeText(s,m);o=n.escapeWhitespace(o,!1);const l=s.getChildCount();if(0===l)return o;let r="("+o+" ";l>0&&(o=v.toStringTree(s.getChild(0),m),r=r.concat(o));for(let c=1;c{const n=_(5829),f=_(5140);Me.exports={...n,Trees:f}},9807:function(){var Me;Me=typeof self<"u"?self:this,function(_){var n_searchParams="URLSearchParams"in Me,n_iterable="Symbol"in Me&&"iterator"in Symbol,n_blob="FileReader"in Me&&"Blob"in Me&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Me,n_arrayBuffer="ArrayBuffer"in Me;if(n_arrayBuffer)var D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(I){return I&&D.indexOf(Object.prototype.toString.call(I))>-1};function u(I){if("string"!=typeof I&&(I=String(I)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(I))throw new TypeError("Invalid character in header field name");return I.toLowerCase()}function v(I){return"string"!=typeof I&&(I=String(I)),I}function s(I){var P={next:function(){var A=I.shift();return{done:void 0===A,value:A}}};return n_iterable&&(P[Symbol.iterator]=function(){return P}),P}function m(I){this.map={},I instanceof m?I.forEach(function(P,A){this.append(A,P)},this):Array.isArray(I)?I.forEach(function(P){this.append(P[0],P[1])},this):I&&Object.getOwnPropertyNames(I).forEach(function(P){this.append(P,I[P])},this)}function h(I){if(I.bodyUsed)return Promise.reject(new TypeError("Already read"));I.bodyUsed=!0}function o(I){return new Promise(function(P,A){I.onload=function(){P(I.result)},I.onerror=function(){A(I.error)}})}function l(I){var P=new FileReader,A=o(P);return P.readAsArrayBuffer(I),A}function d(I){if(I.slice)return I.slice(0);var P=new Uint8Array(I.byteLength);return P.set(new Uint8Array(I)),P.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(I){this._bodyInit=I,I?"string"==typeof I?this._bodyText=I:n_blob&&Blob.prototype.isPrototypeOf(I)?this._bodyBlob=I:n_formData&&FormData.prototype.isPrototypeOf(I)?this._bodyFormData=I:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)?this._bodyText=I.toString():n_arrayBuffer&&n_blob&&function f(I){return I&&DataView.prototype.isPrototypeOf(I)}(I)?(this._bodyArrayBuffer=d(I.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(I)||y(I))?this._bodyArrayBuffer=d(I):this._bodyText=I=Object.prototype.toString.call(I):this._bodyText="",this.headers.get("content-type")||("string"==typeof I?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var I=h(this);if(I)return I;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var I=h(this);if(I)return I;if(this._bodyBlob)return function r(I){var P=new FileReader,A=o(P);return P.readAsText(I),A}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function c(I){for(var P=new Uint8Array(I),A=new Array(P.length),L=0;L-1?P:I}(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}function w(I){var P=new FormData;return I.trim().split("&").forEach(function(A){if(A){var L=A.split("="),F=L.shift().replace(/\+/g," "),R=L.join("=").replace(/\+/g," ");P.append(decodeURIComponent(F),decodeURIComponent(R))}}),P}function T(I){var P=new m;return I.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(L){var F=L.split(":"),R=F.shift().trim();if(R){var U=F.join(":").trim();P.append(R,U)}}),P}function S(I,P){P||(P={}),this.type="default",this.status=void 0===P.status?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in P?P.statusText:"OK",this.headers=new m(P.headers),this.url=P.url||"",this._initBody(I)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},S.error=function(){var I=new S(null,{status:0,statusText:""});return I.type="error",I};var M=[301,302,303,307,308];S.redirect=function(I,P){if(-1===M.indexOf(P))throw new RangeError("Invalid status code");return new S(null,{status:P,headers:{location:I}})},_.DOMException=Me.DOMException;try{new _.DOMException}catch{_.DOMException=function(P,A){this.message=P,this.name=A;var L=Error(P);this.stack=L.stack},_.DOMException.prototype=Object.create(Error.prototype),_.DOMException.prototype.constructor=_.DOMException}function k(I,P){return new Promise(function(A,L){var F=new x(I,P);if(F.signal&&F.signal.aborted)return L(new _.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function U(){R.abort()}R.onload=function(){var W={status:R.status,statusText:R.statusText,headers:T(R.getAllResponseHeaders()||"")};W.url="responseURL"in R?R.responseURL:W.headers.get("X-Request-URL"),A(new S("response"in R?R.response:R.responseText,W))},R.onerror=function(){L(new TypeError("Network request failed"))},R.ontimeout=function(){L(new TypeError("Network request failed"))},R.onabort=function(){L(new _.DOMException("Aborted","AbortError"))},R.open(F.method,F.url,!0),"include"===F.credentials?R.withCredentials=!0:"omit"===F.credentials&&(R.withCredentials=!1),"responseType"in R&&n_blob&&(R.responseType="blob"),F.headers.forEach(function(W,ne){R.setRequestHeader(ne,W)}),F.signal&&(F.signal.addEventListener("abort",U),R.onreadystatechange=function(){4===R.readyState&&F.signal.removeEventListener("abort",U)}),R.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}k.polyfill=!0,Me.fetch||(Me.fetch=k,Me.Headers=m,Me.Request=x,Me.Response=S),_.Headers=m,_.Request=x,_.Response=S,_.fetch=k,Object.defineProperty(_,"__esModule",{value:!0})}({})},7098:Me=>{Me.exports=function(n){var f=new Date(n.getTime()),D=f.getTimezoneOffset();return f.setSeconds(0,0),6e4*D+f.getTime()%6e4}},2860:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D),v=Number(y);return u.setDate(u.getDate()+v),u}},6888:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,36e5*v)}},3895:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D).getTime(),v=Number(y);return new Date(u+v)}},3745:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,6e4*v)}},1277:(Me,ie,_)=>{var n=_(1420),f=_(7255);Me.exports=function D(y,u){var v=n(y),s=Number(u),m=v.getMonth()+s,h=new Date(0);h.setFullYear(v.getFullYear(),m,1),h.setHours(0,0,0,0);var o=f(h);return v.setMonth(m,Math.min(o,v.getDate())),v}},3857:(Me,ie,_)=>{var n=_(3895);Me.exports=function f(D,y){var u=Number(y);return n(D,1e3*u)}},338:(Me,ie,_)=>{var n=_(2860);Me.exports=function f(D,y){var u=Number(y);return n(D,7*u)}},3763:(Me,ie,_)=>{var n=_(1277);Me.exports=function f(D,y){var u=Number(y);return n(D,12*u)}},7255:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D){var y=n(D),u=y.getFullYear(),v=y.getMonth(),s=new Date(0);return s.setFullYear(u,v+1,0),s.setHours(0,0,0,0),s.getDate()}},4853:Me=>{Me.exports=function ie(_){return _ instanceof Date}},1420:(Me,ie,_)=>{var n=_(7098),f=_(4853),D=36e5,y=6e4,v=/[T ]/,s=/:/,m=/^(\d{2})$/,h=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],o=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,c=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,g=/^-?W(\d{2})$/,b=/^-?W(\d{2})-?(\d{1})$/,C=/^(\d{2}([.,]\d*)?)$/,x=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,T=/([Z+-].*)$/,S=/^(Z)$/,M=/^([+-])(\d{2})$/,k=/^([+-])(\d{2}):?(\d{2})$/;function U(W,ne,ee){ne=ne||0,ee=ee||0;var j=new Date(0);j.setUTCFullYear(W,0,4);var $=7*ne+ee+1-(j.getUTCDay()||7);return j.setUTCDate(j.getUTCDate()+$),j}Me.exports=function I(W,ne){if(f(W))return new Date(W.getTime());if("string"!=typeof W)return new Date(W);var j=(ne||{}).additionalDigits;j=null==j?2:Number(j);var B=function P(W){var j,ne={},ee=W.split(v);if(s.test(ee[0])?(ne.date=null,j=ee[0]):(ne.date=ee[0],j=ee[1]),j){var B=T.exec(j);B?(ne.time=j.replace(B[1],""),ne.timezone=B[1]):ne.time=j}return ne}(W),$=function A(W,ne){var B,ee=h[ne],j=l[ne];if(B=o.exec(W)||j.exec(W)){var $=B[1];return{year:parseInt($,10),restDateString:W.slice($.length)}}if(B=m.exec(W)||ee.exec(W)){var Z=B[1];return{year:100*parseInt(Z,10),restDateString:W.slice(Z.length)}}return{year:null}}(B.date,j),te=function L(W,ne){if(null===ne)return null;var ee,j,B;if(0===W.length)return(j=new Date(0)).setUTCFullYear(ne),j;if(ee=r.exec(W))return j=new Date(0),B=parseInt(ee[1],10)-1,j.setUTCFullYear(ne,B),j;if(ee=c.exec(W)){j=new Date(0);var Z=parseInt(ee[1],10);return j.setUTCFullYear(ne,0,Z),j}if(ee=d.exec(W)){j=new Date(0),B=parseInt(ee[1],10)-1;var H=parseInt(ee[2],10);return j.setUTCFullYear(ne,B,H),j}return(ee=g.exec(W))?U(ne,parseInt(ee[1],10)-1):(ee=b.exec(W))?U(ne,parseInt(ee[1],10)-1,parseInt(ee[2],10)-1):null}($.restDateString,$.year);if(te){var Ge,ue=te.getTime(),ye=0;if(B.time&&(ye=function F(W){var ne,ee,j;if(ne=C.exec(W))return(ee=parseFloat(ne[1].replace(",",".")))%24*D;if(ne=x.exec(W))return ee=parseInt(ne[1],10),j=parseFloat(ne[2].replace(",",".")),ee%24*D+j*y;if(ne=w.exec(W)){ee=parseInt(ne[1],10),j=parseInt(ne[2],10);var B=parseFloat(ne[3].replace(",","."));return ee%24*D+j*y+1e3*B}return null}(B.time)),B.timezone)Ge=function R(W){var ne,ee;return(ne=S.exec(W))?0:(ne=M.exec(W))?(ee=60*parseInt(ne[2],10),"+"===ne[1]?-ee:ee):(ne=k.exec(W))?(ee=60*parseInt(ne[2],10)+parseInt(ne[3],10),"+"===ne[1]?-ee:ee):0}(B.timezone)*y;else{var $e=ue+ye,Ye=new Date($e);Ge=n(Ye);var Ze=new Date($e);Ze.setDate(Ye.getDate()+1);var Et=n(Ze)-n(Ye);Et>0&&(Ge+=Et)}return new Date(ue+ye+Ge)}return new Date(W)}},563:(Me,ie,_)=>{ie.formatArgs=function f(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+Me.exports.humanize(this.diff),!this.useColors)return;const m="color: "+this.color;s.splice(1,0,m,"color: inherit");let h=0,o=0;s[0].replace(/%[a-zA-Z%]/g,l=>{"%%"!==l&&(h++,"%c"===l&&(o=h))}),s.splice(o,0,m)},ie.save=function D(s){try{s?ie.storage.setItem("debug",s):ie.storage.removeItem("debug")}catch{}},ie.load=function y(){let s;try{s=ie.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},ie.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},ie.storage=function u(){try{return localStorage}catch{}}(),ie.destroy=(()=>{let s=!1;return()=>{s||(s=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),ie.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],ie.log=console.debug||console.log||(()=>{}),Me.exports=_(6018)(ie);const{formatters:v}=Me.exports;v.j=function(s){try{return JSON.stringify(s)}catch(m){return"[UnexpectedJSONParseError]: "+m.message}}},6018:(Me,ie,_)=>{Me.exports=function n(f){function y(r){let c,g,b,d=null;function C(...x){if(!C.enabled)return;const w=C,T=Number(new Date);w.diff=T-(c||T),w.prev=c,w.curr=T,c=T,x[0]=y.coerce(x[0]),"string"!=typeof x[0]&&x.unshift("%O");let M=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(I,P)=>{if("%%"===I)return"%";M++;const A=y.formatters[P];return"function"==typeof A&&(I=A.call(w,x[M]),x.splice(M,1),M--),I}),y.formatArgs.call(w,x),(w.log||y.log).apply(w,x)}return C.namespace=r,C.useColors=y.useColors(),C.color=y.selectColor(r),C.extend=u,C.destroy=y.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==d?d:(g!==y.namespaces&&(g=y.namespaces,b=y.enabled(r)),b),set:x=>{d=x}}),"function"==typeof y.init&&y.init(C),C}function u(r,c){const d=y(this.namespace+(typeof c>"u"?":":c)+r);return d.log=this.log,d}function h(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return y.debug=y,y.default=y,y.coerce=function o(r){return r instanceof Error?r.stack||r.message:r},y.disable=function s(){const r=[...y.names.map(h),...y.skips.map(h).map(c=>"-"+c)].join(",");return y.enable(""),r},y.enable=function v(r){let c;y.save(r),y.namespaces=r,y.names=[],y.skips=[];const d=("string"==typeof r?r:"").split(/[\s,]+/),g=d.length;for(c=0;c{y[r]=f[r]}),y.names=[],y.skips=[],y.formatters={},y.selectColor=function D(r){let c=0;for(let d=0;d{"use strict";var ie="%[a-f0-9]{2}",_=new RegExp("("+ie+")|([^%]+?)","gi"),n=new RegExp("("+ie+")+","gi");function f(u,v){try{return[decodeURIComponent(u.join(""))]}catch{}if(1===u.length)return u;var s=u.slice(0,v=v||1),m=u.slice(v);return Array.prototype.concat.call([],f(s),f(m))}function D(u){try{return decodeURIComponent(u)}catch{for(var v=u.match(_)||[],s=1;s"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),c=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function x(){var ke=setTimeout;return function(){return ke(T,1)}}var w=new Array(1e3);function T(){for(var ke=0;ke{Me.exports=class ie{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,f){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:f}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,f){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:f}})}supportFor({resourceType:n,capabilityType:f,where:D}={}){let y;if(y=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!y)return!1;const u=y[f];if(D&&u){const v=Object.keys(D)[0];return void 0!==u.find(m=>m[v]===D[v])}return void 0!==u}interactionsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f?[]:f.interaction.map(D=>D.code)}searchParamsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f||void 0===f.searchParam?[]:f.searchParam.map(D=>D.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(y=>y.type===n)}capabilityContents({resourceType:n,capabilityType:f}={}){const D=this.resourceCapabilities({resourceType:n});if(void 0!==D)return D[f]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Me,ie,_)=>{var n=_(7156).default;const f=_(133),{authFromCapability:D,authFromWellKnown:y}=_(6686),u=_(8237),v=_(7681),s=_(1370),{createQueryString:m,validResourceType:h}=_(9047),{FetchQueue:o}=_(1335),{deprecatePaginationArgs:l,deprecateHeaders:r}=_(3820),c=_(6836);Me.exports=class d{constructor({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w,bearerToken:T}={}){this.httpClient=new u({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w}),T&&(this.httpClient.bearerToken=T),this.resolver=new v(this),this.pagination=new s(this.httpClient)}static httpFor(b){return{request:u.requestFor(b),response:u.responseFor(b)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(b){this.httpClient&&(this.httpClient.baseUrl=b)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(b){this.httpClient.customHeaders=b}set bearerToken(b){this.httpClient.bearerToken=b}resolve({reference:b,context:C,headers:x,options:w={}}={}){return this.resolver.resolve({reference:b,context:C,options:r(w,x)})}smartAuthMetadata({headers:b,options:C={}}={}){var x=this;return n(function*(){const w={options:r(C,b)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const T=x.baseUrl.replace(/\/*$/,"/"),S=new o,M=S.buildJob(),k=S.buildJob(),I=S.buildJob(),P=[];return new Promise((A,L)=>{function F(R){P.push(R)===S.numJobs&&L(new Error(P.map(U=>U.message).join("; ")))}x.httpClient.request("GET",`${T}.well-known/smart-configuration`,k.addSignalOption(w)).then(R=>(S.safeAbortOthers(k),A(y(R)))).catch(R=>F(R)),x.capabilityStatement(M.addSignalOption(w)).then(R=>(S.safeAbortOthers(M),A(D(R)))).catch(R=>F(R)),x.httpClient.request("GET",`${T}.well-known/openid-configuration`,I.addSignalOption(w)).then(R=>(S.safeAbortOthers(I),A(y(R)))).catch(R=>F(R))})})()}capabilityStatement({headers:b,options:C={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(C,b))),this.metadata}request(b,{method:C="GET",options:x={},body:w}={}){return x.method&&x.method!==C&&console.warn(`WARNING: 'options.method' has been specified: ${x.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(C,b,x,w)}read({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}`,r(w,x))}vread({resourceType:b,id:C,version:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history/${x}`,r(T,w))}create({resourceType:b,body:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.post(b,C,r(w,x))}delete({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.delete(`${b}/${C}`,r(w,x))}update({resourceType:b,id:C,searchParams:x,body:w,headers:T,options:S={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);if(C&&x)throw new Error("Conditional update with search params cannot be with id",b);if(x){const M=m(x);return this.httpClient.put(`${b}?${M}`,w,r(S,T))}return this.httpClient.put(`${b}/${C}`,w,r(S,T))}patch({resourceType:b,id:C,JSONPatch:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const M={...r(T,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${b}/${C}`,x,{...T,headers:M})}batch({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}transaction({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}operation({name:b,resourceType:C,id:x,method:w="POST",input:T,options:S={}}={}){const M=["/"];if(C){if(!h(C))throw new Error("Invalid resourceType",C);M.push(`${C}/`)}return x&&M.push(`${x}/`),M.push(`${b.startsWith("$")?b:`$${b}`}`),"POST"===w.toUpperCase()?this.httpClient.post(M.join(""),T,S):"GET"===w.toUpperCase()?(T&&M.push(`?${f.stringify(T)}`),this.httpClient.get(M.join(""),S)):void 0}nextPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.nextPage(x,w)}prevPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.prevPage(x,w)}search({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);if(C&&b)return this.compartmentSearch({resourceType:b,compartment:C,searchParams:x,options:r(T,w)});if(b)return this.resourceSearch({resourceType:b,searchParams:x,options:r(T,w)});if(x instanceof Object&&Object.keys(x).length>0)return this.systemSearch({searchParams:x,options:r(T,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:b,searchParams:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);let T=b;return w.postSearch&&(T+="/_search"),this.baseSearch({searchPath:T,searchParams:C,headers:x,options:w})}systemSearch({searchParams:b,headers:C,options:x={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:b,headers:C,options:x})}compartmentSearch({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const{resourceType:S,id:M}=C;if(!h(S))throw new Error("Invalid compartmentType",S);let k=`/${S}/${M}/${b}`;return T.postSearch&&(k+="/_search"),this.baseSearch({searchPath:k,searchParams:x,headers:w,options:T})}baseSearch({searchPath:b,searchParams:C,headers:x,options:w}){const T=m(C),S=r(w,x);return this[w.postSearch?"postSearch":"getSearch"](b,T,S)}postSearch(b,C,x){const T={"Content-Type":"application/x-www-form-urlencoded",...x.headers},S={...x,headers:T};return this.httpClient.post(b,C,S)}getSearch(b,C,x){let w=b;return C&&(w+=`?${C}`),this.httpClient.get(w,x)}history({resourceType:b,id:C,headers:x,options:w={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);return C&&b?this.resourceHistory({resourceType:b,id:C,options:r(w,x)}):b?this.typeHistory({resourceType:b,options:r(w,x)}):this.systemHistory({options:r(w,x)})}resourceHistory({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history`,r(w,x))}typeHistory({resourceType:b,headers:C,options:x={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/_history`,r(x,C))}systemHistory({headers:b,options:C={}}={}){return this.httpClient.get("_history",r(C,b))}},Me.exports.CapabilityTool=c},3820:Me=>{Me.exports={deprecateHeaders:(n,f)=>f?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(f,null," ")),{headers:f,...n}):n,deprecatePaginationArgs:(n,f)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const D={bundle:n};return f&&(D.options={headers:f}),D}return n}}},1335:(Me,ie,_)=>{const{AbortController:n}=_(4783);class f{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(u){return{signal:this.controller.signal,...u}}safeAbort(){this.resolving||this.controller.abort()}}Me.exports={FetchQueue:class D{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const u=new f;return this.numJobs=this.jobs.push(u),u}safeAbortOthers(u){u.resolving=!0;for(let v=0,s=this.numJobs;v{Me.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Me,ie,_)=>{var n=_(7156).default;_(1098).polyfill(),_(9807);const{logRequestError:f,logRequestInfo:D,logResponseInfo:y}=_(1566),u={accept:"application/fhir+json"},v="__response",s="__request";let h,o,m=!1;try{h=_(5899),o=_(5899).HttpsAgent,m=!0}catch{D("HTTP Agent is not available")}const l=new WeakMap;function c({status:g,data:b,method:C,headers:x,url:w}){const T={response:{status:g,data:b},config:{method:C,url:w,headers:x}};return f(T),T}Me.exports=class Wu{static lcKeys(b){return b&&Object.keys(b).reduce((C,x)=>(C[x.toLowerCase()]=b[x],C),{})}constructor({baseUrl:b,customHeaders:C={},requestOptions:x={},requestSigner:w}){this.baseUrl=b,this.customHeaders=C,this.baseRequestOptions=x,this.requestSigner=w}set baseUrl(b){if(!b)throw new Error("baseUrl cannot be blank");if("string"!=typeof b)throw new Error("baseUrl must be a string");this.baseUrlValue=b}get baseUrl(){return this.baseUrlValue}static responseFor(b){return b[v]}static requestFor(b){return b[s]}set bearerToken(b){this.authHeader={authorization:`Bearer ${b}`}}requestBuilder(b,C,x,w){const T={...this.baseRequestOptions,...x,method:b,body:(g=w,"string"==typeof g?g:JSON.stringify(g))};var g;let S={};return m||(S={keepalive:!Object.prototype.hasOwnProperty.call(T,"keepalive")||T.keepalive}),Object.assign(T,S,{headers:new Headers(this.mergeHeaders(x.headers))},function r(g,b={}){const C={baseUrl:g,agentOptions:b};return m?(l.get(C)||(g.startsWith("https")?l.set(C,{agent:new o(b)}):l.set(C,{agent:new h(b)})),l.get(C)):{}}(this.baseUrl,T)),this.requestSigner&&this.requestSigner(C,T),new Request(C,T)}request(b,C,x={},w){var T=this;return n(function*(){const S=T.expandUrl(C),M=T.requestBuilder(b,S,x,w);D(b,S,M.headers);const k=yield fetch(M),{status:I,headers:P}=k;y({status:I,response:k});const A=yield k.text();let L={};if(A)try{L=JSON.parse(A)}catch{throw L=A,c({status:I,data:L,method:b,headers:P,url:S})}if(!k.ok)throw c({status:I,data:L,method:b,headers:P,url:S});return Object.defineProperty(L,v,{writable:!1,enumerable:!1,value:k}),Object.defineProperty(L,s,{writable:!1,enumerable:!1,value:M}),L})()}get(b,C){var x=this;return n(function*(){return x.request("GET",b,C)})()}delete(b,C){var x=this;return n(function*(){return x.request("DELETE",b,C)})()}put(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("PUT",b,S,C)})()}post(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("POST",b,S,C)})()}patch(b,C,x){var w=this;return n(function*(){return w.request("PATCH",b,x,C)})()}expandUrl(b=""){return b.toLowerCase().startsWith("http")?b:this.baseUrl.endsWith("/")&&b.startsWith("/")?this.baseUrl+b.slice(1):this.baseUrl.endsWith("/")||b.startsWith("/")?this.baseUrl+b:`${this.baseUrl}/${b}`}mergeHeaders(b){const{lcKeys:C}=Wu;return{...C(u),...C(this.authHeader),...C(this.customHeaders),...C(b)}}}},1566:(Me,ie,_)=>{const n=_(3187),f=_(563)("fhir-kit-client:error"),D=_(563)("fhir-kit-client:info");function y(o){return n(o)}function u(o){return y(o.raw&&"function"==typeof o.raw?o.raw():o)}Me.exports={logRequestError:function v(o){f.enabled&&(f("!!! Error"),o.response&&f(` Status: ${o.response.status}`),o.config&&(f(` ${o.config.method.toUpperCase()}: ${o.config.url}`),f(` Headers: ${u(o.config.headers)}`)),o.response&&o.response.data&&f(y(o.response.data)),f("!!! Request Error"))},logRequestInfo:function s(o,l,r){D.enabled&&(l&&D(`Request: ${o.toUpperCase()} ${l.toString()}`),D(`Request Headers: ${u(r)}`))},logResponseInfo:function m(o){D.enabled&&(D(`Response: ${o.status}`),o.data&&D(y(o.data)))},logError:function h(o){f.enabled&&f(o)}}},1370:Me=>{Me.exports=class ie{constructor(n){this.httpClient=n}nextPage(n,{headers:f}={}){const D=n.link.find(y=>"next"===y.relation);return D?this.httpClient.get(D.url,{headers:f}):void 0}prevPage(n,{headers:f}={}){const D=n.link.find(y=>y.relation.match(/^prev(ious)?$/));return D?this.httpClient.get(D.url,{headers:f}):void 0}}},7681:(Me,ie,_)=>{var n=_(7156).default;const{splitReference:f}=_(9047),{deprecateHeaders:D}=_(3820);Me.exports=class{constructor(y){this.client=y}resolve({reference:y,context:u,headers:v,options:s={}}={}){var m=this;return n(function*(){return void 0===u?y.startsWith("http")?m.resolveAbsoluteReference(y,D(s,v)):m.client.httpClient.get(y,D(s,v)):y.startsWith("#")?m.resolveContainedReference(y,u):m.resolveBundleReference(y,u,D(s,v))})()}resolveAbsoluteReference(y,u){var v=this;return n(function*(){if(y.startsWith(v.client.baseUrl))return v.client.httpClient.get(y,u);const{baseUrl:s,resourceType:m,id:h}=f(y);return new(_(8907))({baseUrl:s}).read({resourceType:m,id:h,options:u})})()}resolveContainedReference(y,u){if(u.contained){const v=y.slice(1),s=u.contained.find(m=>m.id===v);if(s)return s}throw new Error(`Unable to resolve contained reference: ${y}`)}resolveBundleReference(y,u,v){var s=this;return n(function*(){const m=new RegExp(`(^|/)${y}$`),h=u.entry.find(o=>m.test(o.fullUrl));return h?h.resource:s.resolve({reference:y,options:v})})()}}},6686:(Me,ie,_)=>{const{logError:f}=_(1566);Me.exports={authFromCapability:function D(u){const v={};try{return u.rest.forEach(s=>{s.security.extension.find(h=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===h.url).extension.forEach(h=>{switch(h.url){case"authorize":v.authorizeUrl=new URL(h.valueUri);break;case"token":v.tokenUrl=new URL(h.valueUri);break;case"register":v.registerUrl=new URL(h.valueUri);break;case"manage":v.manageUrl=new URL(h.valueUri)}})}),v}catch(s){return f(s),v}},authFromWellKnown:function y(u){const{authorization_endpoint:v,token_endpoint:s,registration_endpoint:m}=u;return{authorizeUrl:v&&new URL(v),tokenUrl:s&&new URL(s),registerUrl:m&&new URL(m)}}}},9047:(Me,ie,_)=>{const n=_(133),{fhirReferenceRegEx:f}=_(4115);Me.exports={createQueryString:function u(v){if(v instanceof Object&&Object.keys(v).length>0)return n.stringify(v)},splitReference:function D(v){if(!v.match(f))throw new Error(`${v} is not a recognized FHIR reference`);let s,m=v;v.startsWith("http")&&([,s]=f.exec(v),m=v.slice(s.length),s.endsWith("/")&&(s=s.slice(0,-1)));const[h,o]=m.split("/");return{baseUrl:s,resourceType:h,id:o}},validResourceType:function y(v){return!v.startsWith("/")&&!v.includes(":")&&/\S/.test(v)}}},4258:(Me,ie,_)=>{let n={};const f=_(7353),D=_(5117),y=_(5827);n.aggregateMacro=function(u,v,s){return u.reduce((m,h,o)=>(this.$index=o,this.$total=v(h)),this.$total=s)},n.countFn=function(u){return u&&u.length?u.length:0},n.sumFn=function(u){return n.aggregateMacro.apply(this,[u,v=>f.plus(y.arraify(v),y.arraify(this.$total)),0])},n.minFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.lt(s,m)?s:m}])},n.maxFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.gt(s,m)?s:m}])},n.avgFn=function(u){return f.div(n.sumFn(u),n.countFn(u))},Me.exports=n},500:(Me,ie,_)=>{const{deepEqual:n}=_(2825),f={};function D(y,u){if(0==u.length)return!0;for(var v=0;v1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(u));return D(y,u)},f.in=function(y,u){if(0==y.length)return[];if(0==u.length)return!1;if(y.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(u));return D(u,y)},Me.exports=f},8330:(Me,ie,_)=>{const n={},{distinctFn:f}=_(5073),D=_(6190),{deepEqual:y,maxCollSizeForDeepEqual:u}=_(2825);n.union=function(v,s){return f(v.concat(s))},n.combineFn=function(v,s){return v.concat(s)},n.intersect=function(v,s){let m=[];const h=v.length;let o=s.length;if(h&&o)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]?o--:l[c]=!0});for(let r=0;r0;++r){let c=v[r],d=D(c);l[d]&&(m.push(c),l[d]=!1,o--)}}else m=f(v).filter(l=>s.some(r=>y(l,r)));return m},n.exclude=function(v,s){let m=[];const h=v.length,o=s.length;if(!o)return v;if(h)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]=!0}),m=v.filter(r=>!l[D(r)])}else m=v.filter(l=>!s.some(r=>y(l,r)));return m},Me.exports=n},9285:Me=>{Me.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Me,ie,_)=>{var n={};const f=_(4217),D=_(9285),y=f.FP_Date,u=f.FP_DateTime,v=f.FP_Time;n.now=function(){if(!D.now){var m=u.isoDateTime(D.nowDate);D.now=new u(m)}return D.now},n.today=function(){if(!D.today){var m=y.isoDate(D.nowDate);D.today=new y(m)}return D.today},n.timeOfDay=function(){if(!D.timeOfDay){const m=u.isoTime(D.nowDate);D.timeOfDay=new v(m)}return D.timeOfDay},Me.exports=n},2825:(Me,ie,_)=>{var f=_(4217).FP_Type,D=_(5827),y=_(4192),u=Array.prototype.slice,v=Object.keys,s=function(d){return"[object Arguments]"==Object.prototype.toString.call(d)};function m(d){return"string"==typeof d||d instanceof String}function h(d){return!isNaN(parseFloat(d))&&isFinite(d)}function o(d){return d.toUpperCase().replace(/\s+/," ")}function r(d){return null==d}Me.exports={deepEqual:function l(d,g,b){if(b||(b={}),(d=D.valDataConverted(d))===(g=D.valDataConverted(g)))return!0;if(b.fuzzy){if(m(d)&&m(g))return o(d)==o(g);if(h(d)&&h(g))return y.isEquivalent(d,g)}else if("number"==typeof d&&"number"==typeof g)return y.isEqual(d,g);if(d instanceof Date&&g instanceof Date)return d.getTime()===g.getTime();if(!d||!g||"object"!=typeof d&&"object"!=typeof g)return d===g;var C=d instanceof f,x=g instanceof f;return C&&x?b.fuzzy?d.equivalentTo(g):d.equals(g):!C&&!x&&function c(d,g,b){var C,x;if(r(d)||r(g)||d.prototype!==g.prototype)return!1;if(s(d)||s(g))return l(d=s(d)?u.call(d):d,g=s(g)?u.call(g):g,b);try{var w=v(d),T=v(g)}catch{return!1}if(w.length!=T.length)return!1;for(w.sort(),T.sort(),C=w.length-1;C>=0;C--)if(w[C]!=T[C])return!1;if(1===w.length)return l(d[x=w[0]],g[x],b);for(C=w.length-1;C>=0;C--)if(!l(d[x=w[C]],g[x],b))return!1;return typeof d==typeof g}(d,g,b)},maxCollSizeForDeepEqual:6}},5117:(Me,ie,_)=>{const n=_(5827),{deepEqual:f}=_(2825),D=_(4217),y=D.FP_Type,u=D.FP_DateTime;var v={};function s(o,l){return n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l)}function m(o,l){return n.isEmpty(o)&&n.isEmpty(l)?[!0]:n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l,{fuzzy:!0})}function h(o,l){n.assertAtMostOne(o,"Singleton was expected"),n.assertAtMostOne(l,"Singleton was expected"),o=n.valDataConverted(o[0]),l=n.valDataConverted(l[0]);let r=o instanceof u?u:o.constructor,c=l instanceof u?u:l.constructor;return r!==c&&n.raiseError('Type of "'+o+'" ('+r.name+') did not match type of "'+l+'" ('+c.name+")","InequalityExpression"),[o,l]}v.equal=function(o,l){return s(o,l)},v.unequal=function(o,l){var r=s(o,l);return void 0===r?void 0:!r},v.equival=function(o,l){return m(o,l)},v.unequival=function(o,l){return!m(o,l)},v.lt=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<0}return r0}return r>c},v.lte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<=0}return r<=c},v.gte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d>=0}return r>=c},Me.exports=v},631:(Me,ie,_)=>{const n=_(5827),{whereMacro:f,distinctFn:D}=_(5073),y=_(6777),u=_(6190),{deepEqual:v,maxCollSizeForDeepEqual:s}=_(2825),m={};function h(o,l){const r=o.length,c=l.length;let d=r<=c;if(d)if(r+c>s){const g=l.reduce((b,C)=>(b[u(C)]=!0,b),{});d=!o.some(b=>!g[u(b)])}else for(let g=0,b=o.length;gv(C,n.valData(x)))}return d}m.emptyFn=n.isEmpty,m.notFn=function(o){let l=y.singleton(o,"Boolean");return"boolean"==typeof l?!l:[]},m.existsMacro=function(o,l){var r=o;return l?m.existsMacro(f.call(this,o,l)):!n.isEmpty(r)},m.allMacro=function(o,l){for(let r=0,c=o.length;r{const{version:n}=_(82),f=_(7661),D=_(5827);_(4835);const y=_(9285);let u={},v=_(631),s=_(5073),m=_(4258),h=_(8330),o=_(6777),l=_(5117),r=_(500),c=_(7353),d=_(4702),g=_(3774),b=_(1605),C=_(2804);const x=_(4217),{FP_Date:w,FP_DateTime:T,FP_Time:S,FP_Quantity:M,FP_Type:k,ResourceNode:I,TypeInfo:P}=x;let A=I.makeResNode;function L(Z,H,te,ue){if("Expr"===te)return function(Ge){const $e=D.arraify(Ge);return u.doEval({...Z,$this:$e},$e,ue)};if("AnyAtRoot"===te){const Ge=Z.$this||Z.dataRoot;return u.doEval({...Z,$this:Ge},Ge,ue)}if("Identifier"===te){if("TermExpression"===ue.type)return ue.text;throw new Error("Expected identifier node, got "+JSON.stringify(ue))}if("TypeSpecifier"===te)return u.TypeSpecifier(Z,H,ue);const ye=u.doEval(Z,H,ue);if("Any"===te)return ye;if(Array.isArray(te)){if(0===ye.length)return[];te=te[0]}return o.singleton(ye,te)}function R(Z){return null==Z||D.isEmpty(Z)}function U(Z,H,te,ue){var ye=u.invocationTable[H];if(ye&&ye.fn){var Ge=ue?ue.length:0;if(2!==Ge)throw new Error("Infix invoke should have arity 2");var $e=ye.arity[Ge];if($e){for(var Ye=[],Ze=0;ZeZe?.__path__?A(Ze,Ze?.__path__):Ze),$e={context:Ge,ucum:"http://unitsofmeasure.org"};te&&(te=Object.keys(te).reduce((Ze,Et)=>(Ze[Et]=Array.isArray(te[Et])?te[Et].map(Te=>Te?.__path__?A(Te,Te.__path__):Te):te[Et]?.__path__?A(te[Et],te[Et].__path__):te[Et],Ze),{}));let Ye={dataRoot:Ge,vars:Object.assign($e,te),model:ue};return ye.traceFn&&(Ye.customTraceFn=ye.traceFn),ye.userInvocationTable&&(Ye.userInvocationTable=ye.userInvocationTable),u.doEval(Ye,Ge,H.children[0]).map(Ze=>{let Et=Ze instanceof I?Ze.path:null;return(Ze=D.valData(Ze))instanceof k&&ye.resolveInternalTypes&&(Ze=Ze.toString()),Et&&"object"==typeof Ze&&Object.defineProperty(Ze,"__path__",{value:Et}),Ze})}function B(Z,H,te){const ue=(te={resolveInternalTypes:!0,...te}).userInvocationTable;if(ue&&(te.userInvocationTable=Object.keys(ue).reduce((ye,Ge)=>(ye[Ge]=ue[Ge].internalStructures?ue[Ge]:{...ue[Ge],fn:(...$e)=>ue[Ge].fn.apply(this,$e.map(Ye=>Array.isArray(Ye)?Ye.map(Ze=>D.valData(Ze)):Ye))},ye),{})),"object"==typeof Z){const ye=W(Z.expression);return function(Ge,$e){const Ye=Z.base?A(Ge,Z.base):Ge;return P.model=H,ne(Ye,ye,$e,H,te)}}{const ye=W(Z);return function(Ge,$e){return P.model=H,ne(Ge,ye,$e,H,te)}}}u.invocationTable={empty:{fn:v.emptyFn},not:{fn:v.notFn},exists:{fn:v.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:v.allMacro,arity:{1:["Expr"]}},allTrue:{fn:v.allTrueFn},anyTrue:{fn:v.anyTrueFn},allFalse:{fn:v.allFalseFn},anyFalse:{fn:v.anyFalseFn},subsetOf:{fn:v.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:v.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:v.isDistinctFn},distinct:{fn:s.distinctFn},count:{fn:m.countFn},where:{fn:s.whereMacro,arity:{1:["Expr"]}},extension:{fn:s.extension,arity:{1:["String"]}},select:{fn:s.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:m.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:m.sumFn},min:{fn:m.minFn},max:{fn:m.maxFn},avg:{fn:m.avgFn},single:{fn:s.singleFn},first:{fn:s.firstFn},last:{fn:s.lastFn},type:{fn:x.typeFn,arity:{0:[]}},ofType:{fn:s.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:x.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:x.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:s.tailFn},take:{fn:s.takeFn,arity:{1:["Integer"]}},skip:{fn:s.skipFn,arity:{1:["Integer"]}},combine:{fn:h.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:h.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:h.intersect,arity:{1:["AnyAtRoot"]}},exclude:{fn:h.exclude,arity:{1:["AnyAtRoot"]}},iif:{fn:o.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:o.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:o.toInteger},toDecimal:{fn:o.toDecimal},toString:{fn:o.toString},toDate:{fn:o.toDate},toDateTime:{fn:o.toDateTime},toTime:{fn:o.toTime},toBoolean:{fn:o.toBoolean},toQuantity:{fn:o.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:o.hasValueFn},convertsToBoolean:{fn:o.createConvertsToFn(o.toBoolean,"boolean")},convertsToInteger:{fn:o.createConvertsToFn(o.toInteger,"number")},convertsToDecimal:{fn:o.createConvertsToFn(o.toDecimal,"number")},convertsToString:{fn:o.createConvertsToFn(o.toString,"string")},convertsToDate:{fn:o.createConvertsToFn(o.toDate,w)},convertsToDateTime:{fn:o.createConvertsToFn(o.toDateTime,T)},convertsToTime:{fn:o.createConvertsToFn(o.toTime,S)},convertsToQuantity:{fn:o.createConvertsToFn(o.toQuantity,M)},indexOf:{fn:d.indexOf,arity:{1:["String"]}},substring:{fn:d.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:d.startsWith,arity:{1:["String"]}},endsWith:{fn:d.endsWith,arity:{1:["String"]}},contains:{fn:d.containsFn,arity:{1:["String"]}},upper:{fn:d.upper},lower:{fn:d.lower},replace:{fn:d.replace,arity:{2:["String","String"]}},matches:{fn:d.matches,arity:{1:["String"]}},replaceMatches:{fn:d.replaceMatches,arity:{2:["String","String"]}},length:{fn:d.length},toChars:{fn:d.toChars},join:{fn:d.joinFn,arity:{0:[],1:["String"]}},split:{fn:d.splitFn,arity:{1:["String"]}},trim:{fn:d.trimFn},encode:{fn:d.encodeFn,arity:{1:["String"]}},decode:{fn:d.decodeFn,arity:{1:["String"]}},abs:{fn:c.abs},ceiling:{fn:c.ceiling},exp:{fn:c.exp},floor:{fn:c.floor},ln:{fn:c.ln},log:{fn:c.log,arity:{1:["Number"]},nullable:!0},power:{fn:c.power,arity:{1:["Number"]},nullable:!0},round:{fn:c.round,arity:{1:["Number"]}},sqrt:{fn:c.sqrt},truncate:{fn:c.truncate},now:{fn:b.now},today:{fn:b.today},timeOfDay:{fn:b.timeOfDay},repeat:{fn:s.repeatMacro,arity:{1:["Expr"]}},children:{fn:g.children},descendants:{fn:g.descendants},"|":{fn:h.union,arity:{2:["Any","Any"]}},"=":{fn:l.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:l.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:l.equival,arity:{2:["Any","Any"]}},"!~":{fn:l.unequival,arity:{2:["Any","Any"]}},"<":{fn:l.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:l.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:l.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:l.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:r.contains,arity:{2:["Any","Any"]}},inOp:{fn:r.in,arity:{2:["Any","Any"]}},isOp:{fn:x.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:x.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:c.amp,arity:{2:["String","String"]}},"+":{fn:c.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:c.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:c.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:c.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:c.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:c.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:C.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:C.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:C.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:C.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},u.InvocationExpression=function(Z,H,te){return te.children.reduce(function(ue,ye){return u.doEval(Z,ue,ye)},H)},u.TermExpression=function(Z,H,te){return H&&(H=H.map(ue=>ue instanceof Object&&ue.resourceType?A(ue,ue.resourceType):ue)),u.doEval(Z,H,te.children[0])},u.PolarityExpression=function(Z,H,te){var ue=te.terminalNodeText[0],ye=u.doEval(Z,H,te.children[0]);if(1!==ye.length)throw new Error("Unary "+ue+" can only be applied to an individual number.");if("number"!=typeof ye[0]||isNaN(ye[0]))throw new Error("Unary "+ue+" can only be applied to a number.");return"-"===ue&&(ye[0]=-ye[0]),ye},u.TypeSpecifier=function(Z,H,te){let ue,ye;const Ge=te.text.split(".").map($e=>$e.replace(/(^`|`$)/g,""));switch(Ge.length){case 2:[ue,ye]=Ge;break;case 1:[ye]=Ge;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(te))}return new P({namespace:ue,name:ye})},u.ExternalConstantTerm=function(Z,H,te){var Ge=u.Identifier(Z,H,te.children[0].children[0])[0],$e=Z.vars[Ge];if(!(Ge in Z.vars))throw new Error("Attempting to access an undefined environment variable: "+Ge);return null==$e?[]:$e instanceof Array?$e:[$e]},u.LiteralTerm=function(Z,H,te){var ue=te.children[0];return ue?u.doEval(Z,H,ue):[te.text]},u.StringLiteral=function(Z,H,te){var ue=te.text.replace(/(^'|'$)/g,"");return[ue=ue.replace(/\\(u\d{4}|.)/g,function(ye,Ge){switch(ye){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Ge.length>1?String.fromCharCode("0x"+Ge.slice(1)):Ge}})]},u.BooleanLiteral=function(Z,H,te){return"true"===te.text?[!0]:[!1]},u.QuantityLiteral=function(Z,H,te){var ue=te.children[0],ye=Number(ue.terminalNodeText[0]),Ge=ue.children[0],$e=Ge.terminalNodeText[0];return!$e&&Ge.children&&($e=Ge.children[0].terminalNodeText[0]),[new M(ye,$e)]},u.DateTimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new T(ue)]},u.TimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new S(ue)]},u.NumberLiteral=function(Z,H,te){return[Number(te.text)]},u.Identifier=function(Z,H,te){return[te.text.replace(/(^`|`$)/g,"")]},u.InvocationTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.MemberInvocation=function(Z,H,te){const ue=u.doEval(Z,H,te.children[0])[0],ye=Z.model;if(H){if(D.isCapitalized(ue))return H.filter(Ge=>Ge instanceof I&&Ge.path===ue);{const Ge=H.path||H.__path__;return H.reduce(function($e,Ye){var Ze=(Ye=A(Ye,Ge)).path+"."+ue;if(ye){let Ee=ye.pathsDefinedElsewhere[Ze];Ee&&(Ze=Ee)}let Et,Te,qe=ye&&ye.choiceTypePaths[Ze];if(qe)for(let Ee of qe){let Ie=ue+Ee;if(Et=Ye.data?.[Ie],Te=Ye.data?.["_"+Ie],void 0!==Et||void 0!==Te){Ze+=Ee;break}}else Et=Ye.data?.[ue],Te=Ye.data?.["_"+ue],void 0===Et&&void 0===Te&&(Et=Ye._data[ue]),"extension"===ue&&(Ze="Extension");return Ze=ye&&ye.path2Type[Ze]||Ze,(D.isSome(Et)||D.isSome(Te))&&(Array.isArray(Et)?$e=$e.concat(Et.map((Ee,Ie)=>A(Ee,Ze,Te&&Te[Ie]))):$e.push(A(Et,Ze,Te))),$e},[])}}return[]},u.IndexerExpression=function(Z,H,te){const ye=te.children[1];var Ge=u.doEval(Z,H,te.children[0]),$e=u.doEval(Z,H,ye);if(D.isEmpty($e))return[];var Ye=parseInt($e[0]);return Ge&&D.isSome(Ye)&&Ge.length>Ye&&Ye>=0?[Ge[Ye]]:[]},u.Functn=function(Z,H,te){return te.children.map(function(ue){return u.doEval(Z,H,ue)})},u.realizeParams=function(Z,H,te){return te&&te[0]&&te[0].children?te[0].children.map(function(ue){return u.doEval(Z,H,ue)}):[]},u.FunctionInvocation=function(Z,H,te){var ue=u.doEval(Z,H,te.children[0]);const ye=ue[0];return ue.shift(),function F(Z,H,te,ue){var Ge,ye=Z.userInvocationTable?.[H]??u.invocationTable[H];if(ye){if(ye.arity){var $e=ue?ue.length:0,Ye=ye.arity[$e];if(Ye){for(var Ze=[],Et=0;Et<$e;Et++)Ze.push(L(Z,te,Ye[Et],ue[Et]));return Ze.unshift(te),ye.nullable&&Ze.some(R)?[]:(Ge=ye.fn.apply(Z,Ze),D.arraify(Ge))}return console.log(H+" wrong arity: got "+$e),[]}if(ue)throw new Error(H+" expects no params");return Ge=ye.fn.call(Z,D.arraify(te)),D.arraify(Ge)}throw new Error("Not implemented: "+H)}(Z,ye,H,ue&&ue[0]&&ue[0].children)},u.ParamList=function(Z,H,te){return te},u.UnionExpression=function(Z,H,te){return U(Z,"|",H,te.children)},u.ThisInvocation=function(Z){return Z.$this},u.TotalInvocation=function(Z){return D.arraify(Z.$total)},u.IndexInvocation=function(Z){return D.arraify(Z.$index)},u.OpExpression=function(Z,H,te){return U(Z,te.terminalNodeText[0],H,te.children)},u.AliasOpExpression=function(Z){return function(H,te,ue){var ye=ue.terminalNodeText[0],Ge=Z[ye];if(!Ge)throw new Error("Do not know how to alias "+ye+" by "+JSON.stringify(Z));return U(H,Ge,te,ue.children)}},u.NullLiteral=function(){return[]},u.ParenthesizedTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.evalTable={BooleanLiteral:u.BooleanLiteral,EqualityExpression:u.OpExpression,FunctionInvocation:u.FunctionInvocation,Functn:u.Functn,Identifier:u.Identifier,IndexerExpression:u.IndexerExpression,InequalityExpression:u.OpExpression,InvocationExpression:u.InvocationExpression,AdditiveExpression:u.OpExpression,MultiplicativeExpression:u.OpExpression,TypeExpression:u.AliasOpExpression({is:"isOp",as:"asOp"}),MembershipExpression:u.AliasOpExpression({contains:"containsOp",in:"inOp"}),NullLiteral:u.NullLiteral,EntireExpression:u.InvocationTerm,InvocationTerm:u.InvocationTerm,LiteralTerm:u.LiteralTerm,MemberInvocation:u.MemberInvocation,NumberLiteral:u.NumberLiteral,ParamList:u.ParamList,ParenthesizedTerm:u.ParenthesizedTerm,StringLiteral:u.StringLiteral,TermExpression:u.TermExpression,ThisInvocation:u.ThisInvocation,TotalInvocation:u.TotalInvocation,IndexInvocation:u.IndexInvocation,UnionExpression:u.UnionExpression,OrExpression:u.OpExpression,ImpliesExpression:u.OpExpression,AndExpression:u.OpExpression,XorExpression:u.OpExpression},u.doEval=function(Z,H,te){const ue=u.evalTable[te.type]||u[te.type];if(ue)return ue.call(u,Z,H,te);throw new Error("No "+te.type+" evaluator ")},Me.exports={version:n,parse:W,compile:B,evaluate:function j(Z,H,te,ue,ye){return B(H,ue,ye)(Z,te)},resolveInternalTypes:function ee(Z){if(Array.isArray(Z))for(let H=0,te=Z.length;H{const te=P.fromValue(H?.__path__?new I(H,H.__path__):H);return`${te.namespace}.${te.name}`})},ucumUtils:_(2207).ng.getInstance(),util:D}},5073:(Me,ie,_)=>{const n=_(5827),{TypeInfo:f,ResourceNode:D}=_(4217),y=_(6190),{deepEqual:u,maxCollSizeForDeepEqual:v}=_(2825);Me.exports={whereMacro:function(m,h){return!1===m||m?n.flatten(m.filter((o,l)=>(this.$index=l,h(o)[0]))):[]},extension:function(m,h){return!1!==m&&!m||!h?[]:n.flatten(m.map((o,l)=>{this.$index=l;const r=o&&(o.data&&o.data.extension||o._data&&o._data.extension);return r?r.filter(c=>c.url===h).map(c=>D.makeResNode(c,"Extension")):[]}))},selectMacro:function(m,h){return!1===m||m?n.flatten(m.map((o,l)=>(this.$index=l,h(o)))):[]},repeatMacro:function(m,h){if(!1!==m&&!m)return[];let o=[];const l={},r=m.length;for(let c=0;c{const b=y(g),C=!l[b];return C&&(l[b]=!0),C})}while(o.lengthf.fromValue(o).is(h))},distinctFn:function(m){let h=[];if(m.length>0)if(m.length>v){let o={};for(let l=0,r=m.length;l!u(o,l))}while(m.length)}return h}}},6190:(Me,ie,_)=>{const n=_(2207).ng.getInstance(),{roundToMaxPrecision:f}=_(4192),{valDataConverted:D}=_(5827),{FP_Type:y,FP_Quantity:u}=_(4217);function s(m){if("number"==typeof(m=D(m)))return f(m);if(m instanceof Date)return m.toISOString();if(m instanceof u){const h=u._yearMonthConversionFactor[m.unit];if(h)return"_!yearMonth!_:"+h*m.value;{const o=u.toUcumQuantity(m.value,m.unit),l=n.getSpecifiedUnit(o.unit).unit;return"_!"+l.property_+"!_:"+l.magnitude_*o.value}}return m instanceof y?m.toString():"object"==typeof m?Array.isArray(m)?m.map(s):Object.keys(m).sort().reduce((h,o)=>(h[o]=s(m[o]),h),{}):m}Me.exports=function v(m){return JSON.stringify(s(m))}},2804:Me=>{Me.exports={orOp:function(_,n){if(Array.isArray(n)){if(!0===_)return!0;if(!1===_)return[];if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:_||n},andOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!1;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n&&[]:_&&n},xorOp:function(_,n){return Array.isArray(_)||Array.isArray(n)?[]:_&&!n||!_&&n},impliesOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!0;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:!1===_||_&&n}}},7353:(Me,ie,_)=>{var n=_(4217);let{FP_TimeBase:f,FP_Quantity:D}=n;const y=_(5827);var u={};function v(m){let h=y.valData(m);if("number"!=typeof h){if(1==h.length&&"number"==typeof(h=y.valData(h[0])))return h;throw new Error("Expected number, but got "+JSON.stringify(h||m))}return h}function s(m){return"number"!=typeof m&&0==m.length}u.amp=function(m,h){return(m||"")+(h||"")},u.plus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("string"==typeof o&&"string"==typeof l||"number"==typeof o&&"number"==typeof l)return o+l;if(o instanceof f&&l instanceof D)return o.plus(l)}throw new Error("Cannot "+JSON.stringify(m)+" + "+JSON.stringify(h))},u.minus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("number"==typeof o&&"number"==typeof l)return o-l;if(o instanceof f&&l instanceof D)return o.plus(new D(-l.value,l.unit))}throw new Error("Cannot "+JSON.stringify(m)+" - "+JSON.stringify(h))},u.mul=function(m,h){return m*h},u.div=function(m,h){return 0===h?[]:m/h},u.intdiv=function(m,h){return 0===h?[]:Math.floor(m/h)},u.mod=function(m,h){return 0===h?[]:m%h},u.abs=function(m){if(s(m))return[];{let h=v(m);return Math.abs(h)}},u.ceiling=function(m){if(s(m))return[];{let h=v(m);return Math.ceil(h)}},u.exp=function(m){if(s(m))return[];{let h=v(m);return Math.exp(h)}},u.floor=function(m){if(s(m))return[];{let h=v(m);return Math.floor(h)}},u.ln=function(m){if(s(m))return[];{let h=v(m);return Math.log(h)}},u.log=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return Math.log(o)/Math.log(l)}},u.power=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return o<0&&Math.floor(l)!=l?[]:Math.pow(o,l)}},u.round=function(m,h){if(s(m))return[];{let o=v(m);if(s(h))return Math.round(o);{let l=v(h),r=Math.pow(10,l);return Math.round(o*r)/r}}},u.sqrt=function(m){if(s(m))return[];{let h=v(m);return h<0?[]:Math.sqrt(h)}},u.truncate=function(m){if(s(m))return[];{let h=v(m);return Math.trunc(h)}},Me.exports=u},6777:(Me,ie,_)=>{var n=_(5827),f=_(4217);const{FP_Quantity:D}=f;var y={iifMacro:function(g,b,C,x){return n.isTrue(b(g))?C(g):x?x(g):[]},traceFn:function(g,b,C){return this.customTraceFn?this.customTraceFn(C?C(g):g,b??""):C?console.log("TRACE:["+(b||"")+"]",JSON.stringify(C(g),null," ")):console.log("TRACE:["+(b||"")+"]",JSON.stringify(g,null," ")),g}},u=/^[+-]?\d+$/;y.toInteger=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?Number.isInteger(b)?b:[]:"string"==typeof b&&u.test(b)?parseInt(b):[]};const v=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;y.toQuantity=function(g,b){let C;if(b&&!D.mapTimeUnitsToUCUMCode[b]&&(b=`'${b}'`),g.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===g.length){var x=n.valDataConverted(g[0]);let w;if("number"==typeof x)C=new D(x,"'1'");else if(x instanceof D)C=x;else if("boolean"==typeof x)C=new D(x?1:0,"'1'");else if("string"==typeof x&&(w=v.exec(x))){const S=w[5],M=w[6];(!M||D.mapTimeUnitsToUCUMCode[M])&&(C=new D(Number(w[1]),S||M||"'1'"))}C&&b&&C.unit!==b&&(C=D.convUnitTo(C.unit,C.value,b))}return C||[]};var m=/^[+-]?\d+(\.\d+)?$/;function h(g){let b=g.slice(3);y["to"+b]=function(C){var x=[];if(C.length>1)throw Error("to "+b+" called for a collection of length "+C.length);if(1===C.length){var w=f[g].checkString(n.valData(C[0]));w&&(x=w)}return x}}y.toDecimal=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?b:"string"==typeof b&&m.test(b)?parseFloat(b):[]},y.toString=function(g){return 1!==g.length?[]:n.valDataConverted(g[0]).toString()},h("FP_Date"),h("FP_DateTime"),h("FP_Time");const o=["true","t","yes","y","1","1.0"].reduce((g,b)=>(g[b]=!0,g),{}),l=["false","f","no","n","0","0.0"].reduce((g,b)=>(g[b]=!0,g),{});y.toBoolean=function(g){if(1!==g.length)return[];const b=n.valData(g[0]);switch(typeof b){case"boolean":return b;case"number":if(1===b)return!0;if(0===b)return!1;break;case"string":const C=b.toLowerCase();if(o[C])return!0;if(l[C])return!1}return[]},y.createConvertsToFn=function(g,b){return"string"==typeof b?function(C){return 1!==C.length?[]:typeof g(C)===b}:function(C){return 1!==C.length?[]:g(C)instanceof b}};const r={Integer:function(g){const b=n.valData(g[0]);if(Number.isInteger(b))return b},Boolean:function(g){const b=n.valData(g[0]);return!0===b||!1===b?b:1===g.length||void 0},Number:function(g){const b=n.valData(g[0]);if("number"==typeof b)return b},String:function(g){const b=n.valData(g[0]);if("string"==typeof b)return b}};y.singleton=function(g,b){if(g.length>1)throw new Error("Unexpected collection"+JSON.stringify(g)+"; expected singleton of type "+b);if(0===g.length)return[];const C=r[b];if(C){const x=C(g);if(void 0!==x)return x;throw new Error(`Expected ${b.toLowerCase()}, but got: ${JSON.stringify(g)}`)}throw new Error("Not supported type "+b)};const c=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function d(g){switch(typeof g){case"string":case"number":case"boolean":return!0;default:return!1}}y.hasValueFn=function(g){return 1===g.length?this.model?[c.has(g[0].path)]:[d(n.valData(g[0]))]:[!1]},Me.exports=y},3774:(Me,ie,_)=>{const n=_(5827),{ResourceNode:f}=_(4217);let D=f.makeResNode;var y={children:function(u){let v=this.model;return u.reduce(function(s,m){let h=n.valData(m);if(m=D(m),"object"==typeof h){for(var o of Object.keys(h)){var l=h[o],r=m.path+"."+o;if(v){let c=v.pathsDefinedElsewhere[r];c&&(r=c)}Array.isArray(l)?s.push.apply(s,l.map(c=>D(c,r))):s.push(D(l,r))}return s}return s},[])},descendants:function(u){for(var v=y.children.call(this,u),s=[];v.length>0;)s.push.apply(s,v),v=y.children.call(this,v);return s}};Me.exports=y},4192:Me=>{let ie={};function _(y){const v=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +y);if(!v)return 0;const s=v[2];return Math.max(0,("0"===s?0:(s||"").length)-(v[3]||0))}function n(y,u){const v=Math.pow(10,u);return Math.round(y*v)/v}const D=ie.roundToMaxPrecision=function(y){return 1e-8*Math.round(y/1e-8)};ie.isEquivalent=function(y,u){if(Number.isInteger(y)&&Number.isInteger(u))return y===u;const v=Math.min(_(y),_(u));return 0===v?Math.round(y)===Math.round(u):n(y,v)===n(u,v)},ie.isEqual=function(y,u){return D(y)===D(u)},Me.exports=ie},5815:(Me,ie,_)=>{ie.atn=_(871),ie.codepointat=_(6419),ie.dfa=_(7061),ie.fromcodepoint=_(9182),ie.tree=_(9804),ie.error=_(6405),ie.Token=_(6205).Token,ie.CommonToken=_(6205).CommonToken,ie.InputStream=_(1466),ie.CommonTokenStream=_(7456),ie.Lexer=_(9042),ie.Parser=_(111);var n=_(6185);ie.PredictionContextCache=n.PredictionContextCache,ie.ParserRuleContext=_(7293),ie.Interval=_(9173).Interval,ie.IntervalSet=_(9173).IntervalSet,ie.Utils=_(3340),ie.LL1Analyzer=_(4589).LL1Analyzer},2472:(Me,ie,_)=>{const n=_(5815),f=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x02A\u0203\b\x01\x04\x02\t\x02\x04\x03\t\x03","\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07","\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04","\f\t\f\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10","\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13","\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17","\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1a\t\x1a","\x04\x1b\t\x1b\x04\x1c\t\x1c\x04\x1d\t\x1d\x04\x1e",'\t\x1e\x04\x1f\t\x1f\x04 \t \x04!\t!\x04"\t"\x04#',"\t#\x04$\t$\x04%\t%\x04&\t&\x04'\t'\x04(\t(\x04)\t)\x04","*\t*\x04+\t+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x04","1\t1\x042\t2\x043\t3\x044\t4\x045\t5\x046\t6\x047\t7\x04","8\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04=\t=\x04>\t>\x04","?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x03\x02\x03","\x02\x03\x03\x03\x03\x03\x04\x03\x04\x03\x05\x03","\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\b\x03","\b\x03\t\x03\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x03","\v\x03\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0e","\x03\x0e\x03\x0f\x03\x0f\x03\x10\x03\x10\x03\x10","\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12","\x03\x13\x03\x13\x03\x14\x03\x14\x03\x15\x03\x15","\x03\x15\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17","\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18","\x03\x18\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19","\x03\x19\x03\x19\x03\x1a\x03\x1a\x03\x1a\x03\x1b","\x03\x1b\x03\x1b\x03\x1b\x03\x1c\x03\x1c\x03\x1c","\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1d","\x03\x1d\x03\x1e\x03\x1e\x03\x1f\x03\x1f\x03 ",'\x03 \x03!\x03!\x03!\x03!\x03!\x03"\x03"\x03"\x03','"\x03"\x03"\x03#\x03#\x03$\x03$\x03$\x03$\x03$',"\x03$\x03%\x03%\x03%\x03%\x03%\x03%\x03%\x03&\x03","&\x03&\x03&\x03&\x03&\x03&\x03'\x03'\x03(\x03(\x03","(\x03(\x03(\x03)\x03)\x03)\x03)\x03)\x03)\x03*\x03","*\x03*\x03*\x03*\x03+\x03+\x03+\x03+\x03,\x03,\x03",",\x03,\x03,\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03",".\x03.\x03.\x03.\x03.\x03.\x03.\x03/\x03/\x03/\x03","/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x030\x03","0\x030\x030\x030\x030\x031\x031\x031\x031\x031\x03","1\x031\x032\x032\x032\x032\x032\x032\x033\x033\x03","3\x033\x033\x034\x034\x034\x034\x034\x034\x035\x03","5\x035\x035\x035\x035\x035\x035\x036\x036\x036\x03","6\x036\x036\x036\x036\x037\x037\x037\x037\x037\x03","7\x037\x037\x037\x037\x037\x037\x037\x038\x038\x03","8\x038\x038\x038\x038\x038\x038\x038\x038\x038\x03","8\x058\u0183\n8\x058\u0185\n8\x058\u0187\n8\x038\x058\u018a","\n8\x039\x039\x039\x039\x03:\x03:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x03:\x06:\u019a\n:\r:\x0e:\u019b\x05",":\u019e\n:\x05:\u01a0\n:\x05:\u01a2\n:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x05:\u01ab\n:\x03;\x05;\u01ae\n;\x03",";\x07;\u01b1\n;\f;\x0e;\u01b4\v;\x03<\x03<\x03<\x07","<\u01b9\n<\f<\x0e<\u01bc\v<\x03<\x03<\x03=\x03=\x03","=\x07=\u01c3\n=\f=\x0e=\u01c6\v=\x03=\x03=\x03>\x06",">\u01cb\n>\r>\x0e>\u01cc\x03>\x03>\x06>\u01d1\n>\r>\x0e>\u01d2","\x05>\u01d5\n>\x03?\x06?\u01d8\n?\r?\x0e?\u01d9\x03?\x03","?\x03@\x03@\x03@\x03@\x07@\u01e2\n@\f@\x0e@\u01e5\v","@\x03@\x03@\x03@\x03@\x03@\x03A\x03A\x03A\x03A\x07","A\u01f0\nA\fA\x0eA\u01f3\vA\x03A\x03A\x03B\x03B\x03","B\x05B\u01fa\nB\x03C\x03C\x03C\x03C\x03C\x03C\x03D\x03","D\x03\u01e3\x02E\x03\x03\x05\x04\x07\x05\t\x06\v","\x07\r\b\x0f\t\x11\n\x13\v\x15\f\x17\r\x19\x0e\x1b","\x0f\x1d\x10\x1f\x11!\x12#\x13%\x14'\x15)\x16+","\x17-\x18/\x191\x1a3\x1b5\x1c7\x1d9\x1e;\x1f= ?!A","\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s\x02u;w}","?\x7f@\x81A\x83\x02\x85\x02\x87\x02\x03\x02\f\x03","\x022;\x04\x02--//\x05\x02C\\aac|\x06\x022;C\\aac|\x04",'\x02^^bb\x03\x02))\x05\x02\v\f\x0f\x0f""\x04\x02',"\f\f\x0f\x0f\n\x02))11^^bbhhppttvv\x05\x022;CHch\x02\u0214","\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02","\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02","\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02","\x02\x0f\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02","\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02","\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02","\x02\x1b\x03\x02\x02\x02\x02\x1d\x03\x02\x02\x02","\x02\x1f\x03\x02\x02\x02\x02!\x03\x02\x02\x02","\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x02","'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03","\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02","\x02\x02\x021\x03\x02\x02\x02\x023\x03\x02\x02","\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02","\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x02","=\x03\x02\x02\x02\x02?\x03\x02\x02\x02\x02A\x03","\x02\x02\x02\x02C\x03\x02\x02\x02\x02E\x03\x02","\x02\x02\x02G\x03\x02\x02\x02\x02I\x03\x02\x02","\x02\x02K\x03\x02\x02\x02\x02M\x03\x02\x02\x02","\x02O\x03\x02\x02\x02\x02Q\x03\x02\x02\x02\x02","S\x03\x02\x02\x02\x02U\x03\x02\x02\x02\x02W\x03","\x02\x02\x02\x02Y\x03\x02\x02\x02\x02[\x03\x02","\x02\x02\x02]\x03\x02\x02\x02\x02_\x03\x02\x02","\x02\x02a\x03\x02\x02\x02\x02c\x03\x02\x02\x02","\x02e\x03\x02\x02\x02\x02g\x03\x02\x02\x02\x02","i\x03\x02\x02\x02\x02k\x03\x02\x02\x02\x02m\x03","\x02\x02\x02\x02o\x03\x02\x02\x02\x02q\x03\x02","\x02\x02\x02u\x03\x02\x02\x02\x02w\x03\x02\x02","\x02\x02y\x03\x02\x02\x02\x02{\x03\x02\x02\x02","\x02}\x03\x02\x02\x02\x02\x7f\x03\x02\x02\x02","\x02\x81\x03\x02\x02\x02\x03\x89\x03\x02\x02\x02","\x05\x8b\x03\x02\x02\x02\x07\x8d\x03\x02\x02\x02","\t\x8f\x03\x02\x02\x02\v\x91\x03\x02\x02\x02","\r\x93\x03\x02\x02\x02\x0f\x95\x03\x02\x02\x02","\x11\x97\x03\x02\x02\x02\x13\x9b\x03\x02\x02\x02","\x15\x9f\x03\x02\x02\x02\x17\xa1\x03\x02\x02\x02","\x19\xa3\x03\x02\x02\x02\x1b\xa6\x03\x02\x02\x02","\x1d\xa8\x03\x02\x02\x02\x1f\xaa\x03\x02\x02\x02","!\xad\x03\x02\x02\x02#\xb0\x03\x02\x02\x02%\xb3","\x03\x02\x02\x02'\xb5\x03\x02\x02\x02)\xb7\x03","\x02\x02\x02+\xba\x03\x02\x02\x02-\xbd\x03\x02","\x02\x02/\xc0\x03\x02\x02\x021\xc9\x03\x02\x02","\x023\xcd\x03\x02\x02\x025\xd0\x03\x02\x02\x02","7\xd4\x03\x02\x02\x029\xdc\x03\x02\x02\x02;\xde","\x03\x02\x02\x02=\xe0\x03\x02\x02\x02?\xe2\x03","\x02\x02\x02A\xe4\x03\x02\x02\x02C\xe9\x03\x02","\x02\x02E\xef\x03\x02\x02\x02G\xf1\x03\x02\x02","\x02I\xf7\x03\x02\x02\x02K\xfe\x03\x02\x02\x02","M\u0105\x03\x02\x02\x02O\u0107\x03\x02\x02\x02Q\u010c","\x03\x02\x02\x02S\u0112\x03\x02\x02\x02U\u0117\x03","\x02\x02\x02W\u011b\x03\x02\x02\x02Y\u0120\x03\x02","\x02\x02[\u0127\x03\x02\x02\x02]\u012e\x03\x02\x02","\x02_\u013a\x03\x02\x02\x02a\u0140\x03\x02\x02\x02","c\u0147\x03\x02\x02\x02e\u014d\x03\x02\x02\x02g\u0152","\x03\x02\x02\x02i\u0158\x03\x02\x02\x02k\u0160\x03","\x02\x02\x02m\u0168\x03\x02\x02\x02o\u0175\x03\x02","\x02\x02q\u018b\x03\x02\x02\x02s\u018f\x03\x02\x02","\x02u\u01ad\x03\x02\x02\x02w\u01b5\x03\x02\x02\x02","y\u01bf\x03\x02\x02\x02{\u01ca\x03\x02\x02\x02}\u01d7","\x03\x02\x02\x02\x7f\u01dd\x03\x02\x02\x02\x81\u01eb","\x03\x02\x02\x02\x83\u01f6\x03\x02\x02\x02\x85\u01fb","\x03\x02\x02\x02\x87\u0201\x03\x02\x02\x02\x89\x8a","\x070\x02\x02\x8a\x04\x03\x02\x02\x02\x8b\x8c","\x07]\x02\x02\x8c\x06\x03\x02\x02\x02\x8d\x8e","\x07_\x02\x02\x8e\b\x03\x02\x02\x02\x8f\x90\x07","-\x02\x02\x90\n\x03\x02\x02\x02\x91\x92\x07/\x02","\x02\x92\f\x03\x02\x02\x02\x93\x94\x07,\x02\x02","\x94\x0e\x03\x02\x02\x02\x95\x96\x071\x02\x02","\x96\x10\x03\x02\x02\x02\x97\x98\x07f\x02\x02","\x98\x99\x07k\x02\x02\x99\x9a\x07x\x02\x02\x9a","\x12\x03\x02\x02\x02\x9b\x9c\x07o\x02\x02\x9c","\x9d\x07q\x02\x02\x9d\x9e\x07f\x02\x02\x9e\x14","\x03\x02\x02\x02\x9f\xa0\x07(\x02\x02\xa0\x16","\x03\x02\x02\x02\xa1\xa2\x07~\x02\x02\xa2\x18","\x03\x02\x02\x02\xa3\xa4\x07>\x02\x02\xa4\xa5","\x07?\x02\x02\xa5\x1a\x03\x02\x02\x02\xa6\xa7","\x07>\x02\x02\xa7\x1c\x03\x02\x02\x02\xa8\xa9","\x07@\x02\x02\xa9\x1e\x03\x02\x02\x02\xaa\xab","\x07@\x02\x02\xab\xac\x07?\x02\x02\xac \x03\x02","\x02\x02\xad\xae\x07k\x02\x02\xae\xaf\x07u\x02",'\x02\xaf"\x03\x02\x02\x02\xb0\xb1\x07c\x02\x02',"\xb1\xb2\x07u\x02\x02\xb2$\x03\x02\x02\x02\xb3","\xb4\x07?\x02\x02\xb4&\x03\x02\x02\x02\xb5\xb6","\x07\x80\x02\x02\xb6(\x03\x02\x02\x02\xb7\xb8","\x07#\x02\x02\xb8\xb9\x07?\x02\x02\xb9*\x03\x02","\x02\x02\xba\xbb\x07#\x02\x02\xbb\xbc\x07\x80","\x02\x02\xbc,\x03\x02\x02\x02\xbd\xbe\x07k\x02","\x02\xbe\xbf\x07p\x02\x02\xbf.\x03\x02\x02\x02","\xc0\xc1\x07e\x02\x02\xc1\xc2\x07q\x02\x02\xc2","\xc3\x07p\x02\x02\xc3\xc4\x07v\x02\x02\xc4\xc5","\x07c\x02\x02\xc5\xc6\x07k\x02\x02\xc6\xc7\x07","p\x02\x02\xc7\xc8\x07u\x02\x02\xc80\x03\x02\x02","\x02\xc9\xca\x07c\x02\x02\xca\xcb\x07p\x02\x02","\xcb\xcc\x07f\x02\x02\xcc2\x03\x02\x02\x02\xcd","\xce\x07q\x02\x02\xce\xcf\x07t\x02\x02\xcf4\x03","\x02\x02\x02\xd0\xd1\x07z\x02\x02\xd1\xd2\x07","q\x02\x02\xd2\xd3\x07t\x02\x02\xd36\x03\x02\x02","\x02\xd4\xd5\x07k\x02\x02\xd5\xd6\x07o\x02\x02","\xd6\xd7\x07r\x02\x02\xd7\xd8\x07n\x02\x02\xd8","\xd9\x07k\x02\x02\xd9\xda\x07g\x02\x02\xda\xdb","\x07u\x02\x02\xdb8\x03\x02\x02\x02\xdc\xdd\x07","*\x02\x02\xdd:\x03\x02\x02\x02\xde\xdf\x07+\x02","\x02\xdf<\x03\x02\x02\x02\xe0\xe1\x07}\x02\x02","\xe1>\x03\x02\x02\x02\xe2\xe3\x07\x7f\x02\x02","\xe3@\x03\x02\x02\x02\xe4\xe5\x07v\x02\x02\xe5","\xe6\x07t\x02\x02\xe6\xe7\x07w\x02\x02\xe7\xe8","\x07g\x02\x02\xe8B\x03\x02\x02\x02\xe9\xea\x07","h\x02\x02\xea\xeb\x07c\x02\x02\xeb\xec\x07n\x02","\x02\xec\xed\x07u\x02\x02\xed\xee\x07g\x02\x02","\xeeD\x03\x02\x02\x02\xef\xf0\x07'\x02\x02\xf0","F\x03\x02\x02\x02\xf1\xf2\x07&\x02\x02\xf2\xf3","\x07v\x02\x02\xf3\xf4\x07j\x02\x02\xf4\xf5\x07","k\x02\x02\xf5\xf6\x07u\x02\x02\xf6H\x03\x02\x02","\x02\xf7\xf8\x07&\x02\x02\xf8\xf9\x07k\x02\x02","\xf9\xfa\x07p\x02\x02\xfa\xfb\x07f\x02\x02\xfb","\xfc\x07g\x02\x02\xfc\xfd\x07z\x02\x02\xfdJ\x03","\x02\x02\x02\xfe\xff\x07&\x02\x02\xff\u0100\x07","v\x02\x02\u0100\u0101\x07q\x02\x02\u0101\u0102\x07v\x02","\x02\u0102\u0103\x07c\x02\x02\u0103\u0104\x07n\x02\x02","\u0104L\x03\x02\x02\x02\u0105\u0106\x07.\x02\x02\u0106","N\x03\x02\x02\x02\u0107\u0108\x07{\x02\x02\u0108\u0109","\x07g\x02\x02\u0109\u010a\x07c\x02\x02\u010a\u010b\x07","t\x02\x02\u010bP\x03\x02\x02\x02\u010c\u010d\x07o\x02","\x02\u010d\u010e\x07q\x02\x02\u010e\u010f\x07p\x02\x02","\u010f\u0110\x07v\x02\x02\u0110\u0111\x07j\x02\x02\u0111","R\x03\x02\x02\x02\u0112\u0113\x07y\x02\x02\u0113\u0114","\x07g\x02\x02\u0114\u0115\x07g\x02\x02\u0115\u0116\x07","m\x02\x02\u0116T\x03\x02\x02\x02\u0117\u0118\x07f\x02","\x02\u0118\u0119\x07c\x02\x02\u0119\u011a\x07{\x02\x02","\u011aV\x03\x02\x02\x02\u011b\u011c\x07j\x02\x02\u011c","\u011d\x07q\x02\x02\u011d\u011e\x07w\x02\x02\u011e\u011f","\x07t\x02\x02\u011fX\x03\x02\x02\x02\u0120\u0121\x07","o\x02\x02\u0121\u0122\x07k\x02\x02\u0122\u0123\x07p\x02","\x02\u0123\u0124\x07w\x02\x02\u0124\u0125\x07v\x02\x02","\u0125\u0126\x07g\x02\x02\u0126Z\x03\x02\x02\x02\u0127","\u0128\x07u\x02\x02\u0128\u0129\x07g\x02\x02\u0129\u012a","\x07e\x02\x02\u012a\u012b\x07q\x02\x02\u012b\u012c\x07","p\x02\x02\u012c\u012d\x07f\x02\x02\u012d\\\x03\x02\x02","\x02\u012e\u012f\x07o\x02\x02\u012f\u0130\x07k\x02\x02","\u0130\u0131\x07n\x02\x02\u0131\u0132\x07n\x02\x02\u0132","\u0133\x07k\x02\x02\u0133\u0134\x07u\x02\x02\u0134\u0135","\x07g\x02\x02\u0135\u0136\x07e\x02\x02\u0136\u0137\x07","q\x02\x02\u0137\u0138\x07p\x02\x02\u0138\u0139\x07f\x02","\x02\u0139^\x03\x02\x02\x02\u013a\u013b\x07{\x02\x02","\u013b\u013c\x07g\x02\x02\u013c\u013d\x07c\x02\x02\u013d","\u013e\x07t\x02\x02\u013e\u013f\x07u\x02\x02\u013f`\x03","\x02\x02\x02\u0140\u0141\x07o\x02\x02\u0141\u0142\x07","q\x02\x02\u0142\u0143\x07p\x02\x02\u0143\u0144\x07v\x02","\x02\u0144\u0145\x07j\x02\x02\u0145\u0146\x07u\x02\x02","\u0146b\x03\x02\x02\x02\u0147\u0148\x07y\x02\x02\u0148","\u0149\x07g\x02\x02\u0149\u014a\x07g\x02\x02\u014a\u014b","\x07m\x02\x02\u014b\u014c\x07u\x02\x02\u014cd\x03\x02","\x02\x02\u014d\u014e\x07f\x02\x02\u014e\u014f\x07c\x02","\x02\u014f\u0150\x07{\x02\x02\u0150\u0151\x07u\x02\x02","\u0151f\x03\x02\x02\x02\u0152\u0153\x07j\x02\x02\u0153","\u0154\x07q\x02\x02\u0154\u0155\x07w\x02\x02\u0155\u0156","\x07t\x02\x02\u0156\u0157\x07u\x02\x02\u0157h\x03\x02","\x02\x02\u0158\u0159\x07o\x02\x02\u0159\u015a\x07k\x02","\x02\u015a\u015b\x07p\x02\x02\u015b\u015c\x07w\x02\x02","\u015c\u015d\x07v\x02\x02\u015d\u015e\x07g\x02\x02\u015e","\u015f\x07u\x02\x02\u015fj\x03\x02\x02\x02\u0160\u0161","\x07u\x02\x02\u0161\u0162\x07g\x02\x02\u0162\u0163\x07","e\x02\x02\u0163\u0164\x07q\x02\x02\u0164\u0165\x07p\x02","\x02\u0165\u0166\x07f\x02\x02\u0166\u0167\x07u\x02\x02","\u0167l\x03\x02\x02\x02\u0168\u0169\x07o\x02\x02\u0169","\u016a\x07k\x02\x02\u016a\u016b\x07n\x02\x02\u016b\u016c","\x07n\x02\x02\u016c\u016d\x07k\x02\x02\u016d\u016e\x07","u\x02\x02\u016e\u016f\x07g\x02\x02\u016f\u0170\x07e\x02","\x02\u0170\u0171\x07q\x02\x02\u0171\u0172\x07p\x02\x02","\u0172\u0173\x07f\x02\x02\u0173\u0174\x07u\x02\x02\u0174","n\x03\x02\x02\x02\u0175\u0176\x07B\x02\x02\u0176\u0177","\t\x02\x02\x02\u0177\u0178\t\x02\x02\x02\u0178\u0179\t\x02","\x02\x02\u0179\u0186\t\x02\x02\x02\u017a\u017b\x07/\x02","\x02\u017b\u017c\t\x02\x02\x02\u017c\u0184\t\x02\x02\x02","\u017d\u017e\x07/\x02\x02\u017e\u017f\t\x02\x02\x02\u017f","\u0182\t\x02\x02\x02\u0180\u0181\x07V\x02\x02\u0181\u0183","\x05s:\x02\u0182\u0180\x03\x02\x02\x02\u0182\u0183\x03","\x02\x02\x02\u0183\u0185\x03\x02\x02\x02\u0184\u017d\x03","\x02\x02\x02\u0184\u0185\x03\x02\x02\x02\u0185\u0187\x03","\x02\x02\x02\u0186\u017a\x03\x02\x02\x02\u0186\u0187\x03","\x02\x02\x02\u0187\u0189\x03\x02\x02\x02\u0188\u018a\x07","\\\x02\x02\u0189\u0188\x03\x02\x02\x02\u0189\u018a\x03","\x02\x02\x02\u018ap\x03\x02\x02\x02\u018b\u018c\x07","B\x02\x02\u018c\u018d\x07V\x02\x02\u018d\u018e\x05s:\x02","\u018er\x03\x02\x02\x02\u018f\u0190\t\x02\x02\x02\u0190","\u01a1\t\x02\x02\x02\u0191\u0192\x07<\x02\x02\u0192\u0193","\t\x02\x02\x02\u0193\u019f\t\x02\x02\x02\u0194\u0195\x07","<\x02\x02\u0195\u0196\t\x02\x02\x02\u0196\u019d\t\x02\x02","\x02\u0197\u0199\x070\x02\x02\u0198\u019a\t\x02\x02\x02","\u0199\u0198\x03\x02\x02\x02\u019a\u019b\x03\x02\x02\x02","\u019b\u0199\x03\x02\x02\x02\u019b\u019c\x03\x02\x02\x02","\u019c\u019e\x03\x02\x02\x02\u019d\u0197\x03\x02\x02\x02","\u019d\u019e\x03\x02\x02\x02\u019e\u01a0\x03\x02\x02\x02","\u019f\u0194\x03\x02\x02\x02\u019f\u01a0\x03\x02\x02\x02","\u01a0\u01a2\x03\x02\x02\x02\u01a1\u0191\x03\x02\x02\x02","\u01a1\u01a2\x03\x02\x02\x02\u01a2\u01aa\x03\x02\x02\x02","\u01a3\u01ab\x07\\\x02\x02\u01a4\u01a5\t\x03\x02\x02\u01a5","\u01a6\t\x02\x02\x02\u01a6\u01a7\t\x02\x02\x02\u01a7\u01a8","\x07<\x02\x02\u01a8\u01a9\t\x02\x02\x02\u01a9\u01ab\t\x02","\x02\x02\u01aa\u01a3\x03\x02\x02\x02\u01aa\u01a4\x03\x02","\x02\x02\u01aa\u01ab\x03\x02\x02\x02\u01abt\x03\x02","\x02\x02\u01ac\u01ae\t\x04\x02\x02\u01ad\u01ac\x03\x02","\x02\x02\u01ae\u01b2\x03\x02\x02\x02\u01af\u01b1\t\x05","\x02\x02\u01b0\u01af\x03\x02\x02\x02\u01b1\u01b4\x03\x02","\x02\x02\u01b2\u01b0\x03\x02\x02\x02\u01b2\u01b3\x03\x02","\x02\x02\u01b3v\x03\x02\x02\x02\u01b4\u01b2\x03\x02","\x02\x02\u01b5\u01ba\x07b\x02\x02\u01b6\u01b9\x05\x83","B\x02\u01b7\u01b9\n\x06\x02\x02\u01b8\u01b6\x03\x02\x02","\x02\u01b8\u01b7\x03\x02\x02\x02\u01b9\u01bc\x03\x02\x02","\x02\u01ba\u01b8\x03\x02\x02\x02\u01ba\u01bb\x03\x02\x02","\x02\u01bb\u01bd\x03\x02\x02\x02\u01bc\u01ba\x03\x02\x02","\x02\u01bd\u01be\x07b\x02\x02\u01bex\x03\x02\x02\x02","\u01bf\u01c4\x07)\x02\x02\u01c0\u01c3\x05\x83B\x02\u01c1","\u01c3\n\x07\x02\x02\u01c2\u01c0\x03\x02\x02\x02\u01c2","\u01c1\x03\x02\x02\x02\u01c3\u01c6\x03\x02\x02\x02\u01c4","\u01c2\x03\x02\x02\x02\u01c4\u01c5\x03\x02\x02\x02\u01c5","\u01c7\x03\x02\x02\x02\u01c6\u01c4\x03\x02\x02\x02\u01c7","\u01c8\x07)\x02\x02\u01c8z\x03\x02\x02\x02\u01c9\u01cb","\t\x02\x02\x02\u01ca\u01c9\x03\x02\x02\x02\u01cb\u01cc","\x03\x02\x02\x02\u01cc\u01ca\x03\x02\x02\x02\u01cc\u01cd","\x03\x02\x02\x02\u01cd\u01d4\x03\x02\x02\x02\u01ce\u01d0","\x070\x02\x02\u01cf\u01d1\t\x02\x02\x02\u01d0\u01cf\x03","\x02\x02\x02\u01d1\u01d2\x03\x02\x02\x02\u01d2\u01d0\x03","\x02\x02\x02\u01d2\u01d3\x03\x02\x02\x02\u01d3\u01d5\x03","\x02\x02\x02\u01d4\u01ce\x03\x02\x02\x02\u01d4\u01d5\x03","\x02\x02\x02\u01d5|\x03\x02\x02\x02\u01d6\u01d8\t\b\x02","\x02\u01d7\u01d6\x03\x02\x02\x02\u01d8\u01d9\x03\x02\x02","\x02\u01d9\u01d7\x03\x02\x02\x02\u01d9\u01da\x03\x02\x02","\x02\u01da\u01db\x03\x02\x02\x02\u01db\u01dc\b?\x02\x02","\u01dc~\x03\x02\x02\x02\u01dd\u01de\x071\x02\x02\u01de","\u01df\x07,\x02\x02\u01df\u01e3\x03\x02\x02\x02\u01e0","\u01e2\v\x02\x02\x02\u01e1\u01e0\x03\x02\x02\x02\u01e2","\u01e5\x03\x02\x02\x02\u01e3\u01e4\x03\x02\x02\x02\u01e3","\u01e1\x03\x02\x02\x02\u01e4\u01e6\x03\x02\x02\x02\u01e5","\u01e3\x03\x02\x02\x02\u01e6\u01e7\x07,\x02\x02\u01e7","\u01e8\x071\x02\x02\u01e8\u01e9\x03\x02\x02\x02\u01e9","\u01ea\b@\x02\x02\u01ea\x80\x03\x02\x02\x02\u01eb\u01ec","\x071\x02\x02\u01ec\u01ed\x071\x02\x02\u01ed\u01f1\x03","\x02\x02\x02\u01ee\u01f0\n\t\x02\x02\u01ef\u01ee\x03\x02","\x02\x02\u01f0\u01f3\x03\x02\x02\x02\u01f1\u01ef\x03\x02","\x02\x02\u01f1\u01f2\x03\x02\x02\x02\u01f2\u01f4\x03\x02","\x02\x02\u01f3\u01f1\x03\x02\x02\x02\u01f4\u01f5\bA\x02","\x02\u01f5\x82\x03\x02\x02\x02\u01f6\u01f9\x07^\x02","\x02\u01f7\u01fa\t\n\x02\x02\u01f8\u01fa\x05\x85C\x02\u01f9","\u01f7\x03\x02\x02\x02\u01f9\u01f8\x03\x02\x02\x02\u01fa","\x84\x03\x02\x02\x02\u01fb\u01fc\x07w\x02\x02\u01fc","\u01fd\x05\x87D\x02\u01fd\u01fe\x05\x87D\x02\u01fe\u01ff","\x05\x87D\x02\u01ff\u0200\x05\x87D\x02\u0200\x86\x03","\x02\x02\x02\u0201\u0202\t\v\x02\x02\u0202\x88\x03","\x02\x02\x02\x1a\x02\u0182\u0184\u0186\u0189\u019b\u019d\u019f","\u01a1\u01aa\u01ad\u01b0\u01b2\u01b8\u01ba\u01c2\u01c4\u01cc\u01d2\u01d4","\u01d9\u01e3\u01f1\u01f9\x03\x02\x03\x02"].join(""),D=(new n.atn.ATNDeserializer).deserialize(f),y=D.decisionToState.map((v,s)=>new n.dfa.DFA(v,s));class u extends n.Lexer{static grammarFileName="FHIRPath.g4";static channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"];static modeNames=["DEFAULT_MODE"];static literalNames=[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"];static symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"];static ruleNames=["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","T__53","DATETIME","TIME","TIMEFORMAT","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT","ESC","UNICODE","HEX"];constructor(s){super(s),this._interp=new n.atn.LexerATNSimulator(this,D,y,new n.PredictionContextCache)}get atn(){return D}}u.EOF=n.Token.EOF,u.T__0=1,u.T__1=2,u.T__2=3,u.T__3=4,u.T__4=5,u.T__5=6,u.T__6=7,u.T__7=8,u.T__8=9,u.T__9=10,u.T__10=11,u.T__11=12,u.T__12=13,u.T__13=14,u.T__14=15,u.T__15=16,u.T__16=17,u.T__17=18,u.T__18=19,u.T__19=20,u.T__20=21,u.T__21=22,u.T__22=23,u.T__23=24,u.T__24=25,u.T__25=26,u.T__26=27,u.T__27=28,u.T__28=29,u.T__29=30,u.T__30=31,u.T__31=32,u.T__32=33,u.T__33=34,u.T__34=35,u.T__35=36,u.T__36=37,u.T__37=38,u.T__38=39,u.T__39=40,u.T__40=41,u.T__41=42,u.T__42=43,u.T__43=44,u.T__44=45,u.T__45=46,u.T__46=47,u.T__47=48,u.T__48=49,u.T__49=50,u.T__50=51,u.T__51=52,u.T__52=53,u.T__53=54,u.DATETIME=55,u.TIME=56,u.IDENTIFIER=57,u.DELIMITEDIDENTIFIER=58,u.STRING=59,u.NUMBER=60,u.WS=61,u.COMMENT=62,u.LINE_COMMENT=63,Me.exports=u},6647:(Me,ie,_)=>{const n=_(5815);Me.exports=class f extends n.tree.ParseTreeListener{enterEntireExpression(y){}exitEntireExpression(y){}enterIndexerExpression(y){}exitIndexerExpression(y){}enterPolarityExpression(y){}exitPolarityExpression(y){}enterAdditiveExpression(y){}exitAdditiveExpression(y){}enterMultiplicativeExpression(y){}exitMultiplicativeExpression(y){}enterUnionExpression(y){}exitUnionExpression(y){}enterOrExpression(y){}exitOrExpression(y){}enterAndExpression(y){}exitAndExpression(y){}enterMembershipExpression(y){}exitMembershipExpression(y){}enterInequalityExpression(y){}exitInequalityExpression(y){}enterInvocationExpression(y){}exitInvocationExpression(y){}enterEqualityExpression(y){}exitEqualityExpression(y){}enterImpliesExpression(y){}exitImpliesExpression(y){}enterTermExpression(y){}exitTermExpression(y){}enterTypeExpression(y){}exitTypeExpression(y){}enterInvocationTerm(y){}exitInvocationTerm(y){}enterLiteralTerm(y){}exitLiteralTerm(y){}enterExternalConstantTerm(y){}exitExternalConstantTerm(y){}enterParenthesizedTerm(y){}exitParenthesizedTerm(y){}enterNullLiteral(y){}exitNullLiteral(y){}enterBooleanLiteral(y){}exitBooleanLiteral(y){}enterStringLiteral(y){}exitStringLiteral(y){}enterNumberLiteral(y){}exitNumberLiteral(y){}enterDateTimeLiteral(y){}exitDateTimeLiteral(y){}enterTimeLiteral(y){}exitTimeLiteral(y){}enterQuantityLiteral(y){}exitQuantityLiteral(y){}enterExternalConstant(y){}exitExternalConstant(y){}enterMemberInvocation(y){}exitMemberInvocation(y){}enterFunctionInvocation(y){}exitFunctionInvocation(y){}enterThisInvocation(y){}exitThisInvocation(y){}enterIndexInvocation(y){}exitIndexInvocation(y){}enterTotalInvocation(y){}exitTotalInvocation(y){}enterFunctn(y){}exitFunctn(y){}enterParamList(y){}exitParamList(y){}enterQuantity(y){}exitQuantity(y){}enterUnit(y){}exitUnit(y){}enterDateTimePrecision(y){}exitDateTimePrecision(y){}enterPluralDateTimePrecision(y){}exitPluralDateTimePrecision(y){}enterTypeSpecifier(y){}exitTypeSpecifier(y){}enterQualifiedIdentifier(y){}exitQualifiedIdentifier(y){}enterIdentifier(y){}exitIdentifier(y){}}},8827:(Me,ie,_)=>{const n=_(5815),f=_(6647),D=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x03A\x9c\x04\x02\t\x02\x04\x03\t\x03\x04\x04","\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07","\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f","\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10\t\x10","\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03","\x03\x03\x05\x03(\n\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x07\x03","P\n\x03\f\x03\x0e\x03S\v\x03\x03\x04\x03\x04\x03","\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04\\","\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05","\x03\x05\x03\x05\x03\x05\x05\x05f\n\x05\x03\x06","\x03\x06\x03\x06\x05\x06k\n\x06\x03\x07\x03\x07","\x03\x07\x03\x07\x03\x07\x05\x07r\n\x07\x03\b\x03","\b\x03\b\x05\bw\n\b\x03\b\x03\b\x03\t\x03\t\x03\t\x07","\t~\n\t\f\t\x0e\t\x81\v\t\x03\n\x03\n\x05\n\x85\n\n","\x03\v\x03\v\x03\v\x05\v\x8a\n\v\x03","\f\x03\f\x03\r\x03\r\x03\x0e\x03\x0e\x03\x0f\x03","\x0f\x03\x0f\x07\x0f\x95\n\x0f\f\x0f\x0e\x0f\x98","\v\x0f\x03\x10\x03\x10\x03\x10\x02\x03\x04\x11","\x02\x04\x06\b\n\f\x0e\x10\x12\x14\x16\x18\x1a\x1c","\x1e\x02\x0e\x03\x02\x06\x07\x03\x02\b\v\x04","\x02\x06\x07\f\f\x03\x02\x0e\x11\x03\x02\x14\x17","\x03\x02\x18\x19\x03\x02\x1b\x1c\x03\x02\x12\x13",'\x03\x02"#\x03\x02)0\x03\x0218\x05\x02\x12\x13',"\x18\x19;<\x02\xad\x02 \x03\x02\x02\x02\x04'\x03","\x02\x02\x02\x06[\x03\x02\x02\x02\be\x03\x02\x02","\x02\ng\x03\x02\x02\x02\fq\x03\x02\x02\x02\x0es","\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x82","\x03\x02\x02\x02\x14\x89\x03\x02\x02\x02\x16\x8b","\x03\x02\x02\x02\x18\x8d\x03\x02\x02\x02\x1a\x8f","\x03\x02\x02\x02\x1c\x91\x03\x02\x02\x02\x1e\x99",'\x03\x02\x02\x02 !\x05\x04\x03\x02!"\x07\x02\x02','\x03"\x03\x03\x02\x02\x02#$\b\x03\x01\x02$(\x05',"\x06\x04\x02%&\t\x02\x02\x02&(\x05\x04\x03\r'#\x03","\x02\x02\x02'%\x03\x02\x02\x02(Q\x03\x02\x02\x02",")*\f\f\x02\x02*+\t\x03\x02\x02+P\x05\x04\x03\r,-\f\v","\x02\x02-.\t\x04\x02\x02.P\x05\x04\x03\f/0\f\n\x02","\x0201\x07\r\x02\x021P\x05\x04\x03\v23\f\t\x02\x02","34\t\x05\x02\x024P\x05\x04\x03\n56\f\x07\x02\x026","7\t\x06\x02\x027P\x05\x04\x03\b89\f\x06\x02\x029:","\t\x07\x02\x02:P\x05\x04\x03\x07;<\f\x05\x02\x02","<=\x07\x1a\x02\x02=P\x05\x04\x03\x06>?\f\x04\x02","\x02?@\t\b\x02\x02@P\x05\x04\x03\x05AB\f\x03\x02\x02","BC\x07\x1d\x02\x02CP\x05\x04\x03\x04DE\f\x0f\x02","\x02EF\x07\x03\x02\x02FP\x05\f\x07\x02GH\f\x0e\x02","\x02HI\x07\x04\x02\x02IJ\x05\x04\x03\x02JK\x07\x05","\x02\x02KP\x03\x02\x02\x02LM\f\b\x02\x02MN\t\t\x02","\x02NP\x05\x1a\x0e\x02O)\x03\x02\x02\x02O,\x03\x02","\x02\x02O/\x03\x02\x02\x02O2\x03\x02\x02\x02O5\x03","\x02\x02\x02O8\x03\x02\x02\x02O;\x03\x02\x02\x02","O>\x03\x02\x02\x02OA\x03\x02\x02\x02OD\x03\x02\x02","\x02OG\x03\x02\x02\x02OL\x03\x02\x02\x02PS\x03\x02","\x02\x02QO\x03\x02\x02\x02QR\x03\x02\x02\x02R\x05","\x03\x02\x02\x02SQ\x03\x02\x02\x02T\\\x05\f\x07","\x02U\\\x05\b\x05\x02V\\\x05\n\x06\x02WX\x07\x1e\x02","\x02XY\x05\x04\x03\x02YZ\x07\x1f\x02\x02Z\\\x03","\x02\x02\x02[T\x03\x02\x02\x02[U\x03\x02\x02\x02","[V\x03\x02\x02\x02[W\x03\x02\x02\x02\\\x07\x03\x02","\x02\x02]^\x07 \x02\x02^f\x07!\x02\x02_f\t\n\x02\x02","`f\x07=\x02\x02af\x07>\x02\x02bf\x079\x02\x02cf\x07",":\x02\x02df\x05\x12\n\x02e]\x03\x02\x02\x02e_\x03","\x02\x02\x02e`\x03\x02\x02\x02ea\x03\x02\x02\x02","eb\x03\x02\x02\x02ec\x03\x02\x02\x02ed\x03\x02\x02","\x02f\t\x03\x02\x02\x02gj\x07$\x02\x02hk\x05\x1e","\x10\x02ik\x07=\x02\x02jh\x03\x02\x02\x02ji\x03","\x02\x02\x02k\v\x03\x02\x02\x02lr\x05\x1e\x10","\x02mr\x05\x0e\b\x02nr\x07%\x02\x02or\x07&\x02\x02","pr\x07'\x02\x02ql\x03\x02\x02\x02qm\x03\x02\x02","\x02qn\x03\x02\x02\x02qo\x03\x02\x02\x02qp\x03\x02","\x02\x02r\r\x03\x02\x02\x02st\x05\x1e\x10\x02tv","\x07\x1e\x02\x02uw\x05\x10\t\x02vu\x03\x02\x02\x02","vw\x03\x02\x02\x02wx\x03\x02\x02\x02xy\x07\x1f\x02","\x02y\x0f\x03\x02\x02\x02z\x7f\x05\x04\x03\x02","{|\x07(\x02\x02|~\x05\x04\x03\x02}{\x03\x02\x02","\x02~\x81\x03\x02\x02\x02\x7f}\x03\x02\x02\x02","\x7f\x80\x03\x02\x02\x02\x80\x11\x03\x02\x02\x02","\x81\x7f\x03\x02\x02\x02\x82\x84\x07>\x02\x02","\x83\x85\x05\x14\v\x02\x84\x83\x03\x02\x02\x02","\x84\x85\x03\x02\x02\x02\x85\x13\x03\x02\x02\x02","\x86\x8a\x05\x16\f\x02\x87\x8a\x05\x18\r\x02\x88","\x8a\x07=\x02\x02\x89\x86\x03\x02\x02\x02\x89","\x87\x03\x02\x02\x02\x89\x88\x03\x02\x02\x02\x8a","\x15\x03\x02\x02\x02\x8b\x8c\t\v\x02\x02\x8c","\x17\x03\x02\x02\x02\x8d\x8e\t\f\x02\x02\x8e\x19","\x03\x02\x02\x02\x8f\x90\x05\x1c\x0f\x02\x90\x1b","\x03\x02\x02\x02\x91\x96\x05\x1e\x10\x02\x92\x93","\x07\x03\x02\x02\x93\x95\x05\x1e\x10\x02\x94\x92","\x03\x02\x02\x02\x95\x98\x03\x02\x02\x02\x96\x94","\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97\x1d","\x03\x02\x02\x02\x98\x96\x03\x02\x02\x02\x99\x9a","\t\r\x02\x02\x9a\x1f\x03\x02\x02\x02\x0e'OQ[ejqv","\x7f\x84\x89\x96"].join(""),y=(new n.atn.ATNDeserializer).deserialize(D),u=y.decisionToState.map((Ae,q)=>new n.dfa.DFA(Ae,q)),v=new n.PredictionContextCache;class s extends n.Parser{static grammarFileName="FHIRPath.g4";static literalNames=[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"];static symbolicNames=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"];static ruleNames=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];constructor(q){super(q),this._interp=new n.atn.ParserATNSimulator(this,y,u,v),this.ruleNames=s.ruleNames,this.literalNames=s.literalNames,this.symbolicNames=s.symbolicNames}get atn(){return y}sempred(q,Re,ke){if(1===Re)return this.expression_sempred(q,ke);throw"No predicate with index:"+Re}expression_sempred(q,Re){switch(Re){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+Re}}entireExpression(){let q=new m(this,this._ctx,this.state);this.enterRule(q,0,s.RULE_entireExpression);try{this.enterOuterAlt(q,1),this.state=30,this.expression(0),this.state=31,this.match(s.EOF)}catch(Re){if(!(Re instanceof n.error.RecognitionException))throw Re;q.exception=Re,this._errHandler.reportError(this,Re),this._errHandler.recover(this,Re)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const Re=this._ctx,ke=this.state;let Ke=new h(this,this._ctx,ke),me=Ke;this.enterRecursionRule(Ke,2,s.RULE_expression,q);var Ne=0;try{switch(this.enterOuterAlt(Ke,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case s.T__15:case s.T__16:case s.T__21:case s.T__22:case s.T__27:case s.T__29:case s.T__31:case s.T__32:case s.T__33:case s.T__34:case s.T__35:case s.T__36:case s.DATETIME:case s.TIME:case s.IDENTIFIER:case s.DELIMITEDIDENTIFIER:case s.STRING:case s.NUMBER:Ke=new M(this,Ke),this._ctx=Ke,me=Ke,this.state=34,this.term();break;case s.T__3:case s.T__4:Ke=new l(this,Ke),this._ctx=Ke,me=Ke,this.state=35,(Ne=this._input.LA(1))===s.T__3||Ne===s.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Be=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Be&&Be!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Be)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),me=Ke,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(Ke=new c(this,new h(this,Re,ke)),this.pushNewRecursionContext(Ke,2,s.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Ne=this._input.LA(1)))&&1<{const n=_(5815),f=_(2472),D=_(8827),y=_(6647);class u extends n.error.ErrorListener{constructor(m){super(),this.errors=m}syntaxError(m,h,o,l,r,c){this.errors.push([m,h,o,l,r,c])}}Me.exports={parse:function(s){var m=new n.InputStream(s),h=new f(m),o=new n.CommonTokenStream(h),l=new D(o);l.buildParseTrees=!0;var r=[],c=new u(r);h.removeErrorListeners(),h.addErrorListener(c),l.removeErrorListeners(),l.addErrorListener(c);var d=l.entireExpression();class g extends y{constructor(){super()}}var C,b={},x=[b];for(let S of Object.getOwnPropertyNames(y.prototype))S.startsWith("enter")?g.prototype[S]=function(M){let k=x[x.length-1];(C={type:S.slice(5)}).text=M.getText(),k.children||(k.children=[]),k.children.push(C),x.push(C),C.terminalNodeText=[];for(let P of M.children)P.symbol&&C.terminalNodeText.push(P.getText())}:S.startsWith("exit")&&(g.prototype[S]=function(){x.pop()});var w=new g;if(n.tree.ParseTreeWalker.DEFAULT.walk(w,d),r.length>0){let S=[];for(let M=0,k=r.length;M{const Me=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(ie){return"number"==typeof ie&&isFinite(ie)&&Math.floor(ie)===ie},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(ie,_){return this.indexOf(ie,_=_||0)===_}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(ie,_){var n=this.toString();(void 0===_||_>n.length)&&(_=n.length);var f=n.indexOf(ie,_-=ie.length);return-1!==f&&f===_}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return-1!==this.indexOf.apply(this,arguments)}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(ie){if(null==ie)throw new TypeError("Cannot convert undefined or null to object");return Me(arguments,1).reduce(function(_,n){return Object.keys(Object(n)).forEach(function(f){_[f]=n[f]}),_},Object(ie))}}),typeof btoa>"u"&&(global.btoa=function(ie){return new Buffer.from(ie,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(ie){return new Buffer.from(ie,"base64").toString("binary")})},4702:(Me,ie,_)=>{const n=_(5827),f=_(6777),D={},y={};D.indexOf=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.indexOf(m)},D.substring=function(s,m,h){const o=f.singleton(s,"String");return n.isEmpty(o)||n.isEmpty(m)||m<0||m>=o.length?[]:void 0===h||n.isEmpty(h)?o.substring(m):o.substring(m,m+h)},D.startsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.startsWith(m)},D.endsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.endsWith(m)},D.containsFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.includes(m)},D.upper=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toUpperCase()},D.lower=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toLowerCase()},D.joinFn=function(s,m){return void 0===m&&(m=""),s.map(o=>{const l=n.valData(o);if("string"==typeof l)return l;throw new Error("Join requires a collection of strings.")}).join(m)},D.splitFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:h.split(m)},D.trimFn=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.trim()},D.encodeFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:"urlbase64"===m||"base64url"===m?btoa(h).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===m?btoa(h):"hex"===m?Array.from(h).map(o=>o.charCodeAt(0)<128?o.charCodeAt(0).toString(16):encodeURIComponent(o).replace(/%/g,"")).join(""):[]},D.decodeFn=function(s,m){const h=f.singleton(s,"String");if(n.isEmpty(h))return[];if("urlbase64"===m||"base64url"===m)return atob(h.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===m)return atob(h);if("hex"===m){if(h.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+h.match(/.{2}/g).join("%"))}return[]},D.matches=!1===new RegExp("").dotAll?function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(m,"s").test(h)}:function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(function u(s){return y[s]||(y[s]=s.replace(/\./g,(m,h,o)=>{const r=o.substr(0,h).replace(/\\\\/g,"").replace(/\\[\][]/g,""),c="\\"===r[r.length-1],d=r.lastIndexOf("["),g=r.lastIndexOf("]");return c||d>g?".":"[^]"})),y[s]}(m)).test(h)},D.replace=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(n.escapeStringForRegExp(m),"g");return o.replace(l,h)},D.replaceMatches=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(m,"g");return o.replace(l,h)},D.length=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.length},D.toChars=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.split("")},Me.exports=D},4217:(Me,ie,_)=>{const n=_(3745),f=_(2207).ng.getInstance(),D=_(4192);let u="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",v=new RegExp("^T?"+u+"$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+u+")?)?)?Z?$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),h=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?))(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9]))))$");class o{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class l extends o{constructor(P,A){super(),this.asStr=P+" "+A,this.value=P,this.unit=A}equals(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEqual(this.value,P.value);const A=this._compareYearsAndMonths(P);if(A)return A.isEqual;const L=l.toUcumQuantity(this.value,this.unit),F=l.toUcumQuantity(P.value,P.unit),R=f.convertUnitTo(F.unit,F.value,L.unit);return"succeeded"===R.status&&D.isEqual(L.value,R.toVal)}equivalentTo(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEquivalent(this.value,P.value);const A=l.getEquivalentUcumUnitCode(this.unit),L=l.getEquivalentUcumUnitCode(P.unit),F=f.convertUnitTo(L,P.value,A);return"succeeded"===F.status&&D.isEquivalent(this.value,F.toVal)}_compareYearsAndMonths(P){const A=l._yearMonthConversionFactor[this.unit],L=l._yearMonthConversionFactor[P.unit];return A&&L?{isEqual:D.isEqual(this.value*A,P.value*L)}:null}}const r=/^'|'$/g;l.getEquivalentUcumUnitCode=function(I){return l.mapTimeUnitsToUCUMCode[I]||I.replace(r,"")},l.toUcumQuantity=function(I,P){const A=l._calendarDuration2Seconds[P];return A?{value:A*I,unit:"s"}:{value:I,unit:P.replace(r,"")}},l.convUnitTo=function(I,P,A){const L=l._yearMonthConversionFactor[I],F=l._yearMonthConversionFactor[A];if(L&&F)return new l(L*P/F,A);const R=l._calendarDuration2Seconds[I],U=l._calendarDuration2Seconds[A];if(U){if(R)return new l(R*P/U,A);{const W=f.convertUnitTo(I.replace(/^'|'$/g,""),P,"s");if("succeeded"===W.status)return new l(W.toVal/U,A)}}else{const W=R?f.convertUnitTo("s",R*P,A.replace(/^'|'$/g,"")):f.convertUnitTo(I.replace(/^'|'$/g,""),P,A.replace(/^'|'$/g,""));if("succeeded"===W.status)return new l(W.toVal,A)}return null},l._calendarDuration2Seconds={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1,millisecond:.001},l._yearMonthConversionFactor={years:12,months:1,year:12,month:1},l.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},l.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},l.mapTimeUnitsToUCUMCode=Object.keys(l.mapUCUMCodeToTimeUnits).reduce(function(I,P){return I[l.mapUCUMCodeToTimeUnits[P]]=P,I[l.mapUCUMCodeToTimeUnits[P]+"s"]=P,I},{});class c extends o{constructor(P){super(),this.asStr=P}plus(P){let L=l.arithmeticDurationUnits[P.unit];if(!L)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(l.arithmeticDurationUnits));const F=this.constructor,R=F._timeUnitToDatePrecision[L];if(void 0===R)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(F._timeUnitToDatePrecision).join(", ")+".");let U=P.value;const W=F===g;if((W?R<2:R<5)&&(U=Math.trunc(U)),this._getPrecision()2?new d(U)._getTimeParts():this._getTimeParts(),ee=F>2?new d(W)._getTimeParts():P._getTimeParts(),j=0;j<=R&&!1!==A;++j)A=ne[j]==ee[j];A&&(A=void 0)}}else A=!1;return A}equivalentTo(P){var A=P instanceof this.constructor;return A&&(A=this._getPrecision()==P._getPrecision())&&(A=this._getDateObj().getTime()==P._getDateObj().getTime()),A}compare(P){var A=this._getPrecision(),L=P._getPrecision(),F=A<=L?this._getDateObj().getTime():this._dateAtPrecision(L).getTime(),R=L<=A?P._getDateObj().getTime():P._dateAtPrecision(A).getTime();return A!==L&&F===R?null:F-R}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(P,A){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(P),this.timeMatchData))for(let L=A;L>=0&&void 0===this.precision;--L)this.timeMatchData[L]&&(this.precision=L);return this.timeMatchData}_getTimeParts(P){var A=[];A=[P[0]];var L=P[4];if(L){let W=A[0];A[0]=W.slice(0,W.length-L.length)}var F=P[1];if(F){let W=A[0];A[0]=W.slice(0,W.length-F.length),A[1]=F;var R=P[2];if(R){A[1]=F.slice(0,F.length-R.length),A[2]=R;var U=P[3];U&&(A[2]=R.slice(0,R.length-U.length),A[3]=U)}}return A}_getDateObj(){if(!this.dateObj){var P=this._getPrecision();this.dateObj=this._dateAtPrecision(P)}return this.dateObj}_createDate(P,A,L,F,R,U,W,ne){var ee=new Date(P,A,L,F,R,U,W);if(ne){var j=ee.getTimezoneOffset(),B=0;if("Z"!=ne){var $=ne.split(":"),Z=parseInt($[0]);B=parseInt($[1]),Z<0&&(B=-B),B+=60*Z}ee=n(ee,-j-B)}return ee}}c.timeUnitToAddFn={year:_(3763),month:_(1277),week:_(338),day:_(2860),hour:_(6888),minute:_(3745),second:_(3857),millisecond:_(3895)};let d=(()=>{class I extends c{constructor(A){super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a DateTime with something else";return super.compare(A)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let L=this._getMatchData(),F=L[0];this.timeParts=[F];var A=L[1];if(A){this.timeParts[0]=F.slice(0,F.length-A.length),this.timeParts[1]=A;let R=L[2];if(R){this.timeParts[1]=A.slice(0,A.length-R.length),this.timeParts[2]=R;let U=L[3];U&&(this.timeParts[2]=R.slice(0,R.length-U.length),"T"===U[0]&&(L[3]=U.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(L.slice(3))))}}}return this.timeParts}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[7],R=this._getPrecision(),U=parseInt(L[0]),W=R>0?parseInt(L[1].slice(1))-1:0,ne=R>1?parseInt(L[2].slice(1)):1,ee=R>2?parseInt(L[3]):0,j=R>3?parseInt(L[4].slice(1)):0,B=R>4?parseInt(L[5].slice(1)):0,$=L.length>6?parseInt(L[6].slice(1)):0,Z=this._createDate(U,W,ne,ee,j,B,$,F);return A0?Z.getMonth():0,ne=A>1?Z.getDate():1,ee=A>2?Z.getHours():0,j=A>3?Z.getMinutes():0,Z=new Date(U,W,ne,ee,j)),Z}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},I._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],I})(),g=(()=>{class I extends c{constructor(A){"T"==A[0]&&(A=A.slice(1)),super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a time with something else";return super.compare(A)}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[4],R=this._getPrecision(),U=2010,ee=parseInt(L[0]),j=R>0?parseInt(L[1].slice(1)):0,B=R>1?parseInt(L[2].slice(1)):0,$=L.length>3?parseInt(L[3].slice(1)):0,Z=this._createDate(U,0,1,ee,j,B,$,F);return F&&(Z.setYear(U),Z.setMonth(0),Z.setDate(1)),A0?Z.getMinutes():0,Z=new Date(U,0,1,ee,j)),Z}_getMatchData(){return super._getMatchData(v,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},I._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],I})();function b(I,P){var A=I;return 3===P&&I<100&&(A="0"+I),I<10&&(A="0"+A),A}d.isoDateTime=function(I,P){void 0===P&&(P=5);var A=""+I.getFullYear();if(P>0&&(A+="-"+b(I.getMonth()+1),P>1&&(A+="-"+b(I.getDate()),P>2&&(A+="T"+d.isoTime(I,P-3)))),P>2){var L=I.getTimezoneOffset(),F=L<0?"+":"-",R=(L=Math.abs(L))%60;A+=F+b((L-R)/60)+":"+b(R)}return A},d.isoTime=function(I,P){void 0===P&&(P=2);let A=""+b(I.getHours());return P>0&&(A+=":"+b(I.getMinutes()),P>1&&(A+=":"+b(I.getSeconds()),I.getMilliseconds()&&(A+="."+b(I.getMilliseconds(),3)))),A};let C=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[m,2])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I.isoDate=function(P,A){return(void 0===A||A>2)&&(A=2),d.isoDateTime(P,A)},I})(),x=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[h,5])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I})(),w=(()=>{class I{constructor(A,L,F){A?.resourceType&&(L=A.resourceType),this.path=L,this.data=A,this._data=F||{}}getTypeInfo(){const A=T.FHIR;return/^System\.(.*)$/.test(this.path)?new T({namespace:T.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new T({namespace:A,name:this.path}):T.model?new T({namespace:A,name:"BackboneElement"}):T.createByValueInNamespace({namespace:A,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var A=this.data;const L=T.typeToClassWithCheckString[this.path];if(L)A=L.checkString(A)||A;else if(T.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===A?.system&&"number"==typeof A.value&&"string"==typeof A.code){if(void 0!==A.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");A=new l(A.value,l.mapUCUMCodeToTimeUnits[A.code]||"'"+A.code+"'")}return A}}return I.makeResNode=function(P,A,L){return P instanceof I?P:new I(P,A,L)},I})(),T=(()=>{class I{constructor({name:A,namespace:L}){this.name=A,this.namespace=L}static model=null;is(A){return A instanceof I&&(!this.namespace||!A.namespace||this.namespace===A.namespace)&&(!I.model||this.namespace&&this.namespace!==I.FHIR?this.name===A.name:I.isType(this.name,A.name))}}return I.typeToClassWithCheckString={date:C,dateTime:d,instant:x,time:g},I.isType=function(P,A){do{if(P===A)return!0}while(P=I.model?.type2Parent[P]);return!1},I.System="System",I.FHIR="FHIR",I.createByValueInNamespace=function({namespace:P,value:A}){let L=typeof A;return Number.isInteger(A)?L="integer":"number"===L?L="decimal":A instanceof C?L="date":A instanceof d?L="dateTime":A instanceof g?L="time":A instanceof l&&(L="Quantity"),P===I.System&&(L=L.replace(/^\w/,F=>F.toUpperCase())),new I({namespace:P,name:L})},I.fromValue=function(P){return P instanceof w?P.getTypeInfo():I.createByValueInNamespace({namespace:I.System,value:P})},I})();Me.exports={FP_Type:o,FP_TimeBase:c,FP_Date:C,FP_DateTime:d,FP_Instant:x,FP_Time:g,FP_Quantity:l,timeRE:v,dateTimeRE:s,ResourceNode:w,TypeInfo:T,typeFn:function S(I){return I.map(P=>T.fromValue(P))},isFn:function M(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)},asFn:function k(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)?I:[]}}},5827:(Me,ie,_)=>{const n={},f=_(4217);let{ResourceNode:D}=f;n.raiseError=function(y,u){throw(u=u?u+": ":"")+y},n.assertAtMostOne=function(y,u){y.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(y),u)},n.assertType=function(y,u,v){let s=this.valData(y);if(u.indexOf(typeof s)<0){let m=u.length>1?"one of "+u.join(", "):u[0];n.raiseError("Found type '"+typeof y+"' but was expecting "+m,v)}return s},n.isEmpty=function(y){return Array.isArray(y)&&0==y.length},n.isSome=function(y){return null!=y&&!n.isEmpty(y)},n.isTrue=function(y){return null!=y&&(!0===y||1==y.length&&!0===y[0])},n.isFalse=function(y){return null!=y&&(!1===y||1==y.length&&!1===y[0])},n.isCapitalized=function(y){return y&&y[0]===y[0].toUpperCase()},n.flatten=function(y){return y.reduce(function(u,v){return Array.isArray(v)?u=u.concat(v):u.push(v),u},[])},n.arraify=function(y){return Array.isArray(y)?y:n.isSome(y)?[y]:[]},n.valData=function(y){return y instanceof D?y.data:y},n.valDataConverted=function(y){return y instanceof D&&(y=y.convertData()),y},n.escapeStringForRegExp=function(y){return y.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Me.exports=n},220:Me=>{"use strict";Me.exports=function(ie,_){for(var n={},f=Object.keys(ie),D=Array.isArray(_),y=0;y{!function(Me,ie){"use strict";var _="hljs-ln",n="hljs-ln-line",f="hljs-ln-code",D="hljs-ln-numbers",y="hljs-ln-n",u="data-line-number",v=/\r\n|\r|\n/g;function r(R){try{var U=ie.querySelectorAll("code.hljs,code.nohighlight");for(var W in U)U.hasOwnProperty(W)&&(c(U[W])||d(U[W],R))}catch(ne){Me.console.error("LineNumbers error: ",ne)}}function c(R){return R.classList.contains("nohljsln")}function d(R,U){"object"==typeof R&&function P(R){Me.setTimeout(R,0)}(function(){R.innerHTML=b(R,U)})}function b(R,U){var W=function x(R,U){return{singleLine:w(U=U||{}),startFrom:T(R,U)}}(R,U);return S(R),function C(R,U){var W=k(R);if(""===W[W.length-1].trim()&&W.pop(),W.length>1||U.singleLine){for(var ne="",ee=0,j=W.length;ee
{6}',[n,D,y,u,f,ee+U.startFrom,W[ee].length>0?W[ee]:" "]);return A('{1}
',[_,ne])}return R}(R.innerHTML,W)}function w(R){return!!R.singleLine&&R.singleLine}function T(R,U){var ne=1;isFinite(U.startFrom)&&(ne=U.startFrom);var ee=function L(R,U){return R.hasAttribute(U)?R.getAttribute(U):null}(R,"data-ln-start-from");return null!==ee&&(ne=function F(R,U){if(!R)return U;var W=Number(R);return isFinite(W)?W:U}(ee,1)),ne}function S(R){var U=R.childNodes;for(var W in U)if(U.hasOwnProperty(W)){var ne=U[W];I(ne.textContent)>0&&(ne.childNodes.length>0?S(ne):M(ne.parentNode))}}function M(R){var U=R.className;if(/hljs-/.test(U)){for(var W=k(R.innerHTML),ne=0,ee="";ne{1}\n',[U,W[ne].length>0?W[ne]:" "]);R.innerHTML=ee.trim()}}function k(R){return 0===R.length?[]:R.split(v)}function I(R){return(R.trim().match(v)||[]).length}function A(R,U){return R.replace(/\{(\d+)\}/g,function(W,ne){return void 0!==U[ne]?U[ne]:W})}Me.hljs?(Me.hljs.initLineNumbersOnLoad=function l(R){"interactive"===ie.readyState||"complete"===ie.readyState?r(R):Me.addEventListener("DOMContentLoaded",function(){r(R)})},Me.hljs.lineNumbersBlock=d,Me.hljs.lineNumbersValue=function g(R,U){if("string"==typeof R){var W=document.createElement("code");return W.innerHTML=R,b(W,U)}},function o(){var R=ie.createElement("style");R.type="text/css",R.innerHTML=A(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[_,y,u]),ie.getElementsByTagName("head")[0].appendChild(R)}()):Me.console.error("highlight.js not detected!"),document.addEventListener("copy",function(R){var W,U=window.getSelection();(function s(R){for(var U=R;U;){if(U.className&&-1!==U.className.indexOf("hljs-ln-code"))return!0;U=U.parentNode}return!1})(U.anchorNode)&&(W=-1!==window.navigator.userAgent.indexOf("Edge")?function h(R){for(var U=R.toString(),W=R.anchorNode;"TD"!==W.nodeName;)W=W.parentNode;for(var ne=R.focusNode;"TD"!==ne.nodeName;)ne=ne.parentNode;var ee=parseInt(W.dataset.lineNumber),j=parseInt(ne.dataset.lineNumber);if(ee!=j){var B=W.textContent,$=ne.textContent;if(ee>j){var Z=ee;ee=j,j=Z,Z=B,B=$,$=Z}for(;0!==U.indexOf(B);)B=B.slice(1);for(;-1===U.lastIndexOf($);)$=$.slice(0,-1);for(var H=B,te=function m(R){for(var U=R;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(W),ue=ee+1;ue{"use strict";Me.exports=Number.isFinite||function(ie){return!("number"!=typeof ie||ie!=ie||ie===1/0||ie===-1/0)}},4864:(Me,ie,_)=>{var n=_(9136);Me.exports=Number.isInteger||function(f){return"number"==typeof f&&n(f)&&Math.floor(f)===f}},1328:function(Me,ie){var _,f;void 0!==(f="function"==typeof(_=function(){"use strict";function D(o){function l(b){for(var C=0,x=r.length;C127){if(a>191&&a<224){if(t>=e.length)throw"UTF-8 decode: incomplete 2-byte sequence";a=(31&a)<<6|63&e[t]}else if(a>223&&a<240){if(t+1>=e.length)throw"UTF-8 decode: incomplete 3-byte sequence";a=(15&a)<<12|(63&e[t])<<6|63&e[++t]}else{if(!(a>239&&a<248))throw"UTF-8 decode: unknown multibyte start 0x"+a.toString(16)+" at index "+(t-1);if(t+2>=e.length)throw"UTF-8 decode: incomplete 4-byte sequence";a=(7&a)<<18|(63&e[t])<<12|(63&e[++t])<<6|63&e[++t]}++t}if(a<=65535)r+=String.fromCharCode(a);else{if(!(a<=1114111))throw"UTF-8 decode: code point 0x"+a.toString(16)+" exceeds UTF-16 reach";a-=65536,r+=String.fromCharCode(a>>10|55296),r+=String.fromCharCode(1023&a|56320)}}return r}function PaxHeader(e){this._fields=e}function TarFile(){}function UntarStream(e){this._bufferView=new DataView(e),this._position=0}function UntarFileStream(e){this._stream=new UntarStream(e),this._globalPaxHeader=null}if(UntarWorker.prototype={onmessage:function(e){try{if("extract"!==e.data.type)throw new Error("Unknown message type: "+e.data.type);this.untarBuffer(e.data.buffer)}catch(r){this.postError(r)}},postError:function(e){this.postMessage({type:"error",data:{message:e.message}})},postLog:function(e,r){this.postMessage({type:"log",data:{level:e,msg:r}})},untarBuffer:function(e){try{for(var r=new UntarFileStream(e);r.hasNext();){var t=r.next();this.postMessage({type:"extract",data:t},[t.buffer])}this.postMessage({type:"complete"})}catch(a){this.postError(a)}},postMessage:function(e,r){self.postMessage(e,r)}},"undefined"!=typeof self){var worker=new UntarWorker;self.onmessage=function(e){worker.onmessage(e)}}PaxHeader.parse=function(e){for(var r=new Uint8Array(e),t=[];r.length>0;){var a=parseInt(decodeUTF8(r.subarray(0,r.indexOf(32)))),n=decodeUTF8(r.subarray(0,a)),i=n.match(/^\\d+ ([^=]+)=(.*)\\n$/);if(null===i)throw new Error("Invalid PAX header data format.");var s=i[1],o=i[2];0===o.length?o=null:null!==o.match(/^\\d+$/)&&(o=parseInt(o));var f={name:s,value:o};t.push(f),r=r.subarray(a)}return new PaxHeader(t)},PaxHeader.prototype={applyHeader:function(e){this._fields.forEach(function(r){var t=r.name,a=r.value;"path"===t?(t="name",void 0!==e.prefix&&delete e.prefix):"linkpath"===t&&(t="linkname"),null===a?delete e[t]:e[t]=a})}},UntarStream.prototype={readString:function(e){for(var r=1,t=e*r,a=[],n=0;n-1&&(r.version=e.readString(2),r.uname=e.readString(32),r.gname=e.readString(32),r.devmajor=parseInt(e.readString(8)),r.devminor=parseInt(e.readString(8)),r.namePrefix=e.readString(155),r.namePrefix.length>0&&(r.name=r.namePrefix+"/"+r.name)),e.position(i),r.type){case"0":case"":r.buffer=e.readBuffer(r.size);break;case"1":break;case"2":break;case"3":break;case"4":break;case"5":break;case"6":break;case"7":break;case"g":t=!0,this._globalPaxHeader=PaxHeader.parse(e.readBuffer(r.size));break;case"x":t=!0,a=PaxHeader.parse(e.readBuffer(r.size))}void 0===r.buffer&&(r.buffer=new ArrayBuffer(0));var s=i+r.size;return r.size%512!==0&&(s+=512-r.size%512),e.position(s),t&&(r=this._readNextFile()),null!==this._globalPaxHeader&&this._globalPaxHeader.applyHeader(r),null!==a&&a.applyHeader(r),r}};'])),function y(o){if(!(o instanceof ArrayBuffer))throw new TypeError("arrayBuffer is not an instance of ArrayBuffer.");if(!s.Worker)throw new Error("Worker implementation is not available in this environment.");return new D(function(l,r,c){var d=new Worker(v),g=[];d.onerror=function(b){r(b)},d.onmessage=function(b){switch((b=b.data).type){case"log":console[b.data.level]("Worker: "+b.data.msg);break;case"extract":var C=function u(o){return Object.defineProperties(o,h),o}(b.data);g.push(C),c(C);break;case"complete":d.terminate(),l(g);break;case"error":d.terminate(),r(new Error(b.data.message));break;default:d.terminate(),r(new Error("Unknown message from worker: "+b.type))}},d.postMessage({type:"extract",buffer:o},[o])})}})?_.apply(ie,[]):_)&&(Me.exports=f)},3187:(Me,ie)=>{function n(f,D){var y=[],u=[];return null==D&&(D=function(v,s){return y[0]===s?"[Circular ~]":"[Circular ~."+u.slice(0,y.indexOf(s)).join(".")+"]"}),function(v,s){if(y.length>0){var m=y.indexOf(this);~m?y.splice(m+1):y.push(this),~m?u.splice(m,1/0,v):u.push(v),~y.indexOf(s)&&(s=D.call(this,v,s))}else y.push(s);return null==f?s:f.call(this,v,s)}}(Me.exports=function _(f,D,y,u){return JSON.stringify(f,n(D,u),y)}).getSerialize=n},7253:Me=>{var ie=1e3,_=6e4,n=60*_,f=24*n;function m(h,o,l,r){var c=o>=1.5*l;return Math.round(h/l)+" "+r+(c?"s":"")}Me.exports=function(h,o){o=o||{};var l=typeof h;if("string"===l&&h.length>0)return function u(h){if(!((h=String(h)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(o){var l=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return l*f;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*_;case"seconds":case"second":case"secs":case"sec":case"s":return l*ie;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(h);if("number"===l&&isFinite(h))return o.long?function s(h){var o=Math.abs(h);return o>=f?m(h,o,f,"day"):o>=n?m(h,o,n,"hour"):o>=_?m(h,o,_,"minute"):o>=ie?m(h,o,ie,"second"):h+" ms"}(h):function v(h){var o=Math.abs(h);return o>=f?Math.round(h/f)+"d":o>=n?Math.round(h/n)+"h":o>=_?Math.round(h/_)+"m":o>=ie?Math.round(h/ie)+"s":h+"ms"}(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))}},4783:Me=>{"use strict";const ie=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!ie)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!ie.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Me.exports.AbortController=ie.AbortController},133:(Me,ie,_)=>{"use strict";const n=_(8385),f=_(4989),D=_(6144),y=_(220),v=Symbol("encodeFragmentIdentifier");function h(x){if("string"!=typeof x||1!==x.length)throw new TypeError("arrayFormatSeparator must be single character string")}function o(x,w){return w.encode?w.strict?n(x):encodeURIComponent(x):x}function l(x,w){return w.decode?f(x):x}function r(x){return Array.isArray(x)?x.sort():"object"==typeof x?r(Object.keys(x)).sort((w,T)=>Number(w)-Number(T)).map(w=>x[w]):x}function c(x){const w=x.indexOf("#");return-1!==w&&(x=x.slice(0,w)),x}function g(x){const w=(x=c(x)).indexOf("?");return-1===w?"":x.slice(w+1)}function b(x,w){return w.parseNumbers&&!Number.isNaN(Number(x))&&"string"==typeof x&&""!==x.trim()?x=Number(x):w.parseBooleans&&null!==x&&("true"===x.toLowerCase()||"false"===x.toLowerCase())&&(x="true"===x.toLowerCase()),x}function C(x,w){h((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const T=function m(x){let w;switch(x.arrayFormat){case"index":return(T,S,M)=>{w=/\[(\d*)\]$/.exec(T),T=T.replace(/\[\d*\]$/,""),w?(void 0===M[T]&&(M[T]={}),M[T][w[1]]=S):M[T]=S};case"bracket":return(T,S,M)=>{w=/(\[\])$/.exec(T),M[T=T.replace(/\[\]$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"colon-list-separator":return(T,S,M)=>{w=/(:list)$/.exec(T),M[T=T.replace(/:list$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"comma":case"separator":return(T,S,M)=>{const k="string"==typeof S&&S.includes(x.arrayFormatSeparator),I="string"==typeof S&&!k&&l(S,x).includes(x.arrayFormatSeparator);S=I?l(S,x):S;const P=k||I?S.split(x.arrayFormatSeparator).map(A=>l(A,x)):null===S?S:l(S,x);M[T]=P};case"bracket-separator":return(T,S,M)=>{const k=/(\[\])$/.test(T);if(T=T.replace(/\[\]$/,""),!k)return void(M[T]=S&&l(S,x));const I=null===S?[]:S.split(x.arrayFormatSeparator).map(P=>l(P,x));M[T]=void 0!==M[T]?[].concat(M[T],I):I};default:return(T,S,M)=>{M[T]=void 0!==M[T]?[].concat(M[T],S):S}}}(w),S=Object.create(null);if("string"!=typeof x||!(x=x.trim().replace(/^[?#&]/,"")))return S;for(const M of x.split("&")){if(""===M)continue;let[k,I]=D(w.decode?M.replace(/\+/g," "):M,"=");I=void 0===I?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?I:l(I,w),T(l(k,w),I,S)}for(const M of Object.keys(S)){const k=S[M];if("object"==typeof k&&null!==k)for(const I of Object.keys(k))k[I]=b(k[I],w);else S[M]=b(k,w)}return!1===w.sort?S:(!0===w.sort?Object.keys(S).sort():Object.keys(S).sort(w.sort)).reduce((M,k)=>{const I=S[k];return M[k]=I&&"object"==typeof I&&!Array.isArray(I)?r(I):I,M},Object.create(null))}ie.extract=g,ie.parse=C,ie.stringify=(x,w)=>{if(!x)return"";h((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const T=I=>w.skipNull&&(x=>null==x)(x[I])||w.skipEmptyString&&""===x[I],S=function s(x){switch(x.arrayFormat){case"index":return w=>(T,S)=>{const M=T.length;return void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[",M,"]"].join("")]:[...T,[o(w,x),"[",o(M,x),"]=",o(S,x)].join("")]};case"bracket":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[]"].join("")]:[...T,[o(w,x),"[]=",o(S,x)].join("")];case"colon-list-separator":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),":list="].join("")]:[...T,[o(w,x),":list=",o(S,x)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===x.arrayFormat?"[]=":"=";return T=>(S,M)=>void 0===M||x.skipNull&&null===M||x.skipEmptyString&&""===M?S:(M=null===M?"":M,0===S.length?[[o(T,x),w,o(M,x)].join("")]:[[S,o(M,x)].join(x.arrayFormatSeparator)])}default:return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,o(w,x)]:[...T,[o(w,x),"=",o(S,x)].join("")]}}(w),M={};for(const I of Object.keys(x))T(I)||(M[I]=x[I]);const k=Object.keys(M);return!1!==w.sort&&k.sort(w.sort),k.map(I=>{const P=x[I];return void 0===P?"":null===P?o(I,w):Array.isArray(P)?0===P.length&&"bracket-separator"===w.arrayFormat?o(I,w)+"[]":P.reduce(S(I),[]).join("&"):o(I,w)+"="+o(P,w)}).filter(I=>I.length>0).join("&")},ie.parseUrl=(x,w)=>{w=Object.assign({decode:!0},w);const[T,S]=D(x,"#");return Object.assign({url:T.split("?")[0]||"",query:C(g(x),w)},w&&w.parseFragmentIdentifier&&S?{fragmentIdentifier:l(S,w)}:{})},ie.stringifyUrl=(x,w)=>{w=Object.assign({encode:!0,strict:!0,[v]:!0},w);const T=c(x.url).split("?")[0]||"",S=ie.extract(x.url),M=ie.parse(S,{sort:!1}),k=Object.assign(M,x.query);let I=ie.stringify(k,w);I&&(I=`?${I}`);let P=function d(x){let w="";const T=x.indexOf("#");return-1!==T&&(w=x.slice(T)),w}(x.url);return x.fragmentIdentifier&&(P=`#${w[v]?o(x.fragmentIdentifier,w):x.fragmentIdentifier}`),`${T}${I}${P}`},ie.pick=(x,w,T)=>{T=Object.assign({parseFragmentIdentifier:!0,[v]:!1},T);const{url:S,query:M,fragmentIdentifier:k}=ie.parseUrl(x,T);return ie.stringifyUrl({url:S,query:y(M,w),fragmentIdentifier:k},T)},ie.exclude=(x,w,T)=>{const S=Array.isArray(w)?M=>!w.includes(M):(M,k)=>!w(M,k);return ie.pick(x,S,T)}},5619:(Me,ie,_)=>{"use strict";_.d(ie,{X:()=>f});var n=_(8645);class f extends n.x{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const u=super._subscribe(y);return!u.closed&&y.next(this._value),u}getValue(){const{hasError:y,thrownError:u,_value:v}=this;if(y)throw u;return this._throwIfClosed(),v}next(y){super.next(this._value=y)}}},5592:(Me,ie,_)=>{"use strict";_.d(ie,{y:()=>m});var n=_(305),f=_(7394),D=_(4850),y=_(8407),u=_(2653),v=_(4674),s=_(1441);let m=(()=>{class r{constructor(d){d&&(this._subscribe=d)}lift(d){const g=new r;return g.source=this,g.operator=d,g}subscribe(d,g,b){const C=function l(r){return r&&r instanceof n.Lv||function o(r){return r&&(0,v.m)(r.next)&&(0,v.m)(r.error)&&(0,v.m)(r.complete)}(r)&&(0,f.Nn)(r)}(d)?d:new n.Hp(d,g,b);return(0,s.x)(()=>{const{operator:x,source:w}=this;C.add(x?x.call(C,w):w?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(d){try{return this._subscribe(d)}catch(g){d.error(g)}}forEach(d,g){return new(g=h(g))((b,C)=>{const x=new n.Hp({next:w=>{try{d(w)}catch(T){C(T),x.unsubscribe()}},error:C,complete:b});this.subscribe(x)})}_subscribe(d){var g;return null===(g=this.source)||void 0===g?void 0:g.subscribe(d)}[D.L](){return this}pipe(...d){return(0,y.U)(d)(this)}toPromise(d){return new(d=h(d))((g,b)=>{let C;this.subscribe(x=>C=x,x=>b(x),()=>g(C))})}}return r.create=c=>new r(c),r})();function h(r){var c;return null!==(c=r??u.config.Promise)&&void 0!==c?c:Promise}},7328:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>D});var n=_(8645),f=_(4552);class D extends n.x{constructor(u=1/0,v=1/0,s=f.l){super(),this._bufferSize=u,this._windowTime=v,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=v===1/0,this._bufferSize=Math.max(1,u),this._windowTime=Math.max(1,v)}next(u){const{isStopped:v,_buffer:s,_infiniteTimeWindow:m,_timestampProvider:h,_windowTime:o}=this;v||(s.push(u),!m&&s.push(h.now()+o)),this._trimBuffer(),super.next(u)}_subscribe(u){this._throwIfClosed(),this._trimBuffer();const v=this._innerSubscribe(u),{_infiniteTimeWindow:s,_buffer:m}=this,h=m.slice();for(let o=0;o{"use strict";_.d(ie,{x:()=>s});var n=_(5592),f=_(7394);const y=(0,_(2306).d)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var u=_(9039),v=_(1441);let s=(()=>{class h extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(l){const r=new m(this,this);return r.operator=l,r}_throwIfClosed(){if(this.closed)throw new y}next(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(l)}})}error(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=l;const{observers:r}=this;for(;r.length;)r.shift().error(l)}})}complete(){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:l}=this;for(;l.length;)l.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var l;return(null===(l=this.observers)||void 0===l?void 0:l.length)>0}_trySubscribe(l){return this._throwIfClosed(),super._trySubscribe(l)}_subscribe(l){return this._throwIfClosed(),this._checkFinalizedStatuses(l),this._innerSubscribe(l)}_innerSubscribe(l){const{hasError:r,isStopped:c,observers:d}=this;return r||c?f.Lc:(this.currentObservers=null,d.push(l),new f.w0(()=>{this.currentObservers=null,(0,u.P)(d,l)}))}_checkFinalizedStatuses(l){const{hasError:r,thrownError:c,isStopped:d}=this;r?l.error(c):d&&l.complete()}asObservable(){const l=new n.y;return l.source=this,l}}return h.create=(o,l)=>new m(o,l),h})();class m extends s{constructor(o,l){super(),this.destination=o,this.source=l}next(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.next)||void 0===r||r.call(l,o)}error(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.error)||void 0===r||r.call(l,o)}complete(){var o,l;null===(l=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===l||l.call(o)}_subscribe(o){var l,r;return null!==(r=null===(l=this.source)||void 0===l?void 0:l.subscribe(o))&&void 0!==r?r:f.Lc}}},305:(Me,ie,_)=>{"use strict";_.d(ie,{Hp:()=>b,Lv:()=>r});var n=_(4674),f=_(7394),D=_(2653),y=_(3894),u=_(2420);const v=h("C",void 0,void 0);function h(S,M,k){return{kind:S,value:M,error:k}}var o=_(7599),l=_(1441);class r extends f.w0{constructor(M){super(),this.isStopped=!1,M?(this.destination=M,(0,f.Nn)(M)&&M.add(this)):this.destination=T}static create(M,k,I){return new b(M,k,I)}next(M){this.isStopped?w(function m(S){return h("N",S,void 0)}(M),this):this._next(M)}error(M){this.isStopped?w(function s(S){return h("E",void 0,S)}(M),this):(this.isStopped=!0,this._error(M))}complete(){this.isStopped?w(v,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(M){this.destination.next(M)}_error(M){try{this.destination.error(M)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const c=Function.prototype.bind;function d(S,M){return c.call(S,M)}class g{constructor(M){this.partialObserver=M}next(M){const{partialObserver:k}=this;if(k.next)try{k.next(M)}catch(I){C(I)}}error(M){const{partialObserver:k}=this;if(k.error)try{k.error(M)}catch(I){C(I)}else C(M)}complete(){const{partialObserver:M}=this;if(M.complete)try{M.complete()}catch(k){C(k)}}}class b extends r{constructor(M,k,I){let P;if(super(),(0,n.m)(M)||!M)P={next:M??void 0,error:k??void 0,complete:I??void 0};else{let A;this&&D.config.useDeprecatedNextContext?(A=Object.create(M),A.unsubscribe=()=>this.unsubscribe(),P={next:M.next&&d(M.next,A),error:M.error&&d(M.error,A),complete:M.complete&&d(M.complete,A)}):P=M}this.destination=new g(P)}}function C(S){D.config.useDeprecatedSynchronousErrorHandling?(0,l.O)(S):(0,y.h)(S)}function w(S,M){const{onStoppedNotification:k}=D.config;k&&o.z.setTimeout(()=>k(S,M))}const T={closed:!0,next:u.Z,error:function x(S){throw S},complete:u.Z}},7394:(Me,ie,_)=>{"use strict";_.d(ie,{Lc:()=>v,w0:()=>u,Nn:()=>s});var n=_(4674);const D=(0,_(2306).d)(h=>function(l){h(this),this.message=l?`${l.length} errors occurred during unsubscription:\n${l.map((r,c)=>`${c+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=l});var y=_(9039);class u{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;const{_parentage:l}=this;if(l)if(this._parentage=null,Array.isArray(l))for(const d of l)d.remove(this);else l.remove(this);const{initialTeardown:r}=this;if((0,n.m)(r))try{r()}catch(d){o=d instanceof D?d.errors:[d]}const{_finalizers:c}=this;if(c){this._finalizers=null;for(const d of c)try{m(d)}catch(g){o=o??[],g instanceof D?o=[...o,...g.errors]:o.push(g)}}if(o)throw new D(o)}}add(o){var l;if(o&&o!==this)if(this.closed)m(o);else{if(o instanceof u){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(l=this._finalizers)&&void 0!==l?l:[]).push(o)}}_hasParent(o){const{_parentage:l}=this;return l===o||Array.isArray(l)&&l.includes(o)}_addParent(o){const{_parentage:l}=this;this._parentage=Array.isArray(l)?(l.push(o),l):l?[l,o]:o}_removeParent(o){const{_parentage:l}=this;l===o?this._parentage=null:Array.isArray(l)&&(0,y.P)(l,o)}remove(o){const{_finalizers:l}=this;l&&(0,y.P)(l,o),o instanceof u&&o._removeParent(this)}}u.EMPTY=(()=>{const h=new u;return h.closed=!0,h})();const v=u.EMPTY;function s(h){return h instanceof u||h&&"closed"in h&&(0,n.m)(h.remove)&&(0,n.m)(h.add)&&(0,n.m)(h.unsubscribe)}function m(h){(0,n.m)(h)?h():h.unsubscribe()}},2653:(Me,ie,_)=>{"use strict";_.d(ie,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>v});var n=_(5592),f=_(7394),D=_(6196),y=_(8251),u=_(9360);class v extends n.y{constructor(m,h){super(),this.source=m,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,u.A)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new f.w0;const h=this.getSubject();m.add(this.source.subscribe((0,y.x)(h,void 0,()=>{this._teardown(),h.complete()},o=>{this._teardown(),h.error(o)},()=>this._teardown()))),m.closed&&(this._connection=null,m=f.w0.EMPTY)}return m}refCount(){return(0,D.x)()(this)}}},2572:(Me,ie,_)=>{"use strict";_.d(ie,{a:()=>o,l:()=>l});var n=_(5592),f=_(7453),D=_(2459),y=_(2737),u=_(7400),v=_(9940),s=_(2714),m=_(8251),h=_(7103);function o(...c){const d=(0,v.yG)(c),g=(0,v.jO)(c),{args:b,keys:C}=(0,f.D)(c);if(0===b.length)return(0,D.D)([],d);const x=new n.y(l(b,d,C?w=>(0,s.n)(C,w):y.y));return g?x.pipe((0,u.Z)(g)):x}function l(c,d,g=y.y){return b=>{r(d,()=>{const{length:C}=c,x=new Array(C);let w=C,T=C;for(let S=0;S{const M=(0,D.D)(c[S],d);let k=!1;M.subscribe((0,m.x)(b,I=>{x[S]=I,k||(k=!0,T--),T||b.next(g(x.slice()))},()=>{--w||b.complete()}))},b)},b)}}function r(c,d,g){c?(0,h.f)(g,c,d):d()}},34:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>y});var n=_(1948),f=_(9940),D=_(2459);function y(...u){return(0,n.u)()((0,D.D)(u,(0,f.yG)(u)))}},4911:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>D});var n=_(5592),f=_(4829);function D(y){return new n.y(u=>{(0,f.Xf)(y()).subscribe(u)})}},6232:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>f});const f=new(_(5592).y)(u=>u.complete())},9315:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>m});var n=_(5592),f=_(7453),D=_(4829),y=_(9940),u=_(8251),v=_(7400),s=_(2714);function m(...h){const o=(0,y.jO)(h),{args:l,keys:r}=(0,f.D)(h),c=new n.y(d=>{const{length:g}=l;if(!g)return void d.complete();const b=new Array(g);let C=g,x=g;for(let w=0;w{T||(T=!0,x--),b[w]=S},()=>C--,void 0,()=>{(!C||!T)&&(x||d.next(r?(0,s.n)(r,b):b),d.complete())}))}});return o?c.pipe((0,v.Z)(o)):c}},2459:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>M});var n=_(4829),f=_(3093),D=_(5137),v=_(5592),m=_(4971),h=_(4674),o=_(7103);function r(k,I){if(!k)throw new Error("Iterable cannot be null");return new v.y(P=>{(0,o.f)(P,I,()=>{const A=k[Symbol.asyncIterator]();(0,o.f)(P,I,()=>{A.next().then(L=>{L.done?P.complete():P.next(L.value)})},0,!0)})})}var c=_(8382),d=_(4026),g=_(4266),b=_(3664),C=_(5726),x=_(9853),w=_(541);function M(k,I){return I?function S(k,I){if(null!=k){if((0,c.c)(k))return function y(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,g.z)(k))return function s(k,I){return new v.y(P=>{let A=0;return I.schedule(function(){A===k.length?P.complete():(P.next(k[A++]),P.closed||this.schedule())})})}(k,I);if((0,d.t)(k))return function u(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,C.D)(k))return r(k,I);if((0,b.T)(k))return function l(k,I){return new v.y(P=>{let A;return(0,o.f)(P,I,()=>{A=k[m.h](),(0,o.f)(P,I,()=>{let L,F;try{({value:L,done:F}=A.next())}catch(R){return void P.error(R)}F?P.complete():P.next(L)},0,!0)}),()=>(0,h.m)(A?.return)&&A.return()})}(k,I);if((0,w.L)(k))return function T(k,I){return r((0,w.Q)(k),I)}(k,I)}throw(0,x.z)(k)}(k,I):(0,n.Xf)(k)}},2438:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>o});var n=_(4829),f=_(5592),D=_(9769),y=_(4266),u=_(4674),v=_(7400);const s=["addListener","removeListener"],m=["addEventListener","removeEventListener"],h=["on","off"];function o(g,b,C,x){if((0,u.m)(C)&&(x=C,C=void 0),x)return o(g,b,C).pipe((0,v.Z)(x));const[w,T]=function d(g){return(0,u.m)(g.addEventListener)&&(0,u.m)(g.removeEventListener)}(g)?m.map(S=>M=>g[S](b,M,C)):function r(g){return(0,u.m)(g.addListener)&&(0,u.m)(g.removeListener)}(g)?s.map(l(g,b)):function c(g){return(0,u.m)(g.on)&&(0,u.m)(g.off)}(g)?h.map(l(g,b)):[];if(!w&&(0,y.z)(g))return(0,D.z)(S=>o(S,b,C))((0,n.Xf)(g));if(!w)throw new TypeError("Invalid event target");return new f.y(S=>{const M=(...k)=>S.next(1T(M)})}function l(g,b){return C=>x=>g[C](b,x)}},4829:(Me,ie,_)=>{"use strict";_.d(ie,{Xf:()=>c});var n=_(655),f=_(4266),D=_(4026),y=_(5592),u=_(8382),v=_(5726),s=_(9853),m=_(3664),h=_(541),o=_(4674),l=_(3894),r=_(4850);function c(S){if(S instanceof y.y)return S;if(null!=S){if((0,u.c)(S))return function d(S){return new y.y(M=>{const k=S[r.L]();if((0,o.m)(k.subscribe))return k.subscribe(M);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(S);if((0,f.z)(S))return function g(S){return new y.y(M=>{for(let k=0;k{S.then(k=>{M.closed||(M.next(k),M.complete())},k=>M.error(k)).then(null,l.h)})}(S);if((0,v.D)(S))return x(S);if((0,m.T)(S))return function C(S){return new y.y(M=>{for(const k of S)if(M.next(k),M.closed)return;M.complete()})}(S);if((0,h.L)(S))return function w(S){return x((0,h.Q)(S))}(S)}throw(0,s.z)(S)}function x(S){return new y.y(M=>{(function T(S,M){var k,I,P,A;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(k=(0,n.__asyncValues)(S);!(I=yield k.next()).done;)if(M.next(I.value),M.closed)return}catch(L){P={error:L}}finally{try{I&&!I.done&&(A=k.return)&&(yield A.call(k))}finally{if(P)throw P.error}}M.complete()})})(S,M).catch(k=>M.error(k))})}},3019:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>v});var n=_(7537),f=_(4829),D=_(6232),y=_(9940),u=_(2459);function v(...s){const m=(0,y.yG)(s),h=(0,y._6)(s,1/0),o=s;return o.length?1===o.length?(0,f.Xf)(o[0]):(0,n.J)(h)((0,u.D)(o,m)):D.E}},2096:(Me,ie,_)=>{"use strict";_.d(ie,{of:()=>D});var n=_(9940),f=_(2459);function D(...y){const u=(0,n.yG)(y);return(0,f.D)(y,u)}},3684:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>v,S:()=>u});var n=_(5592),f=_(4829),D=_(7728),y=_(8251);function u(...s){return 1===(s=(0,D.k)(s)).length?(0,f.Xf)(s[0]):new n.y(v(s))}function v(s){return m=>{let h=[];for(let o=0;h&&!m.closed&&o{if(h){for(let r=0;r{"use strict";_.d(ie,{_:()=>D});var n=_(5592),f=_(4674);function D(y,u){const v=(0,f.m)(y)?y:()=>y,s=m=>m.error(v());return new n.y(u?m=>u.schedule(s,0,m):s)}},9080:(Me,ie,_)=>{"use strict";_.d(ie,{H:()=>u});var n=_(5592),f=_(6321),D=_(671),y=_(93);function u(v=0,s,m=f.P){let h=-1;return null!=s&&((0,D.K)(s)?m=s:h=s),new n.y(o=>{let l=(0,y.q)(v)?+v-m.now():v;l<0&&(l=0);let r=0;return m.schedule(function(){o.closed||(o.next(r++),0<=h?this.schedule(void 0,h):o.complete())},l)})}},9278:(Me,ie,_)=>{"use strict";_.d(ie,{$:()=>s});var n=_(5592),f=_(4829),D=_(7728),y=_(6232),u=_(8251),v=_(9940);function s(...m){const h=(0,v.jO)(m),o=(0,D.k)(m);return o.length?new n.y(l=>{let r=o.map(()=>[]),c=o.map(()=>!1);l.add(()=>{r=c=null});for(let d=0;!l.closed&&d{if(r[d].push(g),r.every(b=>b.length)){const b=r.map(C=>C.shift());l.next(h?h(...b):b),r.some((C,x)=>!C.length&&c[x])&&l.complete()}},()=>{c[d]=!0,!r[d].length&&l.complete()}));return()=>{r=c=null}}):y.E}},8251:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>D,x:()=>f});var n=_(305);function f(y,u,v,s,m){return new D(y,u,v,s,m)}class D extends n.Lv{constructor(u,v,s,m,h,o){super(u),this.onFinalize=h,this.shouldUnsubscribe=o,this._next=v?function(l){try{v(l)}catch(r){u.error(r)}}:super._next,this._error=m?function(l){try{m(l)}catch(r){u.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(l){u.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:v}=this;super.unsubscribe(),!v&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}}}},6301:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>y});var n=_(9360),f=_(4829),D=_(8251);function y(u){return(0,n.e)((v,s)=>{let m=!1,h=null,o=null,l=!1;const r=()=>{if(o?.unsubscribe(),o=null,m){m=!1;const d=h;h=null,s.next(d)}l&&s.complete()},c=()=>{o=null,l&&s.complete()};v.subscribe((0,D.x)(s,d=>{m=!0,h=d,o||(0,f.Xf)(u(d)).subscribe(o=(0,D.x)(s,r,c))},()=>{l=!0,(!m||!o||o.closed)&&s.complete()}))})}},8672:(Me,ie,_)=>{"use strict";_.d(ie,{e:()=>y});var n=_(6321),f=_(6301),D=_(9080);function y(u,v=n.z){return(0,f.U)(()=>(0,D.H)(u,v))}},6306:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>y});var n=_(4829),f=_(8251),D=_(9360);function y(u){return(0,D.e)((v,s)=>{let o,m=null,h=!1;m=v.subscribe((0,f.x)(s,void 0,void 0,l=>{o=(0,n.Xf)(u(l,y(u)(v))),m?(m.unsubscribe(),m=null,o.subscribe(s)):h=!0})),h&&(m.unsubscribe(),m=null,o.subscribe(s))})}},1948:(Me,ie,_)=>{"use strict";_.d(ie,{u:()=>f});var n=_(7537);function f(){return(0,n.J)(1)}},6328:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(9769),f=_(4674);function D(y,u){return(0,f.m)(u)?(0,n.z)(y,u,1):(0,n.z)(y,1)}},3620:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>y});var n=_(6321),f=_(9360),D=_(8251);function y(u,v=n.z){return(0,f.e)((s,m)=>{let h=null,o=null,l=null;const r=()=>{if(h){h.unsubscribe(),h=null;const d=o;o=null,m.next(d)}};function c(){const d=l+u,g=v.now();if(g{o=d,l=v.now(),h||(h=v.schedule(c,u),m.add(h))},()=>{r(),m.complete()},void 0,()=>{o=h=null}))})}},3572:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(9360),f=_(8251);function D(y){return(0,n.e)((u,v)=>{let s=!1;u.subscribe((0,f.x)(v,m=>{s=!0,v.next(m)},()=>{s||v.next(y),v.complete()}))})}},7547:(Me,ie,_)=>{"use strict";_.d(ie,{g:()=>y});var n=_(6321),f=_(4610),D=_(9080);function y(u,v=n.z){const s=(0,D.H)(u,v);return(0,f.j)(()=>s)}},4610:(Me,ie,_)=>{"use strict";_.d(ie,{j:()=>s});var n=_(34),f=_(8180),D=_(7538),y=_(975),u=_(9769),v=_(4829);function s(m,h){return h?o=>(0,n.z)(h.pipe((0,f.q)(1),(0,D.l)()),o.pipe(s(m))):(0,u.z)((o,l)=>(0,v.Xf)(m(o,l)).pipe((0,f.q)(1),(0,y.h)(o)))}},3997:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>y});var n=_(2737),f=_(9360),D=_(8251);function y(v,s=n.y){return v=v??u,(0,f.e)((m,h)=>{let o,l=!0;m.subscribe((0,D.x)(h,r=>{const c=s(r);(l||!v(o,c))&&(l=!1,o=c,h.next(r))}))})}function u(v,s){return v===s}},2181:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>y.call(u,h,m++)&&s.next(h)))})}},4716:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>f});var n=_(9360);function f(D){return(0,n.e)((y,u)=>{try{y.subscribe(u)}finally{u.add(D)}})}},1374:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>s});var n=_(6973),f=_(2181),D=_(8180),y=_(3572),u=_(3026),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.q)(1),o?(0,y.d)(h):(0,u.T)(()=>new n.K))}},7538:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>y});var n=_(9360),f=_(8251),D=_(2420);function y(){return(0,n.e)((u,v)=>{u.subscribe((0,f.x)(v,D.Z))})}},2032:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(6973),f=_(2181),D=_(4418),y=_(3026),u=_(3572),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.h)(1),o?(0,u.d)(h):(0,y.T)(()=>new n.K))}},7398:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{s.next(y.call(u,h,m++))}))})}},975:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});var n=_(7398);function f(D){return(0,n.U)(()=>D)}},7537:(Me,ie,_)=>{"use strict";_.d(ie,{J:()=>D});var n=_(9769),f=_(2737);function D(y=1/0){return(0,n.z)(f.y,y)}},564:(Me,ie,_)=>{"use strict";_.d(ie,{p:()=>y});var n=_(4829),f=_(7103),D=_(8251);function y(u,v,s,m,h,o,l,r){const c=[];let d=0,g=0,b=!1;const C=()=>{b&&!c.length&&!d&&v.complete()},x=T=>d{o&&v.next(T),d++;let S=!1;(0,n.Xf)(s(T,g++)).subscribe((0,D.x)(v,M=>{h?.(M),o?x(M):v.next(M)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&dw(M)):w(M)}C()}catch(M){v.error(M)}}))};return u.subscribe((0,D.x)(v,x,()=>{b=!0,C()})),()=>{r?.()}}},9769:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>v});var n=_(7398),f=_(4829),D=_(9360),y=_(564),u=_(4674);function v(s,m,h=1/0){return(0,u.m)(m)?v((o,l)=>(0,n.U)((r,c)=>m(o,r,l,c))((0,f.Xf)(s(o,l))),h):("number"==typeof m&&(h=m),(0,D.e)((o,l)=>(0,y.p)(o,l,s,h)))}},3093:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>y});var n=_(7103),f=_(9360),D=_(8251);function y(u,v=0){return(0,f.e)((s,m)=>{s.subscribe((0,D.x)(m,h=>(0,n.f)(m,u,()=>m.next(h),v),()=>(0,n.f)(m,u,()=>m.complete(),v),h=>(0,n.f)(m,u,()=>m.error(h),v)))})}},6196:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>D});var n=_(9360),f=_(8251);function D(){return(0,n.e)((y,u)=>{let v=null;y._refCount++;const s=(0,f.x)(u,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(v=null);const m=y._connection,h=v;v=null,m&&(!h||m===h)&&m.unsubscribe(),u.unsubscribe()});y.subscribe(s),s.closed||(v=y.connect())})}},6424:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>D});var n=_(9360),f=_(9732);function D(y,u){return(0,n.e)((0,f.U)(y,u,arguments.length>=2,!0))}},9732:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>f});var n=_(8251);function f(D,y,u,v,s){return(m,h)=>{let o=u,l=y,r=0;m.subscribe((0,n.x)(h,c=>{const d=r++;l=o?D(l,c,d):(o=!0,c),v&&h.next(l)},s&&(()=>{o&&h.next(l),h.complete()})))}}},3020:(Me,ie,_)=>{"use strict";_.d(ie,{B:()=>u});var n=_(4829),f=_(8645),D=_(305),y=_(9360);function u(s={}){const{connector:m=(()=>new f.x),resetOnError:h=!0,resetOnComplete:o=!0,resetOnRefCountZero:l=!0}=s;return r=>{let c,d,g,b=0,C=!1,x=!1;const w=()=>{d?.unsubscribe(),d=void 0},T=()=>{w(),c=g=void 0,C=x=!1},S=()=>{const M=c;T(),M?.unsubscribe()};return(0,y.e)((M,k)=>{b++,!x&&!C&&w();const I=g=g??m();k.add(()=>{b--,0===b&&!x&&!C&&(d=v(S,l))}),I.subscribe(k),!c&&b>0&&(c=new D.Hp({next:P=>I.next(P),error:P=>{x=!0,w(),d=v(T,h,P),I.error(P)},complete:()=>{C=!0,w(),d=v(T,o),I.complete()}}),(0,n.Xf)(M).subscribe(c))})(r)}}function v(s,m,...h){if(!0===m)return void s();if(!1===m)return;const o=new D.Hp({next:()=>{o.unsubscribe(),s()}});return(0,n.Xf)(m(...h)).subscribe(o)}},7081:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(7328),f=_(3020);function D(y,u,v){let s,m=!1;return y&&"object"==typeof y?({bufferSize:s=1/0,windowTime:u=1/0,refCount:m=!1,scheduler:v}=y):s=y??1/0,(0,f.B)({connector:()=>new n.t(s,u,v),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:m})}},836:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>f});var n=_(2181);function f(D){return(0,n.h)((y,u)=>D<=u)}},7921:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y});var n=_(34),f=_(9940),D=_(9360);function y(...u){const v=(0,f.yG)(u);return(0,D.e)((s,m)=>{(v?(0,n.z)(u,s,v):(0,n.z)(u,s)).subscribe(m)})}},5137:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>f});var n=_(9360);function f(D,y=0){return(0,n.e)((u,v)=>{v.add(D.schedule(()=>u.subscribe(v),y))})}},4664:(Me,ie,_)=>{"use strict";_.d(ie,{w:()=>y});var n=_(4829),f=_(9360),D=_(8251);function y(u,v){return(0,f.e)((s,m)=>{let h=null,o=0,l=!1;const r=()=>l&&!h&&m.complete();s.subscribe((0,D.x)(m,c=>{h?.unsubscribe();let d=0;const g=o++;(0,n.Xf)(u(c,g)).subscribe(h=(0,D.x)(m,b=>m.next(v?v(c,b,g,d++):b),()=>{h=null,r()}))},()=>{l=!0,r()}))})}},8180:(Me,ie,_)=>{"use strict";_.d(ie,{q:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=0;v.subscribe((0,D.x)(s,h=>{++m<=u&&(s.next(h),u<=m&&s.complete())}))})}},4418:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=[];v.subscribe((0,D.x)(s,h=>{m.push(h),u{for(const h of m)s.next(h);s.complete()},void 0,()=>{m=null}))})}},9773:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>u});var n=_(9360),f=_(8251),D=_(4829),y=_(2420);function u(v){return(0,n.e)((s,m)=>{(0,D.Xf)(v).subscribe((0,f.x)(m,()=>m.complete(),y.Z)),!m.closed&&s.subscribe(m)})}},812:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>D});var n=_(9360),f=_(8251);function D(y,u=!1){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{const o=y(h,m++);(o||u)&&s.next(h),!o&&s.complete()}))})}},9397:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>u});var n=_(4674),f=_(9360),D=_(8251),y=_(2737);function u(v,s,m){const h=(0,n.m)(v)||s||m?{next:v,error:s,complete:m}:v;return h?(0,f.e)((o,l)=>{var r;null===(r=h.subscribe)||void 0===r||r.call(h);let c=!0;o.subscribe((0,D.x)(l,d=>{var g;null===(g=h.next)||void 0===g||g.call(h,d),l.next(d)},()=>{var d;c=!1,null===(d=h.complete)||void 0===d||d.call(h),l.complete()},d=>{var g;c=!1,null===(g=h.error)||void 0===g||g.call(h,d),l.error(d)},()=>{var d,g;c&&(null===(d=h.unsubscribe)||void 0===d||d.call(h)),null===(g=h.finalize)||void 0===g||g.call(h)}))}):y.y}},3026:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>y});var n=_(6973),f=_(9360),D=_(8251);function y(v=u){return(0,f.e)((s,m)=>{let h=!1;s.subscribe((0,D.x)(m,o=>{h=!0,m.next(o)},()=>h?m.complete():m.error(v())))})}function u(){return new n.K}},5178:(Me,ie,_)=>{"use strict";_.d(ie,{V:()=>h});var n=_(6321),f=_(93),D=_(9360),y=_(4829),u=_(2306),v=_(8251),s=_(7103);const m=(0,u.d)(l=>function(c=null){l(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=c});function h(l,r){const{first:c,each:d,with:g=o,scheduler:b=r??n.z,meta:C=null}=(0,f.q)(l)?{first:l}:"number"==typeof l?{each:l}:l;if(null==c&&null==d)throw new TypeError("No timeout provided.");return(0,D.e)((x,w)=>{let T,S,M=null,k=0;const I=P=>{S=(0,s.f)(w,b,()=>{try{T.unsubscribe(),(0,y.Xf)(g({meta:C,lastValue:M,seen:k})).subscribe(w)}catch(A){w.error(A)}},P)};T=x.subscribe((0,v.x)(w,P=>{S?.unsubscribe(),k++,w.next(M=P),d>0&&I(d)},void 0,void 0,()=>{S?.closed||S?.unsubscribe(),M=null})),!k&&I(null!=c?"number"==typeof c?c:+c-b.now():d)})}function o(l){throw new m(l)}},1954:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>u});var n=_(7394);class f extends n.w0{constructor(s,m){super()}schedule(s,m=0){return this}}const D={setInterval(v,s,...m){const{delegate:h}=D;return h?.setInterval?h.setInterval(v,s,...m):setInterval(v,s,...m)},clearInterval(v){const{delegate:s}=D;return(s?.clearInterval||clearInterval)(v)},delegate:void 0};var y=_(9039);class u extends f{constructor(s,m){super(s,m),this.scheduler=s,this.work=m,this.pending=!1}schedule(s,m=0){var h;if(this.closed)return this;this.state=s;const o=this.id,l=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(l,o,m)),this.pending=!0,this.delay=m,this.id=null!==(h=this.id)&&void 0!==h?h:this.requestAsyncId(l,this.id,m),this}requestAsyncId(s,m,h=0){return D.setInterval(s.flush.bind(s,this),h)}recycleAsyncId(s,m,h=0){if(null!=h&&this.delay===h&&!1===this.pending)return m;null!=m&&D.clearInterval(m)}execute(s,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(s,m);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,m){let o,h=!1;try{this.work(s)}catch(l){h=!0,o=l||new Error("Scheduled action threw falsy error")}if(h)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:s,scheduler:m}=this,{actions:h}=m;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.P)(h,this),null!=s&&(this.id=this.recycleAsyncId(m,s,null)),this.delay=null,super.unsubscribe()}}}},2631:(Me,ie,_)=>{"use strict";_.d(ie,{v:()=>D});var n=_(4552);class f{constructor(u,v=f.now){this.schedulerActionCtor=u,this.now=v}schedule(u,v=0,s){return new this.schedulerActionCtor(this,u).schedule(s,v)}}f.now=n.l.now;class D extends f{constructor(u,v=f.now){super(u,v),this.actions=[],this._active=!1}flush(u){const{actions:v}=this;if(this._active)return void v.push(u);let s;this._active=!0;do{if(s=u.execute(u.state,u.delay))break}while(u=v.shift());if(this._active=!1,s){for(;u=v.shift();)u.unsubscribe();throw s}}}},927:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(1954),f=_(7394);const D={schedule(h){let o=requestAnimationFrame,l=cancelAnimationFrame;const{delegate:r}=D;r&&(o=r.requestAnimationFrame,l=r.cancelAnimationFrame);const c=o(d=>{l=void 0,h(d)});return new f.w0(()=>l?.(c))},requestAnimationFrame(...h){const{delegate:o}=D;return(o?.requestAnimationFrame||requestAnimationFrame)(...h)},cancelAnimationFrame(...h){const{delegate:o}=D;return(o?.cancelAnimationFrame||cancelAnimationFrame)(...h)},delegate:void 0};var u=_(2631);const s=new class v extends u.v{flush(o){this._active=!0;const l=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let c;o=o||r.shift();do{if(c=o.execute(o.state,o.delay))break}while((o=r[0])&&o.id===l&&r.shift());if(this._active=!1,c){for(;(o=r[0])&&o.id===l&&r.shift();)o.unsubscribe();throw c}}}(class y extends n.o{constructor(o,l){super(o,l),this.scheduler=o,this.work=l}requestAsyncId(o,l,r=0){return null!==r&&r>0?super.requestAsyncId(o,l,r):(o.actions.push(this),o._scheduled||(o._scheduled=D.requestAnimationFrame(()=>o.flush(void 0))))}recycleAsyncId(o,l,r=0){var c;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(o,l,r);const{actions:d}=o;null!=l&&(null===(c=d[d.length-1])||void 0===c?void 0:c.id)!==l&&(D.cancelAnimationFrame(l),o._scheduled=void 0)}})},6410:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>d});var n=_(1954);let D,f=1;const y={};function u(b){return b in y&&(delete y[b],!0)}const v={setImmediate(b){const C=f++;return y[C]=!0,D||(D=Promise.resolve()),D.then(()=>u(C)&&b()),C},clearImmediate(b){u(b)}},{setImmediate:m,clearImmediate:h}=v,o={setImmediate(...b){const{delegate:C}=o;return(C?.setImmediate||m)(...b)},clearImmediate(b){const{delegate:C}=o;return(C?.clearImmediate||h)(b)},delegate:void 0};var r=_(2631);const d=new class c extends r.v{flush(C){this._active=!0;const x=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let T;C=C||w.shift();do{if(T=C.execute(C.state,C.delay))break}while((C=w[0])&&C.id===x&&w.shift());if(this._active=!1,T){for(;(C=w[0])&&C.id===x&&w.shift();)C.unsubscribe();throw T}}}(class l extends n.o{constructor(C,x){super(C,x),this.scheduler=C,this.work=x}requestAsyncId(C,x,w=0){return null!==w&&w>0?super.requestAsyncId(C,x,w):(C.actions.push(this),C._scheduled||(C._scheduled=o.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,x,w=0){var T;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(C,x,w);const{actions:S}=C;null!=x&&(null===(T=S[S.length-1])||void 0===T?void 0:T.id)!==x&&(o.clearImmediate(x),C._scheduled===x&&(C._scheduled=void 0))}})},6321:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>y,z:()=>D});var n=_(1954);const D=new(_(2631).v)(n.o),y=D},4552:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n={setTimeout(f,D,...y){const{delegate:u}=n;return u?.setTimeout?u.setTimeout(f,D,...y):setTimeout(f,D,...y)},clearTimeout(f){const{delegate:D}=n;return(D?.clearTimeout||clearTimeout)(f)},delegate:void 0}},4971:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});const f=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});const f=(0,_(2306).d)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Me,ie,_)=>{"use strict";_.d(ie,{_6:()=>v,jO:()=>y,yG:()=>u});var n=_(4674),f=_(671);function D(s){return s[s.length-1]}function y(s){return(0,n.m)(D(s))?s.pop():void 0}function u(s){return(0,f.K)(D(s))?s.pop():void 0}function v(s,m){return"number"==typeof D(s)?s.pop():m}},7453:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>u});const{isArray:n}=Array,{getPrototypeOf:f,prototype:D,keys:y}=Object;function u(s){if(1===s.length){const m=s[0];if(n(m))return{args:m,keys:null};if(function v(s){return s&&"object"==typeof s&&f(s)===D}(m)){const h=y(m);return{args:h.map(o=>m[o]),keys:h}}}return{args:s,keys:null}}},7728:(Me,ie,_)=>{"use strict";_.d(ie,{k:()=>f});const{isArray:n}=Array;function f(D){return 1===D.length&&n(D[0])?D[0]:D}},9039:(Me,ie,_)=>{"use strict";function n(f,D){if(f){const y=f.indexOf(D);0<=y&&f.splice(y,1)}}_.d(ie,{P:()=>n})},2306:(Me,ie,_)=>{"use strict";function n(f){const y=f(u=>{Error.call(u),u.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}_.d(ie,{d:()=>n})},2714:(Me,ie,_)=>{"use strict";function n(f,D){return f.reduce((y,u,v)=>(y[u]=D[v],y),{})}_.d(ie,{n:()=>n})},1441:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y,x:()=>D});var n=_(2653);let f=null;function D(u){if(n.config.useDeprecatedSynchronousErrorHandling){const v=!f;if(v&&(f={errorThrown:!1,error:null}),u(),v){const{errorThrown:s,error:m}=f;if(f=null,s)throw m}}else u()}function y(u){n.config.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=u)}},7103:(Me,ie,_)=>{"use strict";function n(f,D,y,u=0,v=!1){const s=D.schedule(function(){y(),v?f.add(this.schedule(null,u)):this.unsubscribe()},u);if(f.add(s),!v)return s}_.d(ie,{f:()=>n})},2737:(Me,ie,_)=>{"use strict";function n(f){return f}_.d(ie,{y:()=>n})},4266:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n=f=>f&&"number"==typeof f.length&&"function"!=typeof f},5726:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>f});var n=_(4674);function f(D){return Symbol.asyncIterator&&(0,n.m)(D?.[Symbol.asyncIterator])}},93:(Me,ie,_)=>{"use strict";function n(f){return f instanceof Date&&!isNaN(f)}_.d(ie,{q:()=>n})},4674:(Me,ie,_)=>{"use strict";function n(f){return"function"==typeof f}_.d(ie,{m:()=>n})},8382:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>D});var n=_(4850),f=_(4674);function D(y){return(0,f.m)(y[n.L])}},3664:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>D});var n=_(4971),f=_(4674);function D(y){return(0,f.m)(y?.[n.h])}},2664:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(5592),f=_(4674);function D(y){return!!y&&(y instanceof n.y||(0,f.m)(y.lift)&&(0,f.m)(y.subscribe))}},4026:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>f});var n=_(4674);function f(D){return(0,n.m)(D?.then)}},541:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>y,Q:()=>D});var n=_(655),f=_(4674);function D(u){return(0,n.__asyncGenerator)(this,arguments,function*(){const s=u.getReader();try{for(;;){const{value:m,done:h}=yield(0,n.__await)(s.read());if(h)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(m)}}finally{s.releaseLock()}})}function y(u){return(0,f.m)(u?.getReader)}},671:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});var n=_(4674);function f(D){return D&&(0,n.m)(D.schedule)}},9360:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>f,e:()=>D});var n=_(4674);function f(y){return(0,n.m)(y?.lift)}function D(y){return u=>{if(f(u))return u.lift(function(v){try{return y(v,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>y});var n=_(7398);const{isArray:f}=Array;function y(u){return(0,n.U)(v=>function D(u,v){return f(v)?u(...v):u(v)}(u,v))}},2420:(Me,ie,_)=>{"use strict";function n(){}_.d(ie,{Z:()=>n})},8407:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D,z:()=>f});var n=_(2737);function f(...y){return D(y)}function D(y){return 0===y.length?n.y:1===y.length?y[0]:function(v){return y.reduce((s,m)=>m(s),v)}}},3894:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(2653),f=_(7599);function D(y){f.z.setTimeout(()=>{const{onUnhandledError:u}=n.config;if(!u)throw y;u(y)})}},9853:(Me,ie,_)=>{"use strict";function n(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(ie,{z:()=>n})},1385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{audit:()=>n.U,auditTime:()=>f.e,buffer:()=>s,bufferCount:()=>h,bufferTime:()=>d,bufferToggle:()=>g,bufferWhen:()=>b,catchError:()=>C.K,combineAll:()=>R,combineLatest:()=>W,combineLatestAll:()=>F,combineLatestWith:()=>ne,concat:()=>B,concatAll:()=>ee.u,concatMap:()=>$.b,concatMapTo:()=>H,concatWith:()=>te,connect:()=>Ye,count:()=>Ze,debounce:()=>Et,debounceTime:()=>Te.b,defaultIfEmpty:()=>qe.d,delay:()=>Ee.g,delayWhen:()=>Ie.j,dematerialize:()=>Ke,distinct:()=>me,distinctUntilChanged:()=>Pe.x,distinctUntilKeyChanged:()=>Ne,elementAt:()=>cn,endWith:()=>an,every:()=>En,exhaust:()=>De,exhaustAll:()=>Ft,exhaustMap:()=>Bt,expand:()=>Xe,filter:()=>Ot.h,finalize:()=>St.x,find:()=>tt,findIndex:()=>Oe,first:()=>Ct.P,flatMap:()=>nt,groupBy:()=>Pt,ignoreElements:()=>Nt.l,isEmpty:()=>bt,last:()=>_e.Z,map:()=>un.U,mapTo:()=>ce.h,materialize:()=>z,max:()=>oe,merge:()=>at,mergeAll:()=>Se.J,mergeMap:()=>M.z,mergeMapTo:()=>mt,mergeScan:()=>He,mergeWith:()=>rt,min:()=>Lt,multicast:()=>tn,observeOn:()=>Nn.Q,onErrorResumeNext:()=>Hi,pairwise:()=>Yn,partition:()=>pn,pluck:()=>Ue,publish:()=>ot,publishBehavior:()=>qt,publishLast:()=>dt,publishReplay:()=>Ut,race:()=>Ht,raceWith:()=>vt,reduce:()=>I,refCount:()=>de.x,repeat:()=>ze,repeatWhen:()=>en,retry:()=>Y,retryWhen:()=>pe,sample:()=>Qe,sampleTime:()=>hn,scan:()=>On.R,sequenceEqual:()=>Bn,share:()=>Zn.B,shareReplay:()=>Ei.d,single:()=>Gi,skip:()=>fr.T,skipLast:()=>Tn,skipUntil:()=>Ki,skipWhile:()=>qn,startWith:()=>Pn.O,subscribeOn:()=>Qn.R,switchAll:()=>mr,switchMap:()=>Fi.w,switchMapTo:()=>er,switchScan:()=>_n,take:()=>jt.q,takeLast:()=>wn.h,takeUntil:()=>Fn.R,takeWhile:()=>Ln.o,tap:()=>Mi.b,throttle:()=>Vn,throttleTime:()=>Ui,throwIfEmpty:()=>Yt.T,timeInterval:()=>sr,timeout:()=>Gr.V,timeoutWith:()=>Lr,timestamp:()=>Cr,toArray:()=>A,window:()=>Zi,windowCount:()=>or,windowTime:()=>oi,windowToggle:()=>wr,windowWhen:()=>Fr,withLatestFrom:()=>ps,zip:()=>Tr,zipAll:()=>qr,zipWith:()=>Ur});var n=_(6301),f=_(8672),D=_(9360),y=_(2420),u=_(8251),v=_(4829);function s(Dt){return(0,D.e)((gt,Tt)=>{let It=[];return gt.subscribe((0,u.x)(Tt,$t=>It.push($t),()=>{Tt.next(It),Tt.complete()})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{const $t=It;It=[],Tt.next($t)},y.Z)),()=>{It=null}})}var m=_(9039);function h(Dt,gt=null){return gt=gt??Dt,(0,D.e)((Tt,It)=>{let $t=[],Gt=0;Tt.subscribe((0,u.x)(It,on=>{let vn=null;Gt++%gt==0&&$t.push([]);for(const bn of $t)bn.push(on),Dt<=bn.length&&(vn=vn??[],vn.push(bn));if(vn)for(const bn of vn)(0,m.P)($t,bn),It.next(bn)},()=>{for(const on of $t)It.next(on);It.complete()},void 0,()=>{$t=null}))})}var o=_(7394),l=_(6321),r=_(9940),c=_(7103);function d(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=ri=>{const{buffer:Kn,subs:li}=ri;li.unsubscribe(),(0,m.P)(An,ri),bn.next(Kn),Gn&&Ti()},Ti=()=>{if(An){const ri=new o.w0;bn.add(ri);const li={buffer:[],subs:ri};An.push(li),(0,c.f)(ri,$t,()=>ai(li),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=(0,u.x)(bn,ri=>{const Kn=An.slice();for(const li of Kn){const{buffer:ji}=li;ji.push(ri),on<=ji.length&&ai(li)}},()=>{for(;An?.length;)bn.next(An.shift().buffer);Vi?.unsubscribe(),bn.complete(),bn.unsubscribe()},void 0,()=>An=null);vn.subscribe(Vi)})}function g(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[];(0,v.Xf)(Dt).subscribe((0,u.x)(It,Gt=>{const on=[];$t.push(on);const vn=new o.w0;vn.add((0,v.Xf)(gt(Gt)).subscribe((0,u.x)(It,()=>{(0,m.P)($t,on),It.next(on),vn.unsubscribe()},y.Z)))},y.Z)),Tt.subscribe((0,u.x)(It,Gt=>{for(const on of $t)on.push(Gt)},()=>{for(;$t.length>0;)It.next($t.shift());It.complete()}))})}function b(Dt){return(0,D.e)((gt,Tt)=>{let It=null,$t=null;const Gt=()=>{$t?.unsubscribe();const on=It;It=[],on&&Tt.next(on),(0,v.Xf)(Dt()).subscribe($t=(0,u.x)(Tt,Gt,y.Z))};Gt(),gt.subscribe((0,u.x)(Tt,on=>It?.push(on),()=>{It&&Tt.next(It),Tt.complete()},void 0,()=>It=$t=null))})}var C=_(6306),x=_(2572),w=_(2737),T=_(7400),S=_(8407),M=_(9769),k=_(9732);function I(Dt,gt){return(0,D.e)((0,k.U)(Dt,gt,arguments.length>=2,!1,!0))}const P=(Dt,gt)=>(Dt.push(gt),Dt);function A(){return(0,D.e)((Dt,gt)=>{I(P,[])(Dt).subscribe(gt)})}function L(Dt,gt){return(0,S.z)(A(),(0,M.z)(Tt=>Dt(Tt)),gt?(0,T.Z)(gt):w.y)}function F(Dt){return L(x.a,Dt)}const R=F;var U=_(7728);function W(...Dt){const gt=(0,r.jO)(Dt);return gt?(0,S.z)(W(...Dt),(0,T.Z)(gt)):(0,D.e)((Tt,It)=>{(0,x.l)([Tt,...(0,U.k)(Dt)])(It)})}function ne(...Dt){return W(...Dt)}var ee=_(1948),j=_(2459);function B(...Dt){const gt=(0,r.yG)(Dt);return(0,D.e)((Tt,It)=>{(0,ee.u)()((0,j.D)([Tt,...Dt],gt)).subscribe(It)})}var $=_(6328),Z=_(4674);function H(Dt,gt){return(0,Z.m)(gt)?(0,$.b)(()=>Dt,gt):(0,$.b)(()=>Dt)}function te(...Dt){return B(...Dt)}var ue=_(8645),ye=_(5592);const $e={connector:()=>new ue.x};function Ye(Dt,gt=$e){const{connector:Tt}=gt;return(0,D.e)((It,$t)=>{const Gt=Tt();(0,v.Xf)(Dt(function Ge(Dt){return new ye.y(gt=>Dt.subscribe(gt))}(Gt))).subscribe($t),$t.add(It.subscribe(Gt))})}function Ze(Dt){return I((gt,Tt,It)=>!Dt||Dt(Tt,It)?gt+1:gt,0)}function Et(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null,Gt=null;const on=()=>{if(Gt?.unsubscribe(),Gt=null,It){It=!1;const vn=$t;$t=null,Tt.next(vn)}};gt.subscribe((0,u.x)(Tt,vn=>{Gt?.unsubscribe(),It=!0,$t=vn,Gt=(0,u.x)(Tt,on,y.Z),(0,v.Xf)(Dt(vn)).subscribe(Gt)},()=>{on(),Tt.complete()},void 0,()=>{$t=Gt=null}))})}var Te=_(3620),qe=_(3572),Ee=_(7547),Ie=_(4610),Ce=_(6232),ge=_(2096),Ae=_(8504);class Re{constructor(gt,Tt,It){this.kind=gt,this.value=Tt,this.error=It,this.hasValue="N"===gt}observe(gt){return ke(this,gt)}do(gt,Tt,It){const{kind:$t,value:Gt,error:on}=this;return"N"===$t?gt?.(Gt):"E"===$t?Tt?.(on):It?.()}accept(gt,Tt,It){var $t;return(0,Z.m)(null===($t=gt)||void 0===$t?void 0:$t.next)?this.observe(gt):this.do(gt,Tt,It)}toObservable(){const{kind:gt,value:Tt,error:It}=this,$t="N"===gt?(0,ge.of)(Tt):"E"===gt?(0,Ae._)(()=>It):"C"===gt?Ce.E:0;if(!$t)throw new TypeError(`Unexpected notification kind ${gt}`);return $t}static createNext(gt){return new Re("N",gt)}static createError(gt){return new Re("E",void 0,gt)}static createComplete(){return Re.completeNotification}}function ke(Dt,gt){var Tt,It,$t;const{kind:Gt,value:on,error:vn}=Dt;if("string"!=typeof Gt)throw new TypeError('Invalid notification, missing "kind"');"N"===Gt?null===(Tt=gt.next)||void 0===Tt||Tt.call(gt,on):"E"===Gt?null===(It=gt.error)||void 0===It||It.call(gt,vn):null===($t=gt.complete)||void 0===$t||$t.call(gt)}function Ke(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>ke(Tt,gt)))})}function me(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=new Set;Tt.subscribe((0,u.x)(It,Gt=>{const on=Dt?Dt(Gt):Gt;$t.has(on)||($t.add(on),It.next(Gt))})),gt&&(0,v.Xf)(gt).subscribe((0,u.x)(It,()=>$t.clear(),y.Z))})}Re.completeNotification=new Re("C");var Pe=_(3997);function Ne(Dt,gt){return(0,Pe.x)((Tt,It)=>gt?gt(Tt[Dt],It[Dt]):Tt[Dt]===It[Dt])}var Be=_(2306);const yt=(0,Be.d)(Dt=>function(){Dt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Ot=_(2181),Yt=_(3026),jt=_(8180);function cn(Dt,gt){if(Dt<0)throw new yt;const Tt=arguments.length>=2;return It=>It.pipe((0,Ot.h)(($t,Gt)=>Gt===Dt),(0,jt.q)(1),Tt?(0,qe.d)(gt):(0,Yt.T)(()=>new yt))}var fn=_(34);function an(...Dt){return gt=>(0,fn.z)(gt,(0,ge.of)(...Dt))}function En(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=0;Tt.subscribe((0,u.x)(It,Gt=>{Dt.call(gt,Gt,$t++,Tt)||(It.next(!1),It.complete())},()=>{It.next(!0),It.complete()}))})}var un=_(7398);function Bt(Dt,gt){return gt?Tt=>Tt.pipe(Bt((It,$t)=>(0,v.Xf)(Dt(It,$t)).pipe((0,un.U)((Gt,on)=>gt(It,Gt,$t,on))))):(0,D.e)((Tt,It)=>{let $t=0,Gt=null,on=!1;Tt.subscribe((0,u.x)(It,vn=>{Gt||(Gt=(0,u.x)(It,void 0,()=>{Gt=null,on&&It.complete()}),(0,v.Xf)(Dt(vn,$t++)).subscribe(Gt))},()=>{on=!0,!Gt&&It.complete()}))})}function Ft(){return Bt(w.y)}const De=Ft;var Ve=_(564);function Xe(Dt,gt=1/0,Tt){return gt=(gt||0)<1?1/0:gt,(0,D.e)((It,$t)=>(0,Ve.p)(It,$t,Dt,gt,void 0,!0,Tt))}var St=_(4716);function tt(Dt,gt){return(0,D.e)(ut(Dt,gt,"value"))}function ut(Dt,gt,Tt){const It="index"===Tt;return($t,Gt)=>{let on=0;$t.subscribe((0,u.x)(Gt,vn=>{const bn=on++;Dt.call(gt,vn,bn,$t)&&(Gt.next(It?bn:vn),Gt.complete())},()=>{Gt.next(It?-1:void 0),Gt.complete()}))}}function Oe(Dt,gt){return(0,D.e)(ut(Dt,gt,"index"))}var Ct=_(1374);function Pt(Dt,gt,Tt,It){return(0,D.e)(($t,Gt)=>{let on;gt&&"function"!=typeof gt?({duration:Tt,element:on,connector:It}=gt):on=gt;const vn=new Map,bn=ri=>{vn.forEach(ri),ri(Gt)},An=ri=>bn(Kn=>Kn.error(ri));let Gn=0,ai=!1;const Ti=new u.Q(Gt,ri=>{try{const Kn=Dt(ri);let li=vn.get(Kn);if(!li){vn.set(Kn,li=It?It():new ue.x);const ji=function Vi(ri,Kn){const li=new ye.y(ji=>{Gn++;const lr=Kn.subscribe(ji);return()=>{lr.unsubscribe(),0==--Gn&&ai&&Ti.unsubscribe()}});return li.key=ri,li}(Kn,li);if(Gt.next(ji),Tt){const lr=(0,u.x)(li,()=>{li.complete(),lr?.unsubscribe()},void 0,void 0,()=>vn.delete(Kn));Ti.add((0,v.Xf)(Tt(ji)).subscribe(lr))}}li.next(on?on(ri):ri)}catch(Kn){An(Kn)}},()=>bn(ri=>ri.complete()),An,()=>vn.clear(),()=>(ai=!0,0===Gn));$t.subscribe(Ti)})}var Nt=_(7538);function bt(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,()=>{gt.next(!1),gt.complete()},()=>{gt.next(!0),gt.complete()}))})}var _e=_(2032),ce=_(975);function z(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>{gt.next(Re.createNext(Tt))},()=>{gt.next(Re.createComplete()),gt.complete()},Tt=>{gt.next(Re.createError(Tt)),gt.complete()}))})}function oe(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)>0?gt:Tt:(gt,Tt)=>gt>Tt?gt:Tt)}var Se=_(7537);function at(...Dt){const gt=(0,r.yG)(Dt),Tt=(0,r._6)(Dt,1/0);return Dt=(0,U.k)(Dt),(0,D.e)((It,$t)=>{(0,Se.J)(Tt)((0,j.D)([It,...Dt],gt)).subscribe($t)})}const nt=M.z;function mt(Dt,gt,Tt=1/0){return(0,Z.m)(gt)?(0,M.z)(()=>Dt,gt,Tt):("number"==typeof gt&&(Tt=gt),(0,M.z)(()=>Dt,Tt))}function He(Dt,gt,Tt=1/0){return(0,D.e)((It,$t)=>{let Gt=gt;return(0,Ve.p)(It,$t,(on,vn)=>Dt(Gt,on,vn),Tt,on=>{Gt=on},!1,void 0,()=>Gt=null)})}function rt(...Dt){return at(...Dt)}function Lt(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)<0?gt:Tt:(gt,Tt)=>gtDt;return(0,Z.m)(gt)?Ye(gt,{connector:Tt}):It=>new Xt.c(It,Tt)}var Nn=_(3093);const Hi=function _i(...Dt){const gt=(0,U.k)(Dt);return Tt=>function ui(...Dt){const gt=(0,U.k)(Dt);return new ye.y(Tt=>{let It=0;const $t=()=>{if(It{let Tt,It=!1;Dt.subscribe((0,u.x)(gt,$t=>{const Gt=Tt;Tt=$t,It&>.next([Gt,$t]),It=!0}))})}function st(Dt,gt){return(Tt,It)=>!Dt.call(gt,Tt,It)}function pn(Dt,gt){return Tt=>[(0,Ot.h)(Dt,gt)(Tt),(0,Ot.h)(st(Dt,gt))(Tt)]}function Ue(...Dt){const gt=Dt.length;if(0===gt)throw new Error("list of properties cannot be empty.");return(0,un.U)(Tt=>{let It=Tt;for(let $t=0;$tYe(Dt)(gt):gt=>tn(new ue.x)(gt)}var At=_(5619);function qt(Dt){return gt=>{const Tt=new At.X(Dt);return new Xt.c(gt,()=>Tt)}}class it extends ue.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(gt){const{hasError:Tt,_hasValue:It,_value:$t,thrownError:Gt,isStopped:on,_isComplete:vn}=this;Tt?gt.error(Gt):(on||vn)&&(It&>.next($t),gt.complete())}next(gt){this.isStopped||(this._value=gt,this._hasValue=!0)}complete(){const{_hasValue:gt,_value:Tt,_isComplete:It}=this;It||(this._isComplete=!0,gt&&super.next(Tt),super.complete())}}function dt(){return Dt=>{const gt=new it;return new Xt.c(Dt,()=>gt)}}var ct=_(7328);function Ut(Dt,gt,Tt,It){Tt&&!(0,Z.m)(Tt)&&(It=Tt);const $t=(0,Z.m)(Tt)?Tt:void 0;return Gt=>tn(new ct.t(Dt,gt,It),$t)(Gt)}var wt=_(3684);function vt(...Dt){return Dt.length?(0,D.e)((gt,Tt)=>{(0,wt.R)([gt,...Dt])(Tt)}):w.y}function Ht(...Dt){return vt(...(0,U.k)(Dt))}var dn=_(9080);function ze(Dt){let Tt,gt=1/0;return null!=Dt&&("object"==typeof Dt?({count:gt=1/0,delay:Tt}=Dt):gt=Dt),gt<=0?()=>Ce.E:(0,D.e)((It,$t)=>{let on,Gt=0;const vn=()=>{if(on?.unsubscribe(),on=null,null!=Tt){const An="number"==typeof Tt?(0,dn.H)(Tt):(0,v.Xf)(Tt(Gt)),Gn=(0,u.x)($t,()=>{Gn.unsubscribe(),bn()});An.subscribe(Gn)}else bn()},bn=()=>{let An=!1;on=It.subscribe((0,u.x)($t,void 0,()=>{++Gt{let It,Gt,$t=!1,on=!1,vn=!1;const bn=()=>vn&&on&&(Tt.complete(),!0),Gn=()=>{vn=!1,It=gt.subscribe((0,u.x)(Tt,void 0,()=>{vn=!0,!bn()&&(Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>{It?Gn():$t=!0},()=>{on=!0,bn()}))),Gt).next()})),$t&&(It.unsubscribe(),It=null,$t=!1,Gn())};Gn()})}function Y(Dt=1/0){let gt;gt=Dt&&"object"==typeof Dt?Dt:{count:Dt};const{count:Tt=1/0,delay:It,resetOnSuccess:$t=!1}=gt;return Tt<=0?w.y:(0,D.e)((Gt,on)=>{let bn,vn=0;const An=()=>{let Gn=!1;bn=Gt.subscribe((0,u.x)(on,ai=>{$t&&(vn=0),on.next(ai)},void 0,ai=>{if(vn++{bn?(bn.unsubscribe(),bn=null,An()):Gn=!0};if(null!=It){const Vi="number"==typeof It?(0,dn.H)(It):(0,v.Xf)(It(ai,vn)),ri=(0,u.x)(on,()=>{ri.unsubscribe(),Ti()},()=>{on.complete()});Vi.subscribe(ri)}else Ti()}else on.error(ai)})),Gn&&(bn.unsubscribe(),bn=null,An())};An()})}function pe(Dt){return(0,D.e)((gt,Tt)=>{let It,Gt,$t=!1;const on=()=>{It=gt.subscribe((0,u.x)(Tt,void 0,void 0,vn=>{Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>It?on():$t=!0))),Gt&&Gt.next(vn)})),$t&&(It.unsubscribe(),It=null,$t=!1,on())};on()})}var de=_(6196);function Qe(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null;gt.subscribe((0,u.x)(Tt,Gt=>{It=!0,$t=Gt})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{if(It){It=!1;const Gt=$t;$t=null,Tt.next(Gt)}},y.Z))})}function hn(Dt,gt=l.z){return Qe(function _t(Dt=0,gt=l.z){return Dt<0&&(Dt=0),(0,dn.H)(Dt,Dt,gt)}(Dt,gt))}var On=_(6424);function Bn(Dt,gt=((Tt,It)=>Tt===It)){return(0,D.e)((Tt,It)=>{const $t={buffer:[],complete:!1},Gt={buffer:[],complete:!1},on=bn=>{It.next(bn),It.complete()},vn=(bn,An)=>{const Gn=(0,u.x)(It,ai=>{const{buffer:Ti,complete:Vi}=An;0===Ti.length?Vi?on(!1):bn.buffer.push(ai):!gt(ai,Ti.shift())&&on(!1)},()=>{bn.complete=!0;const{complete:ai,buffer:Ti}=An;ai&&on(0===Ti.length),Gn?.unsubscribe()});return Gn};Tt.subscribe(vn($t,Gt)),(0,v.Xf)(Dt).subscribe(vn(Gt,$t))})}var Zn=_(3020),Ei=_(7081),qi=_(6973);const ki=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="SequenceError",this.message=Tt}),zi=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="NotFoundError",this.message=Tt});function Gi(Dt){return(0,D.e)((gt,Tt)=>{let $t,It=!1,Gt=!1,on=0;gt.subscribe((0,u.x)(Tt,vn=>{Gt=!0,(!Dt||Dt(vn,on++,gt))&&(It&&Tt.error(new ki("Too many matching values")),It=!0,$t=vn)},()=>{It?(Tt.next($t),Tt.complete()):Tt.error(Gt?new zi("No matching values"):new qi.K)}))})}var fr=_(836);function Tn(Dt){return Dt<=0?w.y:(0,D.e)((gt,Tt)=>{let It=new Array(Dt),$t=0;return gt.subscribe((0,u.x)(Tt,Gt=>{const on=$t++;if(on{It=null}})}function Ki(Dt){return(0,D.e)((gt,Tt)=>{let It=!1;const $t=(0,u.x)(Tt,()=>{$t?.unsubscribe(),It=!0},y.Z);(0,v.Xf)(Dt).subscribe($t),gt.subscribe((0,u.x)(Tt,Gt=>It&&Tt.next(Gt)))})}function qn(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=0;gt.subscribe((0,u.x)(Tt,Gt=>(It||(It=!Dt(Gt,$t++)))&&Tt.next(Gt)))})}var Pn=_(7921),Qn=_(5137),Fi=_(4664);function mr(){return(0,Fi.w)(w.y)}function er(Dt,gt){return(0,Z.m)(gt)?(0,Fi.w)(()=>Dt,gt):(0,Fi.w)(()=>Dt)}function _n(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=gt;return(0,Fi.w)((Gt,on)=>Dt($t,Gt,on),(Gt,on)=>($t=on,on))(Tt).subscribe(It),()=>{$t=null}})}var wn=_(4418),Fn=_(9773),Ln=_(812),Mi=_(9397);function Vn(Dt,gt){return(0,D.e)((Tt,It)=>{const{leading:$t=!0,trailing:Gt=!1}=gt??{};let on=!1,vn=null,bn=null,An=!1;const Gn=()=>{bn?.unsubscribe(),bn=null,Gt&&(Vi(),An&&It.complete())},ai=()=>{bn=null,An&&It.complete()},Ti=ri=>bn=(0,v.Xf)(Dt(ri)).subscribe((0,u.x)(It,Gn,ai)),Vi=()=>{if(on){on=!1;const ri=vn;vn=null,It.next(ri),!An&&Ti(ri)}};Tt.subscribe((0,u.x)(It,ri=>{on=!0,vn=ri,(!bn||bn.closed)&&($t?Vi():Ti(ri))},()=>{An=!0,(!(Gt&&on&&bn)||bn.closed)&&It.complete()}))})}function Ui(Dt,gt=l.z,Tt){const It=(0,dn.H)(Dt,gt);return Vn(()=>It,Tt)}function sr(Dt=l.z){return(0,D.e)((gt,Tt)=>{let It=Dt.now();gt.subscribe((0,u.x)(Tt,$t=>{const Gt=Dt.now(),on=Gt-It;It=Gt,Tt.next(new pr($t,on))}))})}class pr{constructor(gt,Tt){this.value=gt,this.interval=Tt}}var Gr=_(5178),Sr=_(93);function Lr(Dt,gt,Tt){let It,$t,Gt;if(Tt=Tt??l.P,(0,Sr.q)(Dt)?It=Dt:"number"==typeof Dt&&($t=Dt),!gt)throw new TypeError("No observable provided to switch to");if(Gt=()=>gt,null==It&&null==$t)throw new TypeError("No timeout provided.");return(0,Gr.V)({first:It,each:$t,scheduler:Tt,with:Gt})}var tr=_(4552);function Cr(Dt=tr.l){return(0,un.U)(gt=>({value:gt,timestamp:Dt.now()}))}function Zi(Dt){return(0,D.e)((gt,Tt)=>{let It=new ue.x;Tt.next(It.asObservable());const $t=Gt=>{It.error(Gt),Tt.error(Gt)};return gt.subscribe((0,u.x)(Tt,Gt=>It?.next(Gt),()=>{It.complete(),Tt.complete()},$t)),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{It.complete(),Tt.next(It=new ue.x)},y.Z,$t)),()=>{It?.unsubscribe(),It=null}})}function or(Dt,gt=0){const Tt=gt>0?gt:Dt;return(0,D.e)((It,$t)=>{let Gt=[new ue.x],on=[],vn=0;$t.next(Gt[0].asObservable()),It.subscribe((0,u.x)($t,bn=>{for(const Gn of Gt)Gn.next(bn);const An=vn-Dt+1;if(An>=0&&An%Tt==0&&Gt.shift().complete(),++vn%Tt==0){const Gn=new ue.x;Gt.push(Gn),$t.next(Gn.asObservable())}},()=>{for(;Gt.length>0;)Gt.shift().complete();$t.complete()},bn=>{for(;Gt.length>0;)Gt.shift().error(bn);$t.error(bn)},()=>{on=null,Gt=null}))})}function oi(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=Kn=>{const{window:li,subs:ji}=Kn;li.complete(),ji.unsubscribe(),(0,m.P)(An,Kn),Gn&&Ti()},Ti=()=>{if(An){const Kn=new o.w0;bn.add(Kn);const li=new ue.x,ji={window:li,subs:Kn,seen:0};An.push(ji),bn.next(li.asObservable()),(0,c.f)(Kn,$t,()=>ai(ji),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=Kn=>An.slice().forEach(Kn),ri=Kn=>{Vi(({window:li})=>Kn(li)),Kn(bn),bn.unsubscribe()};return vn.subscribe((0,u.x)(bn,Kn=>{Vi(li=>{li.window.next(Kn),on<=++li.seen&&ai(li)})},()=>ri(Kn=>Kn.complete()),Kn=>ri(li=>li.error(Kn)))),()=>{An=null}})}function wr(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[],Gt=on=>{for(;0<$t.length;)$t.shift().error(on);It.error(on)};(0,v.Xf)(Dt).subscribe((0,u.x)(It,on=>{const vn=new ue.x;$t.push(vn);const bn=new o.w0;let Gn;try{Gn=(0,v.Xf)(gt(on))}catch(ai){return void Gt(ai)}It.next(vn.asObservable()),bn.add(Gn.subscribe((0,u.x)(It,()=>{(0,m.P)($t,vn),vn.complete(),bn.unsubscribe()},y.Z,Gt)))},y.Z)),Tt.subscribe((0,u.x)(It,on=>{const vn=$t.slice();for(const bn of vn)bn.next(on)},()=>{for(;0<$t.length;)$t.shift().complete();It.complete()},Gt,()=>{for(;0<$t.length;)$t.shift().unsubscribe()}))})}function Fr(Dt){return(0,D.e)((gt,Tt)=>{let It,$t;const Gt=vn=>{It.error(vn),Tt.error(vn)},on=()=>{let vn;$t?.unsubscribe(),It?.complete(),It=new ue.x,Tt.next(It.asObservable());try{vn=(0,v.Xf)(Dt())}catch(bn){return void Gt(bn)}vn.subscribe($t=(0,u.x)(Tt,on,on,Gt))};on(),gt.subscribe((0,u.x)(Tt,vn=>It.next(vn),()=>{It.complete(),Tt.complete()},Gt,()=>{$t?.unsubscribe(),It=null}))})}function ps(...Dt){const gt=(0,r.jO)(Dt);return(0,D.e)((Tt,It)=>{const $t=Dt.length,Gt=new Array($t);let on=Dt.map(()=>!1),vn=!1;for(let bn=0;bn<$t;bn++)(0,v.Xf)(Dt[bn]).subscribe((0,u.x)(It,An=>{Gt[bn]=An,!vn&&!on[bn]&&(on[bn]=!0,(vn=on.every(w.y))&&(on=null))},y.Z));Tt.subscribe((0,u.x)(It,bn=>{if(vn){const An=[bn,...Gt];It.next(gt?gt(...An):An)}}))})}var Jr=_(9278);function Tr(...Dt){return(0,D.e)((gt,Tt)=>{(0,Jr.$)(gt,...Dt).subscribe(Tt)})}function qr(Dt){return L(Jr.$,Dt)}function Ur(...Dt){return Tr(...Dt)}},6144:Me=>{"use strict";Me.exports=(ie,_)=>{if("string"!=typeof ie||"string"!=typeof _)throw new TypeError("Expected the arguments to be of type `string`");if(""===_)return[ie];const n=ie.indexOf(_);return-1===n?[ie]:[ie.slice(0,n),ie.slice(n+_.length)]}},8385:Me=>{"use strict";Me.exports=ie=>encodeURIComponent(ie).replace(/[!'()*]/g,_=>`%${_.charCodeAt(0).toString(16).toUpperCase()}`)},655:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{__addDisposableResource:()=>ne,__assign:()=>D,__asyncDelegator:()=>k,__asyncGenerator:()=>M,__asyncValues:()=>I,__await:()=>S,__awaiter:()=>r,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>U,__createBinding:()=>d,__decorate:()=>u,__disposeResources:()=>j,__esDecorate:()=>s,__exportStar:()=>g,__extends:()=>f,__generator:()=>c,__importDefault:()=>F,__importStar:()=>L,__makeTemplateObject:()=>P,__metadata:()=>l,__param:()=>v,__propKey:()=>h,__read:()=>C,__rest:()=>y,__runInitializers:()=>m,__setFunctionName:()=>o,__spread:()=>x,__spreadArray:()=>T,__spreadArrays:()=>w,__values:()=>b,default:()=>B});var n=function($,Z){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,te){H.__proto__=te}||function(H,te){for(var ue in te)Object.prototype.hasOwnProperty.call(te,ue)&&(H[ue]=te[ue])})($,Z)};function f($,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function H(){this.constructor=$}n($,Z),$.prototype=null===Z?Object.create(Z):(H.prototype=Z.prototype,new H)}var D=function(){return D=Object.assign||function(Z){for(var H,te=1,ue=arguments.length;te=0;$e--)(Ge=$[$e])&&(ye=(ue<3?Ge(ye):ue>3?Ge(Z,H,ye):Ge(Z,H))||ye);return ue>3&&ye&&Object.defineProperty(Z,H,ye),ye}function v($,Z){return function(H,te){Z(H,te,$)}}function s($,Z,H,te,ue,ye){function Ge(Ae){if(void 0!==Ae&&"function"!=typeof Ae)throw new TypeError("Function expected");return Ae}for(var Te,$e=te.kind,Ye="getter"===$e?"get":"setter"===$e?"set":"value",Ze=!Z&&$?te.static?$:$.prototype:null,Et=Z||(Ze?Object.getOwnPropertyDescriptor(Ze,te.name):{}),qe=!1,Ee=H.length-1;Ee>=0;Ee--){var Ie={};for(var Ce in te)Ie[Ce]="access"===Ce?{}:te[Ce];for(var Ce in te.access)Ie.access[Ce]=te.access[Ce];Ie.addInitializer=function(Ae){if(qe)throw new TypeError("Cannot add initializers after decoration has completed");ye.push(Ge(Ae||null))};var ge=(0,H[Ee])("accessor"===$e?{get:Et.get,set:Et.set}:Et[Ye],Ie);if("accessor"===$e){if(void 0===ge)continue;if(null===ge||"object"!=typeof ge)throw new TypeError("Object expected");(Te=Ge(ge.get))&&(Et.get=Te),(Te=Ge(ge.set))&&(Et.set=Te),(Te=Ge(ge.init))&&ue.unshift(Te)}else(Te=Ge(ge))&&("field"===$e?ue.unshift(Te):Et[Ye]=Te)}Ze&&Object.defineProperty(Ze,te.name,Et),qe=!0}function m($,Z,H){for(var te=arguments.length>2,ue=0;ue0&&ye[ye.length-1])&&(6===Ze[0]||2===Ze[0])){H=0;continue}if(3===Ze[0]&&(!ye||Ze[1]>ye[0]&&Ze[1]=$.length&&($=void 0),{value:$&&$[te++],done:!$}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")}function C($,Z){var H="function"==typeof Symbol&&$[Symbol.iterator];if(!H)return $;var ue,Ge,te=H.call($),ye=[];try{for(;(void 0===Z||Z-- >0)&&!(ue=te.next()).done;)ye.push(ue.value)}catch($e){Ge={error:$e}}finally{try{ue&&!ue.done&&(H=te.return)&&H.call(te)}finally{if(Ge)throw Ge.error}}return ye}function x(){for(var $=[],Z=0;Z1||$e(qe,Ee)})})}function $e(qe,Ee){try{!function Ye(qe){qe.value instanceof S?Promise.resolve(qe.value.v).then(Ze,Et):Te(ye[0][2],qe)}(te[qe](Ee))}catch(Ie){Te(ye[0][3],Ie)}}function Ze(qe){$e("next",qe)}function Et(qe){$e("throw",qe)}function Te(qe,Ee){qe(Ee),ye.shift(),ye.length&&$e(ye[0][0],ye[0][1])}}function k($){var Z,H;return Z={},te("next"),te("throw",function(ue){throw ue}),te("return"),Z[Symbol.iterator]=function(){return this},Z;function te(ue,ye){Z[ue]=$[ue]?function(Ge){return(H=!H)?{value:S($[ue](Ge)),done:!1}:ye?ye(Ge):Ge}:ye}}function I($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,Z=$[Symbol.asyncIterator];return Z?Z.call($):($=b($),H={},te("next"),te("throw"),te("return"),H[Symbol.asyncIterator]=function(){return this},H);function te(ye){H[ye]=$[ye]&&function(Ge){return new Promise(function($e,Ye){!function ue(ye,Ge,$e,Ye){Promise.resolve(Ye).then(function(Ze){ye({value:Ze,done:$e})},Ge)}($e,Ye,(Ge=$[ye](Ge)).done,Ge.value)})}}}function P($,Z){return Object.defineProperty?Object.defineProperty($,"raw",{value:Z}):$.raw=Z,$}var A=Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z};function L($){if($&&$.__esModule)return $;var Z={};if(null!=$)for(var H in $)"default"!==H&&Object.prototype.hasOwnProperty.call($,H)&&d(Z,$,H);return A(Z,$),Z}function F($){return $&&$.__esModule?$:{default:$}}function R($,Z,H,te){if("a"===H&&!te)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Z?$!==Z||!te:!Z.has($))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===H?te:"a"===H?te.call($):te?te.value:Z.get($)}function U($,Z,H,te,ue){if("m"===te)throw new TypeError("Private method is not writable");if("a"===te&&!ue)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Z?$!==Z||!ue:!Z.has($))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===te?ue.call($,H):ue?ue.value=H:Z.set($,H),H}function W($,Z){if(null===Z||"object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof $?Z===$:$.has(Z)}function ne($,Z,H){if(null!=Z){if("object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Object expected.");var te;if(H){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");te=Z[Symbol.asyncDispose]}if(void 0===te){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");te=Z[Symbol.dispose]}if("function"!=typeof te)throw new TypeError("Object not disposable.");$.stack.push({value:Z,dispose:te,async:H})}else H&&$.stack.push({async:!0});return Z}var ee="function"==typeof SuppressedError?SuppressedError:function($,Z,H){var te=new Error(H);return te.name="SuppressedError",te.error=$,te.suppressed=Z,te};function j($){function Z(te){$.error=$.hasError?new ee(te,$.error,"An error was suppressed during disposal."):te,$.hasError=!0}return function H(){for(;$.stack.length;){var te=$.stack.pop();try{var ue=te.dispose&&te.dispose.call(te.value);if(te.async)return Promise.resolve(ue).then(H,function(ye){return Z(ye),H()})}catch(ye){Z(ye)}}if($.hasError)throw $.error}()}const B={__extends:f,__assign:D,__rest:y,__decorate:u,__param:v,__metadata:l,__awaiter:r,__generator:c,__createBinding:d,__exportStar:g,__values:b,__read:C,__spread:x,__spreadArrays:w,__spreadArray:T,__await:S,__asyncGenerator:M,__asyncDelegator:k,__asyncValues:I,__makeTemplateObject:P,__importStar:L,__importDefault:F,__classPrivateFieldGet:R,__classPrivateFieldSet:U,__classPrivateFieldIn:W,__addDisposableResource:ne,__disposeResources:j}},6548:Me=>{function ie(Oe){return Oe instanceof Map?Oe.clear=Oe.delete=Oe.set=function(){throw new Error("map is read-only")}:Oe instanceof Set&&(Oe.add=Oe.clear=Oe.delete=function(){throw new Error("set is read-only")}),Object.freeze(Oe),Object.getOwnPropertyNames(Oe).forEach(Ct=>{const Pt=Oe[Ct],Nt=typeof Pt;("object"===Nt||"function"===Nt)&&!Object.isFrozen(Pt)&&ie(Pt)}),Oe}class _{constructor(Ct){void 0===Ct.data&&(Ct.data={}),this.data=Ct.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Oe){return Oe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function f(Oe,...Ct){const Pt=Object.create(null);for(const Nt in Oe)Pt[Nt]=Oe[Nt];return Ct.forEach(function(Nt){for(const bt in Nt)Pt[bt]=Nt[bt]}),Pt}const y=Oe=>!!Oe.scope;class v{constructor(Ct,Pt){this.buffer="",this.classPrefix=Pt.classPrefix,Ct.walk(this)}addText(Ct){this.buffer+=n(Ct)}openNode(Ct){if(!y(Ct))return;const Pt=((Oe,{prefix:Ct})=>{if(Oe.startsWith("language:"))return Oe.replace("language:","language-");if(Oe.includes(".")){const Pt=Oe.split(".");return[`${Ct}${Pt.shift()}`,...Pt.map((Nt,bt)=>`${Nt}${"_".repeat(bt+1)}`)].join(" ")}return`${Ct}${Oe}`})(Ct.scope,{prefix:this.classPrefix});this.span(Pt)}closeNode(Ct){y(Ct)&&(this.buffer+="")}value(){return this.buffer}span(Ct){this.buffer+=``}}const s=(Oe={})=>{const Ct={children:[]};return Object.assign(Ct,Oe),Ct};class m{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ct){this.top.children.push(Ct)}openNode(Ct){const Pt=s({scope:Ct});this.add(Pt),this.stack.push(Pt)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ct){return this.constructor._walk(Ct,this.rootNode)}static _walk(Ct,Pt){return"string"==typeof Pt?Ct.addText(Pt):Pt.children&&(Ct.openNode(Pt),Pt.children.forEach(Nt=>this._walk(Ct,Nt)),Ct.closeNode(Pt)),Ct}static _collapse(Ct){"string"!=typeof Ct&&Ct.children&&(Ct.children.every(Pt=>"string"==typeof Pt)?Ct.children=[Ct.children.join("")]:Ct.children.forEach(Pt=>{m._collapse(Pt)}))}}class h extends m{constructor(Ct){super(),this.options=Ct}addText(Ct){""!==Ct&&this.add(Ct)}startScope(Ct){this.openNode(Ct)}endScope(){this.closeNode()}__addSublanguage(Ct,Pt){const Nt=Ct.root;Pt&&(Nt.scope=`language:${Pt}`),this.add(Nt)}toHTML(){return new v(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function o(Oe){return Oe?"string"==typeof Oe?Oe:Oe.source:null}function l(Oe){return d("(?=",Oe,")")}function r(Oe){return d("(?:",Oe,")*")}function c(Oe){return d("(?:",Oe,")?")}function d(...Oe){return Oe.map(Pt=>o(Pt)).join("")}function b(...Oe){return"("+(function g(Oe){const Ct=Oe[Oe.length-1];return"object"==typeof Ct&&Ct.constructor===Object?(Oe.splice(Oe.length-1,1),Ct):{}}(Oe).capture?"":"?:")+Oe.map(Nt=>o(Nt)).join("|")+")"}function C(Oe){return new RegExp(Oe.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function T(Oe,{joinWith:Ct}){let Pt=0;return Oe.map(Nt=>{Pt+=1;const bt=Pt;let _e=o(Nt),ce="";for(;_e.length>0;){const z=w.exec(_e);if(!z){ce+=_e;break}ce+=_e.substring(0,z.index),_e=_e.substring(z.index+z[0].length),"\\"===z[0][0]&&z[1]?ce+="\\"+String(Number(z[1])+bt):(ce+=z[0],"("===z[0]&&Pt++)}return ce}).map(Nt=>`(${Nt})`).join(Ct)}const M="[a-zA-Z]\\w*",k="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A="\\b(0b[01]+)",R={begin:"\\\\[\\s\\S]",relevance:0},U={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[R]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[R]},ee=function(Oe,Ct,Pt={}){const Nt=f({scope:"comment",begin:Oe,end:Ct,contains:[]},Pt);Nt.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const bt=b("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Nt.contains.push({begin:d(/[ ]+/,"(",bt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Nt},j=ee("//","$"),B=ee("/\\*","\\*/"),$=ee("#","$");var Ze=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:R,BINARY_NUMBER_MODE:{scope:"number",begin:A,relevance:0},BINARY_NUMBER_RE:A,COMMENT:ee,C_BLOCK_COMMENT_MODE:B,C_LINE_COMMENT_MODE:j,C_NUMBER_MODE:{scope:"number",begin:P,relevance:0},C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(Oe){return Object.assign(Oe,{"on:begin":(Ct,Pt)=>{Pt.data._beginMatch=Ct[1]},"on:end":(Ct,Pt)=>{Pt.data._beginMatch!==Ct[1]&&Pt.ignoreMatch()}})},HASH_COMMENT_MODE:$,IDENT_RE:M,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+k,relevance:0},NUMBER_MODE:{scope:"number",begin:I,relevance:0},NUMBER_RE:I,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:W,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[R,{begin:/\[/,end:/\]/,relevance:0,contains:[R]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Oe={})=>{const Ct=/^#![ ]*\//;return Oe.binary&&(Oe.begin=d(Ct,/.*\b/,Oe.binary,/\b.*/)),f({scope:"meta",begin:Ct,end:/$/,relevance:0,"on:begin":(Pt,Nt)=>{0!==Pt.index&&Nt.ignoreMatch()}},Oe)},TITLE_MODE:{scope:"title",begin:M,relevance:0},UNDERSCORE_IDENT_RE:k,UNDERSCORE_TITLE_MODE:{scope:"title",begin:k,relevance:0}});function Et(Oe,Ct){"."===Oe.input[Oe.index-1]&&Ct.ignoreMatch()}function Te(Oe,Ct){void 0!==Oe.className&&(Oe.scope=Oe.className,delete Oe.className)}function qe(Oe,Ct){Ct&&Oe.beginKeywords&&(Oe.begin="\\b("+Oe.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Oe.__beforeBegin=Et,Oe.keywords=Oe.keywords||Oe.beginKeywords,delete Oe.beginKeywords,void 0===Oe.relevance&&(Oe.relevance=0))}function Ee(Oe,Ct){Array.isArray(Oe.illegal)&&(Oe.illegal=b(...Oe.illegal))}function Ie(Oe,Ct){if(Oe.match){if(Oe.begin||Oe.end)throw new Error("begin & end are not supported with match");Oe.begin=Oe.match,delete Oe.match}}function Ce(Oe,Ct){void 0===Oe.relevance&&(Oe.relevance=1)}const ge=(Oe,Ct)=>{if(!Oe.beforeMatch)return;if(Oe.starts)throw new Error("beforeMatch cannot be used with starts");const Pt=Object.assign({},Oe);Object.keys(Oe).forEach(Nt=>{delete Oe[Nt]}),Oe.keywords=Pt.keywords,Oe.begin=d(Pt.beforeMatch,l(Pt.begin)),Oe.starts={relevance:0,contains:[Object.assign(Pt,{endsParent:!0})]},Oe.relevance=0,delete Pt.beforeMatch},Ae=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function Re(Oe,Ct,Pt=q){const Nt=Object.create(null);return"string"==typeof Oe?bt(Pt,Oe.split(" ")):Array.isArray(Oe)?bt(Pt,Oe):Object.keys(Oe).forEach(function(_e){Object.assign(Nt,Re(Oe[_e],Ct,_e))}),Nt;function bt(_e,ce){Ct&&(ce=ce.map(z=>z.toLowerCase())),ce.forEach(function(z){const oe=z.split("|");Nt[oe[0]]=[_e,ke(oe[0],oe[1])]})}}function ke(Oe,Ct){return Ct?Number(Ct):function Ke(Oe){return Ae.includes(Oe.toLowerCase())}(Oe)?0:1}const me={},Pe=Oe=>{console.error(Oe)},Ne=(Oe,...Ct)=>{console.log(`WARN: ${Oe}`,...Ct)},Be=(Oe,Ct)=>{me[`${Oe}/${Ct}`]||(console.log(`Deprecated as of ${Oe}. ${Ct}`),me[`${Oe}/${Ct}`]=!0)},yt=new Error;function Ot(Oe,Ct,{key:Pt}){let Nt=0;const bt=Oe[Pt],_e={},ce={};for(let z=1;z<=Ct.length;z++)ce[z+Nt]=bt[z],_e[z+Nt]=!0,Nt+=C(Ct[z-1]);Oe[Pt]=ce,Oe[Pt]._emit=_e,Oe[Pt]._multi=!0}function fn(Oe){(function cn(Oe){Oe.scope&&"object"==typeof Oe.scope&&null!==Oe.scope&&(Oe.beginScope=Oe.scope,delete Oe.scope)})(Oe),"string"==typeof Oe.beginScope&&(Oe.beginScope={_wrap:Oe.beginScope}),"string"==typeof Oe.endScope&&(Oe.endScope={_wrap:Oe.endScope}),function Yt(Oe){if(Array.isArray(Oe.begin)){if(Oe.skip||Oe.excludeBegin||Oe.returnBegin)throw Pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yt;if("object"!=typeof Oe.beginScope||null===Oe.beginScope)throw Pe("beginScope must be object"),yt;Ot(Oe,Oe.begin,{key:"beginScope"}),Oe.begin=T(Oe.begin,{joinWith:""})}}(Oe),function jt(Oe){if(Array.isArray(Oe.end)){if(Oe.skip||Oe.excludeEnd||Oe.returnEnd)throw Pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yt;if("object"!=typeof Oe.endScope||null===Oe.endScope)throw Pe("endScope must be object"),yt;Ot(Oe,Oe.end,{key:"endScope"}),Oe.end=T(Oe.end,{joinWith:""})}}(Oe)}function an(Oe){function Ct(ce,z){return new RegExp(o(ce),"m"+(Oe.case_insensitive?"i":"")+(Oe.unicodeRegex?"u":"")+(z?"g":""))}class Pt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(z,oe){oe.position=this.position++,this.matchIndexes[this.matchAt]=oe,this.regexes.push([oe,z]),this.matchAt+=C(z)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const z=this.regexes.map(oe=>oe[1]);this.matcherRe=Ct(T(z,{joinWith:"|"}),!0),this.lastIndex=0}exec(z){this.matcherRe.lastIndex=this.lastIndex;const oe=this.matcherRe.exec(z);if(!oe)return null;const Se=oe.findIndex((nt,mt)=>mt>0&&void 0!==nt),at=this.matchIndexes[Se];return oe.splice(0,Se),Object.assign(oe,at)}}class Nt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(z){if(this.multiRegexes[z])return this.multiRegexes[z];const oe=new Pt;return this.rules.slice(z).forEach(([Se,at])=>oe.addRule(Se,at)),oe.compile(),this.multiRegexes[z]=oe,oe}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(z,oe){this.rules.push([z,oe]),"begin"===oe.type&&this.count++}exec(z){const oe=this.getMatcher(this.regexIndex);oe.lastIndex=this.lastIndex;let Se=oe.exec(z);if(this.resumingScanAtSamePosition()&&(!Se||Se.index!==this.lastIndex)){const at=this.getMatcher(0);at.lastIndex=this.lastIndex+1,Se=at.exec(z)}return Se&&(this.regexIndex+=Se.position+1,this.regexIndex===this.count&&this.considerAll()),Se}}if(Oe.compilerExtensions||(Oe.compilerExtensions=[]),Oe.contains&&Oe.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Oe.classNameAliases=f(Oe.classNameAliases||{}),function _e(ce,z){const oe=ce;if(ce.isCompiled)return oe;[Te,Ie,fn,ge].forEach(at=>at(ce,z)),Oe.compilerExtensions.forEach(at=>at(ce,z)),ce.__beforeBegin=null,[qe,Ee,Ce].forEach(at=>at(ce,z)),ce.isCompiled=!0;let Se=null;return"object"==typeof ce.keywords&&ce.keywords.$pattern&&(ce.keywords=Object.assign({},ce.keywords),Se=ce.keywords.$pattern,delete ce.keywords.$pattern),Se=Se||/\w+/,ce.keywords&&(ce.keywords=Re(ce.keywords,Oe.case_insensitive)),oe.keywordPatternRe=Ct(Se,!0),z&&(ce.begin||(ce.begin=/\B|\b/),oe.beginRe=Ct(oe.begin),!ce.end&&!ce.endsWithParent&&(ce.end=/\B|\b/),ce.end&&(oe.endRe=Ct(oe.end)),oe.terminatorEnd=o(oe.end)||"",ce.endsWithParent&&z.terminatorEnd&&(oe.terminatorEnd+=(ce.end?"|":"")+z.terminatorEnd)),ce.illegal&&(oe.illegalRe=Ct(ce.illegal)),ce.contains||(ce.contains=[]),ce.contains=[].concat(...ce.contains.map(function(at){return function un(Oe){return Oe.variants&&!Oe.cachedVariants&&(Oe.cachedVariants=Oe.variants.map(function(Ct){return f(Oe,{variants:null},Ct)})),Oe.cachedVariants?Oe.cachedVariants:En(Oe)?f(Oe,{starts:Oe.starts?f(Oe.starts):null}):Object.isFrozen(Oe)?f(Oe):Oe}("self"===at?ce:at)})),ce.contains.forEach(function(at){_e(at,oe)}),ce.starts&&_e(ce.starts,z),oe.matcher=function bt(ce){const z=new Nt;return ce.contains.forEach(oe=>z.addRule(oe.begin,{rule:oe,type:"begin"})),ce.terminatorEnd&&z.addRule(ce.terminatorEnd,{type:"end"}),ce.illegal&&z.addRule(ce.illegal,{type:"illegal"}),z}(oe),oe}(Oe)}function En(Oe){return!!Oe&&(Oe.endsWithParent||En(Oe.starts))}class Ft extends Error{constructor(Ct,Pt){super(Ct),this.name="HTMLInjectionError",this.html=Pt}}const De=n,Ve=f,Xe=Symbol("nomatch"),tt=function(Oe){const Ct=Object.create(null),Pt=Object.create(null),Nt=[];let bt=!0;const _e="Could not find the language '{}', did you forget to load/include a language module?",ce={disableAutodetect:!0,name:"Plain text",contains:[]};let z={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function oe(wt){return z.noHighlightRe.test(wt)}function at(wt,vt,Ht){let dn="",ze="";"object"==typeof vt?(dn=wt,Ht=vt.ignoreIllegals,ze=vt.language):(Be("10.7.0","highlight(lang, code, ...args) has been deprecated."),Be("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),ze=wt,dn=vt),void 0===Ht&&(Ht=!0);const en={code:dn,language:ze};ct("before:highlight",en);const Y=en.result?en.result:nt(en.language,en.code,Ht);return Y.code=en.code,ct("after:highlight",Y),Y}function nt(wt,vt,Ht,dn){const ze=Object.create(null);function en(_n,wn){return _n.keywords[wn]}function Y(){if(!Tn.keywords)return void qn.addText(Pn);let _n=0;Tn.keywordPatternRe.lastIndex=0;let wn=Tn.keywordPatternRe.exec(Pn),Fn="";for(;wn;){Fn+=Pn.substring(_n,wn.index);const Ln=zi.case_insensitive?wn[0].toLowerCase():wn[0],Mi=en(Tn,Ln);if(Mi){const[Vn,Ui]=Mi;qn.addText(Fn),Fn="",ze[Ln]=(ze[Ln]||0)+1,ze[Ln]<=7&&(Qn+=Ui),Vn.startsWith("_")?Fn+=wn[0]:Qe(wn[0],zi.classNameAliases[Vn]||Vn)}else Fn+=wn[0];_n=Tn.keywordPatternRe.lastIndex,wn=Tn.keywordPatternRe.exec(Pn)}Fn+=Pn.substring(_n),qn.addText(Fn)}function de(){null!=Tn.subLanguage?function pe(){if(""===Pn)return;let _n=null;if("string"==typeof Tn.subLanguage){if(!Ct[Tn.subLanguage])return void qn.addText(Pn);_n=nt(Tn.subLanguage,Pn,!0,Ki[Tn.subLanguage]),Ki[Tn.subLanguage]=_n._top}else _n=He(Pn,Tn.subLanguage.length?Tn.subLanguage:null);Tn.relevance>0&&(Qn+=_n.relevance),qn.__addSublanguage(_n._emitter,_n.language)}():Y(),Pn=""}function Qe(_n,wn){""!==_n&&(qn.startScope(wn),qn.addText(_n),qn.endScope())}function _t(_n,wn){let Fn=1;const Ln=wn.length-1;for(;Fn<=Ln;){if(!_n._emit[Fn]){Fn++;continue}const Mi=zi.classNameAliases[_n[Fn]]||_n[Fn],Vn=wn[Fn];Mi?Qe(Vn,Mi):(Pn=Vn,Y(),Pn=""),Fn++}}function hn(_n,wn){return _n.scope&&"string"==typeof _n.scope&&qn.openNode(zi.classNameAliases[_n.scope]||_n.scope),_n.beginScope&&(_n.beginScope._wrap?(Qe(Pn,zi.classNameAliases[_n.beginScope._wrap]||_n.beginScope._wrap),Pn=""):_n.beginScope._multi&&(_t(_n.beginScope,wn),Pn="")),Tn=Object.create(_n,{parent:{value:Tn}}),Tn}function On(_n,wn,Fn){let Ln=function x(Oe,Ct){const Pt=Oe&&Oe.exec(Ct);return Pt&&0===Pt.index}(_n.endRe,Fn);if(Ln){if(_n["on:end"]){const Mi=new _(_n);_n["on:end"](wn,Mi),Mi.isMatchIgnored&&(Ln=!1)}if(Ln){for(;_n.endsParent&&_n.parent;)_n=_n.parent;return _n}}if(_n.endsWithParent)return On(_n.parent,wn,Fn)}function Bn(_n){return 0===Tn.matcher.regexIndex?(Pn+=_n[0],1):(er=!0,0)}function Zn(_n){const wn=_n[0],Fn=vt.substring(_n.index),Ln=On(Tn,_n,Fn);if(!Ln)return Xe;const Mi=Tn;Tn.endScope&&Tn.endScope._wrap?(de(),Qe(wn,Tn.endScope._wrap)):Tn.endScope&&Tn.endScope._multi?(de(),_t(Tn.endScope,_n)):Mi.skip?Pn+=wn:(Mi.returnEnd||Mi.excludeEnd||(Pn+=wn),de(),Mi.excludeEnd&&(Pn=wn));do{Tn.scope&&qn.closeNode(),!Tn.skip&&!Tn.subLanguage&&(Qn+=Tn.relevance),Tn=Tn.parent}while(Tn!==Ln.parent);return Ln.starts&&hn(Ln.starts,_n),Mi.returnEnd?0:wn.length}let qi={};function ki(_n,wn){const Fn=wn&&wn[0];if(Pn+=_n,null==Fn)return de(),0;if("begin"===qi.type&&"end"===wn.type&&qi.index===wn.index&&""===Fn){if(Pn+=vt.slice(wn.index,wn.index+1),!bt){const Ln=new Error(`0 width match regex (${wt})`);throw Ln.languageName=wt,Ln.badRule=qi.rule,Ln}return 1}if(qi=wn,"begin"===wn.type)return function Ci(_n){const wn=_n[0],Fn=_n.rule,Ln=new _(Fn),Mi=[Fn.__beforeBegin,Fn["on:begin"]];for(const Vn of Mi)if(Vn&&(Vn(_n,Ln),Ln.isMatchIgnored))return Bn(wn);return Fn.skip?Pn+=wn:(Fn.excludeBegin&&(Pn+=wn),de(),!Fn.returnBegin&&!Fn.excludeBegin&&(Pn=wn)),hn(Fn,_n),Fn.returnBegin?0:wn.length}(wn);if("illegal"===wn.type&&!Ht){const Ln=new Error('Illegal lexeme "'+Fn+'" for mode "'+(Tn.scope||"")+'"');throw Ln.mode=Tn,Ln}if("end"===wn.type){const Ln=Zn(wn);if(Ln!==Xe)return Ln}if("illegal"===wn.type&&""===Fn)return 1;if(mr>1e5&&mr>3*wn.index)throw new Error("potential infinite loop, way more iterations than matches");return Pn+=Fn,Fn.length}const zi=Ue(wt);if(!zi)throw Pe(_e.replace("{}",wt)),new Error('Unknown language: "'+wt+'"');const Gi=an(zi);let fr="",Tn=dn||Gi;const Ki={},qn=new z.__emitter(z);!function Ei(){const _n=[];for(let wn=Tn;wn!==zi;wn=wn.parent)wn.scope&&_n.unshift(wn.scope);_n.forEach(wn=>qn.openNode(wn))}();let Pn="",Qn=0,Fi=0,mr=0,er=!1;try{if(zi.__emitTokens)zi.__emitTokens(vt,qn);else{for(Tn.matcher.considerAll();;){mr++,er?er=!1:Tn.matcher.considerAll(),Tn.matcher.lastIndex=Fi;const _n=Tn.matcher.exec(vt);if(!_n)break;const Fn=ki(vt.substring(Fi,_n.index),_n);Fi=_n.index+Fn}ki(vt.substring(Fi))}return qn.finalize(),fr=qn.toHTML(),{language:wt,value:fr,relevance:Qn,illegal:!1,_emitter:qn,_top:Tn}}catch(_n){if(_n.message&&_n.message.includes("Illegal"))return{language:wt,value:De(vt),illegal:!0,relevance:0,_illegalBy:{message:_n.message,index:Fi,context:vt.slice(Fi-100,Fi+100),mode:_n.mode,resultSoFar:fr},_emitter:qn};if(bt)return{language:wt,value:De(vt),illegal:!1,relevance:0,errorRaised:_n,_emitter:qn,_top:Tn};throw _n}}function He(wt,vt){vt=vt||z.languages||Object.keys(Ct);const Ht=function mt(wt){const vt={value:De(wt),illegal:!1,relevance:0,_top:ce,_emitter:new z.__emitter(z)};return vt._emitter.addText(wt),vt}(wt),dn=vt.filter(Ue).filter(At).map(de=>nt(de,wt,!1));dn.unshift(Ht);const ze=dn.sort((de,Qe)=>{if(de.relevance!==Qe.relevance)return Qe.relevance-de.relevance;if(de.language&&Qe.language){if(Ue(de.language).supersetOf===Qe.language)return 1;if(Ue(Qe.language).supersetOf===de.language)return-1}return 0}),[en,Y]=ze,pe=en;return pe.secondBest=Y,pe}function Lt(wt){let vt=null;const Ht=function Se(wt){let vt=wt.className+" ";vt+=wt.parentNode?wt.parentNode.className:"";const Ht=z.languageDetectRe.exec(vt);if(Ht){const dn=Ue(Ht[1]);return dn||(Ne(_e.replace("{}",Ht[1])),Ne("Falling back to no-highlight mode for this block.",wt)),dn?Ht[1]:"no-highlight"}return vt.split(/\s+/).find(dn=>oe(dn)||Ue(dn))}(wt);if(oe(Ht))return;if(ct("before:highlightElement",{el:wt,language:Ht}),wt.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",wt);if(wt.children.length>0&&(z.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(wt)),z.throwUnescapedHTML))throw new Ft("One of your code blocks includes unescaped HTML.",wt.innerHTML);vt=wt;const dn=vt.textContent,ze=Ht?at(dn,{language:Ht,ignoreIllegals:!0}):He(dn);wt.innerHTML=ze.value,wt.dataset.highlighted="yes",function rt(wt,vt,Ht){const dn=vt&&Pt[vt]||Ht;wt.classList.add("hljs"),wt.classList.add(`language-${dn}`)}(wt,Ht,ze.language),wt.result={language:ze.language,re:ze.relevance,relevance:ze.relevance},ze.secondBest&&(wt.secondBest={language:ze.secondBest.language,relevance:ze.secondBest.relevance}),ct("after:highlightElement",{el:wt,result:ze,text:dn})}let ui=!1;function _i(){"loading"!==document.readyState?document.querySelectorAll(z.cssSelector).forEach(Lt):ui=!0}function Ue(wt){return wt=(wt||"").toLowerCase(),Ct[wt]||Ct[Pt[wt]]}function ot(wt,{languageName:vt}){"string"==typeof wt&&(wt=[wt]),wt.forEach(Ht=>{Pt[Ht.toLowerCase()]=vt})}function At(wt){const vt=Ue(wt);return vt&&!vt.disableAutodetect}function ct(wt,vt){const Ht=wt;Nt.forEach(function(dn){dn[Ht]&&dn[Ht](vt)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Hi(){ui&&_i()},!1),Object.assign(Oe,{highlight:at,highlightAuto:He,highlightAll:_i,highlightElement:Lt,highlightBlock:function Ut(wt){return Be("10.7.0","highlightBlock will be removed entirely in v12.0"),Be("10.7.0","Please use highlightElement now."),Lt(wt)},configure:function Xt(wt){z=Ve(z,wt)},initHighlighting:()=>{_i(),Be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Nn(){_i(),Be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Yn(wt,vt){let Ht=null;try{Ht=vt(Oe)}catch(dn){if(Pe("Language definition for '{}' could not be registered.".replace("{}",wt)),!bt)throw dn;Pe(dn),Ht=ce}Ht.name||(Ht.name=wt),Ct[wt]=Ht,Ht.rawDefinition=vt.bind(null,Oe),Ht.aliases&&ot(Ht.aliases,{languageName:wt})},unregisterLanguage:function st(wt){delete Ct[wt];for(const vt of Object.keys(Pt))Pt[vt]===wt&&delete Pt[vt]},listLanguages:function pn(){return Object.keys(Ct)},getLanguage:Ue,registerAliases:ot,autoDetection:At,inherit:Ve,addPlugin:function it(wt){(function qt(wt){wt["before:highlightBlock"]&&!wt["before:highlightElement"]&&(wt["before:highlightElement"]=vt=>{wt["before:highlightBlock"](Object.assign({block:vt.el},vt))}),wt["after:highlightBlock"]&&!wt["after:highlightElement"]&&(wt["after:highlightElement"]=vt=>{wt["after:highlightBlock"](Object.assign({block:vt.el},vt))})})(wt),Nt.push(wt)},removePlugin:function dt(wt){const vt=Nt.indexOf(wt);-1!==vt&&Nt.splice(vt,1)}}),Oe.debugMode=function(){bt=!1},Oe.safeMode=function(){bt=!0},Oe.versionString="11.9.0",Oe.regex={concat:d,lookahead:l,either:b,optional:c,anyNumberOfTimes:r};for(const wt in Ze)"object"==typeof Ze[wt]&&ie(Ze[wt]);return Object.assign(Oe,Ze),Oe},ut=tt({});ut.newInstance=()=>tt({}),Me.exports=ut,ut.HighlightJS=ut,ut.default=ut},5454:Me=>{Me.exports=function ie(_){const D=["true","false","null"],y={scope:"literal",beginKeywords:D.join(" ")};return{name:"JSON",keywords:{literal:D},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},_.QUOTE_STRING_MODE,y,_.C_NUMBER_MODE,_.C_LINE_COMMENT_MODE,_.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Me=>{Me.exports=function ie(_){const n=_.regex,f=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),y={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=_.inherit(u,{begin:/\(/,end:/\)/}),s=_.inherit(_.APOS_STRING_MODE,{className:"string"}),m=_.inherit(_.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[u,m,s,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[u,v,m,s]}]}]},_.COMMENT(//,{relevance:10}),{begin://,relevance:10},y,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:h}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Me=>{function ie(n,f,D,y,u,v,s){try{var m=n[v](s),h=m.value}catch(o){return void D(o)}m.done?f(h):Promise.resolve(h).then(y,u)}Me.exports=function _(n){return function(){var f=this,D=arguments;return new Promise(function(y,u){var v=n.apply(f,D);function s(h){ie(v,y,u,s,m,"next",h)}function m(h){ie(v,y,u,s,m,"throw",h)}s(void 0)})}},Me.exports.__esModule=!0,Me.exports.default=Me.exports},6825:(Me,ie,_)=>{"use strict";function f(A,L){return{type:7,name:A,definitions:L,options:{}}}function D(A,L=null){return{type:4,styles:L,timings:A}}function y(A,L=null){return{type:3,steps:A,options:L}}function v(A){return{type:6,styles:A,offset:null}}function s(A,L,F){return{type:0,name:A,styles:L,options:F}}function m(A){return{type:5,steps:A}}function h(A,L,F=null){return{type:1,expr:A,animation:L,options:F}}function l(A=null){return{type:9,options:A}}function c(A,L,F=null){return{type:11,selector:A,animation:L,options:F}}_.d(ie,{F4:()=>m,IO:()=>c,SB:()=>s,X$:()=>f,eR:()=>h,jt:()=>D,oB:()=>v,pV:()=>l,ru:()=>y})},4191:(Me,ie,_)=>{"use strict";_.d(ie,{rt:()=>at,s1:()=>Ye,$s:()=>ue,kH:()=>_e,mK:()=>yt,Em:()=>Ze,tE:()=>bt,qm:()=>Se,Kd:()=>Oe,Zf:()=>ee,X6:()=>an,yG:()=>En,iD:()=>j});var n=_(6814),f=_(9212),D=_(2831),y=_(8645),u=_(7394),v=_(5619),s=_(2096),m=_(6028),h=_(9397),o=_(3620),l=_(2181),r=_(7398),c=_(8180),d=_(836),g=_(3997),b=_(9773),C=_(7131),x=_(2495),w=_(2572),T=_(34),S=_(5592),M=_(7921);const I=new Set;let P,A=(()=>{class nt{constructor(He,rt){this._platform=He,this._nonce=rt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):F}matchMedia(He){return(this._platform.WEBKIT||this._platform.BLINK)&&function L(nt,mt){if(!I.has(nt))try{P||(P=document.createElement("style"),mt&&(P.nonce=mt),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${nt} {body{ }}`,0),I.add(nt))}catch(He){console.error(He)}}(He,this._nonce),this._matchMedia(He)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.CSP_NONCE,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function F(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let R=(()=>{class nt{constructor(He,rt){this._mediaMatcher=He,this._zone=rt,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(He){return U((0,x.Eq)(He)).some(Lt=>this._registerQuery(Lt).mql.matches)}observe(He){const Lt=U((0,x.Eq)(He)).map(tn=>this._registerQuery(tn).observable);let Xt=(0,w.a)(Lt);return Xt=(0,T.z)(Xt.pipe((0,c.q)(1)),Xt.pipe((0,d.T)(1),(0,o.b)(0))),Xt.pipe((0,r.U)(tn=>{const Nn={matches:!1,breakpoints:{}};return tn.forEach(({matches:ui,query:_i})=>{Nn.matches=Nn.matches||ui,Nn.breakpoints[_i]=ui}),Nn}))}_registerQuery(He){if(this._queries.has(He))return this._queries.get(He);const rt=this._mediaMatcher.matchMedia(He),Xt={observable:new S.y(tn=>{const Nn=ui=>this._zone.run(()=>tn.next(ui));return rt.addListener(Nn),()=>{rt.removeListener(Nn)}}).pipe((0,M.O)(rt),(0,r.U)(({matches:tn})=>({query:He,matches:tn})),(0,b.R)(this._destroySubject)),mql:rt};return this._queries.set(He,Xt),Xt}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(A),f.\u0275\u0275inject(f.NgZone))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function U(nt){return nt.map(mt=>mt.split(",")).reduce((mt,He)=>mt.concat(He)).map(mt=>mt.trim())}const ne=" ";function ee(nt,mt,He){const rt=B(nt,mt);rt.some(Lt=>Lt.trim()==He.trim())||(rt.push(He.trim()),nt.setAttribute(mt,rt.join(ne)))}function j(nt,mt,He){const Lt=B(nt,mt).filter(Xt=>Xt!=He.trim());Lt.length?nt.setAttribute(mt,Lt.join(ne)):nt.removeAttribute(mt)}function B(nt,mt){return(nt.getAttribute(mt)||"").match(/\S+/g)||[]}const Z="cdk-describedby-message",H="cdk-describedby-host";let te=0,ue=(()=>{class nt{constructor(He,rt){this._platform=rt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+te++,this._document=He,this._id=(0,f.inject)(f.APP_ID)+"-"+te++}describe(He,rt,Lt){if(!this._canBeDescribed(He,rt))return;const Xt=ye(rt,Lt);"string"!=typeof rt?(Ge(rt,this._id),this._messageRegistry.set(Xt,{messageElement:rt,referenceCount:0})):this._messageRegistry.has(Xt)||this._createMessageElement(rt,Lt),this._isElementDescribedByMessage(He,Xt)||this._addMessageReference(He,Xt)}removeDescription(He,rt,Lt){if(!rt||!this._isElementNode(He))return;const Xt=ye(rt,Lt);if(this._isElementDescribedByMessage(He,Xt)&&this._removeMessageReference(He,Xt),"string"==typeof rt){const tn=this._messageRegistry.get(Xt);tn&&0===tn.referenceCount&&this._deleteMessageElement(Xt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const He=this._document.querySelectorAll(`[${H}="${this._id}"]`);for(let rt=0;rt0!=Lt.indexOf(Z));He.setAttribute("aria-describedby",rt.join(" "))}_addMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);ee(He,"aria-describedby",Lt.messageElement.id),He.setAttribute(H,this._id),Lt.referenceCount++}_removeMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);Lt.referenceCount--,j(He,"aria-describedby",Lt.messageElement.id),He.removeAttribute(H)}_isElementDescribedByMessage(He,rt){const Lt=B(He,"aria-describedby"),Xt=this._messageRegistry.get(rt),tn=Xt&&Xt.messageElement.id;return!!tn&&-1!=Lt.indexOf(tn)}_canBeDescribed(He,rt){if(!this._isElementNode(He))return!1;if(rt&&"object"==typeof rt)return!0;const Lt=null==rt?"":`${rt}`.trim(),Xt=He.getAttribute("aria-label");return!(!Lt||Xt&&Xt.trim()===Lt)}_isElementNode(He){return He.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function ye(nt,mt){return"string"==typeof nt?`${mt||""}/${nt}`:nt}function Ge(nt,mt){nt.id||(nt.id=`${Z}-${mt}-${te++}`)}class $e{constructor(mt){this._items=mt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new y.x,this._typeaheadSubscription=u.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=He=>He.disabled,this._pressedLetters=[],this.tabOut=new y.x,this.change=new y.x,mt instanceof f.QueryList&&(this._itemChangesSubscription=mt.changes.subscribe(He=>{if(this._activeItem){const Lt=He.toArray().indexOf(this._activeItem);Lt>-1&&Lt!==this._activeItemIndex&&(this._activeItemIndex=Lt)}}))}skipPredicate(mt){return this._skipPredicateFn=mt,this}withWrap(mt=!0){return this._wrap=mt,this}withVerticalOrientation(mt=!0){return this._vertical=mt,this}withHorizontalOrientation(mt){return this._horizontal=mt,this}withAllowedModifierKeys(mt){return this._allowedModifierKeys=mt,this}withTypeAhead(mt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.b)(He=>this._pressedLetters.push(He)),(0,o.b)(mt),(0,l.h)(()=>this._pressedLetters.length>0),(0,r.U)(()=>this._pressedLetters.join(""))).subscribe(He=>{const rt=this._getItemsArray();for(let Lt=1;Lt!mt[Xt]||this._allowedModifierKeys.indexOf(Xt)>-1);switch(He){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&Lt){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&Lt){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&Lt){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&Lt){this.setLastItemActive();break}return;case m.Ku:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xt>0?Xt:0,1);break}return;case m.VM:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex+this._pageUpAndDown.delta,tn=this._getItemsArray().length;this._setActiveItemByIndex(Xt=m.A&&He<=m.Z||He>=m.xE&&He<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(He))))}this._pressedLetters=[],mt.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(mt){const He=this._getItemsArray(),rt="number"==typeof mt?mt:He.indexOf(mt);this._activeItem=He[rt]??null,this._activeItemIndex=rt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(mt){this._wrap?this._setActiveInWrapMode(mt):this._setActiveInDefaultMode(mt)}_setActiveInWrapMode(mt){const He=this._getItemsArray();for(let rt=1;rt<=He.length;rt++){const Lt=(this._activeItemIndex+mt*rt+He.length)%He.length;if(!this._skipPredicateFn(He[Lt]))return void this.setActiveItem(Lt)}}_setActiveInDefaultMode(mt){this._setActiveItemByIndex(this._activeItemIndex+mt,mt)}_setActiveItemByIndex(mt,He){const rt=this._getItemsArray();if(rt[mt]){for(;this._skipPredicateFn(rt[mt]);)if(!rt[mt+=He])return;this.setActiveItem(mt)}}_getItemsArray(){return this._items instanceof f.QueryList?this._items.toArray():this._items}}class Ye extends $e{setActiveItem(mt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(mt),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends $e{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(mt){return this._origin=mt,this}setActiveItem(mt){super.setActiveItem(mt),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class nt{constructor(He){this._platform=He}isDisabled(He){return He.hasAttribute("disabled")}isVisible(He){return function Ee(nt){return!!(nt.offsetWidth||nt.offsetHeight||"function"==typeof nt.getClientRects&&nt.getClientRects().length)}(He)&&"visible"===getComputedStyle(He).visibility}isTabbable(He){if(!this._platform.isBrowser)return!1;const rt=function qe(nt){try{return nt.frameElement}catch{return null}}(function Pe(nt){return nt.ownerDocument&&nt.ownerDocument.defaultView||window}(He));if(rt&&(-1===ke(rt)||!this.isVisible(rt)))return!1;let Lt=He.nodeName.toLowerCase(),Xt=ke(He);return He.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===Lt||"object"===Lt||this._platform.WEBKIT&&this._platform.IOS&&!function Ke(nt){let mt=nt.nodeName.toLowerCase(),He="input"===mt&&nt.type;return"text"===He||"password"===He||"select"===mt||"textarea"===mt}(He))&&("audio"===Lt?!!He.hasAttribute("controls")&&-1!==Xt:"video"===Lt?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||He.hasAttribute("controls")):He.tabIndex>=0)}isFocusable(He,rt){return function me(nt){return!function Ce(nt){return function Ae(nt){return"input"==nt.nodeName.toLowerCase()}(nt)&&"hidden"==nt.type}(nt)&&(function Ie(nt){let mt=nt.nodeName.toLowerCase();return"input"===mt||"select"===mt||"button"===mt||"textarea"===mt}(nt)||function ge(nt){return function q(nt){return"a"==nt.nodeName.toLowerCase()}(nt)&&nt.hasAttribute("href")}(nt)||nt.hasAttribute("contenteditable")||Re(nt))}(He)&&!this.isDisabled(He)&&(rt?.ignoreVisibility||this.isVisible(He))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function Re(nt){if(!nt.hasAttribute("tabindex")||void 0===nt.tabIndex)return!1;let mt=nt.getAttribute("tabindex");return!(!mt||isNaN(parseInt(mt,10)))}function ke(nt){if(!Re(nt))return null;const mt=parseInt(nt.getAttribute("tabindex")||"",10);return isNaN(mt)?-1:mt}class Ne{get enabled(){return this._enabled}set enabled(mt){this._enabled=mt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}constructor(mt,He,rt,Lt,Xt=!1){this._element=mt,this._checker=He,this._ngZone=rt,this._document=Lt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xt||this.attachAnchors()}destroy(){const mt=this._startAnchor,He=this._endAnchor;mt&&(mt.removeEventListener("focus",this.startAnchorListener),mt.remove()),He&&(He.removeEventListener("focus",this.endAnchorListener),He.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(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusInitialElement(mt)))})}focusFirstTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusFirstTabbableElement(mt)))})}focusLastTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusLastTabbableElement(mt)))})}_getRegionBoundary(mt){const He=this._element.querySelectorAll(`[cdk-focus-region-${mt}], [cdkFocusRegion${mt}], [cdk-focus-${mt}]`);return"start"==mt?He.length?He[0]:this._getFirstTabbableElement(this._element):He.length?He[He.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(mt){const He=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(He){if(!this._checker.isFocusable(He)){const rt=this._getFirstTabbableElement(He);return rt?.focus(mt),!!rt}return He.focus(mt),!0}return this.focusFirstTabbableElement(mt)}focusFirstTabbableElement(mt){const He=this._getRegionBoundary("start");return He&&He.focus(mt),!!He}focusLastTabbableElement(mt){const He=this._getRegionBoundary("end");return He&&He.focus(mt),!!He}hasAttached(){return this._hasAttached}_getFirstTabbableElement(mt){if(this._checker.isFocusable(mt)&&this._checker.isTabbable(mt))return mt;const He=mt.children;for(let rt=0;rt=0;rt--){const Lt=He[rt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(He[rt]):null;if(Lt)return Lt}return null}_createAnchor(){const mt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,mt),mt.classList.add("cdk-visually-hidden"),mt.classList.add("cdk-focus-trap-anchor"),mt.setAttribute("aria-hidden","true"),mt}_toggleAnchorTabIndex(mt,He){mt?He.setAttribute("tabindex","0"):He.removeAttribute("tabindex")}toggleAnchors(mt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}_executeOnStable(mt){this._ngZone.isStable?mt():this._ngZone.onStable.pipe((0,c.q)(1)).subscribe(mt)}}let Be=(()=>{class nt{constructor(He,rt,Lt){this._checker=He,this._ngZone=rt,this._document=Lt}create(He,rt=!1){return new Ne(He,this._checker,this._ngZone,this._document,rt)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Te),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),yt=(()=>{class nt{get enabled(){return this.focusTrap.enabled}set enabled(He){this.focusTrap.enabled=He}constructor(He,rt,Lt){this._elementRef=He,this._focusTrapFactory=rt,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}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(He){const rt=He.autoCapture;rt&&!rt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Be),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",f.booleanAttribute],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",f.booleanAttribute]},exportAs:["cdkTrapFocus"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275NgOnChangesFeature]})}return nt})();function an(nt){return 0===nt.buttons||0===nt.detail}function En(nt){const mt=nt.touches&&nt.touches[0]||nt.changedTouches&&nt.changedTouches[0];return!(!mt||-1!==mt.identifier||null!=mt.radiusX&&1!==mt.radiusX||null!=mt.radiusY&&1!==mt.radiusY)}const un=new f.InjectionToken("cdk-input-modality-detector-options"),Bt={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},De=(0,D.i$)({passive:!0,capture:!0});let Ve=(()=>{class nt{get mostRecentModality(){return this._modality.value}constructor(He,rt,Lt,Xt){this._platform=He,this._mostRecentTarget=null,this._modality=new v.X(null),this._lastTouchMs=0,this._onKeydown=tn=>{this._options?.ignoreKeys?.some(Nn=>Nn===tn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(tn))},this._onMousedown=tn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(an(tn)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(tn))},this._onTouchstart=tn=>{En(tn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(tn))},this._options={...Bt,...Xt},this.modalityDetected=this._modality.pipe((0,d.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),He.isBrowser&&rt.runOutsideAngular(()=>{Lt.addEventListener("keydown",this._onKeydown,De),Lt.addEventListener("mousedown",this._onMousedown,De),Lt.addEventListener("touchstart",this._onTouchstart,De)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,De),document.removeEventListener("mousedown",this._onMousedown,De),document.removeEventListener("touchstart",this._onTouchstart,De))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(un,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();const Xe=new f.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function St(){return null}}),tt=new f.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ut=0,Oe=(()=>{class nt{constructor(He,rt,Lt,Xt){this._ngZone=rt,this._defaultOptions=Xt,this._document=Lt,this._liveElement=He||this._createLiveElement()}announce(He,...rt){const Lt=this._defaultOptions;let Xt,tn;return 1===rt.length&&"number"==typeof rt[0]?tn=rt[0]:[Xt,tn]=rt,this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=Lt&&Lt.politeness?Lt.politeness:"polite"),null==tn&&Lt&&(tn=Lt.duration),this._liveElement.setAttribute("aria-live",Xt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Nn=>this._currentResolve=Nn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=He,"number"==typeof tn&&(this._previousTimeout=setTimeout(()=>this.clear(),tn)),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 He="cdk-live-announcer-element",rt=this._document.getElementsByClassName(He),Lt=this._document.createElement("div");for(let Xt=0;Xt .cdk-overlay-container [aria-modal="true"]');for(let Lt=0;Lt{class nt{constructor(He,rt,Lt,Xt,tn){this._ngZone=He,this._platform=rt,this._inputModalityDetector=Lt,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 y.x,this._rootNodeFocusAndBlurListener=Nn=>{for(let _i=(0,D.sA)(Nn);_i;_i=_i.parentElement)"focus"===Nn.type?this._onFocus(Nn,_i):this._onBlur(Nn,_i)},this._document=Xt,this._detectionMode=tn?.detectionMode||0}monitor(He,rt=!1){const Lt=(0,x.fI)(He);if(!this._platform.isBrowser||1!==Lt.nodeType)return(0,s.of)();const Xt=(0,D.kV)(Lt)||this._getDocument(),tn=this._elementInfo.get(Lt);if(tn)return rt&&(tn.checkChildren=!0),tn.subject;const Nn={checkChildren:rt,subject:new y.x,rootNode:Xt};return this._elementInfo.set(Lt,Nn),this._registerGlobalListeners(Nn),Nn.subject}stopMonitoring(He){const rt=(0,x.fI)(He),Lt=this._elementInfo.get(rt);Lt&&(Lt.subject.complete(),this._setClasses(rt),this._elementInfo.delete(rt),this._removeGlobalListeners(Lt))}focusVia(He,rt,Lt){const Xt=(0,x.fI)(He);Xt===this._getDocument().activeElement?this._getClosestElementsInfo(Xt).forEach(([Nn,ui])=>this._originChanged(Nn,rt,ui)):(this._setOrigin(rt),"function"==typeof Xt.focus&&Xt.focus(Lt))}ngOnDestroy(){this._elementInfo.forEach((He,rt)=>this.stopMonitoring(rt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(He){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(He)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:He&&this._isLastInteractionFromInputLabel(He)?"mouse":"program"}_shouldBeAttributedToTouch(He){return 1===this._detectionMode||!!He?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(He,rt){He.classList.toggle("cdk-focused",!!rt),He.classList.toggle("cdk-touch-focused","touch"===rt),He.classList.toggle("cdk-keyboard-focused","keyboard"===rt),He.classList.toggle("cdk-mouse-focused","mouse"===rt),He.classList.toggle("cdk-program-focused","program"===rt)}_setOrigin(He,rt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=He,this._originFromTouchInteraction="touch"===He&&rt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(He,rt){const Lt=this._elementInfo.get(rt),Xt=(0,D.sA)(He);!Lt||!Lt.checkChildren&&rt!==Xt||this._originChanged(rt,this._getFocusOrigin(Xt),Lt)}_onBlur(He,rt){const Lt=this._elementInfo.get(rt);!Lt||Lt.checkChildren&&He.relatedTarget instanceof Node&&rt.contains(He.relatedTarget)||(this._setClasses(rt),this._emitOrigin(Lt,null))}_emitOrigin(He,rt){He.subject.observers.length&&this._ngZone.run(()=>He.subject.next(rt))}_registerGlobalListeners(He){if(!this._platform.isBrowser)return;const rt=He.rootNode,Lt=this._rootNodeFocusListenerCount.get(rt)||0;Lt||this._ngZone.runOutsideAngular(()=>{rt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nt)}),this._rootNodeFocusListenerCount.set(rt,Lt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,b.R)(this._stopInputModalityDetector)).subscribe(Xt=>{this._setOrigin(Xt,!0)}))}_removeGlobalListeners(He){const rt=He.rootNode;if(this._rootNodeFocusListenerCount.has(rt)){const Lt=this._rootNodeFocusListenerCount.get(rt);Lt>1?this._rootNodeFocusListenerCount.set(rt,Lt-1):(rt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nt),this._rootNodeFocusListenerCount.delete(rt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(He,rt,Lt){this._setClasses(He,rt),this._emitOrigin(Lt,rt),this._lastFocusOrigin=rt}_getClosestElementsInfo(He){const rt=[];return this._elementInfo.forEach((Lt,Xt)=>{(Xt===He||Lt.checkChildren&&Xt.contains(He))&&rt.push([Xt,Lt])}),rt}_isLastInteractionFromInputLabel(He){const{_mostRecentTarget:rt,mostRecentModality:Lt}=this._inputModalityDetector;if("mouse"!==Lt||!rt||rt===He||"INPUT"!==He.nodeName&&"TEXTAREA"!==He.nodeName||He.disabled)return!1;const Xt=He.labels;if(Xt)for(let tn=0;tn{class nt{constructor(He,rt){this._elementRef=He,this._focusMonitor=rt,this._focusOrigin=null,this.cdkFocusChange=new f.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const He=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(He,1===He.nodeType&&He.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(rt=>{this._focusOrigin=rt,this.cdkFocusChange.emit(rt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(bt))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return nt})();const ce="cdk-high-contrast-black-on-white",z="cdk-high-contrast-white-on-black",oe="cdk-high-contrast-active";let Se=(()=>{class nt{constructor(He,rt){this._platform=He,this._document=rt,this._breakpointSubscription=(0,f.inject)(R).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const He=this._document.createElement("div");He.style.backgroundColor="rgb(1,2,3)",He.style.position="absolute",this._document.body.appendChild(He);const rt=this._document.defaultView||window,Lt=rt&&rt.getComputedStyle?rt.getComputedStyle(He):null,Xt=(Lt&&Lt.backgroundColor||"").replace(/ /g,"");switch(He.remove(),Xt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const He=this._document.body.classList;He.remove(oe,ce,z),this._hasCheckedHighContrastMode=!0;const rt=this.getHighContrastMode();1===rt?He.add(oe,ce):2===rt&&He.add(oe,z)}}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),at=(()=>{class nt{constructor(He){He._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Se))};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:nt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[C.Q8]})}return nt})()},9388:(Me,ie,_)=>{"use strict";_.d(ie,{Is:()=>s,vT:()=>h});var n=_(9212),f=_(6814);const D=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,n.inject)(f.DOCUMENT)}}),u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class o{constructor(r){this.value="ltr",this.change=new n.EventEmitter,r&&(this.value=function v(o){const l=o?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?u.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(c){return new(c||o)(n.\u0275\u0275inject(D,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return o})()},2495:(Me,ie,_)=>{"use strict";_.d(ie,{Eq:()=>u,HM:()=>v,Ig:()=>f,du:()=>m,fI:()=>s,su:()=>D,t6:()=>y});var n=_(9212);function f(h){return null!=h&&"false"!=`${h}`}function D(h,o=0){return y(h)?Number(h):o}function y(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function u(h){return Array.isArray(h)?h:[h]}function v(h){return null==h?"":"string"==typeof h?h:`${h}px`}function s(h){return h instanceof n.ElementRef?h.nativeElement:h}function m(h,o=/\s+/){const l=[];if(null!=h){const r=Array.isArray(h)?h:`${h}`.split(o);for(const c of r){const d=`${c}`.trim();d&&l.push(d)}}return l}},8337:(Me,ie,_)=>{"use strict";_.d(ie,{A8:()=>l,Ov:()=>h,Z9:()=>u,eX:()=>m,k:()=>r,o2:()=>y,yy:()=>s});var n=_(3168),f=_(8645),D=_(9212);class y{}function u(c){return c&&"function"==typeof c.connect&&!(c instanceof n.c)}class s{applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;if(null==w.previousIndex){const I=b(w,T,S);M=g.createEmbeddedView(I.templateRef,I.context,I.index),k=1}else null==S?(g.remove(T),k=3):(M=g.get(T),g.move(M,S),k=2);x&&x({context:M?.context,operation:k,record:w})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;null==w.previousIndex?(M=this._insertView(()=>b(w,T,S),S,g,C(w)),k=M?1:0):null==S?(this._detachAndCacheView(T,g),k=3):(M=this._moveView(T,S,g,C(w)),k=2),x&&x({context:M?.context,operation:k,record:w})})}detach(){for(const d of this._viewCache)d.destroy();this._viewCache=[]}_insertView(d,g,b,C){const x=this._insertViewFromCache(g,b);if(x)return void(x.context.$implicit=C);const w=d();return b.createEmbeddedView(w.templateRef,w.context,w.index)}_detachAndCacheView(d,g){const b=g.detach(d);this._maybeCacheView(b,g)}_moveView(d,g,b,C){const x=b.get(d);return b.move(x,g),x.context.$implicit=C,x}_maybeCacheView(d,g){if(this._viewCache.lengththis._markSelected(x)):this._markSelected(g[0]),this._selectedToEmit.length=0)}select(...d){this._verifyValueAssignment(d),d.forEach(b=>this._markSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}deselect(...d){this._verifyValueAssignment(d),d.forEach(b=>this._unmarkSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}setSelection(...d){this._verifyValueAssignment(d);const g=this.selected,b=new Set(d);d.forEach(x=>this._markSelected(x)),g.filter(x=>!b.has(x)).forEach(x=>this._unmarkSelected(x));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}toggle(d){return this.isSelected(d)?this.deselect(d):this.select(d)}clear(d=!0){this._unmarkAll();const g=this._hasQueuedChanges();return d&&this._emitChangeEvent(),g}isSelected(d){return this._selection.has(this._getConcreteValue(d))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(d){this._multiple&&this.selected&&this._selected.sort(d)}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(d){d=this._getConcreteValue(d),this.isSelected(d)||(this._multiple||this._unmarkAll(),this.isSelected(d)||this._selection.add(d),this._emitChanges&&this._selectedToEmit.push(d))}_unmarkSelected(d){d=this._getConcreteValue(d),this.isSelected(d)&&(this._selection.delete(d),this._emitChanges&&this._deselectedToEmit.push(d))}_unmarkAll(){this.isEmpty()||this._selection.forEach(d=>this._unmarkSelected(d))}_verifyValueAssignment(d){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(d){if(this.compareWith){for(let g of this._selection)if(this.compareWith(d,g))return g;return d}return d}}let l=(()=>{class c{constructor(){this._listeners=[]}notify(g,b){for(let C of this._listeners)C(g,b)}listen(g){return this._listeners.push(g),()=>{this._listeners=this._listeners.filter(b=>g!==b)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(b){return new(b||c)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const r=new D.InjectionToken("_ViewRepeater")},6028:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>te,JH:()=>T,JU:()=>v,K5:()=>u,Ku:()=>c,LH:()=>x,L_:()=>r,MW:()=>jt,Mf:()=>D,SV:()=>w,Sd:()=>b,VM:()=>d,Vb:()=>de,Z:()=>Yt,ZH:()=>f,aO:()=>j,b2:()=>pe,hY:()=>l,jx:()=>s,oh:()=>C,uR:()=>g,xE:()=>P,zL:()=>m});const f=8,D=9,u=13,v=16,s=17,m=18,l=27,r=32,c=33,d=34,g=35,b=36,C=37,x=38,w=39,T=40,P=48,j=57,te=65,Yt=90,jt=91,pe=224;function de(Qe,..._t){return _t.length?_t.some(hn=>Qe[hn]):Qe.altKey||Qe.shiftKey||Qe.ctrlKey||Qe.metaKey}},7131:(Me,ie,_)=>{"use strict";_.d(ie,{Q8:()=>h,wD:()=>m});var n=_(2495),f=_(9212),D=_(5592),y=_(8645),u=_(3620);let v=(()=>{class o{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),s=(()=>{class o{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,c)=>this._cleanupObserver(c))}observe(r){const c=(0,n.fI)(r);return new D.y(d=>{const b=this._observeElement(c).subscribe(d);return()=>{b.unsubscribe(),this._unobserveElement(c)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const c=new y.x,d=this._mutationObserverFactory.create(g=>c.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:c,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:c,stream:d}=this._observedElements.get(r);c&&c.disconnect(),d.complete(),this._observedElements.delete(r)}}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275inject(v))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),m=(()=>{class o{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=(0,n.su)(r),this._subscribe()}constructor(r,c,d){this._contentObserver=r,this._elementRef=c,this._ngZone=d,this.event=new f.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe((0,u.b)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275directiveInject(s),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.NgZone))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",f.booleanAttribute],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[f.\u0275\u0275InputTransformsFeature]})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[v]})}return o})()},9594:(Me,ie,_)=>{"use strict";_.d(ie,{U8:()=>Re,X_:()=>P,_G:()=>H,aV:()=>qe,pI:()=>ge,xu:()=>Ce});var n=_(6672),f=_(6814),D=_(9212),y=_(2495),u=_(2831),v=_(2181),s=_(8180),m=_(9773),h=_(812),o=_(9388),l=_(8484),r=_(8645),c=_(7394),d=_(3019),g=_(6028);const b=(0,u.Mq)();class C{constructor(me,Pe){this._viewportRuler=me,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Pe}attach(){}enable(){if(this._canBeEnabled()){const me=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=me.style.left||"",this._previousHTMLStyles.top=me.style.top||"",me.style.left=(0,y.HM)(-this._previousScrollPosition.left),me.style.top=(0,y.HM)(-this._previousScrollPosition.top),me.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const me=this._document.documentElement,Ne=me.style,Be=this._document.body.style,yt=Ne.scrollBehavior||"",Ot=Be.scrollBehavior||"";this._isEnabled=!1,Ne.left=this._previousHTMLStyles.left,Ne.top=this._previousHTMLStyles.top,me.classList.remove("cdk-global-scrollblock"),b&&(Ne.scrollBehavior=Be.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Ne.scrollBehavior=yt,Be.scrollBehavior=Ot)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Pe=this._document.body,Ne=this._viewportRuler.getViewportSize();return Pe.scrollHeight>Ne.height||Pe.scrollWidth>Ne.width}}class w{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._ngZone=Pe,this._viewportRuler=Ne,this._config=Be,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(me){this._overlayRef=me}enable(){if(this._scrollSubscription)return;const me=this._scrollDispatcher.scrolled(0).pipe((0,v.h)(Pe=>!Pe||!this._overlayRef.overlayElement.contains(Pe.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=me.subscribe(()=>{const Pe=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Pe-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=me.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class T{enable(){}disable(){}attach(){}}function S(Ke,me){return me.some(Pe=>Ke.bottomPe.bottom||Ke.rightPe.right)}function M(Ke,me){return me.some(Pe=>Ke.topPe.bottom||Ke.leftPe.right)}class k{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._viewportRuler=Pe,this._ngZone=Ne,this._config=Be,this._scrollSubscription=null}attach(me){this._overlayRef=me}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 Pe=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ne,height:Be}=this._viewportRuler.getViewportSize();S(Pe,[{width:Ne,height:Be,bottom:Be,right:Ne,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 I=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._scrollDispatcher=Pe,this._viewportRuler=Ne,this._ngZone=Be,this.noop=()=>new T,this.close=Ot=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ot),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=Ot=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ot),this._document=yt}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.mF),D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();class P{constructor(me){if(this.scrollStrategy=new T,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,me){const Pe=Object.keys(me);for(const Ne of Pe)void 0!==me[Ne]&&(this[Ne]=me[Ne])}}}class F{constructor(me,Pe){this.connectionPair=me,this.scrollableViewProperties=Pe}}let W=(()=>{class Ke{constructor(Pe){this._attachedOverlays=[],this._document=Pe}ngOnDestroy(){this.detach()}add(Pe){this.remove(Pe),this._attachedOverlays.push(Pe)}remove(Pe){const Ne=this._attachedOverlays.indexOf(Pe);Ne>-1&&this._attachedOverlays.splice(Ne,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ne=(()=>{class Ke extends W{constructor(Pe,Ne){super(Pe),this._ngZone=Ne,this._keydownListener=Be=>{const yt=this._attachedOverlays;for(let Ot=yt.length-1;Ot>-1;Ot--)if(yt[Ot]._keydownEvents.observers.length>0){const Yt=yt[Ot]._keydownEvents;this._ngZone?this._ngZone.run(()=>Yt.next(Be)):Yt.next(Be);break}}}add(Pe){super.add(Pe),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)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ee=(()=>{class Ke extends W{constructor(Pe,Ne,Be){super(Pe),this._platform=Ne,this._ngZone=Be,this._cursorStyleIsSet=!1,this._pointerDownListener=yt=>{this._pointerDownEventTarget=(0,u.sA)(yt)},this._clickListener=yt=>{const Ot=(0,u.sA)(yt),Yt="click"===yt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ot;this._pointerDownEventTarget=null;const jt=this._attachedOverlays.slice();for(let cn=jt.length-1;cn>-1;cn--){const fn=jt[cn];if(fn._outsidePointerEvents.observers.length<1||!fn.hasAttached())continue;if(fn.overlayElement.contains(Ot)||fn.overlayElement.contains(Yt))break;const an=fn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>an.next(yt)):an.next(yt)}}}add(Pe){if(super.add(Pe),!this._isAttached){const Ne=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ne)):this._addEventListeners(Ne),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ne.style.cursor,Ne.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Pe=this._document.body;Pe.removeEventListener("pointerdown",this._pointerDownListener,!0),Pe.removeEventListener("click",this._clickListener,!0),Pe.removeEventListener("auxclick",this._clickListener,!0),Pe.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Pe.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Pe){Pe.addEventListener("pointerdown",this._pointerDownListener,!0),Pe.addEventListener("click",this._clickListener,!0),Pe.addEventListener("auxclick",this._clickListener,!0),Pe.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),j=(()=>{class Ke{constructor(Pe,Ne){this._platform=Ne,this._document=Pe}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Pe="cdk-overlay-container";if(this._platform.isBrowser||(0,u.Oy)()){const Be=this._document.querySelectorAll(`.${Pe}[platform="server"], .${Pe}[platform="test"]`);for(let yt=0;ytthis._backdropClick.next(an),this._backdropTransitionendHandler=an=>{this._disposeBackdrop(an.target)},this._keydownEvents=new r.x,this._outsidePointerEvents=new r.x,Be.scrollStrategy&&(this._scrollStrategy=Be.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Be.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(me){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Pe=this._portalOutlet.attach(me);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),"function"==typeof Pe?.onDestroy&&Pe.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Pe}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const me=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),me}dispose(){const me=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,me&&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(me){me!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=me,this.hasAttached()&&(me.attach(this),this.updatePosition()))}updateSize(me){this._config={...this._config,...me},this._updateElementSize()}setDirection(me){this._config={...this._config,direction:me},this._updateElementDirection()}addPanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!0)}removePanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!1)}getDirection(){const me=this._config.direction;return me?"string"==typeof me?me:me.value:"ltr"}updateScrollStrategy(me){me!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=me,this.hasAttached()&&(me.attach(this),me.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const me=this._pane.style;me.width=(0,y.HM)(this._config.width),me.height=(0,y.HM)(this._config.height),me.minWidth=(0,y.HM)(this._config.minWidth),me.minHeight=(0,y.HM)(this._config.minHeight),me.maxWidth=(0,y.HM)(this._config.maxWidth),me.maxHeight=(0,y.HM)(this._config.maxHeight)}_togglePointerEvents(me){this._pane.style.pointerEvents=me?"":"none"}_attachBackdrop(){const me="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(me)})}):this._backdropElement.classList.add(me)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const me=this._backdropElement;if(me){if(this._animationsDisabled)return void this._disposeBackdrop(me);me.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{me.addEventListener("transitionend",this._backdropTransitionendHandler)}),me.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(me)},500))}}_toggleClasses(me,Pe,Ne){const Be=(0,y.Eq)(Pe||[]).filter(yt=>!!yt);Be.length&&(Ne?me.classList.add(...Be):me.classList.remove(...Be))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const me=this._ngZone.onStable.pipe((0,m.R)((0,d.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()),me.unsubscribe())})})}_disposeScrollStrategy(){const me=this._scrollStrategy;me&&(me.disable(),me.detach&&me.detach())}_disposeBackdrop(me){me&&(me.removeEventListener("click",this._backdropClickHandler),me.removeEventListener("transitionend",this._backdropTransitionendHandler),me.remove(),this._backdropElement===me&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",Z=/([A-Za-z%]+)$/;class H{get positions(){return this._preferredPositions}constructor(me,Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt,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 r.x,this._resizeSubscription=c.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(me)}attach(me){this._validatePositions(),me.hostElement.classList.add($),this._overlayRef=me,this._boundingBox=me.hostElement,this._pane=me.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 me=this._originRect,Pe=this._overlayRect,Ne=this._viewportRect,Be=this._containerRect,yt=[];let Ot;for(let Yt of this._preferredPositions){let jt=this._getOriginPoint(me,Be,Yt),cn=this._getOverlayPoint(jt,Pe,Yt),fn=this._getOverlayFit(cn,Pe,Ne,Yt);if(fn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Yt,jt);this._canFitWithFlexibleDimensions(fn,cn,Ne)?yt.push({position:Yt,origin:jt,overlayRect:Pe,boundingBoxRect:this._calculateBoundingBoxRect(jt,Yt)}):(!Ot||Ot.overlayFit.visibleAreajt&&(jt=fn,Yt=cn)}return this._isPushed=!1,void this._applyPosition(Yt.position,Yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ot.position,Ot.originPoint);this._applyPosition(Ot.position,Ot.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&te(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 me=this._lastPosition;if(me){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Pe=this._getOriginPoint(this._originRect,this._containerRect,me);this._applyPosition(me,Pe)}else this.apply()}withScrollableContainers(me){return this._scrollables=me,this}withPositions(me){return this._preferredPositions=me,-1===me.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(me){return this._viewportMargin=me,this}withFlexibleDimensions(me=!0){return this._hasFlexibleDimensions=me,this}withGrowAfterOpen(me=!0){return this._growAfterOpen=me,this}withPush(me=!0){return this._canPush=me,this}withLockedPosition(me=!0){return this._positionLocked=me,this}setOrigin(me){return this._origin=me,this}withDefaultOffsetX(me){return this._offsetX=me,this}withDefaultOffsetY(me){return this._offsetY=me,this}withTransformOriginOn(me){return this._transformOriginSelector=me,this}_getOriginPoint(me,Pe,Ne){let Be,yt;if("center"==Ne.originX)Be=me.left+me.width/2;else{const Ot=this._isRtl()?me.right:me.left,Yt=this._isRtl()?me.left:me.right;Be="start"==Ne.originX?Ot:Yt}return Pe.left<0&&(Be-=Pe.left),yt="center"==Ne.originY?me.top+me.height/2:"top"==Ne.originY?me.top:me.bottom,Pe.top<0&&(yt-=Pe.top),{x:Be,y:yt}}_getOverlayPoint(me,Pe,Ne){let Be,yt;return Be="center"==Ne.overlayX?-Pe.width/2:"start"===Ne.overlayX?this._isRtl()?-Pe.width:0:this._isRtl()?0:-Pe.width,yt="center"==Ne.overlayY?-Pe.height/2:"top"==Ne.overlayY?0:-Pe.height,{x:me.x+Be,y:me.y+yt}}_getOverlayFit(me,Pe,Ne,Be){const yt=ye(Pe);let{x:Ot,y:Yt}=me,jt=this._getOffset(Be,"x"),cn=this._getOffset(Be,"y");jt&&(Ot+=jt),cn&&(Yt+=cn);let En=0-Yt,un=Yt+yt.height-Ne.height,Bt=this._subtractOverflows(yt.width,0-Ot,Ot+yt.width-Ne.width),Ft=this._subtractOverflows(yt.height,En,un),De=Bt*Ft;return{visibleArea:De,isCompletelyWithinViewport:yt.width*yt.height===De,fitsInViewportVertically:Ft===yt.height,fitsInViewportHorizontally:Bt==yt.width}}_canFitWithFlexibleDimensions(me,Pe,Ne){if(this._hasFlexibleDimensions){const Be=Ne.bottom-Pe.y,yt=Ne.right-Pe.x,Ot=ue(this._overlayRef.getConfig().minHeight),Yt=ue(this._overlayRef.getConfig().minWidth);return(me.fitsInViewportVertically||null!=Ot&&Ot<=Be)&&(me.fitsInViewportHorizontally||null!=Yt&&Yt<=yt)}return!1}_pushOverlayOnScreen(me,Pe,Ne){if(this._previousPushAmount&&this._positionLocked)return{x:me.x+this._previousPushAmount.x,y:me.y+this._previousPushAmount.y};const Be=ye(Pe),yt=this._viewportRect,Ot=Math.max(me.x+Be.width-yt.width,0),Yt=Math.max(me.y+Be.height-yt.height,0),jt=Math.max(yt.top-Ne.top-me.y,0),cn=Math.max(yt.left-Ne.left-me.x,0);let fn=0,an=0;return fn=Be.width<=yt.width?cn||-Ot:me.xBt&&!this._isInitialRender&&!this._growAfterOpen&&(Ot=me.y-Bt/2)}if("end"===Pe.overlayX&&!Be||"start"===Pe.overlayX&&Be)En=Ne.width-me.x+this._viewportMargin,fn=me.x-this._viewportMargin;else if("start"===Pe.overlayX&&!Be||"end"===Pe.overlayX&&Be)an=me.x,fn=Ne.right-me.x;else{const un=Math.min(Ne.right-me.x+Ne.left,me.x),Bt=this._lastBoundingBoxSize.width;fn=2*un,an=me.x-un,fn>Bt&&!this._isInitialRender&&!this._growAfterOpen&&(an=me.x-Bt/2)}return{top:Ot,left:an,bottom:Yt,right:En,width:fn,height:yt}}_setBoundingBoxStyles(me,Pe){const Ne=this._calculateBoundingBoxRect(me,Pe);!this._isInitialRender&&!this._growAfterOpen&&(Ne.height=Math.min(Ne.height,this._lastBoundingBoxSize.height),Ne.width=Math.min(Ne.width,this._lastBoundingBoxSize.width));const Be={};if(this._hasExactPosition())Be.top=Be.left="0",Be.bottom=Be.right=Be.maxHeight=Be.maxWidth="",Be.width=Be.height="100%";else{const yt=this._overlayRef.getConfig().maxHeight,Ot=this._overlayRef.getConfig().maxWidth;Be.height=(0,y.HM)(Ne.height),Be.top=(0,y.HM)(Ne.top),Be.bottom=(0,y.HM)(Ne.bottom),Be.width=(0,y.HM)(Ne.width),Be.left=(0,y.HM)(Ne.left),Be.right=(0,y.HM)(Ne.right),Be.alignItems="center"===Pe.overlayX?"center":"end"===Pe.overlayX?"flex-end":"flex-start",Be.justifyContent="center"===Pe.overlayY?"center":"bottom"===Pe.overlayY?"flex-end":"flex-start",yt&&(Be.maxHeight=(0,y.HM)(yt)),Ot&&(Be.maxWidth=(0,y.HM)(Ot))}this._lastBoundingBoxSize=Ne,te(this._boundingBox.style,Be)}_resetBoundingBoxStyles(){te(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){te(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(me,Pe){const Ne={},Be=this._hasExactPosition(),yt=this._hasFlexibleDimensions,Ot=this._overlayRef.getConfig();if(Be){const fn=this._viewportRuler.getViewportScrollPosition();te(Ne,this._getExactOverlayY(Pe,me,fn)),te(Ne,this._getExactOverlayX(Pe,me,fn))}else Ne.position="static";let Yt="",jt=this._getOffset(Pe,"x"),cn=this._getOffset(Pe,"y");jt&&(Yt+=`translateX(${jt}px) `),cn&&(Yt+=`translateY(${cn}px)`),Ne.transform=Yt.trim(),Ot.maxHeight&&(Be?Ne.maxHeight=(0,y.HM)(Ot.maxHeight):yt&&(Ne.maxHeight="")),Ot.maxWidth&&(Be?Ne.maxWidth=(0,y.HM)(Ot.maxWidth):yt&&(Ne.maxWidth="")),te(this._pane.style,Ne)}_getExactOverlayY(me,Pe,Ne){let Be={top:"",bottom:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),"bottom"===me.overlayY?Be.bottom=this._document.documentElement.clientHeight-(yt.y+this._overlayRect.height)+"px":Be.top=(0,y.HM)(yt.y),Be}_getExactOverlayX(me,Pe,Ne){let Ot,Be={left:"",right:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),Ot=this._isRtl()?"end"===me.overlayX?"left":"right":"end"===me.overlayX?"right":"left","right"===Ot?Be.right=this._document.documentElement.clientWidth-(yt.x+this._overlayRect.width)+"px":Be.left=(0,y.HM)(yt.x),Be}_getScrollVisibility(){const me=this._getOriginRect(),Pe=this._pane.getBoundingClientRect(),Ne=this._scrollables.map(Be=>Be.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(me,Ne),isOriginOutsideView:S(me,Ne),isOverlayClipped:M(Pe,Ne),isOverlayOutsideView:S(Pe,Ne)}}_subtractOverflows(me,...Pe){return Pe.reduce((Ne,Be)=>Ne-Math.max(Be,0),me)}_getNarrowedViewportRect(){const me=this._document.documentElement.clientWidth,Pe=this._document.documentElement.clientHeight,Ne=this._viewportRuler.getViewportScrollPosition();return{top:Ne.top+this._viewportMargin,left:Ne.left+this._viewportMargin,right:Ne.left+me-this._viewportMargin,bottom:Ne.top+Pe-this._viewportMargin,width:me-2*this._viewportMargin,height:Pe-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(me,Pe){return"x"===Pe?null==me.offsetX?this._offsetX:me.offsetX:null==me.offsetY?this._offsetY:me.offsetY}_validatePositions(){}_addPanelClasses(me){this._pane&&(0,y.Eq)(me).forEach(Pe=>{""!==Pe&&-1===this._appliedPanelClasses.indexOf(Pe)&&(this._appliedPanelClasses.push(Pe),this._pane.classList.add(Pe))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(me=>{this._pane.classList.remove(me)}),this._appliedPanelClasses=[])}_getOriginRect(){const me=this._origin;if(me instanceof D.ElementRef)return me.nativeElement.getBoundingClientRect();if(me instanceof Element)return me.getBoundingClientRect();const Pe=me.width||0,Ne=me.height||0;return{top:me.y,bottom:me.y+Ne,left:me.x,right:me.x+Pe,height:Ne,width:Pe}}}function te(Ke,me){for(let Pe in me)me.hasOwnProperty(Pe)&&(Ke[Pe]=me[Pe]);return Ke}function ue(Ke){if("number"!=typeof Ke&&null!=Ke){const[me,Pe]=Ke.split(Z);return Pe&&"px"!==Pe?null:parseFloat(me)}return Ke||null}function ye(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const Ye="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(me){const Pe=me.getConfig();this._overlayRef=me,this._width&&!Pe.width&&me.updateSize({width:this._width}),this._height&&!Pe.height&&me.updateSize({height:this._height}),me.hostElement.classList.add(Ye),this._isDisposed=!1}top(me=""){return this._bottomOffset="",this._topOffset=me,this._alignItems="flex-start",this}left(me=""){return this._xOffset=me,this._xPosition="left",this}bottom(me=""){return this._topOffset="",this._bottomOffset=me,this._alignItems="flex-end",this}right(me=""){return this._xOffset=me,this._xPosition="right",this}start(me=""){return this._xOffset=me,this._xPosition="start",this}end(me=""){return this._xOffset=me,this._xPosition="end",this}width(me=""){return this._overlayRef?this._overlayRef.updateSize({width:me}):this._width=me,this}height(me=""){return this._overlayRef?this._overlayRef.updateSize({height:me}):this._height=me,this}centerHorizontally(me=""){return this.left(me),this._xPosition="center",this}centerVertically(me=""){return this.top(me),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement.style,Ne=this._overlayRef.getConfig(),{width:Be,height:yt,maxWidth:Ot,maxHeight:Yt}=Ne,jt=!("100%"!==Be&&"100vw"!==Be||Ot&&"100%"!==Ot&&"100vw"!==Ot),cn=!("100%"!==yt&&"100vh"!==yt||Yt&&"100%"!==Yt&&"100vh"!==Yt),fn=this._xPosition,an=this._xOffset,En="rtl"===this._overlayRef.getConfig().direction;let un="",Bt="",Ft="";jt?Ft="flex-start":"center"===fn?(Ft="center",En?Bt=an:un=an):En?"left"===fn||"end"===fn?(Ft="flex-end",un=an):("right"===fn||"start"===fn)&&(Ft="flex-start",Bt=an):"left"===fn||"start"===fn?(Ft="flex-start",un=an):("right"===fn||"end"===fn)&&(Ft="flex-end",Bt=an),me.position=this._cssPosition,me.marginLeft=jt?"0":un,me.marginTop=cn?"0":this._topOffset,me.marginBottom=this._bottomOffset,me.marginRight=jt?"0":Bt,Pe.justifyContent=Ft,Pe.alignItems=cn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement,Ne=Pe.style;Pe.classList.remove(Ye),Ne.justifyContent=Ne.alignItems=me.marginTop=me.marginBottom=me.marginLeft=me.marginRight=me.position="",this._overlayRef=null,this._isDisposed=!0}}let Et=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt}global(){return new Ze}flexibleConnectedTo(Pe){return new H(Pe,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(j))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),Te=0,qe=(()=>{class Ke{constructor(Pe,Ne,Be,yt,Ot,Yt,jt,cn,fn,an,En,un){this.scrollStrategies=Pe,this._overlayContainer=Ne,this._componentFactoryResolver=Be,this._positionBuilder=yt,this._keyboardDispatcher=Ot,this._injector=Yt,this._ngZone=jt,this._document=cn,this._directionality=fn,this._location=an,this._outsideClickDispatcher=En,this._animationsModuleType=un}create(Pe){const Ne=this._createHostElement(),Be=this._createPaneElement(Ne),yt=this._createPortalOutlet(Be),Ot=new P(Pe);return Ot.direction=Ot.direction||this._directionality.value,new B(yt,Ne,Be,Ot,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Pe){const Ne=this._document.createElement("div");return Ne.id="cdk-overlay-"+Te++,Ne.classList.add("cdk-overlay-pane"),Pe.appendChild(Ne),Ne}_createHostElement(){const Pe=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Pe),Pe}_createPortalOutlet(Pe){return this._appRef||(this._appRef=this._injector.get(D.ApplicationRef)),new l.u0(Pe,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(I),D.\u0275\u0275inject(j),D.\u0275\u0275inject(D.ComponentFactoryResolver),D.\u0275\u0275inject(Et),D.\u0275\u0275inject(ne),D.\u0275\u0275inject(D.Injector),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(o.Is),D.\u0275\u0275inject(f.Location),D.\u0275\u0275inject(ee),D.\u0275\u0275inject(D.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();const Ee=[{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"}],Ie=new D.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,D.inject)(qe);return()=>Ke.scrollStrategies.reposition()}});let Ce=(()=>{class Ke{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(D.ElementRef))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Ke})(),ge=(()=>{class Ke{get offsetX(){return this._offsetX}set offsetX(Pe){this._offsetX=Pe,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Pe){this._offsetY=Pe,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Pe){this._disposeOnNavigation=Pe}constructor(Pe,Ne,Be,yt,Ot){this._overlay=Pe,this._dir=Ot,this._backdropSubscription=c.w0.EMPTY,this._attachSubscription=c.w0.EMPTY,this._detachSubscription=c.w0.EMPTY,this._positionSubscription=c.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new D.EventEmitter,this.positionChange=new D.EventEmitter,this.attach=new D.EventEmitter,this.detach=new D.EventEmitter,this.overlayKeydown=new D.EventEmitter,this.overlayOutsideClick=new D.EventEmitter,this._templatePortal=new l.UE(Ne,Be),this._scrollStrategyFactory=yt,this.scrollStrategy=this._scrollStrategyFactory()}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(Pe){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Pe.origin&&this.open&&this._position.apply()),Pe.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ee);const Pe=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Pe.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Pe.detachments().subscribe(()=>this.detach.emit()),Pe.keydownEvents().subscribe(Ne=>{this.overlayKeydown.next(Ne),Ne.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(Ne)&&(Ne.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ne=>{this.overlayOutsideClick.next(Ne)})}_buildConfig(){const Pe=this._position=this.positionStrategy||this._createPositionStrategy(),Ne=new P({direction:this._dir,positionStrategy:Pe,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ne.width=this.width),(this.height||0===this.height)&&(Ne.height=this.height),(this.minWidth||0===this.minWidth)&&(Ne.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ne.minHeight=this.minHeight),this.backdropClass&&(Ne.backdropClass=this.backdropClass),this.panelClass&&(Ne.panelClass=this.panelClass),Ne}_updatePositionStrategy(Pe){const Ne=this.positions.map(Be=>({originX:Be.originX,originY:Be.originY,overlayX:Be.overlayX,overlayY:Be.overlayY,offsetX:Be.offsetX||this.offsetX,offsetY:Be.offsetY||this.offsetY,panelClass:Be.panelClass||void 0}));return Pe.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ne).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Pe=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Pe),Pe}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ce?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(Pe=>{this.backdropClick.emit(Pe)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,h.o)(()=>this.positionChange.observers.length>0)).subscribe(Pe=>{this.positionChange.emit(Pe),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(qe),D.\u0275\u0275directiveInject(D.TemplateRef),D.\u0275\u0275directiveInject(D.ViewContainerRef),D.\u0275\u0275directiveInject(Ie),D.\u0275\u0275directiveInject(o.Is,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,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",D.booleanAttribute],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",D.booleanAttribute],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.booleanAttribute],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.booleanAttribute],push:["cdkConnectedOverlayPush","push",D.booleanAttribute],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.booleanAttribute]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.\u0275\u0275InputTransformsFeature,D.\u0275\u0275NgOnChangesFeature]})}return Ke})();const q={provide:Ie,deps:[qe],useFactory:function Ae(Ke){return()=>Ke.scrollStrategies.reposition()}};let Re=(()=>{class Ke{static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[qe,q],imports:[o.vT,l.eL,n.Cl,n.Cl]})}return Ke})()},2831:(Me,ie,_)=>{"use strict";_.d(ie,{Mq:()=>d,Oy:()=>S,ht:()=>w,i$:()=>l,kV:()=>x,qK:()=>m,sA:()=>T,t4:()=>y});var n=_(9212),f=_(6814);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let v,y=(()=>{class M{constructor(I){this._platformId=I,this.isBrowser=this._platformId?(0,f.isPlatformBrowser)(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&&!D)&&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}static#e=this.\u0275fac=function(P){return new(P||M)(n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function m(){if(v)return v;if("object"!=typeof document||!document)return v=new Set(s),v;let M=document.createElement("input");return v=new Set(s.filter(k=>(M.setAttribute("type",k),M.type===k))),v}let h,c,b;function l(M){return function o(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?M:!!M.capture}function d(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const M=Element.prototype.scrollTo;c=!!M&&!/\{\s*\[native code\]\s*\}/.test(M.toString())}}return c}function x(M){if(function C(){if(null==b){const M=typeof document<"u"?document.head:null;b=!(!M||!M.createShadowRoot&&!M.attachShadow)}return b}()){const k=M.getRootNode?M.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&k instanceof ShadowRoot)return k}return null}function w(){let M=typeof document<"u"&&document?document.activeElement:null;for(;M&&M.shadowRoot;){const k=M.shadowRoot.activeElement;if(k===M)break;M=k}return M}function T(M){return M.composedPath?M.composedPath()[0]:M.target}function S(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Me,ie,_)=>{"use strict";_.d(ie,{C5:()=>o,Pl:()=>w,UE:()=>l,eL:()=>S,ig:()=>C,u0:()=>g});var n=_(9212),f=_(6814);class h{attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class o extends h{constructor(I,P,A,L,F){super(),this.component=I,this.viewContainerRef=P,this.injector=A,this.componentFactoryResolver=L,this.projectableNodes=F}}class l extends h{constructor(I,P,A,L){super(),this.templateRef=I,this.viewContainerRef=P,this.context=A,this.injector=L}get origin(){return this.templateRef.elementRef}attach(I,P=this.context){return this.context=P,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class r extends h{constructor(I){super(),this.element=I instanceof n.ElementRef?I.nativeElement:I}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof o?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof l?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof r?(this._attachedPortal=I,this.attachDomPortal(I)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class g extends c{constructor(I,P,A,L,F){super(),this.outletElement=I,this._componentFactoryResolver=P,this._appRef=A,this._defaultInjector=L,this.attachDomPortal=R=>{const U=R.element,W=this._document.createComment("dom-portal");U.parentNode.insertBefore(W,U),this.outletElement.appendChild(U),this._attachedPortal=R,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(U,W)})},this._document=F}attachComponentPortal(I){const A=(I.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(I.component);let L;return I.viewContainerRef?(L=I.viewContainerRef.createComponent(A,I.viewContainerRef.length,I.injector||I.viewContainerRef.injector,I.projectableNodes||void 0),this.setDisposeFn(()=>L.destroy())):(L=A.create(I.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(L.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(L.hostView),L.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(L)),this._attachedPortal=I,L}attachTemplatePortal(I){let P=I.viewContainerRef,A=P.createEmbeddedView(I.templateRef,I.context,{injector:I.injector});return A.rootNodes.forEach(L=>this.outletElement.appendChild(L)),A.detectChanges(),this.setDisposeFn(()=>{let L=P.indexOf(A);-1!==L&&P.remove(L)}),this._attachedPortal=I,A}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let C=(()=>{class k extends l{constructor(P,A){super(P,A)}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),w=(()=>{class k extends c{constructor(P,A,L){super(),this._componentFactoryResolver=P,this._viewContainerRef=A,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=F=>{const R=F.element,U=this._document.createComment("dom-portal");F.setAttachedHost(this),R.parentNode.insertBefore(U,R),this._getRootNode().appendChild(R),this._attachedPortal=F,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(R,U)})},this._document=L}get portal(){return this._attachedPortal}set portal(P){this.hasAttached()&&!P&&!this._isInitialized||(this.hasAttached()&&super.detach(),P&&super.attach(P),this._attachedPortal=P||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(P){P.setAttachedHost(this);const A=null!=P.viewContainerRef?P.viewContainerRef:this._viewContainerRef,F=(P.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(P.component),R=A.createComponent(F,A.length,P.injector||A.injector,P.projectableNodes||void 0);return A!==this._viewContainerRef&&this._getRootNode().appendChild(R.hostView.rootNodes[0]),super.setDisposeFn(()=>R.destroy()),this._attachedPortal=P,this._attachedRef=R,this.attached.emit(R),R}attachTemplatePortal(P){P.setAttachedHost(this);const A=this._viewContainerRef.createEmbeddedView(P.templateRef,P.context,{injector:P.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=P,this._attachedRef=A,this.attached.emit(A),A}_getRootNode(){const P=this._viewContainerRef.element.nativeElement;return P.nodeType===P.ELEMENT_NODE?P:P.parentNode}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(f.DOCUMENT))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),S=(()=>{class k{static#e=this.\u0275fac=function(A){return new(A||k)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return k})()},6672:(Me,ie,_)=>{"use strict";_.d(ie,{Cl:()=>B,ZD:()=>j,mF:()=>S,rL:()=>I});var n=_(2495),f=_(9212),D=_(8645),y=_(2096),u=_(5592),v=_(2438),h=(_(927),_(6410),_(8672)),o=_(2181),l=_(2831),r=_(6814),c=_(9388);let S=(()=>{class ${constructor(H,te,ue){this._ngZone=H,this._platform=te,this._scrolled=new D.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(H){this.scrollContainers.has(H)||this.scrollContainers.set(H,H.elementScrolled().subscribe(()=>this._scrolled.next(H)))}deregister(H){const te=this.scrollContainers.get(H);te&&(te.unsubscribe(),this.scrollContainers.delete(H))}scrolled(H=20){return this._platform.isBrowser?new u.y(te=>{this._globalSubscription||this._addGlobalListener();const ue=H>0?this._scrolled.pipe((0,h.e)(H)).subscribe(te):this._scrolled.subscribe(te);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((H,te)=>this.deregister(te)),this._scrolled.complete()}ancestorScrolled(H,te){const ue=this.getAncestorScrollContainers(H);return this.scrolled(te).pipe((0,o.h)(ye=>!ye||ue.indexOf(ye)>-1))}getAncestorScrollContainers(H){const te=[];return this.scrollContainers.forEach((ue,ye)=>{this._scrollableContainsElement(ye,H)&&te.push(ye)}),te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(H,te){let ue=(0,n.fI)(te),ye=H.getElementRef().nativeElement;do{if(ue==ye)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const H=this._getWindow();return(0,v.R)(H.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),I=(()=>{class ${constructor(H,te,ue){this._platform=H,this._change=new D.x,this._changeListener=ye=>{this._change.next(ye)},this._document=ue,te.runOutsideAngular(()=>{if(H.isBrowser){const ye=this._getWindow();ye.addEventListener("resize",this._changeListener),ye.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const H=this._getWindow();H.removeEventListener("resize",this._changeListener),H.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const H={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),H}getViewportRect(){const H=this.getViewportScrollPosition(),{width:te,height:ue}=this.getViewportSize();return{top:H.top,left:H.left,bottom:H.top+ue,right:H.left+te,height:ue,width:te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const H=this._document,te=this._getWindow(),ue=H.documentElement,ye=ue.getBoundingClientRect();return{top:-ye.top||H.body.scrollTop||te.scrollY||ue.scrollTop||0,left:-ye.left||H.body.scrollLeft||te.scrollX||ue.scrollLeft||0}}change(H=20){return H>0?this._change.pipe((0,h.e)(H)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const H=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:H.innerWidth,height:H.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),j=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({})}return $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[c.vT,j,c.vT,j]})}return $})()},6814:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{APP_BASE_HREF:()=>d,AsyncPipe:()=>Fi,BrowserPlatformLocation:()=>h,CommonModule:()=>Jr,CurrencyPipe:()=>or,DATE_PIPE_DEFAULT_OPTIONS:()=>Mi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Ln,DOCUMENT:()=>v,DatePipe:()=>Vn,DecimalPipe:()=>Cr,FormStyle:()=>P,FormatWidth:()=>L,HashLocationStrategy:()=>b,I18nPluralPipe:()=>sr,I18nSelectPipe:()=>pr,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>lr,JsonPipe:()=>Gr,KeyValuePipe:()=>Lr,LOCATION_INITIALIZED:()=>m,Location:()=>C,LocationStrategy:()=>c,LowerCasePipe:()=>mr,NgClass:()=>wt,NgComponentOutlet:()=>vt,NgFor:()=>ze,NgForOf:()=>ze,NgForOfContext:()=>dn,NgIf:()=>pe,NgIfContext:()=>de,NgLocaleLocalization:()=>qt,NgLocalization:()=>ot,NgOptimizedImage:()=>jr,NgPlural:()=>qi,NgPluralCase:()=>ki,NgStyle:()=>zi,NgSwitch:()=>On,NgSwitchCase:()=>Bn,NgSwitchDefault:()=>Ci,NgTemplateOutlet:()=>Gi,NumberFormatStyle:()=>k,NumberSymbol:()=>F,PRECONNECT_CHECK_BLOCKLIST:()=>_s,PathLocationStrategy:()=>g,PercentPipe:()=>Zi,PlatformLocation:()=>s,Plural:()=>I,SlicePipe:()=>Fr,TitleCasePipe:()=>_n,TranslationWidth:()=>A,UpperCasePipe:()=>wn,VERSION:()=>Gt,ViewportScroller:()=>on,WeekDay:()=>R,XhrFactory:()=>Gn,formatCurrency:()=>Nn,formatDate:()=>yt,formatNumber:()=>_i,formatPercent:()=>ui,getCurrencySymbol:()=>Ae,getLocaleCurrencyCode:()=>Ye,getLocaleCurrencyName:()=>$e,getLocaleCurrencySymbol:()=>Ge,getLocaleDateFormat:()=>Z,getLocaleDateTimeFormat:()=>te,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Ie,getLocaleEraNames:()=>j,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>Ee,getLocaleFirstDayOfWeek:()=>B,getLocaleId:()=>U,getLocaleMonthNames:()=>ee,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Et,getLocaleTimeFormat:()=>H,getLocaleWeekEndRange:()=>$,getNumberOfCurrencyDigits:()=>Re,isPlatformBrowser:()=>gt,isPlatformServer:()=>Tt,isPlatformWorkerApp:()=>It,isPlatformWorkerUi:()=>$t,provideCloudflareLoader:()=>ti,provideCloudinaryLoader:()=>Es,provideImageKitLoader:()=>Bi,provideImgixLoader:()=>je,registerLocaleData:()=>it,\u0275DomAdapter:()=>u,\u0275NullViewportScroller:()=>An,\u0275PLATFORM_BROWSER_ID:()=>Tr,\u0275PLATFORM_SERVER_ID:()=>qr,\u0275PLATFORM_WORKER_APP_ID:()=>Ur,\u0275PLATFORM_WORKER_UI_ID:()=>Dt,\u0275getDOM:()=>D,\u0275normalizeQueryParams:()=>r,\u0275parseCookieValue:()=>dt,\u0275setRootDomAdapter:()=>y});var n=_(9212);let f=null;function D(){return f}function y(J){f||(f=J)}class u{}const v=new n.InjectionToken("DocumentToken");let s=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(h),providedIn:"platform"})}return J})();const m=new n.InjectionToken("Location Initialized");let h=(()=>{class J extends s{constructor(){super(),this._doc=(0,n.inject)(v),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("popstate",le,!1),()=>ve.removeEventListener("popstate",le)}onHashChange(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("hashchange",le,!1),()=>ve.removeEventListener("hashchange",le)}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(le){this._location.pathname=le}pushState(le,ve,lt){this._history.pushState(le,ve,lt)}replaceState(le,ve,lt){this._history.replaceState(le,ve,lt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>new J,providedIn:"platform"})}return J})();function o(J,Fe){if(0==J.length)return Fe;if(0==Fe.length)return J;let le=0;return J.endsWith("/")&&le++,Fe.startsWith("/")&&le++,2==le?J+Fe.substring(1):1==le?J+Fe:J+"/"+Fe}function l(J){const Fe=J.match(/#|\?|$/),le=Fe&&Fe.index||J.length;return J.slice(0,le-("/"===J[le-1]?1:0))+J.slice(le)}function r(J){return J&&"?"!==J[0]?"?"+J:J}let c=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(g),providedIn:"root"})}return J})();const d=new n.InjectionToken("appBaseHref");let g=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._removeListenerFns=[],this._baseHref=ve??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return o(this._baseHref,le)}path(le=!1){const ve=this._platformLocation.pathname+r(this._platformLocation.search),lt=this._platformLocation.hash;return lt&&le?`${ve}${lt}`:ve}pushState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),b=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=ve&&(this._baseHref=ve)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let ve=this._platformLocation.hash;return null==ve&&(ve="#"),ve.length>0?ve.substring(1):ve}prepareExternalUrl(le){const ve=o(this._baseHref,le);return ve.length>0?"#"+ve:ve}pushState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})(),C=(()=>{class J{constructor(le){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=le;const ve=this._locationStrategy.getBaseHref();this._basePath=function S(J){if(new RegExp("^(https?:)?//").test(J)){const[,le]=J.split(/\/\/[^\/]+/);return le}return J}(l(T(ve))),this._locationStrategy.onPopState(lt=>{this._subject.emit({url:this.path(!0),pop:!0,state:lt.state,type:lt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(le=!1){return this.normalize(this._locationStrategy.path(le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(le,ve=""){return this.path()==this.normalize(le+r(ve))}normalize(le){return J.stripTrailingSlash(function w(J,Fe){if(!J||!Fe.startsWith(J))return Fe;const le=Fe.substring(J.length);return""===le||["/",";","?","#"].includes(le[0])?le:Fe}(this._basePath,T(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._locationStrategy.prepareExternalUrl(le)}go(le,ve="",lt=null){this._locationStrategy.pushState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}replaceState(le,ve="",lt=null){this._locationStrategy.replaceState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(le=0){this._locationStrategy.historyGo?.(le)}onUrlChange(le){return this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ve=>{this._notifyUrlChangeListeners(ve.url,ve.state)})),()=>{const ve=this._urlChangeListeners.indexOf(le);this._urlChangeListeners.splice(ve,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(le="",ve){this._urlChangeListeners.forEach(lt=>lt(le,ve))}subscribe(le,ve,lt){return this._subject.subscribe({next:le,error:ve,complete:lt})}static#e=this.normalizeQueryParams=r;static#t=this.joinWithSlash=o;static#n=this.stripTrailingSlash=l;static#i=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(c))};static#r=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>function x(){return new C((0,n.\u0275\u0275inject)(c))}(),providedIn:"root"})}return J})();function T(J){return J.replace(/\/index.html$/,"")}const M={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var k=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(k||{}),I=function(J){return J[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J}(I||{}),P=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(P||{}),A=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(A||{}),L=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(L||{}),F=function(J){return J[J.Decimal=0]="Decimal",J[J.Group=1]="Group",J[J.List=2]="List",J[J.PercentSign=3]="PercentSign",J[J.PlusSign=4]="PlusSign",J[J.MinusSign=5]="MinusSign",J[J.Exponential=6]="Exponential",J[J.SuperscriptingExponent=7]="SuperscriptingExponent",J[J.PerMille=8]="PerMille",J[J.Infinity=9]="Infinity",J[J.NaN=10]="NaN",J[J.TimeSeparator=11]="TimeSeparator",J[J.CurrencyDecimal=12]="CurrencyDecimal",J[J.CurrencyGroup=13]="CurrencyGroup",J}(F||{}),R=function(J){return J[J.Sunday=0]="Sunday",J[J.Monday=1]="Monday",J[J.Tuesday=2]="Tuesday",J[J.Wednesday=3]="Wednesday",J[J.Thursday=4]="Thursday",J[J.Friday=5]="Friday",J[J.Saturday=6]="Saturday",J}(R||{});function U(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.LocaleId]}function W(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DayPeriodsFormat],ve[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Fe);return Ce(zt,le)}function ne(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DaysFormat],ve[n.\u0275LocaleDataIndex.DaysStandalone]],Fe);return Ce(zt,le)}function ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.MonthsFormat],ve[n.\u0275LocaleDataIndex.MonthsStandalone]],Fe);return Ce(zt,le)}function j(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Eras],Fe)}function B(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function $(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.WeekendRange]}function Z(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateFormat],Fe)}function H(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.TimeFormat],Fe)}function te(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateTimeFormat],Fe)}function ue(J,Fe){const le=(0,n.\u0275findLocaleData)(J),ve=le[n.\u0275LocaleDataIndex.NumberSymbols][Fe];if(typeof ve>"u"){if(Fe===F.CurrencyDecimal)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Decimal];if(Fe===F.CurrencyGroup)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Group]}return ve}function ye(J,Fe){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.NumberFormats][Fe]}function Ge(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function $e(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencyName]||null}function Ye(J){return(0,n.\u0275getLocaleCurrencyCode)(J)}const Et=n.\u0275getLocalePluralCase;function Te(J){if(!J[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(J){const Fe=(0,n.\u0275findLocaleData)(J);return Te(Fe),(Fe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ve=>"string"==typeof ve?ge(ve):[ge(ve[0]),ge(ve[1])])}function Ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J);Te(ve);const zt=Ce([ve[n.\u0275LocaleDataIndex.ExtraData][0],ve[n.\u0275LocaleDataIndex.ExtraData][1]],Fe)||[];return Ce(zt,le)||[]}function Ie(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Directionality]}function Ce(J,Fe){for(let le=Fe;le>-1;le--)if(typeof J[le]<"u")return J[le];throw new Error("Locale data API: locale data undefined")}function ge(J){const[Fe,le]=J.split(":");return{hours:+Fe,minutes:+le}}function Ae(J,Fe,le="en"){const ve=function Ze(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Currencies]}(le)[J]||M[J]||[],lt=ve[1];return"narrow"===Fe&&"string"==typeof lt?lt:ve[0]||J}const q=2;function Re(J){let Fe;const le=M[J];return le&&(Fe=le[2]),"number"==typeof Fe?Fe:q}const ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ke={},me=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Pe=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(Pe||{}),Ne=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(Ne||{}),Be=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(Be||{});function yt(J,Fe,le,ve){let lt=function _e(J){if(z(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[lt,zt=1,nn=1]=J.split("-").map(xn=>+xn);return Ot(lt,zt-1,nn)}const le=parseFloat(J);if(!isNaN(J-le))return new Date(le);let ve;if(ve=J.match(ke))return function ce(J){const Fe=new Date(0);let le=0,ve=0;const lt=J[8]?Fe.setUTCFullYear:Fe.setFullYear,zt=J[8]?Fe.setUTCHours:Fe.setHours;J[9]&&(le=Number(J[9]+J[10]),ve=Number(J[9]+J[11])),lt.call(Fe,Number(J[1]),Number(J[2])-1,Number(J[3]));const nn=Number(J[4]||0)-le,xn=Number(J[5]||0)-ve,Li=Number(J[6]||0),di=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return zt.call(Fe,nn,xn,Li,di),Fe}(ve)}const Fe=new Date(J);if(!z(Fe))throw new Error(`Unable to convert "${J}" into a date`);return Fe}(J);Fe=Yt(le,Fe)||Fe;let xn,nn=[];for(;Fe;){if(xn=me.exec(Fe),!xn){nn.push(Fe);break}{nn=nn.concat(xn.slice(1));const Un=nn.pop();if(!Un)break;Fe=Un}}let Li=lt.getTimezoneOffset();ve&&(Li=Pt(ve,Li),lt=function bt(J,Fe,le){const ve=le?-1:1,lt=J.getTimezoneOffset();return function Nt(J,Fe){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+Fe),J}(J,ve*(Pt(Fe,lt)-lt))}(lt,ve,!0));let di="";return nn.forEach(Un=>{const Xn=function Ct(J){if(Oe[J])return Oe[J];let Fe;switch(J){case"G":case"GG":case"GGG":Fe=un(Be.Eras,A.Abbreviated);break;case"GGGG":Fe=un(Be.Eras,A.Wide);break;case"GGGGG":Fe=un(Be.Eras,A.Narrow);break;case"y":Fe=an(Ne.FullYear,1,0,!1,!0);break;case"yy":Fe=an(Ne.FullYear,2,0,!0,!0);break;case"yyy":Fe=an(Ne.FullYear,3,0,!1,!0);break;case"yyyy":Fe=an(Ne.FullYear,4,0,!1,!0);break;case"Y":Fe=ut(1);break;case"YY":Fe=ut(2,!0);break;case"YYY":Fe=ut(3);break;case"YYYY":Fe=ut(4);break;case"M":case"L":Fe=an(Ne.Month,1,1);break;case"MM":case"LL":Fe=an(Ne.Month,2,1);break;case"MMM":Fe=un(Be.Months,A.Abbreviated);break;case"MMMM":Fe=un(Be.Months,A.Wide);break;case"MMMMM":Fe=un(Be.Months,A.Narrow);break;case"LLL":Fe=un(Be.Months,A.Abbreviated,P.Standalone);break;case"LLLL":Fe=un(Be.Months,A.Wide,P.Standalone);break;case"LLLLL":Fe=un(Be.Months,A.Narrow,P.Standalone);break;case"w":Fe=tt(1);break;case"ww":Fe=tt(2);break;case"W":Fe=tt(1,!0);break;case"d":Fe=an(Ne.Date,1);break;case"dd":Fe=an(Ne.Date,2);break;case"c":case"cc":Fe=an(Ne.Day,1);break;case"ccc":Fe=un(Be.Days,A.Abbreviated,P.Standalone);break;case"cccc":Fe=un(Be.Days,A.Wide,P.Standalone);break;case"ccccc":Fe=un(Be.Days,A.Narrow,P.Standalone);break;case"cccccc":Fe=un(Be.Days,A.Short,P.Standalone);break;case"E":case"EE":case"EEE":Fe=un(Be.Days,A.Abbreviated);break;case"EEEE":Fe=un(Be.Days,A.Wide);break;case"EEEEE":Fe=un(Be.Days,A.Narrow);break;case"EEEEEE":Fe=un(Be.Days,A.Short);break;case"a":case"aa":case"aaa":Fe=un(Be.DayPeriods,A.Abbreviated);break;case"aaaa":Fe=un(Be.DayPeriods,A.Wide);break;case"aaaaa":Fe=un(Be.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":Fe=un(Be.DayPeriods,A.Abbreviated,P.Standalone,!0);break;case"bbbb":Fe=un(Be.DayPeriods,A.Wide,P.Standalone,!0);break;case"bbbbb":Fe=un(Be.DayPeriods,A.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":Fe=un(Be.DayPeriods,A.Abbreviated,P.Format,!0);break;case"BBBB":Fe=un(Be.DayPeriods,A.Wide,P.Format,!0);break;case"BBBBB":Fe=un(Be.DayPeriods,A.Narrow,P.Format,!0);break;case"h":Fe=an(Ne.Hours,1,-12);break;case"hh":Fe=an(Ne.Hours,2,-12);break;case"H":Fe=an(Ne.Hours,1);break;case"HH":Fe=an(Ne.Hours,2);break;case"m":Fe=an(Ne.Minutes,1);break;case"mm":Fe=an(Ne.Minutes,2);break;case"s":Fe=an(Ne.Seconds,1);break;case"ss":Fe=an(Ne.Seconds,2);break;case"S":Fe=an(Ne.FractionalSeconds,1);break;case"SS":Fe=an(Ne.FractionalSeconds,2);break;case"SSS":Fe=an(Ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Fe=Ft(Pe.Short);break;case"ZZZZZ":Fe=Ft(Pe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Fe=Ft(Pe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Fe=Ft(Pe.Long);break;default:return null}return Oe[J]=Fe,Fe}(Un);di+=Xn?Xn(lt,le,Li):"''"===Un?"'":Un.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),di}function Ot(J,Fe,le){const ve=new Date(0);return ve.setFullYear(J,Fe,le),ve.setHours(0,0,0),ve}function Yt(J,Fe){const le=U(J);if(Ke[le]=Ke[le]||{},Ke[le][Fe])return Ke[le][Fe];let ve="";switch(Fe){case"shortDate":ve=Z(J,L.Short);break;case"mediumDate":ve=Z(J,L.Medium);break;case"longDate":ve=Z(J,L.Long);break;case"fullDate":ve=Z(J,L.Full);break;case"shortTime":ve=H(J,L.Short);break;case"mediumTime":ve=H(J,L.Medium);break;case"longTime":ve=H(J,L.Long);break;case"fullTime":ve=H(J,L.Full);break;case"short":const lt=Yt(J,"shortTime"),zt=Yt(J,"shortDate");ve=jt(te(J,L.Short),[lt,zt]);break;case"medium":const nn=Yt(J,"mediumTime"),xn=Yt(J,"mediumDate");ve=jt(te(J,L.Medium),[nn,xn]);break;case"long":const Li=Yt(J,"longTime"),di=Yt(J,"longDate");ve=jt(te(J,L.Long),[Li,di]);break;case"full":const Un=Yt(J,"fullTime"),Xn=Yt(J,"fullDate");ve=jt(te(J,L.Full),[Un,Xn])}return ve&&(Ke[le][Fe]=ve),ve}function jt(J,Fe){return Fe&&(J=J.replace(/\{([^}]+)}/g,function(le,ve){return null!=Fe&&ve in Fe?Fe[ve]:le})),J}function cn(J,Fe,le="-",ve,lt){let zt="";(J<0||lt&&J<=0)&&(lt?J=1-J:(J=-J,zt=le));let nn=String(J);for(;nn.length0||xn>-le)&&(xn+=le),J===Ne.Hours)0===xn&&-12===le&&(xn=12);else if(J===Ne.FractionalSeconds)return function fn(J,Fe){return cn(J,3).substring(0,Fe)}(xn,Fe);const Li=ue(nn,F.MinusSign);return cn(xn,Fe,Li,ve,lt)}}function un(J,Fe,le=P.Format,ve=!1){return function(lt,zt){return function Bt(J,Fe,le,ve,lt,zt){switch(le){case Be.Months:return ee(Fe,lt,ve)[J.getMonth()];case Be.Days:return ne(Fe,lt,ve)[J.getDay()];case Be.DayPeriods:const nn=J.getHours(),xn=J.getMinutes();if(zt){const di=qe(Fe),Un=Ee(Fe,lt,ve),Xn=di.findIndex($i=>{if(Array.isArray($i)){const[Ii,Yi]=$i,is=nn>=Ii.hours&&xn>=Ii.minutes,kr=nn0?Math.floor(lt/60):Math.ceil(lt/60);switch(J){case Pe.Short:return(lt>=0?"+":"")+cn(nn,2,zt)+cn(Math.abs(lt%60),2,zt);case Pe.ShortGMT:return"GMT"+(lt>=0?"+":"")+cn(nn,1,zt);case Pe.Long:return"GMT"+(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);case Pe.Extended:return 0===ve?"Z":(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);default:throw new Error(`Unknown zone width "${J}"`)}}}const De=0,Ve=4;function St(J){return Ot(J.getFullYear(),J.getMonth(),J.getDate()+(Ve-J.getDay()))}function tt(J,Fe=!1){return function(le,ve){let lt;if(Fe){const zt=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,nn=le.getDate();lt=1+Math.floor((nn+zt)/7)}else{const zt=St(le),nn=function Xe(J){const Fe=Ot(J,De,1).getDay();return Ot(J,0,1+(Fe<=Ve?Ve:Ve+7)-Fe)}(zt.getFullYear()),xn=zt.getTime()-nn.getTime();lt=1+Math.round(xn/6048e5)}return cn(lt,J,ue(ve,F.MinusSign))}}function ut(J,Fe=!1){return function(le,ve){return cn(St(le).getFullYear(),J,ue(ve,F.MinusSign),Fe)}}const Oe={};function Pt(J,Fe){J=J.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(le)?Fe:le}function z(J){return J instanceof Date&&!isNaN(J.valueOf())}const oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Se=22,at=".",nt="0",mt=";",He=",",rt="#",Lt="\xa4",Xt="%";function tn(J,Fe,le,ve,lt,zt,nn=!1){let xn="",Li=!1;if(isFinite(J)){let di=function st(J){let ve,lt,zt,nn,xn,Fe=Math.abs(J)+"",le=0;for((lt=Fe.indexOf(at))>-1&&(Fe=Fe.replace(at,"")),(zt=Fe.search(/e/i))>0?(lt<0&&(lt=zt),lt+=+Fe.slice(zt+1),Fe=Fe.substring(0,zt)):lt<0&&(lt=Fe.length),zt=0;Fe.charAt(zt)===nt;zt++);if(zt===(xn=Fe.length))ve=[0],lt=1;else{for(xn--;Fe.charAt(xn)===nt;)xn--;for(lt-=zt,ve=[],nn=0;zt<=xn;zt++,nn++)ve[nn]=Number(Fe.charAt(zt))}return lt>Se&&(ve=ve.splice(0,Se-1),le=lt-1,lt=1),{digits:ve,exponent:le,integerLen:lt}}(J);nn&&(di=function Yn(J){if(0===J.digits[0])return J;const Fe=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===Fe?J.digits.push(0,0):1===Fe&&J.digits.push(0),J.integerLen+=2),J}(di));let Un=Fe.minInt,Xn=Fe.minFrac,$i=Fe.maxFrac;if(zt){const _r=zt.match(oe);if(null===_r)throw new Error(`${zt} is not a valid digit info`);const ur=_r[1],Ji=_r[3],rs=_r[5];null!=ur&&(Un=Ue(ur)),null!=Ji&&(Xn=Ue(Ji)),null!=rs?$i=Ue(rs):null!=Ji&&Xn>$i&&($i=Xn)}!function pn(J,Fe,le){if(Fe>le)throw new Error(`The minimum number of digits after fraction (${Fe}) is higher than the maximum (${le}).`);let ve=J.digits,lt=ve.length-J.integerLen;const zt=Math.min(Math.max(Fe,lt),le);let nn=zt+J.integerLen,xn=ve[nn];if(nn>0){ve.splice(Math.max(J.integerLen,nn));for(let Xn=nn;Xn=5)if(nn-1<0){for(let Xn=0;Xn>nn;Xn--)ve.unshift(0),J.integerLen++;ve.unshift(1),J.integerLen++}else ve[nn-1]++;for(;lt=di?Yi.pop():Li=!1),$i>=10?1:0},0);Un&&(ve.unshift(Un),J.integerLen++)}(di,Xn,$i);let Ii=di.digits,Yi=di.integerLen;const is=di.exponent;let kr=[];for(Li=Ii.every(_r=>!_r);Yi0?kr=Ii.splice(Yi,Ii.length):(kr=Ii,Ii=[0]);const ds=[];for(Ii.length>=Fe.lgSize&&ds.unshift(Ii.splice(-Fe.lgSize,Ii.length).join(""));Ii.length>Fe.gSize;)ds.unshift(Ii.splice(-Fe.gSize,Ii.length).join(""));Ii.length&&ds.unshift(Ii.join("")),xn=ds.join(ue(le,ve)),kr.length&&(xn+=ue(le,lt)+kr.join("")),is&&(xn+=ue(le,F.Exponential)+"+"+is)}else xn=ue(le,F.Infinity);return xn=J<0&&!Li?Fe.negPre+xn+Fe.negSuf:Fe.posPre+xn+Fe.posSuf,xn}function Nn(J,Fe,le,ve,lt){const nn=Hi(ye(Fe,k.Currency),ue(Fe,F.MinusSign));return nn.minFrac=Re(ve),nn.maxFrac=nn.minFrac,tn(J,nn,Fe,F.CurrencyGroup,F.CurrencyDecimal,lt).replace(Lt,le).replace(Lt,"").trim()}function ui(J,Fe,le){return tn(J,Hi(ye(Fe,k.Percent),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le,!0).replace(new RegExp(Xt,"g"),ue(Fe,F.PercentSign))}function _i(J,Fe,le){return tn(J,Hi(ye(Fe,k.Decimal),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le)}function Hi(J,Fe="-"){const le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ve=J.split(mt),lt=ve[0],zt=ve[1],nn=-1!==lt.indexOf(at)?lt.split(at):[lt.substring(0,lt.lastIndexOf(nt)+1),lt.substring(lt.lastIndexOf(nt)+1)],xn=nn[0],Li=nn[1]||"";le.posPre=xn.substring(0,xn.indexOf(rt));for(let Un=0;Un{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:function(ve){let lt=null;return ve?lt=new ve:(zt=n.\u0275\u0275inject(n.LOCALE_ID),lt=new qt(zt)),lt;var zt},providedIn:"root"})}return J})();function At(J,Fe,le,ve){let lt=`=${J}`;if(Fe.indexOf(lt)>-1||(lt=le.getPluralCategory(J,ve),Fe.indexOf(lt)>-1))return lt;if(Fe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${J}"`)}let qt=(()=>{class J extends ot{constructor(le){super(),this.locale=le}getPluralCategory(le,ve){switch(Et(ve||this.locale)(le)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})();function it(J,Fe,le){return(0,n.\u0275registerLocaleData)(J,Fe,le)}function dt(J,Fe){Fe=encodeURIComponent(Fe);for(const le of J.split(";")){const ve=le.indexOf("="),[lt,zt]=-1==ve?[le,""]:[le.slice(0,ve),le.slice(ve+1)];if(lt.trim()===Fe)return decodeURIComponent(zt)}return null}const ct=/\s+/,Ut=[];let wt=(()=>{class J{constructor(le,ve,lt,zt){this._iterableDiffers=le,this._keyValueDiffers=ve,this._ngEl=lt,this._renderer=zt,this.initialClasses=Ut,this.stateMap=new Map}set klass(le){this.initialClasses=null!=le?le.trim().split(ct):Ut}set ngClass(le){this.rawClass="string"==typeof le?le.trim().split(ct):le}ngDoCheck(){for(const ve of this.initialClasses)this._updateState(ve,!0);const le=this.rawClass;if(Array.isArray(le)||le instanceof Set)for(const ve of le)this._updateState(ve,!0);else if(null!=le)for(const ve of Object.keys(le))this._updateState(ve,!!le[ve]);this._applyStateDiff()}_updateState(le,ve){const lt=this.stateMap.get(le);void 0!==lt?(lt.enabled!==ve&&(lt.changed=!0,lt.enabled=ve),lt.touched=!0):this.stateMap.set(le,{enabled:ve,changed:!0,touched:!0})}_applyStateDiff(){for(const le of this.stateMap){const ve=le[0],lt=le[1];lt.changed?(this._toggleClass(ve,lt.enabled),lt.changed=!1):lt.touched||(lt.enabled&&this._toggleClass(ve,!1),this.stateMap.delete(ve)),lt.touched=!1}}_toggleClass(le,ve){(le=le.trim()).length>0&&le.split(ct).forEach(lt=>{ve?this._renderer.addClass(this._ngEl.nativeElement,lt):this._renderer.removeClass(this._ngEl.nativeElement,lt)})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return J})(),vt=(()=>{class J{constructor(le){this._viewContainerRef=le,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(le){return void 0!==le.ngComponentOutletNgModule||void 0!==le.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(le){return void 0!==le.ngComponentOutlet||void 0!==le.ngComponentOutletContent||void 0!==le.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(le)}ngOnChanges(le){if(this._needToReCreateComponentInstance(le)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ve=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(le)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Ht(ve)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ht(ve)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ve,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const le of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(le,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(le){for(const[ve,lt]of this._inputsUsed)lt?(le.setInput(ve,this.ngComponentOutletInputs[ve]),this._inputsUsed.set(ve,!1)):(le.setInput(ve,void 0),this._inputsUsed.delete(ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Ht(J){return J.get(n.NgModuleRef).injector}class dn{constructor(Fe,le,ve,lt){this.$implicit=Fe,this.ngForOf=le,this.index=ve,this.count=lt}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 ze=(()=>{class J{set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}constructor(le,ve,lt){this._viewContainer=le,this._template=ve,this._differs=lt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const ve=this._viewContainer;le.forEachOperation((lt,zt,nn)=>{if(null==lt.previousIndex)ve.createEmbeddedView(this._template,new dn(lt.item,this._ngForOf,-1,-1),null===nn?void 0:nn);else if(null==nn)ve.remove(null===zt?void 0:zt);else if(null!==zt){const xn=ve.get(zt);ve.move(xn,nn),en(xn,lt)}});for(let lt=0,zt=ve.length;lt{en(ve.get(lt.currentIndex),lt)})}static ngTemplateContextGuard(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return J})();function en(J,Fe){J.context.$implicit=Fe.item}let pe=(()=>{class J{constructor(le,ve){this._viewContainer=le,this._context=new de,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ve}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){Qe("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){Qe("ngIfElse",le),this._elseTemplateRef=le,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(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return J})();class de{constructor(){this.$implicit=null,this.ngIf=null}}function Qe(J,Fe){if(Fe&&!Fe.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Fe)}'.`)}class hn{constructor(Fe,le){this._viewContainerRef=Fe,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Fe){Fe&&!this._created?this.create():!Fe&&this._created&&this.destroy()}}let On=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews.push(le)}_matchCase(le){const ve=le===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ve,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ve}_updateDefaultCases(le){if(this._defaultViews.length>0&&le!==this._defaultUsed){this._defaultUsed=le;for(const ve of this._defaultViews)ve.enforceState(le)}}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return J})(),Bn=(()=>{class J{constructor(le,ve,lt){this.ngSwitch=lt,lt._addCase(),this._view=new hn(le,ve)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return J})(),Ci=(()=>{class J{constructor(le,ve,lt){lt._addDefault(new hn(le,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return J})(),qi=(()=>{class J{constructor(le){this._localization=le,this._caseViews={}}set ngPlural(le){this._updateView(le)}addCase(le,ve){this._caseViews[le]=ve}_updateView(le){this._clearViews();const lt=At(le,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[lt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(le){le&&(this._activeView=le,this._activeView.create())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return J})(),ki=(()=>{class J{constructor(le,ve,lt,zt){this.value=le;const nn=!isNaN(Number(le));zt.addCase(nn?`=${le}`:le,new hn(lt,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(qi,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPluralCase",""]],standalone:!0})}return J})(),zi=(()=>{class J{constructor(le,ve,lt){this._ngEl=le,this._differs=ve,this._renderer=lt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,ve){const[lt,zt]=le.split("."),nn=-1===lt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=ve?this._renderer.setStyle(this._ngEl.nativeElement,lt,zt?`${ve}${zt}`:ve,nn):this._renderer.removeStyle(this._ngEl.nativeElement,lt,nn)}_applyChanges(le){le.forEachRemovedItem(ve=>this._setStyle(ve.key,null)),le.forEachAddedItem(ve=>this._setStyle(ve.key,ve.currentValue)),le.forEachChangedItem(ve=>this._setStyle(ve.key,ve.currentValue))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return J})(),Gi=(()=>{class J{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(le){if(this._shouldRecreateView(le)){const ve=this._viewContainerRef;if(this._viewRef&&ve.remove(ve.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const lt=this._createContextForwardProxy();this._viewRef=ve.createEmbeddedView(this.ngTemplateOutlet,lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(le){return!!le.ngTemplateOutlet||!!le.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(le,ve,lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ve,lt),get:(le,ve,lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ve,lt)}})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Tn(J,Fe){return new n.\u0275RuntimeError(2100,!1)}class Ki{createSubscription(Fe,le){return(0,n.untracked)(()=>Fe.subscribe({next:le,error:ve=>{throw ve}}))}dispose(Fe){(0,n.untracked)(()=>Fe.unsubscribe())}}class qn{createSubscription(Fe,le){return Fe.then(le,ve=>{throw ve})}dispose(Fe){}}const Pn=new qn,Qn=new Ki;let Fi=(()=>{class J{constructor(le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,ve=>this._updateLatestValue(le,ve))}_selectStrategy(le){if((0,n.\u0275isPromise)(le))return Pn;if((0,n.\u0275isSubscribable)(le))return Qn;throw Tn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,ve){le===this._obj&&(this._latestValue=ve,this._ref.markForCheck())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:J,pure:!1,standalone:!0})}return J})(),mr=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toLowerCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:J,pure:!0,standalone:!0})}return J})();const er=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let _n=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.replace(er,ve=>ve[0].toUpperCase()+ve.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:J,pure:!0,standalone:!0})}return J})(),wn=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toUpperCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:J,pure:!0,standalone:!0})}return J})();const Ln=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Mi=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Vn=(()=>{class J{constructor(le,ve,lt){this.locale=le,this.defaultTimezone=ve,this.defaultOptions=lt}transform(le,ve,lt,zt){if(null==le||""===le||le!=le)return null;try{return yt(le,ve??this.defaultOptions?.dateFormat??"mediumDate",zt||this.locale,lt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(nn){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Ln,24),n.\u0275\u0275directiveInject(Mi,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:J,pure:!0,standalone:!0})}return J})();const Ui=/#/g;let sr=(()=>{class J{constructor(le){this._localization=le}transform(le,ve,lt){if(null==le)return"";if("object"!=typeof ve||null===ve)throw Tn();return ve[At(le,Object.keys(ve),this._localization,lt)].replace(Ui,le.toString())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:J,pure:!0,standalone:!0})}return J})(),pr=(()=>{class J{transform(le,ve){if(null==le)return"";if("object"!=typeof ve||"string"!=typeof le)throw Tn();return ve.hasOwnProperty(le)?ve[le]:ve.hasOwnProperty("other")?ve.other:""}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:J,pure:!0,standalone:!0})}return J})(),Gr=(()=>{class J{transform(le){return JSON.stringify(le,null,2)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:J,pure:!1,standalone:!0})}return J})(),Lr=(()=>{class J{constructor(le){this.differs=le,this.keyValues=[],this.compareFn=tr}transform(le,ve=tr){if(!le||!(le instanceof Map)&&"object"!=typeof le)return null;this.differ||(this.differ=this.differs.find(le).create());const lt=this.differ.diff(le),zt=ve!==this.compareFn;return lt&&(this.keyValues=[],lt.forEachItem(nn=>{this.keyValues.push(function Sr(J,Fe){return{key:J,value:Fe}}(nn.key,nn.currentValue))})),(lt||zt)&&(this.keyValues.sort(ve),this.compareFn=ve),this.keyValues}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:J,pure:!1,standalone:!0})}return J})();function tr(J,Fe){const le=J.key,ve=Fe.key;if(le===ve)return 0;if(void 0===le)return 1;if(void 0===ve)return-1;if(null===le)return 1;if(null===ve)return-1;if("string"==typeof le&&"string"==typeof ve)return le{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return _i(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:J,pure:!0,standalone:!0})}return J})(),Zi=(()=>{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return ui(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:J,pure:!0,standalone:!0})}return J})(),or=(()=>{class J{constructor(le,ve="USD"){this._locale=le,this._defaultCurrencyCode=ve}transform(le,ve=this._defaultCurrencyCode,lt="symbol",zt,nn){if(!oi(le))return null;nn=nn||this._locale,"boolean"==typeof lt&&(lt=lt?"symbol":"code");let xn=ve||this._defaultCurrencyCode;"code"!==lt&&(xn="symbol"===lt||"symbol-narrow"===lt?Ae(xn,"symbol"===lt?"wide":"narrow",nn):lt);try{return Nn(wr(le),nn,xn,ve,zt)}catch(Li){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:J,pure:!0,standalone:!0})}return J})();function oi(J){return!(null==J||""===J||J!=J)}function wr(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}let Fr=(()=>{class J{transform(le,ve,lt){if(null==le)return null;if(!this.supports(le))throw Tn();return le.slice(ve,lt)}supports(le){return"string"==typeof le||Array.isArray(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:J,pure:!1,standalone:!0})}return J})(),Jr=(()=>{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:J});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return J})();const Tr="browser",qr="server",Ur="browserWorkerApp",Dt="browserWorkerUi";function gt(J){return J===Tr}function Tt(J){return J===qr}function It(J){return J===Ur}function $t(J){return J===Dt}const Gt=new n.Version("17.0.8");let on=(()=>{class J{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:J,providedIn:"root",factory:()=>new vn((0,n.\u0275\u0275inject)(v),window)})}return J})();class vn{constructor(Fe,le){this.document=Fe,this.window=le,this.offset=()=>[0,0]}setOffset(Fe){this.offset=Array.isArray(Fe)?()=>Fe:Fe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Fe){this.supportsScrolling()&&this.window.scrollTo(Fe[0],Fe[1])}scrollToAnchor(Fe){if(!this.supportsScrolling())return;const le=function bn(J,Fe){const le=J.getElementById(Fe)||J.getElementsByName(Fe)[0];if(le)return le;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const ve=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let lt=ve.currentNode;for(;lt;){const zt=lt.shadowRoot;if(zt){const nn=zt.getElementById(Fe)||zt.querySelector(`[name="${Fe}"]`);if(nn)return nn}lt=ve.nextNode()}}return null}(this.document,Fe);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Fe){this.supportsScrolling()&&(this.window.history.scrollRestoration=Fe)}scrollToElement(Fe){const le=Fe.getBoundingClientRect(),ve=le.left+this.window.pageXOffset,lt=le.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(ve-zt[0],lt-zt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class An{setOffset(Fe){}getScrollPosition(){return[0,0]}scrollToPosition(Fe){}scrollToAnchor(Fe){}setHistoryScrollRestoration(Fe){}}class Gn{}function li(J){return J.startsWith("/")?J.slice(1):J}const ji=J=>J.src,lr=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>ji});function gr(J,Fe){return function(ve){return function ri(J){if("string"!=typeof J||""===J.trim())return!1;try{return new URL(J),!0}catch{return!1}}(ve)||function ls(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),ve=function Kn(J){return J.endsWith("/")?J.slice(0,-1):J}(ve),[{provide:lr,useValue:nn=>(function Ti(J){return/^https?:\/\//.test(J)}(nn.src)&&function Ys(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),J(ve,{...nn,src:li(nn.src)}))}]}}const ti=gr(wi);function wi(J,Fe){let le="format=auto";return Fe.width&&(le+=`,width=${Fe.width}`),`${J}/cdn-cgi/image/${le}/${Fe.src}`}const Es=gr($r);function $r(J,Fe){let le="f_auto,q_auto";return Fe.width&&(le+=`,w_${Fe.width}`),`${J}/image/upload/${le}/${Fe.src}`}const Bi=gr(yn);function yn(J,Fe){const{src:le,width:ve}=Fe;let lt;return lt=ve?[J,`tr:w-${ve}`,le]:[J,le],lt.join("/")}const je=gr(xt);function xt(J,Fe){const le=new URL(`${J}/${Fe.src}`);return le.searchParams.set("auto","format"),Fe.width&&le.searchParams.set("w",Fe.width.toString()),le.href}const _s=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),Pr=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Kr=(()=>{class J{constructor(){this.preloadedImages=(0,n.inject)(Pr),this.document=(0,n.inject)(v)}createPreloadLinkTag(le,ve,lt,zt){if(this.preloadedImages.has(ve))return;this.preloadedImages.add(ve);const nn=le.createElement("link");le.setAttribute(nn,"as","image"),le.setAttribute(nn,"href",ve),le.setAttribute(nn,"rel","preload"),le.setAttribute(nn,"fetchpriority","high"),zt&&le.setAttribute(nn,"imageSizes",zt),lt&&le.setAttribute(nn,"imageSrcset",lt),le.appendChild(this.document.head,nn)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const cs=/^((\s*\d+w\s*(,|$)){1,})$/,Hn=[1,2];let jr=(()=>{class J{constructor(){this.imageLoader=(0,n.inject)(lr),this.config=function Xi(J){let Fe={};return J.breakpoints&&(Fe.breakpoints=J.breakpoints.sort((le,ve)=>le-ve)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,J,Fe)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=Tt((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(Kr),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const le=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),le,this.sizes)}ngOnChanges(le){if(le.ngSrc&&!le.ngSrc.isFirstChange()){const ve=this._renderedSrc;this.updateSrcAndSrcset(!0);const lt=this._renderedSrc;null!==this.lcpObserver&&ve&<&&ve!==lt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ve,lt)})}}callImageLoader(le){let ve=le;return this.loaderParams&&(ve.loaderParams=this.loaderParams),this.imageLoader(ve)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const le=cs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(lt=>""!==lt).map(lt=>{lt=lt.trim();const zt=le?parseFloat(lt):parseFloat(lt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:zt})} ${lt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:le}=this.config;let ve=le;return"100vw"===this.sizes?.trim()&&(ve=le.filter(zt=>zt>=640)),ve.map(zt=>`${this.callImageLoader({src:this.ngSrc,width:zt})} ${zt}w`).join(", ")}updateSrcAndSrcset(le=!1){le&&(this._renderedSrc=null);const ve=this.getRewrittenSrc();let lt;return this.setHostAttribute("src",ve),this.ngSrcset?lt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(lt=this.getAutomaticSrcset()),lt&&this.setHostAttribute("srcset",lt),lt}getFixedSrcset(){return Hn.map(ve=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ve})} ${ve}x`).join(", ")}shouldGenerateAutomaticSrcset(){let le=!1;return this.sizes||(le=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ji&&!le}ngOnDestroy(){}setHostAttribute(le,ve){this.renderer.setAttribute(this.imgElement,le,ve)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(ve,lt){2&ve&&n.\u0275\u0275styleProp("position",lt.fill?"absolute":null)("width",lt.fill?"100%":null)("height",lt.fill?"100%":null)("inset",lt.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",us],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return J})();function us(J){return"string"==typeof J?J:(0,n.\u0275unwrapSafeValue)(J)}},9862:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{FetchBackend:()=>Ge,HTTP_INTERCEPTORS:()=>Ee,HttpBackend:()=>d,HttpClient:()=>H,HttpClientJsonpModule:()=>rt,HttpClientModule:()=>He,HttpClientXsrfModule:()=>mt,HttpContext:()=>P,HttpContextToken:()=>I,HttpErrorResponse:()=>$,HttpEventType:()=>ne,HttpFeatureKind:()=>Ct,HttpHandler:()=>c,HttpHeaderResponse:()=>j,HttpHeaders:()=>g,HttpParams:()=>k,HttpRequest:()=>W,HttpResponse:()=>B,HttpResponseBase:()=>ee,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>un,HttpXsrfTokenExtractor:()=>St,JsonpClientBackend:()=>jt,JsonpInterceptor:()=>fn,provideHttpClient:()=>Nt,withFetch:()=>nt,withInterceptors:()=>bt,withInterceptorsFromDi:()=>ce,withJsonpSupport:()=>Se,withNoXsrfProtection:()=>oe,withRequestsMadeViaParent:()=>at,withXsrfConfiguration:()=>z,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Ce,\u0275HttpInterceptingHandler:()=>ke,\u0275HttpInterceptorHandler:()=>ke,\u0275PRIMARY_HTTP_BACKEND:()=>ge,\u0275withHttpTransferCache:()=>At});var n=_(5861),f=_(9212),D=_(2096),y=_(5592),u=_(2459),v=_(6328),s=_(2181),m=_(7398),h=_(4716),o=_(4664),l=_(9397),r=_(6814);class c{}class d{}class g{constructor(dt){this.normalizedNames=new Map,this.lazyUpdate=null,dt?"string"==typeof dt?this.lazyInit=()=>{this.headers=new Map,dt.split("\n").forEach(ct=>{const Ut=ct.indexOf(":");if(Ut>0){const wt=ct.slice(0,Ut),vt=wt.toLowerCase(),Ht=ct.slice(Ut+1).trim();this.maybeSetNormalizedName(wt,vt),this.headers.has(vt)?this.headers.get(vt).push(Ht):this.headers.set(vt,[Ht])}})}:typeof Headers<"u"&&dt instanceof Headers?(this.headers=new Map,dt.forEach((ct,Ut)=>{this.setHeaderEntries(Ut,ct)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(dt).forEach(([ct,Ut])=>{this.setHeaderEntries(ct,Ut)})}:this.headers=new Map}has(dt){return this.init(),this.headers.has(dt.toLowerCase())}get(dt){this.init();const ct=this.headers.get(dt.toLowerCase());return ct&&ct.length>0?ct[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(dt){return this.init(),this.headers.get(dt.toLowerCase())||null}append(dt,ct){return this.clone({name:dt,value:ct,op:"a"})}set(dt,ct){return this.clone({name:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({name:dt,value:ct,op:"d"})}maybeSetNormalizedName(dt,ct){this.normalizedNames.has(ct)||this.normalizedNames.set(ct,dt)}init(){this.lazyInit&&(this.lazyInit instanceof g?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(dt=>this.applyUpdate(dt)),this.lazyUpdate=null))}copyFrom(dt){dt.init(),Array.from(dt.headers.keys()).forEach(ct=>{this.headers.set(ct,dt.headers.get(ct)),this.normalizedNames.set(ct,dt.normalizedNames.get(ct))})}clone(dt){const ct=new g;return ct.lazyInit=this.lazyInit&&this.lazyInit instanceof g?this.lazyInit:this,ct.lazyUpdate=(this.lazyUpdate||[]).concat([dt]),ct}applyUpdate(dt){const ct=dt.name.toLowerCase();switch(dt.op){case"a":case"s":let Ut=dt.value;if("string"==typeof Ut&&(Ut=[Ut]),0===Ut.length)return;this.maybeSetNormalizedName(dt.name,ct);const wt=("a"===dt.op?this.headers.get(ct):void 0)||[];wt.push(...Ut),this.headers.set(ct,wt);break;case"d":const vt=dt.value;if(vt){let Ht=this.headers.get(ct);if(!Ht)return;Ht=Ht.filter(dn=>-1===vt.indexOf(dn)),0===Ht.length?(this.headers.delete(ct),this.normalizedNames.delete(ct)):this.headers.set(ct,Ht)}else this.headers.delete(ct),this.normalizedNames.delete(ct)}}setHeaderEntries(dt,ct){const Ut=(Array.isArray(ct)?ct:[ct]).map(vt=>vt.toString()),wt=dt.toLowerCase();this.headers.set(wt,Ut),this.maybeSetNormalizedName(dt,wt)}forEach(dt){this.init(),Array.from(this.normalizedNames.keys()).forEach(ct=>dt(this.normalizedNames.get(ct),this.headers.get(ct)))}}class C{encodeKey(dt){return S(dt)}encodeValue(dt){return S(dt)}decodeKey(dt){return decodeURIComponent(dt)}decodeValue(dt){return decodeURIComponent(dt)}}const w=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function S(it){return encodeURIComponent(it).replace(w,(dt,ct)=>T[ct]??dt)}function M(it){return`${it}`}class k{constructor(dt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=dt.encoder||new C,dt.fromString){if(dt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function x(it,dt){const ct=new Map;return it.length>0&&it.replace(/^\?/,"").split("&").forEach(wt=>{const vt=wt.indexOf("="),[Ht,dn]=-1==vt?[dt.decodeKey(wt),""]:[dt.decodeKey(wt.slice(0,vt)),dt.decodeValue(wt.slice(vt+1))],ze=ct.get(Ht)||[];ze.push(dn),ct.set(Ht,ze)}),ct}(dt.fromString,this.encoder)}else dt.fromObject?(this.map=new Map,Object.keys(dt.fromObject).forEach(ct=>{const Ut=dt.fromObject[ct],wt=Array.isArray(Ut)?Ut.map(M):[M(Ut)];this.map.set(ct,wt)})):this.map=null}has(dt){return this.init(),this.map.has(dt)}get(dt){this.init();const ct=this.map.get(dt);return ct?ct[0]:null}getAll(dt){return this.init(),this.map.get(dt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(dt,ct){return this.clone({param:dt,value:ct,op:"a"})}appendAll(dt){const ct=[];return Object.keys(dt).forEach(Ut=>{const wt=dt[Ut];Array.isArray(wt)?wt.forEach(vt=>{ct.push({param:Ut,value:vt,op:"a"})}):ct.push({param:Ut,value:wt,op:"a"})}),this.clone(ct)}set(dt,ct){return this.clone({param:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({param:dt,value:ct,op:"d"})}toString(){return this.init(),this.keys().map(dt=>{const ct=this.encoder.encodeKey(dt);return this.map.get(dt).map(Ut=>ct+"="+this.encoder.encodeValue(Ut)).join("&")}).filter(dt=>""!==dt).join("&")}clone(dt){const ct=new k({encoder:this.encoder});return ct.cloneFrom=this.cloneFrom||this,ct.updates=(this.updates||[]).concat(dt),ct}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(dt=>this.map.set(dt,this.cloneFrom.map.get(dt))),this.updates.forEach(dt=>{switch(dt.op){case"a":case"s":const ct=("a"===dt.op?this.map.get(dt.param):void 0)||[];ct.push(M(dt.value)),this.map.set(dt.param,ct);break;case"d":if(void 0===dt.value){this.map.delete(dt.param);break}{let Ut=this.map.get(dt.param)||[];const wt=Ut.indexOf(M(dt.value));-1!==wt&&Ut.splice(wt,1),Ut.length>0?this.map.set(dt.param,Ut):this.map.delete(dt.param)}}}),this.cloneFrom=this.updates=null)}}class I{constructor(dt){this.defaultValue=dt}}class P{constructor(){this.map=new Map}set(dt,ct){return this.map.set(dt,ct),this}get(dt){return this.map.has(dt)||this.map.set(dt,dt.defaultValue()),this.map.get(dt)}delete(dt){return this.map.delete(dt),this}has(dt){return this.map.has(dt)}keys(){return this.map.keys()}}function L(it){return typeof ArrayBuffer<"u"&&it instanceof ArrayBuffer}function F(it){return typeof Blob<"u"&&it instanceof Blob}function R(it){return typeof FormData<"u"&&it instanceof FormData}class W{constructor(dt,ct,Ut,wt){let vt;if(this.url=ct,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=dt.toUpperCase(),function A(it){switch(it){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==Ut?Ut:null,vt=wt):vt=Ut,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params),this.transferCache=vt.transferCache),this.headers||(this.headers=new g),this.context||(this.context=new P),this.params){const Ht=this.params.toString();if(0===Ht.length)this.urlWithParams=ct;else{const dn=ct.indexOf("?");this.urlWithParams=ct+(-1===dn?"?":dnpe.set(de,dt.setHeaders[de]),ze)),dt.setParams&&(en=Object.keys(dt.setParams).reduce((pe,de)=>pe.set(de,dt.setParams[de]),en)),new W(ct,Ut,vt,{params:en,headers:ze,context:Y,reportProgress:dn,responseType:wt,withCredentials:Ht})}}var ne=function(it){return it[it.Sent=0]="Sent",it[it.UploadProgress=1]="UploadProgress",it[it.ResponseHeader=2]="ResponseHeader",it[it.DownloadProgress=3]="DownloadProgress",it[it.Response=4]="Response",it[it.User=5]="User",it}(ne||{});class ee{constructor(dt,ct=200,Ut="OK"){this.headers=dt.headers||new g,this.status=void 0!==dt.status?dt.status:ct,this.statusText=dt.statusText||Ut,this.url=dt.url||null,this.ok=this.status>=200&&this.status<300}}class j extends ee{constructor(dt={}){super(dt),this.type=ne.ResponseHeader}clone(dt={}){return new j({headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class B extends ee{constructor(dt={}){super(dt),this.type=ne.Response,this.body=void 0!==dt.body?dt.body:null}clone(dt={}){return new B({body:void 0!==dt.body?dt.body:this.body,headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class $ extends ee{constructor(dt){super(dt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${dt.url||"(unknown url)"}`:`Http failure response for ${dt.url||"(unknown url)"}: ${dt.status} ${dt.statusText}`,this.error=dt.error||null}}function Z(it,dt){return{body:dt,headers:it.headers,context:it.context,observe:it.observe,params:it.params,reportProgress:it.reportProgress,responseType:it.responseType,withCredentials:it.withCredentials,transferCache:it.transferCache}}let H=(()=>{class it{constructor(ct){this.handler=ct}request(ct,Ut,wt={}){let vt;if(ct instanceof W)vt=ct;else{let ze,en;ze=wt.headers instanceof g?wt.headers:new g(wt.headers),wt.params&&(en=wt.params instanceof k?wt.params:new k({fromObject:wt.params})),vt=new W(ct,Ut,void 0!==wt.body?wt.body:null,{headers:ze,context:wt.context,params:en,reportProgress:wt.reportProgress,responseType:wt.responseType||"json",withCredentials:wt.withCredentials,transferCache:wt.transferCache})}const Ht=(0,D.of)(vt).pipe((0,v.b)(ze=>this.handler.handle(ze)));if(ct instanceof W||"events"===wt.observe)return Ht;const dn=Ht.pipe((0,s.h)(ze=>ze instanceof B));switch(wt.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ze.body}));case"blob":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof Blob))throw new Error("Response is not a Blob.");return ze.body}));case"text":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&"string"!=typeof ze.body)throw new Error("Response is not a string.");return ze.body}));default:return dn.pipe((0,m.U)(ze=>ze.body))}case"response":return dn;default:throw new Error(`Unreachable: unhandled observe type ${wt.observe}}`)}}delete(ct,Ut={}){return this.request("DELETE",ct,Ut)}get(ct,Ut={}){return this.request("GET",ct,Ut)}head(ct,Ut={}){return this.request("HEAD",ct,Ut)}jsonp(ct,Ut){return this.request("JSONP",ct,{params:(new k).append(Ut,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ct,Ut={}){return this.request("OPTIONS",ct,Ut)}patch(ct,Ut,wt={}){return this.request("PATCH",ct,Z(wt,Ut))}post(ct,Ut,wt={}){return this.request("POST",ct,Z(wt,Ut))}put(ct,Ut,wt={}){return this.request("PUT",ct,Z(wt,Ut))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(c))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const te=/^\)\]\}',?\n/;function ye(it){if(it.url)return it.url;const dt="X-Request-URL".toLocaleLowerCase();return it.headers.get(dt)}let Ge=(()=>{class it{constructor(){this.fetchImpl=(0,f.inject)($e,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,f.inject)(f.NgZone)}handle(ct){return new y.y(Ut=>{const wt=new AbortController;return this.doRequest(ct,wt.signal,Ut).then(Ye,vt=>Ut.error(new $({error:vt}))),()=>wt.abort()})}doRequest(ct,Ut,wt){var vt=this;return(0,n.Z)(function*(){const Ht=vt.createRequestInit(ct);let dn;try{const _t=vt.fetchImpl(ct.urlWithParams,{signal:Ut,...Ht});(function Ze(it){it.then(Ye,Ye)})(_t),wt.next({type:ne.Sent}),dn=yield _t}catch(_t){return void wt.error(new $({error:_t,status:_t.status??0,statusText:_t.statusText,url:ct.urlWithParams,headers:_t.headers}))}const ze=new g(dn.headers),en=dn.statusText,Y=ye(dn)??ct.urlWithParams;let pe=dn.status,de=null;if(ct.reportProgress&&wt.next(new j({headers:ze,status:pe,statusText:en,url:Y})),dn.body){const _t=dn.headers.get("content-length"),hn=[],On=dn.body.getReader();let Ci,Zn,Bn=0;const Ei=typeof Zone<"u"&&Zone.current;yield vt.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:ki,value:zi}=yield On.read();if(ki)break;if(hn.push(zi),Bn+=zi.length,ct.reportProgress){Zn="text"===ct.responseType?(Zn??"")+(Ci??=new TextDecoder).decode(zi,{stream:!0}):void 0;const Gi=()=>wt.next({type:ne.DownloadProgress,total:_t?+_t:void 0,loaded:Bn,partialText:Zn});Ei?Ei.run(Gi):Gi()}}}));const qi=vt.concatChunks(hn,Bn);try{const ki=dn.headers.get("Content-Type")??"";de=vt.parseBody(ct,qi,ki)}catch(ki){return void wt.error(new $({error:ki,headers:new g(dn.headers),status:dn.status,statusText:dn.statusText,url:ye(dn)??ct.urlWithParams}))}}0===pe&&(pe=de?200:0),pe>=200&&pe<300?(wt.next(new B({body:de,headers:ze,status:pe,statusText:en,url:Y})),wt.complete()):wt.error(new $({error:de,headers:ze,status:pe,statusText:en,url:Y}))})()}parseBody(ct,Ut,wt){switch(ct.responseType){case"json":const vt=(new TextDecoder).decode(Ut).replace(te,"");return""===vt?null:JSON.parse(vt);case"text":return(new TextDecoder).decode(Ut);case"blob":return new Blob([Ut],{type:wt});case"arraybuffer":return Ut.buffer}}createRequestInit(ct){const Ut={},wt=ct.withCredentials?"include":void 0;if(ct.headers.forEach((vt,Ht)=>Ut[vt]=Ht.join(",")),Ut.Accept??="application/json, text/plain, */*",!Ut["Content-Type"]){const vt=ct.detectContentTypeHeader();null!==vt&&(Ut["Content-Type"]=vt)}return{body:ct.serializeBody(),method:ct.method,headers:Ut,credentials:wt}}concatChunks(ct,Ut){const wt=new Uint8Array(Ut);let vt=0;for(const Ht of ct)wt.set(Ht,vt),vt+=Ht.length;return wt}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();class $e{}function Ye(){}function Et(it,dt){return dt(it)}function Te(it,dt){return(ct,Ut)=>dt.intercept(ct,{handle:wt=>it(wt,Ut)})}const Ee=new f.InjectionToken(""),Ie=new f.InjectionToken(""),Ce=new f.InjectionToken(""),ge=new f.InjectionToken("");function Ae(){let it=null;return(dt,ct)=>{null===it&&(it=((0,f.inject)(Ee,{optional:!0})??[]).reduceRight(Te,Et));const Ut=(0,f.inject)(f.\u0275PendingTasks),wt=Ut.add();return it(dt,ct).pipe((0,h.x)(()=>Ut.remove(wt)))}}let me,ke=(()=>{class it extends c{constructor(ct,Ut){super(),this.backend=ct,this.injector=Ut,this.chain=null,this.pendingTasks=(0,f.inject)(f.\u0275PendingTasks);const wt=(0,f.inject)(ge,{optional:!0});this.backend=wt??ct}handle(ct){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Ce,[])]));this.chain=wt.reduceRight((vt,Ht)=>function qe(it,dt,ct){return(Ut,wt)=>(0,f.runInInjectionContext)(ct,()=>dt(Ut,vt=>it(vt,wt)))}(vt,Ht,this.injector),Et)}const Ut=this.pendingTasks.add();return this.chain(ct,wt=>this.backend.handle(wt)).pipe((0,h.x)(()=>this.pendingTasks.remove(Ut)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(d),f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})(),Ke=0;class Ot{}function Yt(){return"object"==typeof window?window:{}}let jt=(()=>{class it{constructor(ct,Ut){this.callbackMap=ct,this.document=Ut,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ke++}handle(ct){if("JSONP"!==ct.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ct.responseType)throw new Error("JSONP requests must use Json response type.");if(ct.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new y.y(Ut=>{const wt=this.nextCallback(),vt=ct.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${wt}$1`),Ht=this.document.createElement("script");Ht.src=vt;let dn=null,ze=!1;this.callbackMap[wt]=de=>{delete this.callbackMap[wt],dn=de,ze=!0};const en=()=>{Ht.parentNode&&Ht.parentNode.removeChild(Ht),delete this.callbackMap[wt]};return Ht.addEventListener("load",de=>{this.resolvedPromise.then(()=>{en(),ze?(Ut.next(new B({body:dn,status:200,statusText:"OK",url:vt})),Ut.complete()):Ut.error(new $({url:vt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Ht.addEventListener("error",de=>{en(),Ut.error(new $({error:de,status:0,statusText:"JSONP Error",url:vt}))}),this.document.body.appendChild(Ht),Ut.next({type:ne.Sent}),()=>{ze||this.removeListeners(Ht),en()}})}removeListeners(ct){me||(me=this.document.implementation.createHTMLDocument()),me.adoptNode(ct)}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(Ot),f.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function cn(it,dt){return"JSONP"===it.method?(0,f.inject)(jt).handle(it):dt(it)}let fn=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>cn(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const an=/^\)\]\}',?\n/;let un=(()=>{class it{constructor(ct){this.xhrFactory=ct}handle(ct){if("JSONP"===ct.method)throw new f.\u0275RuntimeError(-2800,!1);const Ut=this.xhrFactory;return(Ut.\u0275loadImpl?(0,u.D)(Ut.\u0275loadImpl()):(0,D.of)(null)).pipe((0,o.w)(()=>new y.y(vt=>{const Ht=Ut.build();if(Ht.open(ct.method,ct.urlWithParams),ct.withCredentials&&(Ht.withCredentials=!0),ct.headers.forEach((hn,On)=>Ht.setRequestHeader(hn,On.join(","))),ct.headers.has("Accept")||Ht.setRequestHeader("Accept","application/json, text/plain, */*"),!ct.headers.has("Content-Type")){const hn=ct.detectContentTypeHeader();null!==hn&&Ht.setRequestHeader("Content-Type",hn)}if(ct.responseType){const hn=ct.responseType.toLowerCase();Ht.responseType="json"!==hn?hn:"text"}const dn=ct.serializeBody();let ze=null;const en=()=>{if(null!==ze)return ze;const hn=Ht.statusText||"OK",On=new g(Ht.getAllResponseHeaders()),Bn=function En(it){return"responseURL"in it&&it.responseURL?it.responseURL:/^X-Request-URL:/m.test(it.getAllResponseHeaders())?it.getResponseHeader("X-Request-URL"):null}(Ht)||ct.url;return ze=new j({headers:On,status:Ht.status,statusText:hn,url:Bn}),ze},Y=()=>{let{headers:hn,status:On,statusText:Bn,url:Ci}=en(),Zn=null;204!==On&&(Zn=typeof Ht.response>"u"?Ht.responseText:Ht.response),0===On&&(On=Zn?200:0);let Ei=On>=200&&On<300;if("json"===ct.responseType&&"string"==typeof Zn){const qi=Zn;Zn=Zn.replace(an,"");try{Zn=""!==Zn?JSON.parse(Zn):null}catch(ki){Zn=qi,Ei&&(Ei=!1,Zn={error:ki,text:Zn})}}Ei?(vt.next(new B({body:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0})),vt.complete()):vt.error(new $({error:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0}))},pe=hn=>{const{url:On}=en(),Bn=new $({error:hn,status:Ht.status||0,statusText:Ht.statusText||"Unknown Error",url:On||void 0});vt.error(Bn)};let de=!1;const Qe=hn=>{de||(vt.next(en()),de=!0);let On={type:ne.DownloadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),"text"===ct.responseType&&Ht.responseText&&(On.partialText=Ht.responseText),vt.next(On)},_t=hn=>{let On={type:ne.UploadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),vt.next(On)};return Ht.addEventListener("load",Y),Ht.addEventListener("error",pe),Ht.addEventListener("timeout",pe),Ht.addEventListener("abort",pe),ct.reportProgress&&(Ht.addEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.addEventListener("progress",_t)),Ht.send(dn),vt.next({type:ne.Sent}),()=>{Ht.removeEventListener("error",pe),Ht.removeEventListener("abort",pe),Ht.removeEventListener("load",Y),Ht.removeEventListener("timeout",pe),ct.reportProgress&&(Ht.removeEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.removeEventListener("progress",_t)),Ht.readyState!==Ht.DONE&&Ht.abort()}})))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const Bt=new f.InjectionToken("XSRF_ENABLED"),Ft="XSRF-TOKEN",De=new f.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ft}),Ve="X-XSRF-TOKEN",Xe=new f.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ve});class St{}let tt=(()=>{class it{constructor(ct,Ut,wt){this.doc=ct,this.platform=Ut,this.cookieName=wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ct=this.doc.cookie||"";return ct!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ct,this.cookieName),this.lastCookieString=ct),this.lastToken}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.DOCUMENT),f.\u0275\u0275inject(f.PLATFORM_ID),f.\u0275\u0275inject(De))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function ut(it,dt){const ct=it.url.toLowerCase();if(!(0,f.inject)(Bt)||"GET"===it.method||"HEAD"===it.method||ct.startsWith("http://")||ct.startsWith("https://"))return dt(it);const Ut=(0,f.inject)(St).getToken(),wt=(0,f.inject)(Xe);return null!=Ut&&!it.headers.has(wt)&&(it=it.clone({headers:it.headers.set(wt,Ut)})),dt(it)}let Oe=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>ut(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();var Ct=function(it){return it[it.Interceptors=0]="Interceptors",it[it.LegacyInterceptors=1]="LegacyInterceptors",it[it.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",it[it.NoXsrfProtection=3]="NoXsrfProtection",it[it.JsonpSupport=4]="JsonpSupport",it[it.RequestsMadeViaParent=5]="RequestsMadeViaParent",it[it.Fetch=6]="Fetch",it}(Ct||{});function Pt(it,dt){return{\u0275kind:it,\u0275providers:dt}}function Nt(...it){const dt=[H,un,ke,{provide:c,useExisting:ke},{provide:d,useExisting:un},{provide:Ie,useValue:ut,multi:!0},{provide:Bt,useValue:!0},{provide:St,useClass:tt}];for(const ct of it)dt.push(...ct.\u0275providers);return(0,f.makeEnvironmentProviders)(dt)}function bt(it){return Pt(Ct.Interceptors,it.map(dt=>({provide:Ie,useValue:dt,multi:!0})))}const _e=new f.InjectionToken("LEGACY_INTERCEPTOR_FN");function ce(){return Pt(Ct.LegacyInterceptors,[{provide:_e,useFactory:Ae},{provide:Ie,useExisting:_e,multi:!0}])}function z({cookieName:it,headerName:dt}){const ct=[];return void 0!==it&&ct.push({provide:De,useValue:it}),void 0!==dt&&ct.push({provide:Xe,useValue:dt}),Pt(Ct.CustomXsrfConfiguration,ct)}function oe(){return Pt(Ct.NoXsrfProtection,[{provide:Bt,useValue:!1}])}function Se(){return Pt(Ct.JsonpSupport,[jt,{provide:Ot,useFactory:Yt},{provide:Ie,useValue:cn,multi:!0}])}function at(){return Pt(Ct.RequestsMadeViaParent,[{provide:d,useFactory:()=>(0,f.inject)(c,{skipSelf:!0,optional:!0})}])}function nt(){return Pt(Ct.Fetch,[Ge,{provide:d,useExisting:Ge},{provide:ge,useExisting:Ge}])}let mt=(()=>{class it{static disable(){return{ngModule:it,providers:[oe().\u0275providers]}}static withOptions(ct={}){return{ngModule:it,providers:z(ct).\u0275providers}}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Oe,{provide:Ee,useExisting:Oe,multi:!0},{provide:St,useClass:tt},z({cookieName:Ft,headerName:Ve}).\u0275providers,{provide:Bt,useValue:!0}]})}return it})(),He=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Nt(ce())]})}return it})(),rt=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Se().\u0275providers]})}return it})();const Lt="b",Xt="h",tn="s",Nn="st",ui="u",_i="rt",Hi=new f.InjectionToken(""),Yn=["GET","HEAD"];function st(it,dt){const{isCacheActive:ct,...Ut}=(0,f.inject)(Hi),{transferCache:wt,method:vt}=it;if(!ct||"POST"===vt&&!Ut.includePostRequests&&!wt||"POST"!==vt&&!Yn.includes(vt)||!1===wt||!1===Ut.filter?.(it))return dt(it);const Ht=(0,f.inject)(f.TransferState),dn=function Ue(it){const{params:dt,method:ct,responseType:Ut,url:wt}=it,vt=dt.keys().sort().map(ze=>`${ze}=${dt.getAll(ze)}`).join("&"),dn=function ot(it){let dt=0;for(const ct of it)dt=Math.imul(31,dt)+ct.charCodeAt(0)<<0;return dt+=2147483648,dt.toString()}(ct+"."+Ut+"."+wt+"?"+vt);return(0,f.makeStateKey)(dn)}(it),ze=Ht.get(dn,null);let en=Ut.includeHeaders;if("object"==typeof wt&&wt.includeHeaders&&(en=wt.includeHeaders),ze){const{[Lt]:Y,[_i]:pe,[Xt]:de,[tn]:Qe,[Nn]:_t,[ui]:hn}=ze;let On=Y;switch(pe){case"arraybuffer":On=(new TextEncoder).encode(Y).buffer;break;case"blob":On=new Blob([Y])}let Bn=new g(de);return(0,D.of)(new B({body:On,headers:Bn,status:Qe,statusText:_t,url:hn}))}return dt(it).pipe((0,l.b)(Y=>{Y instanceof B&&Ht.set(dn,{[Lt]:Y.body,[Xt]:pn(Y.headers,en),[tn]:Y.status,[Nn]:Y.statusText,[ui]:Y.url||"",[_i]:it.responseType})}))}function pn(it,dt){if(!dt)return{};const ct={};for(const Ut of dt){const wt=it.getAll(Ut);null!==wt&&(ct[Ut]=wt)}return ct}function At(it){return[{provide:Hi,useFactory:()=>((0,f.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...it})},{provide:Ce,useValue:st,multi:!0,deps:[f.TransferState,Hi]},{provide:f.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const dt=(0,f.inject)(f.ApplicationRef),ct=(0,f.inject)(Hi);return()=>{(0,f.\u0275whenStable)(dt).then(()=>{ct.isCacheActive=!1})}}}]}},9212:(Me,ie,_)=>{"use strict";function n(e,t){return Object.is(e,t)}_.r(ie),_.d(ie,{ANIMATION_MODULE_TYPE:()=>gC,APP_BOOTSTRAP_LISTENER:()=>hm,APP_ID:()=>cp,APP_INITIALIZER:()=>Oy,AfterRenderPhase:()=>Io,ApplicationInitStatus:()=>Lu,ApplicationModule:()=>AS,ApplicationRef:()=>rl,Attribute:()=>Fm,COMPILER_OPTIONS:()=>Ey,CSP_NONCE:()=>_C,CUSTOM_ELEMENTS_SCHEMA:()=>vp,ChangeDetectionStrategy:()=>Cr,ChangeDetectorRef:()=>hh,Compiler:()=>NI,CompilerFactory:()=>FI,Component:()=>SI,ComponentFactory:()=>Yc,ComponentFactoryResolver:()=>kl,ComponentRef:()=>y0,ContentChild:()=>R1,ContentChildren:()=>k1,DEFAULT_CURRENCY_CODE:()=>mS,DebugElement:()=>oc,DebugEventListener:()=>ES,DebugNode:()=>gm,DefaultIterableDiffer:()=>M0,DestroyRef:()=>Fl,Directive:()=>yy,ENVIRONMENT_INITIALIZER:()=>jo,ElementRef:()=>Rl,EmbeddedViewRef:()=>xS,EnvironmentInjector:()=>Hs,ErrorHandler:()=>Mo,EventEmitter:()=>Ws,Host:()=>Gm,HostBinding:()=>RI,HostListener:()=>OI,INJECTOR:()=>rd,Inject:()=>zm,InjectFlags:()=>vt,Injectable:()=>uC,InjectionToken:()=>_t,Injector:()=>Cs,Input:()=>AI,IterableDiffers:()=>Xd,KeyValueDiffers:()=>Jd,LOCALE_ID:()=>Fu,MissingTranslationStrategy:()=>zy,ModuleWithComponentFactories:()=>xy,NO_ERRORS_SCHEMA:()=>bp,NgModule:()=>LI,NgModuleFactory:()=>ob,NgModuleRef:()=>Jo,NgProbeToken:()=>cS,NgZone:()=>br,Optional:()=>vc,Output:()=>kI,PACKAGE_ROOT_URL:()=>pC,PLATFORM_ID:()=>gd,PLATFORM_INITIALIZER:()=>up,Pipe:()=>TI,PlatformRef:()=>mm,Query:()=>pl,QueryList:()=>Au,Renderer2:()=>Nw,RendererFactory2:()=>w0,RendererStyleFlags2:()=>Oc,Sanitizer:()=>x0,SecurityContext:()=>Go,Self:()=>Wm,SimpleChange:()=>Un,SkipSelf:()=>bc,TRANSLATIONS:()=>pS,TRANSLATIONS_FORMAT:()=>gS,TemplateRef:()=>ic,Testability:()=>lS,TestabilityRegistry:()=>ky,TransferState:()=>Sl,Type:()=>Bm,VERSION:()=>PI,Version:()=>Cy,ViewChild:()=>L1,ViewChildren:()=>O1,ViewContainerRef:()=>cu,ViewEncapsulation:()=>Zi,ViewRef:()=>Xy,afterNextRender:()=>_g,afterRender:()=>gg,asNativeElements:()=>MS,assertInInjectionContext:()=>Mc,assertNotInReactiveContext:()=>jx,assertPlatform:()=>Yy,booleanAttribute:()=>sT,computed:()=>Bw,createComponent:()=>gT,createEnvironmentInjector:()=>cb,createNgModule:()=>ab,createNgModuleRef:()=>zD,createPlatform:()=>Wy,createPlatformFactory:()=>Gy,defineInjectable:()=>st,destroyPlatform:()=>_S,effect:()=>cg,enableProdMode:()=>yS,forwardRef:()=>Pe,getDebugNode:()=>sl,getModuleFactory:()=>CS,getNgModuleById:()=>wS,getPlatform:()=>Uu,importProvidersFrom:()=>Jm,inject:()=>Vn,isDevMode:()=>bS,isSignal:()=>Uw,isStandalone:()=>Br,makeEnvironmentProviders:()=>od,makeStateKey:()=>xw,mergeApplicationConfig:()=>vT,numberAttribute:()=>oT,platformCore:()=>TS,provideZoneChangeDetection:()=>jy,reflectComponentType:()=>_T,resolveForwardRef:()=>Ne,runInInjectionContext:()=>rC,setTestabilityGetter:()=>Ry,signal:()=>$w,untracked:()=>jw,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>pm,\u0275AfterRenderEventManager:()=>Ul,\u0275CONTAINER_HEADER_OFFSET:()=>fi,\u0275ChangeDetectionScheduler:()=>p0,\u0275ComponentFactory:()=>Yc,\u0275Console:()=>wy,\u0275DEFAULT_LOCALE_ID:()=>Xo,\u0275DEFER_BLOCK_CONFIG:()=>U_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>OM,\u0275DeferBlockBehavior:()=>Zh,\u0275DeferBlockState:()=>hr,\u0275EffectScheduler:()=>ag,\u0275IMAGE_CONFIG:()=>hp,\u0275IMAGE_CONFIG_DEFAULTS:()=>dp,\u0275INJECTOR_SCOPE:()=>cd,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Ll,\u0275LContext:()=>Dp,\u0275LifecycleHooksFeature:()=>xg,\u0275LocaleDataIndex:()=>nl,\u0275NG_COMP_DEF:()=>fn,\u0275NG_DIR_DEF:()=>an,\u0275NG_ELEMENT_ID:()=>Ft,\u0275NG_INJ_DEF:()=>ct,\u0275NG_MOD_DEF:()=>un,\u0275NG_PIPE_DEF:()=>En,\u0275NG_PROV_DEF:()=>dt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Zc,\u0275NO_CHANGE:()=>si,\u0275NgModuleFactory:()=>Iu,\u0275NoopNgZone:()=>mg,\u0275PendingTasks:()=>cm,\u0275ReflectionCapabilities:()=>Hm,\u0275Render3ComponentFactory:()=>Pa,\u0275Render3ComponentRef:()=>wg,\u0275Render3NgModuleRef:()=>Du,\u0275RuntimeError:()=>jt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>g0,\u0275TESTABILITY:()=>Ty,\u0275TESTABILITY_GETTER:()=>Ay,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>Ic,\u0275ViewRef:()=>La,\u0275XSS_SECURITY_URL:()=>Yt,\u0275ZoneAwareQueueingScheduler:()=>lg,\u0275_sanitizeHtml:()=>l0,\u0275_sanitizeUrl:()=>jc,\u0275allowSanitizationBypassAndThrow:()=>Sa,\u0275annotateForHydration:()=>ZS,\u0275bypassSanitizationTrustHtml:()=>lw,\u0275bypassSanitizationTrustResourceUrl:()=>hw,\u0275bypassSanitizationTrustScript:()=>uw,\u0275bypassSanitizationTrustStyle:()=>cw,\u0275bypassSanitizationTrustUrl:()=>dw,\u0275clearResolutionOfComponentResourcesQueue:()=>Xm,\u0275compileComponent:()=>ly,\u0275compileDirective:()=>lm,\u0275compileNgModule:()=>ny,\u0275compileNgModuleDefs:()=>iy,\u0275compileNgModuleFactory:()=>Ly,\u0275compilePipe:()=>vy,\u0275convertToBitFlags:()=>Ui,\u0275createInjector:()=>fd,\u0275defaultIterableDiffers:()=>Ux,\u0275defaultKeyValueDiffers:()=>Bx,\u0275depsTracker:()=>Ma,\u0275devModeEqual:()=>k0,\u0275findLocaleData:()=>cf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>ey,\u0275formatRuntimeError:()=>cn,\u0275generateStandaloneInDeclarationsError:()=>ry,\u0275getAsyncClassMetadataFn:()=>qD,\u0275getDebugNode:()=>sl,\u0275getDeferBlocks:()=>Mm,\u0275getDirectives:()=>vb,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>na,\u0275getHostElement:()=>Xf,\u0275getInjectableDef:()=>Ue,\u0275getLContext:()=>Qr,\u0275getLocaleCurrencyCode:()=>zM,\u0275getLocalePluralCase:()=>dv,\u0275getSanitizationBypassType:()=>e0,\u0275getUnknownElementStrictMode:()=>CC,\u0275getUnknownPropertyStrictMode:()=>xC,\u0275global:()=>pe,\u0275injectChangeDetectorRef:()=>og,\u0275internalAfterNextRender:()=>gh,\u0275internalCreateApplication:()=>WS,\u0275isBoundToModule:()=>Ny,\u0275isComponentDefPendingResolution:()=>W1,\u0275isEnvironmentProviders:()=>yt,\u0275isInjectable:()=>ot,\u0275isNgModule:()=>Co,\u0275isPromise:()=>gf,\u0275isSubscribable:()=>Uv,\u0275noSideEffects:()=>tr,\u0275patchComponentDefWithScope:()=>om,\u0275performanceMarkFeature:()=>Do,\u0275publishDefaultGlobalUtils:()=>aS,\u0275publishGlobalUtil:()=>zr,\u0275registerLocaleData:()=>HM,\u0275renderDeferBlockState:()=>co,\u0275resetCompiledComponents:()=>_I,\u0275resetJitOptions:()=>mI,\u0275resolveComponentResources:()=>Zm,\u0275restoreComponentResolutionQueue:()=>G1,\u0275setAllowDuplicateNgModuleIdsForTest:()=>bC,\u0275setAlternateWeakRefImpl:()=>VS,\u0275setClassDebugInfo:()=>qb,\u0275setClassMetadata:()=>yb,\u0275setClassMetadataAsync:()=>eI,\u0275setCurrentInjector:()=>wn,\u0275setDocument:()=>fC,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ia,\u0275setInjectorProfilerContext:()=>Bn,\u0275setLocaleId:()=>uf,\u0275setUnknownElementStrictMode:()=>yC,\u0275setUnknownPropertyStrictMode:()=>wC,\u0275store:()=>Wv,\u0275stringify:()=>Re,\u0275transitiveScopesFor:()=>qo,\u0275triggerResourceLoading:()=>pu,\u0275truncateMiddle:()=>Ke,\u0275unregisterLocaleData:()=>WM,\u0275unwrapSafeValue:()=>oo,\u0275whenStable:()=>$y,\u0275withDomHydration:()=>iT,\u0275\u0275CopyDefinitionFeature:()=>Mg,\u0275\u0275FactoryTarget:()=>Vo,\u0275\u0275HostDirectivesFeature:()=>Dg,\u0275\u0275InheritDefinitionFeature:()=>vh,\u0275\u0275InputTransformsFeature:()=>Ag,\u0275\u0275NgOnChangesFeature:()=>Xn,\u0275\u0275ProvidersFeature:()=>sb,\u0275\u0275StandaloneFeature:()=>ub,\u0275\u0275advance:()=>V0,\u0275\u0275attribute:()=>bh,\u0275\u0275attributeInterpolate1:()=>yh,\u0275\u0275attributeInterpolate2:()=>Ch,\u0275\u0275attributeInterpolate3:()=>wh,\u0275\u0275attributeInterpolate4:()=>xh,\u0275\u0275attributeInterpolate5:()=>Eh,\u0275\u0275attributeInterpolate6:()=>Mh,\u0275\u0275attributeInterpolate7:()=>Dh,\u0275\u0275attributeInterpolate8:()=>Ih,\u0275\u0275attributeInterpolateV:()=>Sh,\u0275\u0275classMap:()=>Ug,\u0275\u0275classMapInterpolate1:()=>Wg,\u0275\u0275classMapInterpolate2:()=>Gg,\u0275\u0275classMapInterpolate3:()=>Kg,\u0275\u0275classMapInterpolate4:()=>Yg,\u0275\u0275classMapInterpolate5:()=>Zg,\u0275\u0275classMapInterpolate6:()=>Qg,\u0275\u0275classMapInterpolate7:()=>Xg,\u0275\u0275classMapInterpolate8:()=>Jg,\u0275\u0275classMapInterpolateV:()=>qg,\u0275\u0275classProp:()=>Ph,\u0275\u0275componentInstance:()=>e_,\u0275\u0275conditional:()=>b_,\u0275\u0275contentQuery:()=>Gb,\u0275\u0275defer:()=>V_,\u0275\u0275deferEnableTimerScheduling:()=>$_,\u0275\u0275deferOnHover:()=>Q_,\u0275\u0275deferOnIdle:()=>z_,\u0275\u0275deferOnImmediate:()=>G_,\u0275\u0275deferOnInteraction:()=>J_,\u0275\u0275deferOnTimer:()=>Y_,\u0275\u0275deferOnViewport:()=>ev,\u0275\u0275deferPrefetchOnHover:()=>X_,\u0275\u0275deferPrefetchOnIdle:()=>W_,\u0275\u0275deferPrefetchOnImmediate:()=>K_,\u0275\u0275deferPrefetchOnInteraction:()=>q_,\u0275\u0275deferPrefetchOnTimer:()=>Z_,\u0275\u0275deferPrefetchOnViewport:()=>tv,\u0275\u0275deferPrefetchWhen:()=>H_,\u0275\u0275deferWhen:()=>j_,\u0275\u0275defineComponent:()=>Kn,\u0275\u0275defineDirective:()=>ls,\u0275\u0275defineInjectable:()=>Yn,\u0275\u0275defineInjector:()=>pn,\u0275\u0275defineNgModule:()=>lr,\u0275\u0275definePipe:()=>Ys,\u0275\u0275directiveInject:()=>Ra,\u0275\u0275disableBindings:()=>ro,\u0275\u0275element:()=>rf,\u0275\u0275elementContainer:()=>sf,\u0275\u0275elementContainerEnd:()=>bu,\u0275\u0275elementContainerStart:()=>vu,\u0275\u0275elementEnd:()=>_u,\u0275\u0275elementStart:()=>gu,\u0275\u0275enableBindings:()=>cl,\u0275\u0275getComponentDepsFactory:()=>Jb,\u0275\u0275getCurrentView:()=>uv,\u0275\u0275getInheritedFactory:()=>Pm,\u0275\u0275hostProperty:()=>af,\u0275\u0275i18n:()=>Lv,\u0275\u0275i18nApply:()=>Nv,\u0275\u0275i18nAttributes:()=>Pv,\u0275\u0275i18nEnd:()=>mf,\u0275\u0275i18nExp:()=>pf,\u0275\u0275i18nPostprocess:()=>Fv,\u0275\u0275i18nStart:()=>ff,\u0275\u0275inject:()=>Ln,\u0275\u0275injectAttribute:()=>Ju,\u0275\u0275invalidFactory:()=>H0,\u0275\u0275invalidFactoryDep:()=>Mi,\u0275\u0275listener:()=>_f,\u0275\u0275loadQuery:()=>Kb,\u0275\u0275namespaceHTML:()=>bi,\u0275\u0275namespaceMathML:()=>Wi,\u0275\u0275namespaceSVG:()=>Wn,\u0275\u0275nextContext:()=>jv,\u0275\u0275ngDeclareClassMetadata:()=>lT,\u0275\u0275ngDeclareComponent:()=>cT,\u0275\u0275ngDeclareDirective:()=>aT,\u0275\u0275ngDeclareFactory:()=>uT,\u0275\u0275ngDeclareInjectable:()=>hT,\u0275\u0275ngDeclareInjector:()=>fT,\u0275\u0275ngDeclareNgModule:()=>mT,\u0275\u0275ngDeclarePipe:()=>pT,\u0275\u0275pipe:()=>Nb,\u0275\u0275pipeBind1:()=>Fb,\u0275\u0275pipeBind2:()=>Ub,\u0275\u0275pipeBind3:()=>Bb,\u0275\u0275pipeBind4:()=>$b,\u0275\u0275pipeBindV:()=>Vb,\u0275\u0275projection:()=>zv,\u0275\u0275projectionDef:()=>Hv,\u0275\u0275property:()=>Rh,\u0275\u0275propertyInterpolate:()=>bf,\u0275\u0275propertyInterpolate1:()=>Eu,\u0275\u0275propertyInterpolate2:()=>yf,\u0275\u0275propertyInterpolate3:()=>Cf,\u0275\u0275propertyInterpolate4:()=>wf,\u0275\u0275propertyInterpolate5:()=>xf,\u0275\u0275propertyInterpolate6:()=>Ef,\u0275\u0275propertyInterpolate7:()=>Mf,\u0275\u0275propertyInterpolate8:()=>Df,\u0275\u0275propertyInterpolateV:()=>If,\u0275\u0275pureFunction0:()=>Cb,\u0275\u0275pureFunction1:()=>wb,\u0275\u0275pureFunction2:()=>xb,\u0275\u0275pureFunction3:()=>Eb,\u0275\u0275pureFunction4:()=>Mb,\u0275\u0275pureFunction5:()=>Db,\u0275\u0275pureFunction6:()=>Ib,\u0275\u0275pureFunction7:()=>Sb,\u0275\u0275pureFunction8:()=>Tb,\u0275\u0275pureFunctionV:()=>Ab,\u0275\u0275queryRefresh:()=>zb,\u0275\u0275reference:()=>Gv,\u0275\u0275registerNgModuleType:()=>vd,\u0275\u0275repeater:()=>x_,\u0275\u0275repeaterCreate:()=>w_,\u0275\u0275repeaterTrackByIdentity:()=>C_,\u0275\u0275repeaterTrackByIndex:()=>y_,\u0275\u0275resetView:()=>da,\u0275\u0275resolveBody:()=>_d,\u0275\u0275resolveDocument:()=>mp,\u0275\u0275resolveWindow:()=>fp,\u0275\u0275restoreView:()=>ua,\u0275\u0275sanitizeHtml:()=>c0,\u0275\u0275sanitizeResourceUrl:()=>Bd,\u0275\u0275sanitizeScript:()=>d0,\u0275\u0275sanitizeStyle:()=>u0,\u0275\u0275sanitizeUrl:()=>Ud,\u0275\u0275sanitizeUrlOrResourceUrl:()=>m0,\u0275\u0275setComponentScope:()=>db,\u0275\u0275setNgModuleScope:()=>hb,\u0275\u0275styleMap:()=>ks,\u0275\u0275styleMapInterpolate1:()=>Kv,\u0275\u0275styleMapInterpolate2:()=>Yv,\u0275\u0275styleMapInterpolate3:()=>Zv,\u0275\u0275styleMapInterpolate4:()=>Qv,\u0275\u0275styleMapInterpolate5:()=>Xv,\u0275\u0275styleMapInterpolate6:()=>Jv,\u0275\u0275styleMapInterpolate7:()=>qv,\u0275\u0275styleMapInterpolate8:()=>eb,\u0275\u0275styleMapInterpolateV:()=>tb,\u0275\u0275styleProp:()=>Lh,\u0275\u0275stylePropInterpolate1:()=>Sf,\u0275\u0275stylePropInterpolate2:()=>Tf,\u0275\u0275stylePropInterpolate3:()=>Af,\u0275\u0275stylePropInterpolate4:()=>kf,\u0275\u0275stylePropInterpolate5:()=>Rf,\u0275\u0275stylePropInterpolate6:()=>Of,\u0275\u0275stylePropInterpolate7:()=>Lf,\u0275\u0275stylePropInterpolate8:()=>Pf,\u0275\u0275stylePropInterpolateV:()=>Nf,\u0275\u0275syntheticHostListener:()=>vf,\u0275\u0275syntheticHostProperty:()=>lf,\u0275\u0275template:()=>Ya,\u0275\u0275templateRefExtractor:()=>Xb,\u0275\u0275text:()=>nb,\u0275\u0275textInterpolate:()=>Ff,\u0275\u0275textInterpolate1:()=>Mu,\u0275\u0275textInterpolate2:()=>Uf,\u0275\u0275textInterpolate3:()=>Bf,\u0275\u0275textInterpolate4:()=>$f,\u0275\u0275textInterpolate5:()=>Vf,\u0275\u0275textInterpolate6:()=>jf,\u0275\u0275textInterpolate7:()=>Hf,\u0275\u0275textInterpolate8:()=>zf,\u0275\u0275textInterpolateV:()=>Wf,\u0275\u0275trustConstantHtml:()=>h0,\u0275\u0275trustConstantResourceUrl:()=>f0,\u0275\u0275validateIframeAttribute:()=>Qp,\u0275\u0275viewQuery:()=>Wb});let f=null,D=!1,y=1;const u=Symbol("SIGNAL");function v(e){const t=f;return f=e,t}const o={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function l(e){if(D)throw new Error("");if(null===f)return;f.consumerOnSignalRead(e);const t=f.nextProducerIndex++;I(f),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function w(e){I(e);for(let t=0;t0}function I(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function P(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const L=Symbol("UNSET"),F=Symbol("COMPUTING"),R=Symbol("ERRORED"),U=(()=>({...o,value:L,dirty:!0,error:null,equal:n,producerMustRecompute:e=>e.value===L||e.value===F,producerRecomputeValue(e){if(e.value===F)throw new Error("Detected cycle in computations.");const t=e.value;e.value=F;const i=C(e);let a;try{a=e.computation()}catch(p){a=R,e.error=p}finally{x(e,i)}t!==L&&t!==R&&a!==R&&e.equal(t,a)?e.value=t:(e.value=a,e.version++)}}))();let ne=function W(){throw new Error};function ee(){ne()}let B=null;function te(e,t){g()||ee(),e.equal(e.value,t)||(e.value=t,function $e(e){e.version++,function r(){y++}(),d(e),B?.()}(e))}const Ge=(()=>({...o,equal:n,value:void 0}))();const Ze=()=>{},Et=(()=>({...o,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ze}))();var qe=_(8645),Ee=_(7394),Ie=_(5619),Ce=_(7398),ge=_(1374);function Ae(e){for(let t in e)if(e[t]===Ae)return t;throw Error("Could not find renamed property on target object.")}function q(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Re).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ke(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Ke(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const i=Math.round(t/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}const me=Ae({__forward_ref__:Ae});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return Re(this())},e}function Ne(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(me)&&e.__forward_ref__===Pe}function yt(e){return e&&!!e.\u0275providers}const Yt="https://g.co/ng/security#xss";class jt extends Error{constructor(t,i){super(cn(t,i)),this.code=t}}function cn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const fn=Ae({\u0275cmp:Ae}),an=Ae({\u0275dir:Ae}),En=Ae({\u0275pipe:Ae}),un=Ae({\u0275mod:Ae}),Bt=Ae({\u0275fac:Ae}),Ft=Ae({__NG_ELEMENT_ID__:Ae}),De=Ae({__NG_ENV_ID__:Ae});function Ve(e){return"string"==typeof e?e:null==e?"":String(e)}function Xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ve(e)}function Pt(e,t){throw new jt(-201,!1)}function Xt(e,t){null==e&&tn(t,e,null,"!=")}function tn(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Yn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const st=Yn;function pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ue(e){return At(e,dt)||At(e,Ut)}function ot(e){return null!==Ue(e)}function At(e,t){return e.hasOwnProperty(t)?e[t]:null}function it(e){return e&&(e.hasOwnProperty(ct)||e.hasOwnProperty(wt))?e[ct]:null}const dt=Ae({\u0275prov:Ae}),ct=Ae({\u0275inj:Ae}),Ut=Ae({ngInjectableDef:Ae}),wt=Ae({ngInjectorDef:Ae});var vt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(vt||{});let Ht;function dn(){return Ht}function ze(e){const t=Ht;return Ht=e,t}function en(e,t,i){const a=Ue(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&vt.Optional?null:void 0!==t?t:void Pt(Re(e))}const pe=globalThis;class _t{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Yn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let hn;function Bn(e){tn("setInjectorProfilerContext should never be called in production mode");const t=hn;return hn=e,t}let Ci=null;const Zn=e=>{tn("setInjectorProfiler should never be called in production mode"),Ci=e},Tn={},Ki="__NG_DI_FLAG__",qn="ngTempTokenPath",Qn=/\n/gm,mr="__source";let er;function wn(e){const t=er;return er=e,t}function Fn(e,t=vt.Default){if(void 0===er)throw new jt(-203,!1);return null===er?en(e,void 0,t):er.get(e,t&vt.Optional?null:void 0,t)}function Ln(e,t=vt.Default){return(dn()||Fn)(Ne(e),t)}function Mi(e){throw new jt(202,!1)}function Vn(e,t=vt.Default){return Ln(e,Ui(t))}function Ui(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sr(e){const t=[];for(let i=0;it){N=E-1;break}}}for(;EE?"":p[et+1].toLowerCase();const Rt=8&a?Mt:null;if(Rt&&-1!==wr(Rt,fe,0)||2&a&&fe!==Mt){if($t(a))return!1;N=!0}}}}else{if(!N&&!$t(a)&&!$t(X))return!1;if(N&&$t(X))continue;N=!1,a=X|1&a}}return $t(a)||N}function $t(e){return 0==(1&e)}function Gt(e,t,i,a){if(null===t)return-1;let p=0;if(a||!i){let E=!1;for(;p-1)for(i++;i0?'="'+V+'"':"")+"]"}else 8&a?p+="."+N:4&a&&(p+=" "+N);else""!==p&&!$t(N)&&(t+=ai(E,p),p=""),a=N,E=E||!$t(a);i++}return""!==p&&(t+=ai(E,p)),t}function Kn(e){return tr(()=>{const t=Es(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Zi.Emulated,styles:e.styles||oi,_:null,schemas:e.schemas||null,tView:null,id:""};$r(i);const a=e.dependencies;return i.directiveDefs=es(a,!1),i.pipeDefs=es(a,!0),i.id=function uo(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const p of i)t=Math.imul(31,t)+p.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function li(e){return ti(e)||wi(e)}function ji(e){return null!==e}function lr(e){return tr(()=>({type:e.type,bootstrap:e.bootstrap||oi,declarations:e.declarations||oi,imports:e.imports||oi,exports:e.exports||oi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gr(e,t){if(null==e)return or;const i={};for(const a in e)if(e.hasOwnProperty(a)){let p=e[a],E=p;Array.isArray(p)&&(E=p[1],p=p[0]),i[p]=a,t&&(t[p]=E)}return i}function ls(e){return tr(()=>{const t=Es(e);return $r(t),t})}function Ys(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 ti(e){return e[fn]||null}function wi(e){return e[an]||null}function Ri(e){return e[En]||null}function Br(e){const t=ti(e)||wi(e)||Ri(e);return null!==t&&t.standalone}function Qi(e,t){const i=e[un]||null;if(!i&&!0===t)throw new Error(`Type ${Re(e)} does not have '\u0275mod' property.`);return i}function Es(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||or,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||oi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gr(e.inputs,t),outputs:gr(e.outputs),debugInfo:null}}function $r(e){e.features?.forEach(t=>t(e))}function es(e,t){if(!e)return null;const i=t?Ri:li;return()=>("function"==typeof e?e():e).map(a=>i(a)).filter(ji)}const Zs=new Map,Bi=0,yn=1,he=2,we=3,ae=4,je=5,xt=6,gn=7,Sn=8,Di=9,cr=10,$n=11,gs=12,_s=13,vs=14,Oi=15,bs=16,Pr=17,Kr=18,Ms=19,cs=20,ts=21,Yr=22,Ar=23,Hn=25,Qs=1,Vr=6,nr=7,ys=9,fi=10;var jr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(jr||{});function Xi(e){return Array.isArray(e)&&"object"==typeof e[Qs]}function ir(e){return Array.isArray(e)&&!0===e[Qs]}function Xs(e){return 0!=(4&e.flags)}function Zr(e){return e.componentOffset>-1}function Ps(e){return 1==(1&e.flags)}function Nr(e){return!!e.template}function Ns(e){return 0!=(512&e[he])}function Ao(e){return 16==(16&e.type)}function qs(e){return 256==(256&e[he])}function ho(e,t){!function ko(e,t){eo(e);const i=t.data;for(let a=Hn;a{_r=e},Ji=function(e,t,i){_r?.(e,t,i)},rs="svg",Is="math";let Rr=!1;function na(){return Rr}function ia(e){Rr=e}function xi(e){for(;Array.isArray(e);)e=e[Bi];return e}function Fs(e){for(;Array.isArray(e);){if("object"==typeof e[Qs])return e;e=e[Bi]}return null}function to(e,t){return xi(t[e])}function ar(e,t){return xi(t[e.index])}function no(e,t){return e.data[t]}function Ss(e,t){return e[t]}function xr(e,t){const i=t[e];return Xi(i)?i:i[Bi]}function Lo(e){return 128==(128&e[he])}function rr(e,t){return null==t?null:e[t]}function oa(e){e[Pr]=0}function cc(e){1024&e[he]||(e[he]|=1024,Lo(e)&&Us(e))}function aa(e,t){for(;e>0;)t=t[vs],e--;return t}function la(e){return 9216&e[he]||e[Ar]?.dirty}function go(e){la(e)?Us(e):64&e[he]&&(na()?(e[he]|=1024,Us(e)):e[cr].changeDetectionScheduler?.notify())}function Us(e){e[cr].changeDetectionScheduler?.notify();let t=e[we];for(;null!==t&&!(ir(t)&&t[he]&jr.HasChildViewsToRefresh||Xi(t)&&8192&t[he]);){if(ir(t))t[he]|=jr.HasChildViewsToRefresh;else if(t[he]|=8192,!Lo(t))break;t=t[we]}}function Or(e,t){if(256==(256&e[he]))throw new jt(911,!1);null===e[ts]&&(e[ts]=[]),e[ts].push(t)}function _o(e,t){if(null===e[ts])return;const i=e[ts].indexOf(t);-1!==i&&e[ts].splice(i,1)}const zn={lFrame:Kt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vo(){return zn.bindingsEnabled}function Ts(){return null!==zn.skipHydrationRootTNode}function cl(){zn.bindingsEnabled=!0}function ro(){zn.bindingsEnabled=!1}function rn(){return zn.lFrame.lView}function mi(){return zn.lFrame.tView}function ua(e){return zn.lFrame.contextLView=e,e[Sn]}function da(e){return zn.lFrame.contextLView=null,e}function Pi(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return zn.lFrame.currentTNode}function so(){const e=zn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ss(e,t){const i=zn.lFrame;i.currentTNode=e,i.isParent=t}function Uo(){return zn.lFrame.isParent}function Bo(){zn.lFrame.isParent=!1}function G(){const e=zn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function se(){return zn.lFrame.bindingIndex}function Q(e){return zn.lFrame.bindingIndex=e}function re(){return zn.lFrame.bindingIndex++}function be(e){const t=zn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function pt(e){zn.lFrame.inI18n=e}function Zt(e,t){const i=zn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Mn(t)}function Mn(e){zn.lFrame.currentDirectiveIndex=e}function ni(e){const t=zn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function O(){return zn.lFrame.currentQueryIndex}function xe(e){zn.lFrame.currentQueryIndex=e}function K(e){const t=e[yn];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function Je(e,t,i){if(i&vt.SkipSelf){let p=t,E=e;for(;!(p=p.parent,null!==p||i&vt.Host||(p=K(E),null===p||(E=E[vs],10&p.type))););if(null===p)return!1;t=p,e=E}const a=zn.lFrame=ht();return a.currentTNode=t,a.lView=e,!0}function ft(e){const t=ht(),i=e[yn];zn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function ht(){const e=zn.lFrame,t=null===e?null:e.child;return null===t?Kt(e):t}function Kt(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 Vt(){const e=zn.lFrame;return zn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const kn=Vt;function kt(){const e=Vt();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 Jn(){return zn.lFrame.selectedIndex}function Dn(e){zn.lFrame.selectedIndex=e}function sn(){const e=zn.lFrame;return no(e.tView,e.selectedIndex)}function Wn(){zn.lFrame.currentNamespace=rs}function Wi(){zn.lFrame.currentNamespace=Is}function bi(){!function ci(){zn.lFrame.currentNamespace=null}()}function Ai(){return zn.lFrame.currentNamespace}let pi=!0;function In(){return pi}function hi(e){pi=e}function jn(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[X]<0&&(e[Pr]+=65536),(V>14>16&&(3&e[he])===t&&(e[he]+=16384,$s(V,E)):$s(V,E)}const As=-1;class Vs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function y1(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ku(e){return e!==As}function hl(e){return 32767&e}function fl(e,t){let i=function x1(e){return e>>16}(e),a=t;for(;i>0;)a=a[vs],i--;return a}let Yu=!0;function hc(e){const t=Yu;return Yu=e,t}const Dm=255,Im=5;let E1=0;const js={};function fc(e,t){const i=Sm(e,t);if(-1!==i)return i;const a=t[yn];a.firstCreatePass&&(e.injectorIndex=t.length,Zu(a.data,e),Zu(t,null),Zu(a.blueprint,null));const p=mc(e,t),E=e.injectorIndex;if(Ku(p)){const N=hl(p),V=fl(p,t),X=V[yn].data;for(let fe=0;fe<8;fe++)t[E+fe]=V[N+fe]|X[N+fe]}return t[E+8]=p,E}function Zu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function mc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,p=t;for(;null!==p;){if(a=Nm(p),null===a)return As;if(i++,p=p[vs],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return As}function Qu(e,t,i){!function M1(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(Ft)&&(a=i[Ft]),null==a&&(a=i[Ft]=E1++);const p=a&Dm;t.data[e+(p>>Im)]|=1<=0?t&Dm:T1:t}(i);if("function"==typeof E){if(!Je(t,e,a))return a&vt.Host?Tm(p,0,a):Am(t,i,a,p);try{let N;if(N=E(a),null!=N||a&vt.Optional)return N;Pt()}finally{kn()}}else if("number"==typeof E){let N=null,V=Sm(e,t),X=As,fe=a&vt.Host?t[Oi][je]:null;for((-1===V||a&vt.SkipSelf)&&(X=-1===V?mc(e,t):t[V+8],X!==As&&Lm(a,!1)?(N=t[yn],V=hl(X),t=fl(X,t)):V=-1);-1!==V;){const Le=t[yn];if(Om(E,V,Le.data)){const et=I1(V,t,i,N,a,fe);if(et!==js)return et}X=t[V+8],X!==As&&Lm(a,t[yn].data[V+8]===fe)&&Om(E,V,t)?(N=Le,V=hl(X),t=fl(X,t)):V=-1}}return p}function I1(e,t,i,a,p,E){const N=t[yn],V=N.data[e+8],Le=pc(V,N,i,null==a?Zr(V)&&Yu:a!=N&&0!=(3&V.type),p&vt.Host&&E===V);return null!==Le?$o(t,N,Le,V):js}function pc(e,t,i,a,p){const E=e.providerIndexes,N=t.data,V=1048575&E,X=e.directiveStart,Le=E>>20,Mt=p?V+Le:e.directiveEnd;for(let Rt=a?V:V+Le;Rt=X&&Jt.type===i)return Rt}if(p){const Rt=N[X];if(Rt&&Nr(Rt)&&Rt.type===i)return X}return null}function $o(e,t,i,a){let p=e[i];const E=t.data;if(function b1(e){return e instanceof Vs}(p)){const N=p;N.resolving&&function ut(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new jt(-200,`Circular dependency in DI detected for ${e}${i}`)}(Xe(E[i]));const V=hc(N.canSeeViewProviders);N.resolving=!0;const fe=N.injectImpl?ze(N.injectImpl):null;Je(e,a,vt.Default);try{p=e[i]=N.factory(void 0,E,e,a),t.firstCreatePass&&i>=a.directiveStart&&function vr(e,t,i){const{ngOnChanges:a,ngOnInit:p,ngDoCheck:E}=t.type.prototype;if(a){const N=$i(t);(i.preOrderHooks??=[]).push(e,N),(i.preOrderCheckHooks??=[]).push(e,N)}p&&(i.preOrderHooks??=[]).push(0-e,p),E&&((i.preOrderHooks??=[]).push(e,E),(i.preOrderCheckHooks??=[]).push(e,E))}(i,E[i],t)}finally{null!==fe&&ze(fe),hc(V),N.resolving=!1,kn()}}return p}function Om(e,t,i){return!!(i[t+(e>>Im)]&1<{const t=e.prototype.constructor,i=t[Bt]||Xu(t),a=Object.prototype;let p=Object.getPrototypeOf(e.prototype).constructor;for(;p&&p!==a;){const E=p[Bt]||Xu(p);if(E&&E!==i)return E;p=Object.getPrototypeOf(p)}return E=>new E})}function Xu(e){return Be(e)?()=>{const t=Xu(Ne(e));return t&&t()}:di(e)}function Nm(e){const t=e[yn],i=t.type;return 2===i?t.declTNode:1===i?e[je]:null}function Ju(e){return function D1(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let p=0;for(;p{const E=qu(t);function N(...V){if(this instanceof N)return E.call(this,...V),this;const X=new N(...V);return function(Le){return p&&p(Le,...V),(Le.hasOwnProperty(pa)?Le[pa]:Object.defineProperty(Le,pa,{value:[]})[pa]).push(X),a&&a(Le),Le}}return i&&(N.prototype=Object.create(i.prototype)),N.prototype.ngMetadataName=e,N.annotationCls=N,N})}function qu(e){return function(...i){if(e){const a=e(...i);for(const p in a)this[p]=a[p]}}}function va(e,t,i){return tr(()=>{const a=qu(t);function p(...E){if(this instanceof p)return a.apply(this,E),this;const N=new p(...E);return V.annotation=N,V;function V(X,fe,Le){const et=X.hasOwnProperty(ga)?X[ga]:Object.defineProperty(X,ga,{value:[]})[ga];for(;et.length<=Le;)et.push(null);return(et[Le]=et[Le]||[]).push(N),X}}return i&&(p.prototype=Object.create(i.prototype)),p.prototype.ngMetadataName=e,p.annotationCls=p,p})}function yo(e,t,i,a){return tr(()=>{const p=qu(t);function E(...N){if(this instanceof E)return p.apply(this,N),this;const V=new E(...N);return function X(fe,Le){if(void 0===fe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const et=fe.constructor,Mt=et.hasOwnProperty(_a)?et[_a]:Object.defineProperty(et,_a,{value:{}})[_a];Mt[Le]=Mt.hasOwnProperty(Le)&&Mt[Le]||[],Mt[Le].unshift(V),a&&a(fe,Le,...N)}}return i&&(E.prototype=Object.create(i.prototype)),E.prototype.ngMetadataName=e,E.annotationCls=E,E})}const Fm=va("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ju(e)}));class pl{}const k1=yo("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),pl),R1=yo("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),pl),O1=yo("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),pl),L1=yo("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),pl);var Vo=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Vo||{});function Mr(e){const t=pe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bm=Function;function gl(e){return"function"==typeof e}function os(e){return e.flat(Number.POSITIVE_INFINITY)}function ba(e,t){e.forEach(i=>Array.isArray(i)?ba(i,t):t(i))}function $m(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function gc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _l(e,t){const i=[];for(let a=0;at;)e[p]=e[p-2],p--;e[t]=i,e[t+1]=a}}function hs(e,t,i){let a=ya(e,t);return a>=0?e[1|a]=i:(a=~a,Vm(e,a,t,i)),a}function td(e,t){const i=ya(e,t);if(i>=0)return e[1|i]}function ya(e,t){return function jm(e,t,i){let a=0,p=e.length>>i;for(;p!==a;){const E=a+(p-a>>1),N=e[E<t?p=E:a=E+1}return~(p<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=_l(typeof t>"u"?i.length:t.length);for(let p=0;p"u"?[]:t[p]&&t[p]!=Object?[t[p]]:[],i&&null!=i[p]&&(a[p]=a[p].concat(i[p]));return a}_ownParameters(t,i){if(function j1(e){return U1.test(e)||V1.test(e)||B1.test(e)&&!$1.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const p=t.ctorParameters;if(p&&p!==i.ctorParameters){const V="function"==typeof p?p():p,X=V.map(Le=>Le&&Le.type),fe=V.map(Le=>Le&&nd(Le.decorators));return this._zipTypesAndAnnotations(X,fe)}const E=t.hasOwnProperty(ga)&&t[ga],N=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return N||E?this._zipTypesAndAnnotations(N,E):_l(t.length)}parameters(t){if(!gl(t))return[];const i=_c(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?nd(t.decorators):t.hasOwnProperty(pa)?t[pa]:null}annotations(t){if(!gl(t))return[];const i=_c(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,p={};return Object.keys(a).forEach(E=>{p[E]=nd(a[E])}),p}return t.hasOwnProperty(_a)?t[_a]:null}propMetadata(t){if(!gl(t))return{};const i=_c(t),a={};if(i!==Object){const E=this.propMetadata(i);Object.keys(E).forEach(N=>{a[N]=E[N]})}const p=this._ownPropMetadata(t,i);return p&&Object.keys(p).forEach(E=>{const N=[];a.hasOwnProperty(E)&&N.push(...a[E]),N.push(...p[E]),a[E]=N}),a}ownPropMetadata(t){return gl(t)&&this._ownPropMetadata(t,_c(t))||{}}hasLifecycleHook(t,i){return t instanceof Bm&&i in t.prototype}}function nd(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function _c(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const zm=pr(va("Inject",e=>({token:e})),-1),vc=pr(va("Optional"),8),Wm=pr(va("Self"),2),bc=pr(va("SkipSelf"),4),Gm=pr(va("Host"),1);let Km=null;function id(){return Km=Km||new Hm}function yc(e){return Ym(id().parameters(e))}function Ym(e){return e.map(t=>function H1(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const N=[];p.templateUrl&&N.push(a(p.templateUrl).then(fe=>{p.template=fe}));const V="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=V,p.styleUrl&&p.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(p.styleUrls?.length){const fe=p.styles.length,Le=p.styleUrls;p.styleUrls.forEach((et,Mt)=>{V.push(""),N.push(a(et).then(Rt=>{V[fe+Mt]=Rt,Le.splice(Le.indexOf(et),1),0==Le.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&N.push(a(p.styleUrl).then(fe=>{V.push(fe),p.styleUrl=void 0}));const X=Promise.all(N).then(()=>function Z1(e){vl.delete(e)}(E));t.push(X)}),Xm(),Promise.all(t).then(()=>{})}let Ca=new Map;const vl=new Set;function W1(e){return vl.has(e)}function Qm(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function Xm(){const e=Ca;return Ca=new Map,e}function G1(e){vl.clear(),e.forEach((t,i)=>vl.add(i)),Ca=e}function Y1(e){return"string"==typeof e?e:e.text()}const jo=new _t("ENVIRONMENT_INITIALIZER"),rd=new _t("INJECTOR",-1),sd=new _t("INJECTOR_DEF_TYPES");class Cc{get(t,i=Tn){if(i===Tn){const a=new Error(`NullInjectorError: No provider for ${Re(t)}!`);throw a.name="NullInjectorError",a}return i}}function od(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:qm(0,e),\u0275fromNgModule:!0}}function qm(e,...t){const i=[],a=new Set;let p;const E=N=>{i.push(N)};return ba(t,N=>{const V=N;wc(V,E,[],a)&&(p||=[],p.push(V))}),void 0!==p&&ep(p,E),i}function ep(e,t){for(let i=0;i{t(E,a)})}}function wc(e,t,i,a){if(!(e=Ne(e)))return!1;let p=null,E=it(e);const N=!E&&ti(e);if(E||N){if(N&&!N.standalone)return!1;p=e}else{const X=e.ngModule;if(E=it(X),!E)return!1;p=X}const V=a.has(p);if(N){if(V)return!1;if(a.add(p),N.dependencies){const X="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const fe of X)wc(fe,t,i,a)}}else{if(!E)return!1;{if(null!=E.imports&&!V){let fe;a.add(p);try{ba(E.imports,Le=>{wc(Le,t,i,a)&&(fe||=[],fe.push(Le))})}finally{}void 0!==fe&&ep(fe,t)}if(!V){const fe=di(p)||(()=>new p);t({provide:p,useFactory:fe,deps:oi},p),t({provide:sd,useValue:p,multi:!0},p),t({provide:jo,useValue:()=>Ln(p),multi:!0},p)}const X=E.providers;if(null!=X&&!V){const fe=e;ad(X,Le=>{t(Le,fe)})}}}return p!==e&&void 0!==e.providers}function ad(e,t){for(let i of e)yt(i)&&(i=i.\u0275providers),Array.isArray(i)?ad(i,t):t(i)}const Q1=Ae({provide:String,useValue:Ae});function ld(e){return null!==e&&"object"==typeof e&&Q1 in e}function Ho(e){return"function"==typeof e}const cd=new _t("Set Injector scope."),xc={},J1={};let ud;function Ec(){return void 0===ud&&(ud=new Cc),ud}class Hs{}class wa extends Hs{get destroyed(){return this._destroyed}constructor(t,i,a,p){super(),this.parent=i,this.source=a,this.scopes=p,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hd(t,N=>this.processProvider(N)),this.records.set(rd,xa(void 0,this)),p.has("environment")&&this.records.set(Hs,xa(void 0,this));const E=this.records.get(cd);null!=E&&"string"==typeof E.value&&this.scopes.add(E.value),this.injectorDefTypes=new Set(this.get(sd,oi,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=wn(this),a=ze(void 0);try{return t()}finally{wn(i),ze(a)}}get(t,i=Tn,a=vt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(De))return t[De](this);a=Ui(a);const E=wn(this),N=ze(void 0);try{if(!(a&vt.SkipSelf)){let X=this.records.get(t);if(void 0===X){const fe=function iC(e){return"function"==typeof e||"object"==typeof e&&e instanceof _t}(t)&&Ue(t);X=fe&&this.injectableDefInScope(fe)?xa(dd(t),xc):null,this.records.set(t,X)}if(null!=X)return this.hydrate(t,X)}return(a&vt.Self?Ec():this.parent).get(t,i=a&vt.Optional&&i===Tn?null:i)}catch(V){if("NullInjectorError"===V.name){if((V[qn]=V[qn]||[]).unshift(Re(t)),E)throw V;return function Sr(e,t,i,a){const p=e[qn];throw t[mr]&&p.unshift(t[mr]),e.message=function Lr(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let p=Re(t);if(Array.isArray(t))p=t.map(Re).join(" -> ");else if("object"==typeof t){let E=[];for(let N in t)if(t.hasOwnProperty(N)){let V=t[N];E.push(N+":"+("string"==typeof V?JSON.stringify(V):Re(V)))}p=`{${E.join(", ")}}`}return`${i}${a?"("+a+")":""}[${p}]: ${e.replace(Qn,"\n ")}`}("\n"+e.message,p,i,a),e.ngTokenPath=p,e[qn]=null,e}(V,t,"R3InjectorError",this.source)}throw V}finally{ze(N),wn(E)}}resolveInjectorInitializers(){const t=wn(this),i=ze(void 0);try{const p=this.get(jo,oi,vt.Self);for(const E of p)E()}finally{wn(t),ze(i)}}toString(){const t=[],i=this.records;for(const a of i.keys())t.push(Re(a));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new jt(205,!1)}processProvider(t){let i=Ho(t=Ne(t))?t:Ne(t&&t.provide);const a=function eC(e){return ld(e)?xa(void 0,e.useValue):xa(ip(e),xc)}(t);if(Ho(t)||!0!==t.multi)this.records.get(i);else{let p=this.records.get(i);p||(p=xa(void 0,xc,!0),p.factory=()=>sr(p.multi),this.records.set(i,p)),i=t,p.multi.push(t)}this.records.set(i,a)}hydrate(t,i){return i.value===xc&&(i.value=J1,i.value=i.factory()),"object"==typeof i.value&&i.value&&function nC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ne(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function dd(e){const t=Ue(e),i=null!==t?t.factory:di(e);if(null!==i)return i;if(e instanceof _t)throw new jt(204,!1);if(e instanceof Function)return function q1(e){const t=e.length;if(t>0)throw _l(t,"?"),new jt(204,!1);const i=function qt(e){return e&&(e[dt]||e[Ut])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new jt(204,!1)}function ip(e,t,i){let a;if(Ho(e)){const p=Ne(e);return di(p)||dd(p)}if(ld(e))a=()=>Ne(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...sr(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))a=()=>Ln(Ne(e.useExisting));else{const p=Ne(e&&(e.useClass||e.provide));if(!function tC(e){return!!e.deps}(e))return di(p)||dd(p);a=()=>new p(...sr(e.deps))}return a}function xa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function hd(e,t){for(const i of e)Array.isArray(i)?hd(i,t):i&&yt(i)?hd(i.\u0275providers,t):t(i)}function rC(e,t){e instanceof wa&&e.assertNotDestroyed();const a=wn(e),p=ze(void 0);try{return t()}finally{wn(a),ze(p)}}function Mc(e){if(!dn()&&!function _n(){return er}())throw new jt(-203,!1)}const rp={\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275inject:Ln,\u0275\u0275invalidFactoryDep:Mi,resolveForwardRef:Ne};const oC=Ae({provide:String,useValue:Ae});function sp(e){return void 0!==e.useClass}function op(e){return void 0!==e.useFactory}const uC=ml("Injectable",void 0,void 0,void 0,(e,t)=>function sC(e,t){let i=null,a=null;e.hasOwnProperty(dt)||Object.defineProperty(e,dt,{get:()=>(null===i&&(i=Mr().compileInjectable(rp,`ng:///${e.name}/\u0275prov.js`,function cC(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(sp(i)||op(i))&&void 0!==i.deps&&(a.deps=Ym(i.deps)),sp(i)?a.useClass=i.useClass:function aC(e){return oC in e}(i)?a.useValue=i.useValue:op(i)?a.useFactory=i.useFactory:function lC(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Bt)||Object.defineProperty(e,Bt,{get:()=>{if(null===a){const p=Mr();a=p.compileFactory(rp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function fd(e,t=null,i=null,a){const p=ap(e,t,i,a);return p.resolveInjectorInitializers(),p}function ap(e,t=null,i=null,a,p=new Set){const E=[i||oi,Jm(e)];return a=a||("object"==typeof e?void 0:Re(e)),new wa(E,t||Ec(),a||null,p)}let pd,Cs=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Tn;static#t=this.NULL=new Cc;static create(i,a){if(Array.isArray(i))return fd({name:""},a,i,"");{const p=i.name??"";return fd({name:p},i.parent,i.providers,p)}}static#n=this.\u0275prov=Yn({token:e,providedIn:"any",factory:()=>Ln(rd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function md(e){return void 0!==e.ngModule}function Co(e){return!!Qi(e)}function Dc(e){return!!Ri(e)}function lp(e){return!!wi(e)}function bl(e){return!!ti(e)}function hC(e,t){if(Be(e)&&!(e=Ne(e)))throw new Error(`Expected forwardRef function, imported from "${Xe(t)}", to return a standalone entity or NgModule but got "${Xe(e)||e}".`);if(null==Qi(e)){const i=ti(e)||wi(e)||Ri(e);if(null==i)throw md(e)?new Error(`A module with providers was imported from "${Xe(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Xe(e)}" type, imported from "${Xe(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${Xe(e)}" ${function dC(e){return ti(e)?"component":wi(e)?"directive":Ri(e)?"pipe":"type"}(e)}, imported from "${Xe(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}function fC(e){pd=e}function wo(){if(void 0!==pd)return pd;if(typeof document<"u")return document;throw new jt(210,!1)}const cp=new _t("AppId",{providedIn:"root",factory:()=>mC}),mC="ng",up=new _t("Platform Initializer"),gd=new _t("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pC=new _t("Application Packages Root URL"),gC=new _t("AnimationModuleType"),_C=new _t("CSP nonce",{providedIn:"root",factory:()=>wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),dp={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hp=new _t("ImageConfig",{providedIn:"root",factory:()=>dp});function fp(e){return e.ownerDocument.defaultView}function mp(e){return e.ownerDocument}function _d(e){return e.ownerDocument.body}function fs(e){return e instanceof Function?e():e}function xo(e){return"browser"===(e??Vn(Cs)).get(gd)}const Ic=!0;class pp{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const i=Qi(t);if(i?.declarations)for(const a of fs(i.declarations))bl(a)&&this.ownerNgModule.set(a,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,i){this.resolveNgModulesDecls();const a=ti(t);if(null===a)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(a.standalone){const p=this.getStandaloneComponentScope(t,i);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(t));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(t,i){if(!Co(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const i=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,i),i}computeNgModuleScope(t){const i=Qi(t,!0),a={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of fs(i.imports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else{if(!Br(p)){a.compilation.isPoisoned=!0;break}if(lp(p)||bl(p))a.compilation.directives.add(p);else{if(!Dc(p))throw new jt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");a.compilation.pipes.add(p)}}if(!a.compilation.isPoisoned)for(const p of fs(i.declarations)){if(Co(p)||Br(p)){a.compilation.isPoisoned=!0;break}Dc(p)?a.compilation.pipes.add(p):a.compilation.directives.add(p)}for(const p of fs(i.exports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.exported.directives),Eo(E.exported.pipes,a.exported.pipes),Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else Dc(p)?a.exported.pipes.add(p):a.exported.directives.add(p);return a}getStandaloneComponentScope(t,i){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const a=this.computeStandaloneComponentScope(t,i);return this.standaloneComponentsScopeCache.set(t,a),a}computeStandaloneComponentScope(t,i){const a={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const p of os(i??[])){const E=Ne(p);try{hC(E,t)}catch{return a.compilation.isPoisoned=!0,a}if(Co(E)){a.compilation.ngModules.add(E);const N=this.getNgModuleScope(E);if(N.exported.isPoisoned)return a.compilation.isPoisoned=!0,a;Eo(N.exported.directives,a.compilation.directives),Eo(N.exported.pipes,a.compilation.pipes)}else if(Dc(E))a.compilation.pipes.add(E);else{if(!lp(E)&&!bl(E))return a.compilation.isPoisoned=!0,a;a.compilation.directives.add(E)}}return a}isOrphanComponent(t){const i=ti(t);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Eo(e,t){for(const i of e)t.add(i)}const Ma=new pp,Sc=new Map;let gp=!0;function vd(e,t){(function vC(e,t,i){if(t&&t!==i&&gp)throw new Error(`Duplicate module registered for ${e} - ${Re(t)} vs ${Re(t.name)}`)})(t,Sc.get(t)||null,e),Sc.set(t,e)}function _p(e){return Sc.get(e)}function bC(e){gp=!e}const vp={name:"custom-elements"},bp={name:"no-errors-schema"};let bd=!1;function yC(e){bd=e}function CC(){return bd}let yd=!1;function wC(e){yd=e}function xC(){return yd}function Cd(e){tn("Must never be called in production mode");const i=function Tc(e){tn("Must never be called in production mode");const i=e[Oi][Sn];return i&&i.constructor?ti(i.constructor):null}(e)?.type?.name;return i?` (used in the '${i}' component template)`:""}const yl="ngSkipHydration",MC="ngskiphydration";function wp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let i=0;i|^->||--!>|)/g,SC="\u200b$1\u200b";const wd=new Map;let TC=0;function Mp(e){return wd.get(e)||null}class Dp{get lView(){return Mp(this.lViewId)}constructor(t,i,a){this.lViewId=t,this.nodeIndex=i,this.native=a}}function Qr(e){let t=Cl(e);if(t){if(Xi(t)){const i=t;let a,p,E;if(Tp(e)){if(a=kp(i,e),-1==a)throw new Error("The provided component was not found in the application");p=e}else if(function OC(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function PC(e,t){let i=e[yn].firstChild;for(;i;){const p=i.directiveEnd;for(let E=i.directiveStart;E=0){const V=xi(E[N]),X=xd(E,N,V);Hr(V,X),t=X;break}}}}return t||null}function xd(e,t,i){return new Dp(e[Ms],t,i)}function Ip(e){let i,t=Cl(e);if(Xi(t)){const a=t,p=kp(a,e);i=xr(p,a);const E=xd(a,p,i[Bi]);E.component=e,Hr(e,E),Hr(E.native,E)}else i=xr(t.nodeIndex,t.lView);return i}const Ed="__ngContext__";function Hr(e,t){Xi(t)?(e[Ed]=t[Ms],function kC(e){wd.set(e[Ms],e)}(t)):e[Ed]=t}function Cl(e){const t=e[Ed];return"number"==typeof t?Mp(t):t||null}function Sp(e){const t=Cl(e);return t?Xi(t)?t:t.lView:null}function Tp(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Ap(e,t){const i=e[yn];for(let a=Hn;at.replace(IC,SC))}(t))}function Pc(e,t,i){return e.createElement(t,i)}function Fp(e,t){const i=e[ys],a=i.indexOf(t);i.splice(a,1)}function xl(e,t){if(e.length<=fi)return;const i=fi+t,a=e[i];if(a){const p=a[bs];null!==p&&p!==e&&Fp(p,a),t>0&&(e[i-1][ae]=a[ae]);const E=gc(e,fi+t);!function VC(e,t){Ml(e,t,t[$n],2,null,null),t[Bi]=null,t[je]=null}(a[yn],a);const N=E[Kr];null!==N&&N.detachView(E[yn]),a[we]=null,a[ae]=null,a[he]&=-129}return a}function Nc(e,t){if(!(256&t[he])){const i=t[$n];i.destroyNode&&Ml(e,t,i,3,null,null),function zC(e){let t=e[gs];if(!t)return Sd(e[yn],e);for(;t;){let i=null;if(Xi(t))i=t[gs];else{const a=t[fi];a&&(i=a)}if(!i){for(;t&&!t[ae]&&t!==e;)Xi(t)&&Sd(t[yn],t),t=t[we];null===t&&(t=e),Xi(t)&&Sd(t[yn],t),i=t&&t[ae]}t=i}}(t)}}function Sd(e,t){if(!(256&t[he])){t[he]&=-129,t[he]|=256,t[Ar]&&T(t[Ar]),function YC(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[N]():a[-N].unsubscribe(),E+=2}else i[E].call(a[i[E+1]]);null!==a&&(t[gn]=null);const p=t[ts];if(null!==p){t[ts]=null;for(let E=0;E-1){const{encapsulation:E}=e.data[a.directiveStart+p];if(E===Zi.None||E===Zi.Emulated)return null}return ar(a,i)}}function zo(e,t,i,a,p){e.insertBefore(t,i,a,p)}function Bp(e,t,i){e.appendChild(t,i)}function $p(e,t,i,a,p){null!==a?zo(e,t,i,a,p):Bp(e,t,i)}function Fc(e,t){return e.parentNode(t)}function Vp(e,t,i){return Hp(e,t,i)}function jp(e,t,i){return 40&e.type?ar(e,i):null}let Ad,$c,Vc,Hp=jp;function zp(e,t){Hp=e,Ad=t}function Uc(e,t,i,a){const p=Td(e,a,t),E=t[$n],V=Vp(a.parent||t[je],a,t);if(null!=p)if(Array.isArray(i))for(let X=0;Xe,createScript:e=>e,createScriptURL:e=>e})}catch{}return $c}function Ia(e){return Od()?.createHTML(e)||e}function Qp(e,t,i){const a=rn(),p=sn(),E=ar(p,a);if(2===p.type&&"iframe"===t.toLowerCase()){const N=E;throw N.src="",N.srcdoc=Ia(""),Bc(a[$n],N),new jt(-910,!1)}return e}function Ld(){if(void 0===Vc&&(Vc=null,pe.trustedTypes))try{Vc=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vc}function Xp(e){return Ld()?.createHTML(e)||e}function Jp(e){return Ld()?.createScript(e)||e}function qp(e){return Ld()?.createScriptURL(e)||e}class Wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yt})`}}class iw extends Wo{getTypeName(){return"HTML"}}class rw extends Wo{getTypeName(){return"Style"}}class sw extends Wo{getTypeName(){return"Script"}}class ow extends Wo{getTypeName(){return"URL"}}class aw extends Wo{getTypeName(){return"ResourceURL"}}function oo(e){return e instanceof Wo?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){const i=e0(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${Yt})`)}return i===t}function e0(e){return e instanceof Wo&&e.getTypeName()||null}function lw(e){return new iw(e)}function cw(e){return new rw(e)}function uw(e){return new sw(e)}function dw(e){return new ow(e)}function hw(e){return new aw(e)}function t0(e){const t=new mw(e);return function pw(){try{return!!(new window.DOMParser).parseFromString(Ia(""),"text/html")}catch{return!1}}()?new fw(t):t}class fw{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Ia(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class mw{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Ia(t),i}}const gw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jc(e){return(e=String(e)).match(gw)?e:"unsafe:"+e}function ao(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Dl(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const n0=ao("area,br,col,hr,img,wbr"),r0=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),s0=ao("rp,rt"),Pd=Dl(n0,Dl(r0,ao("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Dl(s0,ao("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Dl(s0,r0)),Nd=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),o0=Dl(Nd,ao("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ao("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_w=ao("script,style,template");class vw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let p=this.checkClobberedElement(i,i.nextSibling);if(p){i=p;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Pd.hasOwnProperty(i))return this.sanitizedSomething=!0,!_w.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let p=0;p"),!0}endElement(t){const i=t.nodeName.toLowerCase();Pd.hasOwnProperty(i)&&!n0.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(a0(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&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 i}}const bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yw=/([^\#-~ |!])/g;function a0(e){return e.replace(/&/g,"&").replace(bw,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Hc;function l0(e,t){let i=null;try{Hc=Hc||t0(e);let a=t?String(t):"";i=Hc.getInertBodyElement(a);let p=5,E=a;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,a=E,E=i.innerHTML,i=Hc.getInertBodyElement(a)}while(a!==E);return Ia((new vw).sanitizeChildren(Fd(i)||i))}finally{if(i){const a=Fd(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Fd(e){return"content"in e&&function Cw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Go=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Go||{});function c0(e){const t=Il();return t?Xp(t.sanitize(Go.HTML,e)||""):Sa(e,"HTML")?Xp(oo(e)):l0(wo(),Ve(e))}function u0(e){const t=Il();return t?t.sanitize(Go.STYLE,e)||"":Sa(e,"Style")?oo(e):Ve(e)}function Ud(e){const t=Il();return t?t.sanitize(Go.URL,e)||"":Sa(e,"URL")?oo(e):jc(Ve(e))}function Bd(e){const t=Il();if(t)return qp(t.sanitize(Go.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return qp(oo(e));throw new jt(904,!1)}function d0(e){const t=Il();if(t)return Jp(t.sanitize(Go.SCRIPT,e)||"");if(Sa(e,"Script"))return Jp(oo(e));throw new jt(905,!1)}function h0(e){return Ia(e[0])}function f0(e){return function nw(e){return Od()?.createScriptURL(e)||e}(e[0])}function m0(e,t,i){return function ww(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bd:Ud}(t,i)(e)}function Il(){const e=rn();return e&&e[cr].sanitizer}class p0{}function xw(e){return e}function Ew(){const e=new Sl;return"browser"===Vn(gd)&&(e.store=function Mw(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return{}}(wo(),Vn(cp))),e}let Sl=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:Ew});get(i,a){return void 0!==this.store[i]?this.store[i]:a}set(i,a){this.store[i]=a}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,a){this.onSerializeCallbacks[i]=a}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/null;function Dw(e,t,i=!1){let a=e.getAttribute(Al);if(null==a)return null;const[p,E]=a.split("|");if(a=i?E:p,!a)return null;const N=i?p:E?`|${E}`:"";let V={};if(""!==a){const fe=t.get(Sl,null,{optional:!0});null!==fe&&(V=fe.get(Gd,[])[Number(a)])}const X={data:V,firstChild:e.firstChild??null};return i&&(X.firstChild=e,Gc(X,0,e.nextSibling)),N?e.setAttribute(Al,N):e.removeAttribute(Al),X}function Kd(e,t,i=!1){return _0(e,t,i)}function v0(e){let t=e._lView;return 2===t[yn].type?null:(Ns(t)&&(t=t[Hn]),t)}function Gc(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Yd(e,t){return e.segmentHeads?.[t]??null}function b0(e,t){return e.data[Tl]?.[t]??null}function Zd(e,t){const i=b0(e,t)??[];let a=0;for(let p of i)a+=p[Aa]*(p[zc]??1);return a}function Kc(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Wc];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class y0{}class Yc{}class Ow{resolveComponentFactory(t){throw function Rw(e){const t=Error(`No component factory found for ${Re(e)}.`);return t.ngComponent=e,t}(t)}}let kl=(()=>{class e{static#e=this.NULL=new Ow}return e})();function Lw(){return ka(Pi(),rn())}function ka(e,t){return new Rl(ar(e,t))}let Rl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Lw}return e})();function Pw(e){return e instanceof Rl?e.nativeElement:e}class w0{}let Nw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Fw(){const e=rn(),i=xr(Pi().index,e);return(Xi(i)?i:e)[$n]}()}return e})(),x0=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>null})}return e})();const Zc={};function Uw(e){return"function"==typeof e&&void 0!==e[u]}function Bw(e,t){const i=function A(e){const t=Object.create(U);t.computation=e;const i=()=>{if(c(t),l(t),t.value===R)throw t.error;return t.value};return i[u]=t,i}(e);return t?.equal&&(i[u].equal=t.equal),i}function $w(e,t){const i=function $(e){const t=Object.create(Ge);t.value=e;const i=()=>(l(t),t.value);return i[u]=t,i}(e),a=i[u];return t?.equal&&(a.equal=t.equal),i.set=p=>te(a,p),i.update=p=>function ue(e,t){g()||ee(),te(e,t(e.value))}(a,p),i.asReadonly=Vw.bind(i),i}function Vw(){const e=this[u];if(void 0===e.readonlyFn){const t=()=>this();t[u]=e,e.readonlyFn=t}return e.readonlyFn}function jw(e){const t=v(null);try{return e()}finally{v(t)}}function Qc(e){return!!Qd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Qd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class E0{constructor(){}supports(t){return Qc(t)}create(t){return new M0(t)}}const Ww=(e,t)=>t;class M0{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||Ww}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,p=0,E=null;for(;i||a;){const N=!a||i&&i.currentIndex{N=this._trackByFn(p,V),null!==i&&Object.is(i.trackById,N)?(a&&(i=this._verifyReinsertion(i,V,N,p)),Object.is(i.item,V)||this._addIdentityChange(i,V)):(i=this._mismatch(i,V,N,p),a=!0),i=i._next,p++}),this.length=p;return this._truncate(i),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,i,a,p){let E;return null===t?E=this._itTail:(E=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,E,p)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,p))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,E,p)):t=this._addAfter(new Gw(i,a),E,p),t}_verifyReinsertion(t,i,a,p){let E=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==E?t=this._reinsertAfter(E,t._prev,p):t.currentIndex!=p&&(t.currentIndex=p,this._addToMoves(t,p)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}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,i,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const p=t._prevRemoved,E=t._nextRemoved;return null===p?this._removalsHead=E:p._nextRemoved=E,null===E?this._removalsTail=p:E._prevRemoved=p,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const p=null===i?this._itHead:i._next;return t._next=p,t._prev=i,null===p?this._itTail=t:p._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new D0),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new D0),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,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Gw{constructor(t,i){this.item=t,this.trackById=i,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 Kw{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,i){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class D0{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new Kw,this.map.set(i,a)),a.add(t)}get(t,i){const p=this.map.get(t);return p?p.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I0(e,t,i){const a=e.previousIndex;if(null===a)return a;let p=0;return i&&a{if(i&&i.key===p)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const E=this._getOrCreateRecordForKey(p,a);i=this._insertBeforeOrAppend(i,E)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const p=this._records.get(t);this._maybeAddToChanges(p,i);const E=p._prev,N=p._next;return E&&(E._next=N),N&&(N._prev=E),p._next=null,p._prev=null,p}const a=new Zw(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,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,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(a=>i(t[a],a))}}class Zw{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 T0(){return new Xd([new E0])}let Xd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:T0});constructor(i){this.factories=i}static create(i,a){if(null!=a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||T0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(null!=a)return a;throw new jt(901,!1)}}return e})();function A0(){return new Jd([new S0])}let Jd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:A0});constructor(i){this.factories=i}static create(i,a){if(a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||A0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(a)return a;throw new jt(901,!1)}}return e})();function k0(e,t){const i=Qc(e),a=Qc(t);return i&&a?function Hw(e,t,i){const a=e[Symbol.iterator](),p=t[Symbol.iterator]();for(;;){const E=a.next(),N=p.next();if(E.done&&N.done)return!0;if(E.done||N.done||!i(E.value,N.value))return!1}}(e,t,k0):!(i||!e||"object"!=typeof e&&"function"!=typeof e||a||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Ol(e,t,i,a,p=!1){for(;null!==i;){const E=t[i.index];null!==E&&a.push(xi(E)),ir(E)&&R0(E,a);const N=i.type;if(8&N)Ol(e,t,i.child,a);else if(32&N){const V=Dd(i,t);let X;for(;X=V();)a.push(X)}else if(16&N){const V=Wp(t,i);if(Array.isArray(V))a.push(...V);else{const X=wl(t[Oi]);Ol(X[yn],X,V,a,!0)}}i=p?i.projectionNext:i.next}return a}function R0(e,t){for(let i=fi;i{Us(e.lView)},consumerOnSignalRead(){this.lView[Ar]=this}};function qd(e){return e.ngOriginalError}class Mo{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&qd(t);for(;i&&qd(i);)i=qd(i);return i||null}}const P0=new _t("",{providedIn:"root",factory:()=>Vn(Mo).handleError.bind(void 0)}),Ll=new _t(""),F0=new _t("",{providedIn:"root",factory:()=>!1}),si={};function V0(e){j0(mi(),rn(),Jn()+e,!1)}function j0(e,t,i,a){if(!a)if(3==(3&t[he])){const E=e.preOrderCheckHooks;null!==E&&Ni(t,E,i)}else{const E=e.preOrderHooks;null!==E&&gi(t,E,0,i)}Dn(i)}function Ra(e,t=vt.Default){const i=rn();return null===i?Ln(e,t):km(Pi(),i,Ne(e),t)}function H0(){throw new Error("invalid")}function Xc(e,t,i,a,p,E,N,V,X,fe,Le){const et=t.blueprint.slice();return et[Bi]=p,et[he]=204|a,(null!==fe||e&&2048&e[he])&&(et[he]|=2048),oa(et),et[we]=et[vs]=e,et[Sn]=i,et[cr]=N||e&&e[cr],et[$n]=V||e&&e[$n],et[Di]=X||e&&e[Di]||null,et[je]=E,et[Ms]=function AC(){return TC++}(),et[xt]=Le,et[cs]=fe,et[Oi]=2==t.type?e[Oi]:et,et}function Oa(e,t,i,a,p){let E=e.data[t];if(null===E)E=eh(e,t,i,a,p),function We(){return zn.lFrame.inI18n}()&&(E.flags|=32);else if(64&E.type){E.type=i,E.value=a,E.attrs=p;const N=so();E.injectorIndex=null===N?-1:N.injectorIndex}return ss(E,!0),E}function eh(e,t,i,a,p){const E=bo(),N=Uo(),X=e.data[t]=function hx(e,t,i,a,p,E){let N=t?t.injectorIndex:-1,V=0;return Ts()&&(V|=128),{type:i,index:a,insertBeforeIndex:null,injectorIndex:N,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:V,providerIndexes:0,value:p,attrs:E,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,N?E:E&&E.parent,i,t,a,p);return null===e.firstChild&&(e.firstChild=X),null!==E&&(N?null==E.child&&null!==X.parent&&(E.child=X):null===E.next&&(E.next=X,X.prev=E)),X}function Pl(e,t,i,a){if(0===i)return-1;const p=t.length;for(let E=0;EHn&&j0(e,t,Hn,!1),Ji(N?2:0,p),i(a,p)}finally{Dn(E),Ji(N?3:1,p)}}function th(e,t,i){if(Xs(t)){const a=v(null);try{const E=t.directiveEnd;for(let N=t.directiveStart;Nnull;function cx(e){xp(e)?Gp(e):function Tw(e){const t=wo(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(E){const N=function Sw(e){return e.textContent?.replace(/\s/gm,"")}(E);return"ngetn"===N||"ngtns"===N?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let a;const p=[];for(;a=i.nextNode();)p.push(a);for(const E of p)"ngetn"===E.textContent?E.replaceWith(t.createTextNode("")):E.remove()}(e)}function K0(e,t,i,a){for(let p in e)if(e.hasOwnProperty(p)){i=null===i?{}:i;const E=e[p];null===a?Y0(i,t,p,E):a.hasOwnProperty(p)&&Y0(i,t,a[p],E)}return i}function Y0(e,t,i,a){e.hasOwnProperty(i)?e[i].push(t,a):e[i]=[t,a]}function ms(e,t,i,a,p,E,N,V){const X=ar(t,i);let Le,fe=t.inputs;!V&&null!=fe&&(Le=fe[a])?(ch(e,i,Le,a,p),Zr(t)&&function px(e,t){const i=xr(t,e);16&i[he]||(i[he]|=64)}(i,t.index)):3&t.type&&(a=function mx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(a),p=null!=N?N(p,t.value||"",a):p,E.setProperty(X,a,p))}function sh(e,t,i,a){if(vo()){const p=null===a?null:{"":-1},E=function Cx(e,t){const i=e.directiveRegistry;let a=null,p=null;if(i)for(let E=0;E0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(N)!=V&&N.push(V),N.push(i,a,E)}}(e,t,a,Pl(e,i,p.hostVars,si),p)}function zs(e,t,i,a,p,E){const N=ar(e,t);ah(t[$n],N,E,e.value,i,a,p)}function ah(e,t,i,a,p,E,N){if(null==E)e.removeAttribute(t,p,i);else{const V=null==N?Ve(E):N(E,a||"",p);e.setAttribute(t,p,V,i)}}function Ix(e,t,i,a,p,E){const N=E[t];if(null!==N)for(let V=0;V-1&&(xl(t,a),gc(i,a))}this._attachedToViewContainer=!1}Nc(this._lView[yn],this._lView)}onDestroy(t){Or(this._lView,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[he]&=-129}reattach(){go(this._lView),this._lView[he]|=128}detectChanges(){this._lView[he]|=1024,uh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new jt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function HC(e,t){Ml(e,t,t[$n],2,null,null)}(this._lView[yn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new jt(902,!1);this._appRef=t,go(this._lView)}}let hh=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=og}return e})();function og(e){return function Px(e,t,i){if(Zr(e)&&!i){const a=xr(e.index,t);return new La(a,a)}return 47&e.type?new La(t[Oi],t):null}(Pi(),rn(),16==(16&e))}const Nx=[new S0],Ux=new Xd([new E0]),Bx=new Jd(Nx);let Fl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Vx;static#t=this.__NG_ENV_ID__=i=>i}return e})();class $x extends Fl{constructor(t){super(),this._lView=t}onDestroy(t){return Or(this._lView,t),()=>_o(this._lView,t)}}function Vx(){return new $x(rn())}function jx(e,t){if(null!==function s(){return f}())throw new jt(-602,!1)}const Hx=new _t("",{providedIn:"root",factory:()=>Vn(ag)});let ag=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new zx})}return e})(),lg=(()=>{class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(i){const a=i.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const p=this.queues.get(a);p.has(i)||(this.queuedEffectCount++,p.add(i))}flush(){for(;this.queuedEffectCount>0;)for(const[i,a]of this.queues)null===i?this.flushQueue(a):i.run(()=>this.flushQueue(a))}flushQueue(i){for(const a of i)i.delete(a),this.queuedEffectCount--,a.run()}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();class zx{constructor(){this.hasQueuedFlush=!1,this.delegate=new lg,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(t){this.delegate.scheduleEffect(t),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}}class Wx{constructor(t,i,a,p,E,N){this.scheduler=t,this.effectFn=i,this.creationZone=a,this.errorHandler=E,this.watcher=function Ye(e,t,i){const a=Object.create(Et);i&&(a.consumerAllowSignalWrites=!0),a.fn=e,a.schedule=t;const p=X=>{a.cleanupFn=X};return a.ref={notify:()=>b(a),run:()=>{if(null===a.fn)return;if(function m(){return D}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(a.dirty=!1,a.hasRun&&!w(a))return;a.hasRun=!0;const X=C(a);try{a.cleanupFn(),a.cleanupFn=Ze,a.fn(p)}finally{x(a,X)}},cleanup:()=>a.cleanupFn(),destroy:()=>function N(X){(function E(X){return null===X.fn&&null===X.schedule})(X)||(T(X),X.cleanupFn(),X.fn=null,X.schedule=null,X.cleanupFn=Ze)}(a),[u]:a},a.ref}(V=>this.runEffect(V),()=>this.schedule(),N),this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(i){this.errorHandler?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function cg(e,t){!t?.injector&&Mc();const i=t?.injector??Vn(Cs),a=i.get(Mo,null,{optional:!0}),p=!0!==t?.manualCleanup?i.get(Fl):null,E=new Wx(i.get(Hx),e,typeof Zone>"u"?null:Zone.current,p,a,t?.allowSignalWrites??!1),N=i.get(hh,null,{optional:!0});return N&&8&N._lView[he]?(N._lView[Yr]??=[]).push(E.watcher.notify):E.watcher.notify(),E}const ug=new Set;function Do(e){ug.has(e)||(ug.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fh(e){return t=>{setTimeout(e,void 0,t)}}const Ws=class Gx extends qe.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){let p=t,E=i||(()=>null),N=a;if(t&&"object"==typeof t){const X=t;p=X.next?.bind(X),E=X.error?.bind(X),N=X.complete?.bind(X)}this.__isAsync&&(E=fh(E),p&&(p=fh(p)),N&&(N=fh(N)));const V=super.subscribe({next:p,error:E,complete:N});return t instanceof Ee.w0&&t.add(V),V}};function dg(...e){}class br{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ws(!1),this.onMicrotaskEmpty=new Ws(!1),this.onStable=new Ws(!1),this.onError=new Ws(!1),typeof Zone>"u")throw new jt(908,!1);Zone.assertZonePatched();const p=this;p._nesting=0,p._outer=p._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(p._inner=p._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(p._inner=p._inner.fork(Zone.longStackTraceZoneSpec)),p.shouldCoalesceEventChangeDetection=!a&&i,p.shouldCoalesceRunChangeDetection=a,p.lastRequestAnimationFrameId=-1,p.nativeRequestAnimationFrame=function Kx(){const e="function"==typeof pe.requestAnimationFrame;let t=pe[e?"requestAnimationFrame":"setTimeout"],i=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a);const p=i[Zone.__symbol__("OriginalDelegate")];p&&(i=p)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Qx(e){const t=()=>{!function Zx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ph(e),e.isCheckStableRunning=!0,mh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ph(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,p,E,N,V)=>{if(function Xx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(V))return i.invokeTask(p,E,N,V);try{return hg(e),i.invokeTask(p,E,N,V)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||e.shouldCoalesceRunChangeDetection)&&t(),fg(e)}},onInvoke:(i,a,p,E,N,V,X)=>{try{return hg(e),i.invoke(p,E,N,V,X)}finally{e.shouldCoalesceRunChangeDetection&&t(),fg(e)}},onHasTask:(i,a,p,E)=>{i.hasTask(p,E),a===p&&("microTask"==E.change?(e._hasPendingMicrotasks=E.microTask,ph(e),mh(e)):"macroTask"==E.change&&(e.hasPendingMacrotasks=E.macroTask))},onHandleError:(i,a,p,E)=>(i.handleError(p,E),e.runOutsideAngular(()=>e.onError.emit(E)),!1)})}(p)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!br.isInAngularZone())throw new jt(909,!1)}static assertNotInAngularZone(){if(br.isInAngularZone())throw new jt(909,!1)}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,p){const E=this._inner,N=E.scheduleEventTask("NgZoneEvent: "+p,t,Yx,dg,dg);try{return E.runTask(N,i,a)}finally{E.cancelTask(N)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const Yx={};function mh(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 ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fg(e){e._nesting--,mh(e)}class mg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ws,this.onMicrotaskEmpty=new Ws,this.onStable=new Ws,this.onError=new Ws}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,p){return t.apply(i,a)}}var Io=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Io||{});const pg={destroy(){}};function gh(e,t){const i=t?.injector??Vn(Cs);xo(i)&&i.get(Ul).internalCallbacks.push(e)}function gg(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,e);return p.register(X),{destroy:N}}function _g(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterNextRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,()=>{N(),e()});return p.register(X),{destroy:N}}class vg{constructor(t,i,a){this.phase=i,this.callbackFn=a,this.zone=t.get(br),this.errorHandler=t.get(Mo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class bg{constructor(){this.executingCallbacks=!1,this.buckets={[Io.EarlyRead]:new Set,[Io.Write]:new Set,[Io.MixedReadWrite]:new Set,[Io.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new jt(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ul=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const i of this.internalCallbacks)i();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function qx(e,t){const i=xr(t,e),a=i[yn];!function eE(e,t){for(let i=t.length;i0&&Yp(e,i,E.join(" "))}}(Mt,Si,Jt,a),void 0!==i&&function cE(e,t,i){const a=e.projection=[];for(let p=0;p=0;a--){const p=e[a];p.hostVars=t+=p.hostVars,p.hostAttrs=Tr(p.hostAttrs,i=Tr(i,p.hostAttrs))}}(a)}function tu(e){return e===or?{}:e===oi?[]:e}function dE(e,t){const i=e.viewQuery;e.viewQuery=i?(a,p)=>{t(a,p),i(a,p)}:t}function hE(e,t){const i=e.contentQueries;e.contentQueries=i?(a,p,E)=>{t(a,p,E),i(a,p,E)}:t}function fE(e,t){const i=e.hostBindings;e.hostBindings=i?(a,p)=>{t(a,p),i(a,p)}:t}const mE=["providersResolver"],pE=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Mg(e){let i,t=Eg(e.type);i=Nr(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const p of mE)a[p]=i[p];if(Nr(i))for(const p of pE)a[p]=i[p]}function Dg(e){const t=i=>{const a=(Array.isArray(e)?e:e()).map(p=>"function"==typeof p?{directive:Ne(p),inputs:or,outputs:or}:{directive:Ne(p.directive),inputs:Sg(p.inputs),outputs:Sg(p.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=Ig,i.hostDirectives=a):i.hostDirectives.unshift(...a)};return t.ngInherit=!0,t}function Ig(e,t,i){if(null!==e.hostDirectives)for(const a of e.hostDirectives){const p=wi(a.directive);gE(p.declaredInputs,a.inputs),Ig(p,t,i),i.set(p,a),t.push(p)}}function Sg(e){if(void 0===e||0===e.length)return or;const t={};for(let i=0;i>17&32767}function Th(e){return 2|e}function Yo(e){return(131068&e)>>2}function Ah(e,t){return-131069&e|t<<2}function kh(e){return 1|e}function kg(e,t,i,a,p){const E=e[i+1],N=null===t;let V=a?So(E):Yo(E),X=!1;for(;0!==V&&(!1===X||N);){const Le=e[V+1];wE(e[V],t)&&(X=!0,e[V+1]=a?kh(Le):Th(Le)),V=a?So(Le):Yo(Le)}X&&(e[i+1]=a?Th(E):kh(E))}function wE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ya(e,t)>=0}const Dr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rg(e){return e.substring(Dr.key,Dr.keyEnd)}function xE(e){return e.substring(Dr.value,Dr.valueEnd)}function Og(e,t){const i=Dr.textEnd;return i===t?-1:(t=Dr.keyEnd=function DE(e,t,i){for(;t32;)t++;return t}(e,Dr.key=t,i),Wa(e,t,i))}function Lg(e,t){const i=Dr.textEnd;let a=Dr.key=Wa(e,t,i);return i===a?-1:(a=Dr.keyEnd=function IE(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=Ng(e,a,i),a=Dr.value=Wa(e,a,i),a=Dr.valueEnd=function SE(e,t,i){let a=-1,p=-1,E=-1,N=t,V=N;for(;N32&&(V=N),E=p,p=a,a=-33&X}return V}(e,a,i),Ng(e,a,i))}function Pg(e){Dr.key=0,Dr.keyEnd=0,Dr.value=0,Dr.valueEnd=0,Dr.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=Lg(t,i))Vg(e,Rg(t),xE(t))}function Ug(e){Os(PE,Ks,e,!0)}function Ks(e,t){for(let i=function EE(e){return Pg(e),Og(e,Wa(e,0,Dr.textEnd))}(t);i>=0;i=Og(t,i))hs(e,Rg(t),!0)}function Rs(e,t,i,a){const p=rn(),E=mi(),N=be(2);E.firstUpdatePass&&$g(E,e,N,a),t!==si&&yr(p,N,t)&&jg(E,E.data[Jn()],p,p[$n],e,p[N+1]=function FE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Re(oo(e)))),e}(t,i),a,N)}function Os(e,t,i,a){const p=mi(),E=be(2);p.firstUpdatePass&&$g(p,null,E,a);const N=rn();if(i!==si&&yr(N,E,i)){const V=p.data[Jn()];if(zg(V,a)&&!Bg(p,E)){let X=a?V.classesWithoutHost:V.stylesWithoutHost;null!==X&&(i=ke(X,i||"")),Oh(p,V,N,i,a)}else!function NE(e,t,i,a,p,E,N,V){p===si&&(p=oi);let X=0,fe=0,Le=0=e.expandoStartIndex}function $g(e,t,i,a){const p=e.data;if(null===p[i+1]){const E=p[Jn()],N=Bg(e,i);zg(E,a)&&null===t&&!N&&(t=!1),t=function AE(e,t,i,a){const p=ni(e);let E=a?t.residualClasses:t.residualStyles;if(null===p)0===(a?t.classBindings:t.styleBindings)&&(i=$l(i=Nh(null,e,t,i,a),t.attrs,a),E=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==p)if(i=Nh(p,e,t,i,a),null===E){let X=function kE(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==Yo(a))return e[So(a)]}(e,t,a);void 0!==X&&Array.isArray(X)&&(X=Nh(null,e,t,X[1],a),X=$l(X,t.attrs,a),function RE(e,t,i,a){e[So(i?t.classBindings:t.styleBindings)]=a}(e,t,a,X))}else E=function OE(e,t,i){let a;const p=t.directiveEnd;for(let E=1+t.directiveStylingLast;E0)&&(fe=!0)):Le=i,p)if(0!==X){const Mt=So(e[V+1]);e[a+1]=iu(Mt,V),0!==Mt&&(e[Mt+1]=Ah(e[Mt+1],a)),e[V+1]=function vE(e,t){return 131071&e|t<<17}(e[V+1],a)}else e[a+1]=iu(V,0),0!==V&&(e[V+1]=Ah(e[V+1],a)),V=a;else e[a+1]=iu(X,0),0===V?V=a:e[X+1]=Ah(e[X+1],a),X=a;fe&&(e[a+1]=Th(e[a+1])),kg(e,Le,a,!0),kg(e,Le,a,!1),function CE(e,t,i,a,p){const E=p?e.residualClasses:e.residualStyles;null!=E&&"string"==typeof t&&ya(E,t)>=0&&(i[a+1]=kh(i[a+1]))}(t,Le,e,a,E),N=iu(V,X),E?t.classBindings=N:t.styleBindings=N}(p,E,t,i,N,a)}}function Nh(e,t,i,a,p){let E=null;const N=i.directiveEnd;let V=i.directiveStylingLast;for(-1===V?V=i.directiveStart:V++;V0;){const X=e[p],fe=Array.isArray(X),Le=fe?X[1]:X,et=null===Le;let Mt=i[p+1];Mt===si&&(Mt=et?oi:void 0);let Rt=et?td(Mt,a):Le===a?Mt:void 0;if(fe&&!ru(Rt)&&(Rt=td(X,a)),ru(Rt)&&(V=Rt,N))return V;const Jt=e[p+1];p=N?So(Jt):Yo(Jt)}if(null!==t){let X=E?t.residualClasses:t.residualStyles;null!=X&&(V=td(X,a))}return V}function ru(e){return void 0!==e}function zg(e,t){return 0!=(e.flags&(t?8:16))}function Wg(e,t,i){Os(hs,Ks,Fa(rn(),e,t,i),!0)}function Gg(e,t,i,a,p){Os(hs,Ks,Ua(rn(),e,t,i,a,p),!0)}function Kg(e,t,i,a,p,E,N){Os(hs,Ks,Ba(rn(),e,t,i,a,p,E,N),!0)}function Yg(e,t,i,a,p,E,N,V,X){Os(hs,Ks,$a(rn(),e,t,i,a,p,E,N,V,X),!0)}function Zg(e,t,i,a,p,E,N,V,X,fe,Le){Os(hs,Ks,Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le),!0)}function Qg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){Os(hs,Ks,ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt),!0)}function Xg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){Os(hs,Ks,Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt),!0)}function Jg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){Os(hs,Ks,za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn),!0)}function qg(e){Os(hs,Ks,Na(rn(),e),!0)}function e_(){return rn()[Oi][Sn]}const Fh="<-- AT THIS LOCATION";function VE(e){const a=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function su(e){const t=" ";let i="";const a=e;return a.previousSibling&&(i+=" \u2026\n",i+=t+Vl(a.previousSibling)+"\n"),i+=t+Vl(a)+` ${Fh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=Vl(a.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new jt(-503,a)}const HE=new Set(["ngh","ng-version","ng-server-context"]);function Uh(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const a=function jE(e){const t=[];if(e.attrs)for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function UE(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(e.type)})`}}function Vl(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const a=i.tagName.toLowerCase(),p=function zE(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const E=i.textContent?Hl(i.textContent):"";return"#text"+(E?`(${E})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Hl(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function Hl(e,t=50){return e?(e=function WE(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}function i_(e){const t=e[Vr]??[],a=e[we][$n];for(const p of t)GE(p,a);e[Vr]=oi}function GE(e,t){let i=0,a=e.firstChild;if(a){const p=e.data[Aa];for(;i0&&i[p-1]===a?i[p]=(i[p]||1)+1:i.push(a,"")}return i.join("")}(i,a)}function tM(e,t){let a,p,E,i=e.parent;for(;null!==i&&zl(i,t);)i=i.parent;null!==i&&3&i.type?(a=i.index,p=xi(t[a]),E=Ve(a-Hn)):(a=E=$d,p=t[Oi][Bi]);let N=xi(t[e.index]);if(12&e.type){const X=El(t,e);X&&(N=X)}let V=s_(p,N,E);if(null===V&&p!==N&&(V=s_(p.ownerDocument.body,N,Vd),null===V))throw function $E(e,t){const a=`${function Bh(e,t,i){const a=" ";let p="";t.prev?(p+=" \u2026\n",p+=a+Uh(t.prev)+"\n"):t.type&&12&t.type&&(p+=" \u2026\n"),i?(p+=a+Uh(t)+"\n",p+=a+`\x3c!-- container --\x3e ${Fh}\n`):p+=a+Uh(t)+` ${Fh}\n`,p+=" \u2026\n";const E=t.type?Td(e[yn],t,e):null;return E&&(p=Vl(E,"\n"+p)),p}(e,t,!1)}\n\n`,p=function jl(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new jt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+a+p)}(t,e);return V}let o_=(e,t)=>null;function iM(e,t){const i=e[Vr];return t&&null!==i&&0!==i.length?i[0].data[zd]===t?i.shift():(i_(e),null):null}function Ga(e,t){return o_(e,t)}class sM{destroy(t){}updateValue(t,i){}swap(t,i){const a=Math.min(t,i),p=Math.max(t,i),E=this.detach(p);if(p-a>1){const N=this.detach(a);this.attach(a,E),this.attach(p,N)}else this.attach(a,E)}move(t,i){this.attach(i,this.detach(t))}}function jh(e,t,i,a,p){return e===i&&Object.is(t,a)?1:Object.is(p(e,t),p(i,a))?-1:0}function Hh(e,t,i,a){return!(void 0===t||!t.has(a)||(e.attach(i,t.get(a)),t.delete(a),0))}function a_(e,t,i,a,p){if(Hh(e,t,a,i(a,p)))e.updateValue(a,p);else{const E=e.create(a,p);e.attach(a,E)}}function l_(e,t,i,a){const p=new Set;for(let E=t;E<=i;E++)p.add(a(E,e.at(E)));return p}class c_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const i=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(t,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,i){if(this.kvMap.has(t)){let a=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(a);)a=p.get(a);p.set(a,i)}else this.kvMap.set(t,i)}forEach(t){for(let[i,a]of this.kvMap)if(t(a,i),void 0!==this._vMap){const p=this._vMap;for(;p.has(a);)a=p.get(a),t(a,i)}}}function Wl(e,t,i,a){const p=t.tView,V=Xc(e,p,i,4096&e[he]?4096:16,null,t,null,null,null,a?.injector??null,a?.dehydratedView??null);V[bs]=e[t.index];const fe=e[Kr];return null!==fe&&(V[Kr]=fe.createEmbeddedView(p)),_h(p,V,i),V}function u_(e,t){const i=fi+t;if(i0&&(i[p-1][ae]=t),a{class e{static#e=this.__NG_ELEMENT_ID__=aM}return e})();function aM(){return f_(Pi(),rn())}const lM=cu,d_=class extends lM{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Er(this._hostTNode,this._hostLView)}get parentInjector(){const t=mc(this._hostTNode,this._hostLView);if(Ku(t)){const i=fl(t,this._hostLView),a=hl(t);return new Er(i[yn].data[a+8],i)}return new Er(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=h_(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(t,i,a){let p,E;"number"==typeof a?p=a:null!=a&&(p=a.index,E=a.injector);const N=Ga(this._lContainer,t.ssrId),V=t.createEmbeddedViewImpl(i||{},E,N);return this.insertImpl(V,p,Ka(this._hostTNode,N)),V}createComponent(t,i,a,p,E){const N=t&&!gl(t);let V;if(N)V=i;else{const Jt=i||{};V=Jt.index,a=Jt.injector,p=Jt.projectableNodes,E=Jt.environmentInjector||Jt.ngModuleRef}const X=N?t:new Pa(ti(t)),fe=a||this.parentInjector;if(!E&&null==X.ngModule){const mn=(N?fe:this.parentInjector).get(Hs,null);mn&&(E=mn)}const Le=ti(X.componentType??{}),et=Ga(this._lContainer,Le?.id??null),Rt=X.create(fe,p,et?.firstChild??null,E);return this.insertImpl(Rt.hostView,V,Ka(this._hostTNode,et)),Rt}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,a){const p=t._lView;if(function sa(e){return ir(e[we])}(p)){const V=this.indexOf(t);if(-1!==V)this.detach(V);else{const X=p[we],fe=new d_(X,X[je],X[we]);fe.detach(fe.indexOf(t))}}const E=this._adjustIndex(i),N=this._lContainer;return Gl(N,p,E,a),t.attachToViewContainerRef(),$m(Wh(N),E,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=h_(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);a&&(gc(Wh(this._lContainer),i),Nc(a[yn],a))}detach(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);return a&&null!=gc(Wh(this._lContainer),i)?new La(a):null}_adjustIndex(t,i=0){return t??this.length+i}};function h_(e){return e[8]}function Wh(e){return e[8]||(e[8]=[])}function f_(e,t){let i;const a=t[e.index];return ir(a)?i=a:(i=J0(a,t,null,e),t[e.index]=i,Jc(t,i)),m_(i,t,e,a),new d_(i,e,t)}let m_=g_,Gh=(e,t,i)=>!1;function p_(e,t,i){return Gh(e,t,i)}function g_(e,t,i,a){if(e[nr])return;let p;p=8&i.type?xi(a):function cM(e,t){const i=e[$n],a=i.createComment(""),p=ar(t,e);return zo(i,Fc(i,p),a,function QC(e,t){return e.nextSibling(t)}(i,p),!1),a}(t,i),e[nr]=p}function uM(e,t,i){if(e[nr]&&e[Vr])return!0;const a=i[xt],p=t.index-Hn;if(!a||Rc(t)||Kc(a,p))return!1;const N=Yd(a,p),V=a.data[Tl]?.[p],[X,fe]=function nM(e,t){const i=[];for(const a of t)for(let p=0;p<(a[zc]??1);p++){const E={data:a,firstChild:null};a[Aa]>0&&(E.firstChild=e,e=lu(a[Aa],e)),i.push(E)}return[e,i]}(N,V);return e[nr]=X,e[Vr]=fe,!0}function dM(e,t,i,a){Gh(e,i,t)||g_(e,t,i,a)}function Ya(e,t,i,a,p,E,N,V){const X=rn(),fe=mi(),Le=e+Hn,et=fe.firstCreatePass?function fM(e,t,i,a,p,E,N,V,X){const fe=t.consts,Le=Oa(t,e,4,N||null,rr(fe,V));sh(t,i,Le,rr(fe,X)),jn(t,Le);const et=Le.tView=rh(2,Le,a,p,E,t.directiveRegistry,t.pipeRegistry,null,t.schemas,fe,null);return null!==t.queries&&(t.queries.template(t,Le),et.queries=t.queries.embeddedTView(Le)),Le}(Le,fe,X,t,i,a,p,E,N):fe.data[Le];ss(et,!1);const Mt=__(fe,X,et,e);In()&&Uc(fe,X,Mt,et),Hr(Mt,X);const Rt=J0(Mt,X,Mt,et);return X[Le]=Rt,Jc(X,Rt),p_(Rt,et,X),Ps(et)&&nh(fe,X,et),null!=N&&ih(X,et,V),Ya}let __=v_;function v_(e,t,i,a){return hi(!0),t[$n].createComment("")}function mM(e,t,i,a){const p=t[xt],E=!p||Ts()||Kc(p,a);if(hi(E),E)return v_(0,t);const N=p.data[Hd]?.[a]??null;null!==N&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=N);const V=au(p,e,t,i);return Gc(p,a,V),lu(Zd(p,a),V)}function b_(e,t,i){Do("NgControlFlow");const a=rn(),p=re(),E=Kh(a,Hn+e);if(yr(a,p,t)){const V=v(null);try{if(zh(E,0),-1!==t){const X=Yh(a[yn],Hn+t),fe=Ga(E,X.tView.ssrId);Gl(E,Wl(a,X,i,{dehydratedView:fe}),0,Ka(X,fe))}}finally{v(V)}}else{const V=u_(E,0);void 0!==V&&(V[Sn]=i)}}class gM{constructor(t,i,a){this.lContainer=t,this.$implicit=i,this.$index=a}get $count(){return this.lContainer.length-fi}}function y_(e){return e}function C_(e,t){return t}class _M{constructor(t,i,a){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=a}}function w_(e,t,i,a,p,E,N,V,X,fe,Le){Do("NgControlFlow");const et=void 0!==X,Mt=rn(),Rt=V?N.bind(Mt[Oi][Sn]):N,Jt=new _M(et,Rt);Mt[Hn+e]=Jt,Ya(e+1,t,i,a,p,E),et&&Ya(e+2,X,fe,Le)}class vM extends sM{constructor(t,i,a){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-fi}at(t){return this.getLView(t)[Sn].$implicit}attach(t,i){const a=i[xt];this.needsIndexUpdate||=t!==this.length,Gl(this.lContainer,i,t,Ka(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function bM(e,t){return xl(e,t)}(this.lContainer,t)}create(t,i){const a=Ga(this.lContainer,this.templateTNode.tView.ssrId);return Wl(this.hostLView,this.templateTNode,new gM(this.lContainer,i,t),{dehydratedView:a})}destroy(t){Nc(t[yn],t)}updateValue(t,i){this.getLView(t)[Sn].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(V)})}(N,e,E.trackByFn),N.updateIndexes(),E.hasEmptyBlock){const V=re(),X=0===N.length;if(yr(a,V,X)){const fe=i+2,Le=Kh(a,fe);if(X){const et=Yh(p,fe),Mt=Ga(Le,et.tView.ssrId);Gl(Le,Wl(a,et,void 0,{dehydratedView:Mt}),0,Ka(et,Mt))}else zh(Le,0)}}}finally{v(t)}}function Kh(e,t){return e[t]}function Yh(e,t){return no(e,t)}var dr=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(dr||{});const E_=0,CM=1;var hr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(hr||{}),Kl=function(e){return e[e.Initial=-1]="Initial",e}(Kl||{});const Za=0,uu=1,Yl=2,du=3,M_=4,D_=5;var Zh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Zh||{});function hu(e,t,i){const a=1===e?D_:M_;null===t[a]&&(t[a]=[]),t[a].push(i)}function Qh(e,t){const i=1===e?D_:M_,a=t[i];if(null!==a){for(const p of a)p();t[i]=null}}function I_(e){Qh(1,e),Qh(0,e)}function fu(e){return e+1}function Zo(e,t){return e[fu(t.index)]}function xs(e,t){const i=fu(t.index);return e.data[i]}function Xh(e,t){return t===hr.Placeholder?e.placeholderBlockConfig?.[E_]??null:t===hr.Loading?e.loadingBlockConfig?.[E_]??null:null}function S_(e){return e.loadingBlockConfig?.[CM]??null}function T_(e,t){if(!e||0===e.length)return t;const i=new Set(e);for(const a of t)i.add(a);return e.length===i.size?e:Array.from(i)}function DM(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const mu={passive:!0,capture:!0},Jh=new WeakMap,qh=new WeakMap,Qa=new WeakMap,A_=["click","keydown"],k_=["mouseenter","focusin"];let Xa=null,ef=0;class tf{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function R_(e,t){let i=qh.get(e);if(!i){i=new tf,qh.set(e,i);for(const a of A_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){qh.delete(e);for(const E of A_)e.removeEventListener(E,p,mu)}}}function O_(e,t){let i=Jh.get(e);if(!i){i=new tf,Jh.set(e,i);for(const a of k_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){for(const E of k_)e.removeEventListener(E,p,mu);Jh.delete(e)}}}function L_(e,t,i){const a=i.get(br);let p=Qa.get(e);return Xa=Xa||a.runOutsideAngular(()=>new IntersectionObserver(E=>{for(const N of E)N.isIntersecting&&Qa.has(N.target)&&a.run(Qa.get(N.target).listener)})),p||(p=new tf,a.runOutsideAngular(()=>Xa.observe(e)),Qa.set(e,p),ef++),p.callbacks.add(t),()=>{Qa.has(e)&&(p.callbacks.delete(t),0===p.callbacks.size&&(Xa?.unobserve(e),Qa.delete(e),ef--),0===ef&&(Xa?.disconnect(),Xa=null))}}function Ja(e,t,i,a,p,E,N){const V=e[Di];gh(function X(){if(qs(e))return;const fe=Zo(e,t),Le=fe[uu];if(Le!==Kl.Initial&&Le!==hr.Placeholder)return;const et=function IM(e,t,i){return null==i?e:i>=0?aa(i,e):e[t.index][fi]??null}(e,t,a);if(!et)return void gh(X,{injector:V});if(qs(et))return;const Mt=function SM(e,t){return to(Hn+t,e)}(et,i),Rt=p(Mt,()=>{e!==et&&_o(et,Rt),E()},V);e!==et&&Or(et,Rt),hu(N,fe,Rt)},{injector:V})}function P_(e,t){const a=t[Di].get(kM);return a.add(e),()=>a.remove(e)}let kM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Vn(br),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:a,deferred:p}=this;a.delete(i),p.delete(i),0===a.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const a of this.current)a();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const a of this.deferred)this.current.add(a);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function N_(e){return(t,i)=>F_(e,t,i)}function F_(e,t,i){const p=i[Di].get(RM);return p.add(e,t),()=>p.remove(t)}let RM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(i,a){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,a),this.scheduleTimer()}remove(i){const{current:a,deferred:p}=this;-1===this.removeFromQueue(a,i)&&this.removeFromQueue(p,i),0===a.length&&0===p.length&&this.clearTimeout()}addToQueue(i,a,p){let E=i.length;for(let N=0;Na){E=N;break}Vm(i,E,a,p)}removeFromQueue(i,a){let p=-1;for(let E=0;E-1&&ed(i,p,2),p}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const p=[...this.current],E=Date.now();for(let V=0;V=0&&ed(this.current,0,N+1),this.executingCallbacks=!1,this.deferred.length>0){for(let V=0;V0){const p=Date.now(),E=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-E>16){this.clearTimeout();const N=Math.max(E-p,16);this.invokeTimerAt=E,this.timeoutId=setTimeout(i,N)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();const OM=new _t("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),U_=new _t("");function B_(e){return e.get(U_,null,{optional:!0})?.behavior!==Zh.Manual&&xo(e)}let nf=null;function $_(e,t,i,a){const p=e.consts;null!=i&&(t.placeholderBlockConfig=rr(p,i)),null!=a&&(t.loadingBlockConfig=rr(p,a)),null===nf&&(nf=LM)}function V_(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=mi(),et=e+Hn;if(Ya(e,null,0,0),Le.firstCreatePass){Do("NgDefer");const Cn={primaryTmplIndex:t,loadingTmplIndex:a??null,placeholderTmplIndex:p??null,errorTmplIndex:E??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:dr.NOT_STARTED,loadingPromise:null};X?.(Le,Cn,V,N),function xM(e,t,i){const a=fu(t);e.data[a]=i}(Le,et,Cn)}const Mt=Pi();p_(fe[et],Mt,fe);const Jt=[null,Kl.Initial,null,null,null,null];!function wM(e,t,i){e[fu(t)]=i}(fe,et,Jt);const mn=()=>I_(Jt);hu(0,Jt,()=>_o(fe,mn)),Or(fe,mn)}function j_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=sn(),V=Zo(t,E)[uu];!1===p&&V===Kl.Initial?qa(t,E):!0===p&&(V===Kl.Initial||V===hr.Placeholder)&&el(t,E)}finally{v(a)}}}function H_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=t[yn],N=sn(),V=xs(E,N);!0===p&&V.loadingState===dr.NOT_STARTED&&Zl(V,t,N)}finally{v(a)}}}function z_(){nv(P_)}function W_(){iv(P_)}function G_(){const e=rn(),t=Pi();null===xs(e[yn],t).loadingTmplIndex&&qa(e,t),el(e,t)}function K_(){const e=rn(),t=Pi(),a=xs(e[yn],t);a.loadingState===dr.NOT_STARTED&&pu(a,e,t)}function Y_(e){nv(N_(e))}function Z_(e){iv(N_(e))}function Q_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,O_,()=>el(i,a),0)}function X_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,O_,()=>Zl(E,i,a),1)}function J_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,R_,()=>el(i,a),0)}function q_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,R_,()=>Zl(E,i,a),1)}function ev(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,L_,()=>el(i,a),0)}function tv(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,L_,()=>Zl(E,i,a),1)}function nv(e){const t=rn(),i=Pi();qa(t,i);const a=e(()=>el(t,i),t);hu(0,Zo(t,i),a)}function iv(e){const t=rn(),i=Pi(),p=xs(t[yn],i);p.loadingState===dr.NOT_STARTED&&hu(1,Zo(t,i),e(()=>Zl(p,t,i),t))}function co(e,t,i,a=!1){const p=i[we],E=p[yn];if(qs(p))return;const N=Zo(p,t);if(ov(N[uu],e)&&ov(N[Za]??-1,e)){const X=xs(E,t),Le=a||null===S_(X)&&null===Xh(X,hr.Loading)&&!Xh(X,hr.Placeholder)?rv:nf;try{Le(e,N,i,t,p)}catch(et){qc(p,et)}}}function rv(e,t,i,a,p){const E=function EM(e,t,i){const p=xs(t[yn],i);switch(e){case hr.Complete:return p.primaryTmplIndex;case hr.Loading:return p.loadingTmplIndex;case hr.Error:return p.errorTmplIndex;case hr.Placeholder:return p.placeholderTmplIndex;default:return null}}(e,p,a);if(null!==E){t[uu]=e;const X=no(p[yn],E+Hn),fe=0;zh(i,fe);const Le=Ga(i,X.tView.ssrId),et=Wl(p,X,null,{dehydratedView:Le});Gl(i,et,fe,Ka(X,Le)),Nl(et)}}function LM(e,t,i,a,p){const E=Date.now(),V=xs(p[yn],a);if(null===t[Yl]||t[Yl]<=E){t[Yl]=null;const X=S_(V),fe=null!==t[du];if(e!==hr.Loading||null===X||fe){e>hr.Loading&&fe&&(t[du](),t[du]=null,t[Za]=null),rv(e,t,i,a,p);const Le=Xh(V,e);null!==Le&&(t[Yl]=E+Le,sv(Le,t,a,i,p))}else{t[Za]=e;const Le=sv(X,t,a,i,p);t[du]=Le}}else t[Za]=e}function sv(e,t,i,a,p){return F_(e,()=>{const N=t[Za];t[Yl]=null,t[Za]=null,null!==N&&co(N,i,a)},p)}function ov(e,t){return e{let fe=!1;const Le=[],et=[];for(const Mt of X){if("fulfilled"!==Mt.status){fe=!0;break}{const Rt=Mt.value,Jt=ti(Rt)||wi(Rt);if(Jt)Le.push(Jt);else{const mn=Ri(Rt);mn&&et.push(mn)}}}if(e.loadingPromise=null,fe){if(e.loadingState=dr.FAILED,null===e.errorTmplIndex){Cd(t);const Rt=new jt(750,!1);qc(t,Rt)}}else{e.loadingState=dr.COMPLETE;const Mt=N.tView;Le.length>0&&(Mt.directiveRegistry=T_(Mt.directiveRegistry,Le)),et.length>0&&(Mt.pipeRegistry=T_(Mt.pipeRegistry,et))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=dr.COMPLETE})}function qa(e,t){co(hr.Placeholder,t,e[t.index])}function av(e,t,i){e.loadingPromise.then(()=>{e.loadingState===dr.COMPLETE?co(hr.Complete,t,i):e.loadingState===dr.FAILED&&co(hr.Error,t,i)})}function el(e,t){const i=e[yn],a=e[t.index];if(!B_(e[Di]))return;const E=Zo(e,t),N=xs(i,t);switch(I_(E),N.loadingState){case dr.NOT_STARTED:co(hr.Loading,t,a),pu(N,e,t),N.loadingState===dr.IN_PROGRESS&&av(N,t,a);break;case dr.IN_PROGRESS:co(hr.Loading,t,a),av(N,t,a);break;case dr.COMPLETE:co(hr.Complete,t,a);break;case dr.FAILED:co(hr.Error,t,a)}}function gu(e,t,i,a){const p=rn(),E=mi(),N=Hn+e,V=p[$n],X=E.firstCreatePass?function PM(e,t,i,a,p,E){const N=t.consts,X=Oa(t,e,2,a,rr(N,p));return sh(t,i,X,rr(N,E)),null!==X.attrs&&eu(X,X.attrs,!1),null!==X.mergedAttrs&&eu(X,X.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,X),X}(N,E,p,t,i,a):E.data[N],fe=lv(E,p,X,V,t,e);p[N]=fe;const Le=Ps(X);return ss(X,!0),Zp(V,fe,X),32!=(32&X.flags)&&In()&&Uc(E,p,fe,X),0===function ca(){return zn.lFrame.elementDepthCount}()&&Hr(fe,p),function io(){zn.lFrame.elementDepthCount++}(),Le&&(nh(E,p,X),th(E,X,p)),null!==a&&ih(p,X),gu}function _u(){let e=Pi();Uo()?Bo():(e=e.parent,ss(e,!1));const t=e;(function Fo(e){return zn.skipHydrationRootTNode===e})(t)&&function ul(){zn.skipHydrationRootTNode=null}(),function No(){zn.lFrame.elementDepthCount--}();const i=mi();return i.firstCreatePass&&(jn(i,e),Xs(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function C1(e){return 0!=(8&e.flags)}(t)&&Oh(i,t,rn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function w1(e){return 0!=(16&e.flags)}(t)&&Oh(i,t,rn(),t.stylesWithoutHost,!1),_u}function rf(e,t,i,a){return gu(e,t,i,a),_u(),rf}let lv=(e,t,i,a,p,E)=>(hi(!0),Pc(a,p,Ai()));function NM(e,t,i,a,p,E){const N=t[xt],V=!N||Ts()||Kc(N,E);if(hi(V),V)return Pc(a,p,Ai());const X=au(N,e,t,i);return b0(N,E)&&Gc(N,E,X.nextSibling),N&&(wp(i)||xp(X))&&Zr(i)&&(function Bs(e){zn.skipHydrationRootTNode=e}(i),Gp(X)),X}function vu(e,t,i){const a=rn(),p=mi(),E=e+Hn,N=p.firstCreatePass?function UM(e,t,i,a,p){const E=t.consts,N=rr(E,a),V=Oa(t,e,8,"ng-container",N);return null!==N&&eu(V,N,!0),sh(t,i,V,rr(E,p)),null!==t.queries&&t.queries.elementStart(t,V),V}(E,p,a,t,i):p.data[E];ss(N,!0);const V=cv(p,a,N,e);return a[E]=V,In()&&Uc(p,a,V,N),Hr(V,a),Ps(N)&&(nh(p,a,N),th(p,N,a)),null!=i&&ih(a,N),vu}function bu(){let e=Pi();const t=mi();return Uo()?Bo():(e=e.parent,ss(e,!1)),t.firstCreatePass&&(jn(t,e),Xs(e)&&t.queries.elementEnd(e)),bu}function sf(e,t,i){return vu(e,t,i),bu(),sf}let cv=(e,t,i,a)=>(hi(!0),Id(t[$n],""));function BM(e,t,i,a){let p;const E=t[xt],N=!E||Ts();if(hi(N),N)return Id(t[$n],"");const V=au(E,e,t,i),X=function kw(e,t){const i=e.data;let a=i[jd]?.[t]??null;return null===a&&i[Tl]?.[t]&&(a=Zd(e,t)),a}(E,a);return Gc(E,a,V),p=lu(X,V),p}function uv(){return rn()}function af(e,t,i){const a=rn();return yr(a,re(),t)&&ms(mi(),sn(),a,e,t,a[$n],i,!0),af}function lf(e,t,i){const a=rn();if(yr(a,re(),t)){const E=mi(),N=sn();ms(E,N,a,e,t,ng(ni(E.data),N,a),i,!0)}return lf}const Qo=void 0;var jM=["en",[["a","p"],["AM","PM"],Qo],[["AM","PM"],Qo,Qo],[["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"]],Qo,[["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"]],Qo,[["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}",Qo,"{1} 'at' {0}",Qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function VM(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let tl={};function HM(e,t,i){"string"!=typeof t&&(i=t,t=e[nl.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),tl[t]=e,i&&(tl[t][nl.ExtraData]=i)}function cf(e){const t=function GM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=hv(t);if(i)return i;const a=t.split("-")[0];if(i=hv(a),i)return i;if("en"===a)return jM;throw new jt(701,!1)}function zM(e){return cf(e)[nl.CurrencyCode]||null}function dv(e){return cf(e)[nl.PluralCase]}function hv(e){return e in tl||(tl[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),tl[e]}function WM(){tl={}}var nl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(nl||{});const KM=["zero","one","two","few","many"],Xo="en-US",yu={marker:"element"},Cu={marker:"ICU"};var as=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(as||{});let fv=Xo;function uf(e){Xt(e,"Expected localeId to be defined"),"string"==typeof e&&(fv=e.toLowerCase().replace(/_/g,"-"))}function mv(e,t,i){const a=t.insertBeforeIndex,p=Array.isArray(a)?a[0]:a;return null===p?jp(e,0,i):xi(i[p])}function pv(e,t,i,a,p){const E=t.insertBeforeIndex;if(Array.isArray(E)){let N=a,V=null;if(3&t.type||(V=N,N=p),null!==N&&-1===t.componentOffset)for(let X=1;X1)for(let i=e.length-2;i>=0;i--){const a=e[i];_v(a)||XM(a,t)&&null===JM(a)&&qM(a,t.index)}}function _v(e){return!(64&e.type)}function XM(e,t){return _v(t)||e.index>t.index}function JM(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function qM(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(zp(mv,pv),e.insertBeforeIndex=t)}function Ql(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function nD(e,t,i){const a=eh(e,i,64,null,null);return gv(t,a),a}function wu(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function vv(e){return e>>>17}function bv(e){return(131070&e)>>>1}let Xl=0,Jl=0;function Cv(e,t,i,a){const p=i[$n];let N,E=null;for(let V=0;V>>1,i),null,null,Rt,Jt,null)}else switch(X){case Cu:const fe=t[++V],Le=t[++V];null===i[Le]&&Hr(i[Le]=Id(p,fe),i);break;case yu:const et=t[++V],Mt=t[++V];null===i[Mt]&&Hr(i[Mt]=Pc(p,et,null),i)}}}function wv(e,t,i,a,p){for(let E=0;E>>2;switch(3&Le){case 1:const Mt=i[++fe],Rt=i[++fe],Jt=e.data[et];"string"==typeof Jt?ah(t[$n],t[et],null,Jt,Mt,X,Rt):ms(e,Jt,t,Mt,X,t[$n],Rt,!1);break;case 0:const mn=t[et];null!==mn&&Np(t[$n],mn,X);break;case 2:aD(e,Ql(e,et),t,X);break;case 3:xv(e,Ql(e,et),a,t)}}}}else{const X=i[E+1];if(X>0&&3==(3&X)){const Le=Ql(e,X>>>2);t[Le.currentCaseLViewIndex]<0&&xv(e,Le,a,t)}}E+=V}}function xv(e,t,i,a){let p=a[t.currentCaseLViewIndex];if(null!==p){let E=Xl;p<0&&(p=a[t.currentCaseLViewIndex]=~p,E=-1),wv(e,a,t.update[p],i,E)}}function aD(e,t,i,a){const p=function lD(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function YM(e,t){const i=dv(t)(parseInt(e,10)),a=KM[i];return void 0!==a?a:"other"}(t,function QM(){return fv}());i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(wu(t,i)!==p&&(Ev(e,t,i),i[t.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const N=i[t.anchorIdx];N&&Cv(e,t.create[p],i,N)}}function Ev(e,t,i){let a=wu(t,i);if(null!==a){const p=t.remove[a];for(let E=0;E0){const V=to(N,i);null!==V&&Bc(i[$n],V)}else Ev(e,Ql(e,~N),i)}}}function cD(){const e=[];let i,a,t=-1;function E(V,X){t=0;const fe=wu(V,X);a=null!==fe?V.remove[fe]:oi}function N(){if(t0?i[V]:(e.push(t,a),E(i[yn].data[~V],i),N())}return 0===e.length?null:(a=e.pop(),t=e.pop(),N())}return function p(V,X){for(i=X;e.length;)e.pop();return E(V.value,X),N}}const xu=/\ufffd(\d+):?\d*\ufffd/gi,uD=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,dD=/\ufffd(\d+)\ufffd/,Dv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ql="\ufffd",hD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,fD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,mD=/\uE500/g;function Iv(e,t,i,a,p,E,N){const V=Pl(e,a,1,null);let X=V<i.length&&i.push(X)}return{type:a,mainBinding:p,cases:t,values:i}}function df(e){if(!e)return[];let t=0;const i=[],a=[],p=/[{}]/g;let E;for(p.lastIndex=0;E=p.exec(e);){const V=E.index;if("}"==E[0]){if(i.pop(),0==i.length){const X=e.substring(t,V);Dv.test(X)?a.push(wD(X)):a.push(X),t=V+1}}else{if(0==i.length){const X=e.substring(t,V);a.push(X),t=V+1}i.push("{")}}const N=e.substring(t);return a.push(N),a}function xD(e,t,i,a,p,E,N,V){const X=[],fe=[],Le=[];t.cases.push(E),t.create.push(X),t.remove.push(fe),t.update.push(Le);const Mt=t0(wo()).getInertBodyElement(N),Rt=Fd(Mt)||Mt;return Rt?kv(e,t,i,a,X,fe,Le,Rt,p,V,0):0}function kv(e,t,i,a,p,E,N,V,X,fe,Le){let et=0,Mt=V.firstChild;for(;Mt;){const Rt=Pl(e,i,1,null);switch(Mt.nodeType){case Node.ELEMENT_NODE:const Jt=Mt,mn=Jt.tagName.toLowerCase();if(Pd.hasOwnProperty(mn)){hf(p,yu,mn,X,Rt),e.data[Rt]=mn;const ii=Jt.attributes;for(let yi=0;yi>>as.SHIFT;let et=e[Le];null===et&&(et=e[Le]=(N&as.COMMENT)===as.COMMENT?p.createComment(V):Lc(p,V)),fe&&null!==i&&zo(p,i,et,a,!1)}})(p,X.create,Le,V&&8&V.type?p[V.index]:null),pt(!0)}function mf(){pt(!1)}function Lv(e,t,i){ff(e,t,i),mf()}function Pv(e,t){const i=mi(),a=rr(i.consts,t);!function vD(e,t,i){const p=Pi().index,E=[];if(e.firstCreatePass&&null===e.data[t]){for(let N=0;N0){const a=e.data[i];wv(e,t,Array.isArray(a)?a:a.update,se()-Jl-1,Xl)}Xl=0,Jl=0}(mi(),rn(),e+Hn)}function Fv(e,t={}){return function PD(e,t={}){let i=e;if(SD.test(e)){const a={},p=[Ov];i=i.replace(TD,(E,N,V)=>{const X=N||V,fe=a[X]||[];if(fe.length||(X.split("|").forEach(mn=>{const Cn=mn.match(LD),Rn=Cn?parseInt(Cn[1],10):Ov,ln=OD.test(mn);fe.push([Rn,ln,mn])}),a[X]=fe),!fe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${X}`);const Le=p[p.length-1];let et=0;for(let mn=0;mnt.hasOwnProperty(E)?`${p}${t[E]}${X}`:a),i=i.replace(kD,(a,p)=>t.hasOwnProperty(p)?t[p]:a),i=i.replace(RD,(a,p)=>{if(t.hasOwnProperty(p)){const E=t[p];if(!E.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${p}`);return E.shift()}return a})),i}(e,t)}function gf(e){return!!e&&"function"==typeof e.then}function Uv(e){return!!e&&"function"==typeof e.subscribe}function _f(e,t,i,a){const p=rn(),E=mi(),N=Pi();return Bv(E,p,p[$n],N,e,t,a),_f}function vf(e,t){const i=Pi(),a=rn(),p=mi();return Bv(p,a,ng(ni(p.data),i,a),i,e,t),vf}function Bv(e,t,i,a,p,E,N){const V=Ps(a),fe=e.firstCreatePass&&tg(e),Le=t[Sn],et=eg(t);let Mt=!0;if(3&a.type||N){const mn=ar(a,t),Cn=N?N(mn):mn,Rn=et.length,ln=N?yi=>N(xi(yi[a.index])):a.index;let ii=null;if(!N&&V&&(ii=function ND(e,t,i,a){const p=e.cleanup;if(null!=p)for(let E=0;EX?V[X]:null}"string"==typeof N&&(E+=2)}return null}(e,t,p,a.index)),null!==ii)(ii.__ngLastListenerFn__||ii).__ngNextListenerFn__=E,ii.__ngLastListenerFn__=E,Mt=!1;else{E=Vv(a,t,Le,E,!1);const yi=i.listen(Cn,p,E);et.push(E,yi),fe&&fe.push(p,ln,Rn,Rn+1)}}else E=Vv(a,t,Le,E,!1);const Rt=a.outputs;let Jt;if(Mt&&null!==Rt&&(Jt=Rt[p])){const mn=Jt.length;if(mn)for(let Cn=0;Cn-1?xr(e.index,t):t);let X=$v(t,i,a,N),fe=E.__ngNextListenerFn__;for(;fe;)X=$v(t,i,fe,N)&&X,fe=fe.__ngNextListenerFn__;return p&&!1===X&&N.preventDefault(),X}}function jv(e=1){return function Qt(e){return(zn.lFrame.contextLView=aa(e,zn.lFrame.contextLView))[Sn]}(e)}function FD(e,t){let i=null;const a=function vn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let p=0;p=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Gv(e){return Ss(function dl(){return zn.lFrame.contextLView}(),Hn+e)}function Kv(e,t,i){ks(Fa(rn(),e,t,i))}function Yv(e,t,i,a,p){ks(Ua(rn(),e,t,i,a,p))}function Zv(e,t,i,a,p,E,N){ks(Ba(rn(),e,t,i,a,p,E,N))}function Qv(e,t,i,a,p,E,N,V,X){ks($a(rn(),e,t,i,a,p,E,N,V,X))}function Xv(e,t,i,a,p,E,N,V,X,fe,Le){ks(Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le))}function Jv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){ks(ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt))}function qv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){ks(Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt))}function eb(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){ks(za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn))}function tb(e){ks(Na(rn(),e))}function Sf(e,t,i,a,p){return Rs(e,Fa(rn(),t,i,a),p,!1),Sf}function Tf(e,t,i,a,p,E,N){return Rs(e,Ua(rn(),t,i,a,p,E),N,!1),Tf}function Af(e,t,i,a,p,E,N,V,X){return Rs(e,Ba(rn(),t,i,a,p,E,N,V),X,!1),Af}function kf(e,t,i,a,p,E,N,V,X,fe,Le){return Rs(e,$a(rn(),t,i,a,p,E,N,V,X,fe),Le,!1),kf}function Rf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){return Rs(e,Va(rn(),t,i,a,p,E,N,V,X,fe,Le,et),Mt,!1),Rf}function Of(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){return Rs(e,ja(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt),Jt,!1),Of}function Lf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){return Rs(e,Ha(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn),Cn,!1),Lf}function Pf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn,ln){return Rs(e,za(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn),ln,!1),Pf}function Nf(e,t,i){return Rs(e,Na(rn(),t),i,!1),Nf}function nb(e,t=""){const i=rn(),a=mi(),p=e+Hn,E=a.firstCreatePass?Oa(a,p,1,t,null):a.data[p],N=ib(a,i,E,t,e);i[p]=N,In()&&Uc(a,i,N,E),ss(E,!1)}let ib=(e,t,i,a,p)=>(hi(!0),Lc(t[$n],a));function UD(e,t,i,a,p){const E=t[xt],N=!E||Ts()||Kc(E,p);return hi(N),N?Lc(t[$n],a):au(E,e,t,i)}function Ff(e){return Mu("",e,""),Ff}function Mu(e,t,i){const a=rn(),p=Fa(a,e,t,i);return p!==si&&lo(a,Jn(),p),Mu}function Uf(e,t,i,a,p){const E=rn(),N=Ua(E,e,t,i,a,p);return N!==si&&lo(E,Jn(),N),Uf}function Bf(e,t,i,a,p,E,N){const V=rn(),X=Ba(V,e,t,i,a,p,E,N);return X!==si&&lo(V,Jn(),X),Bf}function $f(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=$a(fe,e,t,i,a,p,E,N,V,X);return Le!==si&&lo(fe,Jn(),Le),$f}function Vf(e,t,i,a,p,E,N,V,X,fe,Le){const et=rn(),Mt=Va(et,e,t,i,a,p,E,N,V,X,fe,Le);return Mt!==si&&lo(et,Jn(),Mt),Vf}function jf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){const Rt=rn(),Jt=ja(Rt,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt);return Jt!==si&&lo(Rt,Jn(),Jt),jf}function Hf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){const mn=rn(),Cn=Ha(mn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt);return Cn!==si&&lo(mn,Jn(),Cn),Hf}function zf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){const Rn=rn(),ln=za(Rn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn);return ln!==si&&lo(Rn,Jn(),ln),zf}function Wf(e){const t=rn(),i=Na(t,e);return i!==si&&lo(t,Jn(),i),Wf}function Gf(e,t,i,a,p){if(e=Ne(e),Array.isArray(e))for(let E=0;E>20;if(Ho(e)||!e.multi){const Rt=new Vs(fe,p,Ra),Jt=Yf(X,t,p?Le:Le+Mt,et);-1===Jt?(Qu(fc(V,N),E,X),Kf(E,e,t.length),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rt),N.push(Rt)):(i[Jt]=Rt,N[Jt]=Rt)}else{const Rt=Yf(X,t,Le+Mt,et),Jt=Yf(X,t,Le,Le+Mt),Cn=Jt>=0&&i[Jt];if(p&&!Cn||!p&&!(Rt>=0&&i[Rt])){Qu(fc(V,N),E,X);const Rn=function HD(e,t,i,a,p){const E=new Vs(e,i,Ra);return E.multi=[],E.index=t,E.componentProviders=0,rb(E,p,a&&!i),E}(p?jD:VD,i.length,p,a,fe);!p&&Cn&&(i[Jt].providerFactory=Rn),Kf(E,e,t.length,0),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rn),N.push(Rn)}else Kf(E,e,Rt>-1?Rt:Jt,rb(i[p?Jt:Rt],fe,!p&&a));!p&&a&&Cn&&i[Jt].componentProviders++}}}function Kf(e,t,i,a){const p=Ho(t),E=function X1(e){return!!e.useClass}(t);if(p||E){const X=(E?Ne(t.useClass):t).prototype.ngOnDestroy;if(X){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!p&&t.multi){const Le=fe.indexOf(i);-1===Le?fe.push(i,[a,X]):fe[Le+1].push(a,X)}else fe.push(i,X)}}}function rb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Yf(e,t,i,a){for(let p=i;p{i.providersResolver=(a,p)=>function $D(e,t,i){const a=mi();if(a.firstCreatePass){const p=Nr(e);Gf(i,a.data,a.blueprint,p,!0),Gf(t,a.data,a.blueprint,p,!1)}}(a,p?p(e):e,t)}}class Jo{}class ob{}function ab(e,t){return new Du(e,t??null,[])}const zD=ab;class Du extends Jo{constructor(t,i,a){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yg(this);const p=Qi(t);this._bootstrapComponents=fs(p.bootstrap),this._r3Injector=ap(t,i,[{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver},...a],Re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iu extends ob{constructor(t){super(),this.moduleType=t}create(t){return new Du(this.moduleType,t,[])}}class lb extends Jo{constructor(t){super(),this.componentFactoryResolver=new yg(this),this.instance=null;const i=new wa([...t.providers,{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver}],t.parent||Ec(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cb(e,t,i=null){return new lb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let GD=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const a=qm(0,i.type),p=a.length>0?cb([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,p)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Yn({token:e,providedIn:"environment",factory:()=>new e(Ln(Hs))})}return e})();function ub(e){Do("NgStandalone"),e.getStandaloneInjector=t=>t.get(GD).getOrCreateStandaloneInjector(e)}function db(e,t,i){const a=e.\u0275cmp;a.directiveDefs=es(t,!1),a.pipeDefs=es(i,!0)}function hb(e,t){return tr(()=>{const i=Qi(e,!0);i.declarations=Su(t.declarations||oi),i.imports=Su(t.imports||oi),i.exports=Su(t.exports||oi),t.bootstrap&&(i.bootstrap=Su(t.bootstrap)),Ma.registerNgModule(e,t)})}function Su(e){if("function"==typeof e)return e;const t=os(e);return t.some(Be)?()=>t.map(Ne).map(fb):t.map(fb)}function fb(e){return md(e)?e.ngModule:e}function Qf(e){const t=Qr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function NC(e,t){const i=t[yn].data[e],{directiveStart:a,componentOffset:p}=i;return p>-1?t[a+p]:null}(t.nodeIndex,i)}return t.component}function mb(e){!function JD(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Qr(e),i=t?t.lView:null;return null===i?null:i[Sn]}function pb(e){const t=Qr(e);let a,i=t?t.lView:null;if(null===i)return null;for(;2===i[yn].type&&(a=wl(i));)i=a;return 512&i[he]?null:i[Sn]}function gb(e){const t=Sp(e);return null!==t?[$C(t)]:[]}function _b(e){const t=Qr(e),i=t?t.lView:null;return null===i?Cs.NULL:new Er(i[yn].data[t.nodeIndex],i)}function vb(e){if(e instanceof Text)return[];const t=Qr(e),i=t?t.lView:null;if(null===i)return[];const a=i[yn],p=t.nodeIndex;return a?.data[p]?(void 0===t.directives&&(t.directives=Rp(p,i)),null===t.directives?[]:[...t.directives]):[]}function YD(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ti(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Cr.OnPush:Cr.Default};const a=wi(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function Xf(e){return Qr(e).native}function bb(e){const t=Qr(e),i=null===t?null:t.lView;if(null===i)return[];const p=i[gn],E=i[yn].cleanup,N=[];if(E&&p)for(let V=0;V=0?"dom":"output"})}}return N.sort(QD),N}function QD(e,t){return e.name==t.name?0:e.namePromise.all(t()).then(p=>(i(...p),a[Tu]=null,p)),a[Tu]}function yb(e,t,i,a){return tr(()=>{const p=e;null!==t&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...t):p.decorators=t),null!==i&&(p.ctorParameters=i),null!==a&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...a}:a)})}function Cb(e,t,i){const a=G()+e,p=rn();return p[a]===si?Gs(p,a,i?t.call(i):t()):Bl(p,a)}function wb(e,t,i,a){return kb(rn(),G(),e,t,i,a)}function xb(e,t,i,a,p){return Rb(rn(),G(),e,t,i,a,p)}function Eb(e,t,i,a,p,E){return Ob(rn(),G(),e,t,i,a,p,E)}function Mb(e,t,i,a,p,E,N){return Lb(rn(),G(),e,t,i,a,p,E,N)}function Db(e,t,i,a,p,E,N,V){const X=G()+e,fe=rn(),Le=ws(fe,X,i,a,p,E);return yr(fe,X+4,N)||Le?Gs(fe,X+5,V?t.call(V,i,a,p,E,N):t(i,a,p,E,N)):Bl(fe,X+5)}function Ib(e,t,i,a,p,E,N,V,X){const fe=G()+e,Le=rn(),et=ws(Le,fe,i,a,p,E);return Ko(Le,fe+4,N,V)||et?Gs(Le,fe+6,X?t.call(X,i,a,p,E,N,V):t(i,a,p,E,N,V)):Bl(Le,fe+6)}function Sb(e,t,i,a,p,E,N,V,X,fe){const Le=G()+e,et=rn();let Mt=ws(et,Le,i,a,p,E);return nu(et,Le+4,N,V,X)||Mt?Gs(et,Le+7,fe?t.call(fe,i,a,p,E,N,V,X):t(i,a,p,E,N,V,X)):Bl(et,Le+7)}function Tb(e,t,i,a,p,E,N,V,X,fe,Le){const et=G()+e,Mt=rn(),Rt=ws(Mt,et,i,a,p,E);return ws(Mt,et+4,N,V,X,fe)||Rt?Gs(Mt,et+8,Le?t.call(Le,i,a,p,E,N,V,X,fe):t(i,a,p,E,N,V,X,fe)):Bl(Mt,et+8)}function Ab(e,t,i,a){return Pb(rn(),G(),e,t,i,a)}function tc(e,t){const i=e[t];return i===si?void 0:i}function kb(e,t,i,a,p,E){const N=t+i;return yr(e,N,p)?Gs(e,N+1,E?a.call(E,p):a(p)):tc(e,N+1)}function Rb(e,t,i,a,p,E,N){const V=t+i;return Ko(e,V,p,E)?Gs(e,V+2,N?a.call(N,p,E):a(p,E)):tc(e,V+2)}function Ob(e,t,i,a,p,E,N,V){const X=t+i;return nu(e,X,p,E,N)?Gs(e,X+3,V?a.call(V,p,E,N):a(p,E,N)):tc(e,X+3)}function Lb(e,t,i,a,p,E,N,V,X){const fe=t+i;return ws(e,fe,p,E,N,V)?Gs(e,fe+4,X?a.call(X,p,E,N,V):a(p,E,N,V)):tc(e,fe+4)}function Pb(e,t,i,a,p,E){let N=t+i,V=!1;for(let X=0;X=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[p]=a,a.onDestroy&&(i.destroyHooks??=[]).push(p,a.onDestroy)):a=i.data[p];const E=a.factory||(a.factory=di(a.type)),V=ze(Ra);try{const X=hc(!1),fe=E();return hc(X),Wv(i,rn(),p,fe),fe}finally{ze(V)}}function Fb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?kb(p,G(),t,E.transform,i,E):E.transform(i)}function Ub(e,t,i,a){const p=e+Hn,E=rn(),N=Ss(E,p);return nc(E,p)?Rb(E,G(),t,N.transform,i,a,N):N.transform(i,a)}function Bb(e,t,i,a,p){const E=e+Hn,N=rn(),V=Ss(N,E);return nc(N,E)?Ob(N,G(),t,V.transform,i,a,p,V):V.transform(i,a,p)}function $b(e,t,i,a,p,E){const N=e+Hn,V=rn(),X=Ss(V,N);return nc(V,N)?Lb(V,G(),t,X.transform,i,a,p,E,X):X.transform(i,a,p,E)}function Vb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?Pb(p,G(),t,E.transform,i,E):E.transform.apply(E,i)}function nc(e,t){return e[yn].data[t].pure}function nI(){return this._results[Symbol.iterator]()}class Au{static#e=Symbol.iterator;get changes(){return this._changes??=new Ws}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=Au.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=nI)}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,i){return this._results.reduce(t,i)}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,i){this.dirty=!1;const a=os(t);(this._changesDetected=!function F1(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{static#e=this.__NG_ELEMENT_ID__=sI}return e})();const iI=ic,rI=class extends iI{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,a){const p=Wl(this._declarationLView,this._declarationTContainer,t,{injector:i,dehydratedView:a});return new La(p)}};function sI(){return ku(Pi(),rn())}function ku(e,t){return 4&e.type?new rI(t,e,ka(e,t)):null}class Jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class qf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const a=null!==t.contentQueries?t.contentQueries[0]:i.length,p=[];for(let E=0;E0)a.push(N[V/2]);else{const fe=E[V+1],Le=t[-X];for(let et=fi;et{try{return Ma.getComponentDependencies(e,t).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}}function qb(e,t){const i=ti(e);null!==i&&(i.debugInfo=t)}const Xr=(()=>({\u0275\u0275attribute:bh,\u0275\u0275attributeInterpolate1:yh,\u0275\u0275attributeInterpolate2:Ch,\u0275\u0275attributeInterpolate3:wh,\u0275\u0275attributeInterpolate4:xh,\u0275\u0275attributeInterpolate5:Eh,\u0275\u0275attributeInterpolate6:Mh,\u0275\u0275attributeInterpolate7:Dh,\u0275\u0275attributeInterpolate8:Ih,\u0275\u0275attributeInterpolateV:Sh,\u0275\u0275defineComponent:Kn,\u0275\u0275defineDirective:ls,\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275defineNgModule:lr,\u0275\u0275definePipe:Ys,\u0275\u0275directiveInject:Ra,\u0275\u0275getInheritedFactory:Pm,\u0275\u0275inject:Ln,\u0275\u0275injectAttribute:Ju,\u0275\u0275invalidFactory:H0,\u0275\u0275invalidFactoryDep:Mi,\u0275\u0275templateRefExtractor:Xb,\u0275\u0275resetView:da,\u0275\u0275HostDirectivesFeature:Dg,\u0275\u0275NgOnChangesFeature:Xn,\u0275\u0275ProvidersFeature:sb,\u0275\u0275CopyDefinitionFeature:Mg,\u0275\u0275InheritDefinitionFeature:vh,\u0275\u0275InputTransformsFeature:Ag,\u0275\u0275StandaloneFeature:ub,\u0275\u0275nextContext:jv,\u0275\u0275namespaceHTML:bi,\u0275\u0275namespaceMathML:Wi,\u0275\u0275namespaceSVG:Wn,\u0275\u0275enableBindings:cl,\u0275\u0275disableBindings:ro,\u0275\u0275elementStart:gu,\u0275\u0275elementEnd:_u,\u0275\u0275element:rf,\u0275\u0275elementContainerStart:vu,\u0275\u0275elementContainerEnd:bu,\u0275\u0275elementContainer:sf,\u0275\u0275pureFunction0:Cb,\u0275\u0275pureFunction1:wb,\u0275\u0275pureFunction2:xb,\u0275\u0275pureFunction3:Eb,\u0275\u0275pureFunction4:Mb,\u0275\u0275pureFunction5:Db,\u0275\u0275pureFunction6:Ib,\u0275\u0275pureFunction7:Sb,\u0275\u0275pureFunction8:Tb,\u0275\u0275pureFunctionV:Ab,\u0275\u0275getCurrentView:uv,\u0275\u0275restoreView:ua,\u0275\u0275listener:_f,\u0275\u0275projection:zv,\u0275\u0275syntheticHostProperty:lf,\u0275\u0275syntheticHostListener:vf,\u0275\u0275pipeBind1:Fb,\u0275\u0275pipeBind2:Ub,\u0275\u0275pipeBind3:Bb,\u0275\u0275pipeBind4:$b,\u0275\u0275pipeBindV:Vb,\u0275\u0275projectionDef:Hv,\u0275\u0275hostProperty:af,\u0275\u0275property:Rh,\u0275\u0275propertyInterpolate:bf,\u0275\u0275propertyInterpolate1:Eu,\u0275\u0275propertyInterpolate2:yf,\u0275\u0275propertyInterpolate3:Cf,\u0275\u0275propertyInterpolate4:wf,\u0275\u0275propertyInterpolate5:xf,\u0275\u0275propertyInterpolate6:Ef,\u0275\u0275propertyInterpolate7:Mf,\u0275\u0275propertyInterpolate8:Df,\u0275\u0275propertyInterpolateV:If,\u0275\u0275pipe:Nb,\u0275\u0275queryRefresh:zb,\u0275\u0275viewQuery:Wb,\u0275\u0275loadQuery:Kb,\u0275\u0275contentQuery:Gb,\u0275\u0275reference:Gv,\u0275\u0275classMap:Ug,\u0275\u0275classMapInterpolate1:Wg,\u0275\u0275classMapInterpolate2:Gg,\u0275\u0275classMapInterpolate3:Kg,\u0275\u0275classMapInterpolate4:Yg,\u0275\u0275classMapInterpolate5:Zg,\u0275\u0275classMapInterpolate6:Qg,\u0275\u0275classMapInterpolate7:Xg,\u0275\u0275classMapInterpolate8:Jg,\u0275\u0275classMapInterpolateV:qg,\u0275\u0275styleMap:ks,\u0275\u0275styleMapInterpolate1:Kv,\u0275\u0275styleMapInterpolate2:Yv,\u0275\u0275styleMapInterpolate3:Zv,\u0275\u0275styleMapInterpolate4:Qv,\u0275\u0275styleMapInterpolate5:Xv,\u0275\u0275styleMapInterpolate6:Jv,\u0275\u0275styleMapInterpolate7:qv,\u0275\u0275styleMapInterpolate8:eb,\u0275\u0275styleMapInterpolateV:tb,\u0275\u0275styleProp:Lh,\u0275\u0275stylePropInterpolate1:Sf,\u0275\u0275stylePropInterpolate2:Tf,\u0275\u0275stylePropInterpolate3:Af,\u0275\u0275stylePropInterpolate4:kf,\u0275\u0275stylePropInterpolate5:Rf,\u0275\u0275stylePropInterpolate6:Of,\u0275\u0275stylePropInterpolate7:Lf,\u0275\u0275stylePropInterpolate8:Pf,\u0275\u0275stylePropInterpolateV:Nf,\u0275\u0275classProp:Ph,\u0275\u0275advance:V0,\u0275\u0275template:Ya,\u0275\u0275conditional:b_,\u0275\u0275defer:V_,\u0275\u0275deferWhen:j_,\u0275\u0275deferOnIdle:z_,\u0275\u0275deferOnImmediate:G_,\u0275\u0275deferOnTimer:Y_,\u0275\u0275deferOnHover:Q_,\u0275\u0275deferOnInteraction:J_,\u0275\u0275deferOnViewport:ev,\u0275\u0275deferPrefetchWhen:H_,\u0275\u0275deferPrefetchOnIdle:W_,\u0275\u0275deferPrefetchOnImmediate:K_,\u0275\u0275deferPrefetchOnTimer:Z_,\u0275\u0275deferPrefetchOnHover:X_,\u0275\u0275deferPrefetchOnInteraction:q_,\u0275\u0275deferPrefetchOnViewport:tv,\u0275\u0275deferEnableTimerScheduling:$_,\u0275\u0275repeater:x_,\u0275\u0275repeaterCreate:w_,\u0275\u0275repeaterTrackByIndex:y_,\u0275\u0275repeaterTrackByIdentity:C_,\u0275\u0275componentInstance:e_,\u0275\u0275text:nb,\u0275\u0275textInterpolate:Ff,\u0275\u0275textInterpolate1:Mu,\u0275\u0275textInterpolate2:Uf,\u0275\u0275textInterpolate3:Bf,\u0275\u0275textInterpolate4:$f,\u0275\u0275textInterpolate5:Vf,\u0275\u0275textInterpolate6:jf,\u0275\u0275textInterpolate7:Hf,\u0275\u0275textInterpolate8:zf,\u0275\u0275textInterpolateV:Wf,\u0275\u0275i18n:Lv,\u0275\u0275i18nAttributes:Pv,\u0275\u0275i18nExp:pf,\u0275\u0275i18nStart:ff,\u0275\u0275i18nEnd:mf,\u0275\u0275i18nApply:Nv,\u0275\u0275i18nPostprocess:Fv,\u0275\u0275resolveWindow:fp,\u0275\u0275resolveDocument:mp,\u0275\u0275resolveBody:_d,\u0275\u0275setComponentScope:db,\u0275\u0275setNgModuleScope:hb,\u0275\u0275registerNgModuleType:vd,\u0275\u0275getComponentDepsFactory:Jb,\u0275setClassDebugInfo:qb,\u0275\u0275sanitizeHtml:c0,\u0275\u0275sanitizeStyle:u0,\u0275\u0275sanitizeResourceUrl:Bd,\u0275\u0275sanitizeScript:d0,\u0275\u0275sanitizeUrl:Ud,\u0275\u0275sanitizeUrlOrResourceUrl:m0,\u0275\u0275trustConstantHtml:h0,\u0275\u0275trustConstantResourceUrl:f0,\u0275\u0275validateIframeAttribute:Qp,forwardRef:Pe,resolveForwardRef:Ne}))();let il=null;function mI(){il=null}const rc=[];let im=!1;function ey(){if(!im){im=!0;try{for(let e=rc.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=rc[e];i.declarations&&i.declarations.every(ty)&&(rc.splice(e,1),vI(t,i))}}finally{im=!1}}}function ty(e){return Array.isArray(e)?e.every(ty):!!Ne(e)}function ny(e,t={}){iy(e,t),void 0!==t.id&&vd(e,t.id),function pI(e,t){rc.push({moduleType:e,ngModule:t})}(e,t)}function iy(e,t,i=!1){const a=os(t.declarations||oi);let p=null;Object.defineProperty(e,un,{configurable:!0,get:()=>(null===p&&(p=Mr().compileNgModule(Xr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:os(t.bootstrap||oi).map(Ne),declarations:a.map(Ne),imports:os(t.imports||oi).map(Ne).map(ay),exports:os(t.exports||oi).map(Ne).map(ay),schemas:t.schemas?os(t.schemas):null,id:t.id||null}),p.schemas||(p.schemas=[])),p)});let E=null;Object.defineProperty(e,Bt,{get:()=>{if(null===E){const V=Mr();E=V.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:yc(e),target:V.FactoryTarget.NgModule,typeArgumentCount:0})}return E},configurable:!1});let N=null;Object.defineProperty(e,ct,{get:()=>{if(null===N){const V={name:e.name,type:e,providers:t.providers||oi,imports:[(t.imports||oi).map(Ne),(t.exports||oi).map(Ne)]};N=Mr().compileInjector(Xr,`ng:///${e.name}/\u0275inj.js`,V)}return N},configurable:!1})}function ry(e,t){return`Unexpected "${Xe(e)}" found in the "declarations" array of the ${t}, "${Xe(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let Ru=new WeakMap,sm=new WeakMap;function _I(){Ru=new WeakMap,sm=new WeakMap,rc.length=0,Zs.clear()}function vI(e,t){const i=os(t.declarations||oi),a=qo(e);i.forEach(p=>{(p=Ne(p)).hasOwnProperty(fn)?om(ti(p),a):!p.hasOwnProperty(an)&&!p.hasOwnProperty(En)&&(p.ngSelectorScope=e)})}function om(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(fn)?ti(i):wi(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Ri(i)),e.schemas=t.schemas,e.tView=null}function qo(e){if(Co(e)){if(Ic){const t=Ma.getNgModuleScope(e);return{schemas:Qi(e,!0).schemas||null,...t}}return function bI(e){const t=Qi(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return fs(t.imports).forEach(a=>{const p=qo(a);p.exported.directives.forEach(E=>i.compilation.directives.add(E)),p.exported.pipes.forEach(E=>i.compilation.pipes.add(E))}),fs(t.declarations).forEach(a=>{Ri(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),fs(t.exports).forEach(a=>{const p=a;if(Co(p)){const E=qo(p);E.exported.directives.forEach(N=>{i.compilation.directives.add(N),i.exported.directives.add(N)}),E.exported.pipes.forEach(N=>{i.compilation.pipes.add(N),i.exported.pipes.add(N)})}else Ri(p)?i.exported.pipes.add(p):i.exported.directives.add(p)}),t.transitiveCompileScopes=i,i}(e)}if(Br(e)){if(null!==(ti(e)||wi(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Ri(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function ay(e){return md(e)?e.ngModule:e}let am=0;function ly(e,t){let i=null;(function z1(e,t){Qm(t)&&(Ca.set(e,t),vl.add(e))})(e,t),uy(e,t),Object.defineProperty(e,fn,{get:()=>{if(null===i){const a=Mr();if(Qm(t)){const fe=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&fe.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&fe.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&fe.push(` - styleUrl: ${t.styleUrl}`),fe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(fe.join("\n"))}const p=function fI(){return il}();let E=t.preserveWhitespaces;void 0===E&&(E=null!==p&&void 0!==p.preserveWhitespaces&&p.preserveWhitespaces);let N=t.encapsulation;void 0===N&&(N=null!==p&&void 0!==p.defaultEncapsulation?p.defaultEncapsulation:Zi.Emulated);const V=t.templateUrl||`ng:///${e.name}/template.html`,X={...dy(e,t),typeSourceSpan:a.createParseSourceSpan("Component",e.name,V),template:t.template||"",preserveWhitespaces:E,styles:"string"==typeof t.styles?[t.styles]:t.styles||oi,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:N,interpolation:t.interpolation,viewProviders:t.viewProviders||null};am++;try{if(X.usesInheritance&&hy(e),i=a.compileComponent(Xr,V,X),t.standalone){const fe=os(t.imports||oi),{directiveDefs:Le,pipeDefs:et}=function yI(e,t){let i=null,a=null;return{directiveDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.directives].map(V=>ti(V)||wi(V)).filter(V=>null!==V):[];if(null===i){i=[ti(e)];const N=new Set([e]);for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.directives){const et=ti(Le)||wi(Le);et&&!N.has(Le)&&(N.add(Le),i.push(et))}}else{const fe=ti(X)||wi(X);fe&&i.push(fe)}}}return i},pipeDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.pipes].map(V=>Ri(V)).filter(V=>null!==V):[];if(null===a){a=[];const N=new Set;for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.pipes){const et=Ri(Le);et&&!N.has(Le)&&(N.add(Le),a.push(et))}}else{const fe=Ri(X);fe&&a.push(fe)}}}return a}}}(e,fe);i.directiveDefs=Le,i.pipeDefs=et,i.dependencies=()=>fe.map(Ne)}}finally{am--}if(0===am&&ey(),function CI(e){return void 0!==e.ngSelectorScope}(e)){const fe=qo(e.ngSelectorScope);om(i,fe)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${Xe(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function lm(e,t){let i=null;uy(e,t||{}),Object.defineProperty(e,an,{get:()=>{if(null===i){const a=cy(e,t||{});i=Mr().compileDirective(Xr,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function cy(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,p=Mr(),E=dy(e,t);return E.typeSourceSpan=p.createParseSourceSpan("Directive",i,a),E.usesInheritance&&hy(e),{metadata:E,sourceMapUrl:a}}function uy(e,t){let i=null;Object.defineProperty(e,Bt,{get:()=>{if(null===i){const a=cy(e,t),p=Mr();i=p.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Directive})}return i},configurable:!1})}function wI(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function dy(e,t){const i=id(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||or,propMetadata:a,inputs:t.inputs||oi,outputs:t.outputs||oi,queries:fy(e,a,my),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!wI(e),exportAs:MI(t.exportAs),providers:t.providers||null,viewQueries:fy(e,a,py),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(p=>"function"==typeof p?{directive:p}:p)||null}}function hy(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!wi(i)&&!ti(i)&&II(i)&&lm(i,null),i=Object.getPrototypeOf(i)}function xI(e){return"string"==typeof e?_y(e):Ne(e)}function EI(e,t){return{propertyName:e,predicate:xI(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function fy(e,t,i){const a=[];for(const p in t)if(t.hasOwnProperty(p)){const E=t[p];E.forEach(N=>{if(i(N)){if(!N.selector)throw new Error(`Can't construct a query for the property "${p}" of "${Xe(e)}" since the query selector wasn't defined.`);if(E.some(gy))throw new Error("Cannot combine @Input decorators with query decorators");a.push(EI(p,N))}})}return a}function MI(e){return void 0===e?null:_y(e)}function my(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function py(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function gy(e){return"Input"===e.ngMetadataName}function _y(e){return e.split(",").map(t=>t.trim())}const DI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function II(e){const t=id();if(DI.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const p=i[a];for(let E=0;E{if(null===a){const p=by(e,t),E=Mr();a=E.compileFactory(Xr,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p.type,typeArgumentCount:0,deps:yc(e),target:E.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,En,{get:()=>{if(null===i){const p=by(e,t);i=Mr().compilePipe(Xr,`ng:///${p.name}/\u0275pipe.js`,p)}return i},configurable:!1})}function by(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const yy=ml("Directive",(e={})=>e,void 0,void 0,(e,t)=>lm(e,t)),SI=ml("Component",(e={})=>({changeDetection:Cr.Default,...e}),yy,void 0,(e,t)=>ly(e,t)),TI=ml("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>vy(e,t)),AI=yo("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),kI=yo("Output",e=>({alias:e})),RI=yo("HostBinding",e=>({hostPropertyName:e})),OI=yo("HostListener",(e,t)=>({eventName:e,args:t})),LI=ml("NgModule",e=>e,void 0,void 0,(e,t)=>ny(e,t));class Cy{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const PI=new Cy("17.0.8");let wy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class xy{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let NI=(()=>{class e{compileModuleSync(i){return new Iu(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),E=fs(Qi(i).declarations).reduce((N,V)=>{const X=ti(V);return X&&N.push(new Pa(X)),N},[]);return new xy(a,E)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ey=new _t("compilerOptions");class FI{}let cm=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class UI{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let sc=new UI;function Ou(){return sc}function jI(e){e instanceof Er||tn("getNodeInjectorContext must be called with a NodeInjector");const t=fa(e),i=ma(e);if(null!==i)return ho(i,t),{lView:t,tNode:i}}function My(e){let t=null;return void 0===e||(t=e instanceof Er?fa(e):e),t}function KI(e){Nl(Ip(e)),gb(e).forEach(t=>function YI(e){const t=Ip(e);t[he]|=1024,uh(t)}(t))}function ZI(e,t){const i=e.get(t,null,{self:!0,optional:!0});if(null===i)throw new Error(`Unable to determine instance of ${t} in given injector`);const a=function QI(e,t){const{resolverToTokenToDependencies:i}=Ou();if(!(t instanceof Er))return i.get(t)?.get?.(e)??[];const a=fa(t);return(i.get(a)?.get(e)??[]).filter(N=>{const V=N.injectedIn?.tNode;if(void 0===V)return!1;const X=ma(t);return eo(V),eo(X),V===X})}(t,e),p=Dy(e);return{instance:i,dependencies:a.map(N=>{const V={value:N.value},X=N.flags;V.flags={optional:8==(8&X),host:1==(1&X),self:2==(2&X),skipSelf:4==(4&X)};for(let fe=0;fe{if(e.has(i)||e.set(i,[a]),!t.has(a))for(const p of e.keys()){const E=e.get(p);let N=it(a);if(N||(N=it(a.ngModule)),!N)return;const V=E[0];let X=!1;ba(N.imports,fe=>{X||(X=fe.ngModule===V||fe===V,X&&e.get(p)?.unshift(a))})}t.add(a)}}(t,new Set);return wc(e,a,[],new Set),t}(i),p=[];for(const E of t){const N=E.provider,V=N.provide;if(V===jo||V===sd)continue;let X=a.get(N)??[];!!ti(i)?.standalone&&(X=[i,...X]),p.push({...E,importPath:X})}return p}function iS(e){return e instanceof Er?function JI(e){const t=ma(e),{resolverToProviders:i}=Ou();return i.get(t)??[]}(e):e instanceof Hs?tS(e):void tn("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function rS(e){if(e instanceof Er){const t=fa(e),i=ma(e);return ho(i,t),{type:"element",source:ar(i,t)}}return e instanceof wa?{type:"environment",source:e.source??null}:e instanceof Cc?{type:"null",source:null}:null}function Dy(e){const t=[e];return um(e,t),t}function um(e,t){const i=function sS(e){if(e instanceof wa)return e.parent;let t,i;if(e instanceof Er)t=ma(e),i=fa(e);else{if(e instanceof Cc)return null;tn("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const a=mc(t,i);if(Ku(a)){const p=hl(a),E=fl(a,i);return new Er(E[yn].data[p+8],E)}{const E=i[Di].injector?.parent;if(E instanceof Er)return E}return null}(e);if(null===i){if(e instanceof Er){const a=t[0];if(a instanceof Er){const p=function oS(e){let t;e instanceof Er?t=fa(e):tn("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const a=t[Di].parentInjector;return a||tn("NodeInjector must have some connection to the module injector tree"),a}(a);null===p&&tn("NodeInjector must have some connection to the module injector tree"),t.push(p),um(p,t)}return t}}else t.push(i),um(i,t);return t}const Iy="ng";let Sy=!1;function aS(){Sy||(Sy=!0,function BI(){sc.reset(),Zn(e=>function $I(e){const{context:t,type:i}=e;0===i?function VI(e,t){const i=My(e.injector);null===i&&tn("An Inject event must be run within an injection context.");const a=sc.resolverToTokenToDependencies;if(a.has(i)||a.set(i,new WeakMap),!function GI(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const p=a.get(i);p.has(e.token)||p.set(e.token,[]);const{token:E,value:N,flags:V}=t;Xt(e.token,"Injector profiler context token is undefined.");const X=p.get(e.token);Xt(X,"Could not resolve dependencies for token."),X.push(e.injector instanceof Er?{token:E,value:N,flags:V,injectedIn:jI(e.injector)}:{token:E,value:N,flags:V})}(t,e.service):1===i?function HI(e,t){const{value:i}=t;let a;if(null===My(e.injector)&&tn("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof i&&(a=i?.constructor),void 0===a||!function zI(e){return!!ti(e)?.standalone}(a))return;const p=e.injector.get(Hs,null,{optional:!0});if(null===p)return;const{standaloneInjectorToComponent:E}=sc;E.has(p)||E.set(p,a)}(t,e.instance):2===i&&function WI(e,t){const{resolverToProviders:i}=sc;let a;a=e?.injector instanceof Er?ma(e.injector):e.injector,null===a&&tn("A ProviderConfigured event must be run within an injection context."),i.has(a)||i.set(a,[]),i.get(a).push(t)}(t,e.providerRecord)}(e))}(),zr("\u0275getDependenciesFromInjectable",ZI),zr("\u0275getInjectorProviders",iS),zr("\u0275getInjectorResolutionPath",Dy),zr("\u0275getInjectorMetadata",rS),zr("\u0275setProfiler",ur),zr("getDirectiveMetadata",YD),zr("getComponent",Qf),zr("getContext",mb),zr("getListeners",bb),zr("getOwningComponent",pb),zr("getHostElement",Xf),zr("getInjector",_b),zr("getRootComponents",gb),zr("getDirectives",vb),zr("applyChanges",KI))}function zr(e,t){if((typeof COMPILED>"u"||!COMPILED)&&pe){let a=pe[Iy];a||(a=pe[Iy]={}),a[e]=t}}const Ty=new _t(""),Ay=new _t("");let dm,lS=(()=>{class e{constructor(i,a,p){this._ngZone=i,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,dm||(Ry(p),p.addToWindow(a)),this._watchAngularEvents(),i.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:()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,a,p){let E=-1;a&&a>0&&(E=setTimeout(()=>{this._callbacks=this._callbacks.filter(N=>N.timeoutId!==E),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:E,updateCb:p})}whenStable(i,a,p){if(p&&!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(i,a,p),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,a,p){return[]}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(br),Ln(ky),Ln(Ay))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac})}return e})(),ky=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,a){this._applications.set(i,a)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,a=!0){return dm?.findTestabilityInTree(this,i,a)??null}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ry(e){dm=e}const Oy=new _t("Application Initializer");let Lu=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a}),this.appInits=Vn(Oy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const p of this.appInits){const E=p();if(gf(E))i.push(E);else if(Uv(E)){const N=new Promise((V,X)=>{E.subscribe({complete:V,error:X})});i.push(N)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(p=>{this.reject(p)}),0===i.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hm=new _t("appBootstrapListener");function Ly(e,t,i){const a=new Iu(i);return Promise.resolve(a)}function Py(){!function j(e){ne=e}(()=>{throw new jt(600,!1)})}function Ny(e){return e.isBoundToModule}class cS{constructor(t,i){this.name=t,this.token=i}}function Fy(e,t,i){try{const a=i();return gf(a)?a.catch(p=>{throw t.runOutsideAngular(()=>e.handleError(p)),p}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}function Uy(e,t){return Array.isArray(t)?t.reduce(Uy,e):{...e,...t}}let Nu,rl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(P0),this.componentTypes=[],this.components=[],this.isStable=Vn(cm).hasPendingTasks.pipe((0,Ce.U)(i=>!i)),this._injector=Vn(Hs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,a){const p=i instanceof Yc;if(!this._injector.get(Lu).done)throw!p&&Br(i),new jt(405,!1);let N;N=p?i:this._injector.get(kl).resolveComponentFactory(i),this.componentTypes.push(N.componentType);const V=Ny(N)?void 0:this._injector.get(Jo),fe=N.create(Cs.NULL,[],a||N.selector,V),Le=fe.location.nativeElement,et=fe.injector.get(Ty,null);return et?.registerApplication(Le),fe.onDestroy(()=>{this.detachView(fe.hostView),Pu(this.components,fe),et?.unregisterApplication(Le)}),this._loadComponent(fe),fe}tick(){if(this._runningTick)throw new jt(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;Pu(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const a=this._injector.get(hm,[]);[...this._bootstrapListeners,...a].forEach(p=>p(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Pu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new jt(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function $y(e){Nu??=new WeakMap;const t=Nu.get(e);if(t)return t;const i=e.isStable.pipe((0,ge.P)(a=>a)).toPromise().then(()=>{});return Nu.set(e,i),e.onDestroy(()=>Nu?.delete(e)),i}let uS=(()=>{class e{constructor(){this.zone=Vn(br),this.applicationRef=Vn(rl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vy(e){return[{provide:br,useFactory:e},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(uS,{optional:!0});return()=>t.initialize()}},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(hS);return()=>{t.initialize()}}},{provide:P0,useFactory:dS}]}function dS(){const e=Vn(br),t=Vn(Mo);return i=>e.runOutsideAngular(()=>t.handleError(i))}function jy(e){return od([[],Vy(()=>new br(Hy(e)))])}function Hy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let hS=(()=>{class e{constructor(){this.subscription=new Ee.w0,this.initialized=!1,this.zone=Vn(br),this.pendingTasks=Vn(cm)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{br.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Fu=new _t("LocaleId",{providedIn:"root",factory:()=>Vn(Fu,vt.Optional|vt.SkipSelf)||function fS(){return typeof $localize<"u"&&$localize.locale||Xo}()}),mS=new _t("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),pS=new _t("Translations"),gS=new _t("TranslationsFormat");var zy=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(zy||{});const fm=new _t("PlatformDestroyListeners");let mm=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const p=function Jx(e="zone.js",t){return"noop"===e?new mg:"zone.js"===e?new br(t):e}(a?.ngZone,Hy({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return p.run(()=>{const E=function WD(e,t,i){return new Du(e,t,i)}(i.moduleType,this.injector,Vy(()=>p)),N=E.injector.get(Mo,null);return p.runOutsideAngular(()=>{const V=p.onError.subscribe({next:X=>{N.handleError(X)}});E.onDestroy(()=>{Pu(this._modules,E),V.unsubscribe()})}),Fy(N,p,()=>{const V=E.injector.get(Lu);return V.runInitializers(),V.donePromise.then(()=>(uf(E.injector.get(Fu,Xo)||Xo),this._moduleDoBootstrap(E),E))})})}bootstrapModule(i,a=[]){const p=Uy({},a);return Ly(0,0,i).then(E=>this.bootstrapModuleFactory(E,p))}_moduleDoBootstrap(i){const a=i.injector.get(rl);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(p=>a.bootstrap(p));else{if(!i.instance.ngDoBootstrap)throw new jt(-403,!1);i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new jt(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const i=this._injector.get(fm,null);i&&(i.forEach(a=>a()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(Cs))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),To=null;const pm=new _t("AllowMultipleToken");function Wy(e){if(To&&!To.get(pm,!1))throw new jt(400,!1);Py(),To=e;const t=e.get(mm);return Zy(e),t}function Gy(e,t,i=[]){const a=`Platform: ${t}`,p=new _t(a);return(E=[])=>{let N=Uu();if(!N||N.injector.get(pm,!1)){const V=[...i,...E,{provide:p,useValue:!0}];e?e(V):Wy(Ky(V,a))}return Yy()}}function Ky(e=[],t){return Cs.create({name:t,providers:[{provide:cd,useValue:"platform"},{provide:fm,useValue:new Set([()=>To=null])},...e]})}function Yy(e){const t=Uu();if(!t)throw new jt(401,!1);return t}function Uu(){return To?.get(mm)??null}function _S(){Uu()?.destroy()}function Zy(e){e.get(up,null)?.forEach(i=>i())}function bS(){return!1}function yS(){}function CS(e){const t=_p(e);if(!t)throw Qy(e);return new Iu(t)}function wS(e){const t=_p(e);if(!t)throw Qy(e);return t}function Qy(e){return new Error(`No module with ID ${e} loaded`)}class Xy extends hh{}class xS extends Xy{}class ES{constructor(t,i){this.name=t,this.callback=i}}function MS(e){return e.map(t=>t.nativeElement)}class gm{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new oc(t):null}get injector(){return _b(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Qf(t)||pb(t))}get context(){return Qf(this.nativeNode)||mb(this.nativeNode)}get listeners(){return bb(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function ZD(e){const t=Qr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function FC(e,t){const i=e[yn].data[t];if(i&&i.localNames){const a={};let p=i.index+1;for(let E=0;E1){let Le=X[1];for(let et=1;ett[E]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(E.name===t){const N=E.callback;N.call(a,i),p.push(N)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(E=>{if(-1!==E.toString().indexOf("__ngUnwrap__")){const N=E("__ngUnwrap__");return-1===p.indexOf(N)&&N.call(a,i)}})}}function IS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Jy(e,t,i,a){const p=Qr(e.nativeNode),E=p?p.lView:null;null!==E?ea(E[yn].data[p.nodeIndex],E,t,i,a,e.nativeNode):vm(e.nativeNode,t,i,a)}function ea(e,t,i,a,p,E){const N=function al(e,t){const i=null===e?-1:e.index;return-1!==i?xi(t[i]):null}(e,t);if(11&e.type){if(_m(N,i,a,p,E),Zr(e)){const X=xr(e.index,t);X&&X[yn].firstChild&&ea(X[yn].firstChild,X,i,a,p,E)}else e.child&&ea(e.child,t,i,a,p,E),N&&vm(N,i,a,p);const V=t[e.index];ir(V)&&qy(V,i,a,p,E)}else if(4&e.type){const V=t[e.index];_m(V[nr],i,a,p,E),qy(V,i,a,p,E)}else if(16&e.type){const V=t[Oi],fe=V[je].projection[e.projection];if(Array.isArray(fe))for(let Le of fe)_m(Le,i,a,p,E);else if(fe){const Le=V[we];ea(Le[yn].data[fe.index],Le,i,a,p,E)}}else e.child&&ea(e.child,t,i,a,p,E);if(E!==N){const V=2&e.flags?e.projectionNext:e.next;V&&ea(V,t,i,a,p,E)}}function qy(e,t,i,a,p){for(let E=fi;E{class e{constructor(i){}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(rl))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=pn({})}return e})();function VS(e){}function WS(e){try{const{rootComponent:t,appProviders:i,platformProviders:a}=e,p=function vS(e=[]){if(To)return To;const t=Ky(e);return To=t,Py(),Zy(t),t}(a),E=[jy(),...i||[]],V=new lb({providers:E,parent:p,debugName:"",runEnvironmentInitializers:!1}).injector,X=V.get(br);return X.run(()=>{V.resolveInjectorInitializers();const fe=V.get(Mo,null);let Le;X.runOutsideAngular(()=>{Le=X.onError.subscribe({next:Rt=>{fe.handleError(Rt)}})});const et=()=>V.destroy(),Mt=p.get(fm);return Mt.add(et),V.onDestroy(()=>{Le.unsubscribe(),Mt.delete(et)}),Fy(fe,X,()=>{const Rt=V.get(Lu);return Rt.runInitializers(),Rt.donePromise.then(()=>{uf(V.get(Fu,Xo)||Xo);const mn=V.get(rl);return void 0!==t&&mn.bootstrap(t),mn})})})}catch(t){return Promise.reject(t)}}function Mm(e,t){const i=e[yn];for(let a=Hn;a0&&fe===a){const Le=i[i.length-1];Le[zc]??=1,Le[zc]++}else a=fe,i.push(X)}return i}function ju(e,t,i){const a=t.index-Hn;e[Wd]??={},e[Wd][a]=tM(t,i)}function g1(e,t){const i=t.index-Hn;e[Wc]??=[],e[Wc].includes(i)||e[Wc].push(i)}function _1(e,t){const i={},a=e[yn];for(let p=Hn;p{let e=!0;return xo()&&(e=!!Vn(Sl,{optional:!0})?.get(Gd,null)),e&&Do("NgHydration"),e}},{provide:jo,useValue:()=>{xo()&&Vn(Ll)&&(function rT(){const e=wo();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===g0){t=i;break}if(!t)throw new jt(-507,!1)}(),function tT(){v1||(v1=!0,function Iw(){_0=Dw}(),function FM(){lv=NM}(),function BD(){ib=UD}(),function $M(){cv=BM}(),function pM(){__=mM}(),function hM(){m_=dM,Gh=uM}(),function rM(){o_=iM}(),function ux(){G0=cx}())}())},multi:!0},{provide:F0,useFactory:()=>xo()&&Vn(Ll)},{provide:hm,useFactory:()=>{if(xo()&&Vn(Ll)){const e=Vn(rl);return Vn(Cs),()=>{(function nT(e,t){return $y(e)})(e).then(()=>{br.assertInAngularZone(),function KE(e){const t=e._views;for(const i of t){const a=v0(i);null!==a&&null!==a[Bi]&&(Xi(a)?ou(a):(ou(a[Bi]),r_(a)))}}(e)})}}return()=>{}},multi:!0}])}function sT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function oT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function aT(e){return Mr().compileDirectiveDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function lT(e){yb(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function cT(e){return Mr().compileComponentDeclaration(Xr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function uT(e){return Mr(function dT(e){switch(e){case Vo.Directive:return"directive";case Vo.Component:return"component";case Vo.Injectable:return"injectable";case Vo.Pipe:return"pipe";case Vo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function hT(e){return Mr().compileInjectableDeclaration(Xr,`ng:///${e.type.name}/\u0275prov.js`,e)}function fT(e){return Mr().compileInjectorDeclaration(Xr,`ng:///${e.type.name}/\u0275inj.js`,e)}function mT(e){return Mr().compileNgModuleDeclaration(Xr,`ng:///${e.type.name}/\u0275mod.js`,e)}function pT(e){return Mr().compilePipeDeclaration(Xr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function gT(e,t){const i=ti(e),a=t.elementInjector||Ec();return new Pa(i).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}function _T(e){const t=ti(e);if(!t)return null;const i=new Pa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function vT(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AbstractControl:()=>bt,AbstractControlDirective:()=>Te,AbstractFormGroupDirective:()=>On,COMPOSITION_BUFFER_MODE:()=>c,CheckboxControlValueAccessor:()=>o,CheckboxRequiredValidator:()=>ai,ControlContainer:()=>qe,DefaultValueAccessor:()=>d,EmailValidator:()=>Vi,FormArray:()=>Ri,FormArrayName:()=>Sr,FormBuilder:()=>$r,FormControl:()=>Qe,FormControlDirective:()=>Mi,FormControlName:()=>Cr,FormGroup:()=>_e,FormGroupDirective:()=>Ui,FormGroupName:()=>pr,FormRecord:()=>Se,FormsModule:()=>Bi,MaxLengthValidator:()=>ji,MaxValidator:()=>Gt,MinLengthValidator:()=>Kn,MinValidator:()=>vn,NG_ASYNC_VALIDATORS:()=>x,NG_VALIDATORS:()=>C,NG_VALUE_ACCESSOR:()=>m,NgControl:()=>Ee,NgControlStatus:()=>Ae,NgControlStatusGroup:()=>q,NgForm:()=>Y,NgModel:()=>fr,NgModelGroup:()=>ki,NgSelectOption:()=>Fr,NonNullableFormBuilder:()=>es,NumberValueAccessor:()=>qn,PatternValidator:()=>gr,RadioControlValueAccessor:()=>er,RangeValueAccessor:()=>wn,ReactiveFormsModule:()=>yn,RequiredValidator:()=>Gn,SelectControlValueAccessor:()=>wr,SelectMultipleControlValueAccessor:()=>Ur,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>Zs,UntypedFormControl:()=>_t,UntypedFormGroup:()=>z,VERSION:()=>uo,Validators:()=>T,isFormArray:()=>Qi,isFormControl:()=>hn,isFormGroup:()=>oe,isFormRecord:()=>at,\u0275InternalFormsSharedModule:()=>wi,\u0275NgNoValidate:()=>Tn,\u0275NgSelectMultipleOption:()=>Dt});var n=_(9212),f=_(6814),D=_(2459),y=_(9315),u=_(7398);let v=(()=>{class he{constructor(ae,je){this._renderer=ae,this._elementRef=je,this.onChange=xt=>{},this.onTouched=()=>{}}setProperty(ae,je){this._renderer.setProperty(this._elementRef.nativeElement,ae,je)}registerOnTouched(ae){this.onTouched=ae}registerOnChange(ae){this.onChange=ae}setDisabledState(ae){this.setProperty("disabled",ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he})}return he})(),s=(()=>{class he extends v{static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const m=new n.InjectionToken("NgValueAccessor"),h={provide:m,useExisting:(0,n.forwardRef)(()=>o),multi:!0};let o=(()=>{class he extends s{writeValue(ae){this.setProperty("checked",ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.checked)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const l={provide:m,useExisting:(0,n.forwardRef)(()=>d),multi:!0},c=new n.InjectionToken("CompositionEventMode");let d=(()=>{class he extends v{constructor(ae,je,xt){super(ae,je),this._compositionMode=xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const he=(0,f.\u0275getDOM)()?(0,f.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(he.toLowerCase())}())}writeValue(ae){this.setProperty("value",ae??"")}_handleInput(ae){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ae)}_compositionStart(){this._composing=!0}_compositionEnd(ae){this._composing=!1,this._compositionMode&&this.onChange(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt._handleInput(Sn.target.value)})("blur",function(){return xt.onTouched()})("compositionstart",function(){return xt._compositionStart()})("compositionend",function(Sn){return xt._compositionEnd(Sn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([l]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function g(he){return null==he||("string"==typeof he||Array.isArray(he))&&0===he.length}function b(he){return null!=he&&"number"==typeof he.length}const C=new n.InjectionToken("NgValidators"),x=new n.InjectionToken("NgAsyncValidators"),w=/^(?=.{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(we){return S(we)}static max(we){return M(we)}static required(we){return k(we)}static requiredTrue(we){return I(we)}static email(we){return P(we)}static minLength(we){return A(we)}static maxLength(we){return L(we)}static pattern(we){return F(we)}static nullValidator(we){return null}static compose(we){return $(we)}static composeAsync(we){return H(we)}}function S(he){return we=>{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae>he?{max:{max:he,actual:we.value}}:null}}function k(he){return g(he.value)?{required:!0}:null}function I(he){return!0===he.value?null:{required:!0}}function P(he){return g(he.value)||w.test(he.value)?null:{email:!0}}function A(he){return we=>g(we.value)||!b(we.value)?null:we.value.lengthb(we.value)&&we.value.length>he?{maxlength:{requiredLength:he,actualLength:we.value.length}}:null}function F(he){if(!he)return R;let we,ae;return"string"==typeof he?(ae="","^"!==he.charAt(0)&&(ae+="^"),ae+=he,"$"!==he.charAt(he.length-1)&&(ae+="$"),we=new RegExp(ae)):(ae=he.toString(),we=he),je=>{if(g(je.value))return null;const xt=je.value;return we.test(xt)?null:{pattern:{requiredPattern:ae,actualValue:xt}}}}function R(he){return null}function U(he){return null!=he}function W(he){return(0,n.\u0275isPromise)(he)?(0,D.D)(he):he}function ne(he){let we={};return he.forEach(ae=>{we=null!=ae?{...we,...ae}:we}),0===Object.keys(we).length?null:we}function ee(he,we){return we.map(ae=>ae(he))}function B(he){return he.map(we=>function j(he){return!he.validate}(we)?we:ae=>we.validate(ae))}function $(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){return ne(ee(ae,we))}}function Z(he){return null!=he?$(B(he)):null}function H(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){const je=ee(ae,we).map(W);return(0,y.D)(je).pipe((0,u.U)(ne))}}function te(he){return null!=he?H(B(he)):null}function ue(he,we){return null===he?[we]:Array.isArray(he)?[...he,we]:[he,we]}function ye(he){return he._rawValidators}function Ge(he){return he._rawAsyncValidators}function $e(he){return he?Array.isArray(he)?he:[he]:[]}function Ye(he,we){return Array.isArray(he)?he.includes(we):he===we}function Ze(he,we){const ae=$e(we);return $e(he).forEach(xt=>{Ye(ae,xt)||ae.push(xt)}),ae}function Et(he,we){return $e(we).filter(ae=>!Ye(he,ae))}class Te{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(we){this._rawValidators=we||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(we){this._rawAsyncValidators=we||[],this._composedAsyncValidatorFn=te(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(we){this._onDestroyCallbacks.push(we)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(we=>we()),this._onDestroyCallbacks=[]}reset(we=void 0){this.control&&this.control.reset(we)}hasError(we,ae){return!!this.control&&this.control.hasError(we,ae)}getError(we,ae){return this.control?this.control.getError(we,ae):null}}class qe extends Te{get formDirective(){return null}get path(){return null}}class Ee extends Te{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{constructor(we){this._cd=we}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 Ae=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(Ee,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})(),q=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)("ng-submitted",xt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ft="VALID",De="INVALID",Ve="PENDING",Xe="DISABLED";function St(he){return(Ct(he)?he.validators:he)||null}function ut(he,we){return(Ct(we)?we.asyncValidators:he)||null}function Ct(he){return null!=he&&!Array.isArray(he)&&"object"==typeof he}function Pt(he,we,ae){const je=he.controls;if(!(we?Object.keys(je):je).length)throw new n.\u0275RuntimeError(1e3,"");if(!je[ae])throw new n.\u0275RuntimeError(1001,"")}function Nt(he,we,ae){he._forEachChild((je,xt)=>{if(void 0===ae[xt])throw new n.\u0275RuntimeError(1002,"")})}class bt{constructor(we,ae){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(we),this._assignAsyncValidators(ae)}get validator(){return this._composedValidatorFn}set validator(we){this._rawValidators=this._composedValidatorFn=we}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(we){this._rawAsyncValidators=this._composedAsyncValidatorFn=we}get parent(){return this._parent}get valid(){return this.status===Ft}get invalid(){return this.status===De}get pending(){return this.status==Ve}get disabled(){return this.status===Xe}get enabled(){return this.status!==Xe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(we){this._assignValidators(we)}setAsyncValidators(we){this._assignAsyncValidators(we)}addValidators(we){this.setValidators(Ze(we,this._rawValidators))}addAsyncValidators(we){this.setAsyncValidators(Ze(we,this._rawAsyncValidators))}removeValidators(we){this.setValidators(Et(we,this._rawValidators))}removeAsyncValidators(we){this.setAsyncValidators(Et(we,this._rawAsyncValidators))}hasValidator(we){return Ye(this._rawValidators,we)}hasAsyncValidator(we){return Ye(this._rawAsyncValidators,we)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(we={}){this.touched=!0,this._parent&&!we.onlySelf&&this._parent.markAsTouched(we)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(we=>we.markAllAsTouched())}markAsUntouched(we={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ae=>{ae.markAsUntouched({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}markAsDirty(we={}){this.pristine=!1,this._parent&&!we.onlySelf&&this._parent.markAsDirty(we)}markAsPristine(we={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ae=>{ae.markAsPristine({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}markAsPending(we={}){this.status=Ve,!1!==we.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!we.onlySelf&&this._parent.markAsPending(we)}disable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Xe,this.errors=null,this._forEachChild(je=>{je.disable({...we,onlySelf:!0})}),this._updateValue(),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!0))}enable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Ft,this._forEachChild(je=>{je.enable({...we,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent}),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!1))}_updateAncestors(we){this._parent&&!we.onlySelf&&(this._parent.updateValueAndValidity(we),we.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(we){this._parent=we}getRawValue(){return this.value}updateValueAndValidity(we={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ft||this.status===Ve)&&this._runAsyncValidator(we.emitEvent)),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!we.onlySelf&&this._parent.updateValueAndValidity(we)}_updateTreeValidity(we={emitEvent:!0}){this._forEachChild(ae=>ae._updateTreeValidity(we)),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xe:Ft}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(we){if(this.asyncValidator){this.status=Ve,this._hasOwnPendingAsyncValidator=!0;const ae=W(this.asyncValidator(this));this._asyncValidationSubscription=ae.subscribe(je=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(je,{emitEvent:we})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(we,ae={}){this.errors=we,this._updateControlsErrors(!1!==ae.emitEvent)}get(we){let ae=we;return null==ae||(Array.isArray(ae)||(ae=ae.split(".")),0===ae.length)?null:ae.reduce((je,xt)=>je&&je._find(xt),this)}getError(we,ae){const je=ae?this.get(ae):this;return je&&je.errors?je.errors[we]:null}hasError(we,ae){return!!this.getError(we,ae)}get root(){let we=this;for(;we._parent;)we=we._parent;return we}_updateControlsErrors(we){this.status=this._calculateStatus(),we&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(we)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Xe:this.errors?De:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ve)?Ve:this._anyControlsHaveStatus(De)?De:Ft}_anyControlsHaveStatus(we){return this._anyControls(ae=>ae.status===we)}_anyControlsDirty(){return this._anyControls(we=>we.dirty)}_anyControlsTouched(){return this._anyControls(we=>we.touched)}_updatePristine(we={}){this.pristine=!this._anyControlsDirty(),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}_updateTouched(we={}){this.touched=this._anyControlsTouched(),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}_registerOnCollectionChange(we){this._onCollectionChange=we}_setUpdateStrategy(we){Ct(we)&&null!=we.updateOn&&(this._updateOn=we.updateOn)}_parentMarkedDirty(we){return!we&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(we){return null}_assignValidators(we){this._rawValidators=Array.isArray(we)?we.slice():we,this._composedValidatorFn=function tt(he){return Array.isArray(he)?Z(he):he||null}(this._rawValidators)}_assignAsyncValidators(we){this._rawAsyncValidators=Array.isArray(we)?we.slice():we,this._composedAsyncValidatorFn=function Oe(he){return Array.isArray(he)?te(he):he||null}(this._rawAsyncValidators)}}class _e extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(we,ae){return this.controls[we]?this.controls[we]:(this.controls[we]=ae,ae.setParent(this),ae._registerOnCollectionChange(this._onCollectionChange),ae)}addControl(we,ae,je={}){this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}removeControl(we,ae={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}setControl(we,ae,je={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],ae&&this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}contains(we){return this.controls.hasOwnProperty(we)&&this.controls[we].enabled}setValue(we,ae={}){Nt(this,0,we),Object.keys(we).forEach(je=>{Pt(this,!0,je),this.controls[je].setValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(Object.keys(we).forEach(je=>{const xt=this.controls[je];xt&&xt.patchValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we={},ae={}){this._forEachChild((je,xt)=>{je.reset(we?we[xt]:null,{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this._reduceChildren({},(we,ae,je)=>(we[je]=ae.getRawValue(),we))}_syncPendingControls(){let we=this._reduceChildren(!1,(ae,je)=>!!je._syncPendingControls()||ae);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){Object.keys(this.controls).forEach(ae=>{const je=this.controls[ae];je&&we(je,ae)})}_setUpControls(){this._forEachChild(we=>{we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(we){for(const[ae,je]of Object.entries(this.controls))if(this.contains(ae)&&we(je))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ae,je,xt)=>((je.enabled||this.disabled)&&(ae[xt]=je.value),ae))}_reduceChildren(we,ae){let je=we;return this._forEachChild((xt,gn)=>{je=ae(je,xt,gn)}),je}_allControlsDisabled(){for(const we of Object.keys(this.controls))if(this.controls[we].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(we){return this.controls.hasOwnProperty(we)?this.controls[we]:null}}const z=_e,oe=he=>he instanceof _e;class Se extends _e{}const at=he=>he instanceof Se,nt=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>mt}),mt="always";function He(he,we){return[...we.path,he]}function rt(he,we,ae=mt){Nn(he,we),we.valueAccessor.writeValue(he.value),(he.disabled||"always"===ae)&&we.valueAccessor.setDisabledState?.(he.disabled),function _i(he,we){we.valueAccessor.registerOnChange(ae=>{he._pendingValue=ae,he._pendingChange=!0,he._pendingDirty=!0,"change"===he.updateOn&&Yn(he,we)})}(he,we),function st(he,we){const ae=(je,xt)=>{we.valueAccessor.writeValue(je),xt&&we.viewToModelUpdate(je)};he.registerOnChange(ae),we._registerOnDestroy(()=>{he._unregisterOnChange(ae)})}(he,we),function Hi(he,we){we.valueAccessor.registerOnTouched(()=>{he._pendingTouched=!0,"blur"===he.updateOn&&he._pendingChange&&Yn(he,we),"submit"!==he.updateOn&&he.markAsTouched()})}(he,we),function tn(he,we){if(we.valueAccessor.setDisabledState){const ae=je=>{we.valueAccessor.setDisabledState(je)};he.registerOnDisabledChange(ae),we._registerOnDestroy(()=>{he._unregisterOnDisabledChange(ae)})}}(he,we)}function Lt(he,we,ae=!0){const je=()=>{};we.valueAccessor&&(we.valueAccessor.registerOnChange(je),we.valueAccessor.registerOnTouched(je)),ui(he,we),he&&(we._invokeOnDestroyCallbacks(),he._registerOnCollectionChange(()=>{}))}function Xt(he,we){he.forEach(ae=>{ae.registerOnValidatorChange&&ae.registerOnValidatorChange(we)})}function Nn(he,we){const ae=ye(he);null!==we.validator?he.setValidators(ue(ae,we.validator)):"function"==typeof ae&&he.setValidators([ae]);const je=Ge(he);null!==we.asyncValidator?he.setAsyncValidators(ue(je,we.asyncValidator)):"function"==typeof je&&he.setAsyncValidators([je]);const xt=()=>he.updateValueAndValidity();Xt(we._rawValidators,xt),Xt(we._rawAsyncValidators,xt)}function ui(he,we){let ae=!1;if(null!==he){if(null!==we.validator){const xt=ye(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.validator);gn.length!==xt.length&&(ae=!0,he.setValidators(gn))}}if(null!==we.asyncValidator){const xt=Ge(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.asyncValidator);gn.length!==xt.length&&(ae=!0,he.setAsyncValidators(gn))}}}const je=()=>{};return Xt(we._rawValidators,je),Xt(we._rawAsyncValidators,je),ae}function Yn(he,we){he._pendingDirty&&he.markAsDirty(),he.setValue(he._pendingValue,{emitModelToViewChange:!1}),we.viewToModelUpdate(he._pendingValue),he._pendingChange=!1}function pn(he,we){Nn(he,we)}function ct(he,we){if(!he.hasOwnProperty("model"))return!1;const ae=he.model;return!!ae.isFirstChange()||!Object.is(we,ae.currentValue)}function wt(he,we){he._syncPendingControls(),we.forEach(ae=>{const je=ae.control;"submit"===je.updateOn&&je._pendingChange&&(ae.viewToModelUpdate(je._pendingValue),je._pendingChange=!1)})}function vt(he,we){if(!we)return null;let ae,je,xt;return Array.isArray(we),we.forEach(gn=>{gn.constructor===d?ae=gn:function Ut(he){return Object.getPrototypeOf(he.constructor)===s}(gn)?je=gn:xt=gn}),xt||je||ae||null}const ze={provide:qe,useExisting:(0,n.forwardRef)(()=>Y)},en=(()=>Promise.resolve())();let Y=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new _e({},Z(ae),te(je))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ae){en.then(()=>{const je=this._findContainer(ae.path);ae.control=je.registerControl(ae.name,ae.control),rt(ae.control,ae,this.callSetDisabledState),ae.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ae)})}getControl(ae){return this.form.get(ae.path)}removeControl(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name),this._directives.delete(ae)})}addFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path),xt=new _e({});pn(xt,ae),je.registerControl(ae.name,xt),xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name)})}getFormGroup(ae){return this.form.get(ae.path)}updateModel(ae,je){en.then(()=>{this.form.get(ae.path).setValue(je)})}setValue(ae){this.control.setValue(ae)}onSubmit(ae){return this.submitted=!0,wt(this.form,this._directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ae){return ae.pop(),ae.length?this.form.get(ae):this.form}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ze]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function pe(he,we){const ae=he.indexOf(we);ae>-1&&he.splice(ae,1)}function de(he){return"object"==typeof he&&null!==he&&2===Object.keys(he).length&&"value"in he&&"disabled"in he}const Qe=class extends bt{constructor(we=null,ae,je){super(St(ae),ut(je,ae)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(we),this._setUpdateStrategy(ae),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ct(ae)&&(ae.nonNullable||ae.initialValueIsDefault)&&(this.defaultValue=de(we)?we.value:we)}setValue(we,ae={}){this.value=this._pendingValue=we,this._onChange.length&&!1!==ae.emitModelToViewChange&&this._onChange.forEach(je=>je(this.value,!1!==ae.emitViewToModelChange)),this.updateValueAndValidity(ae)}patchValue(we,ae={}){this.setValue(we,ae)}reset(we=this.defaultValue,ae={}){this._applyFormState(we),this.markAsPristine(ae),this.markAsUntouched(ae),this.setValue(this.value,ae),this._pendingChange=!1}_updateValue(){}_anyControls(we){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(we){this._onChange.push(we)}_unregisterOnChange(we){pe(this._onChange,we)}registerOnDisabledChange(we){this._onDisabledChange.push(we)}_unregisterOnDisabledChange(we){pe(this._onDisabledChange,we)}_forEachChild(we){}_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(we){de(we)?(this.value=this._pendingValue=we.value,we.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=we}},_t=Qe,hn=he=>he instanceof Qe;let On=(()=>{class he extends qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return He(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const qi={provide:qe,useExisting:(0,n.forwardRef)(()=>ki)};let ki=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name="",this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,5),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([qi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const zi={provide:Ee,useExisting:(0,n.forwardRef)(()=>fr)},Gi=(()=>Promise.resolve())();let fr=(()=>{class he extends Ee{constructor(ae,je,xt,gn,Sn,Di){super(),this._changeDetectorRef=Sn,this.callSetDisabledState=Di,this.control=new Qe,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}ngOnChanges(ae){if(this._checkForErrors(),!this._registered||"name"in ae){if(this._registered&&(this._checkName(),this.formDirective)){const je=ae.name.previousValue;this.formDirective.removeControl({name:je,path:this._getPath(je)})}this._setUpControl()}"isDisabled"in ae&&this._updateDisabled(ae),ct(ae,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(ae){this.viewModel=ae,this.update.emit(ae)}_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.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ae){Gi.then(()=>{this.control.setValue(ae,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ae){const je=ae.isDisabled.currentValue,xt=0!==je&&(0,n.booleanAttribute)(je);Gi.then(()=>{xt&&!this.control.disabled?this.control.disable():!xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ae){return this._parent?He(ae,this._parent):[ae]}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,9),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([zi]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})(),Tn=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return he})();const Ki={provide:m,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let qn=(()=>{class he extends s{writeValue(ae){this.setProperty("value",ae??"")}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Ki]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Pn={provide:m,useExisting:(0,n.forwardRef)(()=>er),multi:!0};let Fi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return he})(),mr=(()=>{class he{constructor(){this._accessors=[]}add(ae,je){this._accessors.push([ae,je])}remove(ae){for(let je=this._accessors.length-1;je>=0;--je)if(this._accessors[je][1]===ae)return void this._accessors.splice(je,1)}select(ae){this._accessors.forEach(je=>{this._isSameGroup(je,ae)&&je[1]!==ae&&je[1].fireUncheck(ae.value)})}_isSameGroup(ae,je){return!!ae[0].control&&ae[0]._parent===je._control._parent&&ae[1].name===je.name}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:Fi})}return he})(),er=(()=>{class he extends s{constructor(ae,je,xt,gn){super(ae,je),this._registry=xt,this._injector=gn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(nt,{optional:!0})??mt}ngOnInit(){this._control=this._injector.get(Ee),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ae){this._state=ae===this.value,this.setProperty("checked",this._state)}registerOnChange(ae){this._fn=ae,this.onChange=()=>{ae(this.value),this._registry.select(this)}}setDisabledState(ae){(this.setDisabledStateFired||ae||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ae),this.setDisabledStateFired=!0}fireUncheck(ae){this.writeValue(ae)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mr),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(){return xt.onChange()})("blur",function(){return xt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Pn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const _n={provide:m,useExisting:(0,n.forwardRef)(()=>wn),multi:!0};let wn=(()=>{class he extends s{writeValue(ae){this.setProperty("value",parseFloat(ae))}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Fn=new n.InjectionToken("NgModelWithFormControlWarning"),Ln={provide:Ee,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=gn,this.callSetDisabledState=Sn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ae),this._setAsyncValidators(je),this.valueAccessor=vt(0,xt)}ngOnChanges(ae){if(this._isControlChanged(ae)){const je=ae.form.previousValue;je&&Lt(je,this,!1),rt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ct(ae,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}_isControlChanged(ae){return ae.hasOwnProperty("form")}static#t=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8),n.\u0275\u0275directiveInject(nt,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ln]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Vn={provide:qe,useExisting:(0,n.forwardRef)(()=>Ui)};let Ui=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ae),this._setAsyncValidators(je)}ngOnChanges(ae){this._checkFormPresent(),ae.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ui(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ae){const je=this.form.get(ae.path);return rt(je,ae,this.callSetDisabledState),je.updateValueAndValidity({emitEvent:!1}),this.directives.push(ae),je}getControl(ae){return this.form.get(ae.path)}removeControl(ae){Lt(ae.control||null,ae,!1),function Ht(he,we){const ae=he.indexOf(we);ae>-1&&he.splice(ae,1)}(this.directives,ae)}addFormGroup(ae){this._setUpFormContainer(ae)}removeFormGroup(ae){this._cleanUpFormContainer(ae)}getFormGroup(ae){return this.form.get(ae.path)}addFormArray(ae){this._setUpFormContainer(ae)}removeFormArray(ae){this._cleanUpFormContainer(ae)}getFormArray(ae){return this.form.get(ae.path)}updateModel(ae,je){this.form.get(ae.path).setValue(je)}onSubmit(ae){return this.submitted=!0,wt(this.form,this.directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_updateDomValue(){this.directives.forEach(ae=>{const je=ae.control,xt=this.form.get(ae.path);je!==xt&&(Lt(je||null,ae),hn(xt)&&(rt(xt,ae,this.callSetDisabledState),ae.control=xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ae){const je=this.form.get(ae.path);pn(je,ae),je.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ae){if(this.form){const je=this.form.get(ae.path);je&&function Ue(he,we){return ui(he,we)}(je,ae)&&je.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nn(this.form,this),this._oldForm&&ui(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroup",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Vn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const sr={provide:qe,useExisting:(0,n.forwardRef)(()=>pr)};let pr=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([sr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Gr={provide:qe,useExisting:(0,n.forwardRef)(()=>Sr)};let Sr=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return He(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Gr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function Lr(he){return!(he instanceof pr||he instanceof Ui||he instanceof Sr)}const tr={provide:Ee,useExisting:(0,n.forwardRef)(()=>Cr)};let Cr=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=Sn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}ngOnChanges(ae){this._added||this._setUpControl(),ct(ae,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}get path(){return He(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}static#t=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Zi={provide:m,useExisting:(0,n.forwardRef)(()=>wr),multi:!0};function or(he,we){return null==he?`${we}`:(we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let wr=(()=>{class he extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){this.value=ae;const xt=or(this._getOptionId(ae),ae);this.setProperty("value",xt)}registerOnChange(ae){this.onChange=je=>{this.value=this._getOptionValue(je),ae(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ae){for(const je of this._optionMap.keys())if(this._compareWith(this._optionMap.get(je),ae))return je;return null}_getOptionValue(ae){const je=function oi(he){return he.split(":")[0]}(ae);return this._optionMap.has(je)?this._optionMap.get(je):ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Fr=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption())}set ngValue(ae){null!=this._select&&(this._select._optionMap.set(this.id,ae),this._setElementValue(or(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._setElementValue(ae),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(wr,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();const ps={provide:m,useExisting:(0,n.forwardRef)(()=>Ur),multi:!0};function Jr(he,we){return null==he?`${we}`:("string"==typeof we&&(we=`'${we}'`),we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let Ur=(()=>{class he extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){let je;if(this.value=ae,Array.isArray(ae)){const xt=ae.map(gn=>this._getOptionId(gn));je=(gn,Sn)=>{gn._setSelected(xt.indexOf(Sn.toString())>-1)}}else je=(xt,gn)=>{xt._setSelected(!1)};this._optionMap.forEach(je)}registerOnChange(ae){this.onChange=je=>{const xt=[],gn=je.selectedOptions;if(void 0!==gn){const Sn=gn;for(let Di=0;Di{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ps]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Dt=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ae){null!=this._select&&(this._value=ae,this._setElementValue(Jr(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._select?(this._value=ae,this._setElementValue(Jr(this.id,ae)),this._select.writeValue(this._select.value)):this._setElementValue(ae)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}_setSelected(ae){this._renderer.setProperty(this._element.nativeElement,"selected",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ur,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();function gt(he){return"number"==typeof he?he:parseInt(he,10)}function Tt(he){return"number"==typeof he?he:parseFloat(he)}let It=(()=>{class he{constructor(){this._validator=R}ngOnChanges(ae){if(this.inputName in ae){const je=this.normalizeInput(ae[this.inputName].currentValue);this._enabled=this.enabled(je),this._validator=this._enabled?this.createValidator(je):R,this._onChange&&this._onChange()}}validate(ae){return this._validator(ae)}registerOnValidatorChange(ae){this._onChange=ae}enabled(ae){return null!=ae}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275NgOnChangesFeature]})}return he})();const $t={provide:C,useExisting:(0,n.forwardRef)(()=>Gt),multi:!0};let Gt=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>M(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("max",xt._enabled?xt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([$t]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const on={provide:C,useExisting:(0,n.forwardRef)(()=>vn),multi:!0};let vn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>S(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("min",xt._enabled?xt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([on]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const bn={provide:C,useExisting:(0,n.forwardRef)(()=>Gn),multi:!0},An={provide:C,useExisting:(0,n.forwardRef)(()=>ai),multi:!0};let Gn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>k}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),ai=(()=>{class he extends Gn{constructor(){super(...arguments),this.createValidator=ae=>I}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([An]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ti={provide:C,useExisting:(0,n.forwardRef)(()=>Vi),multi:!0};let Vi=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>P}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Ti]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const ri={provide:C,useExisting:(0,n.forwardRef)(()=>Kn),multi:!0};let Kn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>A(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("minlength",xt._enabled?xt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([ri]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const li={provide:C,useExisting:(0,n.forwardRef)(()=>ji),multi:!0};let ji=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>L(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("maxlength",xt._enabled?xt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([li]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const lr={provide:C,useExisting:(0,n.forwardRef)(()=>gr),multi:!0};let gr=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ae=>ae,this.createValidator=ae=>F(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("pattern",xt._enabled?xt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),wi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Fi]})}return he})();class Ri extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(we){return this.controls[this._adjustIndex(we)]}push(we,ae={}){this.controls.push(we),this._registerControl(we),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}insert(we,ae,je={}){this.controls.splice(we,0,ae),this._registerControl(ae),this.updateValueAndValidity({emitEvent:je.emitEvent})}removeAt(we,ae={}){let je=this._adjustIndex(we);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),this.updateValueAndValidity({emitEvent:ae.emitEvent})}setControl(we,ae,je={}){let xt=this._adjustIndex(we);xt<0&&(xt=0),this.controls[xt]&&this.controls[xt]._registerOnCollectionChange(()=>{}),this.controls.splice(xt,1),ae&&(this.controls.splice(xt,0,ae),this._registerControl(ae)),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(we,ae={}){Nt(this,0,we),we.forEach((je,xt)=>{Pt(this,!1,xt),this.at(xt).setValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(we.forEach((je,xt)=>{this.at(xt)&&this.at(xt).patchValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we=[],ae={}){this._forEachChild((je,xt)=>{je.reset(we[xt],{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this.controls.map(we=>we.getRawValue())}clear(we={}){this.controls.length<1||(this._forEachChild(ae=>ae._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:we.emitEvent}))}_adjustIndex(we){return we<0?we+this.length:we}_syncPendingControls(){let we=this.controls.reduce((ae,je)=>!!je._syncPendingControls()||ae,!1);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){this.controls.forEach((ae,je)=>{we(ae,je)})}_updateValue(){this.value=this.controls.filter(we=>we.enabled||this.disabled).map(we=>we.value)}_anyControls(we){return this.controls.some(ae=>ae.enabled&&we(ae))}_setUpControls(){this._forEachChild(we=>this._registerControl(we))}_allControlsDisabled(){for(const we of this.controls)if(we.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(we){we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)}_find(we){return this.at(we)??null}}const Br=Ri,Qi=he=>he instanceof Ri;function Es(he){return!!he&&(void 0!==he.asyncValidators||void 0!==he.validators||void 0!==he.updateOn)}let $r=(()=>{class he{constructor(){this.useNonNullable=!1}get nonNullable(){const ae=new he;return ae.useNonNullable=!0,ae}group(ae,je=null){const xt=this._reduceControls(ae);let gn={};return Es(je)?gn=je:null!==je&&(gn.validators=je.validator,gn.asyncValidators=je.asyncValidator),new _e(xt,gn)}record(ae,je=null){const xt=this._reduceControls(ae);return new Se(xt,je)}control(ae,je,xt){let gn={};return this.useNonNullable?(Es(je)?gn=je:(gn.validators=je,gn.asyncValidators=xt),new Qe(ae,{...gn,nonNullable:!0})):new Qe(ae,je,xt)}array(ae,je,xt){const gn=ae.map(Sn=>this._createControl(Sn));return new Ri(gn,je,xt)}_reduceControls(ae){const je={};return Object.keys(ae).forEach(xt=>{je[xt]=this._createControl(ae[xt])}),je}_createControl(ae){return ae instanceof Qe||ae instanceof bt?ae:Array.isArray(ae)?this.control(ae[0],ae.length>1?ae[1]:null,ae.length>2?ae[2]:null):this.control(ae)}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),es=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:()=>(0,n.inject)($r).nonNullable,providedIn:"root"})}return he})(),Zs=(()=>{class he extends $r{group(ae,je=null){return super.group(ae,je)}control(ae,je,xt){return super.control(ae,je,xt)}array(ae,je,xt){return super.array(ae,je,xt)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();const uo=new n.Version("17.0.8");let Bi=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})(),yn=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:Fn,useValue:ae.warnOnNgModelWithFormControl??"always"},{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})()},4630:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>j,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>B,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ye,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ge,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>H,MatAutocomplete:()=>$,MatAutocompleteModule:()=>Ye,MatAutocompleteOrigin:()=>Z,MatAutocompleteSelectedEvent:()=>ee,MatAutocompleteTrigger:()=>$e,getMatAutocompleteMissingPanelError:()=>te});var n=_(9212),f=_(3680),D=_(6814),y=_(6672),u=_(9594),v=_(4191),s=_(2495),m=_(2831),h=_(6825),o=_(7394),l=_(8645),r=_(4911),c=_(3019),d=_(2096),g=_(2438),b=_(6028),C=_(8484),x=_(6223),w=_(4170),T=_(7921),S=_(4664),M=_(8180),k=_(2181),I=_(7398),P=_(9397),A=_(7547),L=_(9388);const F=["panel"];function R(Ze,Et){if(1&Ze){const Te=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275listener("@panelAnimation.done",function(Ee){n.\u0275\u0275restoreView(Te);const Ie=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ie._animationDone.next(Ee))}),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()}if(2&Ze){const Te=Et.id,qe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",qe.id)("ngClass",qe._classList)("@panelAnimation",qe.isOpen?"visible":"hidden"),n.\u0275\u0275attribute("aria-label",qe.ariaLabel||null)("aria-labelledby",qe._getPanelAriaLabelledby(Te))}}const U=["*"],W=(0,h.X$)("panelAnimation",[(0,h.SB)("void, hidden",(0,h.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,h.eR)(":enter, hidden => visible",[(0,h.ru)([(0,h.jt)("0.03s linear",(0,h.oB)({opacity:1})),(0,h.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,h.oB)({transform:"scaleY(1)"}))])]),(0,h.eR)(":leave, visible => hidden",[(0,h.jt)("0.075s linear",(0,h.oB)({opacity:0}))])]);let ne=0;class ee{constructor(Et,Te){this.source=Et,this.option=Te}}const j=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:B});function B(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let $=(()=>{class Ze{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Te){this._color=Te,this._setThemeClasses(this._classList)}set classList(Te){this._classList=Te&&Te.length?(0,s.du)(Te).reduce((qe,Ee)=>(qe[Ee]=!0,qe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Te){this._hideSingleSelectionIndicator=Te,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Te of this.options)Te._changeDetectorRef.markForCheck()}constructor(Te,qe,Ee,Ie){this._changeDetectorRef=Te,this._elementRef=qe,this._defaults=Ee,this._activeOptionChanges=o.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new n.EventEmitter,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+ne++,this.inertGroups=Ie?.SAFARI||!1,this.autoActiveFirstOption=!!Ee.autoActiveFirstOption,this.autoSelectActiveOption=!!Ee.autoSelectActiveOption,this.requireSelection=!!Ee.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new v.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Te=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Te]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Te){this.panel&&(this.panel.nativeElement.scrollTop=Te)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Te){const qe=new ee(this,Te);this.optionSelected.emit(qe)}_getPanelAriaLabelledby(Te){return this.ariaLabel?null:this.ariaLabelledby?(Te?Te+" ":"")+this.ariaLabelledby:Te}_setVisibilityClasses(Te){Te[this._visibleClass]=this.showPanel,Te[this._hiddenClass]=!this.showPanel}_setThemeClasses(Te){Te["mat-primary"]="primary"===this._color,Te["mat-warn"]="warn"===this._color,Te["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(m.t4))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ze,selectors:[["mat-autocomplete"]],contentQueries:function(qe,Ee,Ie){if(1&qe&&(n.\u0275\u0275contentQuery(Ie,f.MatOption,5),n.\u0275\u0275contentQuery(Ie,f.MAT_OPTGROUP,5)),2&qe){let Ce;n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.options=Ce),n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.optionGroups=Ce)}},viewQuery:function(qe,Ee){if(1&qe&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(F,5)),2&qe){let Ie;n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.template=Ie.first),n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.panel=Ie.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",n.booleanAttribute],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",n.booleanAttribute],requireSelection:["requireSelection","requireSelection",n.booleanAttribute],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",n.booleanAttribute]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:f.MAT_OPTION_PARENT_COMPONENT,useExisting:Ze}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:U,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(qe,Ee){1&qe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,R,3,5,"ng-template"))},dependencies:[D.NgClass],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[W]},changeDetection:0})}return Ze})(),Z=(()=>{class Ze{constructor(Te){this.elementRef=Te}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]})}return Ze})();const H={provide:x.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>$e),multi:!0};function te(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}const ue=new n.InjectionToken("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ze=(0,n.inject)(u.aV);return()=>Ze.scrollStrategies.reposition()}});function ye(Ze){return()=>Ze.scrollStrategies.reposition()}const Ge={provide:ue,deps:[u.aV],useFactory:ye};let $e=(()=>{class Ze{constructor(Te,qe,Ee,Ie,Ce,ge,Ae,q,Re,ke,Ke){this._element=Te,this._overlay=qe,this._viewContainerRef=Ee,this._zone=Ie,this._changeDetectorRef=Ce,this._dir=Ae,this._formField=q,this._document=Re,this._viewportRuler=ke,this._defaults=Ke,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=o.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,r.P)(()=>{const me=this.autocomplete?this.autocomplete.options:null;return me?me.changes.pipe((0,T.O)(me),(0,S.w)(()=>(0,c.T)(...me.map(Pe=>Pe.onSelectionChange)))):this._zone.onStable.pipe((0,M.q)(1),(0,S.w)(()=>this.optionSelections))}),this._handlePanelKeydown=me=>{(me.keyCode===b.hY&&!(0,b.Vb)(me)||me.keyCode===b.LH&&(0,b.Vb)(me,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),me.stopPropagation(),me.preventDefault())},this._trackedModal=null,this._scrollStrategy=ge}ngAfterViewInit(){const Te=this._getWindow();typeof Te<"u"&&this._zone.runOutsideAngular(()=>Te.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Te){Te.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Te=this._getWindow();typeof Te<"u"&&Te.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,v.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,c.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,k.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,k.h)(()=>this._overlayAttached)):(0,d.of)()).pipe((0,I.U)(Te=>Te instanceof f.MatOptionSelectionChange?Te:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,c.T)((0,g.R)(this._document,"click"),(0,g.R)(this._document,"auxclick"),(0,g.R)(this._document,"touchend")).pipe((0,k.h)(Te=>{const qe=(0,m.sA)(Te),Ee=this._formField?this._formField._elementRef.nativeElement:null,Ie=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&qe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ee||!Ee.contains(qe))&&(!Ie||!Ie.contains(qe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(qe)}))}writeValue(Te){Promise.resolve(null).then(()=>this._assignOptionValue(Te))}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this._element.nativeElement.disabled=Te}_handleKeydown(Te){const qe=Te.keyCode,Ee=(0,b.Vb)(Te);if(qe===b.hY&&!Ee&&Te.preventDefault(),this.activeOption&&qe===b.K5&&this.panelOpen&&!Ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Te.preventDefault();else if(this.autocomplete){const Ie=this.autocomplete._keyManager.activeItem,Ce=qe===b.LH||qe===b.JH;qe===b.Mf||Ce&&!Ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Te):Ce&&this._canOpen()&&this.openPanel(),(Ce||this.autocomplete._keyManager.activeItem!==Ie)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Te){let qe=Te.target,Ee=qe.value;if("number"===qe.type&&(Ee=""==Ee?null:parseFloat(Ee)),this._previousValue!==Ee){if(this._previousValue=Ee,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Ee),Ee){if(this.panelOpen&&!this.autocomplete.requireSelection){const Ie=this.autocomplete.options?.find(Ce=>Ce.selected);Ie&&Ee!==(this.autocomplete.displayWith?.(Ie)??Ie.value)&&Ie.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);this._canOpen()&&this._document.activeElement===Te.target&&this.openPanel()}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Te=!1){this._formField&&"auto"===this._formField.floatLabel&&(Te?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Te=this._zone.onStable.pipe((0,M.q)(1)),qe=this.autocomplete.options.changes.pipe((0,P.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,A.g)(0));return(0,c.T)(Te,qe).pipe((0,S.w)(()=>(this._zone.run(()=>{const Ee=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ee!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,M.q)(1)).subscribe(Ee=>this._setValueAndClose(Ee))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Te){const qe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Te):Te;null==Te&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(qe??"")}_updateNativeInputValue(Te){this._formField?this._formField._control.value=Te:this._element.nativeElement.value=Te,this._previousValue=Te}_setValueAndClose(Te){const qe=this.autocomplete,Ee=Te?Te.source:this._pendingAutoselectedOption;Ee?(this._clearPreviousSelectedOption(Ee),this._assignOptionValue(Ee.value),this._onChange(Ee.value),qe._emitSelectEvent(Ee),this._element.nativeElement.focus()):qe.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),qe._animationDone?qe._animationDone.pipe((0,M.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Te,qe){this.autocomplete?.options?.forEach(Ee=>{Ee!==Te&&Ee.selected&&Ee.deselect(qe)})}_attachOverlay(){let Te=this._overlayRef;Te?(this._positionStrategy.setOrigin(this._getConnectedElement()),Te.updateSize({width:this._getPanelWidth()})):(this._portal=new C.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Te=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Te,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Te&&Te.updateSize({width:this._getPanelWidth()})})),Te&&!Te.hasAttached()&&(Te.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const qe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&qe!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Te=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Te.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Te.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new u.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Te=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Te),this._positionStrategy=Te,Te}_setStrategyPositions(Te){const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ee=this._aboveClass,Ie=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ee}];let Ce;Ce="above"===this.position?Ie:"below"===this.position?qe:[...qe,...Ie],Te.withPositions(Ce)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Te=this.autocomplete;if(Te.autoActiveFirstOption){let qe=-1;for(let Ee=0;Ee .cdk-overlay-container [aria-modal="true"]');if(!Te)return;const qe=this.autocomplete.id;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",qe),(0,v.Zf)(Te,"aria-owns",qe),this._trackedModal=Te}_clearFromModal(){this._trackedModal&&((0,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(L.Is,8),n.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),n.\u0275\u0275directiveInject(D.DOCUMENT,8),n.\u0275\u0275directiveInject(y.rL),n.\u0275\u0275directiveInject(j,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(qe,Ee){1&qe&&n.\u0275\u0275listener("focusin",function(){return Ee._handleFocus()})("blur",function(){return Ee._onTouched()})("input",function(Ce){return Ee._handleInput(Ce)})("keydown",function(Ce){return Ee._handleKeydown(Ce)})("click",function(){return Ee._handleClick()}),2&qe&&n.\u0275\u0275attribute("autocomplete",Ee.autocompleteAttribute)("role",Ee.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ee.autocompleteDisabled?null:"list")("aria-activedescendant",Ee.panelOpen&&Ee.activeOption?Ee.activeOption.id:null)("aria-expanded",Ee.autocompleteDisabled?null:Ee.panelOpen.toString())("aria-controls",Ee.autocompleteDisabled||!Ee.panelOpen||null==Ee.autocomplete?null:Ee.autocomplete.id)("aria-haspopup",Ee.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",n.booleanAttribute]},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([H]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ze})(),Ye=(()=>{class Ze{static#e=this.\u0275fac=function(qe){return new(qe||Ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ge],imports:[u.U8,f.MatOptionModule,f.MatCommonModule,D.CommonModule,y.ZD,f.MatOptionModule,f.MatCommonModule]})}return Ze})()},2296:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_FAB_DEFAULT_OPTIONS:()=>k,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>I,MatAnchor:()=>M,MatButton:()=>S,MatButtonModule:()=>ne,MatFabAnchor:()=>F,MatFabButton:()=>A,MatIconAnchor:()=>W,MatIconButton:()=>U,MatMiniFabAnchor:()=>R,MatMiniFabButton:()=>L});var n=_(2831),f=_(9212),D=_(4191),y=_(3680);const u=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],h=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",o=["mat-fab",""],l=["mat-mini-fab",""],r='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',c=["mat-icon-button",""],d=["*"],C=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let x=(()=>{class ee{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(B){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,B)}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=B,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(B){this._disabled=B,this._updateRippleDisabled()}constructor(B,$,Z,H){this._elementRef=B,this._platform=$,this._ngZone=Z,this._animationMode=H,this._focusMonitor=(0,f.inject)(D.tE),this._rippleLoader=(0,f.inject)(y.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const te=this._elementRef.nativeElement,ue=te.classList;for(const{attribute:ye,mdcClasses:Ge}of C)te.hasAttribute(ye)&&ue.add(...Ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(B="program",$){B?this._focusMonitor.focusVia(this._elementRef.nativeElement,B,$):this._elementRef.nativeElement.focus($)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",f.booleanAttribute],disabled:["disabled","disabled",f.booleanAttribute]},features:[f.\u0275\u0275InputTransformsFeature]})}return ee})(),T=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._haltDisabledEvents=te=>{this.disabled&&(te.preventDefault(),te.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{tabIndex:["tabIndex","tabIndex",B=>null==B?void 0:(0,f.numberAttribute)(B)]},features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature]})}return ee})(),S=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ee})(),M=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',h],encapsulation:2,changeDetection:0})}return ee})();const k=new f.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent"}}const P=I();let A=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-fab",""]],hostVars:13,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return ee})(),L=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),F=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-fab",""]],hostVars:15,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),R=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-mini-fab",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:l,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),U=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:d,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',h],encapsulation:2,changeDetection:0})}return ee})(),W=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-icon-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:s,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',h],encapsulation:2,changeDetection:0})}return ee})(),ne=(()=>{class ee{static#e=this.\u0275fac=function($){return new($||ee)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[y.MatCommonModule,y.MatRippleModule,y.MatCommonModule]})}return ee})()},5195:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CARD_CONFIG:()=>h,MatCard:()=>o,MatCardActions:()=>g,MatCardAvatar:()=>k,MatCardContent:()=>c,MatCardFooter:()=>C,MatCardHeader:()=>b,MatCardImage:()=>x,MatCardLgImage:()=>S,MatCardMdImage:()=>T,MatCardModule:()=>P,MatCardSmImage:()=>w,MatCardSubtitle:()=>d,MatCardTitle:()=>l,MatCardTitleGroup:()=>r,MatCardXlImage:()=>M});var n=_(9212),f=_(6814),D=_(3680);const y=["*"],u=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],v=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],s=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=new n.InjectionToken("MAT_CARD_CONFIG");let o=(()=>{class A{constructor(F){this.appearance=F?.appearance||"raised"}static#e=this.\u0275fac=function(R){return new(R||A)(n.\u0275\u0275directiveInject(h,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-outlined","outlined"===U.appearance)("mdc-card--outlined","outlined"===U.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:y,decls:1,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return A})(),l=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return A})(),r=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:v,decls:4,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),c=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return A})(),d=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return A})(),g=(()=>{class A{constructor(){this.align="start"}static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-actions-align-end","end"===U.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return A})(),b=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),C=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]})}return A})(),x=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]})}return A})(),w=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]})}return A})(),T=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"]})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"]})}return A})(),M=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"]})}return A})(),k=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return A})(),P=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:A});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,f.CommonModule,D.MatCommonModule]})}return A})()},5986:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>m,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>d,MatCheckbox:()=>c,MatCheckboxChange:()=>o,MatCheckboxModule:()=>C,MatCheckboxRequiredValidator:()=>g,_MatCheckboxRequiredValidatorModule:()=>b});var n=_(9212),f=_(6223),D=_(3680);const y=["input"],u=["label"],v=["*"],s=new n.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:m});function m(){return{color:"accent",clickAction:"check-indeterminate"}}const h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>c),multi:!0};class o{}let l=0;const r=m();let c=(()=>{class x{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(T){const S=new o;return S.source=this,S.checked=T,S}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(T,S,M,k,I,P){this._elementRef=T,this._changeDetectorRef=S,this._ngZone=M,this._animationMode=I,this._options=P,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new n.EventEmitter,this.indeterminateChange=new n.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||r,this.color=this._options.color||r.color,this.tabIndex=parseInt(k)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++l}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(T){T!=this.checked&&(this._checked=T,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(T){T!==this.disabled&&(this._disabled=T,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(T){const S=T!=this._indeterminate;this._indeterminate=T,S&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(T){this.checked=!!T}registerOnChange(T){this._controlValueAccessorChangeFn=T}registerOnTouched(T){this._onTouched=T}setDisabledState(T){this.disabled=T}_transitionCheckState(T){let S=this._currentCheckState,M=this._getAnimationTargetElement();if(S!==T&&M&&(this._currentAnimationClass&&M.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(S,T),this._currentCheckState=T,this._currentAnimationClass.length>0)){M.classList.add(this._currentAnimationClass);const k=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{M.classList.remove(k)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const T=this._options?.clickAction;this.disabled||"noop"===T?!this.disabled&&"noop"===T&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==T&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(T){T.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(T,S){if("NoopAnimations"===this._animationMode)return"";switch(T){case 0:if(1===S)return this._animationClasses.uncheckedToChecked;if(3==S)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===S?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===S?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===S?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(T){const S=this._inputElement;S&&(S.nativeElement.indeterminate=T)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(T){T.target&&this._labelElement.nativeElement.contains(T.target)&&T.stopPropagation()}static#e=this.\u0275fac=function(S){return new(S||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(s,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["mat-checkbox"]],viewQuery:function(S,M){if(1&S&&(n.\u0275\u0275viewQuery(y,5),n.\u0275\u0275viewQuery(u,5),n.\u0275\u0275viewQuery(D.MatRipple,5)),2&S){let k;n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._inputElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._labelElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M.ripple=k.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(S,M){2&S&&(n.\u0275\u0275hostProperty("id",M.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),n.\u0275\u0275classMap(M.color?"mat-"+M.color:"mat-accent"),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===M._animationMode)("mdc-checkbox--disabled",M.disabled)("mat-mdc-checkbox-disabled",M.disabled)("mat-mdc-checkbox-checked",M.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",n.booleanAttribute],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],tabIndex:["tabIndex","tabIndex",T=>null==T?void 0:(0,n.numberAttribute)(T)],color:"color",checked:["checked","checked",n.booleanAttribute],disabled:["disabled","disabled",n.booleanAttribute],indeterminate:["indeterminate","indeterminate",n.booleanAttribute]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:v,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(S,M){if(1&S&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("click",function(I){return M._preventBubblingFromLabel(I)}),n.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),n.\u0275\u0275listener("click",function(){return M._onTouchTargetClick()}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("blur",function(){return M._onBlur()})("click",function(){return M._onInputClick()})("change",function(I){return M._onInteractionEvent(I)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(6,"div",6),n.\u0275\u0275elementStart(7,"div",7),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",8),n.\u0275\u0275element(9,"path",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(11,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"label",12,13),n.\u0275\u0275projection(14),n.\u0275\u0275elementEnd()()),2&S){const k=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==M.labelPosition),n.\u0275\u0275advance(4),n.\u0275\u0275classProp("mdc-checkbox--selected",M.checked),n.\u0275\u0275property("checked",M.checked)("indeterminate",M.indeterminate)("disabled",M.disabled)("id",M.inputId)("required",M.required)("tabIndex",M.disabled?-1:M.tabIndex),n.\u0275\u0275attribute("aria-label",M.ariaLabel||null)("aria-labelledby",M.ariaLabelledby)("aria-describedby",M.ariaDescribedby)("aria-checked",M.indeterminate?"mixed":null)("name",M.name)("value",M.value),n.\u0275\u0275advance(7),n.\u0275\u0275property("matRippleTrigger",k)("matRippleDisabled",M.disableRipple||M.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",M.inputId)}},dependencies:[D.MatRipple],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return x})();const d={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>g),multi:!0};let g=(()=>{class x extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let T;return function(M){return(T||(T=n.\u0275\u0275getInheritedFactory(x)))(M||x)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([d]),n.\u0275\u0275InheritDefinitionFeature]})}return x})(),b=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return x})(),C=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatRippleModule,b,D.MatCommonModule,b]})}return x})()},3680:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AnimationCurves:()=>S,AnimationDurations:()=>M,DateAdapter:()=>Z,ErrorStateMatcher:()=>Et,MATERIAL_SANITY_CHECKS:()=>I,MAT_DATE_FORMATS:()=>H,MAT_DATE_LOCALE:()=>B,MAT_DATE_LOCALE_FACTORY:()=>$,MAT_NATIVE_DATE_FORMATS:()=>Ge,MAT_OPTGROUP:()=>an,MAT_OPTION_PARENT_COMPONENT:()=>cn,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Be,MatCommonModule:()=>P,MatLine:()=>Te,MatLineModule:()=>Ie,MatNativeDateModule:()=>Ye,MatOptgroup:()=>En,MatOption:()=>Ft,MatOptionModule:()=>Xe,MatOptionSelectionChange:()=>Bt,MatPseudoCheckbox:()=>Yt,MatPseudoCheckboxModule:()=>jt,MatRipple:()=>yt,MatRippleLoader:()=>Nt,MatRippleModule:()=>Ot,NativeDateAdapter:()=>ye,NativeDateModule:()=>$e,RippleRef:()=>Ce,RippleRenderer:()=>Pe,ShowOnDirtyErrorStateMatcher:()=>Ze,VERSION:()=>T,_countGroupLabelsBeforeOption:()=>De,_getOptionScrollPosition:()=>Ve,defaultRippleAnimationConfig:()=>q,mixinColor:()=>U,mixinDisableRipple:()=>W,mixinDisabled:()=>R,mixinErrorState:()=>ee,mixinInitialized:()=>j,mixinTabIndex:()=>ne,setLines:()=>qe});var n=_(9212),f=_(4191),D=_(9388),u=_(6814),v=_(2831),s=_(2495),m=_(5592),h=_(8645),o=_(7921),l=_(6028);const r=["*",[["mat-option"],["ng-container"]]],c=["*","mat-option, ng-container"],d=["text"];function g(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)("state",ce.selected?"checked":"unchecked")}}function b(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)}}function C(bt,_e){if(1&bt&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",ce.group.label,")")}}const x=[[["mat-icon"]],"*"],w=["mat-icon","*"],T=new n.Version("17.0.4");let S=(()=>{class bt{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return bt})(),M=(()=>{class bt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return bt})();const I=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function k(){return!0}});let P=(()=>{class bt{constructor(ce,z,oe){this._sanityChecks=z,this._document=oe,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,v.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(f.qm),n.\u0275\u0275inject(I,8),n.\u0275\u0275inject(u.DOCUMENT))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.vT,D.vT]})}return bt})();function R(bt){return class extends bt{get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disabled=!1}}}function U(bt,_e){return class extends bt{get color(){return this._color}set color(ce){const z=ce||this.defaultColor;z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),z&&this._elementRef.nativeElement.classList.add(`mat-${z}`),this._color=z)}constructor(...ce){super(...ce),this.defaultColor=_e,this.color=_e}}}function W(bt){return class extends bt{get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disableRipple=!1}}}function ne(bt,_e=0){return class extends bt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,s.su)(ce):this.defaultTabIndex}constructor(...ce){super(...ce),this._tabIndex=_e,this.defaultTabIndex=_e}}}function ee(bt){return class extends bt{updateErrorState(){const _e=this.errorState,Se=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Se!==_e&&(this.errorState=Se,this.stateChanges.next())}constructor(..._e){super(..._e),this.errorState=!1}}}function j(bt){return class extends bt{constructor(..._e){super(..._e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(_e){_e.next(),_e.complete()}}}const B=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:$});function $(){return(0,n.inject)(n.LOCALE_ID)}class Z{constructor(){this._localeChanges=new h.x,this.localeChanges=this._localeChanges}getValidDateOrNull(_e){return this.isDateInstance(_e)&&this.isValid(_e)?_e:null}deserialize(_e){return null==_e||this.isDateInstance(_e)&&this.isValid(_e)?_e:this.invalid()}setLocale(_e){this.locale=_e,this._localeChanges.next()}compareDate(_e,ce){return this.getYear(_e)-this.getYear(ce)||this.getMonth(_e)-this.getMonth(ce)||this.getDate(_e)-this.getDate(ce)}sameDate(_e,ce){if(_e&&ce){let z=this.isValid(_e),oe=this.isValid(ce);return z&&oe?!this.compareDate(_e,ce):z==oe}return _e==ce}clampDate(_e,ce,z){return ce&&this.compareDate(_e,ce)<0?ce:z&&this.compareDate(_e,z)>0?z:_e}}const H=new n.InjectionToken("mat-date-formats"),te=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ue(bt,_e){const ce=Array(bt);for(let z=0;z{class bt extends Z{constructor(ce){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,n.inject)(B,{optional:!0}),void 0!==ce&&(this._matDateLocale=ce),super.setLocale(this._matDateLocale)}getYear(ce){return ce.getFullYear()}getMonth(ce){return ce.getMonth()}getDate(ce){return ce.getDate()}getDayOfWeek(ce){return ce.getDay()}getMonthNames(ce){const z=new Intl.DateTimeFormat(this.locale,{month:ce,timeZone:"utc"});return ue(12,oe=>this._format(z,new Date(2017,oe,1)))}getDateNames(){const ce=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ue(31,z=>this._format(ce,new Date(2017,0,z+1)))}getDayOfWeekNames(ce){const z=new Intl.DateTimeFormat(this.locale,{weekday:ce,timeZone:"utc"});return ue(7,oe=>this._format(z,new Date(2017,0,oe+1)))}getYearName(ce){const z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(z,ce)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ce){return this.getDate(this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+1,0))}clone(ce){return new Date(ce.getTime())}createDate(ce,z,oe){let Se=this._createDateWithOverflow(ce,z,oe);return Se.getMonth(),Se}today(){return new Date}parse(ce,z){return"number"==typeof ce?new Date(ce):ce?new Date(Date.parse(ce)):null}format(ce,z){if(!this.isValid(ce))throw Error("NativeDateAdapter: Cannot format invalid date.");const oe=new Intl.DateTimeFormat(this.locale,{...z,timeZone:"utc"});return this._format(oe,ce)}addCalendarYears(ce,z){return this.addCalendarMonths(ce,12*z)}addCalendarMonths(ce,z){let oe=this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+z,this.getDate(ce));return this.getMonth(oe)!=((this.getMonth(ce)+z)%12+12)%12&&(oe=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),0)),oe}addCalendarDays(ce,z){return this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce),this.getDate(ce)+z)}toIso8601(ce){return[ce.getUTCFullYear(),this._2digit(ce.getUTCMonth()+1),this._2digit(ce.getUTCDate())].join("-")}deserialize(ce){if("string"==typeof ce){if(!ce)return null;if(te.test(ce)){let z=new Date(ce);if(this.isValid(z))return z}}return super.deserialize(ce)}isDateInstance(ce){return ce instanceof Date}isValid(ce){return!isNaN(ce.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ce,z,oe){const Se=new Date;return Se.setFullYear(ce,z,oe),Se.setHours(0,0,0,0),Se}_2digit(ce){return("00"+ce).slice(-2)}_format(ce,z){const oe=new Date;return oe.setUTCFullYear(z.getFullYear(),z.getMonth(),z.getDate()),oe.setUTCHours(z.getHours(),z.getMinutes(),z.getSeconds(),z.getMilliseconds()),ce.format(oe)}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(B,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})();const Ge={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 $e=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Z,useClass:ye}]})}return bt})(),Ye=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:H,useValue:Ge}],imports:[$e]})}return bt})(),Ze=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.dirty||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})(),Et=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.touched||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})(),Te=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return bt})();function qe(bt,_e,ce="mat"){bt.changes.pipe((0,o.O)(bt)).subscribe(({length:z})=>{Ee(_e,`${ce}-2-line`,!1),Ee(_e,`${ce}-3-line`,!1),Ee(_e,`${ce}-multi-line`,!1),2===z||3===z?Ee(_e,`${ce}-${z}-line`,!0):z>3&&Ee(_e,`${ce}-multi-line`,!0)})}function Ee(bt,_e,ce){bt.nativeElement.classList.toggle(_e,ce)}let Ie=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})();class Ce{constructor(_e,ce,z,oe=!1){this._renderer=_e,this.element=ce,this.config=z,this._animationForciblyDisabledThroughCss=oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ge=(0,v.i$)({passive:!0,capture:!0});class Ae{constructor(){this._events=new Map,this._delegateEventHandler=_e=>{const ce=(0,v.sA)(_e);ce&&this._events.get(_e.type)?.forEach((z,oe)=>{(oe===ce||oe.contains(ce))&&z.forEach(Se=>Se.handleEvent(_e))})}}addHandler(_e,ce,z,oe){const Se=this._events.get(ce);if(Se){const at=Se.get(z);at?at.add(oe):Se.set(z,new Set([oe]))}else this._events.set(ce,new Map([[z,new Set([oe])]])),_e.runOutsideAngular(()=>{document.addEventListener(ce,this._delegateEventHandler,ge)})}removeHandler(_e,ce,z){const oe=this._events.get(_e);if(!oe)return;const Se=oe.get(ce);Se&&(Se.delete(z),0===Se.size&&oe.delete(ce),0===oe.size&&(this._events.delete(_e),document.removeEventListener(_e,this._delegateEventHandler,ge)))}}const q={enterDuration:225,exitDuration:150},ke=(0,v.i$)({passive:!0,capture:!0}),Ke=["mousedown","touchstart"],me=["mouseup","mouseleave","touchend","touchcancel"];class Pe{static#e=this._eventManager=new Ae;constructor(_e,ce,z,oe){this._target=_e,this._ngZone=ce,this._platform=oe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,oe.isBrowser&&(this._containerElement=(0,s.fI)(z))}fadeInRipple(_e,ce,z={}){const oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Se={...q,...z.animation};z.centered&&(_e=oe.left+oe.width/2,ce=oe.top+oe.height/2);const at=z.radius||function Ne(bt,_e,ce){const z=Math.max(Math.abs(bt-ce.left),Math.abs(bt-ce.right)),oe=Math.max(Math.abs(_e-ce.top),Math.abs(_e-ce.bottom));return Math.sqrt(z*z+oe*oe)}(_e,ce,oe),nt=_e-oe.left,mt=ce-oe.top,He=Se.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=nt-at+"px",rt.style.top=mt-at+"px",rt.style.height=2*at+"px",rt.style.width=2*at+"px",null!=z.color&&(rt.style.backgroundColor=z.color),rt.style.transitionDuration=`${He}ms`,this._containerElement.appendChild(rt);const Lt=window.getComputedStyle(rt),tn=Lt.transitionDuration,Nn="none"===Lt.transitionProperty||"0s"===tn||"0s, 0s"===tn||0===oe.width&&0===oe.height,ui=new Ce(this,rt,z,Nn);rt.style.transform="scale3d(1, 1, 1)",ui.state=0,z.persistent||(this._mostRecentTransientRipple=ui);let _i=null;return!Nn&&(He||Se.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Hi=()=>this._finishRippleTransition(ui),Yn=()=>this._destroyRipple(ui);rt.addEventListener("transitionend",Hi),rt.addEventListener("transitioncancel",Yn),_i={onTransitionEnd:Hi,onTransitionCancel:Yn}}),this._activeRipples.set(ui,_i),(Nn||!He)&&this._finishRippleTransition(ui),ui}fadeOutRipple(_e){if(2===_e.state||3===_e.state)return;const ce=_e.element,z={...q,..._e.config.animation};ce.style.transitionDuration=`${z.exitDuration}ms`,ce.style.opacity="0",_e.state=2,(_e._animationForciblyDisabledThroughCss||!z.exitDuration)&&this._finishRippleTransition(_e)}fadeOutAll(){this._getActiveRipples().forEach(_e=>_e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(_e=>{_e.config.persistent||_e.fadeOut()})}setupTriggerEvents(_e){const ce=(0,s.fI)(_e);!this._platform.isBrowser||!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,Ke.forEach(z=>{Pe._eventManager.addHandler(this._ngZone,z,ce,this)}))}handleEvent(_e){"mousedown"===_e.type?this._onMousedown(_e):"touchstart"===_e.type?this._onTouchStart(_e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{me.forEach(ce=>{this._triggerElement.addEventListener(ce,this,ke)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(_e){0===_e.state?this._startFadeOutTransition(_e):2===_e.state&&this._destroyRipple(_e)}_startFadeOutTransition(_e){const ce=_e===this._mostRecentTransientRipple,{persistent:z}=_e.config;_e.state=1,!z&&(!ce||!this._isPointerDown)&&_e.fadeOut()}_destroyRipple(_e){const ce=this._activeRipples.get(_e)??null;this._activeRipples.delete(_e),this._activeRipples.size||(this._containerRect=null),_e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),_e.state=3,null!==ce&&(_e.element.removeEventListener("transitionend",ce.onTransitionEnd),_e.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),_e.element.remove()}_onMousedown(_e){const ce=(0,f.X6)(_e),z=this._lastTouchStartEvent&&Date.now(){!_e.config.persistent&&(1===_e.state||_e.config.terminateOnPointerUp&&0===_e.state)&&_e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const _e=this._triggerElement;_e&&(Ke.forEach(ce=>Pe._eventManager.removeHandler(ce,_e,this)),this._pointerUpEventsRegistered&&me.forEach(ce=>_e.removeEventListener(ce,this,ke)))}}const Be=new n.InjectionToken("mat-ripple-global-options");let yt=(()=>{class bt{get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,this._setupTriggerEventsIfEnabled()}constructor(ce,z,oe,Se,at){this._elementRef=ce,this._animationMode=at,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Se||{},this._rippleRenderer=new Pe(this,z,ce,oe)}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(ce,z=0,oe){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,z,{...this.rippleConfig,...oe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ce})}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(v.t4),n.\u0275\u0275directiveInject(Be,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-ripple-unbounded",oe.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"]})}return bt})(),Ot=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})(),Yt=(()=>{class bt{constructor(ce){this._animationMode=ce,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===oe.state)("mat-pseudo-checkbox-checked","checked"===oe.state)("mat-pseudo-checkbox-disabled",oe.disabled)("mat-pseudo-checkbox-minimal","minimal"===oe.appearance)("mat-pseudo-checkbox-full","full"===oe.appearance)("_mat-animation-noopable","NoopAnimations"===oe._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(z,oe){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return bt})(),jt=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P]})}return bt})();const cn=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let fn=0;const an=new n.InjectionToken("MatOptgroup");let En=(()=>{class bt{constructor(ce){this.disabled=!1,this._labelId="mat-optgroup-label-"+fn++,this._inert=ce?.inertGroups??!1}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(cn,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(z,oe){2&z&&n.\u0275\u0275attribute("role",oe._inert?null:"group")("aria-disabled",oe._inert?null:oe.disabled.toString())("aria-labelledby",oe._inert?null:oe._labelId)},inputs:{label:"label",disabled:["disabled","disabled",n.booleanAttribute]},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:an,useExisting:bt}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:c,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(z,oe){1&z&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&z&&(n.\u0275\u0275classProp("mdc-list-item--disabled",oe.disabled),n.\u0275\u0275property("id",oe._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",oe.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0})}return bt})(),un=0;class Bt{constructor(_e,ce=!1){this.source=_e,this.isUserInput=ce}}let Ft=(()=>{class bt{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(ce){this._disabled=ce}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ce,z,oe,Se){this._element=ce,this._changeDetectorRef=z,this._parent=oe,this.group=Se,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+un++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new h.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ce=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}deselect(ce=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}focus(ce,z){const oe=this._getHostElement();"function"==typeof oe.focus&&oe.focus(z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(ce.keyCode===l.K5||ce.keyCode===l.L_)&&!(0,l.Vb)(ce)&&(this._selectViaInteraction(),ce.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ce)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new Bt(this,ce))}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(cn,8),n.\u0275\u0275directiveInject(an,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-option"]],viewQuery:function(z,oe){if(1&z&&n.\u0275\u0275viewQuery(d,7),2&z){let Se;n.\u0275\u0275queryRefresh(Se=n.\u0275\u0275loadQuery())&&(oe._text=Se.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(z,oe){1&z&&n.\u0275\u0275listener("click",function(){return oe._selectViaInteraction()})("keydown",function(at){return oe._handleKeydown(at)}),2&z&&(n.\u0275\u0275hostProperty("id",oe.id),n.\u0275\u0275attribute("aria-selected",oe.selected)("aria-disabled",oe.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",oe.selected)("mat-mdc-option-multiple",oe.multiple)("mat-mdc-option-active",oe.active)("mdc-list-item--disabled",oe.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",n.booleanAttribute]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.\u0275\u0275InputTransformsFeature],ngContentSelectors:w,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(z,oe){1&z&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275template(0,g,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,b,1,1,"mat-pseudo-checkbox",3)(6,C,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&z&&(n.\u0275\u0275conditional(0,oe.multiple?0:-1),n.\u0275\u0275advance(5),n.\u0275\u0275conditional(5,oe.multiple||!oe.selected||oe.hideSingleSelectionIndicator?-1:5),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,oe.group&&oe.group._inert?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",oe._getHostElement())("matRippleDisabled",oe.disabled||oe.disableRipple))},dependencies:[yt,Yt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return bt})();function De(bt,_e,ce){if(ce.length){let z=_e.toArray(),oe=ce.toArray(),Se=0;for(let at=0;atce+z?Math.max(0,bt-z+_e):ce}let Xe=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ot,P,jt]})}return bt})();const St={capture:!0},tt=["focus","click","mouseenter","touchstart"],ut="mat-ripple-loader-uninitialized",Oe="mat-ripple-loader-class-name",Ct="mat-ripple-loader-centered",Pt="mat-ripple-loader-disabled";let Nt=(()=>{class bt{constructor(){this._document=(0,n.inject)(u.DOCUMENT,{optional:!0}),this._animationMode=(0,n.inject)(n.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,n.inject)(Be,{optional:!0}),this._platform=(0,n.inject)(v.t4),this._ngZone=(0,n.inject)(n.NgZone),this._hosts=new Map,this._onInteraction=ce=>{if(!(ce.target instanceof HTMLElement))return;const oe=ce.target.closest(`[${ut}]`);oe&&this._createRipple(oe)},this._ngZone.runOutsideAngular(()=>{for(const ce of tt)this._document?.addEventListener(ce,this._onInteraction,St)})}ngOnDestroy(){const ce=this._hosts.keys();for(const z of ce)this.destroyRipple(z);for(const z of tt)this._document?.removeEventListener(z,this._onInteraction,St)}configureRipple(ce,z){ce.setAttribute(ut,""),(z.className||!ce.hasAttribute(Oe))&&ce.setAttribute(Oe,z.className||""),z.centered&&ce.setAttribute(Ct,""),z.disabled&&ce.setAttribute(Pt,"")}getRipple(ce){return this._hosts.get(ce)||this._createRipple(ce)}setDisabled(ce,z){const oe=this._hosts.get(ce);oe?oe.disabled=z:z?ce.setAttribute(Pt,""):ce.removeAttribute(Pt)}_createRipple(ce){if(!this._document)return;const z=this._hosts.get(ce);if(z)return z;ce.querySelector(".mat-ripple")?.remove();const oe=this._document.createElement("span");oe.classList.add("mat-ripple",ce.getAttribute(Oe)),ce.append(oe);const Se=new yt(new n.ElementRef(oe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Se._isInitialized=!0,Se.trigger=ce,Se.centered=ce.hasAttribute(Ct),Se.disabled=ce.hasAttribute(Pt),this.attachRipple(ce,Se),Se}attachRipple(ce,z){ce.removeAttribute(ut),this._hosts.set(ce,z)}destroyRipple(ce){const z=this._hosts.get(ce);z&&(z.ngOnDestroy(),this._hosts.delete(ce))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},8034:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DateRange:()=>Ke,DefaultMatCalendarRangeStrategy:()=>cn,MAT_DATEPICKER_SCROLL_STRATEGY:()=>_e,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>ce,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>z,MAT_DATEPICKER_VALIDATORS:()=>Xt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Lt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>jt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Ot,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Yt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Be,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>yt,MatCalendar:()=>Pt,MatCalendarBody:()=>Ie,MatCalendarCell:()=>Ze,MatCalendarHeader:()=>Ct,MatDateRangeInput:()=>ct,MatDateRangePicker:()=>Ut,MatDateSelectionModel:()=>me,MatDatepicker:()=>nt,MatDatepickerActions:()=>Ht,MatDatepickerApply:()=>wt,MatDatepickerCancel:()=>vt,MatDatepickerContent:()=>Se,MatDatepickerInput:()=>tn,MatDatepickerInputEvent:()=>mt,MatDatepickerIntl:()=>Ye,MatDatepickerModule:()=>dn,MatDatepickerToggle:()=>ui,MatDatepickerToggleIcon:()=>Nn,MatEndDate:()=>it,MatMonthView:()=>un,MatMultiYearView:()=>De,MatRangeDateSelectionModel:()=>Ne,MatSingleDateSelectionModel:()=>Pe,MatStartDate:()=>qt,MatYearView:()=>ut,matDatepickerAnimations:()=>Nt,yearsPerPage:()=>Bt,yearsPerRow:()=>Ft});var n=_(4191),f=_(9594),D=_(8484),y=_(6814),u=_(9212),v=_(2296),s=_(6672),m=_(3680),h=_(8645),o=_(7394),l=_(3019),r=_(2096),c=_(6028),d=_(9388),g=_(2831),b=_(8180),C=_(7921),x=_(2181),w=_(2495),T=_(6825),S=_(6223),M=_(4170),k=_(8582);const I=["mat-calendar-body",""];function P(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",0)(1,"td",2),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y.numCols),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.label," ")}}function A(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"td",2),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&ze){const Y=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y._firstRowOffset),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y._firstRowOffset>=Y.labelMinRequiredCells?Y.label:""," ")}}function L(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"td",5)(1,"button",6),u.\u0275\u0275listener("click",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._cellClicked(_t,de))})("focus",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._emitActiveDateChange(_t,de))}),u.\u0275\u0275elementStart(2,"span",7),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(4,"span",8),u.\u0275\u0275elementEnd()()}if(2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext().$index,Qe=u.\u0275\u0275nextContext();u.\u0275\u0275styleProp("width",Qe._cellWidth)("padding-top",Qe._cellPadding)("padding-bottom",Qe._cellPadding),u.\u0275\u0275attribute("data-mat-row",de)("data-mat-col",pe),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-disabled",!Y.enabled)("mat-calendar-body-active",Qe._isActiveCell(de,pe))("mat-calendar-body-range-start",Qe._isRangeStart(Y.compareValue))("mat-calendar-body-range-end",Qe._isRangeEnd(Y.compareValue))("mat-calendar-body-in-range",Qe._isInRange(Y.compareValue))("mat-calendar-body-comparison-bridge-start",Qe._isComparisonBridgeStart(Y.compareValue,de,pe))("mat-calendar-body-comparison-bridge-end",Qe._isComparisonBridgeEnd(Y.compareValue,de,pe))("mat-calendar-body-comparison-start",Qe._isComparisonStart(Y.compareValue))("mat-calendar-body-comparison-end",Qe._isComparisonEnd(Y.compareValue))("mat-calendar-body-in-comparison-range",Qe._isInComparisonRange(Y.compareValue))("mat-calendar-body-preview-start",Qe._isPreviewStart(Y.compareValue))("mat-calendar-body-preview-end",Qe._isPreviewEnd(Y.compareValue))("mat-calendar-body-in-preview",Qe._isInPreview(Y.compareValue)),u.\u0275\u0275property("ngClass",Y.cssClasses)("tabindex",Qe._isActiveCell(de,pe)?0:-1),u.\u0275\u0275attribute("aria-label",Y.ariaLabel)("aria-disabled",!Y.enabled||null)("aria-pressed",Qe._isSelected(Y.compareValue))("aria-current",Qe.todayValue===Y.compareValue?"date":null)("aria-describedby",Qe._getDescribedby(Y.compareValue)),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-selected",Qe._isSelected(Y.compareValue))("mat-calendar-body-comparison-identical",Qe._isComparisonIdentical(Y.compareValue))("mat-calendar-body-today",Qe.todayValue===Y.compareValue),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.displayValue," ")}}function F(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",3),u.\u0275\u0275template(1,A,2,6,"td",4),u.\u0275\u0275repeaterCreate(2,L,5,48,"td",9,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd()),2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275conditional(1,0===pe&&de._firstRowOffset?1:-1),u.\u0275\u0275advance(1),u.\u0275\u0275repeater(Y)}}function R(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"th",4)(1,"span",5),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"span",6),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&ze){const Y=en.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.long),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.narrow)}}const U=["*"];function W(ze,en){}function ne(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-month-view",2),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("_userSelection",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dateSelected(de))})("dragStarted",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragStarted(de))})("dragEnded",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragEnded(de))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)("comparisonStart",Y.comparisonStart)("comparisonEnd",Y.comparisonEnd)("startDateAccessibleName",Y.startDateAccessibleName)("endDateAccessibleName",Y.endDateAccessibleName)("activeDrag",Y._activeDrag)}}function ee(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-year-view",3),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("monthSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._monthSelectedInYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"month"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function j(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-multi-year-view",4),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("yearSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._yearSelectedInMultiYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"year"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function B(ze,en){}const $=["button"];function Z(ze,en){1&ze&&(u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(0,"svg",3),u.\u0275\u0275element(1,"path",4),u.\u0275\u0275elementEnd())}const H=[[["","matDatepickerToggleIcon",""]]],te=["[matDatepickerToggleIcon]"],ue=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ye=["input[matStartDate]","input[matEndDate]"];function Ge(ze,en){1&ze&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275projection(1),u.\u0275\u0275elementEnd())}let Ye=(()=>{class ze{constructor(){this.changes=new h.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Y,pe){return`${Y} \u2013 ${pe}`}formatYearRangeLabel(Y,pe){return`${Y} to ${pe}`}static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class Ze{constructor(en,Y,pe,de,Qe={},_t=en,hn){this.value=en,this.displayValue=Y,this.ariaLabel=pe,this.enabled=de,this.cssClasses=Qe,this.compareValue=_t,this.rawValue=hn}}let Et=1;const Te=(0,g.i$)({passive:!1,capture:!0}),qe=(0,g.i$)({passive:!0,capture:!0}),Ee=(0,g.i$)({passive:!0});let Ie=(()=>{class ze{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Y,pe){this._elementRef=Y,this._ngZone=pe,this._platform=(0,u.inject)(g.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new u.EventEmitter,this.previewChange=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=de=>{if(this._skipNextFocus&&"focus"===de.type)this._skipNextFocus=!1;else if(de.target&&this.isRange){const Qe=this._getCellFromElement(de.target);Qe&&this._ngZone.run(()=>this.previewChange.emit({value:Qe.enabled?Qe:null,event:de}))}},this._touchmoveHandler=de=>{if(!this.isRange)return;const Qe=ke(de),_t=Qe?this._getCellFromElement(Qe):null;Qe!==de.target&&(this._didDragSinceMouseDown=!0),ge(de.target)&&de.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:_t?.enabled?_t:null,event:de}))},this._leaveHandler=de=>{null!==this.previewEnd&&this.isRange&&("blur"!==de.type&&(this._didDragSinceMouseDown=!0),de.target&&this._getCellFromElement(de.target)&&(!de.relatedTarget||!this._getCellFromElement(de.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:de})))},this._mousedownHandler=de=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Qe=de.target&&this._getCellFromElement(de.target);!Qe||!this._isInRange(Qe.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Qe.rawValue,event:de})})},this._mouseupHandler=de=>{if(!this.isRange)return;const Qe=ge(de.target);Qe?Qe.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const _t=this._getCellFromElement(Qe);this.dragEnded.emit({value:_t?.rawValue??null,event:de})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:de})})},this._touchendHandler=de=>{const Qe=ke(de);Qe&&this._mouseupHandler({target:Qe})},this._id="mat-calendar-body-"+Et++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,pe.runOutsideAngular(()=>{const de=Y.nativeElement;de.addEventListener("touchmove",this._touchmoveHandler,Te),de.addEventListener("mouseenter",this._enterHandler,qe),de.addEventListener("focus",this._enterHandler,qe),de.addEventListener("mouseleave",this._leaveHandler,qe),de.addEventListener("blur",this._leaveHandler,qe),de.addEventListener("mousedown",this._mousedownHandler,Ee),de.addEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Y,pe){this._didDragSinceMouseDown||Y.enabled&&this.selectedValueChange.emit({value:Y.value,event:pe})}_emitActiveDateChange(Y,pe){Y.enabled&&this.activeDateChange.emit({value:Y.value,event:pe})}_isSelected(Y){return this.startValue===Y||this.endValue===Y}ngOnChanges(Y){const pe=Y.numCols,{rows:de,numCols:Qe}=this;(Y.rows||pe)&&(this._firstRowOffset=de&&de.length&&de[0].length?Qe-de[0].length:0),(Y.cellAspectRatio||pe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Qe+"%"),(pe||!this._cellWidth)&&(this._cellWidth=100/Qe+"%")}ngOnDestroy(){const Y=this._elementRef.nativeElement;Y.removeEventListener("touchmove",this._touchmoveHandler,Te),Y.removeEventListener("mouseenter",this._enterHandler,qe),Y.removeEventListener("focus",this._enterHandler,qe),Y.removeEventListener("mouseleave",this._leaveHandler,qe),Y.removeEventListener("blur",this._leaveHandler,qe),Y.removeEventListener("mousedown",this._mousedownHandler,Ee),Y.removeEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Y,pe){let de=Y*this.numCols+pe;return Y&&(de-=this._firstRowOffset),de==this.activeCell}_focusActiveCell(Y=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{setTimeout(()=>{const pe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");pe&&(Y||(this._skipNextFocus=!0),pe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Y){return Ae(Y,this.startValue,this.endValue)}_isRangeEnd(Y){return q(Y,this.startValue,this.endValue)}_isInRange(Y){return Re(Y,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Y){return Ae(Y,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Y,pe,de){if(!this._isComparisonStart(Y)||this._isRangeStart(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de-1];if(!Qe){const _t=this.rows[pe-1];Qe=_t&&_t[_t.length-1]}return Qe&&!this._isRangeEnd(Qe.compareValue)}_isComparisonBridgeEnd(Y,pe,de){if(!this._isComparisonEnd(Y)||this._isRangeEnd(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de+1];if(!Qe){const _t=this.rows[pe+1];Qe=_t&&_t[0]}return Qe&&!this._isRangeStart(Qe.compareValue)}_isComparisonEnd(Y){return q(Y,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Y){return Re(Y,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Y){return this.comparisonStart===this.comparisonEnd&&Y===this.comparisonStart}_isPreviewStart(Y){return Ae(Y,this.previewStart,this.previewEnd)}_isPreviewEnd(Y){return q(Y,this.previewStart,this.previewEnd)}_isInPreview(Y){return Re(Y,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Y){return this.isRange?this.startValue===Y&&this.endValue===Y?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Y?this._startDateLabelId:this.endValue===Y?this._endDateLabelId:null:null}_getCellFromElement(Y){const pe=ge(Y);if(pe){const de=pe.getAttribute("data-mat-row"),Qe=pe.getAttribute("data-mat-col");if(de&&Qe)return this.rows[parseInt(de)][parseInt(Qe)]}return null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[u.\u0275\u0275NgOnChangesFeature],attrs:I,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(pe,de){1&pe&&(u.\u0275\u0275template(0,P,3,6,"tr",0),u.\u0275\u0275repeaterCreate(1,F,4,1,"tr",3,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementStart(3,"label",1),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"label",1),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275conditional(0,de._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return ze})();function Ce(ze){return"TD"===ze?.nodeName}function ge(ze){let en;return Ce(ze)?en=ze:Ce(ze.parentNode)?en=ze.parentNode:Ce(ze.parentNode?.parentNode)&&(en=ze.parentNode.parentNode),null!=en?.getAttribute("data-mat-row")?en:null}function Ae(ze,en,Y){return null!==Y&&en!==Y&&ze=en&&ze===Y}function Re(ze,en,Y,pe){return pe&&null!==en&&null!==Y&&en!==Y&&ze>=en&&ze<=Y}function ke(ze){const en=ze.changedTouches[0];return document.elementFromPoint(en.clientX,en.clientY)}class Ke{constructor(en,Y){this.start=en,this.end=Y}}let me=(()=>{class ze{constructor(Y,pe){this.selection=Y,this._adapter=pe,this._selectionChanged=new h.x,this.selectionChanged=this._selectionChanged,this.selection=Y}updateSelection(Y,pe){const de=this.selection;this.selection=Y,this._selectionChanged.next({selection:Y,source:pe,oldValue:de})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Y){return this._adapter.isDateInstance(Y)&&this._adapter.isValid(Y)}static#e=this.\u0275fac=function(pe){u.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Pe=(()=>{class ze extends me{constructor(Y){super(null,Y)}add(Y){super.updateSelection(Y,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Ne=(()=>{class ze extends me{constructor(Y){super(new Ke(null,null),Y)}add(Y){let{start:pe,end:de}=this.selection;null==pe?pe=Y:null==de?de=Y:(pe=Y,de=null),super.updateSelection(new Ke(pe,de),this)}isValid(){const{start:Y,end:pe}=this.selection;return null==Y&&null==pe||(null!=Y&&null!=pe?this._isValidDateInstance(Y)&&this._isValidDateInstance(pe)&&this._adapter.compareDate(Y,pe)<=0:(null==Y||this._isValidDateInstance(Y))&&(null==pe||this._isValidDateInstance(pe)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();function Be(ze,en){return ze||new Pe(en)}const yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Be};function Ot(ze,en){return ze||new Ne(en)}const Yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Ot},jt=new u.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let cn=(()=>{class ze{constructor(Y){this._dateAdapter=Y}selectionFinished(Y,pe){let{start:de,end:Qe}=pe;return null==de?de=Y:null==Qe&&Y&&this._dateAdapter.compareDate(Y,de)>=0?Qe=Y:(de=Y,Qe=null),new Ke(de,Qe)}createPreview(Y,pe){let de=null,Qe=null;return pe.start&&!pe.end&&Y&&(de=pe.start,Qe=Y),new Ke(de,Qe)}createDrag(Y,pe,de){let Qe=pe.start,_t=pe.end;if(!Qe||!_t)return null;const hn=this._dateAdapter,On=0!==hn.compareDate(Qe,_t),Bn=hn.getYear(de)-hn.getYear(Y),Ci=hn.getMonth(de)-hn.getMonth(Y),Zn=hn.getDate(de)-hn.getDate(Y);return On&&hn.sameDate(Y,pe.start)?(Qe=de,hn.compareDate(de,_t)>0&&(_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn))):On&&hn.sameDate(Y,pe.end)?(_t=de,hn.compareDate(de,Qe)<0&&(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn))):(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn),_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn)),new Ke(Qe,_t)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();const an={provide:jt,deps:[[new u.Optional,new u.SkipSelf,jt],m.DateAdapter],useFactory:function fn(ze,en){return ze||new cn(en)}};let un=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){const pe=this._activeDate,de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._hasSameMonthAndYear(pe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rangeStrategy=_t,this._rerenderSubscription=o.w0.EMPTY,this.activeDrag=null,this.selectedChange=new u.EventEmitter,this._userSelection=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnChanges(Y){const pe=Y.comparisonStart||Y.comparisonEnd;pe&&!pe.firstChange&&this._setRanges(this.selected),Y.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Y){const pe=Y.value,de=this._getDateFromDayOfMonth(pe);let Qe,_t;this._selected instanceof Ke?(Qe=this._getDateInCurrentMonth(this._selected.start),_t=this._getDateInCurrentMonth(this._selected.end)):Qe=_t=this._getDateInCurrentMonth(this._selected),(Qe!==pe||_t!==pe)&&this.selectedChange.emit(de),this._userSelection.emit({value:de,event:Y.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.Ku:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.VM:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.K5:case c.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Y.preventDefault());case c.hY:return void(null!=this._previewEnd&&!(0,c.Vb)(Y)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Y}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Y})),Y.preventDefault(),Y.stopPropagation()));default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Y=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Y)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Y){this._matCalendarBody._focusActiveCell(Y)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Y,value:pe}){if(this._rangeStrategy){const de=pe?pe.rawValue:null,Qe=this._rangeStrategy.createPreview(de,this.selected,Y);if(this._previewStart=this._getCellCompareValue(Qe.start),this._previewEnd=this._getCellCompareValue(Qe.end),this.activeDrag&&de){const _t=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,de,Y);_t&&(this._previewStart=this._getCellCompareValue(_t.start),this._previewEnd=this._getCellCompareValue(_t.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Y){if(this.activeDrag)if(Y.value){const pe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Y.value,Y.event);this.dragEnded.emit({value:pe??null,event:Y.event})}else this.dragEnded.emit({value:null,event:Y.event})}_getDateFromDayOfMonth(Y){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Y)}_initWeekdays(){const Y=this._dateAdapter.getFirstDayOfWeek(),pe=this._dateAdapter.getDayOfWeekNames("narrow");let Qe=this._dateAdapter.getDayOfWeekNames("long").map((_t,hn)=>({long:_t,narrow:pe[hn]}));this._weekdays=Qe.slice(Y).concat(Qe.slice(0,Y))}_createWeekCells(){const Y=this._dateAdapter.getNumDaysInMonth(this.activeDate),pe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let de=0,Qe=this._firstWeekOffset;de=0)&&(!this.maxDate||this._dateAdapter.compareDate(Y,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Y))}_getDateInCurrentMonth(Y){return Y&&this._hasSameMonthAndYear(Y,this.activeDate)?this._dateAdapter.getDate(Y):null}_hasSameMonthAndYear(Y,pe){return!(!Y||!pe||this._dateAdapter.getMonth(Y)!=this._dateAdapter.getMonth(pe)||this._dateAdapter.getYear(Y)!=this._dateAdapter.getYear(pe))}_getCellCompareValue(Y){if(Y){const pe=this._dateAdapter.getYear(Y),de=this._dateAdapter.getMonth(Y),Qe=this._dateAdapter.getDate(Y);return new Date(pe,de,Qe).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Y){Y instanceof Ke?(this._rangeStart=this._getCellCompareValue(Y.start),this._rangeEnd=this._getCellCompareValue(Y.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Y),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Y){return!this.dateFilter||this.dateFilter(Y)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-month-view"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Ie,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._matCalendarBody=Qe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[u.\u0275\u0275NgOnChangesFeature],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(pe,de){1&pe&&(u.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),u.\u0275\u0275repeaterCreate(3,R,5,2,"th",4,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"tr"),u.\u0275\u0275element(6,"th",2),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(7,"tbody",3),u.\u0275\u0275listener("selectedValueChange",function(_t){return de._dateSelected(_t)})("activeDateChange",function(_t){return de._updateActiveDate(_t)})("previewChange",function(_t){return de._previewChanged(_t)})("dragStarted",function(_t){return de.dragStarted.emit(_t)})("dragEnded",function(_t){return de._dragEnded(_t)})("keyup",function(_t){return de._handleCalendarBodyKeyup(_t)})("keydown",function(_t){return de._handleCalendarBodyKeydown(_t)}),u.\u0275\u0275elementEnd()()),2&pe&&(u.\u0275\u0275advance(3),u.\u0275\u0275repeater(de._weekdays),u.\u0275\u0275advance(4),u.\u0275\u0275property("label",de._monthLabel)("rows",de._weeks)("todayValue",de._todayDate)("startValue",de._rangeStart)("endValue",de._rangeEnd)("comparisonStart",de._comparisonRangeStart)("comparisonEnd",de._comparisonRangeEnd)("previewStart",de._previewStart)("previewEnd",de._previewEnd)("isRange",de._isRange)("labelMinRequiredCells",3)("activeCell",de._dateAdapter.getDate(de.activeDate)-1)("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName))},dependencies:[Ie],encapsulation:2,changeDetection:0})}return ze})();const Bt=24,Ft=4;let De=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),Ve(this._dateAdapter,pe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedYear(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de){this._changeDetectorRef=Y,this._dateAdapter=pe,this._dir=de,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const pe=this._dateAdapter.getYear(this._activeDate)-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let de=0,Qe=[];dethis._createCellForYear(_t))),Qe=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(pe,0,1),Qe=this._getDateFromYear(pe);this.yearSelected.emit(de),this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromYear(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ft);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ft);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bt-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*-Bt:-Bt);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*Bt:Bt);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_getActiveCell(){return Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Y){const pe=this._dateAdapter.getMonth(this.activeDate),de=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Y,pe,1));return this._dateAdapter.createDate(Y,pe,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForYear(Y){const pe=this._dateAdapter.createDate(Y,0,1),de=this._dateAdapter.getYearName(pe),Qe=this.dateClass?this.dateClass(pe,"multi-year"):void 0;return new Ze(Y,de,de,this._shouldEnableYear(Y),Qe)}_shouldEnableYear(Y){if(null==Y||this.maxDate&&Y>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Y{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._dateAdapter.getYear(pe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedMonth(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,1);this.monthSelected.emit(de);const Qe=this._getDateFromMonth(pe);this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?-10:-1);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10:1);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Y=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(pe=>pe.map(de=>this._createCellForMonth(de,Y[de]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Y){return Y&&this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Y):null}_getDateFromMonth(Y){const pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),de=this._dateAdapter.getNumDaysInMonth(pe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForMonth(Y,pe){const de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),Qe=this._dateAdapter.format(de,this._dateFormats.display.monthYearA11yLabel),_t=this.dateClass?this.dateClass(de,"year"):void 0;return new Ze(Y,pe.toLocaleUpperCase(),Qe,this._shouldEnableMonth(Y),_t)}_shouldEnableMonth(Y){const pe=this._dateAdapter.getYear(this.activeDate);if(null==Y||this._isYearAndMonthAfterMaxDate(pe,Y)||this._isYearAndMonthBeforeMinDate(pe,Y))return!1;if(!this.dateFilter)return!0;for(let Qe=this._dateAdapter.createDate(pe,Y,1);this._dateAdapter.getMonth(Qe)==Y;Qe=this._dateAdapter.addCalendarDays(Qe,1))if(this.dateFilter(Qe))return!0;return!1}_isYearAndMonthAfterMaxDate(Y,pe){if(this.maxDate){const de=this._dateAdapter.getYear(this.maxDate),Qe=this._dateAdapter.getMonth(this.maxDate);return Y>de||Y===de&&pe>Qe}return!1}_isYearAndMonthBeforeMinDate(Y,pe){if(this.minDate){const de=this._dateAdapter.getYear(this.minDate),Qe=this._dateAdapter.getMonth(this.minDate);return Y{class ze{constructor(Y,pe,de,Qe,_t){this._intl=Y,this.calendar=pe,this._dateAdapter=de,this._dateFormats=Qe,this._id="mat-calendar-header-"+Oe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>_t.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Bt)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Bt)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Y,pe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe)&&this._dateAdapter.getMonth(Y)==this._dateAdapter.getMonth(pe):"year"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe):Ve(this._dateAdapter,Y,pe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const pe=this._dateAdapter.getYear(this.calendar.activeDate)-Xe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),de=pe+Bt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(pe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(de,0,1))]}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject((0,u.forwardRef)(()=>Pt)),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:U,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),u.\u0275\u0275listener("click",function(){return de.currentPeriodClicked()}),u.\u0275\u0275elementStart(3,"span",3),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(5,"svg",4),u.\u0275\u0275element(6,"polygon",5),u.\u0275\u0275elementEnd()(),u.\u0275\u0275namespaceHTML(),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275projection(8),u.\u0275\u0275elementStart(9,"button",7),u.\u0275\u0275listener("click",function(){return de.previousClicked()}),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"button",8),u.\u0275\u0275listener("click",function(){return de.nextClicked()}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(11,"label",9),u.\u0275\u0275text(12),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275advance(2),u.\u0275\u0275attribute("aria-label",de.periodButtonLabel)("aria-describedby",de._periodButtonLabelId),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(de.periodButtonText),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-invert","month"!==de.calendar.currentView),u.\u0275\u0275advance(4),u.\u0275\u0275property("disabled",!de.previousEnabled()),u.\u0275\u0275attribute("aria-label",de.prevButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("disabled",!de.nextEnabled()),u.\u0275\u0275attribute("aria-label",de.nextButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("id",de._periodButtonLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.periodButtonDescription))},dependencies:[v.MatButton,v.MatIconButton],encapsulation:2,changeDetection:0})}return ze})(),Pt=(()=>{class ze{get startAt(){return this._startAt}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get activeDate(){return this._clampedActiveDate}set activeDate(Y){this._clampedActiveDate=this._dateAdapter.clampDate(Y,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Y){const pe=this._currentView!==Y?Y:null;this._currentView=Y,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),pe&&this.viewChanged.emit(pe)}constructor(Y,pe,de,Qe){this._dateAdapter=pe,this._dateFormats=de,this._changeDetectorRef=Qe,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this._userSelection=new u.EventEmitter,this._userDragDrop=new u.EventEmitter,this._activeDrag=null,this.stateChanges=new h.x,this._intlChanges=Y.changes.subscribe(()=>{Qe.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new D.C5(this.headerComponent||Ct),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Y){const pe=Y.minDate&&!this._dateAdapter.sameDate(Y.minDate.previousValue,Y.minDate.currentValue)?Y.minDate:void 0,de=Y.maxDate&&!this._dateAdapter.sameDate(Y.maxDate.previousValue,Y.maxDate.currentValue)?Y.maxDate:void 0,Qe=pe||de||Y.dateFilter;if(Qe&&!Qe.firstChange){const _t=this._getCurrentViewComponent();_t&&(this._changeDetectorRef.detectChanges(),_t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Y){const pe=Y.value;(this.selected instanceof Ke||pe&&!this._dateAdapter.sameDate(pe,this.selected))&&this.selectedChange.emit(pe),this._userSelection.emit(Y)}_yearSelectedInMultiYearView(Y){this.yearSelected.emit(Y)}_monthSelectedInYearView(Y){this.monthSelected.emit(Y)}_goToDateInView(Y,pe){this.activeDate=Y,this.currentView=pe}_dragStarted(Y){this._activeDrag=Y}_dragEnded(Y){this._activeDrag&&(Y.value&&this._userDragDrop.emit(Y),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar"]],viewQuery:function(pe,de){if(1&pe&&(u.\u0275\u0275viewQuery(un,5),u.\u0275\u0275viewQuery(ut,5),u.\u0275\u0275viewQuery(De,5)),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.monthView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.yearView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.multiYearView=Qe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[u.\u0275\u0275ProvidersFeature([yt]),u.\u0275\u0275NgOnChangesFeature],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(pe,de){if(1&pe&&(u.\u0275\u0275template(0,W,0,0,"ng-template",0),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275template(2,ne,1,11)(3,ee,1,6)(4,j,1,6),u.\u0275\u0275elementEnd()),2&pe){let Qe;u.\u0275\u0275property("cdkPortalOutlet",de._calendarHeaderPortal),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,"month"===(Qe=de.currentView)?2:"year"===Qe?3:"multi-year"===Qe?4:-1)}},dependencies:[n.kH,D.Pl,un,ut,De],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return ze})();const Nt={transformPanel:(0,T.X$)("transformPanel",[(0,T.eR)("void => enter-dropdown",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,T.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,T.eR)("void => enter-dialog",(0,T.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(0.7)"}),(0,T.oB)({transform:"none",opacity:1})]))),(0,T.eR)("* => void",(0,T.jt)("100ms linear",(0,T.oB)({opacity:0})))]),fadeInCalendar:(0,T.X$)("fadeInCalendar",[(0,T.SB)("void",(0,T.oB)({opacity:0})),(0,T.SB)("enter",(0,T.oB)({opacity:1})),(0,T.eR)("void => *",(0,T.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let bt=0;const _e=new u.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const ze=(0,u.inject)(f.aV);return()=>ze.scrollStrategies.reposition()}});function ce(ze){return()=>ze.scrollStrategies.reposition()}const z={provide:_e,deps:[f.aV],useFactory:ce},oe=(0,m.mixinColor)(class{constructor(ze){this._elementRef=ze}});let Se=(()=>{class ze extends oe{constructor(Y,pe,de,Qe,_t,hn){super(Y),this._changeDetectorRef=pe,this._globalModel=de,this._dateAdapter=Qe,this._rangeSelectionStrategy=_t,this._subscriptions=new o.w0,this._animationDone=new h.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=hn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Y){const pe=this._model.selection,de=Y.value,Qe=pe instanceof Ke;if(Qe&&this._rangeSelectionStrategy){const _t=this._rangeSelectionStrategy.selectionFinished(de,pe,Y.event);this._model.updateSelection(_t,this)}else de&&(Qe||!this._dateAdapter.sameDate(de,pe))&&this._model.add(de);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Y){this._model.updateSelection(Y.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Y){this._isAnimating="start"===Y.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Y,pe){this._model=Y?this._globalModel.clone():this._globalModel,this._actionsPortal=Y,pe&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(me),u.\u0275\u0275directiveInject(m.DateAdapter),u.\u0275\u0275directiveInject(jt,8),u.\u0275\u0275directiveInject(Ye))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-content"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Pt,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._calendar=Qe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275syntheticHostListener("@transformPanel.start",function(_t){return de._handleAnimationEvent(_t)})("@transformPanel.done",function(_t){return de._handleAnimationEvent(_t)}),2&pe&&(u.\u0275\u0275syntheticHostProperty("@transformPanel",de._animationState),u.\u0275\u0275classProp("mat-datepicker-content-touch",de.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[u.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(pe,de){if(1&pe&&(u.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),u.\u0275\u0275listener("yearSelected",function(_t){return de.datepicker._selectYear(_t)})("monthSelected",function(_t){return de.datepicker._selectMonth(_t)})("viewChanged",function(_t){return de.datepicker._viewChanged(_t)})("_userSelection",function(_t){return de._handleUserSelection(_t)})("_userDragDrop",function(_t){return de._handleUserDragDrop(_t)}),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(2,B,0,0,"ng-template",2),u.\u0275\u0275elementStart(3,"button",3),u.\u0275\u0275listener("focus",function(){return de._closeButtonFocused=!0})("blur",function(){return de._closeButtonFocused=!1})("click",function(){return de.datepicker.close()}),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&pe){let Qe;u.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",de.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",de._actionsPortal),u.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Qe=de._dialogLabelId)&&void 0!==Qe?Qe:void 0),u.\u0275\u0275advance(1),u.\u0275\u0275property("id",de.datepicker.id)("ngClass",de.datepicker.panelClass)("startAt",de.datepicker.startAt)("startView",de.datepicker.startView)("minDate",de.datepicker._getMinDate())("maxDate",de.datepicker._getMaxDate())("dateFilter",de.datepicker._getDateFilter())("headerComponent",de.datepicker.calendarHeaderComponent)("selected",de._getSelected())("dateClass",de.datepicker.dateClass)("comparisonStart",de.comparisonStart)("comparisonEnd",de.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName),u.\u0275\u0275advance(1),u.\u0275\u0275property("cdkPortalOutlet",de._actionsPortal),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("cdk-visually-hidden",!de._closeButtonFocused),u.\u0275\u0275property("color",de.color||"primary"),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de._closeButtonText)}},dependencies:[y.NgClass,v.MatButton,n.mK,D.Pl,Pt],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Nt.transformPanel,Nt.fadeInCalendar]},changeDetection:0})}return ze})(),at=(()=>{class ze{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Y){this._color=Y}get touchUi(){return this._touchUi}set touchUi(Y){this._touchUi=(0,w.Ig)(Y)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._disabled&&(this._disabled=pe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Y){this._restoreFocus=(0,w.Ig)(Y)}get panelClass(){return this._panelClass}set panelClass(Y){this._panelClass=(0,w.du)(Y)}get opened(){return this._opened}set opened(Y){(0,w.Ig)(Y)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(Y,pe,de,Qe,_t,hn,On){this._overlay=Y,this._ngZone=pe,this._viewContainerRef=de,this._dateAdapter=_t,this._dir=hn,this._model=On,this._inputStateChanges=o.w0.EMPTY,this._document=(0,u.inject)(y.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this.openedStream=new u.EventEmitter,this.closedStream=new u.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+bt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.x,this._scrollStrategy=Qe}ngOnChanges(Y){const pe=Y.xPosition||Y.yPosition;if(pe&&!pe.firstChange&&this._overlayRef){const de=this._overlayRef.getConfig().positionStrategy;de instanceof f._G&&(this._setConnectedPositions(de),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Y){this._model.add(Y)}_selectYear(Y){this.yearSelected.emit(Y)}_selectMonth(Y){this.monthSelected.emit(Y)}_viewChanged(Y){this.viewChanged.emit(Y)}registerInput(Y){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Y,this._inputStateChanges=Y.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Y){this._actionsPortal=Y,this._componentRef?.instance._assignActions(Y,!0)}removeActions(Y){Y===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,g.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Y=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,pe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:de,location:Qe}=this._componentRef;de._startExitAnimation(),de._animationDone.pipe((0,b.q)(1)).subscribe(()=>{const _t=this._document.activeElement;Y&&(!_t||_t===this._document.activeElement||Qe.nativeElement.contains(_t))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Y?setTimeout(pe):pe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Y){Y.datepicker=this,Y.color=this.color,Y._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Y._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Y=this.touchUi,pe=new D.C5(Se,this._viewContainerRef),de=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:Y?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Y?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Y?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Y?"dialog":"popup")}));this._getCloseStream(de).subscribe(Qe=>{Qe&&Qe.preventDefault(),this.close()}),de.keydownEvents().subscribe(Qe=>{const _t=Qe.keyCode;(_t===c.LH||_t===c.JH||_t===c.oh||_t===c.SV||_t===c.Ku||_t===c.VM)&&Qe.preventDefault()}),this._componentRef=de.attach(pe),this._forwardContentValues(this._componentRef.instance),Y||this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>de.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Y=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Y)}_setConnectedPositions(Y){const pe="end"===this.xPosition?"end":"start",de="start"===pe?"end":"start",Qe="above"===this.yPosition?"bottom":"top",_t="top"===Qe?"bottom":"top";return Y.withPositions([{originX:pe,originY:_t,overlayX:pe,overlayY:Qe},{originX:pe,originY:Qe,overlayX:pe,overlayY:_t},{originX:de,originY:_t,overlayX:de,overlayY:Qe},{originX:de,originY:Qe,overlayX:de,overlayY:_t}])}_getCloseStream(Y){const pe=["ctrlKey","shiftKey","metaKey"];return(0,l.T)(Y.backdropClick(),Y.detachments(),Y.keydownEvents().pipe((0,x.h)(de=>de.keyCode===c.hY&&!(0,c.Vb)(de)||this.datepickerInput&&(0,c.Vb)(de,"altKey")&&de.keyCode===c.LH&&pe.every(Qe=>!(0,c.Vb)(de,Qe)))))}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(f.aV),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(_e),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(me))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})(),nt=(()=>{class ze extends at{static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[u.\u0275\u0275ProvidersFeature([yt,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})();class mt{constructor(en,Y){this.target=en,this.targetElement=Y,this.value=this.target.value}}let He=(()=>{class ze{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Y){this._assignValueProgrammatically(Y)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Y){const pe=(0,w.Ig)(Y),de=this._elementRef.nativeElement;this._disabled!==pe&&(this._disabled=pe,this.stateChanges.next(void 0)),pe&&this._isInitialized&&de.blur&&de.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Y){this._model=Y,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(pe=>{if(this._shouldHandleChangeEvent(pe)){const de=this._getValueFromModel(pe.selection);this._lastValueValid=this._isValidValue(de),this._cvaOnChange(de),this._onTouched(),this._formatValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)),this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}})}constructor(Y,pe,de){this._elementRef=Y,this._dateAdapter=pe,this._dateFormats=de,this.dateChange=new u.EventEmitter,this.dateInput=new u.EventEmitter,this.stateChanges=new h.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=o.w0.EMPTY,this._localeSubscription=o.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value));return!_t||this._matchesFilter(_t)?null:{matDatepickerFilter:!0}},this._minValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMinDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)<=0?null:{matDatepickerMin:{min:hn,actual:_t}}},this._maxValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMaxDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)>=0?null:{matDatepickerMax:{max:hn,actual:_t}}},this._lastValueValid=!1,this._localeSubscription=pe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Y){rt(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Y){this._validatorOnChange=Y}validate(Y){return this._validator?this._validator(Y):null}writeValue(Y){this._assignValueProgrammatically(Y)}registerOnChange(Y){this._cvaOnChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_onKeydown(Y){(0,c.Vb)(Y,"altKey")&&Y.keyCode===c.JH&&["ctrlKey","shiftKey","metaKey"].every(Qe=>!(0,c.Vb)(Y,Qe))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Y.preventDefault())}_onInput(Y){const pe=this._lastValueValid;let de=this._dateAdapter.parse(Y,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(de),de=this._dateAdapter.getValidDateOrNull(de);const Qe=!this._dateAdapter.sameDate(de,this.value);!de||Qe?this._cvaOnChange(de):(Y&&!this.value&&this._cvaOnChange(de),pe!==this._lastValueValid&&this._validatorOnChange()),Qe&&(this._assignValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Y){this._elementRef.nativeElement.value=null!=Y?this._dateAdapter.format(Y,this._dateFormats.display.dateInput):""}_assignValue(Y){this._model?(this._assignValueToModel(Y),this._pendingValue=null):this._pendingValue=Y}_isValidValue(Y){return!Y||this._dateAdapter.isValid(Y)}_parentDisabled(){return!1}_assignValueProgrammatically(Y){Y=this._dateAdapter.deserialize(Y),this._lastValueValid=this._isValidValue(Y),Y=this._dateAdapter.getValidDateOrNull(Y),this._assignValue(Y),this._formatValue(Y)}_matchesFilter(Y){const pe=this._getDateFilter();return!pe||pe(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})();function rt(ze,en){const Y=Object.keys(ze);for(let pe of Y){const{previousValue:de,currentValue:Qe}=ze[pe];if(!en.isDateInstance(de)||!en.isDateInstance(Qe))return!0;if(!en.sameDate(de,Qe))return!0}return!1}const Lt={provide:S.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>tn),multi:!0},Xt={provide:S.NG_VALIDATORS,useExisting:(0,u.forwardRef)(()=>tn),multi:!0};let tn=(()=>{class ze extends He{set matDatepicker(Y){Y&&(this._datepicker=Y,this._closedSubscription=Y.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Y.registerInput(this)))}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._validatorOnChange())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._matchesFilter(this.value);this._dateFilter=Y,this._matchesFilter(this.value)!==pe&&this._validatorOnChange()}constructor(Y,pe,de,Qe){super(Y,pe,de),this._formField=Qe,this._closedSubscription=o.w0.EMPTY,this._validator=S.Validators.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Y){return Y}_assignValueToModel(Y){this._model&&this._model.updateSelection(Y,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Y){return Y.source!==this}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("blur",function(){return de._onBlur()})("keydown",function(_t){return de._onKeydown(_t)}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._datepicker?"dialog":null)("aria-owns",(null==de._datepicker?null:de._datepicker.opened)&&de._datepicker.id||null)("min",de.min?de._dateAdapter.toIso8601(de.min):null)("max",de.max?de._dateAdapter.toIso8601(de.max):null)("data-mat-calendar",de._datepicker?de._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[u.\u0275\u0275ProvidersFeature([Lt,Xt,{provide:k.MAT_INPUT_VALUE_ACCESSOR,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Nn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerToggleIcon",""]]})}return ze})(),ui=(()=>{class ze{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Y){this._disabled=(0,w.Ig)(Y)}constructor(Y,pe,de){this._intl=Y,this._changeDetectorRef=pe,this._stateChanges=o.w0.EMPTY;const Qe=Number(de);this.tabIndex=Qe||0===Qe?Qe:null}ngOnChanges(Y){Y.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Y){this.datepicker&&!this.disabled&&(this.datepicker.open(),Y.stopPropagation())}_watchStateChanges(){const Y=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),pe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),de=this.datepicker?(0,l.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,l.T)(this._intl.changes,Y,pe,de).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(pe,de,Qe){if(1&pe&&u.\u0275\u0275contentQuery(Qe,Nn,5),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._customIcon=_t.first)}},viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery($,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._button=Qe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(_t){return de._open(_t)}),2&pe&&(u.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",de.datepicker?de.datepicker.id:null),u.\u0275\u0275classProp("mat-datepicker-toggle-active",de.datepicker&&de.datepicker.opened)("mat-accent",de.datepicker&&"accent"===de.datepicker.color)("mat-warn",de.datepicker&&"warn"===de.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:te,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(H),u.\u0275\u0275elementStart(0,"button",0,1),u.\u0275\u0275template(2,Z,2,0,":svg:svg",2),u.\u0275\u0275projection(3),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275property("disabled",de.disabled)("disableRipple",de.disableRipple),u.\u0275\u0275attribute("aria-haspopup",de.datepicker?"dialog":null)("aria-label",de.ariaLabel||de._intl.openCalendarLabel)("tabindex",de.disabled?-1:de.tabIndex),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,de._customIcon?-1:2))},dependencies:[v.MatIconButton],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return ze})();function _i(ze){return pn(ze,!0)}function Hi(ze){return ze.nodeType===Node.ELEMENT_NODE}function pn(ze,en){if(Hi(ze)&&en){const pe=(ze.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((de,Qe)=>{const _t=document.getElementById(Qe);return _t&&de.push(_t),de},[]);if(pe.length)return pe.map(de=>pn(de,!1)).join(" ")}if(Hi(ze)){const Y=ze.getAttribute("aria-label")?.trim();if(Y)return Y}if(function Yn(ze){return"INPUT"===ze.nodeName}(ze)||function st(ze){return"TEXTAREA"===ze.nodeName}(ze)){if(ze.labels?.length)return Array.from(ze.labels).map(de=>pn(de,!1)).join(" ");const Y=ze.getAttribute("placeholder")?.trim();if(Y)return Y;const pe=ze.getAttribute("title")?.trim();if(pe)return pe}return(ze.textContent||"").replace(/\s+/g," ").trim()}const Ue=new u.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),At=(0,m.mixinErrorState)((()=>{class ze extends He{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(pe,On,Bn),this._rangeInput=Y,this._elementRef=pe,this._defaultErrorStateMatcher=de,this._injector=Qe,this._parentForm=_t,this._parentFormGroup=hn,this._dir=(0,u.inject)(d.Is,{optional:!0})}ngOnInit(){const Y=this._injector.get(S.NgControl,null,{optional:!0,self:!0});Y&&(this.ngControl=Y)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const Y=this._elementRef.nativeElement,pe=Y.value;return pe.length>0?pe:Y.placeholder}_onInput(Y){super._onInput(Y),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:Y}){return Y!==this._rangeInput._startInput&&Y!==this._rangeInput._endInput}_assignValueProgrammatically(Y){super._assignValueProgrammatically(Y),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return _i(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,features:[u.\u0275\u0275InheritDefinitionFeature]})}return ze})());let qt=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._startValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.end:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)<=0?null:{matStartDateInvalid:{end:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(Y){return Y.start}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.start?Y.selection.start&&!this._dateAdapter.compareDate(Y.oldValue.start,Y.selection.start):!Y.selection.start))}_assignValueToModel(Y){if(this._model){const pe=new Ke(Y,this._model.selection.end);this._model.updateSelection(pe,this)}}_formatValue(Y){super._formatValue(Y),this._rangeInput._handleChildValueChange()}_onKeydown(Y){const pe=this._rangeInput._endInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;(Y.keyCode===c.SV&&Qe||Y.keyCode===c.oh&&!Qe)&&de.selectionStart===de.value.length&&de.selectionEnd===de.value.length?(Y.preventDefault(),pe._elementRef.nativeElement.setSelectionRange(0,0),pe.focus()):super._onKeydown(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),it=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._endValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.start:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)>=0?null:{matEndDateInvalid:{start:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(Y){return Y.end}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.end?Y.selection.end&&!this._dateAdapter.compareDate(Y.oldValue.end,Y.selection.end):!Y.selection.end))}_assignValueToModel(Y){if(this._model){const pe=new Ke(this._model.selection.start,Y);this._model.updateSelection(pe,this)}}_onKeydown(Y){const pe=this._rangeInput._startInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;if(Y.keyCode!==c.ZH||de.value)if((Y.keyCode===c.oh&&Qe||Y.keyCode===c.SV&&!Qe)&&0===de.selectionStart&&0===de.selectionEnd){Y.preventDefault();const _t=pe._elementRef.nativeElement.value.length;pe._elementRef.nativeElement.setSelectionRange(_t,_t),pe.focus()}else super._onKeydown(Y);else pe.focus()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),dt=0,ct=(()=>{class ze{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const Y=this._startInput?._getPlaceholder()||"",pe=this._endInput?._getPlaceholder()||"";return Y||pe?`${Y} ${this.separator} ${pe}`:""}get rangePicker(){return this._rangePicker}set rangePicker(Y){Y&&(this._model=Y.registerInput(this),this._rangePicker=Y,this._closedSubscription.unsubscribe(),this._closedSubscription=Y.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(Y){this._required=(0,w.Ig)(Y)}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._startInput,de=this._endInput,Qe=pe&&pe._matchesFilter(pe.value),_t=de&&de._matchesFilter(pe.value);this._dateFilter=Y,pe&&pe._matchesFilter(pe.value)!==Qe&&pe._validatorOnChange(),de&&de._matchesFilter(de.value)!==_t&&de._validatorOnChange()}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._revalidate())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._groupDisabled&&(this._groupDisabled=pe,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const Y=!!this._startInput&&this._startInput.isEmpty(),pe=!!this._endInput&&this._endInput.isEmpty();return Y&&pe}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._elementRef=pe,this._dateAdapter=Qe,this._formField=_t,this._closedSubscription=o.w0.EMPTY,this.id="mat-date-range-input-"+dt++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new h.x,_t?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&pe.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=de}setDescribedByIds(Y){this._ariaDescribedBy=Y.length?Y.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,l.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(Y){rt(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(Y){const pe="start"===Y?this._startInput:this._endInput;return pe?pe.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const Y=this._formField;return Y&&Y._hasFloatingLabel()?Y._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(Y){this.focused=null!==Y,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(Y){this._startInput&&this._startInput._registerModel(Y),this._endInput&&this._endInput._registerModel(Y)}_isTargetRequired(Y){return Y?.ngControl?.control?.hasValidator(S.Validators.required)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(S.ControlContainer,10),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-input"]],contentQueries:function(pe,de,Qe){if(1&pe&&(u.\u0275\u0275contentQuery(Qe,qt,5),u.\u0275\u0275contentQuery(Qe,it,5)),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._startInput=_t.first),u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._endInput=_t.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(pe,de){2&pe&&(u.\u0275\u0275attribute("id",de.id)("aria-labelledby",de._getAriaLabelledby())("aria-describedby",de._ariaDescribedBy)("data-mat-calendar",de.rangePicker?de.rangePicker.id:null),u.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",de._shouldHidePlaceholders())("mat-date-range-input-required",de.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:M.MatFormFieldControl,useExisting:ze},{provide:Ue,useExisting:ze}]),u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ye,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(ue),u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("cdkFocusChange",function(_t){return de._updateFocus(_t)}),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275projection(2),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"span",3),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"div",4),u.\u0275\u0275projection(8,1),u.\u0275\u0275elementStart(9,"span",2),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()),2&pe&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("start")),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-date-range-input-separator-hidden",de._shouldHideSeparator()),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.separator),u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return ze})(),Ut=(()=>{class ze extends at{_forwardContentValues(Y){super._forwardContentValues(Y);const pe=this.datepickerInput;pe&&(Y.comparisonStart=pe.comparisonStart,Y.comparisonEnd=pe.comparisonEnd,Y.startDateAccessibleName=pe._getStartDateAccessibleName(),Y.endDateAccessibleName=pe._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[u.\u0275\u0275ProvidersFeature([Yt,an,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})(),wt=(()=>{class ze{constructor(Y){this._datepicker=Y}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._applySelection()})}})}return ze})(),vt=(()=>{class ze{constructor(Y){this._datepicker=Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._datepicker.close()})}})}return ze})(),Ht=(()=>{class ze{constructor(Y,pe){this._datepicker=Y,this._viewContainerRef=pe}ngAfterViewInit(){this._portal=new D.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at),u.\u0275\u0275directiveInject(u.ViewContainerRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(u.TemplateRef,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._template=Qe.first)}},ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,Ge,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return ze})(),dn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[Ye,z],imports:[y.CommonModule,v.MatButtonModule,f.U8,n.rt,D.eL,m.MatCommonModule,s.ZD]})}return ze})()},6385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatDivider:()=>y,MatDividerModule:()=>u});var n=_(9212),f=_(2495),D=_(3680);let y=(()=>{class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(m){this._vertical=(0,f.Ig)(m)}get inset(){return this._inset}set inset(m){this._inset=(0,f.Ig)(m)}static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,o){2&h&&(n.\u0275\u0275attribute("aria-orientation",o.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(h,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.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})}return v})(),u=(()=>{class v{static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:v});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatCommonModule]})}return v})()},4170:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_ERROR:()=>Et,MAT_FORM_FIELD:()=>cn,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>fn,MAT_PREFIX:()=>Ie,MAT_SUFFIX:()=>ge,MatError:()=>Te,MatFormField:()=>De,MatFormFieldControl:()=>yt,MatFormFieldModule:()=>Ve,MatHint:()=>Ee,MatLabel:()=>Ye,MatPrefix:()=>Ce,MatSuffix:()=>Ae,getMatFormFieldDuplicatedHintError:()=>Yt,getMatFormFieldMissingControlError:()=>jt,getMatFormFieldPlaceholderConflictError:()=>Ot,matFormFieldAnimations:()=>Be});var n=_(9212),f=_(9388),D=_(2831),y=_(7394),u=_(8645),v=_(3019),s=_(9773),m=_(5592),h=_(2181),o=_(7081);class r{constructor(St){this._box=St,this._destroyed=new u.x,this._resizeSubject=new u.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(tt=>this._resizeSubject.next(tt)))}observe(St){return this._elementObservables.has(St)||this._elementObservables.set(St,new m.y(tt=>{const ut=this._resizeSubject.subscribe(tt);return this._resizeObserver?.observe(St,{box:this._box}),()=>{this._resizeObserver?.unobserve(St),ut.unsubscribe(),this._elementObservables.delete(St)}}).pipe((0,h.h)(tt=>tt.some(ut=>ut.target===St)),(0,o.d)({bufferSize:1,refCount:!0}),(0,s.R)(this._destroyed))),this._elementObservables.get(St)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let c=(()=>{class Xe{constructor(){this._observers=new Map,this._ngZone=(0,n.inject)(n.NgZone)}ngOnDestroy(){for(const[,tt]of this._observers)tt.destroy();this._observers.clear()}observe(tt,ut){const Oe=ut?.box||"content-box";return this._observers.has(Oe)||this._observers.set(Oe,new r(Oe)),this._observers.get(Oe).observe(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var d=_(2495),g=_(6825),b=_(6814),C=_(7131),x=_(3680);const w=["notch"],T=["matFormFieldNotchedOutline",""],S=["*"],M=["textField"],k=["iconPrefixContainer"],I=["textPrefixContainer"];function P(Xe,St){1&Xe&&n.\u0275\u0275element(0,"span",16)}function A(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"label",14),n.\u0275\u0275projection(1,1),n.\u0275\u0275template(2,P,1,0,"span",15),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("floating",tt._shouldLabelFloat())("monitorResize",tt._hasOutline())("id",tt._labelId),n.\u0275\u0275attribute("for",tt._control.id),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,!tt.hideRequiredMarker&&tt._control.required?2:-1)}}function L(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,A,3,5,"label",14),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275conditional(0,tt._hasFloatingLabel()?0:-1)}}function F(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",17)}function R(Xe,St){}function U(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,R,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext(2);const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function W(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",5),n.\u0275\u0275template(1,U,1,1,null,9),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("matFormFieldNotchedOutlineOpen",tt._shouldLabelFloat()),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt._forceDisplayInfixLabel()?-1:1)}}function ne(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",18,19),n.\u0275\u0275projection(2,2),n.\u0275\u0275elementEnd())}function ee(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",20,21),n.\u0275\u0275projection(2,3),n.\u0275\u0275elementEnd())}function j(Xe,St){}function B(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,j,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext();const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function $(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",22),n.\u0275\u0275projection(1,4),n.\u0275\u0275elementEnd())}function Z(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",23),n.\u0275\u0275projection(1,5),n.\u0275\u0275elementEnd())}function H(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",12)}function te(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",24),n.\u0275\u0275projection(1,6),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState)}}function ue(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"mat-hint",26),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("id",tt._hintLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(tt.hintLabel)}}function ye(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",25),n.\u0275\u0275template(1,ue,2,2,"mat-hint",26),n.\u0275\u0275projection(2,7),n.\u0275\u0275element(3,"div",27),n.\u0275\u0275projection(4,8),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt.hintLabel?1:-1)}}const Ge=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ye=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-label"]]})}return Xe})(),Ze=0;const Et=new n.InjectionToken("MatError");let Te=(()=>{class Xe{constructor(tt,ut){this.id="mat-mdc-error-"+Ze++,tt||ut.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275injectAttribute("aria-live"),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275hostProperty("id",Oe.id)},inputs:{id:"id"},features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Xe}])]})}return Xe})(),qe=0,Ee=(()=>{class Xe{constructor(){this.align="start",this.id="mat-mdc-hint-"+qe++}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(ut,Oe){2&ut&&(n.\u0275\u0275hostProperty("id",Oe.id),n.\u0275\u0275attribute("align",null),n.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Oe.align))},inputs:{align:"align",id:"id"}})}return Xe})();const Ie=new n.InjectionToken("MatPrefix");let Ce=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:Xe}])]})}return Xe})();const ge=new n.InjectionToken("MatSuffix");let Ae=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:Xe}])]})}return Xe})();const q=new n.InjectionToken("FloatingLabelParent");let Re=(()=>{class Xe{get floating(){return this._floating}set floating(tt){this._floating=tt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(tt){this._monitorResize=tt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(tt){this._elementRef=tt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.inject)(c),this._ngZone=(0,n.inject)(n.NgZone),this._parent=(0,n.inject)(q),this._resizeSubscription=new y.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ke(Xe){if(null!==Xe.offsetParent)return Xe.scrollWidth;const tt=Xe.cloneNode(!0);tt.style.setProperty("position","absolute"),tt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(tt);const ut=tt.scrollWidth;return tt.remove(),ut}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-floating-label--float-above",Oe.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return Xe})();const Ke="mdc-line-ripple--active",me="mdc-line-ripple--deactivating";let Pe=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._handleTransitionEnd=Oe=>{const Ct=this._elementRef.nativeElement.classList,Pt=Ct.contains(me);"opacity"===Oe.propertyName&&Pt&&Ct.remove(Ke,me)},ut.runOutsideAngular(()=>{tt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const tt=this._elementRef.nativeElement.classList;tt.remove(me),tt.add(Ke)}deactivate(){this._elementRef.nativeElement.classList.add(me)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return Xe})(),Ne=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._ngZone=ut,this.open=!1}ngAfterViewInit(){const tt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");tt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(tt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>tt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(tt){this._notch.nativeElement.style.width=this.open&&tt?`calc(${tt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(ut,Oe){if(1&ut&&n.\u0275\u0275viewQuery(w,5),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notch=Ct.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-notched-outline--notched",Oe.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:T,ngContentSelectors:S,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(ut,Oe){1&ut&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275element(0,"div",0),n.\u0275\u0275elementStart(1,"div",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return Xe})();const Be={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yt=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe})}return Xe})();function Ot(){return Error("Placeholder attribute and child element were both specified.")}function Yt(Xe){return Error(`A hint was already declared for 'align="${Xe}"'.`)}function jt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const cn=new n.InjectionToken("MatFormField"),fn=new n.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let an=0,De=(()=>{class Xe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(tt){this._hideRequiredMarker=(0,d.Ig)(tt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(tt){tt!==this._floatLabel&&(this._floatLabel=tt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(tt){const ut=this._appearance;this._appearance=tt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==ut&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(tt){this._subscriptSizing=tt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(tt){this._hintLabel=tt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(tt){this._explicitFormFieldControl=tt}constructor(tt,ut,Oe,Ct,Pt,Nt,bt,_e){this._elementRef=tt,this._changeDetectorRef=ut,this._ngZone=Oe,this._dir=Ct,this._platform=Pt,this._defaults=Nt,this._animationMode=bt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+an++,this._hintLabelId="mat-mdc-hint-"+an++,this._subscriptAnimationState="",this._destroyed=new u.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Nt&&(Nt.appearance&&(this.appearance=Nt.appearance),this._hideRequiredMarker=!!Nt?.hideRequiredMarker,Nt.color&&(this.color=Nt.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const tt=this._control;tt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${tt.controlType}`),tt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),tt.ngControl&&tt.ngControl.valueChanges&&tt.ngControl.valueChanges.pipe((0,s.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(tt=>!tt._isText),this._hasTextPrefix=!!this._prefixChildren.find(tt=>tt._isText),this._hasIconSuffix=!!this._suffixChildren.find(tt=>!tt._isText),this._hasTextSuffix=!!this._suffixChildren.find(tt=>tt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,v.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,s.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(tt){const ut=this._control?this._control.ngControl:null;return ut&&ut[tt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let tt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&tt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ut=this._hintChildren?this._hintChildren.find(Ct=>"start"===Ct.align):null,Oe=this._hintChildren?this._hintChildren.find(Ct=>"end"===Ct.align):null;ut?tt.push(ut.id):this._hintLabel&&tt.push(this._hintLabelId),Oe&&tt.push(Oe.id)}else this._errorChildren&&tt.push(...this._errorChildren.map(ut=>ut.id));this._control.setDescribedByIds(tt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const tt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(tt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const ut=this._iconPrefixContainer?.nativeElement,Oe=this._textPrefixContainer?.nativeElement,Ct=ut?.getBoundingClientRect().width??0,Pt=Oe?.getBoundingClientRect().width??0;tt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ct+Pt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const tt=this._elementRef.nativeElement;if(tt.getRootNode){const ut=tt.getRootNode();return ut&&ut!==tt}return document.documentElement.contains(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.Is),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-form-field"]],contentQueries:function(ut,Oe,Ct){if(1&ut&&(n.\u0275\u0275contentQuery(Ct,Ye,5),n.\u0275\u0275contentQuery(Ct,Ye,7),n.\u0275\u0275contentQuery(Ct,yt,5),n.\u0275\u0275contentQuery(Ct,Ie,5),n.\u0275\u0275contentQuery(Ct,ge,5),n.\u0275\u0275contentQuery(Ct,Et,5),n.\u0275\u0275contentQuery(Ct,Ee,5)),2&ut){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildNonStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._formFieldControl=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._prefixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._suffixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._errorChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._hintChildren=Pt)}},viewQuery:function(ut,Oe){if(1&ut&&(n.\u0275\u0275viewQuery(M,5),n.\u0275\u0275viewQuery(k,5),n.\u0275\u0275viewQuery(I,5),n.\u0275\u0275viewQuery(Re,5),n.\u0275\u0275viewQuery(Ne,5),n.\u0275\u0275viewQuery(Pe,5)),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textField=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._iconPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._floatingLabel=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notchedOutline=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._lineRipple=Ct.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Oe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Oe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Oe._hasIconSuffix)("mat-form-field-invalid",Oe._control.errorState)("mat-form-field-disabled",Oe._control.disabled)("mat-form-field-autofilled",Oe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Oe._animationMode)("mat-form-field-appearance-fill","fill"==Oe.appearance)("mat-form-field-appearance-outline","outline"==Oe.appearance)("mat-form-field-hide-placeholder",Oe._hasFloatingLabel()&&!Oe._shouldLabelFloat())("mat-focused",Oe._control.focused)("mat-primary","accent"!==Oe.color&&"warn"!==Oe.color)("mat-accent","accent"===Oe.color)("mat-warn","warn"===Oe.color)("ng-untouched",Oe._shouldForward("untouched"))("ng-touched",Oe._shouldForward("touched"))("ng-pristine",Oe._shouldForward("pristine"))("ng-dirty",Oe._shouldForward("dirty"))("ng-valid",Oe._shouldForward("valid"))("ng-invalid",Oe._shouldForward("invalid"))("ng-pending",Oe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n.\u0275\u0275ProvidersFeature([{provide:cn,useExisting:Xe},{provide:q,useExisting:Xe}])],ngContentSelectors:$e,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(ut,Oe){if(1&ut&&(n.\u0275\u0275projectionDef(Ge),n.\u0275\u0275template(0,L,1,1,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275listener("click",function(Pt){return Oe._control.onContainerClick(Pt)}),n.\u0275\u0275template(4,F,1,0,"div",3),n.\u0275\u0275elementStart(5,"div",4),n.\u0275\u0275template(6,W,2,2,"div",5)(7,ne,3,0,"div",6)(8,ee,3,0,"div",7),n.\u0275\u0275elementStart(9,"div",8),n.\u0275\u0275template(10,B,1,1,null,9),n.\u0275\u0275projection(11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(12,$,2,0,"div",10)(13,Z,2,0,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(14,H,1,0,"div",12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(15,"div",13),n.\u0275\u0275template(16,te,2,1)(17,ye,5,2),n.\u0275\u0275elementEnd()),2&ut){let Ct;n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-text-field--filled",!Oe._hasOutline())("mdc-text-field--outlined",Oe._hasOutline())("mdc-text-field--no-label",!Oe._hasFloatingLabel())("mdc-text-field--disabled",Oe._control.disabled)("mdc-text-field--invalid",Oe._control.errorState),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(4,Oe._hasOutline()||Oe._control.disabled?-1:4),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(6,Oe._hasOutline()?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(7,Oe._hasIconPrefix?7:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(8,Oe._hasTextPrefix?8:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(10,!Oe._hasOutline()||Oe._forceDisplayInfixLabel()?10:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(12,Oe._hasTextSuffix?12:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(13,Oe._hasIconSuffix?13:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(14,Oe._hasOutline()?-1:14),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Oe.subscriptSizing),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(16,"error"===(Ct=Oe._getDisplayedMessages())?16:"hint"===Ct?17:-1)}},dependencies:[b.NgTemplateOutlet,Ee,Re,Ne,Pe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Be.transitionMessages]},changeDetection:0})}return Xe})(),Ve=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[x.MatCommonModule,b.CommonModule,C.Q8,x.MatCommonModule]})}return Xe})()},617:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ICON_REGISTRY_PROVIDER:()=>F,ICON_REGISTRY_PROVIDER_FACTORY:()=>L,MAT_ICON_DEFAULT_OPTIONS:()=>ee,MAT_ICON_LOCATION:()=>j,MAT_ICON_LOCATION_FACTORY:()=>B,MatIcon:()=>te,MatIconModule:()=>ue,MatIconRegistry:()=>A,getMatIconFailedToSanitizeLiteralError:()=>I,getMatIconFailedToSanitizeUrlError:()=>k,getMatIconNameNotFoundError:()=>S,getMatIconNoHttpProviderError:()=>M});var n=_(9212),f=_(3680),D=_(2495),y=_(6814),u=_(2096),v=_(8504),s=_(9315),m=_(7394),h=_(9397),o=_(7398),l=_(6306),r=_(4716),c=_(3020),d=_(8180),g=_(9862),b=_(6593);const C=["*"];let x;function T(ye){return function w(){if(void 0===x&&(x=null,typeof window<"u")){const ye=window;void 0!==ye.trustedTypes&&(x=ye.trustedTypes.createPolicy("angular#components",{createHTML:Ge=>Ge}))}return x}()?.createHTML(ye)||ye}function S(ye){return Error(`Unable to find icon with the name "${ye}"`)}function M(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function k(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function I(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class P{constructor(Ge,$e,Ye){this.url=Ge,this.svgText=$e,this.options=Ye}}let A=(()=>{class ye{constructor($e,Ye,Ze,Et){this._httpClient=$e,this._sanitizer=Ye,this._errorHandler=Et,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","mat-ligature-font"],this._document=Ze}addSvgIcon($e,Ye,Ze){return this.addSvgIconInNamespace("",$e,Ye,Ze)}addSvgIconLiteral($e,Ye,Ze){return this.addSvgIconLiteralInNamespace("",$e,Ye,Ze)}addSvgIconInNamespace($e,Ye,Ze,Et){return this._addSvgIconConfig($e,Ye,new P(Ze,null,Et))}addSvgIconResolver($e){return this._resolvers.push($e),this}addSvgIconLiteralInNamespace($e,Ye,Ze,Et){const Te=this._sanitizer.sanitize(n.SecurityContext.HTML,Ze);if(!Te)throw I(Ze);const qe=T(Te);return this._addSvgIconConfig($e,Ye,new P("",qe,Et))}addSvgIconSet($e,Ye){return this.addSvgIconSetInNamespace("",$e,Ye)}addSvgIconSetLiteral($e,Ye){return this.addSvgIconSetLiteralInNamespace("",$e,Ye)}addSvgIconSetInNamespace($e,Ye,Ze){return this._addSvgIconSetConfig($e,new P(Ye,null,Ze))}addSvgIconSetLiteralInNamespace($e,Ye,Ze){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,Ye);if(!Et)throw I(Ye);const Te=T(Et);return this._addSvgIconSetConfig($e,new P("",Te,Ze))}registerFontClassAlias($e,Ye=$e){return this._fontCssClassesByAlias.set($e,Ye),this}classNameForFontAlias($e){return this._fontCssClassesByAlias.get($e)||$e}setDefaultFontSetClass(...$e){return this._defaultFontSetClass=$e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl($e){const Ye=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,$e);if(!Ye)throw k($e);const Ze=this._cachedIconsByUrl.get(Ye);return Ze?(0,u.of)(R(Ze)):this._loadSvgIconFromConfig(new P($e,null)).pipe((0,h.b)(Et=>this._cachedIconsByUrl.set(Ye,Et)),(0,o.U)(Et=>R(Et)))}getNamedSvgIcon($e,Ye=""){const Ze=U(Ye,$e);let Et=this._svgIconConfigs.get(Ze);if(Et)return this._getSvgFromConfig(Et);if(Et=this._getIconConfigFromResolvers(Ye,$e),Et)return this._svgIconConfigs.set(Ze,Et),this._getSvgFromConfig(Et);const Te=this._iconSetConfigs.get(Ye);return Te?this._getSvgFromIconSetConfigs($e,Te):(0,v._)(S(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig($e){return $e.svgText?(0,u.of)(R(this._svgElementFromConfig($e))):this._loadSvgIconFromConfig($e).pipe((0,o.U)(Ye=>R(Ye)))}_getSvgFromIconSetConfigs($e,Ye){const Ze=this._extractIconWithNameFromAnySet($e,Ye);if(Ze)return(0,u.of)(Ze);const Et=Ye.filter(Te=>!Te.svgText).map(Te=>this._loadSvgIconSetFromConfig(Te).pipe((0,l.K)(qe=>{const Ie=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Te.url)} failed: ${qe.message}`;return this._errorHandler.handleError(new Error(Ie)),(0,u.of)(null)})));return(0,s.D)(Et).pipe((0,o.U)(()=>{const Te=this._extractIconWithNameFromAnySet($e,Ye);if(!Te)throw S($e);return Te}))}_extractIconWithNameFromAnySet($e,Ye){for(let Ze=Ye.length-1;Ze>=0;Ze--){const Et=Ye[Ze];if(Et.svgText&&Et.svgText.toString().indexOf($e)>-1){const Te=this._svgElementFromConfig(Et),qe=this._extractSvgIconFromSet(Te,$e,Et.options);if(qe)return qe}}return null}_loadSvgIconFromConfig($e){return this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye),(0,o.U)(()=>this._svgElementFromConfig($e)))}_loadSvgIconSetFromConfig($e){return $e.svgText?(0,u.of)(null):this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye))}_extractSvgIconFromSet($e,Ye,Ze){const Et=$e.querySelector(`[id="${Ye}"]`);if(!Et)return null;const Te=Et.cloneNode(!0);if(Te.removeAttribute("id"),"svg"===Te.nodeName.toLowerCase())return this._setSvgAttributes(Te,Ze);if("symbol"===Te.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Te),Ze);const qe=this._svgElementFromString(T(""));return qe.appendChild(Te),this._setSvgAttributes(qe,Ze)}_svgElementFromString($e){const Ye=this._document.createElement("DIV");Ye.innerHTML=$e;const Ze=Ye.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement($e){const Ye=this._svgElementFromString(T("")),Ze=$e.attributes;for(let Et=0;EtT(Ie)),(0,r.x)(()=>this._inProgressUrlFetches.delete(Te)),(0,c.B)());return this._inProgressUrlFetches.set(Te,Ee),Ee}_addSvgIconConfig($e,Ye,Ze){return this._svgIconConfigs.set(U($e,Ye),Ze),this}_addSvgIconSetConfig($e,Ye){const Ze=this._iconSetConfigs.get($e);return Ze?Ze.push(Ye):this._iconSetConfigs.set($e,[Ye]),this}_svgElementFromConfig($e){if(!$e.svgElement){const Ye=this._svgElementFromString($e.svgText);this._setSvgAttributes(Ye,$e.options),$e.svgElement=Ye}return $e.svgElement}_getIconConfigFromResolvers($e,Ye){for(let Ze=0;ZeGe?Ge.pathname+Ge.search:""}}const $=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Z=$.map(ye=>`[${ye}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let te=(()=>{class ye extends ne{get inline(){return this._inline}set inline($e){this._inline=(0,D.Ig)($e)}get svgIcon(){return this._svgIcon}set svgIcon($e){$e!==this._svgIcon&&($e?this._updateSvgIcon($e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=$e)}get fontSet(){return this._fontSet}set fontSet($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontSet&&(this._fontSet=Ye,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontIcon&&(this._fontIcon=Ye,this._updateFontIconClasses())}constructor($e,Ye,Ze,Et,Te,qe){super($e),this._iconRegistry=Ye,this._location=Et,this._errorHandler=Te,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=m.w0.EMPTY,qe&&(qe.color&&(this.color=this.defaultColor=qe.color),qe.fontSet&&(this.fontSet=qe.fontSet)),Ze||$e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName($e){if(!$e)return["",""];const Ye=$e.split(":");switch(Ye.length){case 1:return["",Ye[0]];case 2:return Ye;default:throw Error(`Invalid icon name: "${$e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const $e=this._elementsWithExternalReferences;if($e&&$e.size){const Ye=this._location.getPathname();Ye!==this._previousPath&&(this._previousPath=Ye,this._prependPathToReferences(Ye))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement($e){this._clearSvgElement();const Ye=this._location.getPathname();this._previousPath=Ye,this._cacheChildrenWithExternalReferences($e),this._prependPathToReferences(Ye),this._elementRef.nativeElement.appendChild($e)}_clearSvgElement(){const $e=this._elementRef.nativeElement;let Ye=$e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ye--;){const Ze=$e.childNodes[Ye];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const $e=this._elementRef.nativeElement,Ye=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>$e.classList.remove(Ze)),Ye.forEach(Ze=>$e.classList.add(Ze)),this._previousFontSetClass=Ye,this.fontIcon!==this._previousFontIconClass&&!Ye.includes("mat-ligature-font")&&(this._previousFontIconClass&&$e.classList.remove(this._previousFontIconClass),this.fontIcon&&$e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue($e){return"string"==typeof $e?$e.trim().split(" ")[0]:$e}_prependPathToReferences($e){const Ye=this._elementsWithExternalReferences;Ye&&Ye.forEach((Ze,Et)=>{Ze.forEach(Te=>{Et.setAttribute(Te.name,`url('${$e}#${Te.value}')`)})})}_cacheChildrenWithExternalReferences($e){const Ye=$e.querySelectorAll(Z),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Et=0;Et{const qe=Ye[Et],Ee=qe.getAttribute(Te),Ie=Ee?Ee.match(H):null;if(Ie){let Ce=Ze.get(qe);Ce||(Ce=[],Ze.set(qe,Ce)),Ce.push({name:Te,value:Ie[1]})}})}_updateSvgIcon($e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),$e){const[Ye,Ze]=this._splitIconName($e);Ye&&(this._svgNamespace=Ye),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,Ye).pipe((0,d.q)(1)).subscribe(Et=>this._setSvgElement(Et),Et=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Ye}:${Ze}! ${Et.message}`))})}}static#e=this.\u0275fac=function(Ye){return new(Ye||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(ee,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ye,Ze){2&Ye&&(n.\u0275\u0275attribute("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:1,vars:0,template:function(Ye,Ze){1&Ye&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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})}return ye})(),ue=(()=>{class ye{static#e=this.\u0275fac=function(Ye){return new(Ye||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return ye})()},8582:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_INPUT_VALUE_ACCESSOR:()=>g,MatInput:()=>w,MatInputModule:()=>T,getMatInputUnsupportedTypeError:()=>d});var n=_(2495),f=_(2831),D=_(9212),y=_(6232),u=_(8645);const v=(0,f.i$)({passive:!0});let s=(()=>{class S{constructor(k,I){this._platform=k,this._ngZone=I,this._monitoredElements=new Map}monitor(k){if(!this._platform.isBrowser)return y.E;const I=(0,n.fI)(k),P=this._monitoredElements.get(I);if(P)return P.subject;const A=new u.x,L="cdk-text-field-autofilled",F=R=>{"cdk-text-field-autofill-start"!==R.animationName||I.classList.contains(L)?"cdk-text-field-autofill-end"===R.animationName&&I.classList.contains(L)&&(I.classList.remove(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!1}))):(I.classList.add(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{I.addEventListener("animationstart",F,v),I.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(I,{subject:A,unlisten:()=>{I.removeEventListener("animationstart",F,v)}}),A}stopMonitoring(k){const I=(0,n.fI)(k),P=this._monitoredElements.get(I);P&&(P.unlisten(),P.subject.complete(),I.classList.remove("cdk-text-field-autofill-monitored"),I.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(I))}ngOnDestroy(){this._monitoredElements.forEach((k,I)=>this.stopMonitoring(I))}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275inject(f.t4),D.\u0275\u0275inject(D.NgZone))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),o=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({})}return S})();var l=_(6223),r=_(3680),c=_(4170);function d(S){return Error(`Input type "${S}" isn't supported by matInput.`)}const g=new D.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),b=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let C=0;const x=(0,r.mixinErrorState)(class{constructor(S,M,k,I){this._defaultErrorStateMatcher=S,this._parentForm=M,this._parentFormGroup=k,this.ngControl=I,this.stateChanges=new u.x}});let w=(()=>{class S extends x{get disabled(){return this._disabled}set disabled(k){this._disabled=(0,n.Ig)(k),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(k){this._id=k||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(l.Validators.required)??!1}set required(k){this._required=(0,n.Ig)(k)}get type(){return this._type}set type(k){this._type=k||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(k){k!==this.value&&(this._inputValueAccessor.value=k,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(k){this._readonly=(0,n.Ig)(k)}constructor(k,I,P,A,L,F,R,U,W,ne){super(F,A,L,P),this._elementRef=k,this._platform=I,this._autofillMonitor=U,this._formField=ne,this._uid="mat-input-"+C++,this.focused=!1,this.stateChanges=new u.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(B=>(0,f.qK)().has(B)),this._iOSKeyupListener=B=>{const $=B.target;!$.value&&0===$.selectionStart&&0===$.selectionEnd&&($.setSelectionRange(1,1),$.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,j=ee.nodeName.toLowerCase();this._inputValueAccessor=R||ee,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&W.runOutsideAngular(()=>{k.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===j,this._isTextarea="textarea"===j,this._isInFormField=!!ne,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(k=>{this.autofilled=k.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(k){this._elementRef.nativeElement.focus(k)}_focusChanged(k){k!==this.focused&&(this.focused=k,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const k=this._elementRef.nativeElement.value;this._previousNativeValue!==k&&(this._previousNativeValue=k,this.stateChanges.next())}_dirtyCheckPlaceholder(){const k=this._getPlaceholder();if(k!==this._previousPlaceholder){const I=this._elementRef.nativeElement;this._previousPlaceholder=k,k?I.setAttribute("placeholder",k):I.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){b.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let k=this._elementRef.nativeElement.validity;return k&&k.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const k=this._elementRef.nativeElement,I=k.options[0];return this.focused||k.multiple||!this.empty||!!(k.selectedIndex>-1&&I&&I.label)}return this.focused||!this.empty}setDescribedByIds(k){k.length?this._elementRef.nativeElement.setAttribute("aria-describedby",k.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const k=this._elementRef.nativeElement;return this._isNativeSelect&&(k.multiple||k.size>1)}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(f.t4),D.\u0275\u0275directiveInject(l.NgControl,10),D.\u0275\u0275directiveInject(l.NgForm,8),D.\u0275\u0275directiveInject(l.FormGroupDirective,8),D.\u0275\u0275directiveInject(r.ErrorStateMatcher),D.\u0275\u0275directiveInject(g,10),D.\u0275\u0275directiveInject(s),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(c.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:S,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(I,P){1&I&&D.\u0275\u0275listener("focus",function(){return P._focusChanged(!0)})("blur",function(){return P._focusChanged(!1)})("input",function(){return P._onInput()}),2&I&&(D.\u0275\u0275hostProperty("id",P.id)("disabled",P.disabled)("required",P.required),D.\u0275\u0275attribute("name",P.name||null)("readonly",P.readonly&&!P._isNativeSelect||null)("aria-invalid",P.empty&&P.required?null:P.errorState)("aria-required",P.required)("id",P.id),D.\u0275\u0275classProp("mat-input-server",P._isServer)("mat-mdc-form-field-textarea-control",P._isInFormField&&P._isTextarea)("mat-mdc-form-field-input-control",P._isInFormField)("mdc-text-field__input",P._isInFormField)("mat-mdc-native-select-inline",P._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:[D.\u0275\u0275ProvidersFeature([{provide:c.MatFormFieldControl,useExisting:S}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature]})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({imports:[r.MatCommonModule,c.MatFormFieldModule,c.MatFormFieldModule,o,r.MatCommonModule]})}return S})()},7988:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_MENU_CONTENT:()=>j,MAT_MENU_DEFAULT_OPTIONS:()=>ue,MAT_MENU_PANEL:()=>R,MAT_MENU_SCROLL_STRATEGY:()=>$e,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ze,MENU_PANEL_TOP_PADDING:()=>Te,MatMenu:()=>Ge,MatMenuContent:()=>B,MatMenuItem:()=>U,MatMenuModule:()=>Ee,MatMenuTrigger:()=>qe,fadeInItems:()=>Z,matMenuAnimations:()=>$,transformMenu:()=>H});var n=_(9212),f=_(4191),D=_(6028),y=_(8645),u=_(3019),v=_(7394),s=_(2096),m=_(6410),h=_(7921),o=_(4664),l=_(8180),r=_(9773),c=_(2181),d=_(7547),g=_(6814),b=_(3680),C=_(8484),x=_(6825),w=_(9388),T=_(9594),S=_(2831),M=_(6672);const k=["mat-menu-item",""];function I(Ie,Ce){1&Ie&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const P=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A=["mat-icon, [matMenuItemIcon]","*"];function L(Ie,Ce){if(1&Ie){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._handleKeydown(q))})("click",function(){n.\u0275\u0275restoreView(ge);const q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationStart(q))})("@transformMenu.done",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationDone(q))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Ie){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ge.panelId)("ngClass",ge._classList)("@transformMenu",ge._panelAnimationState),n.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby||null)("aria-describedby",ge.ariaDescribedby||null)}}const F=["*"],R=new n.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class Ie{constructor(ge,Ae,q,Re,ke){this._elementRef=ge,this._document=Ae,this._focusMonitor=q,this._parentMenu=Re,this._changeDetectorRef=ke,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.x,this._focused=new y.x,this._highlighted=!1,this._triggersSubmenu=!1,Re?.addItem?.(this)}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._getHostElement(),ge,Ae):this._getHostElement().focus(Ae),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(ge){this.disabled&&(ge.preventDefault(),ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ge=this._elementRef.nativeElement.cloneNode(!0),Ae=ge.querySelectorAll("mat-icon, .material-icons");for(let q=0;q{class Ie{constructor(ge,Ae,q,Re,ke,Ke,me){this._template=ge,this._componentFactoryResolver=Ae,this._appRef=q,this._injector=Re,this._viewContainerRef=ke,this._document=Ke,this._changeDetectorRef=me,this._attached=new y.x}attach(ge={}){this._portal||(this._portal=new C.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new C.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const Ae=this._template.elementRef.nativeElement;Ae.parentNode.insertBefore(this._outlet.outletElement,Ae),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ge),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(g.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:Ie}])]})}return Ie})();const $={transformMenu:(0,x.X$)("transformMenu",[(0,x.SB)("void",(0,x.oB)({opacity:0,transform:"scale(0.8)"})),(0,x.eR)("void => enter",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,x.oB)({opacity:1,transform:"scale(1)"}))),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))]),fadeInItems:(0,x.X$)("fadeInItems",[(0,x.SB)("showing",(0,x.oB)({opacity:1})),(0,x.eR)("void => *",[(0,x.oB)({opacity:0}),(0,x.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Z=$.fadeInItems,H=$.transformMenu;let te=0;const ue=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ye(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ge=(()=>{class Ie{get xPosition(){return this._xPosition}set xPosition(ge){this._xPosition=ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ge){this._yPosition=ge,this.setPositionClasses()}set panelClass(ge){const Ae=this._previousPanelClass;Ae&&Ae.length&&Ae.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=ge,ge&&ge.length&&(ge.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ge){this.panelClass=ge}constructor(ge,Ae,q,Re){this._elementRef=ge,this._ngZone=Ae,this._changeDetectorRef=Re,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new y.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+te++,this.overlayPanelClass=q.overlayPanelClass||"",this._xPosition=q.xPosition,this._yPosition=q.yPosition,this.backdropClass=q.backdropClass,this.overlapTrigger=q.overlapTrigger,this.hasBackdrop=q.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new f.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(ge=>(0,u.T)(...ge.map(Ae=>Ae._focused)))).subscribe(ge=>this._keyManager.updateActiveItem(ge)),this._directDescendantItems.changes.subscribe(ge=>{const Ae=this._keyManager;if("enter"===this._panelAnimationState&&Ae.activeItem?._hasFocus()){const q=ge.toArray(),Re=Math.max(0,Math.min(q.length-1,Ae.activeItemIndex||0));q[Re]&&!q[Re].disabled?Ae.setActiveItem(Re):Ae.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(Ae=>(0,u.T)(...Ae.map(q=>q._hovered))))}addItem(ge){}removeItem(ge){}_handleKeydown(ge){const Ae=ge.keyCode,q=this._keyManager;switch(Ae){case D.hY:(0,D.Vb)(ge)||(ge.preventDefault(),this.closed.emit("keydown"));break;case D.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case D.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ae===D.LH||Ae===D.JH)&&q.setFocusOrigin("keyboard"),void q.onKeydown(ge)}ge.stopPropagation()}focusFirstItem(ge="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(()=>{let Ae=null;if(this._directDescendantItems.length&&(Ae=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ae||!Ae.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(ge).setFirstItemActive(),!q.activeItem&&Ae&&Ae.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ge){const Ae=Math.min(this._baseElevation+ge,24),q=`${this._elevationPrefix}${Ae}`,Re=Object.keys(this._classList).find(ke=>ke.startsWith(this._elevationPrefix));(!Re||Re===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(ge=this.xPosition,Ae=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===ge,q["mat-menu-after"]="after"===ge,q["mat-menu-above"]="above"===Ae,q["mat-menu-below"]="below"===Ae,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ge){this._animationDone.next(ge),this._isAnimating=!1}_onAnimationStart(ge){this._isAnimating=!0,"enter"===ge.toState&&0===this._keyManager.activeItemIndex&&(ge.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.O)(this._allItems)).subscribe(ge=>{this._directDescendantItems.reset(ge.filter(Ae=>Ae._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-menu"]],contentQueries:function(Ae,q,Re){if(1&Ae&&(n.\u0275\u0275contentQuery(Re,j,5),n.\u0275\u0275contentQuery(Re,U,5),n.\u0275\u0275contentQuery(Re,U,4)),2&Ae){let ke;n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.lazyContent=ke.first),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q._allItems=ke),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.items=ke)}},viewQuery:function(Ae,q){if(1&Ae&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Ae){let Re;n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(q.templateRef=Re.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(Ae,q){2&Ae&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",n.booleanAttribute],hasBackdrop:["hasBackdrop","hasBackdrop",ge=>null==ge?null:(0,n.booleanAttribute)(ge)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:R,useExisting:Ie}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:F,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(Ae,q){1&Ae&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,L,3,6,"ng-template"))},dependencies:[g.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[$.transformMenu,$.fadeInItems]},changeDetection:0})}return Ie})();const $e=new n.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,n.inject)(T.aV);return()=>Ie.scrollStrategies.reposition()}}),Ze={provide:$e,deps:[T.aV],useFactory:function Ye(Ie){return()=>Ie.scrollStrategies.reposition()}},Et=(0,S.i$)({passive:!0}),Te=8;let qe=(()=>{class Ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ge){this.menu=ge}get menu(){return this._menu}set menu(ge){ge!==this._menu&&(this._menu=ge,this._menuCloseSubscription.unsubscribe(),ge&&(this._menuCloseSubscription=ge.close.subscribe(Ae=>{this._destroyMenu(Ae),("click"===Ae||"tab"===Ae)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ae)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ge,Ae,q,Re,ke,Ke,me,Pe,Ne){this._overlay=ge,this._element=Ae,this._viewContainerRef=q,this._menuItemInstance=Ke,this._dir=me,this._focusMonitor=Pe,this._ngZone=Ne,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=v.w0.EMPTY,this._hoverSubscription=v.w0.EMPTY,this._menuCloseSubscription=v.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=Be=>{(0,f.yG)(Be)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Re,this._parentMaterialMenu=ke instanceof Ge?ke:void 0,Ae.nativeElement.addEventListener("touchstart",this._handleTouchStart,Et)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Et),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ge=this.menu;if(this._menuOpen||!ge)return;const Ae=this._createOverlay(ge),q=Ae.getConfig(),Re=q.positionStrategy;this._setPosition(ge,Re),q.hasBackdrop=null==ge.hasBackdrop?!this.triggersSubmenu():ge.hasBackdrop,Ae.attach(this._getPortal(ge)),ge.lazyContent&&ge.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ge),ge instanceof Ge&&(ge._startAnimation(),ge._directDescendantItems.changes.pipe((0,r.R)(ge.close)).subscribe(()=>{Re.withLockedPosition(!1).reapplyLastPosition(),Re.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._element,ge,Ae):this._element.nativeElement.focus(Ae)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ge){if(!this._overlayRef||!this.menuOpen)return;const Ae=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ge||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ae instanceof Ge?(Ae._resetAnimation(),Ae.lazyContent?Ae._animationDone.pipe((0,c.h)(q=>"void"===q.toState),(0,l.q)(1),(0,r.R)(Ae.lazyContent._attached)).subscribe({next:()=>Ae.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ae?.lazyContent?.detach())}_initMenu(ge){ge.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ge.direction=this.dir,this._setMenuElevation(ge),ge.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ge){if(ge.setElevation){let Ae=0,q=ge.parentMenu;for(;q;)Ae++,q=q.parentMenu;ge.setElevation(Ae)}}_setIsMenuOpen(ge){ge!==this._menuOpen&&(this._menuOpen=ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ge),this._changeDetectorRef.markForCheck())}_createOverlay(ge){if(!this._overlayRef){const Ae=this._getOverlayConfig(ge);this._subscribeToPositions(ge,Ae.positionStrategy),this._overlayRef=this._overlay.create(Ae),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ge){return new T.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ge,Ae){ge.setPositionClasses&&Ae.positionChanges.subscribe(q=>{const Re="start"===q.connectionPair.overlayX?"after":"before",ke="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ge.setPositionClasses(Re,ke)):ge.setPositionClasses(Re,ke)})}_setPosition(ge,Ae){let[q,Re]="before"===ge.xPosition?["end","start"]:["start","end"],[ke,Ke]="above"===ge.yPosition?["bottom","top"]:["top","bottom"],[me,Pe]=[ke,Ke],[Ne,Be]=[q,Re],yt=0;if(this.triggersSubmenu()){if(Be=q="before"===ge.xPosition?"start":"end",Re=Ne="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ot=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ot?Ot._getHostElement().offsetTop:0}yt="bottom"===ke?this._parentInnerPadding:-this._parentInnerPadding}}else ge.overlapTrigger||(me="top"===ke?"bottom":"top",Pe="top"===Ke?"bottom":"top");Ae.withPositions([{originX:q,originY:me,overlayX:Ne,overlayY:ke,offsetY:yt},{originX:Re,originY:me,overlayX:Be,overlayY:ke,offsetY:yt},{originX:q,originY:Pe,overlayX:Ne,overlayY:Ke,offsetY:-yt},{originX:Re,originY:Pe,overlayX:Be,overlayY:Ke,offsetY:-yt}])}_menuClosingActions(){const ge=this._overlayRef.backdropClick(),Ae=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),Re=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,c.h)(ke=>ke!==this._menuItemInstance),(0,c.h)(()=>this._menuOpen)):(0,s.of)();return(0,u.T)(ge,q,Re,Ae)}_handleMousedown(ge){(0,f.X6)(ge)||(this._openedBy=0===ge.button?"mouse":void 0,this.triggersSubmenu()&&ge.preventDefault())}_handleKeydown(ge){const Ae=ge.keyCode;(Ae===D.K5||Ae===D.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ae===D.SV&&"ltr"===this.dir||Ae===D.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ge){this.triggersSubmenu()?(ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,c.h)(ge=>ge===this._menuItemInstance&&!ge.disabled),(0,d.g)(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ge&&this.menu._isAnimating?this.menu._animationDone.pipe((0,l.q)(1),(0,d.g)(0,m.E),(0,r.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ge){return(!this._portal||this._portal.templateRef!==ge.templateRef)&&(this._portal=new C.UE(ge.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(T.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject($e),n.\u0275\u0275directiveInject(R,8),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(w.Is,8),n.\u0275\u0275directiveInject(f.tE),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ae,q){1&Ae&&n.\u0275\u0275listener("click",function(ke){return q._handleClick(ke)})("mousedown",function(ke){return q._handleMousedown(ke)})("keydown",function(ke){return q._handleKeydown(ke)}),2&Ae&&n.\u0275\u0275attribute("aria-haspopup",q.menu?"menu":null)("aria-expanded",q.menuOpen)("aria-controls",q.menuOpen?q.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"},exportAs:["matMenuTrigger"]})}return Ie})(),Ee=(()=>{class Ie{static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ie});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ze],imports:[g.CommonModule,b.MatRippleModule,b.MatCommonModule,T.U8,M.ZD,b.MatCommonModule]})}return Ie})()},1476:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>T,MAT_PAGINATOR_INTL_PROVIDER:()=>C,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>b,MatPaginator:()=>k,MatPaginatorIntl:()=>g,MatPaginatorModule:()=>I,PageEvent:()=>w});var n=_(9212),f=_(8645),D=_(2296),y=_(8525),u=_(2596),v=_(3680),s=_(2495),m=_(4170);function h(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"mat-option",18),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=A.$implicit;n.\u0275\u0275property("value",L),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L," ")}}function o(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),n.\u0275\u0275listener("selectionChange",function(R){n.\u0275\u0275restoreView(L);const U=n.\u0275\u0275nextContext(2);return n.\u0275\u0275resetView(U._changePageSize(R.value))}),n.\u0275\u0275repeaterCreate(2,h,2,2,"mat-option",18,n.\u0275\u0275repeaterTrackByIdentity),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("appearance",L._formFieldAppearance)("color",L.color),n.\u0275\u0275advance(1),n.\u0275\u0275property("value",L.pageSize)("disabled",L.disabled)("aria-labelledby",L._pageSizeLabelId)("panelClass",L.selectConfig.panelClass||"")("disableOptionCentering",L.selectConfig.disableOptionCentering),n.\u0275\u0275advance(1),n.\u0275\u0275repeater(L._displayedPageSizeOptions)}}function l(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",19),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(L.pageSize)}}function r(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",12)(1,"div",13),n.\u0275\u0275text(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,o,4,7,"mat-form-field",14)(4,l,2,1,"div",15),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275attribute("id",L._pageSizeLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L._intl.itemsPerPageLabel," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(3,L._displayedPageSizeOptions.length>1?3:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(4,L._displayedPageSizeOptions.length<=1?4:-1)}}function c(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",20),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.firstPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",21),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.firstPageLabel)("matTooltipDisabled",L._previousButtonsDisabled())("matTooltipPosition","above")("disabled",L._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.firstPageLabel)}}function d(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275namespaceSVG(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(0,"button",22),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.lastPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",23),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.lastPageLabel)("matTooltipDisabled",L._nextButtonsDisabled())("matTooltipPosition","above")("disabled",L._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.lastPageLabel)}}let g=(()=>{class P{constructor(){this.changes=new f.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(L,F,R)=>{if(0==R||0==F)return`0 of ${R}`;const U=L*F;return`${U+1} \u2013 ${U<(R=Math.max(R,0))?Math.min(U+F,R):U+F} of ${R}`}}static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();function b(P){return P||new g}const C={provide:g,deps:[[new n.Optional,new n.SkipSelf,g]],useFactory:b};class w{}const T=new n.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),S=(0,v.mixinDisabled)((0,v.mixinInitialized)(class{}));let M=0,k=(()=>{class P extends S{get pageIndex(){return this._pageIndex}set pageIndex(L){this._pageIndex=Math.max((0,s.su)(L),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(L){this._length=(0,s.su)(L),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(L){this._pageSize=Math.max((0,s.su)(L),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(L){this._pageSizeOptions=(L||[]).map(F=>(0,s.su)(F)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(L){this._hidePageSize=(0,s.Ig)(L)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(L){this._showFirstLastButtons=(0,s.Ig)(L)}constructor(L,F,R){if(super(),this._intl=L,this._changeDetectorRef=F,this._pageSizeLabelId="mat-paginator-page-size-label-"+M++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new n.EventEmitter,this._intlChanges=L.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),R){const{pageSize:U,pageSizeOptions:W,hidePageSize:ne,showFirstLastButtons:ee}=R;null!=U&&(this._pageSize=U),null!=W&&(this._pageSizeOptions=W),null!=ne&&(this._hidePageSize=ne),null!=ee&&(this._showFirstLastButtons=ee)}this._formFieldAppearance=R?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(L)}previousPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(L)}firstPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=0,this._emitPageEvent(L)}lastPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(L)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const L=this.getNumberOfPages()-1;return this.pageIndexL-F),this._changeDetectorRef.markForCheck())}_emitPageEvent(L){this.page.emit({previousPageIndex:L,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(g),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(F,R){1&F&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,r,5,4,"div",2),n.\u0275\u0275elementStart(3,"div",3)(4,"div",4),n.\u0275\u0275text(5),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(6,c,3,5,"button",5),n.\u0275\u0275elementStart(7,"button",6),n.\u0275\u0275listener("click",function(){return R.previousPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",7),n.\u0275\u0275element(9,"path",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(10,"button",9),n.\u0275\u0275listener("click",function(){return R.nextPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(11,"svg",7),n.\u0275\u0275element(12,"path",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(13,d,3,5,"button",11),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,R.hidePageSize?-1:2),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate1(" ",R._intl.getRangeLabel(R.pageIndex,R.pageSize,R.length)," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,R.showFirstLastButtons?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matTooltip",R._intl.previousPageLabel)("matTooltipDisabled",R._previousButtonsDisabled())("matTooltipPosition","above")("disabled",R._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.previousPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275property("matTooltip",R._intl.nextPageLabel)("matTooltipDisabled",R._nextButtonsDisabled())("matTooltipPosition","above")("disabled",R._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.nextPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275conditional(13,R.showFirstLastButtons?13:-1))},dependencies:[D.MatIconButton,m.MatFormField,y.MatSelect,v.MatOption,u.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[C],imports:[D.MatButtonModule,y.MatSelectModule,u.AV]})}return P})()},5940:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>m,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>h,MatProgressSpinner:()=>r,MatProgressSpinnerModule:()=>d,MatSpinner:()=>c});var n=_(9212),f=_(3680),D=_(2495),y=_(6814);const u=["determinateSpinner"];function v(g,b){if(1&g&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",11),n.\u0275\u0275element(1,"circle",12),n.\u0275\u0275elementEnd()),2&g){const C=n.\u0275\u0275nextContext();n.\u0275\u0275attribute("viewBox",C._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",C._strokeCircumference(),"px")("stroke-dashoffset",C._strokeCircumference()/2,"px")("stroke-width",C._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",C._circleRadius())}}const s=(0,f.mixinColor)(class{constructor(g){this._elementRef=g}},"primary"),m=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:h});function h(){return{diameter:o}}const o=100;let r=(()=>{class g extends s{constructor(C,x,w){super(C),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=o,this._noopAnimations="NoopAnimations"===x&&!!w&&!w._forceAnimations,w&&(w.color&&(this.color=this.defaultColor=w.color),w.diameter&&(this.diameter=w.diameter),w.strokeWidth&&(this.strokeWidth=w.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(C){this._value=Math.max(0,Math.min(100,(0,D.su)(C)))}get diameter(){return this._diameter}set diameter(C){this._diameter=(0,D.su)(C)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(C){this._strokeWidth=(0,D.su)(C)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const C=2*this._circleRadius()+this.strokeWidth;return`0 0 ${C} ${C}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(x){return new(x||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(m))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(x,w){if(1&x&&n.\u0275\u0275viewQuery(u,5),2&x){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(w._determinateCircle=T.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(x,w){2&x&&(n.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===w.mode?w.value:null)("mode",w.mode),n.\u0275\u0275styleProp("width",w.diameter,"px")("height",w.diameter,"px")("--mdc-circular-progress-size",w.diameter+"px")("--mdc-circular-progress-active-indicator-width",w.diameter+"px"),n.\u0275\u0275classProp("_mat-animation-noopable",w._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===w.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(x,w){if(1&x&&(n.\u0275\u0275template(0,v,2,8,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(4,"svg",3),n.\u0275\u0275element(5,"circle",4),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),n.\u0275\u0275elementContainer(9,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(10,"div",9),n.\u0275\u0275elementContainer(11,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"div",10),n.\u0275\u0275elementContainer(13,8),n.\u0275\u0275elementEnd()()()),2&x){const T=n.\u0275\u0275reference(1);n.\u0275\u0275advance(4),n.\u0275\u0275attribute("viewBox",w._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",w._strokeCircumference(),"px")("stroke-dashoffset",w._strokeDashOffset(),"px")("stroke-width",w._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",w._circleRadius()),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T)}},dependencies:[y.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return g})();const c=r;let d=(()=>{class g{static#e=this.\u0275fac=function(x){return new(x||g)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:g});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[y.CommonModule,f.MatCommonModule]})}return g})()},7466:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_RADIO_DEFAULT_OPTIONS:()=>d,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>c,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>r,MatRadioButton:()=>w,MatRadioChange:()=>l,MatRadioGroup:()=>b,MatRadioModule:()=>T});var n=_(9212),f=_(3680),D=_(4191),y=_(2495),u=_(8337),v=_(6223),s=_(6814);const m=["input"],h=["*"];let o=0;class l{constructor(M,k){this.source=M,this.value=k}}const r={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>b),multi:!0},c=new n.InjectionToken("MatRadioGroup"),d=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let b=(()=>{class S{get name(){return this._name}set name(k){this._name=k,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(k){this._labelPosition="before"===k?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(k){this._selected=k,this.value=k?k.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,y.Ig)(k),this._markRadiosForCheck()}get required(){return this._required}set required(k){this._required=(0,y.Ig)(k),this._markRadiosForCheck()}constructor(k){this._changeDetector=k,this._value=null,this._name="mat-radio-group-"+o++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(k=>k===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(k=>{k.name=this.name,k._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(I=>{I.checked=this.value===I.value,I.checked&&(this._selected=I)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new l(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(k=>k._markForCheck())}writeValue(k){this.value=k,this._changeDetector.markForCheck()}registerOnChange(k){this._controlValueAccessorChangeFn=k}registerOnTouched(k){this.onTouched=k}setDisabledState(k){this.disabled=k,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:S,selectors:[["mat-radio-group"]],contentQueries:function(I,P,A){if(1&I&&n.\u0275\u0275contentQuery(A,w,5),2&I){let L;n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(P._radios=L)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([r,{provide:c,useExisting:S}])]})}return S})();class C{constructor(M){this._elementRef=M}}const x=(0,f.mixinDisableRipple)((0,f.mixinTabIndex)(C));let w=(()=>{class S extends x{get checked(){return this._checked}set checked(k){const I=(0,y.Ig)(k);this._checked!==I&&(this._checked=I,I&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!I&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),I&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===k),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(k){this._labelPosition=k}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(k){this._setDisabled((0,y.Ig)(k))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(k){this._required=(0,y.Ig)(k)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(k){this._color=k}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,I,P,A,L,F,R,U){super(I),this._changeDetector=P,this._focusMonitor=A,this._radioDispatcher=L,this._providerOverride=R,this._uniqueId="mat-radio-"+ ++o,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=k,this._noopAnimations="NoopAnimations"===F,U&&(this.tabIndex=(0,y.su)(U,0))}focus(k,I){I?this._focusMonitor.focusVia(this._inputElement,I,k):this._inputElement.nativeElement.focus(k)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((k,I)=>{k!==this.id&&I===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(k=>{!k&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new l(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(k){k.stopPropagation()}_onInputInteraction(k){if(k.stopPropagation(),!this.checked&&!this.disabled){const I=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),I&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(k){this._onInputInteraction(k),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(k){this._disabled!==k&&(this._disabled=k,this._changeDetector.markForCheck())}_updateTabIndex(){const k=this.radioGroup;let I;if(I=k&&k.selected&&!this.disabled?k.selected===this?this.tabIndex:-1:this.tabIndex,I!==this._previousTabIndex){const P=this._inputElement?.nativeElement;P&&(P.setAttribute("tabindex",I+""),this._previousTabIndex=I)}}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(c,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(u.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(d,8),n.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:S,selectors:[["mat-radio-button"]],viewQuery:function(I,P){if(1&I&&n.\u0275\u0275viewQuery(m,5),2&I){let A;n.\u0275\u0275queryRefresh(A=n.\u0275\u0275loadQuery())&&(P._inputElement=A.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(I,P){1&I&&n.\u0275\u0275listener("focus",function(){return P._inputElement.nativeElement.focus()}),2&I&&(n.\u0275\u0275attribute("id",P.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-primary","primary"===P.color)("mat-accent","accent"===P.color)("mat-warn","warn"===P.color)("mat-mdc-radio-checked",P.checked)("_mat-animation-noopable",P._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(I,P){if(1&I&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),n.\u0275\u0275listener("click",function(L){return P._onTouchTargetClick(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("change",function(L){return P._onInputInteraction(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(6,"div",6),n.\u0275\u0275element(7,"div",7)(8,"div",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"div",9),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&I){const A=n.\u0275\u0275reference(1);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==P.labelPosition),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-radio--disabled",P.disabled),n.\u0275\u0275advance(2),n.\u0275\u0275property("id",P.inputId)("checked",P.checked)("disabled",P.disabled)("required",P.required),n.\u0275\u0275attribute("name",P.name)("value",P.value)("aria-label",P.ariaLabel)("aria-labelledby",P.ariaLabelledby)("aria-describedby",P.ariaDescribedby),n.\u0275\u0275advance(5),n.\u0275\u0275property("matRippleTrigger",A)("matRippleDisabled",P._isRippleDisabled())("matRippleCentered",!0),n.\u0275\u0275advance(2),n.\u0275\u0275property("for",P.inputId)}},dependencies:[f.MatRipple],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,s.CommonModule,f.MatRippleModule,f.MatCommonModule]})}return S})()},8525:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECT_CONFIG:()=>ue,MAT_SELECT_SCROLL_STRATEGY:()=>H,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>ye,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>te,MAT_SELECT_TRIGGER:()=>Ge,MatSelect:()=>Ze,MatSelectChange:()=>$e,MatSelectModule:()=>Te,MatSelectTrigger:()=>Et,matSelectAnimations:()=>ee});var n=_(9594),f=_(6814),D=_(9212),y=_(3680),u=_(4170),v=_(6672),s=_(4191),m=_(9388),h=_(2495),o=_(8337),l=_(6028),r=_(6223),c=_(8645),d=_(4911),g=_(3019),b=_(7921),C=_(4664),x=_(8180),w=_(2181),T=_(7398),S=_(3997),M=_(9773),k=_(6825);const I=["trigger"],P=["panel"];function A(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",9),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.placeholder)}}function L(qe,Ee){1&qe&&D.\u0275\u0275projection(0)}function F(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",11),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext(2);D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.triggerValue)}}function R(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",10),D.\u0275\u0275template(1,L,1,0)(2,F,2,1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275conditional(1,Ie.customTrigger?1:2)}}function U(qe,Ee){if(1&qe){const Ie=D.\u0275\u0275getCurrentView();D.\u0275\u0275namespaceSVG(),D.\u0275\u0275namespaceHTML(),D.\u0275\u0275elementStart(0,"div",12,13),D.\u0275\u0275listener("@transformPanel.done",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._panelDoneAnimatingStream.next(ge.toState))})("keydown",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._handleKeydown(ge))}),D.\u0275\u0275projection(2,1),D.\u0275\u0275elementEnd()}if(2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ie._getPanelTheme(),""),D.\u0275\u0275property("ngClass",Ie.panelClass)("@transformPanel","showing"),D.\u0275\u0275attribute("id",Ie.id+"-panel")("aria-multiselectable",Ie.multiple)("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie._getPanelAriaLabelledby())}}const W=[[["mat-select-trigger"]],"*"],ne=["mat-select-trigger","*"],ee={transformPanelWrap:(0,k.X$)("transformPanelWrap",[(0,k.eR)("* => void",(0,k.IO)("@transformPanel",[(0,k.pV)()],{optional:!0}))]),transformPanel:(0,k.X$)("transformPanel",[(0,k.SB)("void",(0,k.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,k.eR)("void => showing",(0,k.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,k.eR)("* => void",(0,k.jt)("100ms linear",(0,k.oB)({opacity:0})))])};let Z=0;const H=new D.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const qe=(0,D.inject)(n.aV);return()=>qe.scrollStrategies.reposition()}});function te(qe){return()=>qe.scrollStrategies.reposition()}const ue=new D.InjectionToken("MAT_SELECT_CONFIG"),ye={provide:H,deps:[n.aV],useFactory:te},Ge=new D.InjectionToken("MatSelectTrigger");class $e{constructor(Ee,Ie){this.source=Ee,this.value=Ie}}const Ye=(0,y.mixinDisableRipple)((0,y.mixinTabIndex)((0,y.mixinDisabled)((0,y.mixinErrorState)(class{constructor(qe,Ee,Ie,Ce,ge){this._elementRef=qe,this._defaultErrorStateMatcher=Ee,this._parentForm=Ie,this._parentFormGroup=Ce,this.ngControl=ge,this.stateChanges=new c.x}}))));let Ze=(()=>{class qe extends Ye{_scrollOptionIntoView(Ie){const Ce=this.options.toArray()[Ie];if(Ce){const ge=this.panel.nativeElement,Ae=(0,y._countGroupLabelsBeforeOption)(Ie,this.options,this.optionGroups),q=Ce._getHostElement();ge.scrollTop=0===Ie&&1===Ae?0:(0,y._getOptionScrollPosition)(q.offsetTop,q.offsetHeight,ge.scrollTop,ge.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ie){return new $e(this,Ie)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ie){this._hideSingleSelectionIndicator=(0,h.Ig)(Ie),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ie){this._placeholder=Ie,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(r.Validators.required)??!1}set required(Ie){this._required=(0,h.Ig)(Ie),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ie){this._multiple=(0,h.Ig)(Ie)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ie){this._disableOptionCentering=(0,h.Ig)(Ie)}get compareWith(){return this._compareWith}set compareWith(Ie){this._compareWith=Ie,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ie){this._assignValue(Ie)&&this._onChange(Ie)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ie){this._typeaheadDebounceInterval=(0,h.su)(Ie)}get id(){return this._id}set id(Ie){this._id=Ie||this._uid,this.stateChanges.next()}constructor(Ie,Ce,ge,Ae,q,Re,ke,Ke,me,Pe,Ne,Be,yt,Ot){super(q,Ae,ke,Ke,Pe),this._viewportRuler=Ie,this._changeDetectorRef=Ce,this._ngZone=ge,this._dir=Re,this._parentFormField=me,this._liveAnnouncer=yt,this._defaultOptions=Ot,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Yt,jt)=>Yt===jt,this._uid="mat-select-"+Z++,this._triggerAriaLabelledBy=null,this._destroy=new c.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Z++,this._panelDoneAnimatingStream=new c.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,d.P)(()=>{const Yt=this.options;return Yt?Yt.changes.pipe((0,b.O)(Yt),(0,C.w)(()=>(0,g.T)(...Yt.map(jt=>jt.onSelectionChange)))):this._ngZone.onStable.pipe((0,x.q)(1),(0,C.w)(()=>this.optionSelectionChanges))}),this.openedChange=new D.EventEmitter,this._openedStream=this.openedChange.pipe((0,w.h)(Yt=>Yt),(0,T.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,w.h)(Yt=>!Yt),(0,T.U)(()=>{})),this.selectionChange=new D.EventEmitter,this.valueChange=new D.EventEmitter,this._trackedModal=null,this._skipPredicate=Yt=>!this.panelOpen&&Yt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Ot?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Ot.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ne)||0,this.id=this.id}ngOnInit(){this._selectionModel=new o.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,S.x)(),(0,M.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,M.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,M.R)(this._destroy)).subscribe(Ie=>{Ie.added.forEach(Ce=>Ce.select()),Ie.removed.forEach(Ce=>Ce.deselect())}),this.options.changes.pipe((0,b.O)(null),(0,M.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ie=this._getTriggerAriaLabelledby(),Ce=this.ngControl;if(Ie!==this._triggerAriaLabelledBy){const ge=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ie,Ie?ge.setAttribute("aria-labelledby",Ie):ge.removeAttribute("aria-labelledby")}Ce&&(this._previousControl!==Ce.control&&(void 0!==this._previousControl&&null!==Ce.disabled&&Ce.disabled!==this.disabled&&(this.disabled=Ce.disabled),this._previousControl=Ce.control),this.updateErrorState())}ngOnChanges(Ie){(Ie.disabled||Ie.userAriaDescribedBy)&&this.stateChanges.next(),Ie.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const Ie=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ie)return;const Ce=`${this.id}-panel`;this._trackedModal&&(0,s.iD)(this._trackedModal,"aria-owns",Ce),(0,s.Zf)(Ie,"aria-owns",Ce),this._trackedModal=Ie}_clearFromModal(){this._trackedModal&&((0,s.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(Ie){this._assignValue(Ie)}registerOnChange(Ie){this._onChange=Ie}registerOnTouched(Ie){this._onTouched=Ie}setDisabledState(Ie){this.disabled=Ie,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ie=this._selectionModel.selected.map(Ce=>Ce.viewValue);return this._isRtl()&&Ie.reverse(),Ie.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ie){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ie):this._handleClosedKeydown(Ie))}_handleClosedKeydown(Ie){const Ce=Ie.keyCode,ge=Ce===l.JH||Ce===l.LH||Ce===l.oh||Ce===l.SV,Ae=Ce===l.K5||Ce===l.L_,q=this._keyManager;if(!q.isTyping()&&Ae&&!(0,l.Vb)(Ie)||(this.multiple||Ie.altKey)&&ge)Ie.preventDefault(),this.open();else if(!this.multiple){const Re=this.selected;q.onKeydown(Ie);const ke=this.selected;ke&&Re!==ke&&this._liveAnnouncer.announce(ke.viewValue,1e4)}}_handleOpenKeydown(Ie){const Ce=this._keyManager,ge=Ie.keyCode,Ae=ge===l.JH||ge===l.LH,q=Ce.isTyping();if(Ae&&Ie.altKey)Ie.preventDefault(),this.close();else if(q||ge!==l.K5&&ge!==l.L_||!Ce.activeItem||(0,l.Vb)(Ie))if(!q&&this._multiple&&ge===l.A&&Ie.ctrlKey){Ie.preventDefault();const Re=this.options.some(ke=>!ke.disabled&&!ke.selected);this.options.forEach(ke=>{ke.disabled||(Re?ke.select():ke.deselect())})}else{const Re=Ce.activeItemIndex;Ce.onKeydown(Ie),this._multiple&&Ae&&Ie.shiftKey&&Ce.activeItem&&Ce.activeItemIndex!==Re&&Ce.activeItem._selectViaInteraction()}else Ie.preventDefault(),Ce.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,x.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ie){if(this.options.forEach(Ce=>Ce.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ie)Array.isArray(Ie),Ie.forEach(Ce=>this._selectOptionByValue(Ce)),this._sortValues();else{const Ce=this._selectOptionByValue(Ie);Ce?this._keyManager.updateActiveItem(Ce):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ie){const Ce=this.options.find(ge=>{if(this._selectionModel.isSelected(ge))return!1;try{return null!=ge.value&&this._compareWith(ge.value,Ie)}catch{return!1}});return Ce&&this._selectionModel.select(Ce),Ce}_assignValue(Ie){return!!(Ie!==this._value||this._multiple&&Array.isArray(Ie))&&(this.options&&this._setSelectionByValue(Ie),this._value=Ie,!0)}_getOverlayWidth(Ie){return"auto"===this.panelWidth?(Ie instanceof n.xu?Ie.elementRef:Ie||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ie of this.options)Ie._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ie=(0,g.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,M.R)(Ie)).subscribe(Ce=>{this._onSelect(Ce.source,Ce.isUserInput),Ce.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,g.T)(...this.options.map(Ce=>Ce._stateChanges)).pipe((0,M.R)(Ie)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ie,Ce){const ge=this._selectionModel.isSelected(Ie);null!=Ie.value||this._multiple?(ge!==Ie.selected&&(Ie.selected?this._selectionModel.select(Ie):this._selectionModel.deselect(Ie)),Ce&&this._keyManager.setActiveItem(Ie),this.multiple&&(this._sortValues(),Ce&&this.focus())):(Ie.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ie.value)),ge!==this._selectionModel.isSelected(Ie)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ie=this.options.toArray();this._selectionModel.sort((Ce,ge)=>this.sortComparator?this.sortComparator(Ce,ge,Ie):Ie.indexOf(Ce)-Ie.indexOf(ge)),this.stateChanges.next()}}_propagateChanges(Ie){let Ce;Ce=this.multiple?this.selected.map(ge=>ge.value):this.selected?this.selected.value:Ie,this._value=Ce,this.valueChange.emit(Ce),this._onChange(Ce),this.selectionChange.emit(this._getChangeEvent(Ce)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ie=-1;for(let Ce=0;Ce0}focus(Ie){this._elementRef.nativeElement.focus(Ie)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ie?Ie+" ":"")+this.ariaLabelledby:Ie}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();let Ce=(Ie?Ie+" ":"")+this._valueId;return this.ariaLabelledby&&(Ce+=" "+this.ariaLabelledby),Ce}_panelDoneAnimating(Ie){this.openedChange.emit(Ie)}setDescribedByIds(Ie){Ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(Ce){return new(Ce||qe)(D.\u0275\u0275directiveInject(v.rL),D.\u0275\u0275directiveInject(D.ChangeDetectorRef),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(y.ErrorStateMatcher),D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(m.Is,8),D.\u0275\u0275directiveInject(r.NgForm,8),D.\u0275\u0275directiveInject(r.FormGroupDirective,8),D.\u0275\u0275directiveInject(u.MAT_FORM_FIELD,8),D.\u0275\u0275directiveInject(r.NgControl,10),D.\u0275\u0275injectAttribute("tabindex"),D.\u0275\u0275directiveInject(H),D.\u0275\u0275directiveInject(s.Kd),D.\u0275\u0275directiveInject(ue,8))};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:qe,selectors:[["mat-select"]],contentQueries:function(Ce,ge,Ae){if(1&Ce&&(D.\u0275\u0275contentQuery(Ae,Ge,5),D.\u0275\u0275contentQuery(Ae,y.MatOption,5),D.\u0275\u0275contentQuery(Ae,y.MAT_OPTGROUP,5)),2&Ce){let q;D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.customTrigger=q.first),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.options=q),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.optionGroups=q)}},viewQuery:function(Ce,ge){if(1&Ce&&(D.\u0275\u0275viewQuery(I,5),D.\u0275\u0275viewQuery(P,5),D.\u0275\u0275viewQuery(n.pI,5)),2&Ce){let Ae;D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.trigger=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.panel=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge._overlayDir=Ae.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ce,ge){1&Ce&&D.\u0275\u0275listener("keydown",function(q){return ge._handleKeydown(q)})("focus",function(){return ge._onFocus()})("blur",function(){return ge._onBlur()}),2&Ce&&(D.\u0275\u0275attribute("id",ge.id)("tabindex",ge.tabIndex)("aria-controls",ge.panelOpen?ge.id+"-panel":null)("aria-expanded",ge.panelOpen)("aria-label",ge.ariaLabel||null)("aria-required",ge.required.toString())("aria-disabled",ge.disabled.toString())("aria-invalid",ge.errorState)("aria-activedescendant",ge._getAriaActiveDescendant()),D.\u0275\u0275classProp("mat-mdc-select-disabled",ge.disabled)("mat-mdc-select-invalid",ge.errorState)("mat-mdc-select-required",ge.required)("mat-mdc-select-empty",ge.empty)("mat-mdc-select-multiple",ge.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[D.\u0275\u0275ProvidersFeature([{provide:u.MatFormFieldControl,useExisting:qe},{provide:y.MAT_OPTION_PARENT_COMPONENT,useExisting:qe}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ne,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ce,ge){if(1&Ce&&(D.\u0275\u0275projectionDef(W),D.\u0275\u0275elementStart(0,"div",0,1),D.\u0275\u0275listener("click",function(){return ge.toggle()}),D.\u0275\u0275elementStart(3,"div",2),D.\u0275\u0275template(4,A,2,1,"span",3)(5,R,3,1),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(6,"div",4)(7,"div",5),D.\u0275\u0275namespaceSVG(),D.\u0275\u0275elementStart(8,"svg",6),D.\u0275\u0275element(9,"path",7),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275template(10,U,3,9,"ng-template",8),D.\u0275\u0275listener("backdropClick",function(){return ge.close()})("attach",function(){return ge._onAttached()})("detach",function(){return ge.close()})),2&Ce){const Ae=D.\u0275\u0275reference(1);D.\u0275\u0275advance(3),D.\u0275\u0275attribute("id",ge._valueId),D.\u0275\u0275advance(1),D.\u0275\u0275conditional(4,ge.empty?4:5),D.\u0275\u0275advance(6),D.\u0275\u0275property("cdkConnectedOverlayPanelClass",ge._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ge._scrollStrategy)("cdkConnectedOverlayOrigin",ge._preferredOverlayOrigin||Ae)("cdkConnectedOverlayOpen",ge.panelOpen)("cdkConnectedOverlayPositions",ge._positions)("cdkConnectedOverlayWidth",ge._overlayWidth)}},dependencies:[f.NgClass,n.pI,n.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ee.transformPanel]},changeDetection:0})}return qe})(),Et=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:qe,selectors:[["mat-select-trigger"]],features:[D.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:qe}])]})}return qe})(),Te=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:qe});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[ye],imports:[f.CommonModule,n.U8,y.MatOptionModule,y.MatCommonModule,v.ZD,u.MatFormFieldModule,y.MatOptionModule,y.MatCommonModule]})}return qe})()},2599:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>m,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>c,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>h,MatSlideToggle:()=>r,MatSlideToggleChange:()=>o,MatSlideToggleModule:()=>b,MatSlideToggleRequiredValidator:()=>d,_MatSlideToggleRequiredValidatorModule:()=>g});var n=_(9212),f=_(6223),D=_(4191),y=_(3680);const u=["switch"];function v(C,x){1&C&&(n.\u0275\u0275elementStart(0,"div",12),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",13),n.\u0275\u0275element(2,"path",14),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(3,"svg",15),n.\u0275\u0275element(4,"path",16),n.\u0275\u0275elementEnd()())}const s=["*"],m=new n.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>r),multi:!0};class o{constructor(x,w){this.source=x,this.checked=w}}let l=0,r=(()=>{class C{_createChangeEvent(w){return new o(this,w)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(w){this._checked=w,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(w,T,S,M,k,I){this._elementRef=w,this._focusMonitor=T,this._changeDetectorRef=S,this.defaults=k,this._onChange=P=>{},this._onTouched=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new n.EventEmitter,this.toggleChange=new n.EventEmitter,this.tabIndex=parseInt(M)||0,this.color=k.color||"accent",this._noopAnimations="NoopAnimations"===I,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++l,this.hideIcon=k.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(w=>{"keyboard"===w||"program"===w?(this._focused=!0,this._changeDetectorRef.markForCheck()):w||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(w){this.checked=!!w}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=w}setDisabledState(w){this.disabled=w,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new o(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(T){return new(T||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(m),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:C,selectors:[["mat-slide-toggle"]],viewQuery:function(T,S){if(1&T&&n.\u0275\u0275viewQuery(u,5),2&T){let M;n.\u0275\u0275queryRefresh(M=n.\u0275\u0275loadQuery())&&(S._switchElement=M.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(T,S){2&T&&(n.\u0275\u0275hostProperty("id",S.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.\u0275\u0275classMap(S.color?"mat-"+S.color:""),n.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",S._focused)("mat-mdc-slide-toggle-checked",S.checked)("_mat-animation-noopable",S._noopAnimations))},inputs:{disabled:["disabled","disabled",n.booleanAttribute],disableRipple:["disableRipple","disableRipple",n.booleanAttribute],color:"color",tabIndex:["tabIndex","tabIndex",w=>null==w?0:(0,n.numberAttribute)(w)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",n.booleanAttribute],checked:["checked","checked",n.booleanAttribute],hideIcon:["hideIcon","hideIcon",n.booleanAttribute]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:s,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(T,S){if(1&T&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),n.\u0275\u0275listener("click",function(){return S._handleClick()}),n.\u0275\u0275element(3,"div",3),n.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),n.\u0275\u0275element(7,"div",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(8,"div",8),n.\u0275\u0275element(9,"div",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(10,v,5,0,"div",10),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275listener("click",function(k){return k.stopPropagation()}),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&T){const M=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==S.labelPosition),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mdc-switch--selected",S.checked)("mdc-switch--unselected",!S.checked)("mdc-switch--checked",S.checked)("mdc-switch--disabled",S.disabled),n.\u0275\u0275property("tabIndex",S.disabled?-1:S.tabIndex)("disabled",S.disabled),n.\u0275\u0275attribute("id",S.buttonId)("name",S.name)("aria-label",S.ariaLabel)("aria-labelledby",S._getAriaLabelledBy())("aria-describedby",S.ariaDescribedby)("aria-required",S.required||null)("aria-checked",S.checked),n.\u0275\u0275advance(8),n.\u0275\u0275property("matRippleTrigger",M)("matRippleDisabled",S.disableRipple||S.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(10,S.hideIcon?-1:10),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",S.buttonId),n.\u0275\u0275attribute("id",S._labelId)}},dependencies:[y.MatRipple],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return C})();const c={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>d),multi:!0};let d=(()=>{class C extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let w;return function(S){return(w||(w=n.\u0275\u0275getInheritedFactory(C)))(S||C)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:C,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([c]),n.\u0275\u0275InheritDefinitionFeature]})}return C})(),g=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return C})(),b=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[g,y.MatCommonModule,y.MatRippleModule,g,y.MatCommonModule]})}return C})()},2202:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatSlider:()=>I,MatSliderChange:()=>S,MatSliderModule:()=>W,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>R,MatSliderVisualThumb:()=>M});var n=_(9388),f=_(2495),D=_(2831),y=_(9212),u=_(3680),v=_(6223),s=_(8645);const m=["knob"],h=["valueIndicatorContainer"];function o(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",4,5)(2,"div",6)(3,"span",7),y.\u0275\u0275text(4),y.\u0275\u0275elementEnd()()()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(4),y.\u0275\u0275textInterpolate(j.valueIndicatorText)}}const l=["trackActive"];function r(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"div"),2&ne){const j=ee.$implicit,B=ee.$index,$=y.\u0275\u0275nextContext(3);y.\u0275\u0275classMap(0===j?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),y.\u0275\u0275styleProp("transform",$._calcTickMarkTransform(B))}}function c(ne,ee){if(1&ne&&y.\u0275\u0275repeaterCreate(0,r,1,4,"div",9,y.\u0275\u0275repeaterTrackByIdentity),2&ne){const j=y.\u0275\u0275nextContext(2);y.\u0275\u0275repeater(j._tickMarks)}}function d(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",7,8),y.\u0275\u0275template(2,c,2,0),y.\u0275\u0275elementEnd()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(2),y.\u0275\u0275conditional(2,j._cachedWidth?2:-1)}}function g(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"mat-slider-visual-thumb",6),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275property("discrete",j.discrete)("thumbPosition",1)("valueIndicatorText",j.startValueIndicatorText)}}const b=["*"],C=new y.InjectionToken("_MatSlider"),x=new y.InjectionToken("_MatSliderThumb"),w=new y.InjectionToken("_MatSliderRangeThumb"),T=new y.InjectionToken("_MatSliderVisualThumb");class S{}let M=(()=>{class ne{constructor(j,B,$,Z){this._cdr=j,this._ngZone=B,this._slider=Z,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=H=>{if(this._sliderInput._isFocused)return;const te=this._hostElement.getBoundingClientRect(),ue=this._slider._isCursorOnSliderThumb(H,te);this._isHovered=ue,ue?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=H=>{0===H.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=$.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const j=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{j.addEventListener("pointermove",this._onPointerMove),j.addEventListener("pointerdown",this._onDragStart),j.addEventListener("pointerup",this._onDragEnd),j.addEventListener("pointerleave",this._onMouseLeave),j.addEventListener("focus",this._onFocus),j.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const j=this._sliderInputEl;j.removeEventListener("pointermove",this._onPointerMove),j.removeEventListener("pointerdown",this._onDragStart),j.removeEventListener("pointerup",this._onDragEnd),j.removeEventListener("pointerleave",this._onMouseLeave),j.removeEventListener("focus",this._onFocus),j.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(j){return 0===j?.state||1===j?.state}_showRipple(j,B){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||B))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:j,centered:!0,persistent:!0})}_hideRipple(j){if(j?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const B=this._getSibling();B._isShowingAnyRipple()||(this._hideValueIndicator(),B._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275cmp=y.\u0275\u0275defineComponent({type:ne,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(B,$){if(1&B&&(y.\u0275\u0275viewQuery(u.MatRipple,5),y.\u0275\u0275viewQuery(m,5),y.\u0275\u0275viewQuery(h,5)),2&B){let Z;y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._ripple=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._knob=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._valueIndicatorContainer=Z.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[y.\u0275\u0275ProvidersFeature([{provide:T,useExisting:ne}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(B,$){1&B&&(y.\u0275\u0275template(0,o,5,1,"div",0),y.\u0275\u0275element(1,"div",1,2)(3,"div",3)),2&B&&(y.\u0275\u0275conditional(0,$.discrete?0:-1),y.\u0275\u0275advance(3),y.\u0275\u0275property("matRippleDisabled",!0))},dependencies:[u.MatRipple],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return ne})();const k=(0,u.mixinColor)((0,u.mixinDisableRipple)(class{constructor(ne){this._elementRef=ne}}),"primary");let I=(()=>{class ne extends k{get disabled(){return this._disabled}set disabled(j){this._disabled=(0,f.Ig)(j);const B=this._getInput(2),$=this._getInput(1);B&&(B.disabled=this._disabled),$&&($.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(j){this._discrete=(0,f.Ig)(j),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(j){this._showTickMarks=(0,f.Ig)(j)}get min(){return this._min}set min(j){const B=(0,f.su)(j,this._min);this._min!==B&&this._updateMin(B)}_updateMin(j){const B=this._min;this._min=j,this._isRange?this._updateMinRange({old:B,new:j}):this._updateMinNonRange(j),this._onMinMaxOrStepChange()}_updateMinRange(j){const B=this._getInput(2),$=this._getInput(1),Z=B.value,H=$.value;$.min=j.new,B.min=Math.max(j.new,$.value),$.max=Math.min(B.max,B.value),$._updateWidthInactive(),B._updateWidthInactive(),j.newj.old?this._onTranslateXChangeBySideEffect($,B):this._onTranslateXChangeBySideEffect(B,$),Z!==B.value&&this._onValueChange(B),H!==$.value&&this._onValueChange($)}_updateMaxNonRange(j){const B=this._getInput(2);if(B){const $=B.value;B.max=j,B._updateThumbUIByValue(),this._updateTrackUI(B),$!==B.value&&this._onValueChange(B)}}get step(){return this._step}set step(j){const B=(0,f.su)(j,this._step);this._step!==B&&this._updateStep(B)}_updateStep(j){this._step=j,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const j=this._getInput(2),B=this._getInput(1),$=j.value,Z=B.value,H=B.value;j.min=this._min,B.max=this._max,j.step=this._step,B.step=this._step,this._platform.SAFARI&&(j.value=j.value,B.value=B.value),j.min=Math.max(this._min,B.value),B.max=Math.min(this._max,j.value),B._updateWidthInactive(),j._updateWidthInactive(),j.value`${ue}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,y.inject)(D.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===te,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const j=this._getInput(2),B=this._getInput(1);this._isRange=!!j&&!!B,this._cdr.detectChanges();const $=this._getThumb(2);this._rippleRadius=$._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(j,B):this._initUINonRange(j),this._updateTrackUI(j),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(j){j.initProps(),j.initUI(),this._updateValueIndicatorUI(j),this._hasViewInitialized=!0,j._updateThumbUIByValue()}_initUIRange(j,B){j.initProps(),j.initUI(),B.initProps(),B.initUI(),j._updateMinMax(),B._updateMinMax(),j._updateStaticStyles(),B._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,j._updateThumbUIByValue(),B._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const j=this._getInput(2),B=this._getInput(1);j._setIsLeftThumb(),B._setIsLeftThumb(),j.translateX=j._calcTranslateXByValue(),B.translateX=B._calcTranslateXByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateWidthInactive(),B._updateWidthInactive(),j._updateThumbUIByValue(),B._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(j=2){const B=this._getInput(j);return B?B.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(j){const B=this._trackActive.nativeElement.style;B.left=j.left,B.right=j.right,B.transformOrigin=j.transformOrigin,B.transform=j.transform}_calcTickMarkTransform(j){return`translateX(${j*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(j){this._hasViewInitialized&&(this._updateThumbUI(j),this._updateTrackUI(j),this._updateOverlappingThumbUI(j))}_onTranslateXChangeBySideEffect(j,B){this._hasViewInitialized&&(j._updateThumbUIByValue(),B._updateThumbUIByValue())}_onValueChange(j){this._hasViewInitialized&&(this._updateValueIndicatorUI(j),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const j=this._getInput(2),B=this._getInput(1);j._updateThumbUIByValue(),B._updateThumbUIByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateMinMax(),B._updateMinMax(),j._updateWidthInactive(),B._updateWidthInactive()}else{const j=this._getInput(2);j&&j._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const j=this._getInput(1),B=this._getInput(2);return!(!j||!B)&&B.translateX-j.translateX<20}_updateOverlappingThumbClassNames(j){const B=j.getSibling(),$=this._getThumb(j.thumbPosition);this._getThumb(B.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),$._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(j){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(j))}_updateThumbUI(j){this._skipUpdate()||(this._getThumb(2===j.thumbPosition?2:1)._hostElement.style.transform=`translateX(${j.translateX}px)`)}_updateValueIndicatorUI(j){if(this._skipUpdate())return;const B=this.displayWith(j.value);if(this._hasViewInitialized?j._valuetext=B:j._hostElement.setAttribute("aria-valuetext",B),this.discrete){1===j.thumbPosition?this.startValueIndicatorText=B:this.endValueIndicatorText=B;const $=this._getThumb(j.thumbPosition);B.length<3?$._hostElement.classList.add("mdc-slider__thumb--short-value"):$._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const j=this._getInput(2),B=this._getInput(1);j&&this._updateValueIndicatorUI(j),B&&this._updateValueIndicatorUI(B)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const j=this._step&&this._step>0?this._step:1,$=(Math.floor(this.max/j)*j-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*$-6}_updateTrackUI(j){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(j):this._updateTrackUINonRange(j))}_updateTrackUIRange(j){const B=j.getSibling();if(!B||!this._cachedWidth)return;const $=Math.abs(B.translateX-j.translateX)/this._cachedWidth;this._setTrackActiveStyles(j._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-B.translateX+"px",transformOrigin:"right",transform:`scaleX(${$})`}:{left:`${B.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${$})`})}_updateTrackUINonRange(j){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-j.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${j.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const j=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(j):this._updateTickMarkUINonRange(j),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(j){const B=this._getValue();let $=Math.max(Math.floor((B-this.min)/j),0),Z=Math.max(Math.floor((this.max-B)/j),0);this._isRtl?$++:Z++,this._tickMarks=Array($).fill(0).concat(Array(Z).fill(1))}_updateTickMarkUIRange(j){const B=this._getValue(),$=this._getValue(1),Z=Math.max(Math.floor(($-this.min)/j),0),H=Math.max(Math.floor((B-$)/j)+1,0),te=Math.max(Math.floor((this.max-B)/j),0);this._tickMarks=Array(Z).fill(1).concat(Array(H).fill(0),Array(te).fill(1))}_getInput(j){return 2===j&&this._input?this._input:this._inputs?.length?1===j?this._inputs.first:this._inputs.last:void 0}_getThumb(j){return 2===j?this._thumbs?.last:this._thumbs?.first}_setTransition(j){this._hasAnimation=!this._platform.IOS&&j&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(j,B){const $=B.width/2,ue=j.clientY-(B.y+$);return Math.pow(j.clientX-(B.x+$),2)+Math.pow(ue,2)R),multi:!0},F={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,y.forwardRef)(()=>U),multi:!0};let R=(()=>{class ne{get value(){return(0,f.su)(this._hostElement.value)}set value(j){const B=(0,f.su)(j).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=B,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=B}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(j){this._translateX=j}get min(){return(0,f.su)(this._hostElement.min)}set min(j){this._hostElement.min=(0,f.su)(j).toString(),this._cdr.detectChanges()}get max(){return(0,f.su)(this._hostElement.max)}set max(j){this._hostElement.max=(0,f.su)(j).toString(),this._cdr.detectChanges()}get step(){return(0,f.su)(this._hostElement.step)}set step(j){this._hostElement.step=(0,f.su)(j).toString(),this._cdr.detectChanges()}get disabled(){return(0,f.Ig)(this._hostElement.disabled)}set disabled(j){this._hostElement.disabled=(0,f.Ig)(j),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(j){this._isFocused=j}constructor(j,B,$,Z){this._ngZone=j,this._elementRef=B,this._cdr=$,this._slider=Z,this.valueChange=new y.EventEmitter,this.dragStart=new y.EventEmitter,this.dragEnd=new y.EventEmitter,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new s.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,y.inject)(D.t4),this._hostElement=B.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(j){if(!this.disabled&&0===j.button){if(this._platform.IOS){const B=this._slider._isCursorOnSliderThumb(j,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=B,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(j,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(j),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(j){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(j)},0)}_fixValue(j){const B=j.clientX-this._slider._cachedLeft,$=this._slider._cachedWidth,Z=0===this._slider.step?1:this._slider.step,H=Math.floor((this._slider.max-this._slider.min)/Z),ye=Math.round((this._slider._isRtl?1-B/$:B/$)*H)/H*(this._slider.max-this._slider.min)+this._slider.min,Ge=Math.round(ye/Z)*Z;if(Ge===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation}));this.value=Ge,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation})}_onPointerMove(j){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(j)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(j){return Math.max(Math.min(j,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*(this._slider._cachedWidth-6)+3}_calcTranslateXByPointerEvent(j){return j.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(j){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(j)}_updateThumbUIByPointerEvent(j,B){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(j)),this._updateThumbUI(B)}_updateThumbUI(j){this._slider._setTransition(!!j?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(j){(this._isControlInitialized||null!==j)&&(this.value=j)}registerOnChange(j){this._onChangeFn=j,this._isControlInitialized=!0}registerOnTouched(j){this._onTouchedFn=j}setDisabledState(j){this.disabled=j}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275dir=y.\u0275\u0275defineDirective({type:ne,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(B,$){1&B&&y.\u0275\u0275listener("change",function(){return $._onChange()})("input",function(){return $._onInput()})("blur",function(){return $._onBlur()})("focus",function(){return $._onFocus()}),2&B&&y.\u0275\u0275attribute("aria-valuetext",$._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[y.\u0275\u0275ProvidersFeature([L,{provide:x,useExisting:ne}])]})}return ne})(),U=(()=>{class ne extends R{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const j=this.getSibling();return!this._isLeftThumb&&j?j.translateX:0}getMaxPos(){const j=this.getSibling();return this._isLeftThumb&&j?j.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(j,B,$,Z){super(j,$,Z,B),this._cdr=Z,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(j){this.disabled||0!==j.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(j))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(j){super._onPointerMove(j),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(j){super._fixValue(j),this._sibling?._updateMinMax()}_clamp(j){return Math.max(Math.min(j,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const j=this.getSibling();j&&(this._isEndThumb?(this.min=Math.max(this._slider.min,j.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,j.value)))}_updateWidthActive(){const j=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-j)*(this._slider.min{class ne{static#e=this.\u0275fac=function(B){return new(B||ne)};static#t=this.\u0275mod=y.\u0275\u0275defineNgModule({type:ne});static#n=this.\u0275inj=y.\u0275\u0275defineInjector({imports:[u.MatCommonModule,u.MatRippleModule]})}return ne})()},5313:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatCell:()=>Se,MatCellDef:()=>Nt,MatColumnDef:()=>ce,MatFooterCell:()=>oe,MatFooterCellDef:()=>_e,MatFooterRow:()=>Lt,MatFooterRowDef:()=>mt,MatHeaderCell:()=>z,MatHeaderCellDef:()=>bt,MatHeaderRow:()=>rt,MatHeaderRowDef:()=>nt,MatNoDataRow:()=>tn,MatRecycleRows:()=>Ct,MatRow:()=>Xt,MatRowDef:()=>He,MatTable:()=>Pt,MatTableDataSource:()=>Yn,MatTableModule:()=>_i,MatTextColumn:()=>Nn});var n=_(9212),f=_(9388),D=_(8337),y=_(2831),u=_(6672),v=_(6814),s=_(8645),m=_(2459),h=_(5619),o=_(2664),l=_(2096),r=_(9773),c=_(8180),d=_(2495);const g=[[["caption"]],[["colgroup"],["col"]]],b=["caption","colgroup, col"];function C(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function x(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}function w(st){return class extends st{get sticky(){return this._sticky}set sticky(pn){const Ue=this._sticky;this._sticky=(0,d.Ig)(pn),this._hasStickyChanged=Ue!==this._sticky}hasStickyChanged(){const pn=this._hasStickyChanged;return this._hasStickyChanged=!1,pn}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...pn){super(...pn),this._sticky=!1,this._hasStickyChanged=!1}}}const T=new n.InjectionToken("CDK_TABLE"),S=new n.InjectionToken("text-column-options");let M=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellDef",""]]})}return st})(),k=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderCellDef",""]]})}return st})(),I=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterCellDef",""]]})}return st})();class P{}const A=w(P);let L=(()=>{class st extends A{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ue){Ue!==this._stickyEnd&&(this._stickyEnd=Ue,this._hasStickyChanged=!0)}constructor(Ue){super(),this._table=Ue,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ue){Ue&&(this._name=Ue,this.cssClassFriendlyName=Ue.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,M,5),n.\u0275\u0275contentQuery(qt,k,5),n.\u0275\u0275contentQuery(qt,I,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.cell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.headerCell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.footerCell=it.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",n.booleanAttribute]},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275InheritDefinitionFeature]})}return st})();class F{constructor(pn,Ue){Ue.nativeElement.classList.add(...pn._columnCssClassName)}}let R=(()=>{class st extends F{constructor(Ue,ot){super(Ue,ot)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),U=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),W=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})();class ne{constructor(){this.tasks=[],this.endTasks=[]}}const ee=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let j=(()=>{class st{constructor(Ue){this._ngZone=Ue,this._currentSchedule=null,this._destroyed=new s.x}schedule(Ue){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ue)}scheduleEnd(Ue){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ue)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ne,this._getScheduleObservable().pipe((0,r.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ue=this._currentSchedule;this._currentSchedule=new ne;for(const ot of Ue.tasks)ot();for(const ot of Ue.endTasks)ot()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,m.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,c.q)(1))}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:st,factory:st.\u0275fac})}return st})(),$=(()=>{class st{constructor(Ue,ot){this.template=Ue,this._differs=ot}ngOnChanges(Ue){if(!this._columnsDiffer){const ot=Ue.columns&&Ue.columns.currentValue||[];this._columnsDiffer=this._differs.find(ot).create(),this._columnsDiffer.diff(ot)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ue){return this instanceof te?Ue.headerCell.template:this instanceof Ge?Ue.footerCell.template:Ue.cell.template}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,features:[n.\u0275\u0275NgOnChangesFeature]})}return st})();class Z extends ${}const H=w(Z);let te=(()=>{class st extends H{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})();class ue extends ${}const ye=w(ue);let Ge=(()=>{class st extends ye{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})(),$e=(()=>{class st extends ${constructor(Ue,ot,At){super(Ue,ot),this._table=At}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Ye=(()=>{class st{static#e=this.mostRecentCellOutlet=null;constructor(Ue){this._viewContainer=Ue,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellOutlet",""]]})}return st})(),Ze=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Et=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Te=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),qe=(()=>{class st{constructor(Ue){this.templateRef=Ue,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","cdkNoDataRow",""]]})}return st})();const Ee=["top","bottom","left","right"];class Ie{constructor(pn,Ue,ot,At,qt=!0,it=!0,dt){this._isNativeHtmlTable=pn,this._stickCellCss=Ue,this.direction=ot,this._coalescedStyleScheduler=At,this._isBrowser=qt,this._needsPositionStickyOnElement=it,this._positionListener=dt,this._cachedCellWidths=[],this._borderCellCss={top:`${Ue}-border-elem-top`,bottom:`${Ue}-border-elem-bottom`,left:`${Ue}-border-elem-left`,right:`${Ue}-border-elem-right`}}clearStickyPositioning(pn,Ue){const ot=[];for(const At of pn)if(At.nodeType===At.ELEMENT_NODE){ot.push(At);for(let qt=0;qt{for(const At of ot)this._removeStickyStyle(At,Ue)})}updateStickyColumns(pn,Ue,ot,At=!0){if(!pn.length||!this._isBrowser||!Ue.some(Ht=>Ht)&&!ot.some(Ht=>Ht))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const qt=pn[0],it=qt.children.length,dt=this._getCellWidths(qt,At),ct=this._getStickyStartColumnPositions(dt,Ue),Ut=this._getStickyEndColumnPositions(dt,ot),wt=Ue.lastIndexOf(!0),vt=ot.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Ht="rtl"===this.direction,dn=Ht?"right":"left",ze=Ht?"left":"right";for(const en of pn)for(let Y=0;YUe[Y]?en:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===vt?[]:dt.slice(vt).map((en,Y)=>ot[Y+vt]?en:null).reverse()}))})}stickRows(pn,Ue,ot){if(!this._isBrowser)return;const At="bottom"===ot?pn.slice().reverse():pn,qt="bottom"===ot?Ue.slice().reverse():Ue,it=[],dt=[],ct=[];for(let wt=0,vt=0;wt{for(let wt=0;wt{Ue.some(At=>!At)?this._removeStickyStyle(ot,["bottom"]):this._addStickyStyle(ot,"bottom",0,!1)})}_removeStickyStyle(pn,Ue){for(const At of Ue)pn.style[At]="",pn.classList.remove(this._borderCellCss[At]);Ee.some(At=>-1===Ue.indexOf(At)&&pn.style[At])?pn.style.zIndex=this._getCalculatedZIndex(pn):(pn.style.zIndex="",this._needsPositionStickyOnElement&&(pn.style.position=""),pn.classList.remove(this._stickCellCss))}_addStickyStyle(pn,Ue,ot,At){pn.classList.add(this._stickCellCss),At&&pn.classList.add(this._borderCellCss[Ue]),pn.style[Ue]=`${ot}px`,pn.style.zIndex=this._getCalculatedZIndex(pn),this._needsPositionStickyOnElement&&(pn.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(pn){const Ue={top:100,bottom:10,left:1,right:1};let ot=0;for(const At of Ee)pn.style[At]&&(ot+=Ue[At]);return ot?`${ot}`:""}_getCellWidths(pn,Ue=!0){if(!Ue&&this._cachedCellWidths.length)return this._cachedCellWidths;const ot=[],At=pn.children;for(let qt=0;qt0;qt--)Ue[qt]&&(ot[qt]=At,At+=pn[qt]);return ot}}const Pe=new n.InjectionToken("CDK_SPL");let Be=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","rowOutlet",""]]})}return st})(),yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","headerRowOutlet",""]]})}return st})(),Ot=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","footerRowOutlet",""]]})}return st})(),Yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","noDataRowOutlet",""]]})}return st})(),fn=(()=>{class st{get trackBy(){return this._trackByFn}set trackBy(Ue){this._trackByFn=Ue}get dataSource(){return this._dataSource}set dataSource(Ue){this._dataSource!==Ue&&this._switchDataSource(Ue)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ue){this._multiTemplateDataRows=Ue,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ue){this._fixedLayout=Ue,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ue,ot,At,qt,it,dt,ct,Ut,wt,vt,Ht,dn){this._differs=Ue,this._changeDetectorRef=ot,this._elementRef=At,this._dir=it,this._platform=ct,this._viewRepeater=Ut,this._coalescedStyleScheduler=wt,this._viewportRuler=vt,this._stickyPositioningListener=Ht,this._ngZone=dn,this._onDestroy=new s.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new h.X({start:0,end:Number.MAX_VALUE}),qt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=dt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Ue,ot)=>this.trackBy?this.trackBy(ot.dataIndex,ot.data):ot),this._viewportRuler.change().pipe((0,r.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const ot=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ot,this._forceRecalculateCellWidths=ot,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ue=>{Ue.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ue=this._dataDiffer.diff(this._renderRows);if(!Ue)return this._updateNoDataRow(),void this.contentChanged.next();const ot=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ue,ot,(At,qt,it)=>this._getEmbeddedViewArgs(At.item,it),At=>At.item.data,At=>{1===At.operation&&At.context&&this._renderCellTemplateForItem(At.record.item.rowDef,At.context)}),this._updateRowIndexContext(),Ue.forEachIdentityChange(At=>{ot.get(At.currentIndex).context.$implicit=At.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,c.q)(1),(0,r.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ue){this._customColumnDefs.add(Ue)}removeColumnDef(Ue){this._customColumnDefs.delete(Ue)}addRowDef(Ue){this._customRowDefs.add(Ue)}removeRowDef(Ue){this._customRowDefs.delete(Ue)}addHeaderRowDef(Ue){this._customHeaderRowDefs.add(Ue),this._headerRowDefChanged=!0}removeHeaderRowDef(Ue){this._customHeaderRowDefs.delete(Ue),this._headerRowDefChanged=!0}addFooterRowDef(Ue){this._customFooterRowDefs.add(Ue),this._footerRowDefChanged=!0}removeFooterRowDef(Ue){this._customFooterRowDefs.delete(Ue),this._footerRowDefChanged=!0}setNoDataRow(Ue){this._customNoDataRow=Ue}updateStickyHeaderRowStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),At=this._elementRef.nativeElement.querySelector("thead");At&&(At.style.display=Ue.length?"":"none");const qt=this._headerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["top"]),this._stickyStyler.stickRows(Ue,qt,"top"),this._headerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyFooterRowStyles(){const Ue=this._getRenderedRows(this._footerRowOutlet),At=this._elementRef.nativeElement.querySelector("tfoot");At&&(At.style.display=Ue.length?"":"none");const qt=this._footerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["bottom"]),this._stickyStyler.stickRows(Ue,qt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,qt),this._footerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyColumnStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),ot=this._getRenderedRows(this._rowOutlet),At=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ue,...ot,...At],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ue.forEach((qt,it)=>{this._addStickyColumnStyles([qt],this._headerRowDefs[it])}),this._rowDefs.forEach(qt=>{const it=[];for(let dt=0;dt{this._addStickyColumnStyles([qt],this._footerRowDefs[it])}),Array.from(this._columnDefsByName.values()).forEach(qt=>qt.resetStickyChanged())}_getAllRenderRows(){const Ue=[],ot=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let At=0;At{const dt=At&&At.has(it)?At.get(it):[];if(dt.length){const ct=dt.shift();return ct.dataIndex=ot,ct}return{data:Ue,rowDef:it,dataIndex:ot}})}_cacheColumnDefs(){this._columnDefsByName.clear(),an(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ot=>{this._columnDefsByName.has(ot.name),this._columnDefsByName.set(ot.name,ot)})}_cacheRowDefs(){this._headerRowDefs=an(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=an(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=an(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ue=this._rowDefs.filter(ot=>!ot.when);this._defaultRowDef=Ue[0]}_renderUpdatedColumns(){const Ue=(it,dt)=>it||!!dt.getColumnsDiff(),ot=this._rowDefs.reduce(Ue,!1);ot&&this._forceRenderDataRows();const At=this._headerRowDefs.reduce(Ue,!1);At&&this._forceRenderHeaderRows();const qt=this._footerRowDefs.reduce(Ue,!1);return qt&&this._forceRenderFooterRows(),ot||At||qt}_switchDataSource(Ue){this._data=[],(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ue||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Ue}_observeRenderChanges(){if(!this.dataSource)return;let Ue;(0,D.Z9)(this.dataSource)?Ue=this.dataSource.connect(this):(0,o.b)(this.dataSource)?Ue=this.dataSource:Array.isArray(this.dataSource)&&(Ue=(0,l.of)(this.dataSource)),this._renderChangeSubscription=Ue.pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._data=ot||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ue,ot)=>this._renderRow(this._headerRowOutlet,Ue,ot)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ue,ot)=>this._renderRow(this._footerRowOutlet,Ue,ot)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ue,ot){const At=Array.from(ot.columns||[]).map(dt=>this._columnDefsByName.get(dt)),qt=At.map(dt=>dt.sticky),it=At.map(dt=>dt.stickyEnd);this._stickyStyler.updateStickyColumns(Ue,qt,it,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ue){const ot=[];for(let At=0;At!qt.when||qt.when(ot,Ue));else{let qt=this._rowDefs.find(it=>it.when&&it.when(ot,Ue))||this._defaultRowDef;qt&&At.push(qt)}return At}_getEmbeddedViewArgs(Ue,ot){return{templateRef:Ue.rowDef.template,context:{$implicit:Ue.data},index:ot}}_renderRow(Ue,ot,At,qt={}){const it=Ue.viewContainer.createEmbeddedView(ot.template,qt,At);return this._renderCellTemplateForItem(ot,qt),it}_renderCellTemplateForItem(Ue,ot){for(let At of this._getCellTemplates(Ue))Ye.mostRecentCellOutlet&&Ye.mostRecentCellOutlet._viewContainer.createEmbeddedView(At,ot);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ue=this._rowOutlet.viewContainer;for(let ot=0,At=Ue.length;ot{const At=this._columnDefsByName.get(ot);return Ue.extractCellTemplate(At)}):[]}_applyNativeTableSections(){const Ue=this._document.createDocumentFragment(),ot=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const At of ot){const qt=this._document.createElement(At.tag);qt.setAttribute("role","rowgroup");for(const it of At.outlets)qt.appendChild(it.elementRef.nativeElement);Ue.appendChild(qt)}this._elementRef.nativeElement.appendChild(Ue)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ue=(ot,At)=>ot||At.hasStickyChanged();this._headerRowDefs.reduce(Ue,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ue,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ue,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ie(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,l.of)()).pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._stickyStyler.direction=ot,this.updateStickyColumnStyles()})}_getOwnDefs(Ue){return Ue.filter(ot=>!ot._table||ot._table===this)}_updateNoDataRow(){const Ue=this._customNoDataRow||this._noDataRow;if(!Ue)return;const ot=0===this._rowOutlet.viewContainer.length;if(ot===this._isShowingNoDataRow)return;const At=this._noDataRowOutlet.viewContainer;if(ot){const qt=At.createEmbeddedView(Ue.templateRef),it=qt.rootNodes[0];1===qt.rootNodes.length&&it?.nodeType===this._document.ELEMENT_NODE&&(it.setAttribute("role","row"),it.classList.add(Ue._contentClassName))}else At.clear();this._isShowingNoDataRow=ot,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(f.Is,8),n.\u0275\u0275directiveInject(v.DOCUMENT),n.\u0275\u0275directiveInject(y.t4),n.\u0275\u0275directiveInject(D.k),n.\u0275\u0275directiveInject(ee),n.\u0275\u0275directiveInject(u.rL),n.\u0275\u0275directiveInject(Pe,12),n.\u0275\u0275directiveInject(n.NgZone,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,qe,5),n.\u0275\u0275contentQuery(qt,L,5),n.\u0275\u0275contentQuery(qt,$e,5),n.\u0275\u0275contentQuery(qt,te,5),n.\u0275\u0275contentQuery(qt,Ge,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._noDataRow=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentColumnDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentHeaderRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentFooterRowDefs=it)}},viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(Be,7),n.\u0275\u0275viewQuery(yt,7),n.\u0275\u0275viewQuery(Ot,7),n.\u0275\u0275viewQuery(Yt,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._rowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._headerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._footerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._noDataRowOutlet=qt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("cdk-table-fixed-layout",At.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",n.booleanAttribute],fixedLayout:["fixedLayout","fixedLayout",n.booleanAttribute]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:T,useExisting:st},{provide:D.k,useClass:D.yy},{provide:ee,useClass:j},{provide:Pe,useValue:null}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:b,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(g),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return st})();function an(st,pn){return st.concat(Array.from(pn))}let En=(()=>{class st{get name(){return this._name}set name(Ue){this._name=Ue,this._syncColumnDefName()}constructor(Ue,ot){this._table=Ue,this._options=ot,this.justify="start",this._options=ot||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Ue,ot)=>Ue[ot])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const Ue=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Ue):Ue[0].toUpperCase()+Ue.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(S,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-text-column"]],viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(L,7),n.\u0275\u0275viewQuery(M,7),n.\u0275\u0275viewQuery(k,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.columnDef=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.cell=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.headerCell=qt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,C,2,3,"th",1)(2,x,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[M,k,L,W,R],encapsulation:2})}return st})(),Bt=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[u.Cl]})}return st})();var Ft=_(3680),De=_(3019),Ve=_(2572),Xe=_(7398);const St=[[["caption"]],[["colgroup"],["col"]]],tt=["caption","colgroup, col"];function ut(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function Oe(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}let Ct=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:D.k,useClass:D.eX}])]})}return st})(),Pt=(()=>{class st extends fn{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("mdc-table-fixed-layout",At.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:fn,useExisting:st},{provide:T,useExisting:st},{provide:ee,useClass:j},{provide:D.k,useClass:D.yy},{provide:Pe,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:tt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(St),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return st})(),Nt=(()=>{class st extends M{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:M,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),bt=(()=>{class st extends k{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:k,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),_e=(()=>{class st extends I{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:I,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),ce=(()=>{class st extends L{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:L,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),z=(()=>{class st extends R{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),oe=(()=>{class st extends U{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Se=(()=>{class st extends W{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),nt=(()=>{class st extends te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),mt=(()=>{class st extends Ge{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),He=(()=>{class st extends $e{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),rt=(()=>{class st extends Ze{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ze,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Lt=(()=>{class st extends Et{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Xt=(()=>{class st extends Te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),tn=(()=>{class st extends qe{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Nn=(()=>{class st extends En{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-text-column"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,ut,2,3,"th",1)(2,Oe,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[bt,ce,Nt,z,Se],encapsulation:2})}return st})(),_i=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ft.MatCommonModule,Bt,Ft.MatCommonModule]})}return st})();class Yn extends D.o2{get data(){return this._data.value}set data(pn){pn=Array.isArray(pn)?pn:[],this._data.next(pn),this._renderChangesSubscription||this._filterData(pn)}get filter(){return this._filter.value}set filter(pn){this._filter.next(pn),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(pn){this._sort=pn,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(pn){this._paginator=pn,this._updateChangeSubscription()}constructor(pn=[]){super(),this._renderData=new h.X([]),this._filter=new h.X(""),this._internalPageChanges=new s.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ue,ot)=>{const At=Ue[ot];if((0,d.t6)(At)){const qt=Number(At);return qt<9007199254740991?qt:At}return At},this.sortData=(Ue,ot)=>{const At=ot.active,qt=ot.direction;return At&&""!=qt?Ue.sort((it,dt)=>{let ct=this.sortingDataAccessor(it,At),Ut=this.sortingDataAccessor(dt,At);const wt=typeof ct,vt=typeof Ut;wt!==vt&&("number"===wt&&(ct+=""),"number"===vt&&(Ut+=""));let Ht=0;return null!=ct&&null!=Ut?ct>Ut?Ht=1:ct{const At=Object.keys(Ue).reduce((it,dt)=>it+Ue[dt]+"\u25ec","").toLowerCase(),qt=ot.trim().toLowerCase();return-1!=At.indexOf(qt)},this._data=new h.X(pn),this._updateChangeSubscription()}_updateChangeSubscription(){const pn=this._sort?(0,De.T)(this._sort.sortChange,this._sort.initialized):(0,l.of)(null),Ue=this._paginator?(0,De.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,l.of)(null),At=(0,Ve.a)([this._data,this._filter]).pipe((0,Xe.U)(([dt])=>this._filterData(dt))),qt=(0,Ve.a)([At,pn]).pipe((0,Xe.U)(([dt])=>this._orderData(dt))),it=(0,Ve.a)([qt,Ue]).pipe((0,Xe.U)(([dt])=>this._pageData(dt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=it.subscribe(dt=>this._renderData.next(dt))}_filterData(pn){return this.filteredData=null==this.filter||""===this.filter?pn:pn.filter(Ue=>this.filterPredicate(Ue,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(pn){return this.sort?this.sortData(pn.slice(),this.sort):pn}_pageData(pn){if(!this.paginator)return pn;const Ue=this.paginator.pageIndex*this.paginator.pageSize;return pn.slice(Ue,Ue+this.paginator.pageSize)}_updatePaginator(pn){Promise.resolve().then(()=>{const Ue=this.paginator;if(Ue&&(Ue.length=pn,Ue.pageIndex>0)){const ot=Math.ceil(Ue.length/Ue.pageSize)-1||0,At=Math.min(Ue.pageIndex,ot);At!==Ue.pageIndex&&(Ue.pageIndex=At,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_TAB:()=>q,MAT_TABS_CONFIG:()=>Ft,MAT_TAB_CONTENT:()=>Ce,MAT_TAB_GROUP:()=>jt,MAT_TAB_LABEL:()=>Ae,MatInkBar:()=>me,MatPaginatedTabHeader:()=>un,MatTab:()=>cn,MatTabBody:()=>Ie,MatTabBodyPortal:()=>Ee,MatTabChangeEvent:()=>tt,MatTabContent:()=>ge,MatTabGroup:()=>St,MatTabHeader:()=>Bt,MatTabLabel:()=>Re,MatTabLabelWrapper:()=>Ot,MatTabLink:()=>Pt,MatTabNav:()=>Oe,MatTabNavPanel:()=>Nt,MatTabsModule:()=>bt,_MAT_INK_BAR_POSITIONER:()=>Be,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Ne,matTabsAnimations:()=>qe});var n=_(6814),f=_(9212),D=_(3680),y=_(8484),u=_(7131),v=_(4191),s=_(9388),m=_(7394),h=_(8645),o=_(2438),l=_(2096),r=_(3019),c=_(6232),d=_(5592),g=_(9080),b=_(5619),C=_(7921),x=_(3997),w=_(9773),T=_(8180),S=_(4664),M=_(836),k=_(2181),I=_(6825),P=_(2495),A=_(6672),L=_(2831),F=_(6028);function R(_e,ce){}const U=_e=>({animationDuration:_e}),W=(_e,ce)=>({value:_e,params:ce});function ne(_e,ce){1&_e&&f.\u0275\u0275projection(0)}const ee=["*"],j=["tabListContainer"],B=["tabList"],$=["tabListInner"],Z=["nextPaginator"],H=["previousPaginator"],te=["tabBodyWrapper"],ue=["tabHeader"];function ye(_e,ce){}function Ge(_e,ce){if(1&_e&&f.\u0275\u0275template(0,ye,0,0,"ng-template",10),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("cdkPortalOutlet",z.templateLabel)}}function $e(_e,ce){if(1&_e&&f.\u0275\u0275text(0),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275textInterpolate(z.textLabel)}}function Ye(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"div",4,5),f.\u0275\u0275listener("click",function(){const Se=f.\u0275\u0275restoreView(z),at=Se.$implicit,nt=Se.$index,mt=f.\u0275\u0275nextContext(),He=f.\u0275\u0275reference(1);return f.\u0275\u0275resetView(mt._handleClick(at,He,nt))})("cdkFocusChange",function(Se){const nt=f.\u0275\u0275restoreView(z).$index,mt=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(mt._tabFocusChanged(Se,nt))}),f.\u0275\u0275element(2,"span",6)(3,"div",7),f.\u0275\u0275elementStart(4,"span",8)(5,"span",9),f.\u0275\u0275template(6,Ge,1,1,null,10)(7,$e,1,1),f.\u0275\u0275elementEnd()()()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275reference(1),at=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mdc-tab--active",at.selectedIndex===oe),f.\u0275\u0275property("id",at._getTabLabelId(oe))("ngClass",z.labelClass)("disabled",z.disabled)("fitInkBarToContent",at.fitInkBarToContent),f.\u0275\u0275attribute("tabIndex",at._getTabIndex(oe))("aria-posinset",oe+1)("aria-setsize",at._tabs.length)("aria-controls",at._getTabContentId(oe))("aria-selected",at.selectedIndex===oe)("aria-label",z.ariaLabel||null)("aria-labelledby",!z.ariaLabel&&z.ariaLabelledby?z.ariaLabelledby:null),f.\u0275\u0275advance(3),f.\u0275\u0275property("matRippleTrigger",Se)("matRippleDisabled",z.disabled||at.disableRipple),f.\u0275\u0275advance(3),f.\u0275\u0275conditional(6,z.templateLabel?6:7)}}function Ze(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-body",11),f.\u0275\u0275listener("_onCentered",function(){f.\u0275\u0275restoreView(z);const Se=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Se._removeTabBodyWrapperHeight())})("_onCentering",function(Se){f.\u0275\u0275restoreView(z);const at=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(at._setTabBodyWrapperHeight(Se))}),f.\u0275\u0275elementEnd()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mat-mdc-tab-body-active",Se.selectedIndex===oe),f.\u0275\u0275property("id",Se._getTabContentId(oe))("ngClass",z.bodyClass)("content",z.content)("position",z.position)("origin",z.origin)("animationDuration",Se.animationDuration)("preserveContent",Se.preserveContent),f.\u0275\u0275attribute("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===oe?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(oe))("aria-hidden",Se.selectedIndex!==oe)}}const Et=["mat-tab-nav-bar",""],Te=["mat-tab-link",""],qe={translateTab:(0,I.X$)("translateTab",[(0,I.SB)("center, void, left-origin-center, right-origin-center",(0,I.oB)({transform:"none"})),(0,I.SB)("left",(0,I.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.SB)("right",(0,I.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.eR)("* => left, * => right, left => center, right => center",(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,I.eR)("void => left-origin-center",[(0,I.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,I.eR)("void => right-origin-center",[(0,I.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ee=(()=>{class _e extends y.Pl{constructor(z,oe,Se,at){super(z,oe,at),this._host=Se,this._centeringSub=m.w0.EMPTY,this._leavingSub=m.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,C.O)(this._host._isCenterPosition(this._host._position))).subscribe(z=>{z&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ComponentFactoryResolver),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject((0,f.forwardRef)(()=>Ie)),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabBodyHost",""]],features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ie=(()=>{class _e{set position(z){this._positionIndex=z,this._computePositionAnimationState()}constructor(z,oe,Se){this._elementRef=z,this._dir=oe,this._dirChangeSubscription=m.w0.EMPTY,this._translateTabComplete=new h.x,this._onCentering=new f.EventEmitter,this._beforeCentering=new f.EventEmitter,this._afterLeavingCenter=new f.EventEmitter,this._onCentered=new f.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,oe&&(this._dirChangeSubscription=oe.change.subscribe(at=>{this._computePositionAnimationState(at),Se.markForCheck()})),this._translateTabComplete.pipe((0,x.x)((at,nt)=>at.fromState===nt.fromState&&at.toState===nt.toState)).subscribe(at=>{this._isCenterPosition(at.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(at.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(z){const oe=this._isCenterPosition(z.toState);this._beforeCentering.emit(oe),oe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(z){return"center"==z||"left-origin-center"==z||"right-origin-center"==z}_computePositionAnimationState(z=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==z?"left":"right":this._positionIndex>0?"ltr"==z?"right":"left":"center"}_computePositionFromOrigin(z){const oe=this._getLayoutDirection();return"ltr"==oe&&z<=0||"rtl"==oe&&z>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.ChangeDetectorRef))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-body"]],viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(y.Pl,5),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._portalHost=at.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"div",0,1),f.\u0275\u0275listener("@translateTab.start",function(nt){return Se._onTranslateTabStarted(nt)})("@translateTab.done",function(nt){return Se._translateTabComplete.next(nt)}),f.\u0275\u0275template(2,R,0,0,"ng-template",2),f.\u0275\u0275elementEnd()),2&oe&&f.\u0275\u0275property("@translateTab",f.\u0275\u0275pureFunction2(3,W,Se._position,f.\u0275\u0275pureFunction1(1,U,Se.animationDuration)))},dependencies:[Ee],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[qe.translateTab]}})}return _e})();const Ce=new f.InjectionToken("MatTabContent");let ge=(()=>{class _e{constructor(z){this.template=z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabContent",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ce,useExisting:_e}])]})}return _e})();const Ae=new f.InjectionToken("MatTabLabel"),q=new f.InjectionToken("MAT_TAB");let Re=(()=>{class _e extends y.ig{constructor(z,oe,Se){super(z,oe),this._closestTab=Se}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(q,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ae,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const ke="mdc-tab-indicator--active",Ke="mdc-tab-indicator--no-transition";class me{constructor(ce){this._items=ce}hide(){this._items.forEach(ce=>ce.deactivateInkBar())}alignToElement(ce){const z=this._items.find(Se=>Se.elementRef.nativeElement===ce),oe=this._currentItem;if(z!==oe&&(oe?.deactivateInkBar(),z)){const Se=oe?.elementRef.nativeElement.getBoundingClientRect?.();z.activateInkBar(Se),this._currentItem=z}}}function Pe(_e){return class extends _e{constructor(...ce){super(...ce),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ce){const z=(0,P.Ig)(ce);this._fitToContent!==z&&(this._fitToContent=z,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ce){const z=this.elementRef.nativeElement;if(!ce||!z.getBoundingClientRect||!this._inkBarContentElement)return void z.classList.add(ke);const oe=z.getBoundingClientRect(),Se=ce.width/oe.width,at=ce.left-oe.left;z.classList.add(Ke),this._inkBarContentElement.style.setProperty("transform",`translateX(${at}px) scaleX(${Se})`),z.getBoundingClientRect(),z.classList.remove(Ke),z.classList.add(ke),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ke)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ce=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ce.createElement("span"),this._inkBarContentElement=ce.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function Ne(){return ce=>({left:ce?(ce.offsetLeft||0)+"px":"0",width:ce?(ce.offsetWidth||0)+"px":"0"})}const Be=new f.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:Ne}),yt=Pe((0,D.mixinDisabled)(class{}));let Ot=(()=>{class _e extends yt{constructor(z){super(),this.elementRef=z}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275attribute("aria-disabled",!!Se.disabled),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const Yt=(0,D.mixinDisabled)(class{}),jt=new f.InjectionToken("MAT_TAB_GROUP");let cn=(()=>{class _e extends Yt{get templateLabel(){return this._templateLabel}set templateLabel(z){this._setTemplateLabelInput(z)}get content(){return this._contentPortal}constructor(z,oe){super(),this._viewContainerRef=z,this._closestTabGroup=oe,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(z){(z.hasOwnProperty("textLabel")||z.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(z){z&&z._closestTab===this&&(this._templateLabel=z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab"]],contentQueries:function(oe,Se,at){if(1&oe&&(f.\u0275\u0275contentQuery(at,Re,5),f.\u0275\u0275contentQuery(at,ge,7,f.TemplateRef)),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se.templateLabel=nt.first),f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._explicitContent=nt.first)}},viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(f.TemplateRef,7),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._implicitContent=at.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[f.\u0275\u0275ProvidersFeature([{provide:q,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275template(0,ne,1,0,"ng-template"))},encapsulation:2})}return _e})();const fn=(0,L.i$)({passive:!0});let un=(()=>{class _e{get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){z=(0,P.su)(z),this._selectedIndex!=z&&(this._selectedIndexChanged=!0,this._selectedIndex=z,this._keyManager&&this._keyManager.updateActiveItem(z))}constructor(z,oe,Se,at,nt,mt,He){this._elementRef=z,this._changeDetectorRef=oe,this._viewportRuler=Se,this._dir=at,this._ngZone=nt,this._platform=mt,this._animationMode=He,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new f.EventEmitter,this.indexFocused=new f.EventEmitter,nt.runOutsideAngular(()=>{(0,o.R)(z.nativeElement,"mouseleave").pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,o.R)(this._previousPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,o.R)(this._nextPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const z=this._dir?this._dir.change:(0,l.of)("ltr"),oe=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new v.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(Se),(0,r.T)(z,oe,this._items.changes,this._itemsResized()).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Se()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(at=>{this.indexFocused.emit(at),this._setTabFocus(at)})}_itemsResized(){return"function"!=typeof ResizeObserver?c.E:this._items.changes.pipe((0,C.O)(this._items),(0,S.w)(z=>new d.y(oe=>this._ngZone.runOutsideAngular(()=>{const Se=new ResizeObserver(at=>oe.next(at));return z.forEach(at=>Se.observe(at.elementRef.nativeElement)),()=>{Se.disconnect()}}))),(0,M.T)(1),(0,k.h)(z=>z.some(oe=>oe.contentRect.width>0&&oe.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(z){if(!(0,F.Vb)(z))switch(z.keyCode){case F.K5:case F.L_:if(this.focusIndex!==this.selectedIndex){const oe=this._items.get(this.focusIndex);oe&&!oe.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(z))}break;default:this._keyManager.onKeydown(z)}}_onContentChanges(){const z=this._elementRef.nativeElement.textContent;z!==this._currentTextContent&&(this._currentTextContent=z||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(z){!this._isValidIndex(z)||this.focusIndex===z||!this._keyManager||this._keyManager.setActiveItem(z)}_isValidIndex(z){return!this._items||!!this._items.toArray()[z]}_setTabFocus(z){if(this._showPaginationControls&&this._scrollToLabel(z),this._items&&this._items.length){this._items.toArray()[z].focus();const oe=this._tabListContainer.nativeElement;oe.scrollLeft="ltr"==this._getLayoutDirection()?0:oe.scrollWidth-oe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const z=this.scrollDistance,oe="ltr"===this._getLayoutDirection()?-z:z;this._tabList.nativeElement.style.transform=`translateX(${Math.round(oe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(z){this._scrollTo(z)}_scrollHeader(z){return this._scrollTo(this._scrollDistance+("before"==z?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(z){this._stopInterval(),this._scrollHeader(z)}_scrollToLabel(z){if(this.disablePagination)return;const oe=this._items?this._items.toArray()[z]:null;if(!oe)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:at,offsetWidth:nt}=oe.elementRef.nativeElement;let mt,He;"ltr"==this._getLayoutDirection()?(mt=at,He=mt+nt):(He=this._tabListInner.nativeElement.offsetWidth-at,mt=He-nt);const rt=this.scrollDistance,Lt=this.scrollDistance+Se;mtLt&&(this.scrollDistance+=Math.min(He-Lt,mt-rt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const z=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;z||(this.scrollDistance=0),z!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=z}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const z=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,oe=z?z.elementRef.nativeElement:null;oe?this._inkBar.alignToElement(oe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(z,oe){oe&&null!=oe.button&&0!==oe.button||(this._stopInterval(),(0,g.H)(650,100).pipe((0,w.R)((0,r.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:at}=this._scrollHeader(z);(0===at||at>=Se)&&this._stopInterval()}))}_scrollTo(z){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const oe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(oe,z)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:oe,distance:this._scrollDistance}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,inputs:{disablePagination:"disablePagination"}})}return _e})(),Bt=(()=>{class _e extends un{get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He){super(z,oe,Se,at,nt,mt,He),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new me(this._items),super.ngAfterContentInit()}_itemSelected(z){z.preventDefault()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-header"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,Ot,4),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._items=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(j,7),f.\u0275\u0275viewQuery(B,7),f.\u0275\u0275viewQuery($,7),f.\u0275\u0275viewQuery(Z,5),f.\u0275\u0275viewQuery(H,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListContainer=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabList=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListInner=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._nextPaginator=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._previousPaginator=at.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[f.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275elementStart(0,"button",0,1),f.\u0275\u0275listener("click",function(){return Se._handlePaginatorClick("before")})("mousedown",function(nt){return Se._handlePaginatorPress("before",nt)})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(2,"div",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"div",3,4),f.\u0275\u0275listener("keydown",function(nt){return Se._handleKeydown(nt)}),f.\u0275\u0275elementStart(5,"div",5,6),f.\u0275\u0275listener("cdkObserveContent",function(){return Se._onContentChanges()}),f.\u0275\u0275elementStart(7,"div",7,8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275elementStart(10,"button",9,10),f.\u0275\u0275listener("mousedown",function(nt){return Se._handlePaginatorPress("after",nt)})("click",function(){return Se._handlePaginatorClick("after")})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(12,"div",2),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),f.\u0275\u0275advance(3),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(7),f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[D.MatRipple,u.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return _e})();const Ft=new f.InjectionToken("MAT_TABS_CONFIG");let De=0;const Ve=(0,D.mixinColor)((0,D.mixinDisableRipple)(class{constructor(_e){this._elementRef=_e}}),"primary");let St=(()=>{class _e extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(z){this._fitInkBarToContent=(0,P.Ig)(z),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(z){this._dynamicHeight=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){this._indexToSelect=(0,P.su)(z,null)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(z){this._contentTabIndex=(0,P.su)(z,null)}get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get preserveContent(){return this._preserveContent}set preserveContent(z){this._preserveContent=(0,P.Ig)(z)}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}constructor(z,oe,Se,at){super(z),this._changeDetectorRef=oe,this._animationMode=at,this._tabs=new f.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=m.w0.EMPTY,this._tabLabelSubscription=m.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new f.EventEmitter,this.focusChange=new f.EventEmitter,this.animationDone=new f.EventEmitter,this.selectedTabChange=new f.EventEmitter(!0),this._groupId=De++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,this.contentTabIndex=Se?.contentTabIndex??null,this.preserveContent=!!Se?.preserveContent,this.fitInkBarToContent=!(!Se||null==Se.fitInkBarToContent)&&Se.fitInkBarToContent,this.stretchTabs=!Se||null==Se.stretchTabs||Se.stretchTabs}ngAfterContentChecked(){const z=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=z){const oe=null==this._selectedIndex;if(!oe){this.selectedTabChange.emit(this._createChangeEvent(z));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,at)=>Se.isActive=at===z),oe||(this.selectedIndexChange.emit(z),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((oe,Se)=>{oe.position=Se-z,null!=this._selectedIndex&&0==oe.position&&!oe.origin&&(oe.origin=z-this._selectedIndex)}),this._selectedIndex!==z&&(this._selectedIndex=z,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const z=this._clampTabIndex(this._indexToSelect);if(z===this._selectedIndex){const oe=this._tabs.toArray();let Se;for(let at=0;at{oe[z].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(z))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,C.O)(this._allTabs)).subscribe(z=>{this._tabs.reset(z.filter(oe=>oe._closestTabGroup===this||!oe._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(z){const oe=this._tabHeader;oe&&(oe.focusIndex=z)}_focusChanged(z){this._lastFocusedTabIndex=z,this.focusChange.emit(this._createChangeEvent(z))}_createChangeEvent(z){const oe=new tt;return oe.index=z,this._tabs&&this._tabs.length&&(oe.tab=this._tabs.toArray()[z]),oe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,r.T)(...this._tabs.map(z=>z._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(z){return Math.min(this._tabs.length-1,Math.max(z||0,0))}_getTabLabelId(z){return`mat-tab-label-${this._groupId}-${z}`}_getTabContentId(z){return`mat-tab-content-${this._groupId}-${z}`}_setTabBodyWrapperHeight(z){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const oe=this._tabBodyWrapper.nativeElement;oe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(oe.style.height=z+"px")}_removeTabBodyWrapperHeight(){const z=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=z.clientHeight,z.style.height="",this.animationDone.emit()}_handleClick(z,oe,Se){oe.focusIndex=Se,z.disabled||(this.selectedIndex=Se)}_getTabIndex(z){return z===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(z,oe){z&&"mouse"!==z&&"touch"!==z&&(this._tabHeader.focusIndex=oe)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(Ft,8),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-group"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,cn,5),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._allTabs=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(te,5),f.\u0275\u0275viewQuery(ue,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabBodyWrapper=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabHeader=at.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),f.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Se.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Se.headerPosition)("mat-mdc-tab-group-stretch-tabs",Se.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[f.\u0275\u0275ProvidersFeature([{provide:jt,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"mat-tab-header",0,1),f.\u0275\u0275listener("indexFocused",function(nt){return Se._focusChanged(nt)})("selectFocusedIndex",function(nt){return Se.selectedIndex=nt}),f.\u0275\u0275repeaterCreate(2,Ye,8,16,"div",12,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(4,"div",2,3),f.\u0275\u0275repeaterCreate(6,Ze,1,12,"mat-tab-body",13,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275property("selectedIndex",Se.selectedIndex||0)("disableRipple",Se.disableRipple)("disablePagination",Se.disablePagination),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs),f.\u0275\u0275advance(2),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs))},dependencies:[n.NgClass,y.Pl,D.MatRipple,v.kH,Ie,Ot,Bt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return _e})();class tt{}let ut=0,Oe=(()=>{class _e extends un{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(z){this._fitInkBarToContent.next((0,P.Ig)(z)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He,rt){super(z,at,nt,oe,Se,mt,He),this._fitInkBarToContent=new b.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!rt||null==rt.disablePagination)&&rt.disablePagination,this.fitInkBarToContent=!(!rt||null==rt.fitInkBarToContent)&&rt.fitInkBarToContent,this.stretchTabs=!rt||null==rt.stretchTabs||rt.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new me(this._items),this._items.changes.pipe((0,C.O)(null),(0,w.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const z=this._items.toArray();for(let oe=0;oe.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return _e})();const Ct=Pe((0,D.mixinTabIndex)((0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}))));let Pt=(()=>{class _e extends Ct{get active(){return this._isActive}set active(z){const oe=(0,P.Ig)(z);oe!==this._isActive&&(this._isActive=oe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(z,oe,Se,at,nt,mt){super(),this._tabNavBar=z,this.elementRef=oe,this._focusMonitor=nt,this._destroyed=new h.x,this._isActive=!1,this.id="mat-tab-link-"+ut++,this.rippleConfig=Se||{},this.tabIndex=parseInt(at)||0,"NoopAnimations"===mt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),z._fitInkBarToContent.pipe((0,w.R)(this._destroyed)).subscribe(He=>{this.fitInkBarToContent=He})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(z){(z.keyCode===F.L_||z.keyCode===F.K5)&&(this.disabled?z.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(Oe),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(D.MAT_RIPPLE_GLOBAL_OPTIONS,8),f.\u0275\u0275injectAttribute("tabindex"),f.\u0275\u0275directiveInject(v.tE),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(oe,Se){1&oe&&f.\u0275\u0275listener("focus",function(){return Se._handleFocus()})("keydown",function(nt){return Se._handleKeydown(nt)}),2&oe&&(f.\u0275\u0275attribute("aria-controls",Se._getAriaControls())("aria-current",Se._getAriaCurrent())("aria-disabled",Se.disabled)("aria-selected",Se._getAriaSelected())("id",Se.id)("tabIndex",Se._getTabIndex())("role",Se._getRole()),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled)("mdc-tab--active",Se.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:Te,ngContentSelectors:ee,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0)(1,"div",1),f.\u0275\u0275elementStart(2,"span",2)(3,"span",3),f.\u0275\u0275projection(4),f.\u0275\u0275elementEnd()()),2&oe&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("matRippleTrigger",Se.elementRef.nativeElement)("matRippleDisabled",Se.rippleDisabled))},dependencies:[D.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return _e})(),Nt=(()=>{class _e{constructor(){this.id="mat-tab-nav-panel-"+ut++}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275attribute("aria-labelledby",Se._activeTabId)("id",Se.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return _e})(),bt=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[n.CommonModule,D.MatCommonModule,y.eL,D.MatRippleModule,u.Q8,v.rt,D.MatCommonModule]})}return _e})()},1274:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatToolbar:()=>h,MatToolbarModule:()=>l,MatToolbarRow:()=>m,throwToolbarMixedModesError:()=>o});var n=_(9212),f=_(3680),D=_(2831),y=_(6814);const u=["*",[["mat-toolbar-row"]]],v=["*","mat-toolbar-row"],s=(0,f.mixinColor)(class{constructor(r){this._elementRef=r}});let m=(()=>{class r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return r})(),h=(()=>{class r extends s{constructor(d,g,b){super(d),this._platform=g,this._document=b}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(g){return new(g||r)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(y.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-toolbar"]],contentQueries:function(g,b,C){if(1&g&&n.\u0275\u0275contentQuery(C,m,5),2&g){let x;n.\u0275\u0275queryRefresh(x=n.\u0275\u0275loadQuery())&&(b._toolbarRows=x)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(g,b){2&g&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",b._toolbarRows.length>0)("mat-toolbar-single-row",0===b._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:2,vars:0,template:function(g,b){1&g&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return r})();function o(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}let l=(()=>{class r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:r});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return r})()},2596:(Me,ie,_)=>{"use strict";_.d(ie,{AV:()=>B,gM:()=>ne});var n=_(9773),f=_(8180),D=_(2495),y=_(6028),u=_(9212),v=_(6814),s=_(2831),m=_(4191),h=_(9388),o=_(9594),l=_(6672),r=_(8484),c=_(8645),g=(_(6825),_(3680));const b=["tooltip"],w=new u.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,u.inject)(o.aV);return()=>$.scrollStrategies.reposition({scrollThrottle:20})}}),S={provide:w,deps:[o.aV],useFactory:function T($){return()=>$.scrollStrategies.reposition({scrollThrottle:20})}},k=new u.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function M(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),P="tooltip-panel",A=(0,s.i$)({passive:!0});let ne=(()=>{class ${get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,D.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,D.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,D.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,D.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).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(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,te,ue,ye,Ge,$e,Ye,Ze,Et,Te,qe,Ee){this._overlay=H,this._elementRef=te,this._scrollDispatcher=ue,this._viewContainerRef=ye,this._ngZone=Ge,this._platform=$e,this._ariaDescriber=Ye,this._focusMonitor=Ze,this._dir=Te,this._defaultOptions=qe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ee,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new c.x,this._scrollStrategy=Et,this._document=Ee,qe&&(this._showDelay=qe.showDelay,this._hideDelay=qe.hideDelay,qe.position&&(this.position=qe.position),qe.positionAtOrigin&&(this.positionAtOrigin=qe.positionAtOrigin),qe.touchGestures&&(this.touchGestures=qe.touchGestures)),Te.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([te,ue])=>{H.removeEventListener(te,ue,A)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,te){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ue=this._createOverlay(te);this._detach(),this._portal=this._portal||new r.C5(this._tooltipComponent,this._viewContainerRef);const ye=this._tooltipInstance=ue.attach(this._portal).instance;ye._triggerElement=this._elementRef.nativeElement,ye._mouseLeaveHideDelay=this._hideDelay,ye.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ye.show(H)}hide(H=this.hideDelay){const te=this._tooltipInstance;te&&(te.isVisible()?te.hide(H):(te._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const ye=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&ye._origin instanceof u.ElementRef)return this._overlayRef;this._detach()}const te=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ue=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(te);return ue.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._updateCurrentPositionClass(ye.connectionPair),this._tooltipInstance&&ye.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ue,panelClass:`${this._cssClassPrefix}-${P}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._isTooltipVisible()&&ye.keyCode===y.hY&&!(0,y.Vb)(ye)&&(ye.preventDefault(),ye.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(H){const te=H.getConfig().positionStrategy,ue=this._getOrigin(),ye=this._getOverlayPosition();te.withPositions([this._addOffset({...ue.main,...ye.main}),this._addOffset({...ue.fallback,...ye.fallback})])}_addOffset(H){const ue=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=ue?-8:8:"end"===H.originX&&(H.offsetX=ue?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te||"below"==te?ue={originX:"center",originY:"above"==te?"top":"bottom"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={originX:"start",originY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={originX:"end",originY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.originX,ue.originY);return{main:ue,fallback:{originX:ye,originY:Ge}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te?ue={overlayX:"center",overlayY:"bottom"}:"below"==te?ue={overlayX:"center",overlayY:"top"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={overlayX:"end",overlayY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={overlayX:"start",overlayY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.overlayX,ue.overlayY);return{main:ue,fallback:{overlayX:ye,overlayY:Ge}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,te){return"above"===this.position||"below"===this.position?"top"===te?te="bottom":"bottom"===te&&(te="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:te}}_updateCurrentPositionClass(H){const{overlayY:te,originX:ue,originY:ye}=H;let Ge;if(Ge="center"===te?this._dir&&"rtl"===this._dir.value?"end"===ue?"left":"right":"start"===ue?"left":"right":"bottom"===te&&"top"===ye?"above":"below",Ge!==this._currentPosition){const $e=this._overlayRef;if($e){const Ye=`${this._cssClassPrefix}-${P}-`;$e.removePanelClass(Ye+this._currentPosition),$e.addPanelClass(Ye+Ge)}this._currentPosition=Ge}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let te;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(te=H),this.show(void 0,te)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const te=H.targetTouches?.[0],ue=te?{x:te.clientX,y:te.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ue),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",te=>{const ue=te.relatedTarget;(!ue||!this._overlayRef?.overlayElement.contains(ue))&&this.hide()}],["wheel",te=>this._wheelListener(te)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const te=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",te],["touchcancel",te])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([te,ue])=>{this._elementRef.nativeElement.addEventListener(te,ue,A)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const te=this._document.elementFromPoint(H.clientX,H.clientY),ue=this._elementRef.nativeElement;te!==ue&&!ue.contains(te)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const te=this._elementRef.nativeElement,ue=te.style;("on"===H||"INPUT"!==te.nodeName&&"TEXTAREA"!==te.nodeName)&&(ue.userSelect=ue.msUserSelect=ue.webkitUserSelect=ue.MozUserSelect="none"),("on"===H||!te.draggable)&&(ue.webkitUserDrag="none"),ue.touchAction="none",ue.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(o.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.mF),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(s.t4),u.\u0275\u0275directiveInject(m.$s),u.\u0275\u0275directiveInject(m.tE),u.\u0275\u0275directiveInject(w),u.\u0275\u0275directiveInject(h.Is),u.\u0275\u0275directiveInject(k,8),u.\u0275\u0275directiveInject(v.DOCUMENT))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:$,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(te,ue){2&te&&u.\u0275\u0275classProp("mat-mdc-tooltip-disabled",ue.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return $})(),ee=(()=>{class ${constructor(H,te,ue){this._changeDetectorRef=H,this._elementRef=te,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new c.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ue}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const te=this._tooltip.nativeElement,ue=this._showAnimation,ye=this._hideAnimation;if(te.classList.remove(H?ye:ue),te.classList.add(H?ue:ye),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ge=getComputedStyle(te);("0s"===Ge.getPropertyValue("animation-duration")||"none"===Ge.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(te.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:$,selectors:[["mat-tooltip-component"]],viewQuery:function(te,ue){if(1&te&&u.\u0275\u0275viewQuery(b,7),2&te){let ye;u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue._tooltip=ye.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(te,ue){1&te&&u.\u0275\u0275listener("mouseleave",function(Ge){return ue._handleMouseLeave(Ge)}),2&te&&u.\u0275\u0275styleProp("zoom",ue.isVisible()?1:null)},decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(te,ue){1&te&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("animationend",function(Ge){return ue._handleAnimationEnd(Ge)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&te&&(u.\u0275\u0275classProp("mdc-tooltip--multiline",ue._isMultiline),u.\u0275\u0275property("ngClass",ue.tooltipClass),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(ue.message))},dependencies:[v.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[S],imports:[m.rt,v.CommonModule,o.U8,g.MatCommonModule,g.MatCommonModule,l.ZD]})}return $})()},6593:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{BrowserModule:()=>Ce,By:()=>jt,DomSanitizer:()=>De,EVENT_MANAGER_PLUGINS:()=>l,EventManager:()=>r,EventManagerPlugin:()=>c,HAMMER_GESTURE_CONFIG:()=>an,HAMMER_LOADER:()=>En,HammerGestureConfig:()=>un,HammerModule:()=>Ft,Meta:()=>Ae,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>M,Title:()=>ke,TransferState:()=>bt,VERSION:()=>Pt,bootstrapApplication:()=>te,createApplication:()=>ue,disableDebugTools:()=>Yt,enableDebugTools:()=>Ot,makeStateKey:()=>Nt,platformBrowser:()=>Te,provideClientHydration:()=>Ct,provideProtractorTestingSupport:()=>Ge,withHttpTransferCacheOptions:()=>ut,withNoHttpTransferCache:()=>tt,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>h,\u0275DomEventsPlugin:()=>j,\u0275DomRendererFactory2:()=>A,\u0275DomSanitizerImpl:()=>Xe,\u0275HammerGesturesPlugin:()=>Bt,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Et,\u0275KeyEventsPlugin:()=>H,\u0275SharedStylesHost:()=>g,\u0275getDOM:()=>f.\u0275getDOM,\u0275initDomAdapter:()=>$e});var n=_(9212),f=_(6814),D=_(9862);class y extends f.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends y{static makeCurrent(){(0,f.\u0275setRootDomAdapter)(new u)}onAndCancel(ce,z,oe){return ce.addEventListener(z,oe),()=>{ce.removeEventListener(z,oe)}}dispatchEvent(ce,z){ce.dispatchEvent(z)}remove(ce){ce.parentNode&&ce.parentNode.removeChild(ce)}createElement(ce,z){return(z=z||this.getDefaultDocument()).createElement(ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ce){return ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(ce){return ce instanceof DocumentFragment}getGlobalEventTarget(ce,z){return"window"===z?window:"document"===z?ce:"body"===z?ce.body:null}getBaseHref(ce){const z=function s(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==z?null:function m(_e){return new URL(_e,document.baseURI).pathname}(z)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(ce){return(0,f.\u0275parseCookieValue)(document.cookie,ce)}}let v=null;class h{addToWindow(ce){n.\u0275global.getAngularTestability=(oe,Se=!0)=>{const at=ce.findTestabilityInTree(oe,Se);if(null==at)throw new n.\u0275RuntimeError(5103,!1);return at},n.\u0275global.getAllAngularTestabilities=()=>ce.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>ce.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(oe=>{const Se=n.\u0275global.getAllAngularTestabilities();let at=Se.length,nt=!1;const mt=function(He){nt=nt||He,at--,0==at&&oe(nt)};Se.forEach(He=>{He.whenStable(mt)})})}findTestabilityInTree(ce,z,oe){return null==z?null:ce.getTestability(z)??(oe?(0,f.\u0275getDOM)().isShadowRoot(z)?this.findTestabilityInTree(ce,z.host,!0):this.findTestabilityInTree(ce,z.parentElement,!0):null)}}let o=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const l=new n.InjectionToken("EventManagerPlugins");let r=(()=>{class _e{constructor(z,oe){this._zone=oe,this._eventNameToPlugin=new Map,z.forEach(Se=>{Se.manager=this}),this._plugins=z.slice().reverse()}addEventListener(z,oe,Se){return this._findPluginFor(oe).addEventListener(z,oe,Se)}getZone(){return this._zone}_findPluginFor(z){let oe=this._eventNameToPlugin.get(z);if(oe)return oe;if(oe=this._plugins.find(at=>at.supports(z)),!oe)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(z,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class c{constructor(ce){this._doc=ce}}const d="ng-app-id";let g=(()=>{class _e{constructor(z,oe,Se,at={}){this.doc=z,this.appId=oe,this.nonce=Se,this.platformId=at,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,f.isPlatformServer)(at),this.resetHostNodes()}addStyles(z){for(const oe of z)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(z){for(const oe of z)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const z=this.styleNodesInDOM;z&&(z.forEach(oe=>oe.remove()),z.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(z){this.hostNodes.add(z);for(const oe of this.getAllStyles())this.addStyleToHost(z,oe)}removeHost(z){this.hostNodes.delete(z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(z){for(const oe of this.hostNodes)this.addStyleToHost(oe,z)}onStyleRemoved(z){const oe=this.styleRef;oe.get(z)?.elements?.forEach(Se=>Se.remove()),oe.delete(z)}collectServerRenderedStyles(){const z=this.doc.head?.querySelectorAll(`style[${d}="${this.appId}"]`);if(z?.length){const oe=new Map;return z.forEach(Se=>{null!=Se.textContent&&oe.set(Se.textContent,Se)}),oe}return null}changeUsageCount(z,oe){const Se=this.styleRef;if(Se.has(z)){const at=Se.get(z);return at.usage+=oe,at.usage}return Se.set(z,{usage:oe,elements:[]}),oe}getStyleElement(z,oe){const Se=this.styleNodesInDOM,at=Se?.get(oe);if(at?.parentNode===z)return Se.delete(oe),at.removeAttribute(d),at;{const nt=this.doc.createElement("style");return this.nonce&&nt.setAttribute("nonce",this.nonce),nt.textContent=oe,this.platformIsServer&&nt.setAttribute(d,this.appId),z.appendChild(nt),nt}}addStyleToHost(z,oe){const Se=this.getStyleElement(z,oe),at=this.styleRef,nt=at.get(oe)?.elements;nt?nt.push(Se):at.set(oe,{elements:[Se],usage:1})}resetHostNodes(){const z=this.hostNodes;z.clear(),z.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const b={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/"},C=/%COMP%/g,x="%COMP%",w=`_nghost-${x}`,T=`_ngcontent-${x}`,M=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function P(_e,ce){return ce.map(z=>z.replace(C,_e))}let A=(()=>{class _e{constructor(z,oe,Se,at,nt,mt,He,rt=null){this.eventManager=z,this.sharedStylesHost=oe,this.appId=Se,this.removeStylesOnCompDestroy=at,this.doc=nt,this.platformId=mt,this.ngZone=He,this.nonce=rt,this.rendererByCompId=new Map,this.platformIsServer=(0,f.isPlatformServer)(mt),this.defaultRenderer=new L(z,nt,He,this.platformIsServer)}createRenderer(z,oe){if(!z||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===n.ViewEncapsulation.ShadowDom&&(oe={...oe,encapsulation:n.ViewEncapsulation.Emulated});const Se=this.getOrCreateRenderer(z,oe);return Se instanceof ee?Se.applyToHost(z):Se instanceof ne&&Se.applyStyles(),Se}getOrCreateRenderer(z,oe){const Se=this.rendererByCompId;let at=Se.get(oe.id);if(!at){const nt=this.doc,mt=this.ngZone,He=this.eventManager,rt=this.sharedStylesHost,Lt=this.removeStylesOnCompDestroy,Xt=this.platformIsServer;switch(oe.encapsulation){case n.ViewEncapsulation.Emulated:at=new ee(He,rt,oe,this.appId,Lt,nt,mt,Xt);break;case n.ViewEncapsulation.ShadowDom:return new W(He,rt,z,oe,nt,mt,this.nonce,Xt);default:at=new ne(He,rt,oe,Lt,nt,mt,Xt)}Se.set(oe.id,at)}return at}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(r),n.\u0275\u0275inject(g),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(M),n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class L{constructor(ce,z,oe,Se){this.eventManager=ce,this.doc=z,this.ngZone=oe,this.platformIsServer=Se,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ce,z){return z?this.doc.createElementNS(b[z]||z,ce):this.doc.createElement(ce)}createComment(ce){return this.doc.createComment(ce)}createText(ce){return this.doc.createTextNode(ce)}appendChild(ce,z){(U(ce)?ce.content:ce).appendChild(z)}insertBefore(ce,z,oe){ce&&(U(ce)?ce.content:ce).insertBefore(z,oe)}removeChild(ce,z){ce&&ce.removeChild(z)}selectRootElement(ce,z){let oe="string"==typeof ce?this.doc.querySelector(ce):ce;if(!oe)throw new n.\u0275RuntimeError(-5104,!1);return z||(oe.textContent=""),oe}parentNode(ce){return ce.parentNode}nextSibling(ce){return ce.nextSibling}setAttribute(ce,z,oe,Se){if(Se){z=Se+":"+z;const at=b[Se];at?ce.setAttributeNS(at,z,oe):ce.setAttribute(z,oe)}else ce.setAttribute(z,oe)}removeAttribute(ce,z,oe){if(oe){const Se=b[oe];Se?ce.removeAttributeNS(Se,z):ce.removeAttribute(`${oe}:${z}`)}else ce.removeAttribute(z)}addClass(ce,z){ce.classList.add(z)}removeClass(ce,z){ce.classList.remove(z)}setStyle(ce,z,oe,Se){Se&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?ce.style.setProperty(z,oe,Se&n.RendererStyleFlags2.Important?"important":""):ce.style[z]=oe}removeStyle(ce,z,oe){oe&n.RendererStyleFlags2.DashCase?ce.style.removeProperty(z):ce.style[z]=""}setProperty(ce,z,oe){null!=ce&&(ce[z]=oe)}setValue(ce,z){ce.nodeValue=z}listen(ce,z,oe){if("string"==typeof ce&&!(ce=(0,f.\u0275getDOM)().getGlobalEventTarget(this.doc,ce)))throw new Error(`Unsupported event target ${ce} for event ${z}`);return this.eventManager.addEventListener(ce,z,this.decoratePreventDefault(oe))}decoratePreventDefault(ce){return z=>{if("__ngUnwrap__"===z)return ce;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ce(z)):ce(z))&&z.preventDefault()}}}function U(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class W extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,He),this.sharedStylesHost=z,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=P(Se.id,Se.styles);for(const Lt of rt){const Xt=document.createElement("style");mt&&Xt.setAttribute("nonce",mt),Xt.textContent=Lt,this.shadowRoot.appendChild(Xt)}}nodeOrShadowRoot(ce){return ce===this.hostEl?this.shadowRoot:ce}appendChild(ce,z){return super.appendChild(this.nodeOrShadowRoot(ce),z)}insertBefore(ce,z,oe){return super.insertBefore(this.nodeOrShadowRoot(ce),z,oe)}removeChild(ce,z){return super.removeChild(this.nodeOrShadowRoot(ce),z)}parentNode(ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ce)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ne extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,mt),this.sharedStylesHost=z,this.removeStylesOnCompDestroy=Se,this.styles=He?P(He,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ee extends ne{constructor(ce,z,oe,Se,at,nt,mt,He){const rt=Se+"-"+oe.id;super(ce,z,oe,at,nt,mt,He,rt),this.contentAttr=function k(_e){return T.replace(C,_e)}(rt),this.hostAttr=function I(_e){return w.replace(C,_e)}(rt)}applyToHost(ce){this.applyStyles(),this.setAttribute(ce,this.hostAttr,"")}createElement(ce,z){const oe=super.createElement(ce,z);return super.setAttribute(oe,this.contentAttr,""),oe}}let j=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return!0}addEventListener(z,oe,Se){return z.addEventListener(oe,Se,!1),()=>this.removeEventListener(z,oe,Se)}removeEventListener(z,oe,Se){return z.removeEventListener(oe,Se)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const B=["alt","control","meta","shift"],$={"\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"},Z={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let H=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return null!=_e.parseEventName(z)}addEventListener(z,oe,Se){const at=_e.parseEventName(oe),nt=_e.eventCallback(at.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.\u0275getDOM)().onAndCancel(z,at.domEventName,nt))}static parseEventName(z){const oe=z.toLowerCase().split("."),Se=oe.shift();if(0===oe.length||"keydown"!==Se&&"keyup"!==Se)return null;const at=_e._normalizeKey(oe.pop());let nt="",mt=oe.indexOf("code");if(mt>-1&&(oe.splice(mt,1),nt="code."),B.forEach(rt=>{const Lt=oe.indexOf(rt);Lt>-1&&(oe.splice(Lt,1),nt+=rt+".")}),nt+=at,0!=oe.length||0===at.length)return null;const He={};return He.domEventName=Se,He.fullKey=nt,He}static matchEventFullKeyCode(z,oe){let Se=$[z.key]||z.key,at="";return oe.indexOf("code.")>-1&&(Se=z.code,at="code."),!(null==Se||!Se)&&(Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),B.forEach(nt=>{nt!==Se&&(0,Z[nt])(z)&&(at+=nt+".")}),at+=Se,at===oe)}static eventCallback(z,oe,Se){return at=>{_e.matchEventFullKeyCode(at,z)&&Se.runGuarded(()=>oe(at))}}static _normalizeKey(z){return"esc"===z?"escape":z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();function te(_e,ce){return(0,n.\u0275internalCreateApplication)({rootComponent:_e,...ye(ce)})}function ue(_e){return(0,n.\u0275internalCreateApplication)(ye(_e))}function ye(_e){return{appProviders:[...Ie,..._e?.providers??[]],platformProviders:Et}}function Ge(){return[...Ee]}function $e(){u.makeCurrent()}const Et=[{provide:n.PLATFORM_ID,useValue:f.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:$e,multi:!0},{provide:f.DOCUMENT,useFactory:function Ze(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Te=(0,n.createPlatformFactory)(n.platformCore,"browser",Et),qe=new n.InjectionToken(""),Ee=[{provide:n.\u0275TESTABILITY_GETTER,useClass:h,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Ie=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ye(){return new n.ErrorHandler},deps:[]},{provide:l,useClass:j,multi:!0,deps:[f.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:l,useClass:H,multi:!0,deps:[f.DOCUMENT]},A,g,r,{provide:n.RendererFactory2,useExisting:A},{provide:f.XhrFactory,useClass:o,deps:[]},[]];let Ce=(()=>{class _e{constructor(z){}static withServerTransition(z){return{ngModule:_e,providers:[{provide:n.APP_ID,useValue:z.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(qe,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Ie,...Ee],imports:[f.CommonModule,n.ApplicationModule]})}return _e})(),Ae=(()=>{class _e{constructor(z){this._doc=z,this._dom=(0,f.\u0275getDOM)()}addTag(z,oe=!1){return z?this._getOrCreateElement(z,oe):null}addTags(z,oe=!1){return z?z.reduce((Se,at)=>(at&&Se.push(this._getOrCreateElement(at,oe)),Se),[]):[]}getTag(z){return z&&this._doc.querySelector(`meta[${z}]`)||null}getTags(z){if(!z)return[];const oe=this._doc.querySelectorAll(`meta[${z}]`);return oe?[].slice.call(oe):[]}updateTag(z,oe){if(!z)return null;oe=oe||this._parseSelector(z);const Se=this.getTag(oe);return Se?this._setMetaElementAttributes(z,Se):this._getOrCreateElement(z,!0)}removeTag(z){this.removeTagElement(this.getTag(z))}removeTagElement(z){z&&this._dom.remove(z)}_getOrCreateElement(z,oe=!1){if(!oe){const nt=this._parseSelector(z),mt=this.getTags(nt).filter(He=>this._containsAttributes(z,He))[0];if(void 0!==mt)return mt}const Se=this._dom.createElement("meta");return this._setMetaElementAttributes(z,Se),this._doc.getElementsByTagName("head")[0].appendChild(Se),Se}_setMetaElementAttributes(z,oe){return Object.keys(z).forEach(Se=>oe.setAttribute(this._getMetaKeyMap(Se),z[Se])),oe}_parseSelector(z){const oe=z.name?"name":"property";return`${oe}="${z[oe]}"`}_containsAttributes(z,oe){return Object.keys(z).every(Se=>oe.getAttribute(this._getMetaKeyMap(Se))===z[Se])}_getMetaKeyMap(z){return q[z]||z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function ge(){return new Ae((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();const q={httpEquiv:"http-equiv"};let ke=(()=>{class _e{constructor(z){this._doc=z}getTitle(){return this._doc.title}setTitle(z){this._doc.title=z||""}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Re(){return new ke((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();function Ke(_e,ce){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[_e]=ce)}const me=typeof window<"u"&&window||{};class Pe{constructor(ce,z){this.msPerTick=ce,this.numTicks=z}}class Ne{constructor(ce){this.appRef=ce.injector.get(n.ApplicationRef)}timeChangeDetection(ce){const z=ce&&ce.record,oe="Change Detection",Se=null!=me.console.profile;z&&Se&&me.console.profile(oe);const at=Be();let nt=0;for(;nt<5||Be()-at<500;)this.appRef.tick(),nt++;const mt=Be();z&&Se&&me.console.profileEnd(oe);const He=(mt-at)/nt;return me.console.log(`ran ${nt} change detection cycles`),me.console.log(`${He.toFixed(2)} ms per check`),new Pe(He,nt)}}function Be(){return me.performance&&me.performance.now?me.performance.now():(new Date).getTime()}const yt="profiler";function Ot(_e){return Ke(yt,new Ne(_e)),_e}function Yt(){Ke(yt,null)}class jt{static all(){return()=>!0}static css(ce){return z=>null!=z.nativeElement&&function cn(_e,ce){return!!(0,f.\u0275getDOM)().isElementNode(_e)&&(_e.matches&&_e.matches(ce)||_e.msMatchesSelector&&_e.msMatchesSelector(ce)||_e.webkitMatchesSelector&&_e.webkitMatchesSelector(ce))}(z.nativeElement,ce)}static directive(ce){return z=>-1!==z.providerTokens.indexOf(ce)}}const fn={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},an=new n.InjectionToken("HammerGestureConfig"),En=new n.InjectionToken("HammerLoader");let un=(()=>{class _e{constructor(){this.events=[],this.overrides={}}buildHammer(z){const oe=new Hammer(z,this.options);oe.get("pinch").set({enable:!0}),oe.get("rotate").set({enable:!0});for(const Se in this.overrides)oe.get(Se).set(this.overrides[Se]);return oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Bt=(()=>{class _e extends c{constructor(z,oe,Se,at){super(z),this._config=oe,this.console=Se,this.loader=at,this._loaderPromise=null}supports(z){return!(!fn.hasOwnProperty(z.toLowerCase())&&!this.isCustomEvent(z)||!window.Hammer&&!this.loader)}addEventListener(z,oe,Se){const at=this.manager.getZone();if(oe=oe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||at.runOutsideAngular(()=>this.loader());let nt=!1,mt=()=>{nt=!0};return at.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?nt||(mt=this.addEventListener(z,oe,Se)):mt=()=>{}}).catch(()=>{mt=()=>{}})),()=>{mt()}}return at.runOutsideAngular(()=>{const nt=this._config.buildHammer(z),mt=function(He){at.runGuarded(function(){Se(He)})};return nt.on(oe,mt),()=>{nt.off(oe,mt),"function"==typeof nt.destroy&&nt.destroy()}})}isCustomEvent(z){return this._config.events.indexOf(z)>-1}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(an),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(En,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Ft=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:l,useClass:Bt,multi:!0,deps:[f.DOCUMENT,an,n.\u0275Console,[new n.Optional,En]]},{provide:an,useClass:un,deps:[]}]})}return _e})(),De=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new(oe||_e):n.\u0275\u0275inject(Xe),Se},providedIn:"root"})}return _e})(),Xe=(()=>{class _e extends De{constructor(z){super(),this._doc=z}sanitize(z,oe){if(null==oe)return null;switch(z){case n.SecurityContext.NONE:return oe;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"HTML")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeHtml)(this._doc,String(oe)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Style")?(0,n.\u0275unwrapSafeValue)(oe):oe;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Script"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"URL")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeUrl)(String(oe));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(z){return(0,n.\u0275bypassSanitizationTrustHtml)(z)}bypassSecurityTrustStyle(z){return(0,n.\u0275bypassSanitizationTrustStyle)(z)}bypassSecurityTrustScript(z){return(0,n.\u0275bypassSanitizationTrustScript)(z)}bypassSecurityTrustUrl(z){return(0,n.\u0275bypassSanitizationTrustUrl)(z)}bypassSecurityTrustResourceUrl(z){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Ve(_e){return new Xe(_e.get(f.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),Se},providedIn:"root"})}return _e})();function St(_e,ce=[],z={}){return{\u0275kind:_e,\u0275providers:ce}}function tt(){return St(0)}function ut(_e){return St(1,(0,D.\u0275withHttpTransferCache)(_e))}function Ct(..._e){const ce=[],z=new Set,oe=z.has(1);for(const{\u0275providers:Se,\u0275kind:at}of _e)z.add(at),Se.length&&ce.push(Se);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),z.has(0)||oe?[]:(0,D.\u0275withHttpTransferCache)({}),ce])}const Pt=new n.Version("17.0.8"),Nt=n.makeStateKey,bt=n.TransferState},5187:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ActivatedRoute:()=>_n,ActivatedRouteSnapshot:()=>Fn,ActivationEnd:()=>Zn,ActivationStart:()=>Ci,BaseRouteReuseStrategy:()=>Yi,ChildActivationEnd:()=>Bn,ChildActivationStart:()=>On,ChildrenOutletContexts:()=>fr,DefaultTitleStrategy:()=>Ds,DefaultUrlSerializer:()=>Yt,GuardsCheckEnd:()=>pe,GuardsCheckStart:()=>Y,NavigationCancel:()=>Ht,NavigationEnd:()=>vt,NavigationError:()=>ze,NavigationSkipped:()=>dn,NavigationStart:()=>wt,NoPreloading:()=>no,OutletContext:()=>Gi,PRIMARY_OUTLET:()=>Z,PreloadAllModules:()=>al,PreloadingStrategy:()=>ar,ROUTER_CONFIGURATION:()=>us,ROUTER_INITIALIZER:()=>bo,ROUTES:()=>J,ResolveEnd:()=>Qe,ResolveStart:()=>de,RouteConfigLoadEnd:()=>hn,RouteConfigLoadStart:()=>_t,RouteReuseStrategy:()=>Ii,Router:()=>Rr,RouterEvent:()=>Ut,RouterLink:()=>xi,RouterLinkActive:()=>Fs,RouterLinkWithHref:()=>xi,RouterModule:()=>ul,RouterOutlet:()=>Gr,RouterPreloader:()=>Ss,RouterState:()=>Fi,RouterStateSnapshot:()=>Ln,RoutesRecognized:()=>en,Scroll:()=>Ei,TitleStrategy:()=>po,UrlHandlingStrategy:()=>zt,UrlSegment:()=>Pe,UrlSegmentGroup:()=>me,UrlSerializer:()=>Ot,UrlTree:()=>Ke,VERSION:()=>ha,convertToParamMap:()=>ue,createUrlTreeFromSnapshot:()=>nt,defaultUrlMatcher:()=>ye,mapToCanActivate:()=>Uo,mapToCanActivateChild:()=>Bo,mapToCanDeactivate:()=>dl,mapToCanMatch:()=>ss,mapToResolve:()=>uc,provideRouter:()=>Lo,provideRoutes:()=>aa,withComponentInputBinding:()=>Ts,withDebugTracing:()=>Po,withDisabledInitialNavigation:()=>zn,withEnabledBlockingInitialNavigation:()=>_o,withHashLocation:()=>No,withInMemoryScrolling:()=>la,withNavigationErrorHandler:()=>vo,withPreloading:()=>ca,withRouterConfig:()=>io,withViewTransitions:()=>Fo,\u0275EmptyOutletComponent:()=>qr,\u0275ROUTER_PROVIDERS:()=>ro,\u0275afterNextNavigation:()=>ur,\u0275loadChildren:()=>le});var n=_(9212),f=_(2664),D=_(2459),y=_(2096),u=_(5619),v=_(2572),s=_(6973),m=_(34),h=_(4911),o=_(8407),l=_(8504),r=_(6232),c=_(3168),d=_(8645),g=_(7394),b=_(6814),C=_(7398),x=_(4664),w=_(8180),T=_(7921),S=_(2181),M=_(9769),k=_(1374),I=_(6328),P=_(9397),A=_(6306),L=_(6424),F=_(3572),R=_(2032),U=_(4418),W=_(975),ne=_(4716),ee=_(6196),j=_(9773),B=_(7537),$=_(6593);const Z="primary",H=Symbol("RouteTitle");class te{constructor(se){this.params=se||{}}has(se){return Object.prototype.hasOwnProperty.call(this.params,se)}get(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q[0]:Q}return null}getAll(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function ue(G){return new te(G)}function ye(G,se,Q){const re=Q.path.split("/");if(re.length>G.length||"full"===Q.pathMatch&&(se.hasChildren()||re.lengthre[We]===be)}return G===se}function Et(G){return G.length>0?G[G.length-1]:null}function Te(G){return(0,f.b)(G)?G:(0,n.\u0275isPromise)(G)?(0,D.D)(Promise.resolve(G)):(0,y.of)(G)}const qe={exact:function ge(G,se,Q){if(!Be(G.segments,se.segments)||!ke(G.segments,se.segments,Q)||G.numberOfChildren!==se.numberOfChildren)return!1;for(const re in se.children)if(!G.children[re]||!ge(G.children[re],se.children[re],Q))return!1;return!0},subset:q},Ee={exact:function Ce(G,se){return $e(G,se)},subset:function Ae(G,se){return Object.keys(se).length<=Object.keys(G).length&&Object.keys(se).every(Q=>Ze(G[Q],se[Q]))},ignored:()=>!0};function Ie(G,se,Q){return qe[Q.paths](G.root,se.root,Q.matrixParams)&&Ee[Q.queryParams](G.queryParams,se.queryParams)&&!("exact"===Q.fragment&&G.fragment!==se.fragment)}function q(G,se,Q){return Re(G,se,se.segments,Q)}function Re(G,se,Q,re){if(G.segments.length>Q.length){const be=G.segments.slice(0,Q.length);return!(!Be(be,Q)||se.hasChildren()||!ke(be,Q,re))}if(G.segments.length===Q.length){if(!Be(G.segments,Q)||!ke(G.segments,Q,re))return!1;for(const be in se.children)if(!G.children[be]||!q(G.children[be],se.children[be],re))return!1;return!0}{const be=Q.slice(0,G.segments.length),We=Q.slice(G.segments.length);return!!(Be(G.segments,be)&&ke(G.segments,be,re)&&G.children[Z])&&Re(G.children[Z],se,We,re)}}function ke(G,se,Q){return se.every((re,be)=>Ee[Q](G[be].parameters,re.parameters))}class Ke{constructor(se=new me([],{}),Q={},re=null){this.root=se,this.queryParams=Q,this.fragment=re}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class me{constructor(se,Q){this.segments=se,this.children=Q,this.parent=null,Object.values(Q).forEach(re=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cn(this)}}class Pe{constructor(se,Q){this.path=se,this.parameters=Q}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Be(G,se){return G.length===se.length&&G.every((Q,re)=>Q.path===se[re].path)}let Ot=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>new Yt,providedIn:"root"})}return G})();class Yt{parse(se){const Q=new ce(se);return new Ke(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(se){const Q=`/${fn(se.root,!0)}`,re=function St(G){const se=Object.keys(G).map(Q=>{const re=G[Q];return Array.isArray(re)?re.map(be=>`${En(Q)}=${En(be)}`).join("&"):`${En(Q)}=${En(re)}`}).filter(Q=>!!Q);return se.length?`?${se.join("&")}`:""}(se.queryParams);return`${Q}${re}${"string"==typeof se.fragment?`#${function un(G){return encodeURI(G)}(se.fragment)}`:""}`}}const jt=new Yt;function cn(G){return G.segments.map(se=>Ve(se)).join("/")}function fn(G,se){if(!G.hasChildren())return cn(G);if(se){const Q=G.children[Z]?fn(G.children[Z],!1):"",re=[];return Object.entries(G.children).forEach(([be,We])=>{be!==Z&&re.push(`${be}:${fn(We,!1)}`)}),re.length>0?`${Q}(${re.join("//")})`:Q}{const Q=function yt(G,se){let Q=[];return Object.entries(G.children).forEach(([re,be])=>{re===Z&&(Q=Q.concat(se(be,re)))}),Object.entries(G.children).forEach(([re,be])=>{re!==Z&&(Q=Q.concat(se(be,re)))}),Q}(G,(re,be)=>be===Z?[fn(G.children[Z],!1)]:[`${be}:${fn(re,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[Z]?`${cn(G)}/${Q[0]}`:`${cn(G)}/(${Q.join("//")})`}}function an(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(G){return an(G).replace(/%3B/gi,";")}function Bt(G){return an(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(G){return decodeURIComponent(G)}function De(G){return Ft(G.replace(/\+/g,"%20"))}function Ve(G){return`${Bt(G.path)}${function Xe(G){return Object.keys(G).map(se=>`;${Bt(se)}=${Bt(G[se])}`).join("")}(G.parameters)}`}const tt=/^[^\/()?;#]+/;function ut(G){const se=G.match(tt);return se?se[0]:""}const Oe=/^[^\/()?;=#]+/,Pt=/^[^=?&#]+/,bt=/^[^&#]+/;class ce{constructor(se){this.url=se,this.remaining=se}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const se={};if(this.consumeOptional("?"))do{this.parseQueryParam(se)}while(this.consumeOptional("&"));return se}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const se=[];for(this.peekStartsWith("(")||se.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),se.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(se.length>0||Object.keys(Q).length>0)&&(re[Z]=new me(se,Q)),re}parseSegment(){const se=ut(this.remaining);if(""===se&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(se),new Pe(Ft(se),this.parseMatrixParams())}parseMatrixParams(){const se={};for(;this.consumeOptional(";");)this.parseParam(se);return se}parseParam(se){const Q=function Ct(G){const se=G.match(Oe);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const be=ut(this.remaining);be&&(re=be,this.capture(re))}se[Ft(Q)]=Ft(re)}parseQueryParam(se){const Q=function Nt(G){const se=G.match(Pt);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const pt=function _e(G){const se=G.match(bt);return se?se[0]:""}(this.remaining);pt&&(re=pt,this.capture(re))}const be=De(Q),We=De(re);if(se.hasOwnProperty(be)){let pt=se[be];Array.isArray(pt)||(pt=[pt],se[be]=pt),pt.push(We)}else se[be]=We}parseParens(se){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=ut(this.remaining),be=this.remaining[re.length];if("/"!==be&&")"!==be&&";"!==be)throw new n.\u0275RuntimeError(4010,!1);let We;re.indexOf(":")>-1?(We=re.slice(0,re.indexOf(":")),this.capture(We),this.capture(":")):se&&(We=Z);const pt=this.parseChildren();Q[We]=1===Object.keys(pt).length?pt[Z]:new me([],pt),this.consumeOptional("//")}return Q}peekStartsWith(se){return this.remaining.startsWith(se)}consumeOptional(se){return!!this.peekStartsWith(se)&&(this.remaining=this.remaining.substring(se.length),!0)}capture(se){if(!this.consumeOptional(se))throw new n.\u0275RuntimeError(4011,!1)}}function z(G){return G.segments.length>0?new me([],{[Z]:G}):G}function oe(G){const se={};for(const re of Object.keys(G.children)){const We=oe(G.children[re]);if(re===Z&&0===We.segments.length&&We.hasChildren())for(const[pt,Zt]of Object.entries(We.children))se[pt]=Zt;else(We.segments.length>0||We.hasChildren())&&(se[re]=We)}return function Se(G){if(1===G.numberOfChildren&&G.children[Z]){const se=G.children[Z];return new me(G.segments.concat(se.segments),se.children)}return G}(new me(G.segments,se))}function at(G){return G instanceof Ke}function nt(G,se,Q=null,re=null){return He(mt(G),se,Q,re)}function mt(G){let se;const be=z(function Q(We){const pt={};for(const Wt of We.children){const Mn=Q(Wt);pt[Wt.outlet]=Mn}const Zt=new me(We.url,pt);return We===G&&(se=Zt),Zt}(G.root));return se??be}function He(G,se,Q,re){let be=G;for(;be.parent;)be=be.parent;if(0===se.length)return Xt(be,be,be,Q,re);const We=function ui(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new Nn(!0,0,G);let se=0,Q=!1;const re=G.reduce((be,We,pt)=>{if("object"==typeof We&&null!=We){if(We.outlets){const Zt={};return Object.entries(We.outlets).forEach(([Wt,Mn])=>{Zt[Wt]="string"==typeof Mn?Mn.split("/"):Mn}),[...be,{outlets:Zt}]}if(We.segmentPath)return[...be,We.segmentPath]}return"string"!=typeof We?[...be,We]:0===pt?(We.split("/").forEach((Zt,Wt)=>{0==Wt&&"."===Zt||(0==Wt&&""===Zt?Q=!0:".."===Zt?se++:""!=Zt&&be.push(Zt))}),be):[...be,We]},[]);return new Nn(Q,se,re)}(se);if(We.toRoot())return Xt(be,be,new me([],{}),Q,re);const pt=function Hi(G,se,Q){if(G.isAbsolute)return new _i(se,!0,0);if(!Q)return new _i(se,!1,NaN);if(null===Q.parent)return new _i(Q,!0,0);const re=rt(G.commands[0])?0:1;return function Yn(G,se,Q){let re=G,be=se,We=Q;for(;We>be;){if(We-=be,re=re.parent,!re)throw new n.\u0275RuntimeError(4005,!1);be=re.segments.length}return new _i(re,!1,be-We)}(Q,Q.segments.length-1+re,G.numberOfDoubleDots)}(We,be,G),Zt=pt.processChildren?Ue(pt.segmentGroup,pt.index,We.commands):pn(pt.segmentGroup,pt.index,We.commands);return Xt(be,pt.segmentGroup,Zt,Q,re)}function rt(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function Lt(G){return"object"==typeof G&&null!=G&&G.outlets}function Xt(G,se,Q,re,be){let pt,We={};re&&Object.entries(re).forEach(([Wt,Mn])=>{We[Wt]=Array.isArray(Mn)?Mn.map(ni=>`${ni}`):`${Mn}`}),pt=G===se?Q:tn(G,se,Q);const Zt=z(oe(pt));return new Ke(Zt,We,be)}function tn(G,se,Q){const re={};return Object.entries(G.children).forEach(([be,We])=>{re[be]=We===se?Q:tn(We,se,Q)}),new me(G.segments,re)}class Nn{constructor(se,Q,re){if(this.isAbsolute=se,this.numberOfDoubleDots=Q,this.commands=re,se&&re.length>0&&rt(re[0]))throw new n.\u0275RuntimeError(4003,!1);const be=re.find(Lt);if(be&&be!==Et(re))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _i{constructor(se,Q,re){this.segmentGroup=se,this.processChildren=Q,this.index=re}}function pn(G,se,Q){if(G||(G=new me([],{})),0===G.segments.length&&G.hasChildren())return Ue(G,se,Q);const re=function ot(G,se,Q){let re=0,be=se;const We={match:!1,pathIndex:0,commandIndex:0};for(;be=Q.length)return We;const pt=G.segments[be],Zt=Q[re];if(Lt(Zt))break;const Wt=`${Zt}`,Mn=re0&&void 0===Wt)break;if(Wt&&Mn&&"object"==typeof Mn&&void 0===Mn.outlets){if(!dt(Wt,Mn,pt))return We;re+=2}else{if(!dt(Wt,{},pt))return We;re++}be++}return{match:!0,pathIndex:be,commandIndex:re}}(G,se,Q),be=Q.slice(re.commandIndex);if(re.match&&re.pathIndexWe!==Z)&&G.children[Z]&&1===G.numberOfChildren&&0===G.children[Z].segments.length){const We=Ue(G.children[Z],se,Q);return new me(G.segments,We.children)}return Object.entries(re).forEach(([We,pt])=>{"string"==typeof pt&&(pt=[pt]),null!==pt&&(be[We]=pn(G.children[We],se,pt))}),Object.entries(G.children).forEach(([We,pt])=>{void 0===re[We]&&(be[We]=pt)}),new me(G.segments,be)}}function At(G,se,Q){const re=G.segments.slice(0,se);let be=0;for(;be{"string"==typeof re&&(re=[re]),null!==re&&(se[Q]=At(new me([],{}),0,re))}),se}function it(G){const se={};return Object.entries(G).forEach(([Q,re])=>se[Q]=`${re}`),se}function dt(G,se,Q){return G==Q.path&&$e(se,Q.parameters)}const ct="imperative";class Ut{constructor(se,Q){this.id=se,this.url=Q}}class wt extends Ut{constructor(se,Q,re="imperative",be=null){super(se,Q),this.type=0,this.navigationTrigger=re,this.restoredState=be}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vt extends Ut{constructor(se,Q,re){super(se,Q),this.urlAfterRedirects=re,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ht extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class dn extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=16}}class ze extends Ut{constructor(se,Q,re,be){super(se,Q),this.error=re,this.target=be,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pe extends Ut{constructor(se,Q,re,be,We){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.shouldActivate=We,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class de extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t{constructor(se){this.route=se,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class hn{constructor(se){this.route=se,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class On{constructor(se){this.snapshot=se,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(se){this.snapshot=se,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(se){this.snapshot=se,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zn{constructor(se){this.snapshot=se,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ei{constructor(se,Q,re){this.routerEvent=se,this.position=Q,this.anchor=re,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qi{}class ki{constructor(se){this.url=se}}class Gi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class G{constructor(){this.contexts=new Map}onChildOutletCreated(Q,re){const be=this.getOrCreateContext(Q);be.outlet=re,this.contexts.set(Q,be)}onChildOutletDestroyed(Q){const re=this.getContext(Q);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let re=this.getContext(Q);return re||(re=new Gi,this.contexts.set(Q,re)),re}getContext(Q){return this.contexts.get(Q)||null}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();class Tn{constructor(se){this._root=se}get root(){return this._root.value}parent(se){const Q=this.pathFromRoot(se);return Q.length>1?Q[Q.length-2]:null}children(se){const Q=Ki(se,this._root);return Q?Q.children.map(re=>re.value):[]}firstChild(se){const Q=Ki(se,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(se){const Q=qn(se,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(be=>be.value).filter(be=>be!==se)}pathFromRoot(se){return qn(se,this._root).map(Q=>Q.value)}}function Ki(G,se){if(G===se.value)return se;for(const Q of se.children){const re=Ki(G,Q);if(re)return re}return null}function qn(G,se){if(G===se.value)return[se];for(const Q of se.children){const re=qn(G,Q);if(re.length)return re.unshift(se),re}return[]}class Pn{constructor(se,Q){this.value=se,this.children=Q}toString(){return`TreeNode(${this.value})`}}function Qn(G){const se={};return G&&G.children.forEach(Q=>se[Q.value.outlet]=Q),se}class Fi extends Tn{constructor(se,Q){super(se),this.snapshot=Q,Mi(this,se)}toString(){return this.snapshot.toString()}}function mr(G,se){const Q=function er(G,se){const pt=new Fn([],{},{},"",{},Z,se,null,{});return new Ln("",new Pn(pt,[]))}(0,se),re=new u.X([new Pe("",{})]),be=new u.X({}),We=new u.X({}),pt=new u.X({}),Zt=new u.X(""),Wt=new _n(re,be,pt,Zt,We,Z,se,Q.root);return Wt.snapshot=Q.root,new Fi(new Pn(Wt,[]),Q)}class _n{constructor(se,Q,re,be,We,pt,Zt,Wt){this.urlSubject=se,this.paramsSubject=Q,this.queryParamsSubject=re,this.fragmentSubject=be,this.dataSubject=We,this.outlet=pt,this.component=Zt,this._futureSnapshot=Wt,this.title=this.dataSubject?.pipe((0,C.U)(Mn=>Mn[H]))??(0,y.of)(void 0),this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,C.U)(se=>ue(se)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)(se=>ue(se)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wn(G,se,Q="emptyOnly"){let re;const{routeConfig:be}=G;return re=null===se||"always"!==Q&&""!==be?.path&&(se.component||se.routeConfig?.loadComponent)?{params:{...G.params},data:{...G.data},resolve:{...G.data,...G._resolvedData??{}}}:{params:{...se.params,...G.params},data:{...se.data,...G.data},resolve:{...G.data,...se.data,...be?.data,...G._resolvedData}},be&&pr(be)&&(re.resolve[H]=be.title),re}class Fn{get title(){return this.data?.[H]}constructor(se,Q,re,be,We,pt,Zt,Wt,Mn){this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We,this.outlet=pt,this.component=Zt,this.routeConfig=Wt,this._resolve=Mn}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=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ln extends Tn{constructor(se,Q){super(Q),this.url=se,Mi(this,Q)}toString(){return Vn(this._root)}}function Mi(G,se){se.value._routerState=G,se.children.forEach(Q=>Mi(G,Q))}function Vn(G){const se=G.children.length>0?` { ${G.children.map(Vn).join(", ")} } `:"";return`${G.value}${se}`}function Ui(G){if(G.snapshot){const se=G.snapshot,Q=G._futureSnapshot;G.snapshot=Q,$e(se.queryParams,Q.queryParams)||G.queryParamsSubject.next(Q.queryParams),se.fragment!==Q.fragment&&G.fragmentSubject.next(Q.fragment),$e(se.params,Q.params)||G.paramsSubject.next(Q.params),function Ge(G,se){if(G.length!==se.length)return!1;for(let Q=0;Q$e(Q.parameters,se[re].parameters))}(G.url,se.url);return Q&&!(!G.parent!=!se.parent)&&(!G.parent||sr(G.parent,se.parent))}function pr(G){return"string"==typeof G.title||null===G.title}let Gr=(()=>{class G{constructor(){this.activated=null,this._activatedRoute=null,this.name=Z,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(fr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Lr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Q){if(Q.name){const{firstChange:re,previousValue:be}=Q.name;if(re)return;this.isTrackedInParentContexts(be)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(be)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Q){return this.parentContexts.getContext(Q)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Q=this.parentContexts.getContext(this.name);Q?.route&&(Q.attachRef?this.attach(Q.attachRef,Q.route):this.activateWith(Q.route,Q.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,re){this.activated=Q,this._activatedRoute=re,this.location.insert(Q.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Q.instance)}deactivate(){if(this.activated){const Q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Q)}}activateWith(Q,re){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=Q;const be=this.location,pt=Q.snapshot.component,Zt=this.parentContexts.getOrCreateContext(this.name).children,Wt=new Sr(Q,Zt,be.injector);this.activated=be.createComponent(pt,{index:be.length,injector:Wt,environmentInjector:re??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class Sr{constructor(se,Q,re){this.route=se,this.childContexts=Q,this.parent=re}get(se,Q){return se===_n?this.route:se===fr?this.childContexts:this.parent.get(se,Q)}}const Lr=new n.InjectionToken("");let tr=(()=>{class G{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Q){this.unsubscribeFromRouteData(Q),this.subscribeToRouteData(Q)}unsubscribeFromRouteData(Q){this.outletDataSubscriptions.get(Q)?.unsubscribe(),this.outletDataSubscriptions.delete(Q)}subscribeToRouteData(Q){const{activatedRoute:re}=Q,be=(0,v.a)([re.queryParams,re.params,re.data]).pipe((0,x.w)(([We,pt,Zt],Wt)=>(Zt={...We,...pt,...Zt},0===Wt?(0,y.of)(Zt):Promise.resolve(Zt)))).subscribe(We=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==re||null===re.component)return void this.unsubscribeFromRouteData(Q);const pt=(0,n.reflectComponentType)(re.component);if(pt)for(const{templateName:Zt}of pt.inputs)Q.activatedComponentRef.setInput(Zt,We[Zt]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,be)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Zi(G,se,Q){if(Q&&G.shouldReuseRoute(se.value,Q.value.snapshot)){const re=Q.value;re._futureSnapshot=se.value;const be=function or(G,se,Q){return se.children.map(re=>{for(const be of Q.children)if(G.shouldReuseRoute(re.value,be.value.snapshot))return Zi(G,re,be);return Zi(G,re)})}(G,se,Q);return new Pn(re,be)}{if(G.shouldAttach(se.value)){const We=G.retrieve(se.value);if(null!==We){const pt=We.route;return pt.value._futureSnapshot=se.value,pt.children=se.children.map(Zt=>Zi(G,Zt)),pt}}const re=function oi(G){return new _n(new u.X(G.url),new u.X(G.params),new u.X(G.queryParams),new u.X(G.fragment),new u.X(G.data),G.outlet,G.component,G)}(se.value),be=se.children.map(We=>Zi(G,We));return new Pn(re,be)}}const wr="ngNavigationCancelingError";function Fr(G,se){const{redirectTo:Q,navigationBehaviorOptions:re}=at(se)?{redirectTo:se,navigationBehaviorOptions:void 0}:se,be=ps(!1,0,se);return be.url=Q,be.navigationBehaviorOptions=re,be}function ps(G,se,Q){const re=new Error("NavigationCancelingError: "+(G||""));return re[wr]=!0,re.cancellationCode=se,Q&&(re.url=Q),re}function Tr(G){return G&&G[wr]}let qr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:G,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(re,be){1&re&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[Gr],encapsulation:2})}return G})();function bn(G){const se=G.children&&G.children.map(bn),Q=se?{...G,children:se}:{...G};return!Q.component&&!Q.loadComponent&&(se||Q.loadChildren)&&Q.outlet&&Q.outlet!==Z&&(Q.component=qr),Q}function An(G){return G.outlet||Z}function ai(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let se=G.parent;se;se=se.parent){const Q=se.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class ri{constructor(se,Q,re,be,We){this.routeReuseStrategy=se,this.futureState=Q,this.currState=re,this.forwardEvent=be,this.inputBindingEnabled=We}activate(se){const Q=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,re,se),Ui(this.futureState.root),this.activateChildRoutes(Q,re,se)}deactivateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{const pt=We.value.outlet;this.deactivateRoutes(We,be[pt],re),delete be[pt]}),Object.values(be).forEach(We=>{this.deactivateRouteAndItsChildren(We,re)})}deactivateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(be===We)if(be.component){const pt=re.getContext(be.outlet);pt&&this.deactivateChildRoutes(se,Q,pt.children)}else this.deactivateChildRoutes(se,Q,re);else We&&this.deactivateRouteAndItsChildren(Q,re)}deactivateRouteAndItsChildren(se,Q){se.value.component&&this.routeReuseStrategy.shouldDetach(se.value.snapshot)?this.detachAndStoreRouteSubtree(se,Q):this.deactivateRouteAndOutlet(se,Q)}detachAndStoreRouteSubtree(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);if(re&&re.outlet){const pt=re.outlet.detach(),Zt=re.children.onOutletDeactivated();this.routeReuseStrategy.store(se.value.snapshot,{componentRef:pt,route:se,contexts:Zt})}}deactivateRouteAndOutlet(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);re&&(re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated()),re.attachRef=null,re.route=null)}activateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{this.activateRoutes(We,be[We.value.outlet],re),this.forwardEvent(new Zn(We.value.snapshot))}),se.children.length&&this.forwardEvent(new Bn(se.value.snapshot))}activateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(Ui(be),be===We)if(be.component){const pt=re.getOrCreateContext(be.outlet);this.activateChildRoutes(se,Q,pt.children)}else this.activateChildRoutes(se,Q,re);else if(be.component){const pt=re.getOrCreateContext(be.outlet);if(this.routeReuseStrategy.shouldAttach(be.snapshot)){const Zt=this.routeReuseStrategy.retrieve(be.snapshot);this.routeReuseStrategy.store(be.snapshot,null),pt.children.onOutletReAttached(Zt.contexts),pt.attachRef=Zt.componentRef,pt.route=Zt.route.value,pt.outlet&&pt.outlet.attach(Zt.componentRef,Zt.route.value),Ui(Zt.route.value),this.activateChildRoutes(se,null,pt.children)}else{const Zt=ai(be.snapshot);pt.attachRef=null,pt.route=be,pt.injector=Zt,pt.outlet&&pt.outlet.activateWith(be,pt.injector),this.activateChildRoutes(se,null,pt.children)}}else this.activateChildRoutes(se,null,re)}}class Kn{constructor(se){this.path=se,this.route=this.path[this.path.length-1]}}class li{constructor(se,Q){this.component=se,this.route=Q}}function ji(G,se,Q){const re=G._root;return ls(re,se?se._root:null,Q,[re.value])}function gr(G,se){const Q=Symbol(),re=se.get(G,Q);return re===Q?"function"!=typeof G||(0,n.\u0275isInjectable)(G)?se.get(G):G:re}function ls(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=Qn(se);return G.children.forEach(pt=>{(function Ys(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=G.value,pt=se?se.value:null,Zt=Q?Q.getContext(G.value.outlet):null;if(pt&&We.routeConfig===pt.routeConfig){const Wt=function ti(G,se,Q){if("function"==typeof Q)return Q(G,se);switch(Q){case"pathParamsChange":return!Be(G.url,se.url);case"pathParamsOrQueryParamsChange":return!Be(G.url,se.url)||!$e(G.queryParams,se.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sr(G,se)||!$e(G.queryParams,se.queryParams);default:return!sr(G,se)}}(pt,We,We.routeConfig.runGuardsAndResolvers);Wt?be.canActivateChecks.push(new Kn(re)):(We.data=pt.data,We._resolvedData=pt._resolvedData),ls(G,se,We.component?Zt?Zt.children:null:Q,re,be),Wt&&Zt&&Zt.outlet&&Zt.outlet.isActivated&&be.canDeactivateChecks.push(new li(Zt.outlet.component,pt))}else pt&&wi(se,Zt,be),be.canActivateChecks.push(new Kn(re)),ls(G,null,We.component?Zt?Zt.children:null:Q,re,be)})(pt,We[pt.value.outlet],Q,re.concat([pt.value]),be),delete We[pt.value.outlet]}),Object.entries(We).forEach(([pt,Zt])=>wi(Zt,Q.getContext(pt),be)),be}function wi(G,se,Q){const re=Qn(G),be=G.value;Object.entries(re).forEach(([We,pt])=>{wi(pt,be.component?se?se.children.getContext(We):null:se,Q)}),Q.canDeactivateChecks.push(new li(be.component&&se&&se.outlet&&se.outlet.isActivated?se.outlet.component:null,be))}function Ri(G){return"function"==typeof G}function yn(G){return G instanceof s.K||"EmptyError"===G?.name}const he=Symbol("INITIAL_VALUE");function we(){return(0,x.w)(G=>(0,v.a)(G.map(se=>se.pipe((0,w.q)(1),(0,T.O)(he)))).pipe((0,C.U)(se=>{for(const Q of se)if(!0!==Q){if(Q===he)return he;if(!1===Q||Q instanceof Ke)return Q}return!0}),(0,S.h)(se=>se!==he),(0,w.q)(1)))}function _s(G){return(0,o.z)((0,P.b)(se=>{if(at(se))throw Fr(0,se)}),(0,C.U)(se=>!0===se))}class Oi{constructor(se){this.segmentGroup=se||null}}class bs extends Error{constructor(se){super(),this.urlTree=se}}function Pr(G){return(0,l._)(new Oi(G))}class ts{constructor(se,Q){this.urlSerializer=se,this.urlTree=Q}lineralizeSegments(se,Q){let re=[],be=Q.root;for(;;){if(re=re.concat(be.segments),0===be.numberOfChildren)return(0,y.of)(re);if(be.numberOfChildren>1||!be.children[Z])return(0,l._)(new n.\u0275RuntimeError(4e3,!1));be=be.children[Z]}}applyRedirectCommands(se,Q,re){const be=this.applyRedirectCreateUrlTree(Q,this.urlSerializer.parse(Q),se,re);if(Q.startsWith("/"))throw new bs(be);return be}applyRedirectCreateUrlTree(se,Q,re,be){const We=this.createSegmentGroup(se,Q.root,re,be);return new Ke(We,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(se,Q){const re={};return Object.entries(se).forEach(([be,We])=>{if("string"==typeof We&&We.startsWith(":")){const Zt=We.substring(1);re[be]=Q[Zt]}else re[be]=We}),re}createSegmentGroup(se,Q,re,be){const We=this.createSegments(se,Q.segments,re,be);let pt={};return Object.entries(Q.children).forEach(([Zt,Wt])=>{pt[Zt]=this.createSegmentGroup(se,Wt,re,be)}),new me(We,pt)}createSegments(se,Q,re,be){return Q.map(We=>We.path.startsWith(":")?this.findPosParam(se,We,be):this.findOrReturn(We,re))}findPosParam(se,Q,re){const be=re[Q.path.substring(1)];if(!be)throw new n.\u0275RuntimeError(4001,!1);return be}findOrReturn(se,Q){let re=0;for(const be of Q){if(be.path===se.path)return Q.splice(re),be;re++}return se}}const Yr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ar(G,se,Q,re,be){const We=Hn(G,se,Q);return We.matched?(re=function Ur(G,se){return G.providers&&!G._injector&&(G._injector=(0,n.createEnvironmentInjector)(G.providers,se,`Route: ${G.path}`)),G._injector??se}(se,re),function vs(G,se,Q,re){const be=se.canMatch;if(!be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Zs(G){return G&&Ri(G.canMatch)}(Zt)?Zt.canMatch(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(re,se,Q).pipe((0,C.U)(pt=>!0===pt?We:{...Yr}))):(0,y.of)(We)}function Hn(G,se,Q){if("**"===se.path)return function Qs(G){return{matched:!0,parameters:G.length>0?Et(G).parameters:{},consumedSegments:G,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===se.path)return"full"===se.pathMatch&&(G.hasChildren()||Q.length>0)?{...Yr}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const be=(se.matcher||ye)(Q,G,se);if(!be)return{...Yr};const We={};Object.entries(be.posParams??{}).forEach(([Zt,Wt])=>{We[Zt]=Wt.path});const pt=be.consumed.length>0?{...We,...be.consumed[be.consumed.length-1].parameters}:We;return{matched:!0,consumedSegments:be.consumed,remainingSegments:Q.slice(be.consumed.length),parameters:pt,positionalParamSegments:be.posParams??{}}}function Vr(G,se,Q,re){return Q.length>0&&function ys(G,se,Q){return Q.some(re=>jr(G,se,re)&&An(re)!==Z)}(G,Q,re)?{segmentGroup:new me(se,Ls(re,new me(Q,G.children))),slicedSegments:[]}:0===Q.length&&function fi(G,se,Q){return Q.some(re=>jr(G,se,re))}(G,Q,re)?{segmentGroup:new me(G.segments,nr(G,0,Q,re,G.children)),slicedSegments:Q}:{segmentGroup:new me(G.segments,G.children),slicedSegments:Q}}function nr(G,se,Q,re,be){const We={};for(const pt of re)if(jr(G,Q,pt)&&!be[An(pt)]){const Zt=new me([],{});We[An(pt)]=Zt}return{...be,...We}}function Ls(G,se){const Q={};Q[Z]=se;for(const re of G)if(""===re.path&&An(re)!==Z){const be=new me([],{});Q[An(re)]=be}return Q}function jr(G,se,Q){return(!(G.hasChildren()||se.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Xs{}class Nr{constructor(se,Q,re,be,We,pt,Zt){this.injector=se,this.configLoader=Q,this.rootComponentType=re,this.config=be,this.urlTree=We,this.paramsInheritanceStrategy=pt,this.urlSerializer=Zt,this.applyRedirects=new ts(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(se){return new n.\u0275RuntimeError(4002,`'${se.segmentGroup}'`)}recognize(){const se=Vr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(se).pipe((0,C.U)(Q=>{const re=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,{}),be=new Pn(re,Q),We=new Ln("",be),pt=nt(re,[],this.urlTree.queryParams,this.urlTree.fragment);return pt.queryParams=this.urlTree.queryParams,We.url=this.urlSerializer.serialize(pt),this.inheritParamsAndData(We._root,null),{state:We,tree:pt}}))}match(se){return this.processSegmentGroup(this.injector,this.config,se,Z).pipe((0,A.K)(re=>{if(re instanceof bs)return this.urlTree=re.urlTree,this.match(re.urlTree.root);throw re instanceof Oi?this.noMatchError(re):re}))}inheritParamsAndData(se,Q){const re=se.value,be=wn(re,Q,this.paramsInheritanceStrategy);re.params=Object.freeze(be.params),re.data=Object.freeze(be.data),se.children.forEach(We=>this.inheritParamsAndData(We,re))}processSegmentGroup(se,Q,re,be){return 0===re.segments.length&&re.hasChildren()?this.processChildren(se,Q,re):this.processSegment(se,Q,re,re.segments,be,!0).pipe((0,C.U)(We=>We instanceof Pn?[We]:[]))}processChildren(se,Q,re){const be=[];for(const We of Object.keys(re.children))"primary"===We?be.unshift(We):be.push(We);return(0,D.D)(be).pipe((0,I.b)(We=>{const pt=re.children[We],Zt=function Gn(G,se){const Q=G.filter(re=>An(re)===se);return Q.push(...G.filter(re=>An(re)!==se)),Q}(Q,We);return this.processSegmentGroup(se,Zt,pt,We)}),(0,L.R)((We,pt)=>(We.push(...pt),We)),(0,F.d)(null),(0,R.Z)(),(0,M.z)(We=>{if(null===We)return Pr(re);const pt=Js(We);return function Ns(G){G.sort((se,Q)=>se.value.outlet===Z?-1:Q.value.outlet===Z?1:se.value.outlet.localeCompare(Q.value.outlet))}(pt),(0,y.of)(pt)}))}processSegment(se,Q,re,be,We,pt){return(0,D.D)(Q).pipe((0,I.b)(Zt=>this.processSegmentAgainstRoute(Zt._injector??se,Q,Zt,re,be,We,pt).pipe((0,A.K)(Wt=>{if(Wt instanceof Oi)return(0,y.of)(null);throw Wt}))),(0,k.P)(Zt=>!!Zt),(0,A.K)(Zt=>{if(yn(Zt))return function ir(G,se,Q){return 0===se.length&&!G.children[Q]}(re,be,We)?(0,y.of)(new Xs):Pr(re);throw Zt}))}processSegmentAgainstRoute(se,Q,re,be,We,pt,Zt){return function Xi(G,se,Q,re){return!!(An(G)===re||re!==Z&&jr(se,Q,G))&&Hn(se,G,Q).matched}(re,be,We,pt)?void 0===re.redirectTo?this.matchSegmentAgainstRoute(se,be,re,We,pt):this.allowRedirects&&Zt?this.expandSegmentAgainstRouteUsingRedirect(se,be,Q,re,We,pt):Pr(be):Pr(be)}expandSegmentAgainstRouteUsingRedirect(se,Q,re,be,We,pt){const{matched:Zt,consumedSegments:Wt,positionalParamSegments:Mn,remainingSegments:ni}=Hn(Q,be,We);if(!Zt)return Pr(Q);be.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const O=this.applyRedirects.applyRedirectCommands(Wt,be.redirectTo,Mn);return this.applyRedirects.lineralizeSegments(be,O).pipe((0,M.z)(xe=>this.processSegment(se,re,Q,xe.concat(ni),pt,!1)))}matchSegmentAgainstRoute(se,Q,re,be,We){const pt=Ar(Q,re,be,se);return"**"===re.path&&(Q.children={}),pt.pipe((0,x.w)(Zt=>Zt.matched?this.getChildConfig(se=re._injector??se,re,be).pipe((0,x.w)(({routes:Wt})=>{const Mn=re._loadedInjector??se,{consumedSegments:ni,remainingSegments:O,parameters:xe}=Zt,K=new Fn(ni,xe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ho(G){return G.data||{}}(re),An(re),re.component??re._loadedComponent??null,re,function ko(G){return G.resolve||{}}(re)),{segmentGroup:Je,slicedSegments:ft}=Vr(Q,ni,O,Wt);if(0===ft.length&&Je.hasChildren())return this.processChildren(Mn,Wt,Je).pipe((0,C.U)(Kt=>null===Kt?null:new Pn(K,Kt)));if(0===Wt.length&&0===ft.length)return(0,y.of)(new Pn(K,[]));const ht=An(re)===We;return this.processSegment(Mn,Wt,Je,ft,ht?Z:We,!0).pipe((0,C.U)(Kt=>new Pn(K,Kt instanceof Pn?[Kt]:[])))})):Pr(Q)))}getChildConfig(se,Q,re){return Q.children?(0,y.of)({routes:Q.children,injector:se}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,y.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function gs(G,se,Q,re){const be=se.canLoad;if(void 0===be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Qi(G){return G&&Ri(G.canLoad)}(Zt)?Zt.canLoad(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(se,Q,re).pipe((0,M.z)(be=>be?this.configLoader.loadChildren(se,Q).pipe((0,P.b)(We=>{Q._loadedRoutes=We.routes,Q._loadedInjector=We.injector})):function cs(G){return(0,l._)(ps(!1,3))}())):(0,y.of)({routes:[],injector:se})}}function Ao(G){const se=G.value.routeConfig;return se&&""===se.path}function Js(G){const se=[],Q=new Set;for(const re of G){if(!Ao(re)){se.push(re);continue}const be=se.find(We=>re.value.routeConfig===We.value.routeConfig);void 0!==be?(be.children.push(...re.children),Q.add(be)):se.push(re)}for(const re of Q){const be=Js(re.children);se.push(new Pn(re.value,be))}return se.filter(re=>!Q.has(re))}function ns(G){const se=G.children.map(Q=>ns(Q)).flat();return[G,...se]}function mo(G){return(0,x.w)(se=>{const Q=G(se);return Q?(0,D.D)(Q).pipe((0,C.U)(()=>se)):(0,y.of)(se)})}let po=(()=>{class G{buildTitle(Q){let re,be=Q.root;for(;void 0!==be;)re=this.getResolvedTitleForRoute(be)??re,be=be.children.find(We=>We.outlet===Z);return re}getResolvedTitleForRoute(Q){return Q.data[H]}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(Ds),providedIn:"root"})}return G})(),Ds=(()=>{class G extends po{constructor(Q){super(),this.title=Q}updateTitle(Q){const re=this.buildTitle(Q);void 0!==re&&this.title.setTitle(re)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject($.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const us=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),J=new n.InjectionToken("ROUTES");let Fe=(()=>{class G{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(Q){if(this.componentLoaders.get(Q))return this.componentLoaders.get(Q);if(Q._loadedComponent)return(0,y.of)(Q._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Q);const re=Te(Q.loadComponent()).pipe((0,C.U)(lt),(0,P.b)(We=>{this.onLoadEndListener&&this.onLoadEndListener(Q),Q._loadedComponent=We}),(0,ne.x)(()=>{this.componentLoaders.delete(Q)})),be=new c.c(re,()=>new d.x).pipe((0,ee.x)());return this.componentLoaders.set(Q,be),be}loadChildren(Q,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,y.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const We=le(re,this.compiler,Q,this.onLoadEndListener).pipe((0,ne.x)(()=>{this.childrenLoaders.delete(re)})),pt=new c.c(We,()=>new d.x).pipe((0,ee.x)());return this.childrenLoaders.set(re,pt),pt}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function le(G,se,Q,re){return Te(G.loadChildren()).pipe((0,C.U)(lt),(0,M.z)(be=>be instanceof n.NgModuleFactory||Array.isArray(be)?(0,y.of)(be):(0,D.D)(se.compileModuleAsync(be))),(0,C.U)(be=>{re&&re(G);let We,pt;return Array.isArray(be)?pt=be:(We=be.create(Q).injector,pt=We.get(J,[],{optional:!0,self:!0}).flat()),{routes:pt.map(bn),injector:We}}))}function lt(G){return function ve(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let zt=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(nn),providedIn:"root"})}return G})(),nn=(()=>{class G{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,re){return Q}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xn=new n.InjectionToken(""),Li=new n.InjectionToken("");function di(G,se,Q){const re=G.get(Li),be=G.get(b.DOCUMENT);return G.get(n.NgZone).runOutsideAngular(()=>{if(!be.startViewTransition||re.skipNextTransition)return re.skipNextTransition=!1,Promise.resolve();let We;const pt=new Promise(Mn=>{We=Mn}),Zt=be.startViewTransition(()=>(We(),function Un(G){return new Promise(se=>{(0,n.afterNextRender)(se,{injector:G})})}(G))),{onViewTransitionCreated:Wt}=re;return Wt&&(0,n.runInInjectionContext)(G,()=>Wt({transition:Zt,from:se,to:Q})),pt})}let Xn=(()=>{class G{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new d.x,this.transitionAbortSubject=new d.x,this.configLoader=(0,n.inject)(Fe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Ot),this.rootContexts=(0,n.inject)(fr),this.location=(0,n.inject)(b.Location),this.inputBindingEnabled=null!==(0,n.inject)(Lr,{optional:!0}),this.titleStrategy=(0,n.inject)(po),this.options=(0,n.inject)(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(zt),this.createViewTransition=(0,n.inject)(xn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=be=>this.events.next(new hn(be)),this.configLoader.onLoadStartListener=be=>this.events.next(new _t(be))}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...Q,id:re})}setupNavigations(Q,re,be){return this.transitions=new u.X({id:0,currentUrlTree:re,currentRawUrl:re,extractedUrl:this.urlHandlingStrategy.extract(re),urlAfterRedirects:this.urlHandlingStrategy.extract(re),rawUrl:re,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ct,restoredState:null,currentSnapshot:be.snapshot,targetSnapshot:null,currentRouterState:be,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)(We=>0!==We.id),(0,C.U)(We=>({...We,extractedUrl:this.urlHandlingStrategy.extract(We.rawUrl)})),(0,x.w)(We=>{this.currentTransition=We;let pt=!1,Zt=!1;return(0,y.of)(We).pipe((0,P.b)(Wt=>{this.currentNavigation={id:Wt.id,initialUrl:Wt.rawUrl,extractedUrl:Wt.extractedUrl,trigger:Wt.source,extras:Wt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,x.w)(Wt=>{const Mn=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Mn&&"reload"!==(Wt.extras.onSameUrlNavigation??Q.onSameUrlNavigation)){const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),O,0)),Wt.resolve(null),r.E}if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,y.of)(Wt).pipe((0,x.w)(O=>{const xe=this.transitions?.getValue();return this.events.next(new wt(O.id,this.urlSerializer.serialize(O.extractedUrl),O.source,O.restoredState)),xe!==this.transitions?.getValue()?r.E:Promise.resolve(O)}),function eo(G,se,Q,re,be,We){return(0,M.z)(pt=>function Zr(G,se,Q,re,be,We,pt="emptyOnly"){return new Nr(G,se,Q,re,be,pt,We).recognize()}(G,se,Q,re,pt.extractedUrl,be,We).pipe((0,C.U)(({state:Zt,tree:Wt})=>({...pt,targetSnapshot:Zt,urlAfterRedirects:Wt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,P.b)(O=>{We.targetSnapshot=O.targetSnapshot,We.urlAfterRedirects=O.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:O.urlAfterRedirects};const xe=new en(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects),O.targetSnapshot);this.events.next(xe)}));if(Mn&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:O,extractedUrl:xe,source:K,restoredState:Je,extras:ft}=Wt,ht=new wt(O,this.urlSerializer.serialize(xe),K,Je);this.events.next(ht);const Kt=mr(0,this.rootComponentType).snapshot;return this.currentTransition=We={...Wt,targetSnapshot:Kt,urlAfterRedirects:xe,extras:{...ft,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=xe,(0,y.of)(We)}{const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),O,1)),Wt.resolve(null),r.E}}),(0,P.b)(Wt=>{const Mn=new Y(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Mn)}),(0,C.U)(Wt=>(this.currentTransition=We={...Wt,guards:ji(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},We)),function ae(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,currentSnapshot:be,guards:{canActivateChecks:We,canDeactivateChecks:pt}}=Q;return 0===pt.length&&0===We.length?(0,y.of)({...Q,guardsResult:!0}):function je(G,se,Q,re){return(0,D.D)(G).pipe((0,M.z)(be=>function $n(G,se,Q,re,be){const We=se&&se.routeConfig?se.routeConfig.canDeactivate:null;if(!We||0===We.length)return(0,y.of)(!0);const pt=We.map(Zt=>{const Wt=ai(se)??be,Mn=gr(Zt,Wt);return Te(function es(G){return G&&Ri(G.canDeactivate)}(Mn)?Mn.canDeactivate(G,se,Q,re):(0,n.runInInjectionContext)(Wt,()=>Mn(G,se,Q,re))).pipe((0,k.P)())});return(0,y.of)(pt).pipe(we())}(be.component,be.route,Q,se,re)),(0,k.P)(be=>!0!==be,!0))}(pt,re,be,G).pipe((0,M.z)(Zt=>Zt&&function Br(G){return"boolean"==typeof G}(Zt)?function xt(G,se,Q,re){return(0,D.D)(se).pipe((0,I.b)(be=>(0,m.z)(function Sn(G,se){return null!==G&&se&&se(new On(G)),(0,y.of)(!0)}(be.route.parent,re),function gn(G,se){return null!==G&&se&&se(new Ci(G)),(0,y.of)(!0)}(be.route,re),function cr(G,se,Q){const re=se[se.length-1],We=se.slice(0,se.length-1).reverse().map(pt=>function lr(G){const se=G.routeConfig?G.routeConfig.canActivateChild:null;return se&&0!==se.length?{node:G,guards:se}:null}(pt)).filter(pt=>null!==pt).map(pt=>(0,h.P)(()=>{const Zt=pt.guards.map(Wt=>{const Mn=ai(pt.node)??Q,ni=gr(Wt,Mn);return Te(function $r(G){return G&&Ri(G.canActivateChild)}(ni)?ni.canActivateChild(re,G):(0,n.runInInjectionContext)(Mn,()=>ni(re,G))).pipe((0,k.P)())});return(0,y.of)(Zt).pipe(we())}));return(0,y.of)(We).pipe(we())}(G,be.path,Q),function Di(G,se,Q){const re=se.routeConfig?se.routeConfig.canActivate:null;if(!re||0===re.length)return(0,y.of)(!0);const be=re.map(We=>(0,h.P)(()=>{const pt=ai(se)??Q,Zt=gr(We,pt);return Te(function Es(G){return G&&Ri(G.canActivate)}(Zt)?Zt.canActivate(se,G):(0,n.runInInjectionContext)(pt,()=>Zt(se,G))).pipe((0,k.P)())}));return(0,y.of)(be).pipe(we())}(G,be.route,Q))),(0,k.P)(be=>!0!==be,!0))}(re,We,G,se):(0,y.of)(Zt)),(0,C.U)(Zt=>({...Q,guardsResult:Zt})))})}(this.environmentInjector,Wt=>this.events.next(Wt)),(0,P.b)(Wt=>{if(We.guardsResult=Wt.guardsResult,at(Wt.guardsResult))throw Fr(0,Wt.guardsResult);const Mn=new pe(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);this.events.next(Mn)}),(0,S.h)(Wt=>!!Wt.guardsResult||(this.cancelNavigationTransition(Wt,"",3),!1)),mo(Wt=>{if(Wt.guards.canActivateChecks.length)return(0,y.of)(Wt).pipe((0,P.b)(Mn=>{const ni=new de(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}),(0,x.w)(Mn=>{let ni=!1;return(0,y.of)(Mn).pipe(function fo(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,guards:{canActivateChecks:be}}=Q;if(!be.length)return(0,y.of)(Q);const We=new Set(be.map(Wt=>Wt.route)),pt=new Set;for(const Wt of We)if(!pt.has(Wt))for(const Mn of ns(Wt))pt.add(Mn);let Zt=0;return(0,D.D)(pt).pipe((0,I.b)(Wt=>We.has(Wt)?function Ro(G,se,Q,re){const be=G.routeConfig,We=G._resolve;return void 0!==be?.title&&!pr(be)&&(We[H]=be.title),function ta(G,se,Q,re){const be=Ye(G);if(0===be.length)return(0,y.of)({});const We={};return(0,D.D)(be).pipe((0,M.z)(pt=>function Oo(G,se,Q,re){const be=ai(se)??re,We=gr(G,be);return Te(We.resolve?We.resolve(se,Q):(0,n.runInInjectionContext)(be,()=>We(se,Q)))}(G[pt],se,Q,re).pipe((0,k.P)(),(0,P.b)(Zt=>{We[pt]=Zt}))),(0,U.h)(1),(0,W.h)(We),(0,A.K)(pt=>yn(pt)?r.E:(0,l._)(pt)))}(We,G,se,re).pipe((0,C.U)(pt=>(G._resolvedData=pt,G.data=wn(G,G.parent,Q).resolve,null)))}(Wt,re,G,se):(Wt.data=wn(Wt,Wt.parent,G).resolve,(0,y.of)(void 0))),(0,P.b)(()=>Zt++),(0,U.h)(1),(0,M.z)(Wt=>Zt===pt.size?(0,y.of)(Q):r.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>ni=!0,complete:()=>{ni||this.cancelNavigationTransition(Mn,"",2)}}))}),(0,P.b)(Mn=>{const ni=new Qe(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}))}),mo(Wt=>{const Mn=ni=>{const O=[];ni.routeConfig?.loadComponent&&!ni.routeConfig._loadedComponent&&O.push(this.configLoader.loadComponent(ni.routeConfig).pipe((0,P.b)(xe=>{ni.component=xe}),(0,C.U)(()=>{})));for(const xe of ni.children)O.push(...Mn(xe));return O};return(0,v.a)(Mn(Wt.targetSnapshot.root)).pipe((0,F.d)(null),(0,w.q)(1))}),mo(()=>this.afterPreactivation()),(0,x.w)(()=>{const{currentSnapshot:Wt,targetSnapshot:Mn}=We,ni=this.createViewTransition?.(this.environmentInjector,Wt.root,Mn.root);return ni?(0,D.D)(ni).pipe((0,C.U)(()=>We)):(0,y.of)(We)}),(0,C.U)(Wt=>{const Mn=function Cr(G,se,Q){const re=Zi(G,se._root,Q?Q._root:void 0);return new Fi(re,se)}(Q.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=We={...Wt,targetRouterState:Mn},this.currentNavigation.targetRouterState=Mn,We}),(0,P.b)(()=>{this.events.next(new qi)}),((G,se,Q,re)=>(0,C.U)(be=>(new ri(se,be.targetRouterState,be.currentRouterState,Q,re).activate(G),be)))(this.rootContexts,Q.routeReuseStrategy,Wt=>this.events.next(Wt),this.inputBindingEnabled),(0,w.q)(1),(0,P.b)({next:Wt=>{pt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vt(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0)},complete:()=>{pt=!0}}),(0,j.R)(this.transitionAbortSubject.pipe((0,P.b)(Wt=>{throw Wt}))),(0,ne.x)(()=>{pt||Zt||this.cancelNavigationTransition(We,"",1),this.currentNavigation?.id===We.id&&(this.currentNavigation=null)}),(0,A.K)(Wt=>{if(Zt=!0,Tr(Wt))this.events.next(new Ht(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt.message,Wt.cancellationCode)),function Jr(G){return Tr(G)&&at(G.url)}(Wt)?this.events.next(new ki(Wt.url)):We.resolve(!1);else{this.events.next(new ze(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt,We.targetSnapshot??void 0));try{We.resolve(Q.errorHandler(Wt))}catch(Mn){We.reject(Mn)}}return r.E}))}))}cancelNavigationTransition(Q,re,be){const We=new Ht(Q.id,this.urlSerializer.serialize(Q.extractedUrl),re,be);this.events.next(We),Q.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function $i(G){return G!==ct}let Ii=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(is),providedIn:"root"})}return G})();class Yi{shouldDetach(se){return!1}store(se,Q){}shouldAttach(se){return!1}retrieve(se){return null}shouldReuseRoute(se,Q){return se.routeConfig===Q.routeConfig}}let is=(()=>{class G extends Yi{static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),kr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(ds),providedIn:"root"})}return G})(),ds=(()=>{class G extends kr{constructor(){super(...arguments),this.location=(0,n.inject)(b.Location),this.urlSerializer=(0,n.inject)(Ot),this.options=(0,n.inject)(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ke,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mr(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Q){return this.location.subscribe(re=>{"popstate"===re.type&&Q(re.url,re.state)})}handleRouterEvent(Q,re){if(Q instanceof wt)this.stateMemento=this.createStateMemento();else if(Q instanceof dn)this.rawUrlTree=re.initialUrl;else if(Q instanceof en){if("eager"===this.urlUpdateStrategy&&!re.extras.skipLocationChange){const be=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl);this.setBrowserUrl(be,re)}}else Q instanceof qi?(this.currentUrlTree=re.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re))):Q instanceof Ht&&(3===Q.code||2===Q.code)?this.restoreHistory(re):Q instanceof ze?this.restoreHistory(re,!0):Q instanceof vt&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,re){const be=this.urlSerializer.serialize(Q);if(this.location.isCurrentPathEqualTo(be)||re.extras.replaceUrl){const pt={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId)};this.location.replaceState(be,"",pt)}else{const We={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId+1)};this.location.go(be,"",We)}}restoreHistory(Q,re=!1){if("computed"===this.canceledNavigationResolution){const We=this.currentPageId-this.browserPageId;0!==We?this.location.historyGo(We):this.currentUrlTree===Q.finalUrl&&0===We&&(this.resetState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(re&&this.resetState(Q),this.resetUrlToCurrentUrlTree())}resetState(Q){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Q.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Q,re){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:re}:{navigationId:Q}}static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();var _r=function(G){return G[G.COMPLETE=0]="COMPLETE",G[G.FAILED=1]="FAILED",G[G.REDIRECTING=2]="REDIRECTING",G}(_r||{});function ur(G,se){G.events.pipe((0,S.h)(Q=>Q instanceof vt||Q instanceof Ht||Q instanceof ze||Q instanceof dn),(0,C.U)(Q=>Q instanceof vt||Q instanceof dn?_r.COMPLETE:Q instanceof Ht&&(0===Q.code||1===Q.code)?_r.REDIRECTING:_r.FAILED),(0,S.h)(Q=>Q!==_r.REDIRECTING),(0,w.q)(1)).subscribe(()=>{se()})}function Ji(G){throw G}const rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Is={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class G{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(kr),this.options=(0,n.inject)(us,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(Xn),this.urlSerializer=(0,n.inject)(Ot),this.location=(0,n.inject)(b.Location),this.urlHandlingStrategy=(0,n.inject)(zt),this._events=new d.x,this.errorHandler=this.options.errorHandler||Ji,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(Ii),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(J,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(Lr,{optional:!0}),this.eventsSubscription=new g.w0,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Q=>{this.console.warn(Q)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Q=this.navigationTransitions.events.subscribe(re=>{try{const be=this.navigationTransitions.currentTransition,We=this.navigationTransitions.currentNavigation;if(null!==be&&null!==We)if(this.stateManager.handleRouterEvent(re,We),re instanceof Ht&&0!==re.code&&1!==re.code)this.navigated=!0;else if(re instanceof vt)this.navigated=!0;else if(re instanceof ki){const pt=this.urlHandlingStrategy.merge(re.url,be.currentRawUrl),Zt={skipLocationChange:be.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$i(be.source)};this.scheduleNavigation(pt,ct,null,Zt,{resolve:be.resolve,reject:be.reject,promise:be.promise})}(function ia(G){return!(G instanceof qi||G instanceof ki)})(re)&&this._events.next(re)}catch(be){this.navigationTransitions.transitionAbortSubject.next(be)}});this.eventsSubscription.add(Q)}resetRootComponentType(Q){this.routerState.root.component=Q,this.navigationTransitions.rootComponentType=Q}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ct,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Q,"popstate",re)},0)}))}navigateToSyncWithBrowser(Q,re,be){const We={replaceUrl:!0},pt=be?.navigationId?be:null;if(be){const Wt={...be};delete Wt.navigationId,delete Wt.\u0275routerPageId,0!==Object.keys(Wt).length&&(We.state=Wt)}const Zt=this.parseUrl(Q);this.scheduleNavigation(Zt,re,pt,We)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(bn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Q,re={}){const{relativeTo:be,queryParams:We,fragment:pt,queryParamsHandling:Zt,preserveFragment:Wt}=re,Mn=Wt?this.currentUrlTree.fragment:pt;let O,ni=null;switch(Zt){case"merge":ni={...this.currentUrlTree.queryParams,...We};break;case"preserve":ni=this.currentUrlTree.queryParams;break;default:ni=We||null}null!==ni&&(ni=this.removeEmptyProps(ni));try{O=mt(be?be.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||!Q[0].startsWith("/"))&&(Q=[]),O=this.currentUrlTree.root}return He(O,Q,ni,Mn??null)}navigateByUrl(Q,re={skipLocationChange:!1}){const be=at(Q)?Q:this.parseUrl(Q),We=this.urlHandlingStrategy.merge(be,this.rawUrlTree);return this.scheduleNavigation(We,ct,null,re)}navigate(Q,re={skipLocationChange:!1}){return function na(G){for(let se=0;se{const We=Q[be];return null!=We&&(re[be]=We),re},{})}scheduleNavigation(Q,re,be,We,pt){if(this.disposed)return Promise.resolve(!1);let Zt,Wt,Mn;pt?(Zt=pt.resolve,Wt=pt.reject,Mn=pt.promise):Mn=new Promise((O,xe)=>{Zt=O,Wt=xe});const ni=this.pendingTasks.add();return ur(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ni))}),this.navigationTransitions.handleNavigationRequest({source:re,restoredState:be,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:We,resolve:Zt,reject:Wt,promise:Mn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mn.catch(O=>Promise.reject(O))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),xi=(()=>{class G{constructor(Q,re,be,We,pt,Zt){this.router=Q,this.route=re,this.tabIndexAttribute=be,this.renderer=We,this.el=pt,this.locationStrategy=Zt,this.href=null,this.commands=null,this.onChanges=new d.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Wt=pt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt,this.isAnchorElement?this.subscription=Q.events.subscribe(Mn=>{Mn instanceof vt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Q){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Q)}ngOnChanges(Q){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Q){null!=Q?(this.commands=Array.isArray(Q)?Q:[Q],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Q,re,be,We,pt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==Q||re||be||We||pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const Q=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Q)}applyAttributeValue(Q,re){const be=this.renderer,We=this.el.nativeElement;null!==re?be.setAttribute(We,Q,re):be.removeAttribute(We,Q)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,be){1&re&&n.\u0275\u0275listener("click",function(pt){return be.onClick(pt.button,pt.ctrlKey,pt.shiftKey,pt.altKey,pt.metaKey)}),2&re&&n.\u0275\u0275attribute("target",be.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return G})(),Fs=(()=>{class G{get isActive(){return this._isActive}constructor(Q,re,be,We,pt){this.router=Q,this.element=re,this.renderer=be,this.cdr=We,this.link=pt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=Q.events.subscribe(Zt=>{Zt instanceof vt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,B.J)()).subscribe(Q=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Q=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,D.D)(Q).pipe((0,B.J)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(Q){const re=Array.isArray(Q)?Q:Q.split(" ");this.classes=re.filter(be=>!!be)}ngOnChanges(Q){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Q=this.hasActiveLinks();this._isActive!==Q&&(this._isActive=Q,this.cdr.markForCheck(),this.classes.forEach(re=>{Q?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),Q&&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(Q))})}isLinkActive(Q){const re=function to(G){return!!G.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return be=>!!be.urlTree&&Q.isActive(be.urlTree,re)}hasActiveLinks(){const Q=this.isLinkActive(this.router);return this.link&&Q(this.link)||this.links.some(Q)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(xi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLinkActive",""]],contentQueries:function(re,be,We){if(1&re&&n.\u0275\u0275contentQuery(We,xi,5),2&re){let pt;n.\u0275\u0275queryRefresh(pt=n.\u0275\u0275loadQuery())&&(be.links=pt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class ar{}let al=(()=>{class G{preload(Q,re){return re().pipe((0,A.K)(()=>(0,y.of)(null)))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),no=(()=>{class G{preload(Q,re){return(0,y.of)(null)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),Ss=(()=>{class G{constructor(Q,re,be,We,pt){this.router=Q,this.injector=be,this.preloadingStrategy=We,this.loader=pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,S.h)(Q=>Q instanceof vt),(0,I.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Q,re){const be=[];for(const We of re){We.providers&&!We._injector&&(We._injector=(0,n.createEnvironmentInjector)(We.providers,Q,`Route: ${We.path}`));const pt=We._injector??Q,Zt=We._loadedInjector??pt;(We.loadChildren&&!We._loadedRoutes&&void 0===We.canLoad||We.loadComponent&&!We._loadedComponent)&&be.push(this.preloadConfig(pt,We)),(We.children||We._loadedRoutes)&&be.push(this.processRoutes(Zt,We.children??We._loadedRoutes))}return(0,D.D)(be).pipe((0,B.J)())}preloadConfig(Q,re){return this.preloadingStrategy.preload(re,()=>{let be;be=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(Q,re):(0,y.of)(null);const We=be.pipe((0,M.z)(pt=>null===pt?(0,y.of)(void 0):(re._loadedRoutes=pt.routes,re._loadedInjector=pt.injector,this.processRoutes(pt.injector??Q,pt.routes))));if(re.loadComponent&&!re._loadedComponent){const pt=this.loader.loadComponent(re);return(0,D.D)([We,pt]).pipe((0,B.J)())}return We})}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Rr),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(ar),n.\u0275\u0275inject(Fe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xr=new n.InjectionToken("");let ra=(()=>{class G{constructor(Q,re,be,We,pt={}){this.urlSerializer=Q,this.transitions=re,this.viewportScroller=be,this.zone=We,this.options=pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},pt.scrollPositionRestoration=pt.scrollPositionRestoration||"disabled",pt.anchorScrolling=pt.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Q=>{Q instanceof wt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Q.navigationTrigger,this.restoredId=Q.restoredState?Q.restoredState.navigationId:0):Q instanceof vt?(this.lastId=Q.id,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.urlAfterRedirects).fragment)):Q instanceof dn&&0===Q.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Q=>{Q instanceof Ei&&(Q.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Q.position):Q.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Q.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Q,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ei(Q,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Lo(G,...se){return(0,n.makeEnvironmentProviders)([{provide:J,multi:!0,useValue:G},[],{provide:_n,useFactory:sa,deps:[Rr]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:go},se.map(Q=>Q.\u0275providers)])}function sa(G){return G.routerState.root}function rr(G,se){return{\u0275kind:G,\u0275providers:se}}function aa(G){return[{provide:J,multi:!0,useValue:G},[]]}function la(G={}){return rr(4,[{provide:xr,useFactory:()=>{const Q=(0,n.inject)(b.ViewportScroller),re=(0,n.inject)(n.NgZone),be=(0,n.inject)(Xn),We=(0,n.inject)(Ot);return new ra(We,be,Q,re,G)}}])}function go(){const G=(0,n.inject)(n.Injector);return se=>{const Q=G.get(n.ApplicationRef);if(se!==Q.components[0])return;const re=G.get(Rr),be=G.get(Us);1===G.get(Or)&&re.initialNavigation(),G.get(ll,null,n.InjectFlags.Optional)?.setUpPreloading(),G.get(xr,null,n.InjectFlags.Optional)?.init(),re.resetRootComponentType(Q.componentTypes[0]),be.closed||(be.next(),be.complete(),be.unsubscribe())}}const Us=new n.InjectionToken("",{factory:()=>new d.x}),Or=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function _o(){return rr(2,[{provide:Or,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:se=>{const Q=se.get(b.LOCATION_INITIALIZED,Promise.resolve());return()=>Q.then(()=>new Promise(re=>{const be=se.get(Rr),We=se.get(Us);ur(be,()=>{re(!0)}),se.get(Xn).afterPreactivation=()=>(re(!0),We.closed?(0,y.of)(void 0):We),be.initialNavigation()}))}}])}function zn(){return rr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const se=(0,n.inject)(Rr);return()=>{se.setUpLocationChangeListener()}}},{provide:Or,useValue:2}])}function Po(){let G=[];return G=[],rr(1,G)}const ll=new n.InjectionToken("");function ca(G){return rr(0,[{provide:ll,useExisting:Ss},{provide:ar,useExisting:G}])}function io(G){return rr(5,[{provide:us,useValue:G}])}function No(){return rr(6,[{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}])}function vo(G){return rr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Q=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Rr).events.subscribe(re=>{re instanceof ze&&(0,n.runInInjectionContext)(Q,()=>G(re))})}}])}function Ts(){return rr(8,[tr,{provide:Lr,useExisting:tr}])}function Fo(G){return rr(9,[{provide:xn,useValue:di},{provide:Li,useValue:{skipNextTransition:!!G?.skipInitialTransition,...G}}])}const Bs=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ro=[b.Location,{provide:Ot,useClass:Yt},Rr,fr,{provide:_n,useFactory:sa,deps:[Rr]},Fe,[]];let ul=(()=>{class G{constructor(Q){}static forRoot(Q,re){return{ngModule:G,providers:[ro,[],{provide:J,multi:!0,useValue:Q},{provide:Bs,useFactory:da,deps:[[Rr,new n.Optional,new n.SkipSelf]]},{provide:us,useValue:re||{}},re?.useHash?{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}:{provide:b.LocationStrategy,useClass:b.PathLocationStrategy},{provide:xr,useFactory:()=>{const G=(0,n.inject)(b.ViewportScroller),se=(0,n.inject)(n.NgZone),Q=(0,n.inject)(us),re=(0,n.inject)(Xn),be=(0,n.inject)(Ot);return Q.scrollOffset&&G.setOffset(Q.scrollOffset),new ra(be,re,G,se,Q)}},re?.preloadingStrategy?ca(re.preloadingStrategy).\u0275providers:[],re?.initialNavigation?Pi(re):[],re?.bindToComponentInputs?Ts().\u0275providers:[],re?.enableViewTransitions?Fo().\u0275providers:[],[{provide:bo,useFactory:go},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:bo}]]}}static forChild(Q){return{ngModule:G,providers:[{provide:J,multi:!0,useValue:Q}]}}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Bs,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:G});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return G})();function da(G){return"guarded"}function Pi(G){return["disabled"===G.initialNavigation?zn().\u0275providers:[],"enabledBlocking"===G.initialNavigation?_o().\u0275providers:[]]}const bo=new n.InjectionToken("");function ss(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canMatch(...Q))}function Uo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivate(...Q))}function Bo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivateChild(...Q))}function dl(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canDeactivate(...Q))}function uc(G){return(...se)=>(0,n.inject)(G).resolve(...se)}const ha=new n.Version("17.0.8")},9515:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DEFAULT_LANGUAGE:()=>L,FakeMissingTranslationHandler:()=>g,MissingTranslationHandler:()=>d,TranslateCompiler:()=>M,TranslateDefaultParser:()=>S,TranslateDirective:()=>U,TranslateFakeCompiler:()=>k,TranslateFakeLoader:()=>c,TranslateLoader:()=>r,TranslateModule:()=>ne,TranslateParser:()=>T,TranslatePipe:()=>W,TranslateService:()=>R,TranslateStore:()=>I,USE_DEFAULT_LANG:()=>A,USE_EXTEND:()=>F,USE_STORE:()=>P});var n=_(9212),f=_(2096),D=_(2664),y=_(9315),u=_(34),v=_(4911),s=_(8180),m=_(7081),h=_(7398),o=_(6328),l=_(4664);class r{}let c=(()=>{class ee extends r{getTranslation(B){return(0,f.of)({})}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class d{}let g=(()=>{class ee{handle(B){return B.key}static \u0275fac=function($){return new($||ee)};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();function b(ee,j){if(ee===j)return!0;if(null===ee||null===j)return!1;if(ee!=ee&&j!=j)return!0;let Z,H,te,B=typeof ee;if(B==typeof j&&"object"==B){if(!Array.isArray(ee)){if(Array.isArray(j))return!1;for(H in te=Object.create(null),ee){if(!b(ee[H],j[H]))return!1;te[H]=!0}for(H in j)if(!(H in te)&&typeof j[H]<"u")return!1;return!0}if(!Array.isArray(j))return!1;if((Z=ee.length)==j.length){for(H=0;H{x(j[$])?$ in ee?B[$]=w(ee[$],j[$]):Object.assign(B,{[$]:j[$]}):Object.assign(B,{[$]:j[$]})}),B}class T{}let S=(()=>{class ee extends T{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(B,$){let Z;return Z="string"==typeof B?this.interpolateString(B,$):"function"==typeof B?this.interpolateFunction(B,$):B,Z}getValue(B,$){let Z="string"==typeof $?$.split("."):[$];$="";do{$+=Z.shift(),!C(B)||!C(B[$])||"object"!=typeof B[$]&&Z.length?Z.length?$+=".":B=void 0:(B=B[$],$="")}while(Z.length);return B}interpolateFunction(B,$){return B($)}interpolateString(B,$){return $?B.replace(this.templateMatcher,(Z,H)=>{let te=this.getValue($,H);return C(te)?te:Z}):B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class M{}let k=(()=>{class ee extends M{compile(B,$){return B}compileTranslations(B,$){return B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class I{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new n.EventEmitter;onLangChange=new n.EventEmitter;onDefaultLangChange=new n.EventEmitter}const P=new n.InjectionToken("USE_STORE"),A=new n.InjectionToken("USE_DEFAULT_LANG"),L=new n.InjectionToken("DEFAULT_LANGUAGE"),F=new n.InjectionToken("USE_EXTEND");let R=(()=>{class ee{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new n.EventEmitter;_onLangChange=new n.EventEmitter;_onDefaultLangChange=new n.EventEmitter;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(B){this.isolate?this._defaultLang=B:this.store.defaultLang=B}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(B){this.isolate?this._currentLang=B:this.store.currentLang=B}get langs(){return this.isolate?this._langs:this.store.langs}set langs(B){this.isolate?this._langs=B:this.store.langs=B}get translations(){return this.isolate?this._translations:this.store.translations}set translations(B){this.isolate?this._translations=B:this.store.translations=B}constructor(B,$,Z,H,te,ue=!0,ye=!1,Ge=!1,$e){this.store=B,this.currentLoader=$,this.compiler=Z,this.parser=H,this.missingTranslationHandler=te,this.useDefaultLang=ue,this.isolate=ye,this.extend=Ge,$e&&this.setDefaultLang($e)}setDefaultLang(B){if(B===this.defaultLang)return;let $=this.retrieveTranslations(B);typeof $<"u"?(null==this.defaultLang&&(this.defaultLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeDefaultLang(B)})):this.changeDefaultLang(B)}getDefaultLang(){return this.defaultLang}use(B){if(B===this.currentLang)return(0,f.of)(this.translations[B]);let $=this.retrieveTranslations(B);return typeof $<"u"?(this.currentLang||(this.currentLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeLang(B)}),$):(this.changeLang(B),(0,f.of)(this.translations[B]))}retrieveTranslations(B){let $;return(typeof this.translations[B]>"u"||this.extend)&&(this._translationRequests[B]=this._translationRequests[B]||this.getTranslation(B),$=this._translationRequests[B]),$}getTranslation(B){this.pending=!0;const $=this.currentLoader.getTranslation(B).pipe((0,m.d)(1),(0,s.q)(1));return this.loadingTranslations=$.pipe((0,h.U)(Z=>this.compiler.compileTranslations(Z,B)),(0,m.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Z=>{this.translations[B]=this.extend&&this.translations[B]?{...Z,...this.translations[B]}:Z,this.updateLangs(),this.pending=!1},error:Z=>{this.pending=!1}}),$}setTranslation(B,$,Z=!1){$=this.compiler.compileTranslations($,B),this.translations[B]=(Z||this.extend)&&this.translations[B]?w(this.translations[B],$):$,this.updateLangs(),this.onTranslationChange.emit({lang:B,translations:this.translations[B]})}getLangs(){return this.langs}addLangs(B){B.forEach($=>{-1===this.langs.indexOf($)&&this.langs.push($)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(B,$,Z){let H;if($ instanceof Array){let te={},ue=!1;for(let ye of $)te[ye]=this.getParsedResult(B,ye,Z),(0,D.b)(te[ye])&&(ue=!0);if(ue){const ye=$.map(Ge=>(0,D.b)(te[Ge])?te[Ge]:(0,f.of)(te[Ge]));return(0,y.D)(ye).pipe((0,h.U)(Ge=>{let $e={};return Ge.forEach((Ye,Ze)=>{$e[$[Ze]]=Ye}),$e}))}return te}if(B&&(H=this.parser.interpolate(this.parser.getValue(B,$),Z)),typeof H>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(H=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],$),Z)),typeof H>"u"){let te={key:$,translateService:this};typeof Z<"u"&&(te.interpolateParams=Z),H=this.missingTranslationHandler.handle(te)}return typeof H<"u"?H:$}get(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,o.b)(Z=>(Z=this.getParsedResult(Z,B,$),(0,D.b)(Z)?Z:(0,f.of)(Z))));{let Z=this.getParsedResult(this.translations[this.currentLang],B,$);return(0,D.b)(Z)?Z:(0,f.of)(Z)}}getStreamOnTranslationChange(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onTranslationChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return"function"==typeof H.subscribe?H:(0,f.of)(H)})))}stream(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onLangChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return(0,D.b)(H)?H:(0,f.of)(H)})))}instant(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');let Z=this.getParsedResult(this.translations[this.currentLang],B,$);if((0,D.b)(Z)){if(B instanceof Array){let H={};return B.forEach((te,ue)=>{H[B[ue]]=B[ue]}),H}return B}return Z}set(B,$,Z=this.currentLang){this.translations[Z][B]=this.compiler.compile($,Z),this.updateLangs(),this.onTranslationChange.emit({lang:Z,translations:this.translations[Z]})}changeLang(B){this.currentLang=B,this.onLangChange.emit({lang:B,translations:this.translations[B]}),null==this.defaultLang&&this.changeDefaultLang(B)}changeDefaultLang(B){this.defaultLang=B,this.onDefaultLangChange.emit({lang:B,translations:this.translations[B]})}reloadLang(B){return this.resetLang(B),this.getTranslation(B)}resetLang(B){this._translationRequests[B]=void 0,this.translations[B]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof B>"u"?void 0:(-1!==B.indexOf("-")&&(B=B.split("-")[0]),-1!==B.indexOf("_")&&(B=B.split("_")[0]),B)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,B}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(r),n.\u0275\u0275inject(M),n.\u0275\u0275inject(T),n.\u0275\u0275inject(d),n.\u0275\u0275inject(A),n.\u0275\u0275inject(P),n.\u0275\u0275inject(F),n.\u0275\u0275inject(L))};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),U=(()=>{class ee{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(B){B&&(this.key=B,this.checkNodes())}set translateParams(B){b(this.currentParams,B)||(this.currentParams=B,this.checkNodes(!0))}constructor(B,$,Z){this.translateService=B,this.element=$,this._ref=Z,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(H=>{H.lang===this.translateService.currentLang&&this.checkNodes(!0,H.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(H=>{this.checkNodes(!0,H.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(H=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(B=!1,$){let Z=this.element.nativeElement.childNodes;Z.length||(this.setContent(this.element.nativeElement,this.key),Z=this.element.nativeElement.childNodes);for(let H=0;H{te!==B&&($.lastKey=B),$.originalContent||($.originalContent=this.getContent($)),$.currentValue=C(te)?te:$.originalContent||B,this.setContent($,this.key?$.currentValue:$.originalContent.replace(B,$.currentValue)),this._ref.markForCheck()};if(C(Z)){let te=this.translateService.getParsedResult(Z,B,this.currentParams);(0,D.b)(te)?te.subscribe({next:H}):H(te)}else this.translateService.get(B,this.currentParams).subscribe(H)}}getContent(B){return C(B.textContent)?B.textContent:B.data}setContent(B,$){C(B.textContent)?B.textContent=$:B.data=$}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275directiveInject(R),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static \u0275dir=n.\u0275\u0275defineDirective({type:ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ee})(),W=(()=>{class ee{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(B,$){this.translate=B,this._ref=$}updateValue(B,$,Z){let H=te=>{this.value=void 0!==te?te:B,this.lastKey=B,this._ref.markForCheck()};if(Z){let te=this.translate.getParsedResult(Z,B,$);(0,D.b)(te.subscribe)?te.subscribe(H):H(te)}this.translate.get(B,$).subscribe(H)}transform(B,...$){if(!B||!B.length)return B;if(b(B,this.lastKey)&&b($,this.lastParams))return this.value;let Z;if(C($[0])&&$.length)if("string"==typeof $[0]&&$[0].length){let H=$[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Z=JSON.parse(H)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${$[0]}`)}}else"object"==typeof $[0]&&!Array.isArray($[0])&&(Z=$[0]);return this.lastKey=B,this.lastParams=$,this.updateValue(B,Z),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(H=>{this.lastKey&&H.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(H=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275directiveInject(R,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static \u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:ee,pure:!1});static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),ne=(()=>{class ee{static forRoot(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},I,{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static forChild(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static \u0275fac=function($){return new($||ee)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ee});static \u0275inj=n.\u0275\u0275defineInjector({})}return ee})()},5061:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{TranslateHttpLoader:()=>n});class n{http;prefix;suffix;constructor(D,y="/assets/i18n/",u=".json"){this.http=D,this.prefix=y,this.suffix=u}getTranslation(D){return this.http.get(`${this.prefix}${D}${this.suffix}`)}}},4751:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AUTH_CONFIG:()=>un,AbstractValidationHandler:()=>Ge,AuthConfig:()=>te,DateTimeProvider:()=>A,DefaultHashHandler:()=>Pe,DefaultOAuthInterceptor:()=>Ot,HashHandler:()=>ke,JwksValidationHandler:()=>En,LoginOptions:()=>F,MemoryStorage:()=>W,NullValidationHandler:()=>k,OAuthErrorEvent:()=>$,OAuthEvent:()=>ee,OAuthInfoEvent:()=>B,OAuthLogger:()=>R,OAuthModule:()=>fn,OAuthModuleConfig:()=>I,OAuthNoopResourceServerErrorHandler:()=>yt,OAuthResourceServerConfig:()=>P,OAuthResourceServerErrorHandler:()=>Be,OAuthService:()=>Ne,OAuthStorage:()=>U,OAuthSuccessEvent:()=>j,ReceivedTokens:()=>ne,SystemDateTimeProvider:()=>L,UrlHelperService:()=>$e,ValidationHandler:()=>ye,provideOAuthClient:()=>cn});var n=_(5861),f=_(9212),D=_(6814),y=_(9862),u=_(8645),v=_(2096),s=_(2459),m=_(3684),h=_(8504),o=_(2572),l=_(3019),r=_(2181),c=_(9397),d=_(3620),g=_(7547),b=_(4664),C=_(7398),x=_(1374),w=_(6306),T=_(5178),S=_(8180),M=_(9769);class k{validateSignature(Ft){return Promise.resolve(null)}validateAtHash(Ft){return Promise.resolve(!0)}}class I{}class P{}class A{}let L=(()=>{class Bt extends A{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let De;return function(Xe){return(De||(De=f.\u0275\u0275getInheritedFactory(Bt)))(Xe||Bt)}})();static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class F{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class R{}class U{}let W=(()=>{class Bt{constructor(){this.data=new Map}getItem(De){return this.data.get(De)}removeItem(De){this.data.delete(De)}setItem(De,Ve){this.data.set(De,Ve)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class ne{}class ee{constructor(Ft){this.type=Ft}}class j extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class B extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class $ extends ee{constructor(Ft,De,Ve=null){super(Ft),this.reason=De,this.params=Ve}}function Z(Bt){const Ft=Bt.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Ft).split("").map(function(De){return"%"+("00"+De.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function H(Bt){return btoa(Bt).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class te{constructor(Ft){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=De=>{location.href=De},Ft&&Object.assign(this,Ft)}}class ue{encodeKey(Ft){return encodeURIComponent(Ft)}encodeValue(Ft){return encodeURIComponent(Ft)}decodeKey(Ft){return decodeURIComponent(Ft)}decodeValue(Ft){return decodeURIComponent(Ft)}}class ye{}class Ge{validateAtHash(Ft){var De=this;return(0,n.Z)(function*(){const Ve=De.inferHashAlgorithm(Ft.idTokenHeader),Xe=yield De.calcHash(Ft.accessToken,Ve),tt=H(Xe.substr(0,Xe.length/2)),ut=Ft.idTokenClaims.at_hash.replace(/=/g,"");return tt!==ut&&(console.error("exptected at_hash: "+tt),console.error("actual at_hash: "+ut)),tt===ut})()}inferHashAlgorithm(Ft){const De=Ft.alg;if(!De.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+De);return"sha-"+De.substr(2)}}let $e=(()=>{class Bt{getHashFragmentParams(De){let Ve=De||window.location.hash;if(Ve=decodeURIComponent(Ve),0!==Ve.indexOf("#"))return{};const Xe=Ve.indexOf("?");return Ve=Ve.substr(Xe>-1?Xe+1:1),this.parseQueryString(Ve)}parseQueryString(De){const Ve={};let Xe,St,tt,ut,Oe,Ct;if(null===De)return Ve;const Pt=De.split("&");for(let Nt=0;Nt=64;){for(St=Ft[0],tt=Ft[1],ut=Ft[2],Oe=Ft[3],Ct=Ft[4],Pt=Ft[5],Nt=Ft[6],bt=Ft[7],ce=0;ce<16;ce++)z=Ve+4*ce,Bt[ce]=(255&De[z])<<24|(255&De[z+1])<<16|(255&De[z+2])<<8|255&De[z+3];for(ce=16;ce<64;ce++)_e=Bt[ce-2],oe=(_e>>>17|_e<<15)^(_e>>>19|_e<<13)^_e>>>10,_e=Bt[ce-15],Se=(_e>>>7|_e<<25)^(_e>>>18|_e<<14)^_e>>>3,Bt[ce]=(oe+Bt[ce-7]|0)+(Se+Bt[ce-16]|0);for(ce=0;ce<64;ce++)oe=(((Ct>>>6|Ct<<26)^(Ct>>>11|Ct<<21)^(Ct>>>25|Ct<<7))+(Ct&Pt^~Ct&Nt)|0)+(bt+(Et[ce]+Bt[ce]|0)|0)|0,Se=((St>>>2|St<<30)^(St>>>13|St<<19)^(St>>>22|St<<10))+(St&tt^St&ut^tt&ut)|0,bt=Nt,Nt=Pt,Pt=Ct,Ct=Oe+oe|0,Oe=ut,ut=tt,tt=St,St=oe+Se|0;Ft[0]+=St,Ft[1]+=tt,Ft[2]+=ut,Ft[3]+=Oe,Ft[4]+=Ct,Ft[5]+=Pt,Ft[6]+=Nt,Ft[7]+=bt,Ve+=64,Xe-=64}return Ve}class qe{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let Ft=0;Ft0){for(;this.bufferLength<64&&De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;64===this.bufferLength&&(Te(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(De>=64&&(Ve=Te(this.temp,this.state,Ft,Ve,De),De%=64);De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;return this}finish(Ft){if(!this.finished){const De=this.bytesHashed,Ve=this.bufferLength,Xe=De/536870912|0,St=De<<3,tt=De%64<56?64:128;this.buffer[Ve]=128;for(let ut=Ve+1;ut>>24&255,this.buffer[tt-7]=Xe>>>16&255,this.buffer[tt-6]=Xe>>>8&255,this.buffer[tt-5]=Xe>>>0&255,this.buffer[tt-4]=St>>>24&255,this.buffer[tt-3]=St>>>16&255,this.buffer[tt-2]=St>>>8&255,this.buffer[tt-1]=St>>>0&255,Te(this.temp,this.state,this.buffer,0,tt),this.finished=!0}for(let De=0;De<8;De++)Ft[4*De+0]=this.state[De]>>>24&255,Ft[4*De+1]=this.state[De]>>>16&255,Ft[4*De+2]=this.state[De]>>>8&255,Ft[4*De+3]=this.state[De]>>>0&255;return this}digest(){const Ft=new Uint8Array(this.digestLength);return this.finish(Ft),Ft}_saveState(Ft){for(let De=0;De{class Bt{calcHash(De,Ve){return(0,n.Z)(function*(){return function me(Bt){const Ft=[];for(let De=0;De{class Bt extends te{constructor(De,Ve,Xe,St,tt,ut,Oe,Ct,Pt,Nt){super(),this.ngZone=De,this.http=Ve,this.config=tt,this.urlHelper=ut,this.logger=Oe,this.crypto=Ct,this.dateTimeService=Nt,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new u.x,this.discoveryDocumentLoadedSubject=new u.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Pt,tt||(tt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),St&&(this.tokenValidationHandler=St),tt&&this.configure(tt);try{Xe?this.setStorage(Xe):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(bt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",bt)}if(this.checkLocalStorageAccessable()){const bt=window?.navigator?.userAgent;(bt?.includes("MSIE ")||bt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const De="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(De,De),localStorage.removeItem(De),0))}catch{return!1}}configure(De){Object.assign(this,new te,De),this.config=Object.assign({},new te,De),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.h)(De=>"token_received"===De.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(De={},Ve,Xe=!0){let St=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,c.b)(tt=>{"token_received"===tt.type?St=!0:"logout"===tt.type&&(St=!1)}),(0,r.h)(tt=>"token_expires"===tt.type&&(null==Ve||"any"===Ve||tt.info===Ve)),(0,d.b)(1e3)).subscribe(()=>{St&&this.refreshInternal(De,Xe).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(De,Ve){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(De,Ve):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(De=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(De))}loadDiscoveryDocumentAndLogin(De=null){return this.loadDiscoveryDocumentAndTryLogin(De=De||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof De.state?De.state:""),!1))}debug(...De){this.showDebugInformation&&this.logger.debug(...De)}validateUrlFromDiscoveryDocument(De){const Ve=[],Xe=this.validateUrlForHttps(De),St=this.validateUrlAgainstIssuer(De);return Xe||Ve.push("https for all urls required. Also for urls received by discovery."),St||Ve.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ve}validateUrlForHttps(De){if(!De)return!0;const Ve=De.toLowerCase();return!(!1!==this.requireHttps&&(!Ve.match(/^http:\/\/localhost($|[:/])/)&&!Ve.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||Ve.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(De,Ve){if(!De)throw new Error(`'${Ve}' should not be null`);if(!this.validateUrlForHttps(De))throw new Error(`'${Ve}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(De){return!this.strictDiscoveryDocumentValidation||!De||De.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,r.h)(De=>"token_received"===De.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const De=this.getAccessTokenExpiration(),Ve=this.getAccessTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,v.of)(new B("token_expires","access_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}setupIdTokenTimer(){const De=this.getIdTokenExpiration(),Ve=this.getIdTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,v.of)(new B("token_expires","id_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(De,Ve){const Xe=this.dateTimeService.now(),tt=Math.max(0,(Ve-De)*this.timeoutFactor-(Xe-De)),ut=2147483647;return tt>ut?ut:tt}setStorage(De){this._storage=De,this.configChanged()}loadDiscoveryDocument(De=null){return new Promise((Ve,Xe)=>{De||((De=this.issuer||"").endsWith("/")||(De+="/"),De+=".well-known/openid-configuration"),this.validateUrlForHttps(De)?this.http.get(De).subscribe(St=>{if(!this.validateDiscoveryDocument(St))return this.eventsSubject.next(new $("discovery_document_validation_error",null)),void Xe("discovery_document_validation_error");this.loginUrl=St.authorization_endpoint,this.logoutUrl=St.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=St.grant_types_supported,this.issuer=St.issuer,this.tokenEndpoint=St.token_endpoint,this.userinfoEndpoint=St.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=St.jwks_uri,this.sessionCheckIFrameUrl=St.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(St),this.revocationEndpoint=St.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(tt=>{const Oe=new j("discovery_document_loaded",{discoveryDocument:St,jwks:tt});this.eventsSubject.next(Oe),Ve(Oe)}).catch(tt=>{this.eventsSubject.next(new $("discovery_document_load_error",tt)),Xe(tt)})},St=>{this.logger.error("error loading discovery document",St),this.eventsSubject.next(new $("discovery_document_load_error",St)),Xe(St)}):Xe("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((De,Ve)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(Xe=>{this.jwks=Xe,De(Xe)},Xe=>{this.logger.error("error loading jwks",Xe),this.eventsSubject.next(new $("jwks_load_error",Xe)),Ve(Xe)}):De(null)})}validateDiscoveryDocument(De){let Ve;return this.skipIssuerCheck||De.issuer===this.issuer?(Ve=this.validateUrlFromDiscoveryDocument(De.authorization_endpoint),Ve.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.end_session_endpoint),Ve.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.token_endpoint),Ve.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.revocation_endpoint),Ve.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.userinfo_endpoint),Ve.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.jwks_uri),Ve.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ve),!1):(this.sessionChecksEnabled&&!De.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+De.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingPasswordFlow(De,Ve,Xe).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((De,Ve)=>{const Xe=(new y.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:Xe,observe:"response",responseType:"text"}).subscribe(St=>{if(this.debug("userinfo received",JSON.stringify(St)),St.headers.get("content-type").startsWith("application/json")){let tt=JSON.parse(St.body);const ut=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!ut.sub||tt.sub!==ut.sub))return void Ve("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");tt=Object.assign({},ut,tt),this._storage.setItem("id_token_claims_obj",JSON.stringify(tt)),this.eventsSubject.next(new j("user_profile_loaded")),De({info:tt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new j("user_profile_loaded")),De(JSON.parse(St.body))},St=>{this.logger.error("error loading user info",St),this.eventsSubject.next(new $("user_profile_load_error",St)),Ve(St)})})}fetchTokenUsingPasswordFlow(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:De,password:Ve},Xe)}fetchTokenUsingGrant(De,Ve,Xe=new y.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let St=new y.HttpParams({encoder:new ue}).set("grant_type",De).set("scope",this.scope);if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(St=St.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(St=St.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))St=St.set(tt,this.customQueryParams[tt]);for(const tt of Object.keys(Ve))St=St.set(tt,Ve[tt]);return Xe=Xe.set("Content-Type","application/x-www-form-urlencoded"),new Promise((tt,ut)=>{this.http.post(this.tokenEndpoint,St,{headers:Xe}).subscribe(Oe=>{this.debug("tokenResponse",Oe),this.storeAccessTokenResponse(Oe.access_token,Oe.refresh_token,Oe.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Oe.scope,this.extractRecognizedCustomParameters(Oe)),this.oidc&&Oe.id_token&&this.processIdToken(Oe.id_token,Oe.access_token).then(Ct=>{this.storeIdToken(Ct),tt(Oe)}),this.eventsSubject.next(new j("token_received")),tt(Oe)},Oe=>{this.logger.error("Error performing ${grantType} flow",Oe),this.eventsSubject.next(new $("token_error",Oe)),ut(Oe)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((De,Ve)=>{let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),St=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);St=St.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(Xe=Xe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Xe=Xe.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))Xe=Xe.set(tt,this.customQueryParams[tt]);this.http.post(this.tokenEndpoint,Xe,{headers:St}).pipe((0,b.w)(tt=>this.oidc&&tt.id_token?(0,s.D)(this.processIdToken(tt.id_token,tt.access_token,!0)).pipe((0,c.b)(ut=>this.storeIdToken(ut)),(0,C.U)(()=>tt)):(0,v.of)(tt))).subscribe(tt=>{this.debug("refresh tokenResponse",tt),this.storeAccessTokenResponse(tt.access_token,tt.refresh_token,tt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,tt.scope,this.extractRecognizedCustomParameters(tt)),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),De(tt)},tt=>{this.logger.error("Error refreshing token",tt),this.eventsSubject.next(new $("token_refresh_error",tt)),Ve(tt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=De=>{const Ve=this.processMessageEventMessage(De);this.checkOrigin&&De.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ve,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(Xe=>this.debug("tryLogin during silent refresh failed",Xe))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(De={},Ve=!0){const Xe=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(De.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");const St=this.document.getElementById(this.silentRefreshIFrameName);St&&this.document.body.removeChild(St),this.silentRefreshSubject=Xe.sub;const tt=this.document.createElement("iframe");tt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ve,De).then(Nt=>{tt.setAttribute("src",Nt),this.silentRefreshShowIFrame||(tt.style.display="none"),this.document.body.appendChild(tt)});const Oe=this.events.pipe((0,r.h)(Nt=>Nt instanceof $),(0,x.P)()),Ct=this.events.pipe((0,r.h)(Nt=>"token_received"===Nt.type),(0,x.P)()),Pt=(0,v.of)(new $("silent_refresh_timeout",null)).pipe((0,g.g)(this.silentRefreshTimeout));return(0,m.S)([Oe,Ct,Pt]).pipe((0,C.U)(Nt=>{if(Nt instanceof $)throw"silent_refresh_timeout"===Nt.type||(Nt=new $("silent_refresh_error",Nt)),this.eventsSubject.next(Nt),Nt;return"token_received"===Nt.type&&(Nt=new j("silently_refreshed"),this.eventsSubject.next(Nt)),Nt})).toPromise()}initImplicitFlowInPopup(De){return this.initLoginFlowInPopup(De)}initLoginFlowInPopup(De){return De=De||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ve=>new Promise((Xe,St)=>{let Oe,ut=null;De.windowRef?De.windowRef&&!De.windowRef.closed&&(ut=De.windowRef,ut.location.href=Ve):ut=window.open(Ve,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(De));const Ct=ce=>{this.tryLogin({customHashFragment:ce,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Nt(),Xe(!0)},z=>{Nt(),St(z)})};ut?Oe=window.setInterval(()=>{(!ut||ut.closed)&&(Nt(),St(new $("popup_closed",{})))},500):St(new $("popup_blocked",{}));const Nt=()=>{window.clearInterval(Oe),window.removeEventListener("storage",_e),window.removeEventListener("message",bt),null!==ut&&ut.close(),ut=null},bt=ce=>{const z=this.processMessageEventMessage(ce);z&&null!==z?(window.removeEventListener("storage",_e),Ct(z)):console.log("false event firing")},_e=ce=>{"auth_hash"===ce.key&&(window.removeEventListener("message",bt),Ct(ce.newValue))};window.addEventListener("message",bt),window.addEventListener("storage",_e)}))}calculatePopupFeatures(De){const Ve=De.height||470,Xe=De.width||500,St=window.screenLeft+(window.outerWidth-Xe)/2;return`location=no,toolbar=no,width=${Xe},height=${Ve},top=${window.screenTop+(window.outerHeight-Ve)/2},left=${St}`}processMessageEventMessage(De){let Ve="#";if(this.silentRefreshMessagePrefix&&(Ve+=this.silentRefreshMessagePrefix),!De||!De.data||"string"!=typeof De.data)return;const Xe=De.data;return Xe.startsWith(Ve)?"#"+Xe.substr(Ve.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.getSessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=De=>{const Ve=De.origin.toLowerCase(),Xe=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),Xe.startsWith(Ve)){switch(De.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",De)}else this.debug("sessionCheckEventListener","wrong origin",Ve,"expected",Xe,"event",De)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new B("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new B("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new B("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new B("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.h)(De=>"silently_refreshed"===De.type||"silent_refresh_timeout"===De.type||"silent_refresh_error"===De.type),(0,x.P)()).subscribe(De=>{"silently_refreshed"!==De.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new B("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new B("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const De=this.document.getElementById(this.sessionCheckIFrameName);De&&this.document.body.removeChild(De);const Ve=this.document.createElement("iframe");Ve.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ve.setAttribute("src",this.sessionCheckIFrameUrl),Ve.style.display="none",this.document.body.appendChild(Ve),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const De=this.document.getElementById(this.sessionCheckIFrameName);De||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ve=this.getSessionState();Ve||this.stopSessionCheckTimer(),De.contentWindow.postMessage(this.clientId+" "+Ve,this.issuer)}createLoginUrl(De="",Ve="",Xe="",St=!1,tt={}){var ut=this;return(0,n.Z)(function*(){const Oe=ut;let Ct;Ct=Xe||ut.redirectUri;const Pt=yield ut.createAndSaveNonce();if(De=De?Pt+ut.config.nonceStateSeparator+encodeURIComponent(De):Pt,!ut.requestAccessToken&&!ut.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ut.responseType=ut.config.responseType?ut.config.responseType:ut.oidc&&ut.requestAccessToken?"id_token token":ut.oidc&&!ut.requestAccessToken?"id_token":"token";const Nt=Oe.loginUrl.indexOf("?")>-1?"&":"?";let bt=Oe.scope;ut.oidc&&!bt.match(/(^|\s)openid($|\s)/)&&(bt="openid "+bt);let _e=Oe.loginUrl+Nt+"response_type="+encodeURIComponent(Oe.responseType)+"&client_id="+encodeURIComponent(Oe.clientId)+"&state="+encodeURIComponent(De)+"&redirect_uri="+encodeURIComponent(Ct)+"&scope="+encodeURIComponent(bt);if(ut.responseType.includes("code")&&!ut.disablePKCE){const[ce,z]=yield ut.createChallangeVerifierPairForPKCE();ut.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",z):ut._storage.setItem("PKCE_verifier",z),_e+="&code_challenge="+ce,_e+="&code_challenge_method=S256"}Ve&&(_e+="&login_hint="+encodeURIComponent(Ve)),Oe.resource&&(_e+="&resource="+encodeURIComponent(Oe.resource)),Oe.oidc&&(_e+="&nonce="+encodeURIComponent(Pt)),St&&(_e+="&prompt=none");for(const ce of Object.keys(tt))_e+="&"+encodeURIComponent(ce)+"="+encodeURIComponent(tt[ce]);if(ut.customQueryParams)for(const ce of Object.getOwnPropertyNames(ut.customQueryParams))_e+="&"+ce+"="+encodeURIComponent(ut.customQueryParams[ce]);return _e})()}initImplicitFlowInternal(De="",Ve=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initImplicitFlow",tt),this.inImplicitFlow=!1})}initImplicitFlow(De="",Ve=""){""!==this.loginUrl?this.initImplicitFlowInternal(De,Ve):this.events.pipe((0,r.h)(Xe=>"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initImplicitFlowInternal(De,Ve))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(De){const Ve=this;if(De.onTokenReceived){const Xe={idClaims:Ve.getIdentityClaims(),idToken:Ve.getIdToken(),accessToken:Ve.getAccessToken(),state:Ve.state};De.onTokenReceived(Xe)}}storeAccessTokenResponse(De,Ve,Xe,St,tt){if(this._storage.setItem("access_token",De),St&&!Array.isArray(St)?this._storage.setItem("granted_scopes",JSON.stringify(St.split(" "))):St&&Array.isArray(St)&&this._storage.setItem("granted_scopes",JSON.stringify(St)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),Xe){const ut=1e3*Xe,Ct=this.dateTimeService.new().getTime()+ut;this._storage.setItem("expires_at",""+Ct)}Ve&&this._storage.setItem("refresh_token",Ve),tt&&tt.forEach((ut,Oe)=>{this._storage.setItem(Oe,ut)})}tryLogin(De=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(De).then(()=>!0):this.tryLoginImplicitFlow(De)}parseQueryString(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):{}}tryLoginCodeFlow(De=null){var Ve=this;return(0,n.Z)(function*(){const Xe=(De=De||{}).customHashFragment?De.customHashFragment.substring(1):window.location.search,St=Ve.getCodePartsFromUrl(Xe),tt=St.code,ut=St.state,Oe=St.session_state;if(!De.preventClearHashAfterLogin){const Nt=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,Nt)}const[Ct,Pt]=Ve.parseState(ut);if(Ve.state=Pt,St.error){Ve.debug("error trying to login"),Ve.handleLoginError(De,St);const Nt=new $("code_error",{},St);return Ve.eventsSubject.next(Nt),Promise.reject(Nt)}if(!De.disableNonceCheck){if(!Ct)return Ve.saveRequestedRoute(),Promise.resolve();if(!De.disableOAuth2StateCheck&&!Ve.validateNonce(Ct)){const bt=new $("invalid_nonce_in_state",null);return Ve.eventsSubject.next(bt),Promise.reject(bt)}}return Ve.storeSessionState(Oe),tt&&(yield Ve.getTokenFromCode(tt,De),Ve.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const De=this._storage.getItem("requested_route");De&&history.replaceState(null,"",window.location.origin+De)}getCodePartsFromUrl(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(De,Ve){let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","authorization_code").set("code",De).set("redirect_uri",Ve.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let St;St=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),St?Xe=Xe.set("code_verifier",St):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(Xe,Ve)}fetchAndProcessToken(De,Ve){Ve=Ve||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Xe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const St=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+St)}return this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),new Promise((St,tt)=>{if(this.customQueryParams)for(const ut of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(ut,this.customQueryParams[ut]);this.http.post(this.tokenEndpoint,De,{headers:Xe}).subscribe(ut=>{this.debug("refresh tokenResponse",ut),this.storeAccessTokenResponse(ut.access_token,ut.refresh_token,ut.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ut.scope,this.extractRecognizedCustomParameters(ut)),this.oidc&&ut.id_token?this.processIdToken(ut.id_token,ut.access_token,Ve.disableNonceCheck).then(Oe=>{this.storeIdToken(Oe),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut)}).catch(Oe=>{this.eventsSubject.next(new $("token_validation_error",Oe)),console.error("Error validating tokens"),console.error(Oe),tt(Oe)}):(this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut))},ut=>{console.error("Error getting token",ut),this.eventsSubject.next(new $("token_refresh_error",ut)),tt(ut)})})}tryLoginImplicitFlow(De=null){let Ve;Ve=(De=De||{}).customHashFragment?this.urlHelper.getHashFragmentParams(De.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ve);const Xe=Ve.state,[St,tt]=this.parseState(Xe);if(this.state=tt,Ve.error){this.debug("error trying to login"),this.handleLoginError(De,Ve);const Nt=new $("token_error",{},Ve);return this.eventsSubject.next(Nt),Promise.reject(Nt)}const ut=Ve.access_token,Oe=Ve.id_token,Ct=Ve.session_state,Pt=Ve.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!ut||this.requestAccessToken&&!De.disableOAuth2StateCheck&&!Xe||this.oidc&&!Oe)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!Ct&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!De.disableNonceCheck&&!this.validateNonce(St)){const bt=new $("invalid_nonce_in_state",null);return this.eventsSubject.next(bt),Promise.reject(bt)}return this.requestAccessToken&&this.storeAccessTokenResponse(ut,null,Ve.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Pt),this.oidc?this.processIdToken(Oe,ut,De.disableNonceCheck).then(Nt=>De.validationHandler?De.validationHandler({accessToken:ut,idClaims:Nt.idTokenClaims,idToken:Nt.idToken,state:Xe}).then(()=>Nt):Nt).then(Nt=>(this.storeIdToken(Nt),this.storeSessionState(Ct),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new j("token_received")),this.callOnTokenReceivedIfExists(De),this.inImplicitFlow=!1,!0)).catch(Nt=>(this.eventsSubject.next(new $("token_validation_error",Nt)),this.logger.error("Error validating tokens"),this.logger.error(Nt),Promise.reject(Nt))):(this.eventsSubject.next(new j("token_received")),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(De),Promise.resolve(!0))}parseState(De){let Ve=De,Xe="";if(De){const St=De.indexOf(this.config.nonceStateSeparator);St>-1&&(Ve=De.substr(0,St),Xe=De.substr(St+this.config.nonceStateSeparator.length))}return[Ve,Xe]}validateNonce(De){let Ve;return Ve=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ve===De||(console.error("Validating access_token failed, wrong state/nonce.",Ve,De),!1)}storeIdToken(De){this._storage.setItem("id_token",De.idToken),this._storage.setItem("id_token_claims_obj",De.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+De.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(De){this._storage.setItem("session_state",De)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(De,Ve){De.onLoginError&&De.onLoginError(Ve),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(De=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:De}processIdToken(De,Ve,Xe=!1){const St=De.split("."),ut=Z(this.padBase64(St[0])),Oe=JSON.parse(ut),Pt=Z(this.padBase64(St[1])),Nt=JSON.parse(Pt);let bt;if(bt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Nt.aud)){if(Nt.aud.every(at=>at!==this.clientId)){const at="Wrong audience: "+Nt.aud.join(",");return this.logger.warn(at),Promise.reject(at)}}else if(Nt.aud!==this.clientId){const at="Wrong audience: "+Nt.aud;return this.logger.warn(at),Promise.reject(at)}if(!Nt.sub){const at="No sub claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Nt.sub){const at=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Nt.sub}`;return this.logger.warn(at),Promise.reject(at)}if(!Nt.iat){const at="No iat claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(!this.skipIssuerCheck&&Nt.iss!==this.issuer){const at="Wrong issuer: "+Nt.iss;return this.logger.warn(at),Promise.reject(at)}if(!Xe&&Nt.nonce!==bt){const at="Wrong nonce: "+Nt.nonce;return this.logger.warn(at),Promise.reject(at)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Nt.at_hash){const at="An at_hash is needed!";return this.logger.warn(at),Promise.reject(at)}const _e=this.dateTimeService.now(),ce=1e3*Nt.iat,z=1e3*Nt.exp,oe=this.getClockSkewInMsec();if(ce-oe>=_e||z+oe-this.decreaseExpirationBySec<=_e){const at="Token has expired";return console.error(at),console.error({now:_e,issuedAtMSec:ce,expiresAtMSec:z}),Promise.reject(at)}const Se={accessToken:Ve,idToken:De,jwks:this.jwks,idTokenClaims:Nt,idTokenHeader:Oe,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(Se).then(()=>({idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z})):this.checkAtHash(Se).then(at=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!at){const nt="Wrong at_hash";return this.logger.warn(nt),Promise.reject(nt)}return this.checkSignature(Se).then(()=>{const mt={idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z};return this.disableAtHashCheck?mt:this.checkAtHash(Se).then(He=>{if(this.requestAccessToken&&!He){const rt="Wrong at_hash";return this.logger.warn(rt),Promise.reject(rt)}return mt})})})}getIdentityClaims(){const De=this._storage.getItem("id_token_claims_obj");return De?JSON.parse(De):null}getGrantedScopes(){const De=this._storage.getItem("granted_scopes");return De?JSON.parse(De):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(De){for(;De.length%4!=0;)De+="=";return De}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const De=this._storage.getItem("expires_at"),Ve=this.dateTimeService.new();return!(De&&parseInt(De,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(De)?JSON.parse(this._storage.getItem(De)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(De={},Ve=""){let Xe=!1;"boolean"==typeof De&&(Xe=De,De={});const St=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ut=>this._storage.removeItem(ut)),this.silentRefreshSubject=null,this.eventsSubject.next(new B("logout")),!this.logoutUrl||Xe)return;let tt;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)tt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(St)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let ut=new y.HttpParams({encoder:new ue});St&&(ut=ut.set("id_token_hint",St));const Oe=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Oe&&(ut=ut.set("post_logout_redirect_uri",Oe),Ve&&(ut=ut.set("state",Ve)));for(const Ct in De)ut=ut.set(Ct,De[Ct]);tt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+ut.toString()}this.config.openUri(tt)}createAndSaveNonce(){const De=this;return this.createNonce().then(function(Ve){return De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ve):De._storage.setItem("nonce",Ve),Ve})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const De=this.document.getElementById(this.silentRefreshIFrameName);De&&De.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ve=this.document.getElementById(this.sessionCheckIFrameName);Ve&&Ve.remove()}createNonce(){return new Promise(De=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let Xe=45,St="";const tt=typeof self>"u"?null:self.crypto||self.msCrypto;if(tt){let ut=new Uint8Array(Xe);tt.getRandomValues(ut),ut.map||(ut.map=Array.prototype.map),ut=ut.map(Oe=>Ve.charCodeAt(Oe%66)),St=String.fromCharCode.apply(null,ut)}else for(;0"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initCodeFlowInternal(De,Ve))}initCodeFlowInternal(De="",Ve={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(tt)})}createChallangeVerifierPairForPKCE(){var De=this;return(0,n.Z)(function*(){if(!De.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ve=yield De.createNonce();return[H(yield De.crypto.calcHash(Ve,"sha-256")),Ve]})()}extractRecognizedCustomParameters(De){const Ve=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Xe=>{De[Xe]&&Ve.set(Xe,JSON.stringify(De[Xe]))}),Ve}revokeTokenAndLogout(De={},Ve=!1){const Xe=this.revocationEndpoint,St=this.getAccessToken(),tt=this.getRefreshToken();if(!St)return Promise.resolve();let ut=new y.HttpParams({encoder:new ue}),Oe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ct=btoa(`${this.clientId}:${this.dummyClientSecret}`);Oe=Oe.set("Authorization","Basic "+Ct)}if(this.useHttpBasicAuth||(ut=ut.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ut=ut.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ct of Object.getOwnPropertyNames(this.customQueryParams))ut=ut.set(Ct,this.customQueryParams[Ct]);return new Promise((Ct,Pt)=>{let Nt,bt;if(St){const _e=ut.set("token",St).set("token_type_hint","access_token");Nt=this.http.post(Xe,_e,{headers:Oe})}else Nt=(0,v.of)(null);if(tt){const _e=ut.set("token",tt).set("token_type_hint","refresh_token");bt=this.http.post(Xe,_e,{headers:Oe})}else bt=(0,v.of)(null);Ve&&(Nt=Nt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e))),bt=bt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e)))),(0,o.a)([Nt,bt]).subscribe(_e=>{this.logOut(De),Ct(_e),this.logger.info("Token successfully revoked")},_e=>{this.logger.error("Error revoking token",_e),this.eventsSubject.next(new $("token_revoke_error",_e)),Pt(_e)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(y.HttpClient),f.\u0275\u0275inject(U,8),f.\u0275\u0275inject(ye,8),f.\u0275\u0275inject(te,8),f.\u0275\u0275inject($e),f.\u0275\u0275inject(R),f.\u0275\u0275inject(ke,8),f.\u0275\u0275inject(D.DOCUMENT),f.\u0275\u0275inject(A))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class Be{}class yt{handleError(Ft){return(0,h._)(Ft)}}let Ot=(()=>{class Bt{constructor(De,Ve,Xe){this.oAuthService=De,this.errorHandler=Ve,this.moduleConfig=Xe}checkUrl(De){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(De):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ve=>De.toLowerCase().startsWith(Ve.toLowerCase()))}intercept(De,Ve){const Xe=De.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(Xe)?this.moduleConfig.resourceServer.sendAccessToken?(0,l.T)((0,v.of)(this.oAuthService.getAccessToken()).pipe((0,r.h)(tt=>!!tt)),this.oAuthService.events.pipe((0,r.h)(tt=>"token_received"===tt.type),(0,T.V)(this.oAuthService.waitForTokenInMsec||0),(0,w.K)(()=>(0,v.of)(null)),(0,C.U)(()=>this.oAuthService.getAccessToken()))).pipe((0,S.q)(1),(0,M.z)(tt=>{if(tt){const Oe=De.headers.set("Authorization","Bearer "+tt);De=De.clone({headers:Oe})}return Ve.handle(De).pipe((0,w.K)(ut=>this.errorHandler.handleError(ut)))})):Ve.handle(De).pipe((0,w.K)(tt=>this.errorHandler.handleError(tt))):Ve.handle(De)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(Ne),f.\u0275\u0275inject(Be),f.\u0275\u0275inject(I,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();function Yt(){return console}function jt(){return typeof sessionStorage<"u"?sessionStorage:new W}function cn(Bt=null,Ft=k){return(0,f.makeEnvironmentProviders)([Ne,$e,{provide:R,useFactory:Yt},{provide:U,useFactory:jt},{provide:ye,useClass:Ft},{provide:ke,useClass:Pe},{provide:Be,useClass:yt},{provide:I,useValue:Bt},{provide:y.HTTP_INTERCEPTORS,useClass:Ot,multi:!0},{provide:A,useClass:L}])}let fn=(()=>{class Bt{static forRoot(De=null,Ve=k){return{ngModule:Bt,providers:[cn(De,Ve)]}}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Bt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[D.CommonModule]})}return Bt})();class En extends k{constructor(){super(),console.error("PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n")}}const un=new f.InjectionToken("AUTH_CONFIG")},9949:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{HIGHLIGHT_OPTIONS:()=>b,Highlight:()=>k,HighlightJS:()=>M,HighlightLoader:()=>T,HighlightModule:()=>I});var n=_(9212),f=_(6814),D=_(5619),y=_(2181),u=_(8180),v=_(4664),s=_(9397),m=_(6232),h=_(6306),o=_(8504),l=_(9278),r=_(7398),c=_(2459),d=_(927),g=_(6593);const b=new n.InjectionToken("HIGHLIGHT_OPTIONS");let C;let T=(()=>{class P{constructor(L,F,R){this.doc=L,this.platformId=F,this._options=R,this._ready=new D.X(null),this.ready=this._ready.asObservable().pipe((0,y.h)(U=>!!U),(0,u.q)(1)),(0,f.isPlatformBrowser)(F)&&(L.defaultView.hljs?this._ready.next(L.defaultView.hljs):(this._loadLibrary().pipe((0,v.w)(U=>this._options&&this._options.lineNumbersLoader?(L.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.b)(W=>{W.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),m.E)),(0,h.K)(U=>(console.error("[HLJS] ",U),m.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,o._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,o._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,o._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,o._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,v.w)(L=>this._loadLanguages(L)))}return(0,o._)(()=>"Highlight.js library was not imported!")}_loadLanguages(L){const F=Object.entries(this._options.languages).map(([R,U])=>S(U()).pipe((0,s.b)(W=>L.registerLanguage(R,W))));return(0,l.$)(...F).pipe((0,r.U)(()=>L))}loadCoreLibrary(){return S(this._options.coreLibraryLoader())}loadFullLibrary(){return S(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,c.D)(this._options.lineNumbersLoader())}setTheme(L){(0,f.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=L:this.loadTheme(L))}loadTheme(L){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=L,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();const S=P=>(0,c.D)(P).pipe((0,y.h)(A=>!!A?.default),(0,r.U)(A=>A.default));let M=(()=>{class P{get hljs(){return this._hljs}constructor(L,F){this._loader=L,this._hljs=null,L.ready.subscribe(R=>{this._hljs=R,F&&F.config&&(R.configure(F.config),R.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(L,{language:F,ignoreIllegals:R}){return this._loader.ready.pipe((0,r.U)(U=>U.highlight(L,{language:F,ignoreIllegals:R})))}highlightAuto(L,F){return this._loader.ready.pipe((0,r.U)(R=>R.highlightAuto(L,F)))}highlightElement(L){return this._loader.ready.pipe((0,r.U)(F=>F.highlightElement(L)))}highlightAll(){return this._loader.ready.pipe((0,r.U)(L=>L.highlightAll()))}configure(L){return this._loader.ready.pipe((0,r.U)(F=>F.configure(L)))}registerLanguage(L,F){return this._loader.ready.pipe((0,s.b)(R=>R.registerLanguage(L,F)))}unregisterLanguage(L){return this._loader.ready.pipe((0,s.b)(F=>F.unregisterLanguage(L)))}registerAliases(L,{languageName:F}){return this._loader.ready.pipe((0,s.b)(R=>R.registerAliases(L,{languageName:F})))}listLanguages(){return this._loader.ready.pipe((0,r.U)(L=>L.listLanguages()))}getLanguage(L){return this._loader.ready.pipe((0,r.U)(F=>F.getLanguage(L)))}safeMode(){return this._loader.ready.pipe((0,r.U)(L=>L.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.U)(L=>L.debugMode()))}lineNumbersBlock(L){return this._loader.ready.pipe((0,y.h)(F=>!!F.lineNumbersBlock),(0,s.b)(F=>F.lineNumbersBlock(L)))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275inject(T),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),k=(()=>{class P{constructor(L,F,R,U,W){this._hljs=F,this._sanitizer=R,this.platformId=U,this._options=W,this.highlighted=new n.EventEmitter,this._nativeElement=L.nativeElement}ngOnChanges(L){(0,f.isPlatformBrowser)(this.platformId)&&null!==L?.code?.currentValue&&L.code.currentValue!==L.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(L,F){this.setTextContent(L),this._hljs.highlightAuto(L,F).subscribe(R=>{this.setInnerHTML(R?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(R)})}addLineNumbers(){this.destroyLineNumbersObserver(),d.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(L){d.Z.schedule(()=>this._nativeElement.textContent=L)}setInnerHTML(L){d.Z.schedule(()=>this._nativeElement.innerHTML=function w(P){return function x(){if(!C)try{C=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:P=>P})}catch{}return C}()?.createHTML(P)||P}(this._sanitizer.sanitize(n.SecurityContext.HTML,L)||""))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(M),n.\u0275\u0275directiveInject(g.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(b,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(F,R){2&F&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return P})()},3427:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>Ge,MatSelectNoEntriesFoundDirective:()=>$e,MatSelectSearchClearDirective:()=>ue,MatSelectSearchComponent:()=>Ye,MatSelectSearchVersion:()=>Ze,NgxMatSelectSearchModule:()=>Et,configurableDefaultOptions:()=>ye});var n=_(6028),f=_(9212),D=_(6223),y=_(3680),u=_(4170),v=_(8525),s=_(5619),m=_(2096),h=_(2572),o=_(8645),l=_(4664),r=_(7398),c=_(7921),d=_(7547),g=_(9773),b=_(8180),C=_(9397),x=_(2181),w=_(6672),T=_(6814),S=_(2296),M=_(5986),k=_(617),I=_(5940),P=_(2596),A=_(6385);const L=["searchSelectInput"],F=["innerSelectSearch"];function R(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-checkbox",10),f.\u0275\u0275listener("change",function(Ce){f.\u0275\u0275restoreView(Ee);const ge=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(ge._emitSelectAllBooleanToParent(Ce.checked))}),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275nextContext();f.\u0275\u0275property("color",null==Ee.matFormField?null:Ee.matFormField.color)("checked",Ee.toggleAllCheckboxChecked)("indeterminate",Ee.toggleAllCheckboxIndeterminate)("matTooltip",Ee.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Ee.toggleAllCheckboxTooltipPosition)}}function U(Te,qe){1&Te&&f.\u0275\u0275element(0,"mat-spinner",11)}function W(Te,qe){1&Te&&f.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ne(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"mat-icon",15),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275property("svgIcon",Ee.closeSvgIcon),f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate1(" ",Ee.closeSvgIcon?null:Ee.closeIcon," ")}}function ee(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",12),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(Ee);const Ce=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Ce._reset(!0))}),f.\u0275\u0275template(1,W,1,0,"ng-content",13)(2,ne,2,2,"ng-template",null,14,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.clearIcon)("ngIfElse",Ee)}}function j(Te,qe){1&Te&&f.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function B(Te,qe){if(1&Te&&f.\u0275\u0275text(0),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275textInterpolate(Ee.noEntriesFoundLabel)}}function $(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"div",16),f.\u0275\u0275template(1,j,1,0,"ng-content",13)(2,B,1,1,"ng-template",null,17,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.noEntriesFound)("ngIfElse",Ee)}}const Z=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],H=(Te,qe)=>({"mat-select-search-inner-multiple":Te,"mat-select-search-inner-toggle-all":qe}),te=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let ue=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectSearchClear",""]]}),Te})();const ye=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Ge=new f.InjectionToken("mat-selectsearch-default-options");let $e=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Te})(),Ye=(()=>{class Te{constructor(Ee,Ie,Ce,ge=null,Ae=null,q){this.matSelect=Ee,this.changeDetectorRef=Ie,this._viewportRuler=Ce,this.matOption=ge,this.matFormField=Ae,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new f.EventEmitter,this.onTouched=Re=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,l.w)(Re=>Re?Re.changes.pipe((0,r.U)(ke=>ke.toArray()),(0,c.O)(Re.toArray())):(0,m.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.U)(Re=>Re?Re.length:0)),this._formControl=new D.FormControl(""),this._showNoEntriesFound$=(0,h.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.U)(([Re,ke])=>this.noEntriesFoundLabel&&Re&&ke===this.getOptionsLengthOffset())),this._onDestroy=new o.x,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(Ee){this._options$.next(Ee)}get _options(){return this._options$.getValue()}applyDefaultOptions(Ee){if(Ee)for(const Ie of ye)Ee.hasOwnProperty(Ie)&&(this[Ie]=Ee[Ie])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,d.g)(1),(0,g.R)(this._onDestroy)).subscribe(Ee=>{Ee?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,b.q)(1),(0,l.w)(Ee=>{this._options=this.matSelect.options;let Ie=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,C.b)(()=>{setTimeout(()=>{const Ce=this._options.toArray(),ge=Ce[this.getOptionsLengthOffset()],Ae=this.matSelect._keyManager;Ae&&this.matSelect.panelOpen&&ge&&((!Ie||!this.matSelect.compareWith(Ie.value,ge.value)||!Ae.activeItem||!Ce.find(Re=>this.matSelect.compareWith(Re.value,Ae.activeItem.value)))&&Ae.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),Ie=ge})}))})).pipe((0,g.R)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{this.matOption&&(Ee?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,g.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,g.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Ee){this.toggleAll.emit(Ee)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Ee){(Ee.key&&1===Ee.key.length||Ee.keyCode>=n.A&&Ee.keyCode<=n.Z||Ee.keyCode>=n.xE&&Ee.keyCode<=n.aO||Ee.keyCode===n.L_||this.preventHomeEndKeyPropagation&&(Ee.keyCode===n.Sd||Ee.keyCode===n.uR))&&Ee.stopPropagation(),this.matSelect.multiple&&Ee.key&&Ee.keyCode===n.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&Ee.keyCode===n.hY&&this.value&&(this._reset(!0),Ee.stopPropagation())}_handleKeyup(Ee){if(Ee.keyCode===n.LH||Ee.keyCode===n.JH){const Ie=this.matSelect._getAriaActiveDescendant(),Ce=this._options.toArray().findIndex(ge=>ge.id===Ie);-1!==Ce&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Ce]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",Ie))}}writeValue(Ee){this._lastExternalInputValue=Ee,this._formControl.setValue(Ee),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(Ee){this._formControl.valueChanges.pipe((0,x.h)(Ie=>Ie!==this._lastExternalInputValue),(0,C.b)(()=>this._lastExternalInputValue=void 0),(0,g.R)(this._onDestroy)).subscribe(Ee)}registerOnTouched(Ee){this.onTouched=Ee}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Ee=this.matSelect.panel.nativeElement,Ie=Ee.scrollTop;this.searchSelectInput.nativeElement.focus(),Ee.scrollTop=Ie}_reset(Ee){this._formControl.setValue(""),Ee&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{let Ie=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Ee||!Array.isArray(Ee))&&(Ee=[]);const Ce=this.matSelect.options.map(ge=>ge.value);this.previousSelectedValues.forEach(ge=>{!Ee.some(Ae=>this.matSelect.compareWith(Ae,ge))&&!Ce.some(Ae=>this.matSelect.compareWith(Ae,ge))&&(Ee.push(ge),Ie=!0)})}this.previousSelectedValues=Ee,Ie&&this.matSelect._onChange(Ee)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let Ie,Ee=this.innerSelectSearch.nativeElement;for(;Ee=Ee.parentElement;)if(Ee.classList.contains("mat-select-panel")){Ie=Ee;break}Ie&&(this.innerSelectSearch.nativeElement.style.width=Ie.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Te.\u0275fac=function(Ee){return new(Ee||Te)(f.\u0275\u0275directiveInject(v.MatSelect),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(w.rL),f.\u0275\u0275directiveInject(y.MatOption,8),f.\u0275\u0275directiveInject(u.MatFormField,8),f.\u0275\u0275directiveInject(Ge,8))},Te.\u0275cmp=f.\u0275\u0275defineComponent({type:Te,selectors:[["ngx-mat-select-search"]],contentQueries:function(Ee,Ie,Ce){if(1&Ee&&(f.\u0275\u0275contentQuery(Ce,ue,5),f.\u0275\u0275contentQuery(Ce,$e,5)),2&Ee){let ge;f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.clearIcon=ge.first),f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.noEntriesFound=ge.first)}},viewQuery:function(Ee,Ie){if(1&Ee&&(f.\u0275\u0275viewQuery(L,7,f.ElementRef),f.\u0275\u0275viewQuery(F,7,f.ElementRef)),2&Ee){let Ce;f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.searchSelectInput=Ce.first),f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.innerSelectSearch=Ce.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[f.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:(0,f.forwardRef)(()=>Te),multi:!0}])],ngContentSelectors:te,decls:13,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(Ee,Ie){1&Ee&&(f.\u0275\u0275projectionDef(Z),f.\u0275\u0275element(0,"input",0),f.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),f.\u0275\u0275template(4,R,1,5,"mat-checkbox",4),f.\u0275\u0275elementStart(5,"input",5,6),f.\u0275\u0275listener("keydown",function(ge){return Ie._handleKeydown(ge)})("keyup",function(ge){return Ie._handleKeyup(ge)})("blur",function(){return Ie.onBlur()}),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(7,U,1,0,"mat-spinner",7)(8,ee,4,2,"button",8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"mat-divider"),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(11,$,4,2,"div",9),f.\u0275\u0275pipe(12,"async")),2&Ee&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("ngClass",f.\u0275\u0275pureFunction2(11,H,Ie.matSelect.multiple,Ie._isToggleAllCheckboxVisible())),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",Ie._isToggleAllCheckboxVisible()),f.\u0275\u0275advance(1),f.\u0275\u0275property("type",Ie.type)("formControl",Ie._formControl)("placeholder",Ie.placeholderLabel),f.\u0275\u0275attribute("aria-label",Ie.ariaLabel),f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",Ie.searching),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!Ie.hideClearSearchButton&&Ie.value&&!Ie.searching),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(12,9,Ie._showNoEntriesFound$)))},dependencies:[T.NgClass,T.NgIf,D.DefaultValueAccessor,D.NgControlStatus,D.FormControlDirective,S.MatIconButton,M.MatCheckbox,k.MatIcon,I.MatProgressSpinner,P.gM,A.MatDivider,T.AsyncPipe],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),Te})();const Ze="7.0.5";let Et=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275mod=f.\u0275\u0275defineNgModule({type:Te}),Te.\u0275inj=f.\u0275\u0275defineInjector({imports:[T.CommonModule,D.ReactiveFormsModule,S.MatButtonModule,M.MatCheckboxModule,k.MatIconModule,I.MatProgressSpinnerModule,P.AV,A.MatDividerModule]}),Te})()},827:(Me,ie,_)=>{"use strict";function u(O){let xe=O.length;for(;--xe>=0;)O[xe]=0}_.r(ie),_.d(ie,{Deflate:()=>se,Inflate:()=>We,constants:()=>Mn,default:()=>ni,deflate:()=>Q,deflateRaw:()=>re,gzip:()=>be,inflate:()=>pt,inflateRaw:()=>Zt,ungzip:()=>Wt});const I=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),P=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),A=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),L=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),R=new Array(576);u(R);const U=new Array(60);u(U);const W=new Array(512);u(W);const ne=new Array(256);u(ne);const ee=new Array(29);u(ee);const j=new Array(30);function B(O,xe,K,Je,ft){this.static_tree=O,this.extra_bits=xe,this.extra_base=K,this.elems=Je,this.max_length=ft,this.has_stree=O&&O.length}let $,Z,H;function te(O,xe){this.dyn_tree=O,this.max_code=0,this.stat_desc=xe}u(j);const ue=O=>O<256?W[O]:W[256+(O>>>7)],ye=(O,xe)=>{O.pending_buf[O.pending++]=255&xe,O.pending_buf[O.pending++]=xe>>>8&255},Ge=(O,xe,K)=>{O.bi_valid>16-K?(O.bi_buf|=xe<>16-O.bi_valid,O.bi_valid+=K-16):(O.bi_buf|=xe<{Ge(O,K[2*xe],K[2*xe+1])},Ye=(O,xe)=>{let K=0;do{K|=1&O,O>>>=1,K<<=1}while(--xe>0);return K>>>1},Te=(O,xe,K)=>{const Je=new Array(16);let ht,Kt,ft=0;for(ht=1;ht<=15;ht++)ft=ft+K[ht-1]<<1,Je[ht]=ft;for(Kt=0;Kt<=xe;Kt++){let Vt=O[2*Kt+1];0!==Vt&&(O[2*Kt]=Ye(Je[Vt]++,Vt))}},Ee=O=>{let xe;for(xe=0;xe<286;xe++)O.dyn_ltree[2*xe]=0;for(xe=0;xe<30;xe++)O.dyn_dtree[2*xe]=0;for(xe=0;xe<19;xe++)O.bl_tree[2*xe]=0;O.dyn_ltree[512]=1,O.opt_len=O.static_len=0,O.sym_next=O.matches=0},Ie=O=>{O.bi_valid>8?ye(O,O.bi_buf):O.bi_valid>0&&(O.pending_buf[O.pending++]=O.bi_buf),O.bi_buf=0,O.bi_valid=0},Ce=(O,xe,K,Je)=>{const ft=2*xe,ht=2*K;return O[ft]{const Je=O.heap[K];let ft=K<<1;for(;ft<=O.heap_len&&(ft{let Je,ft,Kt,Vt,ht=0;if(0!==O.sym_next)do{Je=255&O.pending_buf[O.sym_buf+ht++],Je+=(255&O.pending_buf[O.sym_buf+ht++])<<8,ft=O.pending_buf[O.sym_buf+ht++],0===Je?$e(O,ft,xe):(Kt=ne[ft],$e(O,Kt+256+1,xe),Vt=I[Kt],0!==Vt&&(ft-=ee[Kt],Ge(O,ft,Vt)),Je--,Kt=ue(Je),$e(O,Kt,K),Vt=P[Kt],0!==Vt&&(Je-=j[Kt],Ge(O,Je,Vt)))}while(ht{const K=xe.dyn_tree,Je=xe.stat_desc.static_tree,ft=xe.stat_desc.has_stree,ht=xe.stat_desc.elems;let Kt,Vt,kt,kn=-1;for(O.heap_len=0,O.heap_max=573,Kt=0;Kt>1;Kt>=1;Kt--)ge(O,K,Kt);kt=ht;do{Kt=O.heap[1],O.heap[1]=O.heap[O.heap_len--],ge(O,K,1),Vt=O.heap[1],O.heap[--O.heap_max]=Kt,O.heap[--O.heap_max]=Vt,K[2*kt]=K[2*Kt]+K[2*Vt],O.depth[kt]=(O.depth[Kt]>=O.depth[Vt]?O.depth[Kt]:O.depth[Vt])+1,K[2*Kt+1]=K[2*Vt+1]=kt,O.heap[1]=kt++,ge(O,K,1)}while(O.heap_len>=2);O.heap[--O.heap_max]=O.heap[1],((O,xe)=>{const K=xe.dyn_tree,Je=xe.max_code,ft=xe.stat_desc.static_tree,ht=xe.stat_desc.has_stree,Kt=xe.stat_desc.extra_bits,Vt=xe.stat_desc.extra_base,kn=xe.stat_desc.max_length;let kt,Qt,Jn,Dn,sn,Wn,Wi=0;for(Dn=0;Dn<=15;Dn++)O.bl_count[Dn]=0;for(K[2*O.heap[O.heap_max]+1]=0,kt=O.heap_max+1;kt<573;kt++)Qt=O.heap[kt],Dn=K[2*K[2*Qt+1]+1]+1,Dn>kn&&(Dn=kn,Wi++),K[2*Qt+1]=Dn,!(Qt>Je)&&(O.bl_count[Dn]++,sn=0,Qt>=Vt&&(sn=Kt[Qt-Vt]),Wn=K[2*Qt],O.opt_len+=Wn*(Dn+sn),ht&&(O.static_len+=Wn*(ft[2*Qt+1]+sn)));if(0!==Wi){do{for(Dn=kn-1;0===O.bl_count[Dn];)Dn--;O.bl_count[Dn]--,O.bl_count[Dn+1]+=2,O.bl_count[kn]--,Wi-=2}while(Wi>0);for(Dn=kn;0!==Dn;Dn--)for(Qt=O.bl_count[Dn];0!==Qt;)Jn=O.heap[--kt],!(Jn>Je)&&(K[2*Jn+1]!==Dn&&(O.opt_len+=(Dn-K[2*Jn+1])*K[2*Jn],K[2*Jn+1]=Dn),Qt--)}})(O,xe),Te(K,kn,O.bl_count)},Re=(O,xe,K)=>{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),xe[2*(K+1)+1]=65535,Je=0;Je<=K;Je++)ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),Je=0;Je<=K;Je++)if(ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{Ge(O,0+(Je?1:0),3),Ie(O),ye(O,K),ye(O,~K),K&&O.pending_buf.set(O.window.subarray(xe,xe+K),O.pending),O.pending+=K};var Bt={_tr_init:O=>{Ne||((()=>{let O,xe,K,Je,ft;const ht=new Array(16);for(K=0,Je=0;Je<28;Je++)for(ee[Je]=K,O=0;O<1<>=7;Je<30;Je++)for(j[Je]=ft<<7,O=0;O<1<{let ft,ht,Kt=0;O.level>0?(2===O.strm.data_type&&(O.strm.data_type=(O=>{let K,xe=4093624447;for(K=0;K<=31;K++,xe>>>=1)if(1&xe&&0!==O.dyn_ltree[2*K])return 0;if(0!==O.dyn_ltree[18]||0!==O.dyn_ltree[20]||0!==O.dyn_ltree[26])return 1;for(K=32;K<256;K++)if(0!==O.dyn_ltree[2*K])return 1;return 0})(O)),q(O,O.l_desc),q(O,O.d_desc),Kt=(O=>{let xe;for(Re(O,O.dyn_ltree,O.l_desc.max_code),Re(O,O.dyn_dtree,O.d_desc.max_code),q(O,O.bl_desc),xe=18;xe>=3&&0===O.bl_tree[2*L[xe]+1];xe--);return O.opt_len+=3*(xe+1)+5+5+4,xe})(O),ft=O.opt_len+3+7>>>3,ht=O.static_len+3+7>>>3,ht<=ft&&(ft=ht)):ft=ht=K+5,K+4<=ft&&-1!==xe?yt(O,xe,K,Je):4===O.strategy||ht===ft?(Ge(O,2+(Je?1:0),3),Ae(O,R,U)):(Ge(O,4+(Je?1:0),3),((O,xe,K,Je)=>{let ft;for(Ge(O,xe-257,5),Ge(O,K-1,5),Ge(O,Je-4,4),ft=0;ft(O.pending_buf[O.sym_buf+O.sym_next++]=xe,O.pending_buf[O.sym_buf+O.sym_next++]=xe>>8,O.pending_buf[O.sym_buf+O.sym_next++]=K,0===xe?O.dyn_ltree[2*K]++:(O.matches++,xe--,O.dyn_ltree[2*(ne[K]+256+1)]++,O.dyn_dtree[2*ue(xe)]++),O.sym_next===O.sym_end),_tr_align:O=>{Ge(O,2,3),$e(O,256,R),(O=>{16===O.bi_valid?(ye(O,O.bi_buf),O.bi_buf=0,O.bi_valid=0):O.bi_valid>=8&&(O.pending_buf[O.pending++]=255&O.bi_buf,O.bi_buf>>=8,O.bi_valid-=8)})(O)}},De=(O,xe,K,Je)=>{let ft=65535&O|0,ht=O>>>16&65535|0,Kt=0;for(;0!==K;){Kt=K>2e3?2e3:K,K-=Kt;do{ft=ft+xe[Je++]|0,ht=ht+ft|0}while(--Kt);ft%=65521,ht%=65521}return ft|ht<<16|0};const Xe=new Uint32Array((()=>{let O,xe=[];for(var K=0;K<256;K++){O=K;for(var Je=0;Je<8;Je++)O=1&O?3988292384^O>>>1:O>>>1;xe[K]=O}return xe})());var tt=(O,xe,K,Je)=>{const ft=Xe,ht=Je+K;O^=-1;for(let Kt=Je;Kt>>8^ft[255&(O^xe[Kt])];return-1^O},ut={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Oe={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Ct,_tr_stored_block:Pt,_tr_flush_block:Nt,_tr_tally:bt,_tr_align:_e}=Bt,{Z_NO_FLUSH:ce,Z_PARTIAL_FLUSH:z,Z_FULL_FLUSH:oe,Z_FINISH:Se,Z_BLOCK:at,Z_OK:nt,Z_STREAM_END:mt,Z_STREAM_ERROR:He,Z_DATA_ERROR:rt,Z_BUF_ERROR:Lt,Z_DEFAULT_COMPRESSION:Xt,Z_FILTERED:tn,Z_HUFFMAN_ONLY:Nn,Z_RLE:ui,Z_FIXED:_i,Z_DEFAULT_STRATEGY:Hi,Z_UNKNOWN:Yn,Z_DEFLATED:st}=Oe,dn=262,ki=(O,xe)=>(O.msg=ut[xe],xe),zi=O=>2*O-(O>4?9:0),Gi=O=>{let xe=O.length;for(;--xe>=0;)O[xe]=0},fr=O=>{let xe,K,Je,ft=O.w_size;xe=O.hash_size,Je=xe;do{K=O.head[--Je],O.head[Je]=K>=ft?K-ft:0}while(--xe);xe=ft,Je=xe;do{K=O.prev[--Je],O.prev[Je]=K>=ft?K-ft:0}while(--xe)};let Ki=(O,xe,K)=>(xe<{const xe=O.state;let K=xe.pending;K>O.avail_out&&(K=O.avail_out),0!==K&&(O.output.set(xe.pending_buf.subarray(xe.pending_out,xe.pending_out+K),O.next_out),O.next_out+=K,xe.pending_out+=K,O.total_out+=K,O.avail_out-=K,xe.pending-=K,0===xe.pending&&(xe.pending_out=0))},Pn=(O,xe)=>{Nt(O,O.block_start>=0?O.block_start:-1,O.strstart-O.block_start,xe),O.block_start=O.strstart,qn(O.strm)},Qn=(O,xe)=>{O.pending_buf[O.pending++]=xe},Fi=(O,xe)=>{O.pending_buf[O.pending++]=xe>>>8&255,O.pending_buf[O.pending++]=255&xe},mr=(O,xe,K,Je)=>{let ft=O.avail_in;return ft>Je&&(ft=Je),0===ft?0:(O.avail_in-=ft,xe.set(O.input.subarray(O.next_in,O.next_in+ft),K),1===O.state.wrap?O.adler=De(O.adler,xe,ft,K):2===O.state.wrap&&(O.adler=tt(O.adler,xe,ft,K)),O.next_in+=ft,O.total_in+=ft,ft)},er=(O,xe)=>{let ft,ht,K=O.max_chain_length,Je=O.strstart,Kt=O.prev_length,Vt=O.nice_match;const kn=O.strstart>O.w_size-dn?O.strstart-(O.w_size-dn):0,kt=O.window,Qt=O.w_mask,Jn=O.prev,Dn=O.strstart+258;let sn=kt[Je+Kt-1],Wn=kt[Je+Kt];O.prev_length>=O.good_match&&(K>>=2),Vt>O.lookahead&&(Vt=O.lookahead);do{if(ft=xe,kt[ft+Kt]===Wn&&kt[ft+Kt-1]===sn&&kt[ft]===kt[Je]&&kt[++ft]===kt[Je+1]){Je+=2,ft++;do{}while(kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&JeKt){if(O.match_start=xe,Kt=ht,ht>=Vt)break;sn=kt[Je+Kt-1],Wn=kt[Je+Kt]}}}while((xe=Jn[xe&Qt])>kn&&0!=--K);return Kt<=O.lookahead?Kt:O.lookahead},_n=O=>{const xe=O.w_size;let K,Je,ft;do{if(Je=O.window_size-O.lookahead-O.strstart,O.strstart>=xe+(xe-dn)&&(O.window.set(O.window.subarray(xe,xe+xe-Je),0),O.match_start-=xe,O.strstart-=xe,O.block_start-=xe,O.insert>O.strstart&&(O.insert=O.strstart),fr(O),Je+=xe),0===O.strm.avail_in)break;if(K=mr(O.strm,O.window,O.strstart+O.lookahead,Je),O.lookahead+=K,O.lookahead+O.insert>=3)for(ft=O.strstart-O.insert,O.ins_h=O.window[ft],O.ins_h=Ki(O,O.ins_h,O.window[ft+1]);O.insert&&(O.ins_h=Ki(O,O.ins_h,O.window[ft+3-1]),O.prev[ft&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=ft,ft++,O.insert--,!(O.lookahead+O.insert<3)););}while(O.lookahead{let Je,ft,ht,K=O.pending_buf_size-5>O.w_size?O.w_size:O.pending_buf_size-5,Kt=0,Vt=O.strm.avail_in;do{if(Je=65535,ht=O.bi_valid+42>>3,O.strm.avail_outft+O.strm.avail_in&&(Je=ft+O.strm.avail_in),Je>ht&&(Je=ht),Je>8,O.pending_buf[O.pending-2]=~Je,O.pending_buf[O.pending-1]=~Je>>8,qn(O.strm),ft&&(ft>Je&&(ft=Je),O.strm.output.set(O.window.subarray(O.block_start,O.block_start+ft),O.strm.next_out),O.strm.next_out+=ft,O.strm.avail_out-=ft,O.strm.total_out+=ft,O.block_start+=ft,Je-=ft),Je&&(mr(O.strm,O.strm.output,O.strm.next_out,Je),O.strm.next_out+=Je,O.strm.avail_out-=Je,O.strm.total_out+=Je)}while(0===Kt);return Vt-=O.strm.avail_in,Vt&&(Vt>=O.w_size?(O.matches=2,O.window.set(O.strm.input.subarray(O.strm.next_in-O.w_size,O.strm.next_in),0),O.strstart=O.w_size,O.insert=O.strstart):(O.window_size-O.strstart<=Vt&&(O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,O.insert>O.strstart&&(O.insert=O.strstart)),O.window.set(O.strm.input.subarray(O.strm.next_in-Vt,O.strm.next_in),O.strstart),O.strstart+=Vt,O.insert+=Vt>O.w_size-O.insert?O.w_size-O.insert:Vt),O.block_start=O.strstart),O.high_waterht&&O.block_start>=O.w_size&&(O.block_start-=O.w_size,O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,ht+=O.w_size,O.insert>O.strstart&&(O.insert=O.strstart)),ht>O.strm.avail_in&&(ht=O.strm.avail_in),ht&&(mr(O.strm,O.window,O.strstart,ht),O.strstart+=ht,O.insert+=ht>O.w_size-O.insert?O.w_size-O.insert:ht),O.high_water>3,ht=O.pending_buf_size-ht>65535?65535:O.pending_buf_size-ht,K=ht>O.w_size?O.w_size:ht,ft=O.strstart-O.block_start,(ft>=K||(ft||xe===Se)&&xe!==ce&&0===O.strm.avail_in&&ft<=ht)&&(Je=ft>ht?ht:ft,Kt=xe===Se&&0===O.strm.avail_in&&Je===ft?1:0,Pt(O,O.block_start,Je,Kt),O.block_start+=Je,qn(O.strm)),Kt?3:1)},Fn=(O,xe)=>{let K,Je;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),0!==K&&O.strstart-K<=O.w_size-dn&&(O.match_length=er(O,K)),O.match_length>=3)if(Je=bt(O,O.strstart-O.match_start,O.match_length-3),O.lookahead-=O.match_length,O.match_length<=O.max_lazy_match&&O.lookahead>=3){O.match_length--;do{O.strstart++,O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart}while(0!=--O.match_length);O.strstart++}else O.strstart+=O.match_length,O.match_length=0,O.ins_h=O.window[O.strstart],O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+1]);else Je=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++;if(Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2},Ln=(O,xe)=>{let K,Je,ft;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),O.prev_length=O.match_length,O.prev_match=O.match_start,O.match_length=2,0!==K&&O.prev_length4096)&&(O.match_length=2)),O.prev_length>=3&&O.match_length<=O.prev_length){ft=O.strstart+O.lookahead-3,Je=bt(O,O.strstart-1-O.prev_match,O.prev_length-3),O.lookahead-=O.prev_length-1,O.prev_length-=2;do{++O.strstart<=ft&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart)}while(0!=--O.prev_length);if(O.match_available=0,O.match_length=2,O.strstart++,Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}else if(O.match_available){if(Je=bt(O,0,O.window[O.strstart-1]),Je&&Pn(O,!1),O.strstart++,O.lookahead--,0===O.strm.avail_out)return 1}else O.match_available=1,O.strstart++,O.lookahead--}return O.match_available&&(Je=bt(O,0,O.window[O.strstart-1]),O.match_available=0),O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2};function Ui(O,xe,K,Je,ft){this.good_length=O,this.max_lazy=xe,this.nice_length=K,this.max_chain=Je,this.func=ft}const sr=[new Ui(0,0,0,0,wn),new Ui(4,4,8,4,Fn),new Ui(4,5,16,8,Fn),new Ui(4,6,32,32,Fn),new Ui(4,4,16,16,Ln),new Ui(8,16,32,32,Ln),new Ui(8,16,128,128,Ln),new Ui(8,32,128,256,Ln),new Ui(32,128,258,1024,Ln),new Ui(32,258,258,4096,Ln)];function Gr(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=st,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Gi(this.dyn_ltree),Gi(this.dyn_dtree),Gi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Gi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Gi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Sr=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||42!==xe.status&&57!==xe.status&&69!==xe.status&&73!==xe.status&&91!==xe.status&&103!==xe.status&&113!==xe.status&&666!==xe.status?1:0},Lr=O=>{if(Sr(O))return ki(O,He);O.total_in=O.total_out=0,O.data_type=Yn;const xe=O.state;return xe.pending=0,xe.pending_out=0,xe.wrap<0&&(xe.wrap=-xe.wrap),xe.status=2===xe.wrap?57:xe.wrap?42:113,O.adler=2===xe.wrap?0:1,xe.last_flush=-2,Ct(xe),nt},tr=O=>{const xe=Lr(O);return xe===nt&&(O=>{O.window_size=2*O.w_size,Gi(O.head),O.max_lazy_match=sr[O.level].max_lazy,O.good_match=sr[O.level].good_length,O.nice_match=sr[O.level].nice_length,O.max_chain_length=sr[O.level].max_chain,O.strstart=0,O.block_start=0,O.lookahead=0,O.insert=0,O.match_length=O.prev_length=2,O.match_available=0,O.ins_h=0})(O.state),xe},Zi=(O,xe,K,Je,ft,ht)=>{if(!O)return He;let Kt=1;if(xe===Xt&&(xe=6),Je<0?(Kt=0,Je=-Je):Je>15&&(Kt=2,Je-=16),ft<1||ft>9||K!==st||Je<8||Je>15||xe<0||xe>9||ht<0||ht>_i||8===Je&&1!==Kt)return ki(O,He);8===Je&&(Je=9);const Vt=new Gr;return O.state=Vt,Vt.strm=O,Vt.status=42,Vt.wrap=Kt,Vt.gzhead=null,Vt.w_bits=Je,Vt.w_size=1<Zi(O,xe,st,15,8,Hi),deflateInit2:Zi,deflateReset:tr,deflateResetKeep:Lr,deflateSetHeader:(O,xe)=>Sr(O)||2!==O.state.wrap?He:(O.state.gzhead=xe,nt),deflate:(O,xe)=>{if(Sr(O)||xe>at||xe<0)return O?ki(O,He):He;const K=O.state;if(!O.output||0!==O.avail_in&&!O.input||666===K.status&&xe!==Se)return ki(O,0===O.avail_out?Lt:He);const Je=K.last_flush;if(K.last_flush=xe,0!==K.pending){if(qn(O),0===O.avail_out)return K.last_flush=-1,nt}else if(0===O.avail_in&&zi(xe)<=zi(Je)&&xe!==Se)return ki(O,Lt);if(666===K.status&&0!==O.avail_in)return ki(O,Lt);if(42===K.status&&0===K.wrap&&(K.status=113),42===K.status){let ft=st+(K.w_bits-8<<4)<<8,ht=-1;if(ht=K.strategy>=Nn||K.level<2?0:K.level<6?1:6===K.level?2:3,ft|=ht<<6,0!==K.strstart&&(ft|=32),ft+=31-ft%31,Fi(K,ft),0!==K.strstart&&(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),O.adler=1,K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(57===K.status)if(O.adler=0,Qn(K,31),Qn(K,139),Qn(K,8),K.gzhead)Qn(K,(K.gzhead.text?1:0)+(K.gzhead.hcrc?2:0)+(K.gzhead.extra?4:0)+(K.gzhead.name?8:0)+(K.gzhead.comment?16:0)),Qn(K,255&K.gzhead.time),Qn(K,K.gzhead.time>>8&255),Qn(K,K.gzhead.time>>16&255),Qn(K,K.gzhead.time>>24&255),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(Qn(K,255&K.gzhead.extra.length),Qn(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(O.adler=tt(O.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69;else if(Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,3),K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt;if(69===K.status){if(K.gzhead.extra){let ft=K.pending,ht=(65535&K.gzhead.extra.length)-K.gzindex;for(;K.pending+ht>K.pending_buf_size;){let Vt=K.pending_buf_size-K.pending;if(K.pending_buf.set(K.gzhead.extra.subarray(K.gzindex,K.gzindex+Vt),K.pending),K.pending=K.pending_buf_size,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex+=Vt,qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0,ht-=Vt}let Kt=new Uint8Array(K.gzhead.extra);K.pending_buf.set(Kt.subarray(K.gzindex,K.gzindex+ht),K.pending),K.pending+=ht,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=73}if(73===K.status){if(K.gzhead.name){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=91}if(91===K.status){if(K.gzhead.comment){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft))}K.status=103}if(103===K.status){if(K.gzhead.hcrc){if(K.pending+2>K.pending_buf_size&&(qn(O),0!==K.pending))return K.last_flush=-1,nt;Qn(K,255&O.adler),Qn(K,O.adler>>8&255),O.adler=0}if(K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(0!==O.avail_in||0!==K.lookahead||xe!==ce&&666!==K.status){let ft=0===K.level?wn(K,xe):K.strategy===Nn?((O,xe)=>{let K;for(;;){if(0===O.lookahead&&(_n(O),0===O.lookahead)){if(xe===ce)return 1;break}if(O.match_length=0,K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++,K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):K.strategy===ui?((O,xe)=>{let K,Je,ft,ht;const Kt=O.window;for(;;){if(O.lookahead<=258){if(_n(O),O.lookahead<=258&&xe===ce)return 1;if(0===O.lookahead)break}if(O.match_length=0,O.lookahead>=3&&O.strstart>0&&(ft=O.strstart-1,Je=Kt[ft],Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft])){ht=O.strstart+258;do{}while(Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&ftO.lookahead&&(O.match_length=O.lookahead)}if(O.match_length>=3?(K=bt(O,1,O.match_length-3),O.lookahead-=O.match_length,O.strstart+=O.match_length,O.match_length=0):(K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++),K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):sr[K.level].func(K,xe);if((3===ft||4===ft)&&(K.status=666),1===ft||3===ft)return 0===O.avail_out&&(K.last_flush=-1),nt;if(2===ft&&(xe===z?_e(K):xe!==at&&(Pt(K,0,0,!1),xe===oe&&(Gi(K.head),0===K.lookahead&&(K.strstart=0,K.block_start=0,K.insert=0))),qn(O),0===O.avail_out))return K.last_flush=-1,nt}return xe!==Se?nt:K.wrap<=0?mt:(2===K.wrap?(Qn(K,255&O.adler),Qn(K,O.adler>>8&255),Qn(K,O.adler>>16&255),Qn(K,O.adler>>24&255),Qn(K,255&O.total_in),Qn(K,O.total_in>>8&255),Qn(K,O.total_in>>16&255),Qn(K,O.total_in>>24&255)):(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),qn(O),K.wrap>0&&(K.wrap=-K.wrap),0!==K.pending?nt:mt)},deflateEnd:O=>{if(Sr(O))return He;const xe=O.state.status;return O.state=null,113===xe?ki(O,rt):nt},deflateSetDictionary:(O,xe)=>{let K=xe.length;if(Sr(O))return He;const Je=O.state,ft=Je.wrap;if(2===ft||1===ft&&42!==Je.status||Je.lookahead)return He;if(1===ft&&(O.adler=De(O.adler,xe,K,0)),Je.wrap=0,K>=Je.w_size){0===ft&&(Gi(Je.head),Je.strstart=0,Je.block_start=0,Je.insert=0);let kn=new Uint8Array(Je.w_size);kn.set(xe.subarray(K-Je.w_size,K),0),xe=kn,K=Je.w_size}const ht=O.avail_in,Kt=O.next_in,Vt=O.input;for(O.avail_in=K,O.next_in=0,O.input=xe,_n(Je);Je.lookahead>=3;){let kn=Je.strstart,kt=Je.lookahead-2;do{Je.ins_h=Ki(Je,Je.ins_h,Je.window[kn+3-1]),Je.prev[kn&Je.w_mask]=Je.head[Je.ins_h],Je.head[Je.ins_h]=kn,kn++}while(--kt);Je.strstart=kn,Je.lookahead=2,_n(Je)}return Je.strstart+=Je.lookahead,Je.block_start=Je.strstart,Je.insert=Je.lookahead,Je.lookahead=0,Je.match_length=Je.prev_length=2,Je.match_available=0,O.next_in=Kt,O.input=Vt,O.avail_in=ht,Je.wrap=ft,nt},deflateInfo:"pako deflate (from Nodeca project)"};const Gt=(O,xe)=>Object.prototype.hasOwnProperty.call(O,xe);var bn={assign:function(O){const xe=Array.prototype.slice.call(arguments,1);for(;xe.length;){const K=xe.shift();if(K){if("object"!=typeof K)throw new TypeError(K+"must be non-object");for(const Je in K)Gt(K,Je)&&(O[Je]=K[Je])}}return O},flattenChunks:O=>{let xe=0;for(let Je=0,ft=O.length;Je=252?6:O>=248?5:O>=240?4:O>=224?3:O>=192?2:1;Gn[254]=Gn[254]=1;var Kn={string2buf:O=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(O);let xe,K,Je,ft,ht,Kt=O.length,Vt=0;for(ft=0;ft>>6,xe[ht++]=128|63&K):K<65536?(xe[ht++]=224|K>>>12,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K):(xe[ht++]=240|K>>>18,xe[ht++]=128|K>>>12&63,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K);return xe},buf2string:(O,xe)=>{const K=xe||O.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(O.subarray(0,xe));let Je,ft;const ht=new Array(2*K);for(ft=0,Je=0;Je4)ht[ft++]=65533,Je+=Vt-1;else{for(Kt&=2===Vt?31:3===Vt?15:7;Vt>1&&Je1?ht[ft++]=65533:Kt<65536?ht[ft++]=Kt:(Kt-=65536,ht[ft++]=55296|Kt>>10&1023,ht[ft++]=56320|1023&Kt)}}return((O,xe)=>{if(xe<65534&&O.subarray&&An)return String.fromCharCode.apply(null,O.length===xe?O:O.subarray(0,xe));let K="";for(let Je=0;Je{(xe=xe||O.length)>O.length&&(xe=O.length);let K=xe-1;for(;K>=0&&128==(192&O[K]);)K--;return K<0||0===K?xe:K+Gn[O[K]]>xe?K:xe}},ji=function li(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const lr=Object.prototype.toString,{Z_NO_FLUSH:gr,Z_SYNC_FLUSH:ls,Z_FULL_FLUSH:Ys,Z_FINISH:ti,Z_OK:wi,Z_STREAM_END:Ri,Z_DEFAULT_COMPRESSION:Br,Z_DEFAULT_STRATEGY:Qi,Z_DEFLATED:Es}=Oe;function $r(O){this.options=bn.assign({level:Br,method:Es,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qi},O||{});let xe=this.options;xe.raw&&xe.windowBits>0?xe.windowBits=-xe.windowBits:xe.gzip&&xe.windowBits>0&&xe.windowBits<16&&(xe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=$t.deflateInit2(this.strm,xe.level,xe.method,xe.windowBits,xe.memLevel,xe.strategy);if(K!==wi)throw new Error(ut[K]);if(xe.header&&$t.deflateSetHeader(this.strm,xe.header),xe.dictionary){let Je;if(Je="string"==typeof xe.dictionary?Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===lr.call(xe.dictionary)?new Uint8Array(xe.dictionary):xe.dictionary,K=$t.deflateSetDictionary(this.strm,Je),K!==wi)throw new Error(ut[K]);this._dict_set=!0}}function es(O,xe){const K=new $r(xe);if(K.push(O,!0),K.err)throw K.msg||ut[K.err];return K.result}$r.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize;let ft,ht;if(this.ended)return!1;for(ht=xe===~~xe?xe:!0===xe?ti:gr,K.input="string"==typeof O?Kn.string2buf(O):"[object ArrayBuffer]"===lr.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;)if(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),(ht===ls||ht===Ys)&&K.avail_out<=6)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else{if(ft=$t.deflate(K,ht),ft===Ri)return K.next_out>0&&this.onData(K.output.subarray(0,K.next_out)),ft=$t.deflateEnd(this.strm),this.onEnd(ft),this.ended=!0,ft===wi;if(0!==K.avail_out){if(ht>0&&K.next_out>0)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else if(0===K.avail_in)break}else this.onData(K.output)}return!0},$r.prototype.onData=function(O){this.chunks.push(O)},$r.prototype.onEnd=function(O){O===wi&&(this.result=bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var je={Deflate:$r,deflate:es,deflateRaw:function Zs(O,xe){return(xe=xe||{}).raw=!0,es(O,xe)},gzip:function uo(O,xe){return(xe=xe||{}).gzip=!0,es(O,xe)},constants:Oe};const xt=16209;var Sn=function(xe,K){let Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,bi,ci,Ai,pi,In,hi,vr,jn,Ni,gi,ei;const vi=xe.state;Je=xe.next_in,gi=xe.input,ft=Je+(xe.avail_in-5),ht=xe.next_out,ei=xe.output,Kt=ht-(K-xe.avail_out),Vt=ht+(xe.avail_out-257),kn=vi.dmax,kt=vi.wsize,Qt=vi.whave,Jn=vi.wnext,Dn=vi.window,sn=vi.hold,Wn=vi.bits,Wi=vi.lencode,bi=vi.distcode,ci=(1<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,0===In)ei[ht++]=65535πelse{if(!(16&In)){if(64&In){if(32&In){vi.mode=16191;break e}xe.msg="invalid literal/length code",vi.mode=xt;break e}pi=Wi[(65535&pi)+(sn&(1<>>=In,Wn-=In),Wn<15&&(sn+=gi[Je++]<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,16&In){if(vr=65535&pi,In&=15,Wnkn){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(sn>>>=In,Wn-=In,In=ht-Kt,vr>In){if(In=vr-In,In>Qt&&vi.sane){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(jn=0,Ni=Dn,0===Jn){if(jn+=kt-In,In2;)ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],hi-=3;hi&&(ei[ht++]=Ni[jn++],hi>1&&(ei[ht++]=Ni[jn++]))}else{jn=ht-vr;do{ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],hi-=3}while(hi>2);hi&&(ei[ht++]=ei[jn++],hi>1&&(ei[ht++]=ei[jn++]))}break}if(64&In){xe.msg="invalid distance code",vi.mode=xt;break e}pi=bi[(65535&pi)+(sn&(1<>3,Je-=hi,Wn-=hi<<3,sn&=(1<{const kn=Vt.bits;let pi,In,hi,vr,jn,gi,kt=0,Qt=0,Jn=0,Dn=0,sn=0,Wn=0,Wi=0,bi=0,ci=0,Ai=0,Ni=null;const ei=new Uint16Array(16),vi=new Uint16Array(16);let dc,As,Vs,$s=null;for(kt=0;kt<=15;kt++)ei[kt]=0;for(Qt=0;Qt=1&&0===ei[Dn];Dn--);if(sn>Dn&&(sn=Dn),0===Dn)return ft[ht++]=20971520,ft[ht++]=20971520,Vt.bits=1,0;for(Jn=1;Jn0&&(0===O||1!==Dn))return-1;for(vi[1]=0,kt=1;kt<15;kt++)vi[kt+1]=vi[kt]+ei[kt];for(Qt=0;Qt852||2===O&&ci>592)return 1;for(;;){dc=kt-Wi,Kt[Qt]+1=gi?(As=$s[Kt[Qt]-gi],Vs=Ni[Kt[Qt]-gi]):(As=96,Vs=0),pi=1<>Wi)+In]=dc<<24|As<<16|Vs|0}while(0!==In);for(pi=1<>=1;if(0!==pi?(Ai&=pi-1,Ai+=pi):Ai=0,Qt++,0==--ei[kt]){if(kt===Dn)break;kt=xe[K+Kt[Qt]]}if(kt>sn&&(Ai&vr)!==hi){for(0===Wi&&(Wi=sn),jn+=Jn,Wn=kt-Wi,bi=1<852||2===O&&ci>592)return 1;hi=Ai&vr,ft[hi]=sn<<24|Wn<<16|jn-ht|0}}return 0!==Ai&&(ft[jn+Ai]=kt-Wi<<24|64<<16|0),Vt.bits=sn,0};const{Z_FINISH:Hn,Z_BLOCK:Qs,Z_TREES:Vr,Z_OK:nr,Z_STREAM_END:Ls,Z_NEED_DICT:ys,Z_STREAM_ERROR:fi,Z_DATA_ERROR:jr,Z_MEM_ERROR:Xi,Z_BUF_ERROR:ir,Z_DEFLATED:Xs}=Oe,Zr=16180,fo=16190,ns=16191,J=16199,Fe=16200,Un=16209,ds=O=>(O>>>24&255)+(O>>>8&65280)+((65280&O)<<8)+((255&O)<<24);function _r(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ur=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||xe.mode16211?1:0},Ji=O=>{if(ur(O))return fi;const xe=O.state;return O.total_in=O.total_out=xe.total=0,O.msg="",xe.wrap&&(O.adler=1&xe.wrap),xe.mode=Zr,xe.last=0,xe.havedict=0,xe.flags=-1,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new Int32Array(852),xe.distcode=xe.distdyn=new Int32Array(592),xe.sane=1,xe.back=-1,nr},rs=O=>{if(ur(O))return fi;const xe=O.state;return xe.wsize=0,xe.whave=0,xe.wnext=0,Ji(O)},Is=(O,xe)=>{let K;if(ur(O))return fi;const Je=O.state;return xe<0?(K=0,xe=-xe):(K=5+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||xe>15)?fi:(null!==Je.window&&Je.wbits!==xe&&(Je.window=null),Je.wrap=K,Je.wbits=xe,rs(O))},Rr=(O,xe)=>{if(!O)return fi;const K=new _r;O.state=K,K.strm=O,K.window=null,K.mode=Zr;const Je=Is(O,xe);return Je!==nr&&(O.state=null),Je};let xi,Fs,ia=!0;const to=O=>{if(ia){xi=new Int32Array(512),Fs=new Int32Array(32);let xe=0;for(;xe<144;)O.lens[xe++]=8;for(;xe<256;)O.lens[xe++]=9;for(;xe<280;)O.lens[xe++]=7;for(;xe<288;)O.lens[xe++]=8;for(cs(1,O.lens,0,288,xi,0,O.work,{bits:9}),xe=0;xe<32;)O.lens[xe++]=5;cs(2,O.lens,0,32,Fs,0,O.work,{bits:5}),ia=!1}O.lencode=xi,O.lenbits=9,O.distcode=Fs,O.distbits=5},ar=(O,xe,K,Je)=>{let ft;const ht=O.state;return null===ht.window&&(ht.wsize=1<=ht.wsize?(ht.window.set(xe.subarray(K-ht.wsize,K),0),ht.wnext=0,ht.whave=ht.wsize):(ft=ht.wsize-ht.wnext,ft>Je&&(ft=Je),ht.window.set(xe.subarray(K-Je,K-Je+ft),ht.wnext),(Je-=ft)?(ht.window.set(xe.subarray(K-Je,K),0),ht.wnext=Je,ht.whave=ht.wsize):(ht.wnext+=ft,ht.wnext===ht.wsize&&(ht.wnext=0),ht.whaveRr(O,15),inflateInit2:Rr,inflate:(O,xe)=>{let K,Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,ci,Ai,pi,In,hi,vr,jn,Ni,bi=0;const gi=new Uint8Array(4);let ei,vi;const $s=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ur(O)||!O.output||!O.input&&0!==O.avail_in)return fi;K=O.state,K.mode===ns&&(K.mode=16192),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,Jn=Vt,Dn=kn,Ni=nr;e:for(;;)switch(K.mode){case Zr:if(0===K.wrap){K.mode=16192;break}for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0),kt=0,Qt=0,K.mode=16181;break}if(K.head&&(K.head.done=!1),!(1&K.wrap)||(((255&kt)<<8)+(kt>>8))%31){O.msg="incorrect header check",K.mode=Un;break}if((15&kt)!==Xs){O.msg="unknown compression method",K.mode=Un;break}if(kt>>>=4,Qt-=4,jn=8+(15&kt),0===K.wbits&&(K.wbits=jn),jn>15||jn>K.wbits){O.msg="invalid window size",K.mode=Un;break}K.dmax=1<>8&1),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16182;case 16182:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,gi[2]=kt>>>16&255,gi[3]=kt>>>24&255,K.check=tt(K.check,gi,4,0)),kt=0,Qt=0,K.mode=16183;case 16183:for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>8),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16184;case 16184:if(1024&K.flags){for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0}else K.head&&(K.head.extra=null);K.mode=16185;case 16185:if(1024&K.flags&&(sn=K.length,sn>Vt&&(sn=Vt),sn&&(K.head&&(jn=K.head.extra_len-K.length,K.head.extra||(K.head.extra=new Uint8Array(K.head.extra_len)),K.head.extra.set(Je.subarray(ht,ht+sn),jn)),512&K.flags&&4&K.wrap&&(K.check=tt(K.check,Je,sn,ht)),Vt-=sn,ht+=sn,K.length-=sn),K.length))break e;K.length=0,K.mode=16186;case 16186:if(2048&K.flags){if(0===Vt)break e;sn=0;do{jn=Je[ht+sn++],K.head&&jn&&K.length<65536&&(K.head.name+=String.fromCharCode(jn))}while(jn&&sn>9&1,K.head.done=!0),O.adler=K.check=0,K.mode=ns;break;case 16189:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=7&Qt,Qt-=7&Qt,K.mode=16206;break}for(;Qt<3;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=1,Qt-=1,3&kt){case 0:K.mode=16193;break;case 1:if(to(K),K.mode=J,xe===Vr){kt>>>=2,Qt-=2;break e}break;case 2:K.mode=16196;break;case 3:O.msg="invalid block type",K.mode=Un}kt>>>=2,Qt-=2;break;case 16193:for(kt>>>=7&Qt,Qt-=7&Qt;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>16^65535)){O.msg="invalid stored block lengths",K.mode=Un;break}if(K.length=65535&kt,kt=0,Qt=0,K.mode=16194,xe===Vr)break e;case 16194:K.mode=16195;case 16195:if(sn=K.length,sn){if(sn>Vt&&(sn=Vt),sn>kn&&(sn=kn),0===sn)break e;ft.set(Je.subarray(ht,ht+sn),Kt),Vt-=sn,ht+=sn,kn-=sn,Kt+=sn,K.length-=sn;break}K.mode=ns;break;case 16196:for(;Qt<14;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=5,Qt-=5,K.ndist=1+(31&kt),kt>>>=5,Qt-=5,K.ncode=4+(15&kt),kt>>>=4,Qt-=4,K.nlen>286||K.ndist>30){O.msg="too many length or distance symbols",K.mode=Un;break}K.have=0,K.mode=16197;case 16197:for(;K.have>>=3,Qt-=3}for(;K.have<19;)K.lens[$s[K.have++]]=0;if(K.lencode=K.lendyn,K.lenbits=7,ei={bits:K.lenbits},Ni=cs(0,K.lens,0,19,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid code lengths set",K.mode=Un;break}K.have=0,K.mode=16198;case 16198:for(;K.have>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=ci,Qt-=ci,K.lens[K.have++]=pi;else{if(16===pi){for(vi=ci+2;Qt>>=ci,Qt-=ci,0===K.have){O.msg="invalid bit length repeat",K.mode=Un;break}jn=K.lens[K.have-1],sn=3+(3&kt),kt>>>=2,Qt-=2}else if(17===pi){for(vi=ci+3;Qt>>=ci,Qt-=ci,jn=0,sn=3+(7&kt),kt>>>=3,Qt-=3}else{for(vi=ci+7;Qt>>=ci,Qt-=ci,jn=0,sn=11+(127&kt),kt>>>=7,Qt-=7}if(K.have+sn>K.nlen+K.ndist){O.msg="invalid bit length repeat",K.mode=Un;break}for(;sn--;)K.lens[K.have++]=jn}}if(K.mode===Un)break;if(0===K.lens[256]){O.msg="invalid code -- missing end-of-block",K.mode=Un;break}if(K.lenbits=9,ei={bits:K.lenbits},Ni=cs(1,K.lens,0,K.nlen,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid literal/lengths set",K.mode=Un;break}if(K.distbits=6,K.distcode=K.distdyn,ei={bits:K.distbits},Ni=cs(2,K.lens,K.nlen,K.ndist,K.distcode,0,K.work,ei),K.distbits=ei.bits,Ni){O.msg="invalid distances set",K.mode=Un;break}if(K.mode=J,xe===Vr)break e;case J:K.mode=Fe;case Fe:if(Vt>=6&&kn>=258){O.next_out=Kt,O.avail_out=kn,O.next_in=ht,O.avail_in=Vt,K.hold=kt,K.bits=Qt,Sn(O,Dn),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,K.mode===ns&&(K.back=-1);break}for(K.back=0;bi=K.lencode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,K.length=pi,0===Ai){K.mode=16205;break}if(32&Ai){K.back=-1,K.mode=ns;break}if(64&Ai){O.msg="invalid literal/length code",K.mode=Un;break}K.extra=15&Ai,K.mode=16201;case 16201:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}K.was=K.length,K.mode=16202;case 16202:for(;bi=K.distcode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,64&Ai){O.msg="invalid distance code",K.mode=Un;break}K.offset=pi,K.extra=15&Ai,K.mode=16203;case 16203:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}if(K.offset>K.dmax){O.msg="invalid distance too far back",K.mode=Un;break}K.mode=16204;case 16204:if(0===kn)break e;if(sn=Dn-kn,K.offset>sn){if(sn=K.offset-sn,sn>K.whave&&K.sane){O.msg="invalid distance too far back",K.mode=Un;break}sn>K.wnext?(sn-=K.wnext,Wn=K.wsize-sn):Wn=K.wnext-sn,sn>K.length&&(sn=K.length),Wi=K.window}else Wi=ft,Wn=Kt-K.offset,sn=K.length;sn>kn&&(sn=kn),kn-=sn,K.length-=sn;do{ft[Kt++]=Wi[Wn++]}while(--sn);0===K.length&&(K.mode=Fe);break;case 16205:if(0===kn)break e;ft[Kt++]=K.length,kn--,K.mode=Fe;break;case 16206:if(K.wrap){for(;Qt<32;){if(0===Vt)break e;Vt--,kt|=Je[ht++]<{if(ur(O))return fi;let xe=O.state;return xe.window&&(xe.window=null),O.state=null,nr},inflateGetHeader:(O,xe)=>{if(ur(O))return fi;const K=O.state;return 2&K.wrap?(K.head=xe,xe.done=!1,nr):fi},inflateSetDictionary:(O,xe)=>{const K=xe.length;let Je,ft,ht;return ur(O)||(Je=O.state,0!==Je.wrap&&Je.mode!==fo)?fi:Je.mode===fo&&(ft=1,ft=De(ft,xe,K,0),ft!==Je.check)?jr:(ht=ar(O,xe,K,K),ht?(Je.mode=16210,Xi):(Je.havedict=1,nr))},inflateInfo:"pako inflate (from Nodeca project)"},zn=function _o(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const Po=Object.prototype.toString,{Z_NO_FLUSH:ll,Z_FINISH:ca,Z_OK:io,Z_STREAM_END:No,Z_NEED_DICT:vo,Z_STREAM_ERROR:Ts,Z_DATA_ERROR:Fo,Z_MEM_ERROR:cl}=Oe;function Bs(O){this.options=bn.assign({chunkSize:65536,windowBits:15,to:""},O||{});const xe=this.options;xe.raw&&xe.windowBits>=0&&xe.windowBits<16&&(xe.windowBits=-xe.windowBits,0===xe.windowBits&&(xe.windowBits=-15)),xe.windowBits>=0&&xe.windowBits<16&&!(O&&O.windowBits)&&(xe.windowBits+=32),xe.windowBits>15&&xe.windowBits<48&&(15&xe.windowBits||(xe.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=Or.inflateInit2(this.strm,xe.windowBits);if(K!==io)throw new Error(ut[K]);if(this.header=new zn,Or.inflateGetHeader(this.strm,this.header),xe.dictionary&&("string"==typeof xe.dictionary?xe.dictionary=Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===Po.call(xe.dictionary)&&(xe.dictionary=new Uint8Array(xe.dictionary)),xe.raw&&(K=Or.inflateSetDictionary(this.strm,xe.dictionary),K!==io)))throw new Error(ut[K])}function ro(O,xe){const K=new Bs(xe);if(K.push(O),K.err)throw K.msg||ut[K.err];return K.result}Bs.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize,ft=this.options.dictionary;let ht,Kt,Vt;if(this.ended)return!1;for(Kt=xe===~~xe?xe:!0===xe?ca:ll,K.input="[object ArrayBuffer]"===Po.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;){for(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),ht=Or.inflate(K,Kt),ht===vo&&ft&&(ht=Or.inflateSetDictionary(K,ft),ht===io?ht=Or.inflate(K,Kt):ht===Fo&&(ht=vo));K.avail_in>0&&ht===No&&K.state.wrap>0&&0!==O[K.next_in];)Or.inflateReset(K),ht=Or.inflate(K,Kt);switch(ht){case Ts:case Fo:case vo:case cl:return this.onEnd(ht),this.ended=!0,!1}if(Vt=K.avail_out,K.next_out&&(0===K.avail_out||ht===No))if("string"===this.options.to){let kn=Kn.utf8border(K.output,K.next_out),kt=K.next_out-kn,Qt=Kn.buf2string(K.output,kn);K.next_out=kt,K.avail_out=Je-kt,kt&&K.output.set(K.output.subarray(kn,kn+kt),0),this.onData(Qt)}else this.onData(K.output.length===K.next_out?K.output:K.output.subarray(0,K.next_out));if(ht!==io||0!==Vt){if(ht===No)return ht=Or.inflateEnd(this.strm),this.onEnd(ht),this.ended=!0,!0;if(0===K.avail_in)break}}return!0},Bs.prototype.onData=function(O){this.chunks.push(O)},Bs.prototype.onEnd=function(O){O===io&&(this.result="string"===this.options.to?this.chunks.join(""):bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var bo={Inflate:Bs,inflate:ro,inflateRaw:function ul(O,xe){return(xe=xe||{}).raw=!0,ro(O,xe)},ungzip:ro,constants:Oe};const{Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo}=je,{Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G}=bo;var se=so,Q=ss,re=Uo,be=Bo,We=dl,pt=uc,Zt=ha,Wt=G,Mn=Oe,ni={Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo,Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G,constants:Oe}},5861:(Me,ie,_)=>{"use strict";function n(D,y,u,v,s,m,h){try{var o=D[m](h),l=o.value}catch(r){return void u(r)}o.done?y(l):Promise.resolve(l).then(v,s)}function f(D){return function(){var y=this,u=arguments;return new Promise(function(v,s){var m=D.apply(y,u);function h(l){n(m,v,s,h,o,"next",l)}function o(l){n(m,v,s,h,o,"throw",l)}h(void 0)})}}_.d(ie,{Z:()=>f})},8210:Me=>{"use strict";Me.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((106).CFU)/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[false,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"((cm\xa0HO2)/L)/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"((cm\xa0HO2)/s)/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[false,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[false,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[false,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[false,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[false,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[false,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[false,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[false,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[false,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[false,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[false,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[false,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[false,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[false,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[false,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[false,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[false,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[false,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[false,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[false,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[false,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[false,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[false,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[false,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[false,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[false,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[false,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[false,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[false,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[false,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[false,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[false,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[false,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')},82:Me=>{"use strict";Me.exports=JSON.parse('{"name":"fhirpath","version":"3.9.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"node --use_strict node_modules/.bin/jest && TZ=America/New_York node --use_strict node_modules/.bin/jest && TZ=Europe/Paris node --use_strict node_modules/.bin/jest","test:unit:debug":"echo \'open chrome chrome://inspect/\' && node --inspect node_modules/.bin/jest --runInBand","build:demo":"npm run build && cd demo && npm run build","test:e2e":"npm run build:demo && cypress run","test":"npm run lint && npm run test:unit && npm run test:e2e && echo \\"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\\"","lint":"eslint src/parser/index.js src/*.js converter/","compare-performance":"node ./test/benchmark.js"},"bin":{"fhirpath":"bin/fhirpath"},"repository":"github:HL7/fhirpath.js","license":"MIT"}')},4147:Me=>{"use strict";Me.exports=JSON.parse('{"name":"matchbox","version":"3.5.4","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production","build-matchbox":"ng build --configuration production --output-path ../matchbox-server/src/main/resources/static","test":"ng test","test-ci":"ng test --no-watch --no-progress --browsers=ChromeHeadlessNoSandbox --code-coverage","lint":"ng lint","e2e":"ng e2e"},"private":true,"dependencies":{"@angular-devkit/build-angular":"^17.0.9","@angular/animations":"^17.0.8","@angular/cdk":"^17.0.4","@angular/common":"^17.0.8","@angular/core":"^17.0.8","@angular/forms":"^17.0.8","@angular/material":"^17.0.4","@angular/platform-browser":"^17.0.8","@angular/platform-browser-dynamic":"^17.0.8","@angular/router":"^17.0.8","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.3","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.9.0","highlightjs-line-numbers.js":"^2.8.0","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","ngx-mat-select-search":"^7.0.5","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","zone.js":"^0.14.0"},"devDependencies":{"@angular-eslint/builder":"^17.1.1","@angular-eslint/eslint-plugin":"^17.1.1","@angular-eslint/eslint-plugin-template":"^17.1.1","@angular-eslint/schematics":"^17.1.1","@angular-eslint/template-parser":"^17.1.1","@angular/cli":"^17.0.9","@angular/compiler":"^17.0.8","@angular/compiler-cli":"^17.0.8","@angular/language-service":"^17.0.8","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.10.6","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^6.17.0","@typescript-eslint/parser":"^6.17.0","eslint":"^8.56.0","husky":"^8.0.3","jasmine":"^5.1.0","jasmine-core":"^5.1.1","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.3.1","karma-chrome-launcher":"^3.2.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.1.0","prettier":"^3.1.1","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.2","tslint":"~6.1.0","typescript":"^5.2.2"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Me=>{Me(Me.s=4913)}]); \ No newline at end of file diff --git a/pom.xml b/pom.xml index 113cd4b75be..721b089de1d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ health.matchbox matchbox - 3.5.3 + 3.5.4 pom matchbox An open-source implementation to support testing and implementation of FHIR based solutions and map or