From 8f00fa01fe3c5f4ce40de6f80cc9f97ba4d6a42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lian=20Veyssi=C3=A8re?= Date: Mon, 4 Mar 2024 14:39:20 +0100 Subject: [PATCH] Update to 14.0.1 - fix versions - fix changelog - update demo --- CHANGELOG.md | 10 +++++++++- ...743.0df2b095d3eb0a92.js => 212.ec0f10b6acd876f9.js} | 2 +- dist/ng-select2/328.61ff3ad686a933a8.js | 1 + ...373.731a0c17af9263d0.js => 344.3956c42927184b98.js} | 2 +- dist/ng-select2/35.11f15df346402361.js | 1 - dist/ng-select2/3rdpartylicenses.txt | 2 +- ...668.ef784974125a0c60.js => 408.7dd0539c340632ce.js} | 2 +- ...746.caf588dbc49342c7.js => 436.9794f897ebb9aaab.js} | 2 +- ...266.296de3a69996bf2b.js => 876.2c9adffc739dc925.js} | 2 +- dist/ng-select2/index.html | 2 +- dist/ng-select2/main.4a1767d83f3e4a24.js | 1 + dist/ng-select2/main.8ec4bbe0969081e5.js | 1 - dist/ng-select2/polyfills.319af6b6dc877312.js | 1 - dist/ng-select2/polyfills.ead373bb850b536a.js | 1 + dist/ng-select2/runtime.6d640ea82f57d73d.js | 1 - dist/ng-select2/runtime.d566b62bbcd67821.js | 1 + projects/ng-select2-component/package.json | 4 ++-- 17 files changed, 22 insertions(+), 14 deletions(-) rename dist/ng-select2/{743.0df2b095d3eb0a92.js => 212.ec0f10b6acd876f9.js} (99%) create mode 100644 dist/ng-select2/328.61ff3ad686a933a8.js rename dist/ng-select2/{373.731a0c17af9263d0.js => 344.3956c42927184b98.js} (99%) delete mode 100644 dist/ng-select2/35.11f15df346402361.js rename dist/ng-select2/{668.ef784974125a0c60.js => 408.7dd0539c340632ce.js} (96%) rename dist/ng-select2/{746.caf588dbc49342c7.js => 436.9794f897ebb9aaab.js} (99%) rename dist/ng-select2/{266.296de3a69996bf2b.js => 876.2c9adffc739dc925.js} (99%) create mode 100644 dist/ng-select2/main.4a1767d83f3e4a24.js delete mode 100644 dist/ng-select2/main.8ec4bbe0969081e5.js delete mode 100644 dist/ng-select2/polyfills.319af6b6dc877312.js create mode 100644 dist/ng-select2/polyfills.ead373bb850b536a.js delete mode 100644 dist/ng-select2/runtime.6d640ea82f57d73d.js create mode 100644 dist/ng-select2/runtime.d566b62bbcd67821.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 11be396..dd3c780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,19 @@ # Changelog of ng-select2 -## V14.0.0 (2024-01-XX) +## V14.0.1 (2024-03-04) + +- add `borderless` style + +## V14.0.0 (2024-01-07) ### Breaking Changes - minimum required support has been upgraded to Angular `17.0`. +## V13.0.10 (2024-03-04) + +- add `borderless` style + ## V13.0.9 (2023-09-24) - add `autoCreate` for single mode #56 (thanks @majora2007) diff --git a/dist/ng-select2/743.0df2b095d3eb0a92.js b/dist/ng-select2/212.ec0f10b6acd876f9.js similarity index 99% rename from dist/ng-select2/743.0df2b095d3eb0a92.js rename to dist/ng-select2/212.ec0f10b6acd876f9.js index 19c71c4..933aaa0 100644 --- a/dist/ng-select2/743.0df2b095d3eb0a92.js +++ b/dist/ng-select2/212.ec0f10b6acd876f9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[743],{743:(Q,_,A)=>{A.r(_),A.d(_,{default:()=>P});const N="[A-Za-z$_][0-9A-Za-z$_]*",B=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],U=["true","false","null","undefined","NaN","Infinity"],S=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],m=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],T=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],x=[].concat(T,S,m);function P(e){const a=e.regex,n=N,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if("<"===d||","===d)return void r.ignoreMatch();let g;">"===d&&(((t,{after:r})=>{const l="",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(h)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,O,C,M,p,u,{match:/\$\d+/},I,w,{className:"attr",begin:n+a.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[u,e.REGEXP_MODE,{className:"function",begin:h,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},W,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},J,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},F,X,{match:/\$[(.]/}]}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[212],{212:(Q,_,A)=>{A.r(_),A.d(_,{default:()=>P});const N="[A-Za-z$_][0-9A-Za-z$_]*",B=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],U=["true","false","null","undefined","NaN","Infinity"],S=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],m=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],T=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],x=[].concat(T,S,m);function P(e){const a=e.regex,n=N,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if("<"===d||","===d)return void r.ignoreMatch();let g;">"===d&&(((t,{after:r})=>{const l="",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(h)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,O,C,M,p,u,{match:/\$\d+/},I,w,{className:"attr",begin:n+a.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[u,e.REGEXP_MODE,{className:"function",begin:h,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},W,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},J,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},F,X,{match:/\$[(.]/}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/328.61ff3ad686a933a8.js b/dist/ng-select2/328.61ff3ad686a933a8.js new file mode 100644 index 0000000..ba888da --- /dev/null +++ b/dist/ng-select2/328.61ff3ad686a933a8.js @@ -0,0 +1 @@ +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[328],{328:()=>{!function(l,s){"use strict";var N="hljs-ln",M="hljs-ln-line",g="hljs-ln-code",y="hljs-ln-numbers",m="hljs-ln-n",d="data-line-number",p=/\r\n|\r|\n/g;function b(e){try{var n=s.querySelectorAll("code.hljs,code.nohighlight");for(var r in n)n.hasOwnProperty(r)&&(F(n[r])||E(n[r],e))}catch(t){l.console.error("LineNumbers error: ",t)}}function F(e){return e.classList.contains("nohljsln")}function E(e,n){"object"==typeof e&&function V(e){l.setTimeout(e,0)}(function(){e.innerHTML=L(e,n)})}function L(e,n){var r=function H(e,n){return{singleLine:I(n=n||{}),startFrom:R(e,n)}}(e,n);return A(e),function w(e,n){var r=j(e);if(""===r[r.length-1].trim()&&r.pop(),r.length>1||n.singleLine){for(var t="",a=0,i=r.length;a
{6}',[M,y,m,d,g,a+n.startFrom,r[a].length>0?r[a]:" "]);return c('{1}
',[N,t])}return e}(e.innerHTML,r)}function I(e){return!!e.singleLine&&e.singleLine}function R(e,n){var t=1;isFinite(n.startFrom)&&(t=n.startFrom);var a=function K(e,n){return e.hasAttribute(n)?e.getAttribute(n):null}(e,"data-ln-start-from");return null!==a&&(t=function T(e,n){if(!e)return n;var r=Number(e);return isFinite(r)?r:n}(a,1)),t}function A(e){var n=e.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var t=n[r];P(t.textContent)>0&&(t.childNodes.length>0?A(t):k(t.parentNode))}}function k(e){var n=e.className;if(/hljs-/.test(n)){for(var r=j(e.innerHTML),t=0,a="";t{1}\n',[n,r[t].length>0?r[t]:" "]);e.innerHTML=a.trim()}}function j(e){return 0===e.length?[]:e.split(p)}function P(e){return(e.trim().match(p)||[]).length}function c(e,n){return e.replace(/\{(\d+)\}/g,function(r,t){return void 0!==n[t]?n[t]:r})}l.hljs?(l.hljs.initLineNumbersOnLoad=function S(e){"interactive"===s.readyState||"complete"===s.readyState?b(e):l.addEventListener("DOMContentLoaded",function(){b(e)})},l.hljs.lineNumbersBlock=E,l.hljs.lineNumbersValue=function D(e,n){if("string"==typeof e){var r=document.createElement("code");return r.innerHTML=e,L(r,n)}},function B(){var e=s.createElement("style");e.type="text/css",e.innerHTML=c(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[N,m,d]),s.getElementsByTagName("head")[0].appendChild(e)}()):l.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var r,n=window.getSelection();(function O(e){for(var n=e;n;){if(n.className&&-1!==n.className.indexOf("hljs-ln-code"))return!0;n=n.parentNode}return!1})(n.anchorNode)&&(r=-1!==window.navigator.userAgent.indexOf("Edge")?function _(e){for(var n=e.toString(),r=e.anchorNode;"TD"!==r.nodeName;)r=r.parentNode;for(var t=e.focusNode;"TD"!==t.nodeName;)t=t.parentNode;var a=parseInt(r.dataset.lineNumber),i=parseInt(t.dataset.lineNumber);if(a!=i){var o=r.textContent,u=t.textContent;if(a>i){var f=a;a=i,i=f,f=o,o=u,u=f}for(;0!==n.indexOf(o);)o=o.slice(1);for(;-1===n.lastIndexOf(u);)u=u.slice(0,-1);for(var h=o,q=function C(e){for(var n=e;"TABLE"!==n.nodeName;)n=n.parentNode;return n}(r),v=a+1;v{function j(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],u=typeof i;("object"===u||"function"===u)&&!Object.isFrozen(i)&&j(i)}),e}class v{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function U(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function N(e,...t){const i=Object.create(null);for(const u in e)i[u]=e[u];return t.forEach(function(u){for(const b in u)i[b]=u[b]}),i}const ae=e=>!!e.scope;class ve{constructor(t,i){this.buffer="",this.classPrefix=i.classPrefix,t.walk(this)}addText(t){this.buffer+=U(t)}openNode(t){if(!ae(t))return;const i=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const i=e.split(".");return[`${t}${i.shift()}`,...i.map((u,b)=>`${u}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`})(t.scope,{prefix:this.classPrefix});this.span(i)}closeNode(t){ae(t)&&(this.buffer+="")}value(){return this.buffer}span(t){this.buffer+=``}}const ue=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Q{constructor(){this.rootNode=ue(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const i=ue({scope:t});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,i){return"string"==typeof i?t.addText(i):i.children&&(t.openNode(i),i.children.forEach(u=>this._walk(t,u)),t.closeNode(i)),t}static _collapse(t){"string"!=typeof t&&t.children&&(t.children.every(i=>"string"==typeof i)?t.children=[t.children.join("")]:t.children.forEach(i=>{Q._collapse(i)}))}}class Pe extends Q{constructor(t){super(),this.options=t}addText(t){""!==t&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,i){const u=t.root;i&&(u.scope=`language:${i}`),this.add(u)}toHTML(){return new ve(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function $(e){return e?"string"==typeof e?e:e.source:null}function fe(e){return D("(?=",e,")")}function He(e){return D("(?:",e,")*")}function je(e){return D("(?:",e,")?")}function D(...e){return e.map(i=>$(i)).join("")}function q(...e){return"("+(function Ue(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(u=>$(u)).join("|")+")"}function ge(e){return new RegExp(e.toString()+"|").exec("").length-1}const Ge=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let i=0;return e.map(u=>{i+=1;const b=i;let _=$(u),c="";for(;_.length>0;){const r=Ge.exec(_);if(!r){c+=_;break}c+=_.substring(0,r.index),_=_.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?c+="\\"+String(Number(r[1])+b):(c+=r[0],"("===r[0]&&i++)}return c}).map(u=>`(${u})`).join(t)}const he="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",pe="\\b\\d+(\\.\\d+)?",de="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",G={begin:"\\\\[\\s\\S]",relevance:0},ze={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},Xe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},K=function(e,t,i={}){const u=N({scope:"comment",begin:e,end:t,contains:[]},i);u.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 b=q("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 u.contains.push({begin:D(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Ze=K("//","$"),Je=K("/\\*","\\*/"),Ve=K("#","$");var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:he,UNDERSCORE_IDENT_RE:ee,NUMBER_RE:pe,C_NUMBER_RE:de,BINARY_NUMBER_RE:Ee,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=D(t,/.*\b/,e.binary,/\b.*/)),N({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(i,u)=>{0!==i.index&&u.ignoreMatch()}},e)},BACKSLASH_ESCAPE:G,APOS_STRING_MODE:ze,QUOTE_STRING_MODE:Xe,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/},COMMENT:K,C_LINE_COMMENT_MODE:Ze,C_BLOCK_COMMENT_MODE:Je,HASH_COMMENT_MODE:Ve,NUMBER_MODE:{scope:"number",begin:pe,relevance:0},C_NUMBER_MODE:{scope:"number",begin:de,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Ee,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]}]},TITLE_MODE:{scope:"title",begin:he,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ee,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ee,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,i)=>{i.data._beginMatch=t[1]},"on:end":(t,i)=>{i.data._beginMatch!==t[1]&&i.ignoreMatch()}})}});function st(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function rt(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function ct(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=st,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function ot(e,t){Array.isArray(e.illegal)&&(e.illegal=q(...e.illegal))}function lt(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function at(e,t){void 0===e.relevance&&(e.relevance=1)}const ut=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=i.keywords,e.begin=D(i.beforeMatch,fe(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},ft=["of","and","for","in","not","or","if","then","parent","list","value"],gt="keyword";function be(e,t,i=gt){const u=Object.create(null);return"string"==typeof e?b(i,e.split(" ")):Array.isArray(e)?b(i,e):Object.keys(e).forEach(function(_){Object.assign(u,be(e[_],t,_))}),u;function b(_,c){t&&(c=c.map(r=>r.toLowerCase())),c.forEach(function(r){const a=r.split("|");u[a[0]]=[_,ht(a[0],a[1])]})}}function ht(e,t){return t?Number(t):function pt(e){return ft.includes(e.toLowerCase())}(e)?0:1}const _e={},C=e=>{console.error(e)},Me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},P=(e,t)=>{_e[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),_e[`${e}/${t}`]=!0)},z=new Error;function we(e,t,{key:i}){let u=0;const b=e[i],_={},c={};for(let r=1;r<=t.length;r++)c[r+u]=b[r],_[r+u]=!0,u+=ge(t[r-1]);e[i]=c,e[i]._emit=_,e[i]._multi=!0}function _t(e){(function bt(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function dt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw C("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),z;if("object"!=typeof e.beginScope||null===e.beginScope)throw C("beginScope must be object"),z;we(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}}(e),function Et(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw C("skip, excludeEnd, returnEnd not compatible with endScope: {}"),z;if("object"!=typeof e.endScope||null===e.endScope)throw C("endScope must be object"),z;we(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}(e)}function Mt(e){function t(c,r){return new RegExp($(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=ge(r)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=t(m(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const x=a.findIndex((W,ne)=>ne>0&&void 0!==W),M=this.matchIndexes[x];return a.splice(0,x),Object.assign(a,M)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new i;return this.rules.slice(r).forEach(([x,M])=>a.addRule(x,M)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),"begin"===a.type&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let x=a.exec(r);if(this.resumingScanAtSamePosition()&&(!x||x.index!==this.lastIndex)){const M=this.getMatcher(0);M.lastIndex=this.lastIndex+1,x=M.exec(r)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=N(e.classNameAliases||{}),function _(c,r){const a=c;if(c.isCompiled)return a;[rt,lt,_t,ut].forEach(M=>M(c,r)),e.compilerExtensions.forEach(M=>M(c,r)),c.__beforeBegin=null,[ct,ot,at].forEach(M=>M(c,r)),c.isCompiled=!0;let x=null;return"object"==typeof c.keywords&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),x=c.keywords.$pattern,delete c.keywords.$pattern),x=x||/\w+/,c.keywords&&(c.keywords=be(c.keywords,e.case_insensitive)),a.keywordPatternRe=t(x,!0),r&&(c.begin||(c.begin=/\B|\b/),a.beginRe=t(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=t(a.end)),a.terminatorEnd=$(a.end)||"",c.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+r.terminatorEnd)),c.illegal&&(a.illegalRe=t(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(M){return function wt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return N(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:xe(e)?N(e,{starts:e.starts?N(e.starts):null}):Object.isFrozen(e)?N(e):e}("self"===M?c:M)})),c.contains.forEach(function(M){_(M,a)}),c.starts&&_(c.starts,r),a.matcher=function b(c){const r=new u;return c.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&r.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&r.addRule(c.illegal,{type:"illegal"}),r}(a),a}(e)}function xe(e){return!!e&&(e.endsWithParent||xe(e.starts))}class Ot extends Error{constructor(t,i){super(t),this.name="HTMLInjectionError",this.html=i}}const te=U,Oe=N,Re=Symbol("nomatch"),ye=function(e){const t=Object.create(null),i=Object.create(null),u=[];let b=!0;const _="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pe};function a(n){return r.noHighlightRe.test(n)}function M(n,l,h){let d="",w="";"object"==typeof l?(d=n,h=l.ignoreIllegals,w=l.language):(P("10.7.0","highlight(lang, code, ...args) has been deprecated."),P("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),w=n,d=l),void 0===h&&(h=!0);const S={code:d,language:w};Y("before:highlight",S);const B=S.result?S.result:W(S.language,S.code,h);return B.code=S.code,Y("after:highlight",B),B}function W(n,l,h,d){const w=Object.create(null);function S(s,o){return s.keywords[o]}function B(){if(!f.keywords)return void O.addText(E);let s=0;f.keywordPatternRe.lastIndex=0;let o=f.keywordPatternRe.exec(E),g="";for(;o;){g+=E.substring(s,o.index);const p=k.case_insensitive?o[0].toLowerCase():o[0],R=S(f,p);if(R){const[T,Gt]=R;O.addText(g),g="",w[p]=(w[p]||0)+1,w[p]<=7&&(V+=Gt),T.startsWith("_")?g+=o[0]:A(o[0],k.classNameAliases[T]||T)}else g+=o[0];s=f.keywordPatternRe.lastIndex,o=f.keywordPatternRe.exec(E)}g+=E.substring(s),O.addText(g)}function y(){null!=f.subLanguage?function Z(){if(""===E)return;let s=null;if("string"==typeof f.subLanguage){if(!t[f.subLanguage])return void O.addText(E);s=W(f.subLanguage,E,!0,De[f.subLanguage]),De[f.subLanguage]=s._top}else s=ie(E,f.subLanguage.length?f.subLanguage:null);f.relevance>0&&(V+=s.relevance),O.__addSublanguage(s._emitter,s.language)}():B(),E=""}function A(s,o){""!==s&&(O.startScope(o),O.addText(s),O.endScope())}function ke(s,o){let g=1;const p=o.length-1;for(;g<=p;){if(!s._emit[g]){g++;continue}const R=k.classNameAliases[s[g]]||s[g],T=o[g];R?A(T,R):(E=T,B(),E=""),g++}}function Te(s,o){return s.scope&&"string"==typeof s.scope&&O.openNode(k.classNameAliases[s.scope]||s.scope),s.beginScope&&(s.beginScope._wrap?(A(E,k.classNameAliases[s.beginScope._wrap]||s.beginScope._wrap),E=""):s.beginScope._multi&&(ke(s.beginScope,o),E="")),f=Object.create(s,{parent:{value:f}}),f}function Ie(s,o,g){let p=function $e(e,t){const i=e&&e.exec(t);return i&&0===i.index}(s.endRe,g);if(p){if(s["on:end"]){const R=new v(s);s["on:end"](o,R),R.isMatchIgnored&&(p=!1)}if(p){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return Ie(s.parent,o,g)}function Pt(s){return 0===f.matcher.regexIndex?(E+=s[0],1):(oe=!0,0)}function jt(s){const o=s[0],g=l.substring(s.index),p=Ie(f,s,g);if(!p)return Re;const R=f;f.endScope&&f.endScope._wrap?(y(),A(o,f.endScope._wrap)):f.endScope&&f.endScope._multi?(y(),ke(f.endScope,s)):R.skip?E+=o:(R.returnEnd||R.excludeEnd||(E+=o),y(),R.excludeEnd&&(E=o));do{f.scope&&O.closeNode(),!f.skip&&!f.subLanguage&&(V+=f.relevance),f=f.parent}while(f!==p.parent);return p.starts&&Te(p.starts,s),R.returnEnd?0:o.length}let J={};function Be(s,o){const g=o&&o[0];if(E+=s,null==g)return y(),0;if("begin"===J.type&&"end"===o.type&&J.index===o.index&&""===g){if(E+=l.slice(o.index,o.index+1),!b){const p=new Error(`0 width match regex (${n})`);throw p.languageName=n,p.badRule=J.rule,p}return 1}if(J=o,"begin"===o.type)return function Ht(s){const o=s[0],g=s.rule,p=new v(g),R=[g.__beforeBegin,g["on:begin"]];for(const T of R)if(T&&(T(s,p),p.isMatchIgnored))return Pt(o);return g.skip?E+=o:(g.excludeBegin&&(E+=o),y(),!g.returnBegin&&!g.excludeBegin&&(E=o)),Te(g,s),g.returnBegin?0:o.length}(o);if("illegal"===o.type&&!h){const p=new Error('Illegal lexeme "'+g+'" for mode "'+(f.scope||"")+'"');throw p.mode=f,p}if("end"===o.type){const p=jt(o);if(p!==Re)return p}if("illegal"===o.type&&""===g)return 1;if(ce>1e5&&ce>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return E+=g,g.length}const k=I(n);if(!k)throw C(_.replace("{}",n)),new Error('Unknown language: "'+n+'"');const $t=Mt(k);let re="",f=d||$t;const De={},O=new r.__emitter(r);!function Ut(){const s=[];for(let o=f;o!==k;o=o.parent)o.scope&&s.unshift(o.scope);s.forEach(o=>O.openNode(o))}();let E="",V=0,L=0,ce=0,oe=!1;try{if(k.__emitTokens)k.__emitTokens(l,O);else{for(f.matcher.considerAll();;){ce++,oe?oe=!1:f.matcher.considerAll(),f.matcher.lastIndex=L;const s=f.matcher.exec(l);if(!s)break;const g=Be(l.substring(L,s.index),s);L=s.index+g}Be(l.substring(L))}return O.finalize(),re=O.toHTML(),{language:n,value:re,relevance:V,illegal:!1,_emitter:O,_top:f}}catch(s){if(s.message&&s.message.includes("Illegal"))return{language:n,value:te(l),illegal:!0,relevance:0,_illegalBy:{message:s.message,index:L,context:l.slice(L-100,L+100),mode:s.mode,resultSoFar:re},_emitter:O};if(b)return{language:n,value:te(l),illegal:!1,relevance:0,errorRaised:s,_emitter:O,_top:f};throw s}}function ie(n,l){l=l||r.languages||Object.keys(t);const h=function ne(n){const l={value:te(n),illegal:!1,relevance:0,_top:c,_emitter:new r.__emitter(r)};return l._emitter.addText(n),l}(n),d=l.filter(I).filter(Ae).map(y=>W(y,n,!1));d.unshift(h);const w=d.sort((y,A)=>{if(y.relevance!==A.relevance)return A.relevance-y.relevance;if(y.language&&A.language){if(I(y.language).supersetOf===A.language)return 1;if(I(A.language).supersetOf===y.language)return-1}return 0}),[S,B]=w,Z=S;return Z.secondBest=B,Z}function se(n){let l=null;const h=function x(n){let l=n.className+" ";l+=n.parentNode?n.parentNode.className:"";const h=r.languageDetectRe.exec(l);if(h){const d=I(h[1]);return d||(Me(_.replace("{}",h[1])),Me("Falling back to no-highlight mode for this block.",n)),d?h[1]:"no-highlight"}return l.split(/\s+/).find(d=>a(d)||I(d))}(n);if(a(h))return;if(Y("before:highlightElement",{el:n,language:h}),n.children.length>0&&(r.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(n)),r.throwUnescapedHTML))throw new Ot("One of your code blocks includes unescaped HTML.",n.innerHTML);l=n;const d=l.textContent,w=h?M(d,{language:h,ignoreIllegals:!0}):ie(d);n.innerHTML=w.value,function yt(n,l,h){const d=l&&i[l]||h;n.classList.add("hljs"),n.classList.add(`language-${d}`)}(n,h,w.language),n.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(n.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),Y("after:highlightElement",{el:n,result:w,text:d})}let Se=!1;function X(){"loading"!==document.readyState?document.querySelectorAll(r.cssSelector).forEach(se):Se=!0}function I(n){return n=(n||"").toLowerCase(),t[n]||t[i[n]]}function Ne(n,{languageName:l}){"string"==typeof n&&(n=[n]),n.forEach(h=>{i[h.toLowerCase()]=l})}function Ae(n){const l=I(n);return l&&!l.disableAutodetect}function Y(n,l){const h=n;u.forEach(function(d){d[h]&&d[h](l)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function kt(){Se&&X()},!1),Object.assign(e,{highlight:M,highlightAuto:ie,highlightAll:X,highlightElement:se,highlightBlock:function vt(n){return P("10.7.0","highlightBlock will be removed entirely in v12.0"),P("10.7.0","Please use highlightElement now."),se(n)},configure:function St(n){r=Oe(r,n)},initHighlighting:()=>{X(),P("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function At(){X(),P("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Tt(n,l){let h=null;try{h=l(e)}catch(d){if(C("Language definition for '{}' could not be registered.".replace("{}",n)),!b)throw d;C(d),h=c}h.name||(h.name=n),t[n]=h,h.rawDefinition=l.bind(null,e),h.aliases&&Ne(h.aliases,{languageName:n})},unregisterLanguage:function It(n){delete t[n];for(const l of Object.keys(i))i[l]===n&&delete i[l]},listLanguages:function Bt(){return Object.keys(t)},getLanguage:I,registerAliases:Ne,autoDetection:Ae,inherit:Oe,addPlugin:function Ct(n){(function Dt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=l=>{n["before:highlightBlock"](Object.assign({block:l.el},l))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=l=>{n["after:highlightBlock"](Object.assign({block:l.el},l))})})(n),u.push(n)},removePlugin:function Lt(n){const l=u.indexOf(n);-1!==l&&u.splice(l,1)}}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString="11.8.0",e.regex={concat:D,lookahead:fe,either:q,optional:je,anyNumberOfTimes:He};for(const n in F)"object"==typeof F[n]&&j(F[n]);return Object.assign(e,F),e},H=ye({});H.newInstance=()=>ye({}),le.exports=H,H.HighlightJS=H,H.default=H},373:(le,j,v)=>{"use strict";v.r(j),v.d(j,{HighlightJS:()=>U,default:()=>N});var U=v(548);const N=U}}]); \ No newline at end of file +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[344],{160:le=>{function j(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],u=typeof i;("object"===u||"function"===u)&&!Object.isFrozen(i)&&j(i)}),e}class v{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function U(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function N(e,...t){const i=Object.create(null);for(const u in e)i[u]=e[u];return t.forEach(function(u){for(const b in u)i[b]=u[b]}),i}const ae=e=>!!e.scope;class ve{constructor(t,i){this.buffer="",this.classPrefix=i.classPrefix,t.walk(this)}addText(t){this.buffer+=U(t)}openNode(t){if(!ae(t))return;const i=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const i=e.split(".");return[`${t}${i.shift()}`,...i.map((u,b)=>`${u}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`})(t.scope,{prefix:this.classPrefix});this.span(i)}closeNode(t){ae(t)&&(this.buffer+="")}value(){return this.buffer}span(t){this.buffer+=``}}const ue=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Q{constructor(){this.rootNode=ue(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const i=ue({scope:t});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,i){return"string"==typeof i?t.addText(i):i.children&&(t.openNode(i),i.children.forEach(u=>this._walk(t,u)),t.closeNode(i)),t}static _collapse(t){"string"!=typeof t&&t.children&&(t.children.every(i=>"string"==typeof i)?t.children=[t.children.join("")]:t.children.forEach(i=>{Q._collapse(i)}))}}class Pe extends Q{constructor(t){super(),this.options=t}addText(t){""!==t&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,i){const u=t.root;i&&(u.scope=`language:${i}`),this.add(u)}toHTML(){return new ve(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function $(e){return e?"string"==typeof e?e:e.source:null}function fe(e){return D("(?=",e,")")}function He(e){return D("(?:",e,")*")}function je(e){return D("(?:",e,")?")}function D(...e){return e.map(i=>$(i)).join("")}function q(...e){return"("+(function Ue(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(u=>$(u)).join("|")+")"}function ge(e){return new RegExp(e.toString()+"|").exec("").length-1}const Ge=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let i=0;return e.map(u=>{i+=1;const b=i;let _=$(u),c="";for(;_.length>0;){const r=Ge.exec(_);if(!r){c+=_;break}c+=_.substring(0,r.index),_=_.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?c+="\\"+String(Number(r[1])+b):(c+=r[0],"("===r[0]&&i++)}return c}).map(u=>`(${u})`).join(t)}const he="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",pe="\\b\\d+(\\.\\d+)?",de="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",G={begin:"\\\\[\\s\\S]",relevance:0},ze={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},Xe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},K=function(e,t,i={}){const u=N({scope:"comment",begin:e,end:t,contains:[]},i);u.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 b=q("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 u.contains.push({begin:D(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Ze=K("//","$"),Je=K("/\\*","\\*/"),Ve=K("#","$");var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:he,UNDERSCORE_IDENT_RE:ee,NUMBER_RE:pe,C_NUMBER_RE:de,BINARY_NUMBER_RE:Ee,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=D(t,/.*\b/,e.binary,/\b.*/)),N({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(i,u)=>{0!==i.index&&u.ignoreMatch()}},e)},BACKSLASH_ESCAPE:G,APOS_STRING_MODE:ze,QUOTE_STRING_MODE:Xe,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/},COMMENT:K,C_LINE_COMMENT_MODE:Ze,C_BLOCK_COMMENT_MODE:Je,HASH_COMMENT_MODE:Ve,NUMBER_MODE:{scope:"number",begin:pe,relevance:0},C_NUMBER_MODE:{scope:"number",begin:de,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Ee,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]}]},TITLE_MODE:{scope:"title",begin:he,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ee,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ee,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,i)=>{i.data._beginMatch=t[1]},"on:end":(t,i)=>{i.data._beginMatch!==t[1]&&i.ignoreMatch()}})}});function st(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function rt(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function ct(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=st,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function ot(e,t){Array.isArray(e.illegal)&&(e.illegal=q(...e.illegal))}function lt(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function at(e,t){void 0===e.relevance&&(e.relevance=1)}const ut=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=i.keywords,e.begin=D(i.beforeMatch,fe(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},ft=["of","and","for","in","not","or","if","then","parent","list","value"],gt="keyword";function be(e,t,i=gt){const u=Object.create(null);return"string"==typeof e?b(i,e.split(" ")):Array.isArray(e)?b(i,e):Object.keys(e).forEach(function(_){Object.assign(u,be(e[_],t,_))}),u;function b(_,c){t&&(c=c.map(r=>r.toLowerCase())),c.forEach(function(r){const a=r.split("|");u[a[0]]=[_,ht(a[0],a[1])]})}}function ht(e,t){return t?Number(t):function pt(e){return ft.includes(e.toLowerCase())}(e)?0:1}const _e={},C=e=>{console.error(e)},Me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},P=(e,t)=>{_e[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),_e[`${e}/${t}`]=!0)},z=new Error;function we(e,t,{key:i}){let u=0;const b=e[i],_={},c={};for(let r=1;r<=t.length;r++)c[r+u]=b[r],_[r+u]=!0,u+=ge(t[r-1]);e[i]=c,e[i]._emit=_,e[i]._multi=!0}function _t(e){(function bt(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function dt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw C("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),z;if("object"!=typeof e.beginScope||null===e.beginScope)throw C("beginScope must be object"),z;we(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}}(e),function Et(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw C("skip, excludeEnd, returnEnd not compatible with endScope: {}"),z;if("object"!=typeof e.endScope||null===e.endScope)throw C("endScope must be object"),z;we(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}(e)}function Mt(e){function t(c,r){return new RegExp($(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=ge(r)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=t(m(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const x=a.findIndex((W,ne)=>ne>0&&void 0!==W),M=this.matchIndexes[x];return a.splice(0,x),Object.assign(a,M)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new i;return this.rules.slice(r).forEach(([x,M])=>a.addRule(x,M)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),"begin"===a.type&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let x=a.exec(r);if(this.resumingScanAtSamePosition()&&(!x||x.index!==this.lastIndex)){const M=this.getMatcher(0);M.lastIndex=this.lastIndex+1,x=M.exec(r)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=N(e.classNameAliases||{}),function _(c,r){const a=c;if(c.isCompiled)return a;[rt,lt,_t,ut].forEach(M=>M(c,r)),e.compilerExtensions.forEach(M=>M(c,r)),c.__beforeBegin=null,[ct,ot,at].forEach(M=>M(c,r)),c.isCompiled=!0;let x=null;return"object"==typeof c.keywords&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),x=c.keywords.$pattern,delete c.keywords.$pattern),x=x||/\w+/,c.keywords&&(c.keywords=be(c.keywords,e.case_insensitive)),a.keywordPatternRe=t(x,!0),r&&(c.begin||(c.begin=/\B|\b/),a.beginRe=t(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=t(a.end)),a.terminatorEnd=$(a.end)||"",c.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+r.terminatorEnd)),c.illegal&&(a.illegalRe=t(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(M){return function wt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return N(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:xe(e)?N(e,{starts:e.starts?N(e.starts):null}):Object.isFrozen(e)?N(e):e}("self"===M?c:M)})),c.contains.forEach(function(M){_(M,a)}),c.starts&&_(c.starts,r),a.matcher=function b(c){const r=new u;return c.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&r.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&r.addRule(c.illegal,{type:"illegal"}),r}(a),a}(e)}function xe(e){return!!e&&(e.endsWithParent||xe(e.starts))}class Ot extends Error{constructor(t,i){super(t),this.name="HTMLInjectionError",this.html=i}}const te=U,Oe=N,Re=Symbol("nomatch"),ye=function(e){const t=Object.create(null),i=Object.create(null),u=[];let b=!0;const _="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pe};function a(n){return r.noHighlightRe.test(n)}function M(n,l,h){let d="",w="";"object"==typeof l?(d=n,h=l.ignoreIllegals,w=l.language):(P("10.7.0","highlight(lang, code, ...args) has been deprecated."),P("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),w=n,d=l),void 0===h&&(h=!0);const S={code:d,language:w};Y("before:highlight",S);const B=S.result?S.result:W(S.language,S.code,h);return B.code=S.code,Y("after:highlight",B),B}function W(n,l,h,d){const w=Object.create(null);function S(s,o){return s.keywords[o]}function B(){if(!f.keywords)return void O.addText(E);let s=0;f.keywordPatternRe.lastIndex=0;let o=f.keywordPatternRe.exec(E),g="";for(;o;){g+=E.substring(s,o.index);const p=k.case_insensitive?o[0].toLowerCase():o[0],R=S(f,p);if(R){const[T,Gt]=R;O.addText(g),g="",w[p]=(w[p]||0)+1,w[p]<=7&&(V+=Gt),T.startsWith("_")?g+=o[0]:A(o[0],k.classNameAliases[T]||T)}else g+=o[0];s=f.keywordPatternRe.lastIndex,o=f.keywordPatternRe.exec(E)}g+=E.substring(s),O.addText(g)}function y(){null!=f.subLanguage?function Z(){if(""===E)return;let s=null;if("string"==typeof f.subLanguage){if(!t[f.subLanguage])return void O.addText(E);s=W(f.subLanguage,E,!0,De[f.subLanguage]),De[f.subLanguage]=s._top}else s=ie(E,f.subLanguage.length?f.subLanguage:null);f.relevance>0&&(V+=s.relevance),O.__addSublanguage(s._emitter,s.language)}():B(),E=""}function A(s,o){""!==s&&(O.startScope(o),O.addText(s),O.endScope())}function ke(s,o){let g=1;const p=o.length-1;for(;g<=p;){if(!s._emit[g]){g++;continue}const R=k.classNameAliases[s[g]]||s[g],T=o[g];R?A(T,R):(E=T,B(),E=""),g++}}function Te(s,o){return s.scope&&"string"==typeof s.scope&&O.openNode(k.classNameAliases[s.scope]||s.scope),s.beginScope&&(s.beginScope._wrap?(A(E,k.classNameAliases[s.beginScope._wrap]||s.beginScope._wrap),E=""):s.beginScope._multi&&(ke(s.beginScope,o),E="")),f=Object.create(s,{parent:{value:f}}),f}function Ie(s,o,g){let p=function $e(e,t){const i=e&&e.exec(t);return i&&0===i.index}(s.endRe,g);if(p){if(s["on:end"]){const R=new v(s);s["on:end"](o,R),R.isMatchIgnored&&(p=!1)}if(p){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return Ie(s.parent,o,g)}function Pt(s){return 0===f.matcher.regexIndex?(E+=s[0],1):(oe=!0,0)}function jt(s){const o=s[0],g=l.substring(s.index),p=Ie(f,s,g);if(!p)return Re;const R=f;f.endScope&&f.endScope._wrap?(y(),A(o,f.endScope._wrap)):f.endScope&&f.endScope._multi?(y(),ke(f.endScope,s)):R.skip?E+=o:(R.returnEnd||R.excludeEnd||(E+=o),y(),R.excludeEnd&&(E=o));do{f.scope&&O.closeNode(),!f.skip&&!f.subLanguage&&(V+=f.relevance),f=f.parent}while(f!==p.parent);return p.starts&&Te(p.starts,s),R.returnEnd?0:o.length}let J={};function Be(s,o){const g=o&&o[0];if(E+=s,null==g)return y(),0;if("begin"===J.type&&"end"===o.type&&J.index===o.index&&""===g){if(E+=l.slice(o.index,o.index+1),!b){const p=new Error(`0 width match regex (${n})`);throw p.languageName=n,p.badRule=J.rule,p}return 1}if(J=o,"begin"===o.type)return function Ht(s){const o=s[0],g=s.rule,p=new v(g),R=[g.__beforeBegin,g["on:begin"]];for(const T of R)if(T&&(T(s,p),p.isMatchIgnored))return Pt(o);return g.skip?E+=o:(g.excludeBegin&&(E+=o),y(),!g.returnBegin&&!g.excludeBegin&&(E=o)),Te(g,s),g.returnBegin?0:o.length}(o);if("illegal"===o.type&&!h){const p=new Error('Illegal lexeme "'+g+'" for mode "'+(f.scope||"")+'"');throw p.mode=f,p}if("end"===o.type){const p=jt(o);if(p!==Re)return p}if("illegal"===o.type&&""===g)return 1;if(ce>1e5&&ce>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return E+=g,g.length}const k=I(n);if(!k)throw C(_.replace("{}",n)),new Error('Unknown language: "'+n+'"');const $t=Mt(k);let re="",f=d||$t;const De={},O=new r.__emitter(r);!function Ut(){const s=[];for(let o=f;o!==k;o=o.parent)o.scope&&s.unshift(o.scope);s.forEach(o=>O.openNode(o))}();let E="",V=0,L=0,ce=0,oe=!1;try{if(k.__emitTokens)k.__emitTokens(l,O);else{for(f.matcher.considerAll();;){ce++,oe?oe=!1:f.matcher.considerAll(),f.matcher.lastIndex=L;const s=f.matcher.exec(l);if(!s)break;const g=Be(l.substring(L,s.index),s);L=s.index+g}Be(l.substring(L))}return O.finalize(),re=O.toHTML(),{language:n,value:re,relevance:V,illegal:!1,_emitter:O,_top:f}}catch(s){if(s.message&&s.message.includes("Illegal"))return{language:n,value:te(l),illegal:!0,relevance:0,_illegalBy:{message:s.message,index:L,context:l.slice(L-100,L+100),mode:s.mode,resultSoFar:re},_emitter:O};if(b)return{language:n,value:te(l),illegal:!1,relevance:0,errorRaised:s,_emitter:O,_top:f};throw s}}function ie(n,l){l=l||r.languages||Object.keys(t);const h=function ne(n){const l={value:te(n),illegal:!1,relevance:0,_top:c,_emitter:new r.__emitter(r)};return l._emitter.addText(n),l}(n),d=l.filter(I).filter(Ae).map(y=>W(y,n,!1));d.unshift(h);const w=d.sort((y,A)=>{if(y.relevance!==A.relevance)return A.relevance-y.relevance;if(y.language&&A.language){if(I(y.language).supersetOf===A.language)return 1;if(I(A.language).supersetOf===y.language)return-1}return 0}),[S,B]=w,Z=S;return Z.secondBest=B,Z}function se(n){let l=null;const h=function x(n){let l=n.className+" ";l+=n.parentNode?n.parentNode.className:"";const h=r.languageDetectRe.exec(l);if(h){const d=I(h[1]);return d||(Me(_.replace("{}",h[1])),Me("Falling back to no-highlight mode for this block.",n)),d?h[1]:"no-highlight"}return l.split(/\s+/).find(d=>a(d)||I(d))}(n);if(a(h))return;if(Y("before:highlightElement",{el:n,language:h}),n.children.length>0&&(r.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(n)),r.throwUnescapedHTML))throw new Ot("One of your code blocks includes unescaped HTML.",n.innerHTML);l=n;const d=l.textContent,w=h?M(d,{language:h,ignoreIllegals:!0}):ie(d);n.innerHTML=w.value,function yt(n,l,h){const d=l&&i[l]||h;n.classList.add("hljs"),n.classList.add(`language-${d}`)}(n,h,w.language),n.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(n.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),Y("after:highlightElement",{el:n,result:w,text:d})}let Se=!1;function X(){"loading"!==document.readyState?document.querySelectorAll(r.cssSelector).forEach(se):Se=!0}function I(n){return n=(n||"").toLowerCase(),t[n]||t[i[n]]}function Ne(n,{languageName:l}){"string"==typeof n&&(n=[n]),n.forEach(h=>{i[h.toLowerCase()]=l})}function Ae(n){const l=I(n);return l&&!l.disableAutodetect}function Y(n,l){const h=n;u.forEach(function(d){d[h]&&d[h](l)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function kt(){Se&&X()},!1),Object.assign(e,{highlight:M,highlightAuto:ie,highlightAll:X,highlightElement:se,highlightBlock:function vt(n){return P("10.7.0","highlightBlock will be removed entirely in v12.0"),P("10.7.0","Please use highlightElement now."),se(n)},configure:function St(n){r=Oe(r,n)},initHighlighting:()=>{X(),P("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function At(){X(),P("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Tt(n,l){let h=null;try{h=l(e)}catch(d){if(C("Language definition for '{}' could not be registered.".replace("{}",n)),!b)throw d;C(d),h=c}h.name||(h.name=n),t[n]=h,h.rawDefinition=l.bind(null,e),h.aliases&&Ne(h.aliases,{languageName:n})},unregisterLanguage:function It(n){delete t[n];for(const l of Object.keys(i))i[l]===n&&delete i[l]},listLanguages:function Bt(){return Object.keys(t)},getLanguage:I,registerAliases:Ne,autoDetection:Ae,inherit:Oe,addPlugin:function Ct(n){(function Dt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=l=>{n["before:highlightBlock"](Object.assign({block:l.el},l))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=l=>{n["after:highlightBlock"](Object.assign({block:l.el},l))})})(n),u.push(n)},removePlugin:function Lt(n){const l=u.indexOf(n);-1!==l&&u.splice(l,1)}}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString="11.8.0",e.regex={concat:D,lookahead:fe,either:q,optional:je,anyNumberOfTimes:He};for(const n in F)"object"==typeof F[n]&&j(F[n]);return Object.assign(e,F),e},H=ye({});H.newInstance=()=>ye({}),le.exports=H,H.HighlightJS=H,H.default=H},344:(le,j,v)=>{"use strict";v.r(j),v.d(j,{HighlightJS:()=>U,default:()=>N});var U=v(160);const N=U}}]); \ No newline at end of file diff --git a/dist/ng-select2/35.11f15df346402361.js b/dist/ng-select2/35.11f15df346402361.js deleted file mode 100644 index 48dfb15..0000000 --- a/dist/ng-select2/35.11f15df346402361.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[35],{35:()=>{!function(l,s){"use strict";var N="hljs-ln",M="hljs-ln-line",g="hljs-ln-code",y="hljs-ln-numbers",m="hljs-ln-n",d="data-line-number",p=/\r\n|\r|\n/g;function b(e){try{var n=s.querySelectorAll("code.hljs,code.nohighlight");for(var r in n)n.hasOwnProperty(r)&&(F(n[r])||E(n[r],e))}catch(t){l.console.error("LineNumbers error: ",t)}}function F(e){return e.classList.contains("nohljsln")}function E(e,n){"object"==typeof e&&function V(e){l.setTimeout(e,0)}(function(){e.innerHTML=L(e,n)})}function L(e,n){var r=function H(e,n){return{singleLine:I(n=n||{}),startFrom:R(e,n)}}(e,n);return A(e),function w(e,n){var r=j(e);if(""===r[r.length-1].trim()&&r.pop(),r.length>1||n.singleLine){for(var t="",a=0,i=r.length;a
{6}',[M,y,m,d,g,a+n.startFrom,r[a].length>0?r[a]:" "]);return c('{1}
',[N,t])}return e}(e.innerHTML,r)}function I(e){return!!e.singleLine&&e.singleLine}function R(e,n){var t=1;isFinite(n.startFrom)&&(t=n.startFrom);var a=function K(e,n){return e.hasAttribute(n)?e.getAttribute(n):null}(e,"data-ln-start-from");return null!==a&&(t=function T(e,n){if(!e)return n;var r=Number(e);return isFinite(r)?r:n}(a,1)),t}function A(e){var n=e.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var t=n[r];P(t.textContent)>0&&(t.childNodes.length>0?A(t):k(t.parentNode))}}function k(e){var n=e.className;if(/hljs-/.test(n)){for(var r=j(e.innerHTML),t=0,a="";t{1}
\n',[n,r[t].length>0?r[t]:" "]);e.innerHTML=a.trim()}}function j(e){return 0===e.length?[]:e.split(p)}function P(e){return(e.trim().match(p)||[]).length}function c(e,n){return e.replace(/\{(\d+)\}/g,function(r,t){return void 0!==n[t]?n[t]:r})}l.hljs?(l.hljs.initLineNumbersOnLoad=function S(e){"interactive"===s.readyState||"complete"===s.readyState?b(e):l.addEventListener("DOMContentLoaded",function(){b(e)})},l.hljs.lineNumbersBlock=E,l.hljs.lineNumbersValue=function D(e,n){if("string"==typeof e){var r=document.createElement("code");return r.innerHTML=e,L(r,n)}},function B(){var e=s.createElement("style");e.type="text/css",e.innerHTML=c(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[N,m,d]),s.getElementsByTagName("head")[0].appendChild(e)}()):l.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var r,n=window.getSelection();(function O(e){for(var n=e;n;){if(n.className&&-1!==n.className.indexOf("hljs-ln-code"))return!0;n=n.parentNode}return!1})(n.anchorNode)&&(r=-1!==window.navigator.userAgent.indexOf("Edge")?function _(e){for(var n=e.toString(),r=e.anchorNode;"TD"!==r.nodeName;)r=r.parentNode;for(var t=e.focusNode;"TD"!==t.nodeName;)t=t.parentNode;var a=parseInt(r.dataset.lineNumber),i=parseInt(t.dataset.lineNumber);if(a!=i){var o=r.textContent,u=t.textContent;if(a>i){var f=a;a=i,i=f,f=o,o=u,u=f}for(;0!==n.indexOf(o);)o=o.slice(1);for(;-1===n.lastIndexOf(u);)u=u.slice(0,-1);for(var h=o,q=function C(e){for(var n=e;"TABLE"!==n.nodeName;)n=n.parentNode;return n}(r),v=a+1;v{function m(n){const e=n.regex,a=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},g=n.inherit(t,{begin:/\(/,end:/\)/}),o=n.inherit(n.APOS_STRING_MODE,{className:"string"}),c=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),i={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:[t,c,o,g,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,g,c,o]}]}]},n.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}r.r(l),r.d(l,{default:()=>m})}}]); \ No newline at end of file +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[408],{408:(d,l,r)=>{function m(n){const e=n.regex,a=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},g=n.inherit(t,{begin:/\(/,end:/\)/}),o=n.inherit(n.APOS_STRING_MODE,{className:"string"}),c=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),i={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:[t,c,o,g,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,g,c,o]}]}]},n.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}r.r(l),r.d(l,{default:()=>m})}}]); \ No newline at end of file diff --git a/dist/ng-select2/746.caf588dbc49342c7.js b/dist/ng-select2/436.9794f897ebb9aaab.js similarity index 99% rename from dist/ng-select2/746.caf588dbc49342c7.js rename to dist/ng-select2/436.9794f897ebb9aaab.js index 868d521..4c3f25b 100644 --- a/dist/ng-select2/746.caf588dbc49342c7.js +++ b/dist/ng-select2/436.9794f897ebb9aaab.js @@ -1 +1 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[746],{746:(h,r,i)=>{i.r(r),i.d(r,{default:()=>b});const n=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],l=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],d=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function b(t){const g=t.regex,e=n(t),o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+d.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:l.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[436],{436:(h,r,i)=>{i.r(r),i.d(r,{default:()=>b});const n=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],l=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],d=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function b(t){const g=t.regex,e=n(t),o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+d.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:l.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/266.296de3a69996bf2b.js b/dist/ng-select2/876.2c9adffc739dc925.js similarity index 99% rename from dist/ng-select2/266.296de3a69996bf2b.js rename to dist/ng-select2/876.2c9adffc739dc925.js index 4ef5182..a0b0ae7 100644 --- a/dist/ng-select2/266.296de3a69996bf2b.js +++ b/dist/ng-select2/876.2c9adffc739dc925.js @@ -1 +1 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[266],{266:(V,I,O)=>{O.r(I),O.d(I,{default:()=>Z});const b="[A-Za-z$_][0-9A-Za-z$_]*",M=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],v=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(k,w,L);function Z(e){const n=function F(e){const n=e.regex,t=b,r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,i)=>{const u=s[0].length+s.index,T=s.input[u];if("<"===T||","===T)return void i.ignoreMatch();let C;">"===T&&(((s,{after:i})=>{const u="",Q={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:p,CLASS_REFERENCE:U},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,S,N,E,m,y,{match:/\$\d+/},A,U,{className:"attr",begin:t+n.lookahead(":"),relevance:0},Q,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},W,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},z,X,{match:/\$[(.]/}]}}(e),f=b,t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[n.exports.CLASS_REFERENCE]},R={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t},contains:[n.exports.CLASS_REFERENCE]},_={$pattern:b,keyword:M.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:v,built_in:h.concat(t),"variable.language":x},o={className:"meta",begin:"@"+f},l=(a,S,N)=>{const E=a.contains.findIndex(m=>m.label===S);if(-1===E)throw new Error("can not find mode to replace");a.contains.splice(E,1,N)};return Object.assign(n.keywords,_),n.exports.PARAMS_CONTAINS.push(o),n.contains=n.contains.concat([o,g,R]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(a=>"func.def"===a.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}}}]); \ No newline at end of file +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[876],{876:(V,I,O)=>{O.r(I),O.d(I,{default:()=>Z});const b="[A-Za-z$_][0-9A-Za-z$_]*",M=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],v=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(k,w,L);function Z(e){const n=function F(e){const n=e.regex,t=b,r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,i)=>{const u=s[0].length+s.index,T=s.input[u];if("<"===T||","===T)return void i.ignoreMatch();let C;">"===T&&(((s,{after:i})=>{const u="",Q={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:p,CLASS_REFERENCE:U},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,S,N,E,m,y,{match:/\$\d+/},A,U,{className:"attr",begin:t+n.lookahead(":"),relevance:0},Q,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},W,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},z,X,{match:/\$[(.]/}]}}(e),f=b,t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[n.exports.CLASS_REFERENCE]},R={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t},contains:[n.exports.CLASS_REFERENCE]},_={$pattern:b,keyword:M.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:v,built_in:h.concat(t),"variable.language":x},o={className:"meta",begin:"@"+f},l=(a,S,N)=>{const E=a.contains.findIndex(m=>m.label===S);if(-1===E)throw new Error("can not find mode to replace");a.contains.splice(E,1,N)};return Object.assign(n.keywords,_),n.exports.PARAMS_CONTAINS.push(o),n.contains=n.contains.concat([o,g,R]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(a=>"func.def"===a.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}}}]); \ No newline at end of file diff --git a/dist/ng-select2/index.html b/dist/ng-select2/index.html index 1336c1f..bdd9ebf 100644 --- a/dist/ng-select2/index.html +++ b/dist/ng-select2/index.html @@ -11,5 +11,5 @@ - + diff --git a/dist/ng-select2/main.4a1767d83f3e4a24.js b/dist/ng-select2/main.4a1767d83f3e4a24.js new file mode 100644 index 0000000..630df19 --- /dev/null +++ b/dist/ng-select2/main.4a1767d83f3e4a24.js @@ -0,0 +1 @@ +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[590],{88:(sn,Ce,N)=>{"use strict";let w=null,f=1;const g=Symbol("SIGNAL");function m(e){const n=w;return w=e,n}function Ae(e){if((!Nt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==f)){if(!e.producerMustRecompute(e)&&!et(e))return e.dirty=!1,void(e.lastCleanEpoch=f);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=f}}function et(e){An(e);for(let n=0;n0}function An(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Hi=null;function ws(e){return"function"==typeof e}let hd=!1;const xn={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else hd&&console.log("RxJS: Back to a better error behavior. Thank you. <3");hd=e},get useDeprecatedSynchronousErrorHandling(){return hd}};function zi(e){setTimeout(()=>{throw e},0)}const ul={closed:!0,next(e){},error(e){if(xn.useDeprecatedSynchronousErrorHandling)throw e;zi(e)},complete(){}},si=Array.isArray||(e=>e&&"number"==typeof e.length);function fd(e){return null!==e&&"object"==typeof e}const dl=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class Ee{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Ee)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof dl?t.errors:t),[])}Ee.EMPTY=((e=new Ee).closed=!0,e);const hl="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Oe extends Ee{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ul;break;case 1:if(!n){this.destination=ul;break}if("object"==typeof n){n instanceof Oe?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Cm(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Cm(this,n,t,r)}}[hl](){return this}static create(n,t,r){const i=new Oe(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class Cm extends Oe{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;ws(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==ul&&(s=Object.create(t),ws(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;xn.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=xn;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):zi(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;zi(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);xn.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),xn.useDeprecatedSynchronousErrorHandling)throw r;zi(r)}}__tryOrSetError(n,t,r){if(!xn.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return xn.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(zi(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const Ds="function"==typeof Symbol&&Symbol.observable||"@@observable";function fl(e){return e}function wm(e){return 0===e.length?fl:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Ke=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function X0(e,n,t){if(e){if(e instanceof Oe)return e;if(e[hl])return e[hl]()}return e||n||t?new Oe(e,n,t):new Oe(ul)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||xn.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),xn.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){xn.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function Q0(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Oe?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=Dm(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[Ds](){return this}pipe(...t){return 0===t.length?this:wm(t)(this)}toPromise(t){return new(t=Dm(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Dm(e){if(e||(e=xn.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Gi=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class eI extends Ee{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class Em extends Oe{constructor(n){super(n),this.destination=n}}let ft=(()=>{class e extends Ke{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[hl](){return new Em(this)}lift(t){const r=new Sm(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Gi;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew Sm(n,t),e})();class Sm extends ft{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):Ee.EMPTY}}class cn extends ft{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Gi;return this._value}next(n){super.next(this._value=n)}}function ae(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new tI(e,n))}}class tI{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new nI(n,this.project,this.thisArg))}}class nI extends Oe{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const Mm="https://g.co/ng/security#xss";class A extends Error{constructor(n,t){super(function Wi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function pd(e){return n=>{setTimeout(e,void 0,n)}}const ue=class rI extends ft{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=pd(o),i&&(i=pd(i)),s&&(s=pd(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof Ee&&n.add(a),a}};var ge=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}(ge||{});function pt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(pt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function gd(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}var gl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gl||{}),Rn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Rn||{});function mr(e){return{toString:e}.toString()}const Te=globalThis,qn={},we=[];function Ne(e){for(let n in e)if(e[n]===Ne)return n;throw Error("Could not find renamed property on target object.")}function aI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}const Es=Ne({\u0275cmp:Ne}),md=Ne({\u0275dir:Ne}),_d=Ne({\u0275pipe:Ne}),Am=Ne({\u0275mod:Ne}),_r=Ne({\u0275fac:Ne}),Ss=Ne({__NG_ELEMENT_ID__:Ne}),Om=Ne({__NG_ENV_ID__:Ne});var z=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(z||{});function Nm(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function vd(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==Nm(p,c,0)||2&r&&c!==h){if(Pn(r))return!1;s=!0}}}}else{if(!s&&!Pn(r)&&!Pn(l))return!1;if(s&&Pn(l))continue;s=!1,r=l|1&r}}return Pn(r)||s}function Pn(e){return 0==(1&e)}function dI(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Pn(s)&&(n+=Vm(o,i),i=""),r=s,o=o||!Pn(r);t++}return""!==i&&(n+=Vm(o,i)),n}function qi(e){return mr(()=>{const n=jm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Rn.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""};Hm(t);const r=e.dependencies;return t.directiveDefs=ml(r,!1),t.pipeDefs=ml(r,!0),t.id=function wI(e){let n=0;const t=[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 i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function yI(e){return fe(e)||gt(e)}function bI(e){return null!==e}function St(e){return mr(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bm(e,n){if(null==e)return qn;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,a=z.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(t[o]=a!==z.None?[r,a]:r,n[o]=s):t[o]=r}return t}function Q(e){return mr(()=>{const n=jm(e);return Hm(n),n})}function Qt(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 fe(e){return e[Es]||null}function gt(e){return e[md]||null}function It(e){return e[_d]||null}function xt(e,n){const t=e[Am]||null;if(!t&&!0===n)throw new Error(`Type ${pt(e)} does not have '\u0275mod' property.`);return t}function jm(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||qn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bm(e.inputs,n),outputs:Bm(e.outputs),debugInfo:null}}function Hm(e){e.features?.forEach(n=>n(e))}function ml(e,n){if(!e)return null;const t=n?It:yI;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(bI)}const Ge=0,R=1,Y=2,tt=3,kn=4,Rt=5,Fn=6,Zi=7,Be=8,Tt=9,vr=10,re=11,Is=12,Um=13,Yi=14,Qe=15,Ts=16,Ki=17,yr=18,As=19,$m=20,Vr=21,_l=22,ai=23,oe=25,yd=1,Zn=7,Qi=9,nt=10;var bd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(bd||{});function Pt(e){return Array.isArray(e)&&"object"==typeof e[yd]}function kt(e){return Array.isArray(e)&&!0===e[yd]}function Cd(e){return 0!=(4&e.flags)}function li(e){return e.componentOffset>-1}function yl(e){return 1==(1&e.flags)}function Ln(e){return!!e.template}function wd(e){return 0!=(512&e[Y])}let Ym=!1;function Fe(e){for(;Array.isArray(e);)e=e[Ge];return e}function Ns(e,n){return Fe(n[e])}function Ht(e,n){return Fe(n[e.index])}function xs(e,n){return e.data[n]}function Xi(e,n){return e[n]}function hn(e,n){const t=n[e];return Pt(t)?t:t[Ge]}function Md(e){return 128==(128&e[Y])}function Yn(e,n){return null==n?null:e[n]}function Km(e){e[Ki]=0}function OI(e){1024&e[Y]||(e[Y]|=1024,Md(e)&&Rs(e))}function Id(e){return!!(9216&e[Y]||e[ai]?.dirty)}function Td(e){Id(e)?Rs(e):64&e[Y]&&(function MI(){return Ym}()?(e[Y]|=1024,Rs(e)):e[vr].changeDetectionScheduler?.notify())}function Rs(e){e[vr].changeDetectionScheduler?.notify();let n=ci(e);for(;null!==n&&!(8192&n[Y])&&(n[Y]|=8192,Md(n));)n=ci(n)}function bl(e,n){if(256==(256&e[Y]))throw new A(911,!1);null===e[Vr]&&(e[Vr]=[]),e[Vr].push(n)}function ci(e){const n=e[tt];return kt(n)?n[tt]:n}const ne={lFrame:s_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Jm(){return ne.bindingsEnabled}function Ji(){return null!==ne.skipHydrationRootTNode}function E(){return ne.lFrame.lView}function me(){return ne.lFrame.tView}function xe(e){return ne.lFrame.contextLView=e,e[Be]}function Re(e){return ne.lFrame.contextLView=null,e}function Pe(){let e=e_();for(;null!==e&&64===e.type;)e=e.parent;return e}function e_(){return ne.lFrame.currentTNode}function Kn(e,n){const t=ne.lFrame;t.currentTNode=e,t.isParent=n}function Od(){return ne.lFrame.isParent}function Nd(){ne.lFrame.isParent=!1}function Ut(){const e=ne.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Vn(){return ne.lFrame.bindingIndex++}function Cr(e){const n=ne.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function HI(e,n){const t=ne.lFrame;t.bindingIndex=t.bindingRootIndex=e,xd(n)}function xd(e){ne.lFrame.currentDirectiveIndex=e}function Pd(){return ne.lFrame.currentQueryIndex}function Cl(e){ne.lFrame.currentQueryIndex=e}function $I(e){const n=e[R];return 2===n.type?n.declTNode:1===n.type?e[Rt]:null}function i_(e,n,t){if(t&ge.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&ge.Host||(i=$I(o),null===i||(o=o[Yi],10&i.type))););if(null===i)return!1;n=i,e=o}const r=ne.lFrame=o_();return r.currentTNode=n,r.lView=e,!0}function kd(e){const n=o_(),t=e[R];ne.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function o_(){const e=ne.lFrame,n=null===e?null:e.child;return null===n?s_(e):n}function s_(e){const n={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=n),n}function a_(){const e=ne.lFrame;return ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const l_=a_;function Fd(){const e=a_();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 Ft(){return ne.lFrame.selectedIndex}function ui(e){ne.lFrame.selectedIndex=e}function je(){const e=ne.lFrame;return xs(e.tView,e.selectedIndex)}let u_=!0;function wl(){return u_}function Br(e){u_=e}function YI(){return eo(Pe(),E())}function eo(e,n){return new mt(Ht(e,n))}let jd,mt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=YI}return e})();function d_(e){return e instanceof mt?e.nativeElement:e}function to(e,n){e.forEach(t=>Array.isArray(t)?to(t,n):n(t))}function h_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Dl(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function fn(e,n,t){let r=no(e,n);return r>=0?e[1|r]=t:(r=~r,function f_(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Vd(e,n){const t=no(e,n);if(t>=0)return e[1|t]}function no(e,n){return function p_(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<rT}),rT="ng",y_=new U(""),Qn=new U("",{providedIn:"platform",factory:()=>"unknown"}),iT=new U(""),b_=new U("",{providedIn:"root",factory:()=>jr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),aT=Ne({__forward_ref__:Ne});function He(e){return e.__forward_ref__=He,e.toString=function(){return pt(this())},e}function ee(e){return Nl(e)?e():e}function Nl(e){return"function"==typeof e&&e.hasOwnProperty(aT)&&e.__forward_ref__===He}function Wd(e){return e&&!!e.\u0275providers}function se(e){return"string"==typeof e?e:null==e?"":String(e)}function qd(e,n){throw new A(-201,!1)}let Zd;function w_(){return Zd}function Jt(e){const n=Zd;return Zd=e,n}function D_(e,n,t){const r=Il(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&ge.Optional?null:void 0!==n?n:void qd()}const Fs={},Yd="__NG_DI_FLAG__",xl="ngTempTokenPath",fT=/\n/gm,E_="__source";let ro;function Hr(e){const n=ro;return ro=e,n}function mT(e,n=ge.Default){if(void 0===ro)throw new A(-203,!1);return null===ro?D_(e,void 0,n):ro.get(e,n&ge.Optional?null:void 0,n)}function x(e,n=ge.Default){return(w_()||mT)(ee(e),n)}function P(e,n=ge.Default){return x(e,Rl(n))}function Rl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Kd(e){const n=[];for(let t=0;tnull;function ih(e,n,t=!1){return M_(e,n,t)}const lo="__parameters__";function uo(e,n,t){return mr(()=>{const r=function lh(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(lo)?l[lo]:Object.defineProperty(l,lo,{value:[]})[lo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Bl=Ls(uo("Optional"),8),jl=Ls(uo("SkipSelf"),4);function di(e,n){return e.hasOwnProperty(_r)?e[_r]:null}const hi=new U(""),x_=new U("",-1),ch=new U("");class Hl{get(n,t=Fs){if(t===Fs){const r=new Error(`NullInjectorError: No provider for ${pt(n)}!`);throw r.name="NullInjectorError",r}return t}}function NT(...e){return{\u0275providers:dh(0,e),\u0275fromNgModule:!0}}function dh(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return to(n,s=>{const a=s;Ul(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&R_(i,o),t}function R_(e,n){for(let t=0;t{n(o,r)})}}function Ul(e,n,t,r){if(!(e=ee(e)))return!1;let i=null,o=Tl(e);const s=!o&&fe(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=Tl(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Ul(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{to(o.imports,u=>{Ul(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&R_(c,n)}if(!a){const c=di(i)||(()=>new i);n({provide:i,useFactory:c,deps:we},i),n({provide:ch,useValue:i,multi:!0},i),n({provide:hi,useValue:()=>x(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;hh(l,u=>{n(u,c)})}}}return i!==e&&void 0!==e.providers}function hh(e,n){for(let t of e)Wd(t)&&(t=t.\u0275providers),Array.isArray(t)?hh(t,n):n(t)}const xT=Ne({provide:String,useValue:Ne});function fh(e){return null!==e&&"object"==typeof e&&xT in e}function fi(e){return"function"==typeof e}const ph=new U(""),$l={},PT={};let gh;function zl(){return void 0===gh&&(gh=new Hl),gh}class pn{}class ho extends pn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_h(n,s=>this.processProvider(s)),this.records.set(x_,fo(void 0,this)),i.has("environment")&&this.records.set(pn,fo(void 0,this));const o=this.records.get(ph);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ch,we,ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Hr(this),r=Jt(void 0);try{return n()}finally{Hr(t),Jt(r)}}get(n,t=Fs,r=ge.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Om))return n[Om](this);r=Rl(r);const o=Hr(this),s=Jt(void 0);try{if(!(r&ge.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function BT(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(n)&&Il(n);l=c&&this.injectableDefInScope(c)?fo(mh(n),$l):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&ge.Self?zl():this.parent).get(n,t=r&ge.Optional&&t===Fs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xl]=a[xl]||[]).unshift(pt(n)),o)throw a;return function vT(e,n,t,r){const i=e[xl];throw n[E_]&&i.unshift(n[E_]),e.message=function yT(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=pt(n);if(Array.isArray(n))i=n.map(pt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):pt(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(fT,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[xl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Jt(s),Hr(o)}}resolveInjectorInitializers(){const n=Hr(this),t=Jt(void 0);try{const i=this.get(hi,we,ge.Self);for(const o of i)o()}finally{Hr(n),Jt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(pt(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(n){let t=fi(n=ee(n))?n:ee(n&&n.provide);const r=function FT(e){return fh(e)?fo(void 0,e.useValue):fo(F_(e),$l)}(n);if(!fi(n)&&!0===n.multi){let i=this.records.get(t);i||(i=fo(void 0,$l,!0),i.factory=()=>Kd(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===$l&&(t.value=PT,t.value=t.factory()),"object"==typeof t.value&&t.value&&function VT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ee(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function mh(e){const n=Il(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof U)throw new A(204,!1);if(e instanceof Function)return function kT(e){if(e.length>0)throw new A(204,!1);const t=function tT(e){return e&&(e[Al]||e[v_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new A(204,!1)}function F_(e,n,t){let r;if(fi(e)){const i=ee(e);return di(i)||mh(i)}if(fh(e))r=()=>ee(e.useValue);else if(function k_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Kd(e.deps||[]));else if(function P_(e){return!(!e||!e.useExisting)}(e))r=()=>x(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function LT(e){return!!e.deps}(e))return di(i)||mh(i);r=()=>new i(...Kd(e.deps))}return r}function fo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function _h(e,n){for(const t of e)Array.isArray(t)?_h(t,n):t&&Wd(t)?_h(t.\u0275providers,n):n(t)}function pi(e,n){e instanceof ho&&e.assertNotDestroyed();const r=Hr(e),i=Jt(void 0);try{return n()}finally{Hr(r),Jt(i)}}class YT{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function V_(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function $t(){return B_}function B_(e){return e.type.prototype.ngOnChanges&&(e.setInput=QT),KT}function KT(){const e=H_(this),n=e?.current;if(n){const t=e.previous;if(t===qn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function QT(e,n,t,r,i){const o=this.declaredInputs[r],s=H_(e)||function XT(e,n){return e[j_]=n}(e,{previous:qn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YT(c&&c.currentValue,t,l===qn),V_(e,n,i,t)}$t.ngInherit=!0;const j_="__ngSimpleChanges__";function H_(e){return e[j_]||null}const Xn=function(e,n,t){};function ql(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Ki]+=65536),(a>14>16&&(3&e[Y])===n&&(e[Y]+=16384,$_(a,o)):$_(a,o)}const go=-1;class Us{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function wh(e){return e!==go}function $s(e){return 32767&e}function zs(e,n){let t=function sA(e){return e>>16}(e),r=n;for(;t>0;)r=r[Yi],t--;return r}let Dh=!0;function Kl(e){const n=Dh;return Dh=e,n}const z_=255,G_=5;let aA=0;const Jn={};function Ql(e,n){const t=W_(e,n);if(-1!==t)return t;const r=n[R];r.firstCreatePass&&(e.injectorIndex=n.length,Eh(r.data,e),Eh(n,null),Eh(r.blueprint,null));const i=Xl(e,n),o=e.injectorIndex;if(wh(i)){const s=$s(i),a=zs(i,n),l=a[R].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function Eh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function W_(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=J_(i),null===r)return go;if(t++,i=i[Yi],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return go}function Sh(e,n,t){!function lA(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Ss)&&(r=t[Ss]),null==r&&(r=t[Ss]=aA++);const i=r&z_;n.data[e+(i>>G_)]|=1<=0?n&z_:hA:n}(t);if("function"==typeof o){if(!i_(n,e,r))return r&ge.Host?q_(i,0,r):Z_(n,t,r,i);try{let s;if(s=o(r),null!=s||r&ge.Optional)return s;qd()}finally{l_()}}else if("number"==typeof o){let s=null,a=W_(e,n),l=go,c=r&ge.Host?n[Qe][Rt]:null;for((-1===a||r&ge.SkipSelf)&&(l=-1===a?Xl(e,n):n[a+8],l!==go&&X_(r,!1)?(s=n[R],a=$s(l),n=zs(l,n)):a=-1);-1!==a;){const u=n[R];if(Q_(o,a,u.data)){const d=uA(a,n,t,s,r,c);if(d!==Jn)return d}l=n[a+8],l!==go&&X_(r,n[R].data[a+8]===c)&&Q_(o,a,n)?(s=u,a=$s(l),n=zs(l,n)):a=-1}}return i}function uA(e,n,t,r,i,o){const s=n[R],a=s.data[e+8],u=Jl(a,s,t,null==r?li(a)&&Dh:r!=s&&0!=(3&a.type),i&ge.Host&&o===a);return null!==u?gi(n,s,u,a):Jn}function Jl(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=i?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&v.type===t)return p}if(i){const p=s[l];if(p&&Ln(p)&&p.type===t)return l}return null}function gi(e,n,t,r){let i=e[t];const o=n.data;if(function nA(e){return e instanceof Us}(i)){const s=i;s.resolving&&function uT(e,n){throw n&&n.join(" > "),new A(-200,e)}(function Se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(o[t]));const a=Kl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Jt(s.injectImpl):null;i_(e,r,ge.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function eA(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=B_(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Jt(c),Kl(a),s.resolving=!1,l_()}}return i}function Q_(e,n,t){return!!(t[n+(e>>G_)]&1<{const n=e.prototype.constructor,t=n[_r]||Mh(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[_r]||Mh(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Mh(e){return Nl(e)?()=>{const n=Mh(ee(e));return n&&n()}:di(e)}function J_(e){const n=e[R],t=n.type;return 2===t?n.declTNode:1===t?e[Rt]:null}function Gs(e){return function cA(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{class e{static#e=this.THROW_IF_NOT_FOUND=Fs;static#t=this.NULL=new Hl;static create(t,r){if(Array.isArray(t))return iv({name:""},r,t,"");{const i=t.name??"";return iv({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>x(x_)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Th(e){return e.ngOriginalError}class wr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Th(n);for(;t&&Th(t);)t=Th(t);return t||null}}const av=new U("",{providedIn:"root",factory:()=>P(wr).handleError.bind(void 0)}),cv=new U("",{providedIn:"root",factory:()=>!1});let nc,rc;function vo(e){return function Ah(){if(void 0===nc&&(nc=null,Te.trustedTypes))try{nc=Te.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nc}()?.createHTML(e)||e}function Oh(){if(void 0===rc&&(rc=null,Te.trustedTypes))try{rc=Te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rc}function uv(e){return Oh()?.createHTML(e)||e}function hv(e){return Oh()?.createScriptURL(e)||e}class mi{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Mm})`}}class DA extends mi{getTypeName(){return"HTML"}}class EA extends mi{getTypeName(){return"Style"}}class SA extends mi{getTypeName(){return"Script"}}class MA extends mi{getTypeName(){return"URL"}}class IA extends mi{getTypeName(){return"ResourceURL"}}function gn(e){return e instanceof mi?e.changingThisBreaksApplicationSecurity:e}function er(e,n){const t=function TA(e){return e instanceof mi&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Mm})`)}return t===n}class PA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(vo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class kA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=vo(n),t}}const LA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ic(e){return(e=String(e)).match(LA)?e:"unsafe:"+e}function Dr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ws(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const pv=Dr("area,br,col,hr,img,wbr"),gv=Dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mv=Dr("rp,rt"),Nh=Ws(pv,Ws(gv,Dr("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")),Ws(mv,Dr("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")),Ws(mv,gv)),xh=Dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_v=Ws(xh,Dr("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"),Dr("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")),VA=Dr("script,style,template");class BA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Nh.hasOwnProperty(t))return this.sanitizedSomething=!0,!VA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();Nh.hasOwnProperty(t)&&!pv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(vv(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const jA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HA=/([^\#-~ |!])/g;function vv(e){return e.replace(/&/g,"&").replace(jA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(HA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let oc;function yv(e,n){let t=null;try{oc=oc||function fv(e){const n=new kA(e);return function FA(){try{return!!(new window.DOMParser).parseFromString(vo(""),"text/html")}catch{return!1}}()?new PA(n):n}(e);let r=n?String(n):"";t=oc.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=oc.getInertBodyElement(r)}while(r!==o);return vo((new BA).sanitizeChildren(Rh(t)||t))}finally{if(t){const r=Rh(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Rh(e){return"content"in e&&function UA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mn=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}(mn||{});function Bn(e){const n=qs();return n?uv(n.sanitize(mn.HTML,e)||""):er(e,"HTML")?uv(gn(e)):yv(jr(),se(e))}function bv(e){const n=qs();return n?n.sanitize(mn.URL,e)||"":er(e,"URL")?gn(e):ic(se(e))}function Cv(e){const n=qs();if(n)return hv(n.sanitize(mn.RESOURCE_URL,e)||"");if(er(e,"ResourceURL"))return hv(gn(e));throw new A(904,!1)}function qs(){const e=E();return e&&e[vr].sanitizer}const ZA=/^>|^->||--!>|)/g,KA="\u200b$1\u200b";const Ph=new Map;let tO=0;const Fh="__ngContext__";function Lt(e,n){Pt(n)?(e[Fh]=n[As],function rO(e){Ph.set(e[As],e)}(n)):e[Fh]=n}function Rv(e){return e.ownerDocument}function _n(e){return e instanceof Function?e():e}var $r=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}($r||{});let jh;function Hh(e,n){return jh(e,n)}function bo(e,n,t,r,i){if(null!=r){let o,s=!1;kt(r)?o=r:Pt(r)&&(s=!0,r=r[Ge]);const a=Fe(r);0===e&&null!==t?null==i?Uv(n,t,a):_i(n,t,a,i||null,!0):1===e&&null!==t?_i(n,t,a,i||null,!0):2===e?function fc(e,n,t){const r=dc(e,n);r&&function EO(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IO(e,n,t,r,i){const o=t[Zn];o!==Fe(t)&&bo(n,e,r,o,i);for(let a=nt;an.replace(YA,KA))}(n))}function cc(e,n,t){return e.createElement(n,t)}function Bv(e,n){pc(e,n,n[re],2,null,null)}function jv(e,n){const t=e[Qi],r=t.indexOf(n);t.splice(r,1)}function Ys(e,n){if(e.length<=nt)return;const t=nt+n,r=e[t];if(r){const i=r[Ts];null!==i&&i!==e&&jv(i,r),n>0&&(e[t-1][kn]=r[kn]);const o=Dl(e,nt+n);!function _O(e,n){Bv(e,n),n[Ge]=null,n[Rt]=null}(r[R],r);const s=o[yr];null!==s&&s.detachView(o[R]),r[tt]=null,r[kn]=null,r[Y]&=-129}return r}function uc(e,n){if(!(256&n[Y])){const t=n[re];t.destroyNode&&pc(e,n,t,3,null,null),function yO(e){let n=e[Is];if(!n)return $h(e[R],e);for(;n;){let t=null;if(Pt(n))t=n[Is];else{const r=n[nt];r&&(t=r)}if(!t){for(;n&&!n[kn]&&n!==e;)Pt(n)&&$h(n[R],n),n=n[tt];null===n&&(n=e),Pt(n)&&$h(n[R],n),t=n&&n[kn]}n=t}}(n)}}function $h(e,n){if(!(256&n[Y])){n[Y]&=-129,n[Y]|=256,n[ai]&&function Dn(e){if(An(e),Nt(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Zi]=null);const i=n[Vr];if(null!==i){n[Vr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Rn.None||o===Rn.Emulated)return null}return Ht(r,t)}}(e,n.parent,t)}function _i(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Uv(e,n,t){e.appendChild(n,t)}function $v(e,n,t,r,i){null!==r?_i(e,n,t,r,i):Uv(e,n,t)}function dc(e,n){return e.parentNode(n)}function zv(e,n,t){return Wv(e,n,t)}let Gh,Wv=function Gv(e,n,t){return 40&e.type?Ht(e,t):null};function hc(e,n,t,r){const i=zh(e,r,n),o=n[re],a=zv(r.parent||n[Rt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;loe&&Jv(e,n,oe,!1),Xn(s?2:0,i),t(r,i)}finally{ui(o),Xn(s?3:1,i)}}function Yh(e,n,t){if(Cd(n)){const r=m(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function oy(e,n,t,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;r??={};let a,l=z.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==i){if(!i.hasOwnProperty(o))continue;c=i[o]}0===e?sy(r,t,c,a,l):sy(r,t,c,a)}return r}function sy(e,n,t,r,i){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,r):o=e[t]=[n,r],void 0!==i&&o.push(i)}function tn(e,n,t,r,i,o,s,a){const l=Ht(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(rf(e,t,u,r,i),li(n)&&function jO(e,n){const t=hn(n,e);16&t[Y]||(t[Y]|=64)}(t,n.index)):3&n.type&&(r=function BO(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function Jh(e,n,t,r){if(Jm()){const i=null===r?null:{"":-1},o=function WO(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,Qs(e,t,i.hostVars,le),i)}function tr(e,n,t,r,i,o){const s=Ht(e,n);!function tf(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?se(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[re],s,o,e.value,t,r,i)}function XO(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[i-1][kn]=n),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Rs(e.lView)},consumerOnSignalRead(){this.lView[ai]=this}};function _y(e){return yy(e[Is])}function vy(e){return yy(e[kn])}function yy(e){for(;null!==e&&!kt(e);)e=e[kn];return e}function vc(e,n=!0,t=0){const r=e[vr],i=r.rendererFactory;i.begin?.();try{!function cN(e,n){lf(e,n);let t=0;for(;Id(e);){if(100===t)throw new A(103,!1);t++,lf(e,1)}}(e,t)}catch(s){throw n&&_c(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function uN(e,n,t,r){const i=n[Y];if(256==(256&i))return;n[vr].inlineEffectRunner?.flush(),kd(n);let s=null,a=null;(function dN(e){return 2!==e.type})(e)&&(a=function rN(e){return e[ai]??function iN(e){const n=my.pop()??Object.create(sN);return n.lView=e,n}(e)}(n),s=function Yt(e){return e&&(e.nextProducerIndex=0),m(e)}(a));try{Km(n),function n_(e){return ne.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&ny(e,n,t,2,r);const l=3==(3&i);if(l){const d=e.preOrderCheckHooks;null!==d&&Zl(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Yl(n,d,0,null),bh(n,0)}if(function hN(e){for(let n=_y(e);null!==n;n=vy(n)){if(!(n[Y]&bd.HasTransplantedViews))continue;const t=n[Qi];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function oN(e){e.lView[ai]!==e&&(e.lView=null,my.push(e))}(a)),Fd()}}function Cy(e,n){for(let t=_y(e);null!==t;t=vy(t))for(let r=nt;r-1&&(Ys(n,r),Dl(t,r))}this._attachedToViewContainer=!1}uc(this._lView[R],this._lView)}onDestroy(n){bl(this._lView,n)}markForCheck(){ta(this._cdRefInjectingView||this._lView)}detach(){this._lView[Y]&=-129}reattach(){Td(this._lView),this._lView[Y]|=128}detectChanges(){this._lView[Y]|=1024,vc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Bv(this._lView[R],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n,Td(this._lView)}}let vn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=mN}return e})();const pN=vn,gN=class extends pN{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=Xs(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new na(i)}};function mN(){return yc(Pe(),E())}function yc(e,n){return 4&e.type?new gN(n,e,eo(e,n)):null}let Ay=()=>null;function Do(e,n){return Ay(e,n)}class Oy{}class VN{}class Ny{}class jN{resolveComponentFactory(n){throw function BN(e){const n=Error(`No component factory found for ${pt(e)}.`);return n.ngComponent=e,n}(n)}}let aa=(()=>{class e{static#e=this.NULL=new jN}return e})();class Ry{}let Sr=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function HN(){const e=E(),t=hn(Pe().index,e);return(Pt(t)?t:e)[re]}()}return e})(),UN=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();const pf={};const ky=new Set;function nr(e){ky.has(e)||(ky.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Fy(e){return function Py(e){return"function"==typeof e&&void 0!==e[g]}(e)&&"function"==typeof e.set}let Eo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ex}return e})();function ex(e){return function tx(e,n,t){if(li(e)&&!t){const r=hn(e.index,n);return new na(r,r)}return 47&e.type?new na(n[Qe],n):null}(Pe(),E(),16==(16&e))}let Mc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ox;static#t=this.__NG_ENV_ID__=t=>t}return e})();class ix extends Mc{constructor(n){super(),this._lView=n}onDestroy(n){return bl(this._lView,n),()=>function Ad(e,n){if(null===e[Vr])return;const t=e[Vr].indexOf(n);-1!==t&&e[Vr].splice(t,1)}(this._lView,n)}}function ox(){return new ix(E())}function zy(...e){}class pe{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function dx(){const e="function"==typeof Te.requestAnimationFrame;let n=Te[e?"requestAnimationFrame":"setTimeout"],t=Te[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function px(e){const n=()=>{!function fx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vf(e),e.isCheckStableRunning=!0,_f(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{if(function gx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(i,o,s,a);try{return Gy(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Wy(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return Gy(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Wy(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,vf(e),_f(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pe.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new A(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,hx,zy,zy);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const hx={};function _f(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 vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wy(e){e._nesting--,_f(e)}class qy{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}var vi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(vi||{});const Zy={destroy(){}};function Yy(e,n){!n&&function Gl(e){if(!w_()&&!function gT(){return ro}())throw new A(-203,!1)}();const t=n?.injector??P(At);if(!function Ur(e){return"browser"===(e??P(At)).get(Qn)}(t))return Zy;nr("NgAfterNextRender");const r=t.get(la),i=r.handler??=new Qy,o=n?.phase??vi.MixedReadWrite,s=()=>{i.unregister(l),a()},a=t.get(Mc).onDestroy(s),l=new Ky(t,o,()=>{s(),e()});return i.register(l),{destroy:s}}class Ky{constructor(n,t,r){this.phase=t,this.callbackFn=r,this.zone=n.get(pe),this.errorHandler=n.get(wr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Qy{constructor(){this.executingCallbacks=!1,this.buckets={[vi.EarlyRead]:new Set,[vi.Write]:new Set,[vi.MixedReadWrite]:new Set,[vi.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let la=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of t)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function Tc(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Qv(e,t,o.join(" "))}}(h,ce,v,r),void 0!==t&&function Tx(e,n,t){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=Ox}return e})();function Ox(){return ib(Pe(),E())}const Nx=En,nb=class extends Nx{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return eo(this._hostTNode,this._hostLView)}get injector(){return new yt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xl(this._hostTNode,this._hostLView);if(wh(n)){const t=zs(n,this._hostLView),r=$s(n);return new yt(t[R].data[r+8],t)}return new yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=rb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-nt}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=Do(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,wo(this._hostTNode,s)),a}createComponent(n,t,r,i,o){const s=n&&!function Hs(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const v=t||{};a=v.index,r=v.injector,i=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const l=s?n:new da(fe(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(pn,null);C&&(o=C)}const u=fe(l.componentType??{}),d=Do(this._lContainer,u?.id??null),p=l.create(c,i,d?.firstChild??null,o);return this.insertImpl(p.hostView,a,wo(this._hostTNode,d)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function AI(e){return kt(e[tt])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[tt],c=new nb(l,l[Rt],l[tt]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Js(s,i,o,r),n.attachToViewContainerRef(),h_(wf(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=rb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Ys(this._lContainer,t);r&&(Dl(wf(this._lContainer),t),uc(r[R],r))}detach(n){const t=this._adjustIndex(n,-1),r=Ys(this._lContainer,t);return r&&null!=Dl(wf(this._lContainer),t)?new na(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function rb(e){return e[8]}function wf(e){return e[8]||(e[8]=[])}function ib(e,n){let t;const r=n[e.index];return kt(r)?t=r:(t=cy(r,n,null,e),n[e.index]=t,mc(n,t)),ob(t,n,e,r),new nb(t,e,n)}let ob=function ab(e,n,t,r){if(e[Zn])return;let i;i=8&t.type?Fe(r):function xx(e,n){const t=e[re],r=t.createComment(""),i=Ht(n,e);return _i(t,dc(t,i),r,function SO(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[Zn]=i},Df=()=>!1;class Ef{constructor(n){this.queryList=n,this.matches=null}clone(){return new Ef(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;on.trim())}(n):n}}class Mf{constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=nt;d=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Ms(i.hostAttrs,t=Ms(t,i.hostAttrs))}}(r)}function Qx(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=n.inputTransforms[i]}}}function Oc(e){return e===qn?{}:e===we?[]:e}function Jx(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function e1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function t1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function Nc(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[3]&&(t[r]=i[3])}e.inputTransforms=t}class yi{}class Ab{}class xf extends yi{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eb(this);const i=xt(n);this._bootstrapComponents=_n(i.bootstrap),this._r3Injector=ov(n,t,[{provide:yi,useValue:this},{provide:aa,useValue:this.componentFactoryResolver},...r],pt(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Rf extends Ab{constructor(n){super(),this.moduleType=n}create(n){return new xf(this.moduleType,n,[])}}class Ob extends yi{constructor(n){super(),this.componentFactoryResolver=new eb(this),this.instance=null;const t=new ho([...n.providers,{provide:yi,useValue:this},{provide:aa,useValue:this.componentFactoryResolver}],n.parent||zl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function xc(e,n,t=null){return new Ob({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let fa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new cn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rr(e,n,t){return e[n]=t}function rt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function bi(e,n,t,r){const i=rt(e,n,t);return rt(e,n+1,r)||i}function be(e,n,t,r,i,o,s,a){const l=E(),c=me(),u=e+oe,d=c.firstCreatePass?function d1(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Co(n,e,4,s||null,Yn(c,a));Jh(n,t,u,Yn(c,l)),ql(n,u);const d=u.tView=Xh(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];Kn(d,!1);const h=Nb(c,l,d,e);wl()&&hc(c,l,h,d),Lt(h,l);const p=cy(h,l,h,d);return l[u]=p,mc(l,p),function sb(e,n,t){return Df(e,n,t)}(p,d,l),yl(d)&&Kh(c,l,d),null!=s&&Qh(l,d,a),be}let Nb=function xb(e,n,t,r){return Br(!0),n[re].createComment("")};function zt(e,n,t,r){const i=E();return rt(i,Vn(),n)&&(me(),tr(je(),i,e,n,t,r)),zt}function jc(e,n){return e<<17|n<<2}function qr(e){return e>>17&32767}function $f(e){return 2|e}function wi(e){return(131068&e)>>2}function zf(e,n){return-131069&e|n<<2}function Gf(e){return 1|e}function cC(e,n,t,r){const i=e[t+1],o=null===n;let s=r?qr(i):wi(i),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Y1(e[s],n)&&(a=!0,e[s+1]=r?Gf(c):$f(c)),s=r?qr(c):wi(c)}a&&(e[t+1]=r?$f(i):Gf(i))}function Y1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&no(e,n)>=0}const Ct={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uC(e){return e.substring(Ct.key,Ct.keyEnd)}function dC(e,n){const t=Ct.textEnd;return t===n?-1:(n=Ct.keyEnd=function J1(e,n,t){for(;n32;)n++;return n}(e,Ct.key=n,t),Ho(e,n,t))}function Ho(e,n,t){for(;n=0;t=dC(n,t))fn(e,uC(n),!0)}function jn(e,n,t,r){const i=E(),o=me(),s=Cr(2);o.firstUpdatePass&&_C(o,e,s,r),n!==le&&rt(i,s,n)&&yC(o,o.data[Ft()],i,i[re],e,i[s+1]=function uR(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=pt(gn(e)))),e}(n,t),r,s)}function mC(e,n){return n>=e.expandoStartIndex}function _C(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Ft()],s=mC(e,t);CC(o,r)&&null===n&&!s&&(n=!1),n=function rR(e,n,t,r){const i=function Rd(e){const n=ne.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=va(t=Zf(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Zf(i,e,n,t,r),null===o){let l=function iR(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==wi(r))return e[qr(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Zf(null,e,n,l[1],r),l=va(l,n.attrs,r),function oR(e,n,t,r){e[qr(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function sR(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const h=qr(e[a+1]);e[r+1]=jc(h,a),0!==h&&(e[h+1]=zf(e[h+1],r)),e[a+1]=function G1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=jc(a,0),0!==a&&(e[a+1]=zf(e[a+1],r)),a=r;else e[r+1]=jc(l,0),0===a?a=r:e[l+1]=zf(e[l+1],r),l=r;c&&(e[r+1]=$f(e[r+1])),cC(e,u,r,!0),cC(e,u,r,!1),function Z1(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&no(o,n)>=0&&(t[r+1]=Gf(t[r+1]))}(n,u,e,r,o),s=jc(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Zf(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[i+1];h===le&&(h=d?we:void 0);let p=d?Vd(h,r):u===r?h:void 0;if(c&&!Uc(p)&&(p=Vd(l,r)),Uc(p)&&(a=p,s))return a;const v=e[i+1];i=s?qr(v):wi(v)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Vd(l,r))}return a}function Uc(e){return void 0!==e}function CC(e,n){return 0!=(e.flags&(n?8:16))}function $c(){return E()[Qe][Be]}class bR{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function Yf(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function Kf(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function wC(e,n,t,r,i){if(Kf(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function DC(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class EC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function Je(e,n,t){nr("NgControlFlow");const r=E(),i=Vn(),o=Qf(r,oe+e);if(rt(r,i,n)){const a=m(null);try{if(af(o,0),-1!==n){const l=Xf(r[R],oe+n),c=Do(o,l.tView.ssrId);Js(o,Xs(r,l,t,{dehydratedView:c}),0,wo(l,c))}}finally{m(a)}}else{const a=py(o,0);void 0!==a&&(a[Be]=t)}}class wR{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-nt}}class SR{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function zc(e,n,t,r,i,o,s,a,l,c,u,d,h){nr("NgControlFlow");const p=void 0!==l,v=E(),C=a?s.bind(v[Qe][Be]):s,I=new SR(p,C);v[oe+e]=I,be(e+1,n,t,r,i,o),p&&be(e+2,l,c,u,d,h)}class MR extends bR{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-nt}at(n){return this.getLView(n)[Be].$implicit}attach(n,t){const r=t[Fn];this.needsIndexUpdate||=n!==this.length,Js(this.lContainer,t,n,wo(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function IR(e,n){return Ys(e,n)}(this.lContainer,n)}create(n,t){const r=Do(this.lContainer,this.templateTNode.tView.ssrId);return Xs(this.hostLView,this.templateTNode,new wR(this.lContainer,t,n),{dehydratedView:r})}destroy(n){uc(n[R],n)}updateValue(n,t){this.getLView(n)[Be].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=Vn(),l=0===s.length;if(rt(r,a,l)){const c=t+2,u=Qf(r,c);if(l){const d=Xf(i,c),h=Do(u,d.tView.ssrId);Js(u,Xs(r,d,void 0,{dehydratedView:h}),0,wo(d,h))}else af(u,0)}}}finally{m(n)}}function Qf(e,n){return e[n]}function Xf(e,n){return xs(e,n)}function y(e,n,t,r){const i=E(),o=me(),s=oe+e,a=i[re],l=o.firstCreatePass?function AR(e,n,t,r,i,o){const s=n.consts,l=Co(n,e,2,r,Yn(s,i));return Jh(n,t,l,Yn(s,o)),null!==l.attrs&&Tc(l,l.attrs,!1),null!==l.mergedAttrs&&Tc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=SC(o,i,l,a,n,e);i[s]=c;const u=yl(l);return Kn(l,!0),Xv(a,c,l),32!=(32&l.flags)&&wl()&&hc(o,i,c,l),0===function NI(){return ne.lFrame.elementDepthCount}()&&Lt(c,i),function xI(){ne.lFrame.elementDepthCount++}(),u&&(Kh(o,i,l),Yh(o,l,i)),null!==r&&Qh(i,l),y}function _(){let e=Pe();Od()?Nd():(e=e.parent,Kn(e,!1));const n=e;(function PI(e){return ne.skipHydrationRootTNode===e})(n)&&function VI(){ne.skipHydrationRootTNode=null}(),function RI(){ne.lFrame.elementDepthCount--}();const t=me();return t.firstCreatePass&&(ql(t,e),Cd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function iA(e){return 0!=(8&e.flags)}(n)&&Wf(t,n,E(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function oA(e){return 0!=(16&e.flags)}(n)&&Wf(t,n,E(),n.stylesWithoutHost,!1),_}function X(e,n,t,r){return y(e,n,t,r),_(),X}let SC=(e,n,t,r,i,o)=>(Br(!0),cc(r,i,function c_(){return ne.lFrame.currentNamespace}()));function Jf(e,n,t){const r=E(),i=me(),o=e+oe,s=i.firstCreatePass?function xR(e,n,t,r,i){const o=n.consts,s=Yn(o,r),a=Co(n,e,8,"ng-container",s);return null!==s&&Tc(a,s,!0),Jh(n,t,a,Yn(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];Kn(s,!0);const a=MC(i,r,s,e);return r[o]=a,wl()&&hc(i,r,a,s),Lt(a,r),yl(s)&&(Kh(i,r,s),Yh(i,s,r)),null!=t&&Qh(r,s),Jf}function ep(){let e=Pe();const n=me();return Od()?Nd():(e=e.parent,Kn(e,!1)),n.firstCreatePass&&(ql(n,e),Cd(e)&&n.queries.elementEnd(e)),ep}function sr(e,n,t){return Jf(e,n,t),ep(),sr}let MC=(e,n,t,r)=>(Br(!0),Uh(n[re],""));function ar(){return E()}function tp(e,n,t){const r=E();return rt(r,Vn(),n)&&tn(me(),je(),r,e,n,r[re],t,!0),tp}const $o="en-US";let OC=$o;function $(e,n,t,r){const i=E(),o=me(),s=Pe();return ip(o,i,i[re],s,e,n,r),$}function ip(e,n,t,r,i,o,s){const a=yl(r),c=e.firstCreatePass&&hy(e),u=n[Be],d=dy(n);let h=!0;if(3&r.type||s){const C=Ht(r,n),I=s?s(C):C,k=d.length,M=s?ie=>s(Fe(ie[r.index])):r.index;let K=null;if(!s&&a&&(K=function NP(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==K)(K.__ngLastListenerFn__||K).__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,h=!1;else{o=rw(r,n,u,o,!1);const ie=t.listen(I,i,o);d.push(o,ie),c&&c.push(i,M,k,k+1)}}else o=rw(r,n,u,o,!1);const p=r.outputs;let v;if(h&&null!==p&&(v=p[i])){const C=v.length;if(C)for(let I=0;I-1?hn(e.index,n):n);let l=nw(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=nw(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function G(e=1){return function zI(e){return(ne.lFrame.contextLView=function Qm(e,n){for(;e>0;)n=n[Yi],e--;return n}(e,ne.lFrame.contextLView))[Be]}(e)}function xP(e,n){let t=null;const r=function hI(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i(Br(!0),function lc(e,n){return e.createText(n)}(n[re],r));function bn(e){return de("",e,""),bn}function de(e,n,t){const r=E(),i=function Ro(e,n,t,r){return rt(e,Vn(),t)?n+se(t)+r:le}(r,e,n,t);return i!==le&&function Er(e,n,t){const r=Ns(n,e);!function Vv(e,n,t){e.setValue(n,t)}(e[re],r,t)}(r,Ft(),i),de}function zo(e,n,t){Fy(n)&&(n=n());const r=E();return rt(r,Vn(),n)&&tn(me(),je(),r,e,n,r[re],t,!1),zo}function Ea(e,n){const t=Fy(e);return t&&e.set(n),t}function Go(e,n){const t=E(),r=me(),i=Pe();return ip(r,t,t[re],i,e,n),Go}function ap(e,n,t,r,i){if(e=ee(e),Array.isArray(e))for(let o=0;o>20;if(fi(e)||!e.multi){const p=new Us(c,i,T),v=cp(l,n,i?u:u+h,d);-1===v?(Sh(Ql(a,s),o,l),lp(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[v]=p,s[v]=p)}else{const p=cp(l,n,u+h,d),v=cp(l,n,u,u+h),I=v>=0&&t[v];if(i&&!I||!i&&!(p>=0&&t[p])){Sh(Ql(a,s),o,l);const k=function QP(e,n,t,r,i){const o=new Us(e,t,T);return o.multi=[],o.index=n,o.componentProviders=0,Rw(o,i,r&&!t),o}(i?KP:YP,t.length,i,r,c);!i&&I&&(t[v].providerFactory=k),lp(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(k),s.push(k)}else lp(o,e,p>-1?p:v,Rw(t[i?v:p],c,!i&&r));!i&&r&&I&&t[v].componentProviders++}}}function lp(e,n,t,r){const i=fi(n),o=function RT(e){return!!e.useClass}(n);if(i||o){const l=(o?ee(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function Rw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function cp(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function ZP(e,n,t){const r=me();if(r.firstCreatePass){const i=Ln(e);ap(t,r.data,r.blueprint,i,!0),ap(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}let XP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=dh(0,t.type),i=r.length>0?xc([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(x(pn))})}return e})();function Pw(e){nr("NgStandalone"),e.getStandaloneInjector=n=>n.get(XP).getOrCreateStandaloneInjector(e)}function zw(e,n,t,r,i){return function qw(e,n,t,r,i,o,s){const a=n+t;return bi(e,a,i,o)?rr(e,a+2,s?r.call(s,i,o):r(i,o)):Sa(e,a+2)}(E(),Ut(),e,n,t,r,i)}function Gw(e,n,t,r,i,o){return function Zw(e,n,t,r,i,o,s,a){const l=n+t;return function Pc(e,n,t,r,i){const o=bi(e,n,t,r);return rt(e,n+2,i)||o}(e,l,i,o,s)?rr(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):Sa(e,l+3)}(E(),Ut(),e,n,t,r,i,o)}function Sa(e,n){const t=e[n];return t===le?void 0:t}function Qc(e,n){const t=me();let r;const i=e+oe;t.firstCreatePass?(r=function gk(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=di(r.type)),a=Jt(T);try{const l=Kl(!1),c=o();return Kl(l),function FP(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,E(),i,c),c}finally{Jt(a)}}function Xc(e,n,t){const r=e+oe,i=E(),o=Xi(i,r);return function Ma(e,n){return e[R].data[n].pure}(i,r)?function Ww(e,n,t,r,i,o){const s=n+t;return rt(e,s,i)?rr(e,s+1,o?r.call(o,i):r(i)):Sa(e,s+1)}(i,Ut(),n,o.transform,t,o):o.transform(t)}function rn(e,n){return yc(e,n)}let hD=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const _D=new U(""),tu=new U("");let yp,_p=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,yp||(function f2(e){yp=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(x(pe),x(vp),x(tu))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),vp=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return yp?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Oa(e){return!!e&&"function"==typeof e.then}function vD(e){return!!e&&"function"==typeof e.subscribe}const bp=new U("");let Cp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=P(bp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(Oa(o))t.push(o);else if(vD(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wp=new U("");function CD(e,n){return Array.isArray(n)?n.reduce(CD,e):{...e,...n}}let Mr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=P(av),this.afterRenderEffectManager=P(la),this.componentTypes=[],this.components=[],this.isStable=P(fa).hasPendingTasks.pipe(ae(t=>!t)),this._injector=P(pn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Ny;if(!this._injector.get(Cp).done)throw!i&&function Lr(e){const n=fe(e)||gt(e)||It(e);return null!==n&&n.standalone}(t),new A(405,!1);let s;s=i?t:this._injector.get(aa).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function p2(e){return e.isBoundToModule}(s)?void 0:this._injector.get(yi),c=s.create(At.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(_D,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),nu(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let t=0;const r=this.afterRenderEffectManager;for(;;){if(100===t)throw new A(103,!1);const i=0===t;for(let{_lView:o,notifyErrorHandler:s}of this._views)!i&&!Dp(o)||this.detectChangesInView(o,s,i);if(t++,r.executeInternalCallbacks(),!this._views.some(({_lView:o})=>Dp(o))&&(r.execute(),!this._views.some(({_lView:o})=>Dp(o))))break}}detectChangesInView(t,r,i){let o;i?(o=0,t[Y]|=1024):o=64&t[Y]?0:1,vc(t,r,o)}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;nu(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(wp,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>nu(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new A(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nu(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Dp(e){return Id(e)}class m2{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let wD=(()=>{class e{compileModuleSync(t){return new Rf(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=_n(xt(t).declarations).reduce((s,a)=>{const l=fe(a);return l&&s.push(new da(l)),s},[]);return new m2(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),y2=(()=>{class e{constructor(){this.zone=P(pe),this.applicationRef=P(Mr)}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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function b2(){const e=P(pe),n=P(wr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let w2=(()=>{class e{constructor(){this.subscription=new Ee,this.initialized=!1,this.zone=P(pe),this.pendingTasks=P(fa)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ir=new U("",{providedIn:"root",factory:()=>P(Ir,ge.Optional|ge.SkipSelf)||function D2(){return typeof $localize<"u"&&$localize.locale||$o}()}),Ep=new U("");let MD=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function mx(e="zone.js",n){return"noop"===e?new qy:"zone.js"===e?new pe(n):e}(r?.ngZone,function SD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function l1(e,n,t){return new xf(e,n,t)}(t.moduleType,this.injector,function ED(e){return[{provide:pe,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const n=P(y2,{optional:!0});return()=>n.initialize()}},{provide:hi,multi:!0,useFactory:()=>{const n=P(w2);return()=>{n.initialize()}}},{provide:av,useFactory:b2}]}(()=>i)),s=o.injector.get(wr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{nu(this._modules,o),a.unsubscribe()})}),function bD(e,n,t){try{const r=t();return Oa(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Cp);return a.runInitializers(),a.donePromise.then(()=>(function NC(e){"string"==typeof e&&(OC=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Ir,$o)||$o),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=CD({},r);return function v2(e,n,t){const r=new Rf(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(Mr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new A(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ep,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(x(At))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Kr=null;const ID=new U("");function TD(e,n,t=[]){const r=`Platform: ${n}`,i=new U(r);return(o=[])=>{let s=Sp();if(!s||s.injector.get(ID,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function M2(e){if(Kr&&!Kr.get(ID,!1))throw new A(400,!1);(function yD(){!function bs(e){Hi=e}(()=>{throw new A(600,!1)})})(),Kr=e;const n=e.get(MD);(function OD(e){e.get(y_,null)?.forEach(t=>t())})(e)}(function AD(e=[],n){return At.create({name:n,providers:[{provide:ph,useValue:"platform"},{provide:Ep,useValue:new Set([()=>Kr=null])},...e]})}(a,r))}return function I2(e){const n=Sp();if(!n)throw new A(401,!1);return n}()}}function Sp(){return Kr?.get(MD)??null}const x2=TD(null,"core",[]);let R2=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(x(Mr))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();function Xe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Mi(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let tE=null;function Qr(){return tE}class uF{}const qe=new U("");let xp=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(hF),providedIn:"platform"})}return e})();const dF=new U("");let hF=(()=>{class e extends xp{constructor(){super(),this._doc=P(qe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qr().getBaseHref(this._doc)}onPopState(t){const r=Qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Rp(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function nE(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Tr(e){return e&&"?"!==e[0]?"?"+e:e}let Ii=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(iE),providedIn:"root"})}return e})();const rE=new U("");let iE=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(qe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Rp(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Tr(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Tr(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Tr(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(xp),x(rE,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fF=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Rp(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Tr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(xp),x(rE,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),Yo=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function mF(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(nE(oE(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Tr(r))}normalize(t){return e.stripTrailingSlash(function gF(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,oE(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Tr(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Tr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=Tr;static#t=this.joinWithSlash=Rp;static#n=this.stripTrailingSlash=nE;static#r=this.\u0275fac=function(r){return new(r||e)(x(Ii))};static#i=this.\u0275prov=B({token:e,factory:()=>function pF(){return new Yo(x(Ii))}(),providedIn:"root"})}return e})();function oE(e){return e.replace(/\/index.html$/,"")}let yE=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(T(En))};static#t=this.\u0275dir=Q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$t]})}return e})(),bE=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Qt({name:"json",type:e,pure:!1,standalone:!0})}return e})(),wE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();const DE="browser";function Pa(e){return e===DE}function EE(e){return"server"===e}let FL=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>Pa(P(Qn))?new LL(P(qe),window):new BL})}return e})();class LL{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function VL(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}}class BL{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class pV extends uF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Yp extends pV{static makeCurrent(){!function cF(e){tE??=e}(new Yp)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function gV(){return La=La||document.querySelector("base"),La?La.getAttribute("href"):null}();return null==t?null:function mV(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){La=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function eL(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let La=null,vV=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Kp=new U("");let RE=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(x(Kp),x(pe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class PE{constructor(n){this._doc=n}}const Qp="ng-app-id";let kE=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=EE(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Qp}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(Qp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Qp,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe),x(Ol),x(b_,8),x(Qn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Xp={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/"},Jp=/%COMP%/g,wV=new U("",{providedIn:"root",factory:()=>!0});function LE(e,n){return n.map(t=>t.replace(Jp,e))}let VE=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=EE(a),this.defaultRenderer=new eg(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Rn.ShadowDom&&(r={...r,encapsulation:Rn.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof jE?i.applyToHost(t):i instanceof tg&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Rn.Emulated:o=new jE(l,c,r,this.appId,u,s,a,d);break;case Rn.ShadowDom:return new MV(l,c,t,r,s,a,this.nonce,d);default:o=new tg(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(x(RE),x(kE),x(Ol),x(wV),x(qe),x(Qn),x(pe),x(b_))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class eg{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Xp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(BE(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(BE(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new A(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Xp[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Xp[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&($r.DashCase|$r.Important)?n.style.setProperty(t,r,i&$r.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&$r.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Qr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function BE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class MV extends eg{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=LE(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class tg extends eg{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?LE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class jE extends tg{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function DV(e){return"_ngcontent-%COMP%".replace(Jp,e)}(c),this.hostAttr=function EV(e){return"_nghost-%COMP%".replace(Jp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let IV=(()=>{class e extends PE{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const HE=["alt","control","meta","shift"],TV={"\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"},AV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OV=(()=>{class e extends PE{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Qr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),HE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=TV[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),HE.forEach(s=>{s!==i&&(0,AV[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const $E=[{provide:Qn,useValue:DE},{provide:y_,useValue:function NV(){Yp.makeCurrent()},multi:!0},{provide:qe,useFactory:function RV(){return function JI(e){jd=e}(document),document},deps:[]}],PV=TD(x2,"browser",$E),kV=new U(""),zE=[{provide:tu,useClass:class _V{addToWindow(n){Te.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new A(5103,!1);return o},Te.getAllAngularTestabilities=()=>n.getAllTestabilities(),Te.getAllAngularRootElements=()=>n.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(r=>{const i=Te.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Qr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:_D,useClass:_p,deps:[pe,vp,tu]},{provide:_p,useClass:_p,deps:[pe,vp,tu]}],GE=[{provide:ph,useValue:"root"},{provide:wr,useFactory:function xV(){return new wr},deps:[]},{provide:Kp,useClass:IV,multi:!0,deps:[qe,pe,Qn]},{provide:Kp,useClass:OV,multi:!0,deps:[qe]},VE,kE,RE,{provide:Ry,useExisting:VE},{provide:class jL{},useClass:vV,deps:[]},[]];let FV=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ol,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(kV,12))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({providers:[...GE,...zE],imports:[wE,R2]})}return e})(),LV=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new(r||e):x(HV),i},providedIn:"root"})}return e})(),HV=(()=>{class e extends ZE{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case mn.NONE:return r;case mn.HTML:return er(r,"HTML")?gn(r):yv(this._doc,String(r)).toString();case mn.STYLE:return er(r,"Style")?gn(r):r;case mn.SCRIPT:if(er(r,"Script"))return gn(r);throw new A(5200,!1);case mn.URL:return er(r,"URL")?gn(r):ic(String(r));case mn.RESOURCE_URL:if(er(r,"ResourceURL"))return gn(r);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return function AA(e){return new DA(e)}(t)}bypassSecurityTrustStyle(t){return function OA(e){return new EA(e)}(t)}bypassSecurityTrustScript(t){return function NA(e){return new SA(e)}(t)}bypassSecurityTrustUrl(t){return function xA(e){return new MA(e)}(t)}bypassSecurityTrustResourceUrl(t){return function RA(e){return new IA(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const KE=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function XE(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const ng=e=>{if(e&&"function"==typeof e[Ds])return(e=>n=>{const t=e[Ds]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(QE(e))return KE(e);if(XE(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,zi),n))(e);if(e&&"function"==typeof e[Xr])return(e=>n=>{const t=e[Xr]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${fd(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function rg(e,n){return new Ke(t=>{const r=new Ee;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function Et(e,n){return n?function QV(e,n){if(null!=e){if(function YV(e){return e&&"function"==typeof e[Ds]}(e))return function WV(e,n){return new Ke(t=>{const r=new Ee;return r.add(n.schedule(()=>{const i=e[Ds]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(XE(e))return function qV(e,n){return new Ke(t=>{const r=new Ee;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(QE(e))return rg(e,n);if(function KV(e){return e&&"function"==typeof e[Xr]}(e)||"string"==typeof e)return function ZV(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ke(t=>{const r=new Ee;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[Xr](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof Ke?e:new Ke(ng(e))}function Eu(e,n){return new Ke(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,h)=>(u[d]=i[h],u),{}):i),t.complete())}}))}})}let JE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Sr),T(mt))};static#t=this.\u0275dir=Q({type:e})}return e})(),Ti=(()=>{class e extends JE{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275dir=Q({type:e,features:[ke]})}return e})();const lr=new U(""),JV={provide:lr,useExisting:He(()=>Su),multi:!0};let Su=(()=>{class e extends Ti{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275dir=Q({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[We([JV]),ke]})}return e})();const eB={provide:lr,useExisting:He(()=>Ba),multi:!0},nB=new U("");let Ba=(()=>{class e extends JE{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function tB(){const e=Qr()?Qr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Sr),T(mt),T(nB,8))};static#t=this.\u0275dir=Q({type:e,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(r,i){1&r&&$("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[We([eB]),ke]})}return e})();function Jr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function eS(e){return null!=e&&"number"==typeof e.length}const Vt=new U(""),ei=new U(""),rB=/^(?=.{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 tS{static min(n){return function nS(e){return n=>{if(Jr(n.value)||Jr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Jr(n.value)||Jr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function iS(e){return Jr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function oS(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function sS(e){return Jr(e.value)||rB.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function aS(e){return n=>Jr(n.value)||!eS(n.value)?null:n.value.lengtheS(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function cS(e){if(!e)return Mu;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Jr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return gS(n)}static composeAsync(n){return mS(n)}}function Mu(e){return null}function uS(e){return null!=e}function dS(e){return Oa(e)?Et(e):e}function hS(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function fS(e,n){return n.map(t=>t(e))}function pS(e){return e.map(n=>function iB(e){return!e.validate}(n)?n:t=>n.validate(t))}function gS(e){if(!e)return null;const n=e.filter(uS);return 0==n.length?null:function(t){return hS(fS(t,n))}}function ig(e){return null!=e?gS(pS(e)):null}function mS(e){if(!e)return null;const n=e.filter(uS);return 0==n.length?null:function(t){return function XV(...e){if(1===e.length){const n=e[0];if(si(n))return Eu(n,null);if(fd(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return Eu(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return Eu(e=1===e.length&&si(e[0])?e[0]:e,null).pipe(ae(t=>n(...t)))}return Eu(e,null)}(fS(t,n).map(dS)).pipe(ae(hS))}}function og(e){return null!=e?mS(pS(e)):null}function _S(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function vS(e){return e._rawValidators}function yS(e){return e._rawAsyncValidators}function sg(e){return e?Array.isArray(e)?e:[e]:[]}function Iu(e,n){return Array.isArray(e)?e.includes(n):e===n}function bS(e,n){const t=sg(n);return sg(e).forEach(i=>{Iu(t,i)||t.push(i)}),t}function CS(e,n){return sg(n).filter(t=>!Iu(e,t))}class wS{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(n){this._rawValidators=n||[],this._composedValidatorFn=ig(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=og(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Zt extends wS{get formDirective(){return null}get path(){return null}}class Nr extends wS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class DS{constructor(n){this._cd=n}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 ag=(()=>{class e extends DS{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Nr,2))};static#t=this.\u0275dir=Q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&wt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ke]})}return e})(),lg=(()=>{class e extends DS{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Zt,10))};static#t=this.\u0275dir=Q({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&wt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ke]})}return e})();const ja="VALID",Au="INVALID",Qo="PENDING",Ha="DISABLED";function dg(e){return(Ou(e)?e.validators:e)||null}function hg(e,n){return(Ou(n)?n.asyncValidators:e)||null}function Ou(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function SS(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new A(1e3,"");if(!r[t])throw new A(1001,"")}function MS(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new A(1002,"")})}class Nu{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===ja}get invalid(){return this.status===Au}get pending(){return this.status==Qo}get disabled(){return this.status===Ha}get enabled(){return this.status!==Ha}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(bS(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bS(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(CS(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(CS(n,this._rawAsyncValidators))}hasValidator(n){return Iu(this._rawValidators,n)}hasAsyncValidator(n){return Iu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Qo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ha,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ja,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ja||this.status===Qo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ha:ja}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Qo,this._hasOwnPendingAsyncValidator=!0;const t=dS(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Ha:this.errors?Au:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qo)?Qo:this._anyControlsHaveStatus(Au)?Au:ja}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ou(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function lB(e){return Array.isArray(e)?ig(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function cB(e){return Array.isArray(e)?og(e):e||null}(this._rawAsyncValidators)}}class Xo extends Nu{constructor(n,t,r){super(dg(t),hg(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){MS(this,0,n),Object.keys(n).forEach(r=>{SS(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const uB=Xo;class IS extends Xo{}const Ai=new U("CallSetDisabledState",{providedIn:"root",factory:()=>Ua}),Ua="always";function xu(e,n){return[...n.path,e]}function $a(e,n,t=Ua){fg(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function hB(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&TS(e,n)})}(e,n),function pB(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function fB(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&TS(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function dB(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Ru(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),ku(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Pu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fg(e,n){const t=vS(e);null!==n.validator?e.setValidators(_S(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=yS(e);null!==n.asyncValidator?e.setAsyncValidators(_S(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Pu(n._rawValidators,i),Pu(n._rawAsyncValidators,i)}function ku(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=vS(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=yS(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Pu(n._rawValidators,r),Pu(n._rawAsyncValidators,r),t}function TS(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function AS(e,n){fg(e,n)}function gg(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function OS(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function mg(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ba?t=o:function _B(e){return Object.getPrototypeOf(e.constructor)===Ti}(o)?r=o:i=o}),i||r||t||null}const yB={provide:Zt,useExisting:He(()=>Fu)},za=Promise.resolve();let Fu=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ue,this.form=new Xo({},ig(t),og(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){za.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),$a(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){za.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){za.then(()=>{const r=this._findContainer(t.path),i=new Xo({});AS(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){za.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){za.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,OS(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(T(Vt,10),T(ei,10),T(Ai,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[z.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([yB]),ke]})}return e})();function NS(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function xS(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Jo=class extends Nu{constructor(n=null,t,r){super(dg(t),hg(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ou(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=xS(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){NS(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){NS(this._onDisabledChange,n)}_forEachChild(n){}_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(n){xS(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},_e=Jo,wB={provide:Nr,useExisting:He(()=>_g)},kS=Promise.resolve();let _g=(()=>{class e extends Nr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Jo,this._registered=!1,this.name="",this.update=new ue,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=mg(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),gg(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){$a(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(t){kS.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&Xe(r);kS.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?xu(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(T(Zt,9),T(Vt,10),T(ei,10),T(lr,10),T(Eo,8),T(Ai,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[z.None,"disabled","isDisabled"],model:[z.None,"ngModel","model"],options:[z.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[We([wB]),ke,$t]})}return e})(),FS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Q({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const DB={provide:lr,useExisting:He(()=>Lu),multi:!0};let Lu=(()=>{class e extends Ti{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275dir=Q({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){1&r&&$("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[We([DB]),ke]})}return e})();const vg=new U(""),TB={provide:Zt,useExisting:He(()=>es)};let es=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ue,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ku(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return $a(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Ru(t.control||null,t,!1),function vB(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,OS(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Ru(r||null,t),(e=>e instanceof Jo)(i)&&($a(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);AS(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function gB(e,n){return ku(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fg(this.form,this),this._oldForm&&ku(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(T(Vt,10),T(ei,10),T(Ai,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[z.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([TB]),ke,$t]})}return e})();const NB={provide:Nr,useExisting:He(()=>Vu)};let Vu=(()=>{class e extends Nr{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ue,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=mg(0,o)}ngOnChanges(t){this._added||this._setUpControl(),gg(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return xu(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(r){return new(r||e)(T(Zt,13),T(Vt,10),T(ei,10),T(lr,10),T(vg,8))};static#n=this.\u0275dir=Q({type:e,selectors:[["","formControlName",""]],inputs:{name:[z.None,"formControlName","name"],isDisabled:[z.None,"disabled","isDisabled"],model:[z.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[We([NB]),ke,$t]})}return e})();const xB={provide:lr,useExisting:He(()=>Bu),multi:!0};function HS(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Bu=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=HS(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function RB(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275dir=Q({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[We([xB]),ke]})}return e})(),Cg=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(HS(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(T(mt),T(Sr),T(Bu,9))};static#t=this.\u0275dir=Q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const PB={provide:lr,useExisting:He(()=>wg),multi:!0};function US(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let wg=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275dir=Q({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[We([PB]),ke]})}return e})(),Dg=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(US(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(US(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(T(mt),T(Sr),T(wg,9))};static#t=this.\u0275dir=Q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),XS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();class JS extends Nu{constructor(n,t,r){super(dg(t),hg(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){MS(this,0,n),n.forEach((r,i)=>{SS(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function eM(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let zB=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return eM(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Xo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new IS(i,r)}control(t,r,i){let o={};return this.useNonNullable?(eM(r)?o=r:(o.validators=r,o.asyncValidators=i),new Jo(t,{...o,nonNullable:!0})):new Jo(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new JS(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof Jo||t instanceof Nu?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tM=(()=>{class e extends zB{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sg=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ai,useValue:t.callSetDisabledState??Ua}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({imports:[XS]})}return e})(),nM=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:vg,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ai,useValue:t.callSetDisabledState??Ua}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({imports:[XS]})}return e})();const xr=new Ke(e=>e.complete());function Mg(e){return e?function GB(e){return new Ke(n=>e.schedule(()=>n.complete()))}(e):xr}function Rr(e,n){return new Ke(n?t=>n.schedule(WB,0,{error:e,subscriber:t}):t=>t.error(e))}function WB({error:e,subscriber:n}){n.error(e)}function ju(e,n){return n?rg(e,n):new Ke(KE(e))}class Ni extends Oe{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class xi extends Oe{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Ri(e,n){if(n.closed)return;if(e instanceof Ke)return e.subscribe(n);let t;try{t=ng(e)(n)}catch(r){n.error(r)}return t}class ZB{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new YB(n,this.resultSelector))}}class YB extends Oe{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;si(n)?t.push(new QB(n)):t.push("function"==typeof n[Xr]?new KB(n[Xr]()):new XB(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class XB extends xi{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Xr](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return Ri(this.observable,new Ni(this))}}class JB extends Ee{constructor(n,t){super()}schedule(n,t=0){return this}}class Ig extends JB{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let rM=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class cr extends rM{constructor(n,t=rM.now){super(n,()=>cr.delegate&&cr.delegate!==this?cr.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return cr.delegate&&cr.delegate!==this?cr.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const Hu=new class tj extends cr{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function on(e,n){return function(r){return r.lift(new nj(e,n))}}class nj{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new rj(n,this.predicate,this.thisArg))}}class rj extends Oe{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const iM=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function ti(e){return n=>0===e?Mg():n.lift(new ij(e))}class ij{constructor(n){if(this.total=n,this.total<0)throw new iM}call(n,t){return t.subscribe(new oj(n,this.total))}}class oj extends Oe{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function wn(e,n){return"function"==typeof n?t=>t.pipe(wn((r,i)=>Et(e(r,i)).pipe(ae((o,s)=>n(r,o,i,s))))):t=>t.lift(new sj(e))}class sj{constructor(n){this.project=n}call(n,t){return t.subscribe(new aj(n,this.project))}}class aj extends xi{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new Ni(this),i=this.destination;i.add(r),this.innerSubscription=Ri(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}function ni(){}function Ze(e,n,t){return function(i){return i.lift(new lj(e,n,t))}}class lj{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new cj(n,this.nextOrObserver,this.error,this.complete))}}class cj extends Oe{constructor(n,t,r,i){super(n),this._tapNext=ni,this._tapError=ni,this._tapComplete=ni,this._tapError=r||ni,this._tapComplete=i||ni,ws(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||ni,this._tapError=t.error||ni,this._tapComplete=t.complete||ni)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function ts(e){return function(t){const r=new uj(e),i=t.lift(r);return r.caught=i}}class uj{constructor(n){this.selector=n}call(n,t){return t.subscribe(new dj(n,this.selector,this.caught))}}class dj extends xi{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new Ni(this);this.add(r);const i=Ri(t,r);i!==r&&this.add(i)}}}const Uu=new U("HIGHLIGHT_OPTIONS");let Tg;let pj=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new cn(null),this.ready=this._ready.asObservable().pipe(on(o=>!!o),ae(o=>o),ti(1)),Pa(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(wn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(Ze(()=>this._ready.next(o)))):(this._ready.next(o),xr)),ts(o=>(console.error("[HLJS] ",o),xr))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Rr(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Rr(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Rr(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Rr(()=>"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(wn(t=>this._loadLanguages(t)))}return Rr(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function qB(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),ju(e,void 0).lift(new ZB(n))}(...Object.entries(this._options.languages).map(([i,o])=>$u(o()).pipe(Ze(s=>t.registerLanguage(i,s))))).pipe(ae(()=>t))}loadCoreLibrary(){return $u(this._options.coreLibraryLoader())}loadFullLibrary(){return $u(this._options.fullLibraryLoader())}loadLineNumbers(){return $u(this._options.lineNumbersLoader())}setTheme(t){Pa(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,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(r){return new(r||e)(x(qe),x(Qn),x(Uu,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $u=e=>Et(e).pipe(on(n=>!!n&&!!n.default),ae(n=>n.default));let gj=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(ae(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(ae(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(ae(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(ae(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(ae(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(Ze(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(Ze(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(Ze(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(ae(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(ae(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(ae(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(ae(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(on(r=>!!r.lineNumbersBlock),Ze(r=>r.lineNumbersBlock(t)))}static#e=this.\u0275fac=function(r){return new(r||e)(x(pj),x(Uu,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mj=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new ue,this._nativeElement=t.nativeElement}ngOnChanges(t){Pa(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),Hu.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(t){Hu.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){Hu.schedule(()=>this._nativeElement.innerHTML=function fj(e){return function hj(){if(!Tg)try{Tg=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return Tg}()?.createHTML(e)||e}(this._sanitizer.sanitize(mn.HTML,t)||""))}static#e=this.\u0275fac=function(r){return new(r||e)(T(mt),T(gj),T(ZE),T(Qn),T(Uu,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){2&r&&wt("hljs",!0)},inputs:{code:[z.None,"highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[$t]})}return e})(),_j=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();const vj=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],bj=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function oM(e){return Array.isArray(e)?e:[e]}function dt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function ns(e){return e&&"function"==typeof e.schedule}function te(...e){let n=e[e.length-1];return ns(n)?(e.pop(),rg(e,n)):ju(e)}function Ag(e,n,t,r){return ws(t)&&(r=t,t=void 0),r?Ag(e,n,t).pipe(ae(i=>si(i)?r(...i):r(i))):new Ke(i=>{sM(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function sM(e,n,t,r,i){let o;if(function Sj(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function Ej(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function Dj(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;saM(n)&&e()),n},clearImmediate(e){aM(e)}},Og=(new class Aj extends cr{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=lM.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(lM.clearImmediate(t),n.scheduled=void 0)}}),new cr(Ig));class xj{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new Rj(n,this.durationSelector))}}class Rj extends xi{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=Ri(t,new Ni(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function cM(e){return!si(e)&&e-parseFloat(e)+1>=0}function kj(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function uM(e,n=Og){return function Nj(e){return function(t){return t.lift(new xj(e))}}(()=>function Pj(e=0,n,t){let r=-1;return cM(n)?r=Number(n)<1?1:Number(n):ns(n)&&(t=n),ns(t)||(t=Og),new Ke(i=>{const o=cM(e)?e:+e-t.now();return t.schedule(kj,o,{index:0,period:r,subscriber:i})})}(e,n))}let Ng;try{Ng=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ng=!1}let Pi,Ga=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Pa(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&&!Ng)&&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(r){return new(r||e)(x(Qn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lj(){if(null==Pi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Pi=!1,Pi;if("scrollBehavior"in document.documentElement.style)Pi=!0;else{const e=Element.prototype.scrollTo;Pi=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Pi}function hM(e){return e.composedPath?e.composedPath()[0]:e.target}function fM(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const Bj=new U("cdk-dir-doc",{providedIn:"root",factory:function jj(){return P(qe)}}),Hj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let pM=(()=>{class e{constructor(t){this.value="ltr",this.change=new ue,t&&(this.value=function Uj(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?Hj.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(x(Bj,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})(),zj=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new ft,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ke(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(uM(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):te()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(on(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function wj(e){return e instanceof mt?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ag(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(x(pe),x(Ga),x(qe,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pg=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new ft,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(uM(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ga),x(pe),x(qe,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})(),mM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({imports:[Rg,gM,Rg,gM]})}return e})();function _M(e){return n=>n.lift(new Wj(e))}class Wj{constructor(n){this.notifier=n}call(n,t){const r=new qj(n),i=Ri(this.notifier,new Ni(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class qj extends xi{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class Yj{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new Kj(n,this.predicate,this.inclusive))}}class Kj extends Oe{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class kg{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Qj extends kg{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class vM extends kg{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Xj extends kg{constructor(n){super(),this.element=n instanceof mt?n.nativeElement:n}}class Jj{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Qj?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof vM?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Xj?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class eH extends Jj{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||At.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let tH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();function Bt(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(Bt((i,o)=>Et(e(i,o)).pipe(ae((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new nH(e,t)))}class nH{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new rH(n,this.project,this.concurrent))}}class rH extends xi{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function is(e=Number.POSITIVE_INFINITY){return Bt(fl,e)}const yM=Lj();class aH{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=dt(-this._previousScrollPosition.left),n.style.top=dt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),yM&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),yM&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class lH{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(on(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class bM{enable(){}disable(){}attach(){}}function Fg(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function CM(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class cH{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Fg(t,[{width:r,height:i,bottom:i,right:r,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 uH=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new bM,this.close=s=>new lH(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new aH(this._viewportRuler,this._document),this.reposition=s=>new cH(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(r){return new(r||e)(x(zj),x(Pg),x(pe),x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class wM{constructor(n){if(this.scrollStrategy=new bM,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class dH{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let DM=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hH=(()=>{class e extends DM{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),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(r){return new(r||e)(x(qe),x(pe,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fH=(()=>{class e extends DM{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=hM(o)},this._clickListener=o=>{const s=hM(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(x(qe),x(Ga),x(pe,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),EM=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||fM()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ft,this._outsidePointerEvents=new ft,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ti(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 t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=dt(this._config.width),n.height=dt(this._config.height),n.minWidth=dt(this._config.minWidth),n.minHeight=dt(this._config.minHeight),n.maxWidth=dt(this._config.maxWidth),n.maxHeight=dt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=oM(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(_M(function iH(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return ns(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof Ke?e[0]:is(n)(ju(e,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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const SM="cdk-overlay-connected-position-bounding-box",gH=/([A-Za-z%]+)$/;class mH{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,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 ft,this._resizeSubscription=Ee.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(SM),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ki(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(SM),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=IM(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let h=0-a,p=a+o.height-r.height,v=this._subtractOverflows(o.width,0-s,s+o.width-r.width),C=this._subtractOverflows(o.height,h,p),I=v*C;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:C===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=MM(this._overlayRef.getConfig().minHeight),a=MM(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=IM(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xv&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)h=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const p=Math.min(r.right-n.x+r.left,n.x),v=this._lastBoundingBoxSize.width;u=2*p,d=n.x-p,u>v&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-v/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=dt(r.height),i.top=dt(r.top),i.bottom=dt(r.bottom),i.width=dt(r.width),i.left=dt(r.left),i.right=dt(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=dt(o)),s&&(i.maxWidth=dt(s))}this._lastBoundingBoxSize=r,ki(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ki(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ki(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();ki(r,this._getExactOverlayY(t,n,u)),ki(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=dt(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=dt(s.maxWidth):o&&(r.maxWidth="")),ki(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=dt(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=dt(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CM(n,r),isOriginOutsideView:Fg(n,r),isOverlayClipped:CM(t,r),isOverlayOutsideView:Fg(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&oM(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof mt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function ki(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function MM(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(gH);return t&&"px"!==t?null:parseFloat(n)}return e||null}function IM(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const TM="cdk-global-overlay-wrapper";class vH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(TM),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",v="",C="";l?C="flex-start":"center"===u?(C="center",h?v=d:p=d):h?"left"===u||"end"===u?(C="flex-end",p=d):("right"===u||"start"===u)&&(C="flex-start",v=d):"left"===u||"start"===u?(C="flex-start",p=d):("right"===u||"end"===u)&&(C="flex-end",v=d),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,t.justifyContent=C,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(TM),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let yH=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new vH}flexibleConnectedTo(t){return new mH(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Pg),x(qe),x(Ga),x(EM))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bH=0,Wu=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,h,p){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new wM(t);return s.direction=s.direction||this._directionality.value,new pH(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+bH++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Mr)),new eH(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(x(uH),x(EM),x(aa),x(yH),x(hH),x(At),x(pe),x(qe),x(pM),x(Yo),x(fH),x(iT,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const CH=[{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"}],AM=new U("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=P(Wu);return()=>e.scrollStrategies.reposition()}});let OM=(()=>{class e{constructor(t){this.elementRef=t}static#e=this.\u0275fac=function(r){return new(r||e)(T(mt))};static#t=this.\u0275dir=Q({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return e})(),NM=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._backdropSubscription=Ee.EMPTY,this._attachSubscription=Ee.EMPTY,this._detachSubscription=Ee.EMPTY,this._positionSubscription=Ee.EMPTY,this._disposeOnNavigation=!1,this._ngZone=P(pe),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 ue,this.positionChange=new ue,this.attach=new ue,this.detach=new ue,this.overlayKeydown=new ue,this.overlayOutsideClick=new ue,this._templatePortal=new vM(r,i),this._scrollStrategyFactory=o,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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=CH);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function sH(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new wM({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof OM?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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Zj(e,n=!1){return t=>t.lift(new Yj(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),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(r){return new(r||e)(T(Wu),T(vn),T(En),T(AM),T(pM,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[z.None,"cdkConnectedOverlayOrigin","origin"],positions:[z.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[z.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[z.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[z.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[z.None,"cdkConnectedOverlayWidth","width"],height:[z.None,"cdkConnectedOverlayHeight","height"],minWidth:[z.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[z.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[z.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[z.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[z.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[z.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[z.None,"cdkConnectedOverlayOpen","open"],disableClose:[z.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[z.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[z.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Xe],lockPosition:[z.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",Xe],flexibleDimensions:[z.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Xe],growAfterOpen:[z.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Xe],push:[z.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",Xe],disposeOnNavigation:[z.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Xe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Nc,$t]})}return e})();const DH={provide:AM,deps:[Wu],useFactory:function wH(e){return()=>e.scrollStrategies.reposition()}};let EH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({providers:[Wu,DH],imports:[Rg,tH,mM,mM]})}return e})();class De{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=De.getOptionByValue(n,s);a&&o.push(a)}return o}return De.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(De.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=De.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=De.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>De.containSearchText(a.label,t,r))){const a=s.filter(l=>De.containSearchText(l.label,t,r));i.push({...o,options:a})}}else De.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===De.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===De.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),De.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function Vg(e,n){return e?n.document.documentElement:null}function RM(e,n){const t=function $H({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=PM(t);return kM(e,n,r,i)}(n);return n.isWindow?function HH(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=PM(r),l=e+FM(Vg(o,i),r,o),c=kM(n.nativeElement,o,s,a),u=function zH(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+FM(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function UH(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function PM(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function kM(e,n,t,r){if(isNaN(e[t])){const i=Vg(n,e);return i?i[r]:0}return e[t]}function FM(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?Vg(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function GH(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class KH{constructor(n){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,n)}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Bg={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function eU(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Bg.DOWN:Bg.UP,payload:{currentScrollPosition:t}}}let tU=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new ue,this.scrolledUp=new ue,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=Lg(t),s=Lg(r),a=Lg(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function RH(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function QH(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function VH({windowElement:e,axis:n}){return function BH(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:jH(e)},e)}({axis:new FH(!e.horizontal),windowElement:NH(n,t,r,i)}),s=new KH({totalToScroll:RM(r,o).totalToScroll}),l={up:e.upDistance,down:e.downDistance};return function XH(e){let n=Ag(e.container,"scroll");return e.throttle&&(n=n.pipe(function IH(e,n=Og,t=xM){return r=>r.lift(new TH(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(Bt(()=>te(RM(r,o))),ae(c=>function JH(e,n,t){const{scrollDown:r,fire:i}=function qH(e,n,t){const r=function WH(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),on(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function LH(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),Ze(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),ae(eU))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Bg.DOWN?this.scrolled:this.scrolledUp;(function nU(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(T(mt),T(pe))};static#t=this.\u0275dir=Q({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[$t]})}return e})(),rU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();const iU=["selection"],oU=["results"],sU=["searchInput"],aU=["dropdown"],lU=["result"];function cU(e,n){1&e&&X(0,"span",13)}function uU(e,n){1&e&&(y(0,"span"),b(1,"\xa0"),_())}function dU(e,n){1&e&&X(0,"span",16),2&e&&H("innerHTML",G(3).select2Option.label,Bn)}function hU(e,n){1&e&&sr(0)}function fU(e,n){if(1&e&&be(0,hU,1,0,"ng-container",17),2&e){const t=G(3);H("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function pU(e,n){if(1&e&&be(0,dU,1,1,"span",16)(1,fU,1,2),2&e){const t=G(2);Je(0,!t.hasTemplate(t.select2Option,"option")||t.noLabelTemplate?0:1)}}function gU(e,n){if(1&e&&(y(0,"span",14),be(1,uU,2,0,"span")(2,pU,2,1),y(3,"span",15),b(4),_()()),2&e){const t=G();H("title",(null==t.select2Option?null:t.select2Option.label)||""),S(),Je(1,t.select2Option?-1:1),S(),Je(2,t.select2Option?2:-1),S(),wt("select2-selection__placeholder__option",t.option),S(),bn(t.placeholder)}}function mU(e,n){if(1&e){const t=ar();y(0,"span",18),$("click",function(i){return xe(t),Re(G().reset(i))}),b(1,"\xd7"),_()}}function _U(e,n){1&e&&X(0,"span",19)}function vU(e,n){if(1&e&&(y(0,"span",15),b(1),_()),2&e){const t=G(2);wt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),S(),bn(t.placeholder)}}function yU(e,n){if(1&e){const t=ar();y(0,"span",25),$("click",function(i){xe(t);const o=G().$implicit;return Re(G(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function bU(e,n){1&e&&X(0,"span",16),2&e&&H("innerHTML",G().$implicit.label,Bn)}function CU(e,n){1&e&&sr(0)}function wU(e,n){if(1&e&&be(0,CU,1,0,"ng-container",17),2&e){const t=G().$implicit;H("ngTemplateOutlet",G(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function DU(e,n){if(1&e){const t=ar();y(0,"li",23),$("keydown.enter",function(i){const s=xe(t).$implicit;return Re(G(2).removeSelection(i,s))}),be(1,yU,2,0,"span",24)(2,bU,1,1,"span",16)(3,wU,1,2),_()}if(2&e){const t=n.$implicit,r=G(2);H("title",t.label),S(),Je(1,r.disabled||r.readonly?-1:1),S(),Je(2,!r.hasTemplate(t,"option")||r.noLabelTemplate?2:3)}}function EU(e,n){if(1&e){const t=ar();y(0,"li",26),$("focus",function(i){return xe(t),Re(G(2).stopEvent(i))})("blur",function(i){return xe(t),Re(G(2).stopEvent(i))}),y(1,"input",27),$("click",function(i){xe(t);const o=G(2);return o.toggleOpenAndClose(!1,!0),Re(o.stopEvent(i))})("keydown",function(i){return xe(t),Re(G(2).keyDown(i,!0))})("keyup",function(i){return xe(t),Re(G(2).searchUpdate(i))})("change",function(i){return xe(t),Re(G(2).prevChange(i))}),_()()}if(2&e){const t=G(2);S(),H("id",t.id+"-create-field")}}const SU=()=>[];function MU(e,n){if(1&e&&(y(0,"ul",20),be(1,vU,2,3,"span",21),zc(2,DU,4,3,"li",28,$c().trackBy),be(4,EU,2,1,"li",22),_()),2&e){const t=G();S(),Je(1,t.autoCreate?-1:1),S(),Gc(t.option||function $w(e,n,t){const r=Ut()+e,i=E();return i[r]===le?rr(i,r,t?n.call(t):n()):function pa(e,n){return e[n]}(i,r)}(2,SU)),S(2),Je(4,t.autoCreate?4:-1)}}function IU(e,n){1&e&&sr(0)}function TU(e,n){1&e&&be(0,IU,1,0,"ng-container",29),2&e&&(G(),H("ngTemplateOutlet",ct(17)))}function AU(e,n){1&e&&sr(0)}function OU(e,n){1&e&&be(0,AU,1,0,"ng-container",29),2&e&&(G(),H("ngTemplateOutlet",ct(17)))}function NU(e,n){if(1&e&&X(0,"strong",16),2&e){const t=G(2).$implicit;H("innerHTML",t.label,Bn),zt("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function xU(e,n){1&e&&sr(0)}function RU(e,n){if(1&e&&be(0,xU,1,0,"ng-container",17),2&e){const t=G(2).$implicit;H("ngTemplateOutlet",G(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function PU(e,n){1&e&&X(0,"div",47),2&e&&H("innerHTML",G().$implicit.label,Bn)}function kU(e,n){1&e&&sr(0)}function FU(e,n){if(1&e&&be(0,kU,1,0,"ng-container",17),2&e){const t=G().$implicit;H("ngTemplateOutlet",G(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function LU(e,n){if(1&e){const t=ar();y(0,"li",44,45),$("mouseenter",function(){const o=xe(t).$implicit;return Re(G(4).mouseenter(o))})("click",function(){const o=xe(t).$implicit;return Re(G(4).click(o))}),be(2,PU,1,1,"div",46)(3,FU,1,2),_()}if(2&e){const t=n.$implicit,r=n.$index,i=G(2).$index,o=G(2);qf(o.getOptionStyle(t)),H("id",t.id||o.id+"-option-"+i+"-"+r),zt("aria-selected",o.isSelected(t))("aria-disabled",o.isDisabled(t)),S(2),Je(2,o.hasTemplate(t,"option")?3:2)}}function VU(e,n){if(1&e&&(y(0,"li",42),be(1,NU,1,2,"strong",16)(2,RU,1,2),y(3,"ul",43),zc(4,LU,4,6,"li",48,$c().trackBy),_()()),2&e){const t=G().$implicit,r=G(2);S(),Je(1,r.hasTemplate(t,"group")?2:1),S(3),Gc(t.options)}}function BU(e,n){1&e&&X(0,"div",47),2&e&&H("innerHTML",G(2).$implicit.label,Bn)}function jU(e,n){1&e&&sr(0)}function HU(e,n){if(1&e&&be(0,jU,1,0,"ng-container",17),2&e){const t=G(2).$implicit;H("ngTemplateOutlet",G(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function UU(e,n){1&e&&sr(0)}function $U(e,n){if(1&e&&be(0,UU,1,0,"ng-container",17),2&e){const t=G(2).$implicit;H("ngTemplateOutlet",G(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function zU(e,n){if(1&e){const t=ar();y(0,"li",44,45),$("mouseenter",function(){xe(t);const i=G().$implicit;return Re(G(2).mouseenter(i))})("click",function(){xe(t);const i=G().$implicit;return Re(G(2).click(i))}),be(2,BU,1,1,"div",46)(3,HU,1,2)(4,$U,1,2,"ng-template",null,49,rn),_()}if(2&e){const t=G(),r=t.$implicit,i=t.$index,o=G(2);qf(o.getOptionStyle(r)),H("id",r.id||o.id+"-option-"+i),zt("aria-selected",o.isSelected(r))("aria-disabled",o.isDisabled(r)),S(2),Je(2,o.hasTemplate(r,"option")?3:2)}}function GU(e,n){1&e&&be(0,VU,6,1,"li",41)(1,zU,6,6),2&e&&Je(0,void 0!==n.$implicit.options?0:1)}function WU(e,n){1&e&&X(0,"li",50),2&e&&H("innerHTML",G(2).noResultMessage,Bn)}function qU(e,n){1&e&&X(0,"li",51),2&e&&H("innerHTML",G(2).maxResultsMessage,Bn)}function ZU(e,n){if(1&e){const t=ar();y(0,"div",30)(1,"div",31,32)(3,"div",33)(4,"input",34,35),$("keydown",function(i){xe(t);const o=G();return Re(o.keyDown(i,o.autoCreate))})("keyup",function(i){return xe(t),Re(G().searchUpdate(i))})("change",function(i){return xe(t),Re(G().prevChange(i))}),_()(),y(6,"div",36)(7,"ul",37,38),$("scrolled",function(){return xe(t),Re(G().onScroll("down"))})("scrolledUp",function(){return xe(t),Re(G().onScroll("up"))})("keydown",function(i){return xe(t),Re(G().keyDown(i))}),zc(9,GU,2,1,null,null,$c().trackBy),be(11,WU,1,1,"li",39)(12,qU,1,1,"li",40),_()()()()}if(2&e){const t=ct(8),r=G();wt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition)("select2-style-borderless","borderless"===r.styleMode),S(),wt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),S(2),wt("select2-search--hide",r.hideSearch()),S(),H("id",r.id+"-search-field")("value",r.searchText),zt("tabindex",r.isOpen?r.tabIndex:"-1"),S(3),Hc("max-height",r.resultMaxHeight),H("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),S(2),Gc(r.filteredData),S(2),Je(11,null!=r.filteredData&&r.filteredData.length||!r.noResultMessage?-1:11),S(),Je(12,r.maxResultsExceeded?12:-1)}}const YU=[[["select2-label"]],[["select2-hint"]]],KU=["select2-label","select2-hint"];let QU=0;const XU=["default","hidden","always"];let LM=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get classBorderless(){return"borderless"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new ue,this.autoCreateItem=new ue,this.open=new ue,this.close=new ue,this.focus=new ue,this.blur=new ue,this.search=new ue,this.scroll=new ue,this.removeOption=new ue,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new ft,this._disabled=!1,this._multiple=!1,this._uid="select2-"+QU++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=De.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&De.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=XU.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?De.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof vn||this.templates?.[t.templateId]instanceof vn||this.templates?.[r]instanceof vn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=De.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=De.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=De.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;De.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=De.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return De.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){De.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=De.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value="",this.autoCreateItem.emit({value:i,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(De.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(De.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=De.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&De.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(De.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}static#e=this.\u0275fac=function(r){return new(r||e)(T(Pg),T(Eo),T(Fu,8),T(es,8),T(Nr,10),Gs("tabindex"))};static#t=this.\u0275cmp=qi({type:e,selectors:[["select2"]],viewQuery:function(r,i){if(1&r&&(Ei(NM,5),Ei(iU,7),Ei(oU,5),Ei(sU,5),Ei(aU,5),Ei(lU,5)),2&r){let o;Zr(o=Yr())&&(i.cdkConnectedOverlay=o.first),Zr(o=Yr())&&(i.selection=o.first),Zr(o=Yr())&&(i.resultContainer=o.first),Zr(o=Yr())&&(i.searchInput=o.first),Zr(o=Yr())&&(i.dropdown=o.first),Zr(o=Yr())&&(i.results=o)}},hostVars:10,hostBindings:function(r,i){1&r&&$("click",function(s){return i.clickDetection(s)},0,Rv),2&r&&(tp("id",i.id),zt("aria-invalid",i.ariaInvalid),wt("material",i.classMaterial)("nostyle",i.classNostyle)("borderless",i.classBorderless)("select2-above",i.select2above))},inputs:{data:"data",minCharForSearch:[z.HasDecoratorInputTransform,"minCharForSearch","minCharForSearch",Mi],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:[z.HasDecoratorInputTransform,"limitSelection","limitSelection",Mi],listPosition:"listPosition",multiple:[z.HasDecoratorInputTransform,"multiple","multiple",Xe],overlay:[z.HasDecoratorInputTransform,"overlay","overlay",Xe],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:[z.HasDecoratorInputTransform,"maxResults","maxResults",Mi],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:[z.HasDecoratorInputTransform,"infiniteScrollDistance","infiniteScrollDistance",Mi],infiniteScrollThrottle:[z.HasDecoratorInputTransform,"infiniteScrollThrottle","infiniteScrollThrottle",Mi],infiniteScroll:[z.HasDecoratorInputTransform,"infiniteScroll","infiniteScroll",Xe],autoCreate:[z.HasDecoratorInputTransform,"autoCreate","autoCreate",Xe],noLabelTemplate:[z.HasDecoratorInputTransform,"noLabelTemplate","noLabelTemplate",Xe],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:[z.HasDecoratorInputTransform,"customSearchEnabled","customSearchEnabled",Xe],minCountForSearch:[z.HasDecoratorInputTransform,"minCountForSearch","minCountForSearch",Mi],id:"id",required:[z.HasDecoratorInputTransform,"required","required",Xe],disabled:[z.HasDecoratorInputTransform,"disabled","disabled",Xe],hideSelectedItems:[z.HasDecoratorInputTransform,"hideSelectedItems","hideSelectedItems",Xe],readonly:[z.HasDecoratorInputTransform,"readonly","readonly",Xe],value:"value",tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",Mi],resettable:[z.HasDecoratorInputTransform,"resettable","resettable",Xe],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[Nc],ngContentSelectors:KU,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title"],["class","select2-selection__reset","role","presentation"],["class","select2-selection__arrow","role","presentation"],["class","select2-selection__rendered"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option"],["class","select2-selection__auto-create"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation"],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],["class","select2-selection__choice","tabindex","0",3,"title"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],["class","select2-no-result select2-results__option",3,"innerHTML"],["class","select2-too-much-result select2-results__option",3,"innerHTML"],["class","select2-results__option","role","group"],["role","group",1,"select2-results__option"],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML"],[1,"select2-label-content",3,"innerHTML"],["role","treeitem",3,"id","class"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(r,i){if(1&r&&(function iw(e){const n=E()[Qe][Rt];if(!n.projection){const r=n.projection=function El(e,n){const t=[];for(let r=0;r .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%]{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}.borderless[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px} .cdk-overlay-container .select2-style-borderless{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']})}return e})(),JU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({imports:[wE,Sg,EH,nM,rU,Sg,nM]})}return e})();class t$ extends Oe{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class n$ extends Oe{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function r$(e,n,t,r,i=new n$(e,t,r)){if(!i.closed)return n instanceof Ke?n.subscribe(i):ng(n)(i)}const VM={};function jg(...e){let n,t;return ns(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&si(e[0])&&(e=e[0]),ju(e,t).lift(new i$(n))}class i${constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new o$(n,this.resultSelector))}}class o$ extends t${constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(VM),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Hg(...e){return function s$(){return is(1)}()(te(...e))}function BM(e){return new Ke(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?Et(t):Mg()).subscribe(n)})}function Ug(){return function(n){return n.lift(new a$(n))}}class a${constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new l$(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class l$ extends Oe{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class $g extends Ke{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new Ee,n.add(this.source.subscribe(new c$(this.getSubject(),this))),n.closed&&(this._connection=null,n=Ee.EMPTY)),n}refCount(){return Ug()(this)}}class c$ extends Em{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}function Zu(e=null){return n=>n.lift(new h$(e))}class h${constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new f$(n,this.defaultValue))}}class f$ extends Oe{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function jM(e=m$){return n=>n.lift(new p$(e))}class p${constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new g$(n,this.errorFactory))}}class g$ extends Oe{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function m$(){return new qu}function Fi(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):fl,ti(1),t?Zu(n):jM(()=>new qu))}function Za(e,n){return Bt(e,n,1)}class v${constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new y$(n,this.accumulator,this.seed,this.hasSeed))}}class y$ extends Oe{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function zg(e){return function(t){return 0===e?Mg():t.lift(new b$(e))}}class b${constructor(n){if(this.total=n,this.total<0)throw new iM}call(n,t){return t.subscribe(new C$(n,this.total))}}class C$ extends Oe{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new M$(e))}class M${constructor(n){this.callback=n}call(n,t){return t.subscribe(new I$(n,this.callback))}}class I$ extends Oe{constructor(n,t){super(n),this.add(new Ee(t))}}const he="primary",Ya=Symbol("RouteTitle");class T${constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function os(e){return new T$(e)}function A$(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function UM(e){return e.length>0?e[e.length-1]:null}function ri(e){return function e$(e){return!!e&&(e instanceof Ke||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:Oa(e)?Et(Promise.resolve(e)):te(e)}const N$={exact:function GM(e,n,t){if(!Li(e.segments,n.segments)||!Yu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!GM(e.children[r],n.children[r],t))return!1;return!0},subset:WM},$M={exact:function x$(e,n){return ur(e,n)},subset:function R$(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>HM(e[t],n[t]))},ignored:()=>!0};function zM(e,n,t){return N$[t.paths](e.root,n.root,t.matrixParams)&&$M[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function WM(e,n,t){return qM(e,n,n.segments,t)}function qM(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Li(i,t)||n.hasChildren()||!Yu(i,t,r))}if(e.segments.length===t.length){if(!Li(e.segments,t)||!Yu(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!WM(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Li(e.segments,i)&&Yu(e.segments,i,r)&&e.children[he])&&qM(e.children[he],n,o,r)}}function Yu(e,n,t){return n.every((r,i)=>$M[t](e[i].parameters,r.parameters))}class ss{constructor(n=new Le([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=os(this.queryParams),this._queryParamMap}toString(){return F$.serialize(this)}}class Le{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ku(this)}}class Ka{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=os(this.parameters),this._parameterMap}toString(){return KM(this)}}function Li(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let as=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new qg,providedIn:"root"})}return e})();class qg{parse(n){const t=new q$(n);return new ss(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Qa(n.root,!0)}`,r=function B$(e){const n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(i=>`${Qu(t)}=${Qu(i)}`).join("&"):`${Qu(t)}=${Qu(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function L$(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const F$=new qg;function Ku(e){return e.segments.map(n=>KM(n)).join("/")}function Qa(e,n){if(!e.hasChildren())return Ku(e);if(n){const t=e.children[he]?Qa(e.children[he],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==he&&r.push(`${i}:${Qa(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function k$(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===he&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==he&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===he?[Qa(e.children[he],!1)]:[`${i}:${Qa(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[he]?`${Ku(e)}/${t[0]}`:`${Ku(e)}/(${t.join("//")})`}}function ZM(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qu(e){return ZM(e).replace(/%3B/gi,";")}function Zg(e){return ZM(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xu(e){return decodeURIComponent(e)}function YM(e){return Xu(e.replace(/\+/g,"%20"))}function KM(e){return`${Zg(e.path)}${function V$(e){return Object.entries(e).map(([n,t])=>`;${Zg(n)}=${Zg(t)}`).join("")}(e.parameters)}`}const j$=/^[^\/()?;#]+/;function Yg(e){const n=e.match(j$);return n?n[0]:""}const H$=/^[^\/()?;=#]+/,$$=/^[^=?&#]+/,G$=/^[^&#]+/;class q${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Le([],{}):new Le([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[he]=new Le(n,t)),r}parseSegment(){const n=Yg(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Ka(Xu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function U$(e){const n=e.match(H$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Yg(this.remaining);i&&(r=i,this.capture(r))}n[Xu(t)]=Xu(r)}parseQueryParam(n){const t=function z$(e){const n=e.match($$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function W$(e){const n=e.match(G$);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=YM(t),o=YM(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Yg(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new A(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=he);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[he]:new Le([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}}function QM(e){return e.segments.length>0?new Le([],{[he]:e}):e}function XM(e){const n={};for(const[r,i]of Object.entries(e.children)){const o=XM(i);if(r===he&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function Z$(e){if(1===e.numberOfChildren&&e.children[he]){const n=e.children[he];return new Le(e.segments.concat(n.segments),n.children)}return e}(new Le(e.segments,n))}function ls(e){return e instanceof ss}function JM(e){let n;const i=QM(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Le(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function e0(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Kg(i,i,i,t,r);const o=function K$(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new n0(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new n0(t,n,r)}(n);if(o.toRoot())return Kg(i,i,new Le([],{}),t,r);const s=function Q$(e,n,t){if(e.isAbsolute)return new ed(n,!0,0);if(!t)return new ed(n,!1,NaN);if(null===t.parent)return new ed(t,!0,0);const r=Ju(e.commands[0])?0:1;return function X$(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new A(4005,!1);i=r.segments.length}return new ed(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?Ja(s.segmentGroup,s.index,o.commands):r0(s.segmentGroup,s.index,o.commands);return Kg(i,s.segmentGroup,a,t,r)}function Ju(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Xa(e){return"object"==typeof e&&null!=e&&e.outlets}function Kg(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:t0(e,n,t);const a=QM(XM(s));return new ss(a,o,i)}function t0(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:t0(o,n,t)}),new Le(e.segments,r)}class n0{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Ju(r[0]))throw new A(4003,!1);const i=r.find(Xa);if(i&&i!==UM(r))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ed{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function r0(e,n,t){if(e??=new Le([],{}),0===e.segments.length&&e.hasChildren())return Ja(e,n,t);const r=function e3(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if(Xa(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!s0(l,c,s))return o;r+=2}else{if(!s0(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==he)&&e.children[he]&&1===e.numberOfChildren&&0===e.children[he].segments.length){const o=Ja(e.children[he],n,t);return new Le(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=r0(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Le(e.segments,i)}}function Qg(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Qg(new Le([],{}),0,r))}),n}function o0(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function s0(e,n,t){return e==t.path&&ur(n,t.parameters)}const el="imperative";var ye=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(ye||{});class dr{constructor(n,t){this.id=n,this.url=t}}class td extends dr{constructor(n,t,r="imperative",i=null){super(n,t),this.type=ye.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pr extends dr{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Tn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Tn||{}),nd=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(nd||{});class cs extends dr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class us extends dr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=ye.NavigationSkipped}}class rd extends dr{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class a0 extends dr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class n3 extends dr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class r3 extends dr{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class i3 extends dr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class o3 extends dr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class s3{constructor(n){this.route=n,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class a3{constructor(n){this.route=n,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class l3{constructor(n){this.snapshot=n,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class c3{constructor(n){this.snapshot=n,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class u3{constructor(n){this.snapshot=n,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class d3{constructor(n){this.snapshot=n,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class l0{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=ye.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Xg{}class Jg{constructor(n){this.url=n}}class h3{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tl,this.attachRef=null}}let tl=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new h3,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class c0{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=em(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=em(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=tm(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return tm(n,this._root).map(t=>t.value)}}function em(e,n){if(e===n.value)return n;for(const t of n.children){const r=em(e,t);if(r)return r}return null}function tm(e,n){if(e===n.value)return[n];for(const t of n.children){const r=tm(e,t);if(r.length)return r.unshift(n),r}return[]}class zn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function ds(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class u0 extends c0{constructor(n,t){super(n),this.snapshot=t,im(this,n)}toString(){return this.snapshot.toString()}}function d0(e){const n=function f3(e){const o=new rm([],{},{},"",{},he,e,null,{});return new h0("",new zn(o,[]))}(e),t=new cn([new Ka("",{})]),r=new cn({}),i=new cn({}),o=new cn({}),s=new cn(""),a=new hs(t,r,o,s,i,he,e,n.root);return a.snapshot=n.root,new u0(new zn(a,[]),n)}class hs{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ae(c=>c[Ya]))??te(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}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.params.pipe(ae(n=>os(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ae(n=>os(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function nm(e,n,t="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===n||"always"!==t&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...i?.data,...e._resolvedData}},i&&p0(i)&&(r.resolve[Ya]=i.title),r}class rm{get title(){return this.data?.[Ya]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=os(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=os(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class h0 extends c0{constructor(n,t){super(t),this.url=n,im(this,t)}toString(){return f0(this._root)}}function im(e,n){n.value._routerState=e,n.children.forEach(t=>im(e,t))}function f0(e){const n=e.children.length>0?` { ${e.children.map(f0).join(", ")} } `:"";return`${e.value}${n}`}function om(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ur(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ur(n.params,t.params)||e.paramsSubject.next(t.params),function O$(e,n){if(e.length!==n.length)return!1;for(let t=0;tur(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||sm(e.parent,n.parent))}function p0(e){return"string"==typeof e.title||null===e.title}let am=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=P(tl),this.location=P(En),this.changeDetector=P(Eo),this.environmentInjector=P(pn),this.inputBinder=P(id,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new p3(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Q({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[$t]})}return e})();class p3{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===hs?this.route:n===tl?this.childContexts:this.parent.get(n,t)}}const id=new U("");let g0=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=jg([r.queryParams,r.params,r.data]).pipe(wn(([o,s,a],l)=>(a={...o,...s,...a},0===l?te(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function lF(e){const n=fe(e);if(!n)return null;const t=new da(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function nl(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function m3(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return nl(e,r,i);return nl(e,r)})}(e,n,t);return new zn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>nl(e,a)),s}}const r=function _3(e){return new hs(new cn(e.url),new cn(e.params),new cn(e.queryParams),new cn(e.fragment),new cn(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>nl(e,o));return new zn(r,i)}}const m0="ngNavigationCancelingError";function _0(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=ls(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=v0(!1,Tn.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function v0(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[m0]=!0,t.cancellationCode=n,t}function y0(e){return!!e&&e[m0]}let b0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=qi({type:e,selectors:[["ng-component"]],standalone:!0,features:[Pw],decls:1,vars:0,template:function(r,i){1&r&&X(0,"router-outlet")},dependencies:[am],encapsulation:2})}return e})();function lm(e){const n=e.children&&e.children.map(lm),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==he&&(t.component=b0),t}function hr(e){return e.outlet||he}function rl(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class S3{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),om(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=ds(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=ds(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=ds(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=ds(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new d3(o.value.snapshot))}),n.children.length&&this.forwardEvent(new c3(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(om(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),om(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=rl(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class C0{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class od{constructor(n,t){this.component=n,this.route=t}}function M3(e,n,t){const r=e._root;return il(r,n?n._root:null,t,[r.value])}function fs(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function eT(e){return null!==Il(e)}(e)?n.get(e):e:r}function il(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=ds(n);return e.children.forEach(s=>{(function T3(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function A3(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Li(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Li(e.url,n.url)||!ur(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sm(e,n)||!ur(e.queryParams,n.queryParams);default:return!sm(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new C0(r)):(o.data=s.data,o._resolvedData=s._resolvedData),il(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new od(a.outlet.component,s))}else s&&ol(n,a,i),i.canActivateChecks.push(new C0(r)),il(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ol(a,t.getContext(s),i)),i}function ol(e,n,t){const r=ds(e),i=e.value;Object.entries(r).forEach(([o,s])=>{ol(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new od(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function sl(e){return"function"==typeof e}function w0(e){return e instanceof qu||"EmptyError"===e?.name}const sd=Symbol("INITIAL_VALUE");function ps(){return wn(e=>jg(e.map(n=>n.pipe(ti(1),function d$(...e){const n=e[e.length-1];return ns(n)?(e.pop(),t=>Hg(e,t,n)):t=>Hg(e,t)}(sd)))).pipe(ae(n=>{for(const t of n)if(!0!==t){if(t===sd)return sd;if(!1===t||t instanceof ss)return t}return!0}),on(n=>n!==sd),ti(1)))}function D0(e){return function J0(...e){return wm(e)}(Ze(n=>{if(ls(n))throw _0(0,n)}),ae(n=>!0===n))}class cm{constructor(n){this.segmentGroup=n||null}}class um extends Error{constructor(n){super(),this.urlTree=n}}function gs(e){return Rr(new cm(e))}class Z3{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return te(r);if(i.numberOfChildren>1||!i.children[he])return Rr(new A(4e3,!1));i=i.children[he]}}applyRedirectCommands(n,t,r){const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new um(i);return i}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new ss(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Le(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new A(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const dm={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Y3(e,n,t,r,i){const o=hm(e,n,t);return o.matched?(r=function y3(e,n){return e.providers&&!e._injector&&(e._injector=xc(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function G3(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?te(i.map(s=>{const a=fs(s,e);return ri(function k3(e){return e&&sl(e.canMatch)}(a)?a.canMatch(n,t):pi(e,()=>a(n,t)))})).pipe(ps(),D0()):te(!0)}(r,n,t).pipe(ae(s=>!0===s?o:{...dm}))):te(o)}function hm(e,n,t){if("**"===n.path)return function K3(e){return{matched:!0,parameters:e.length>0?UM(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...dm}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||A$)(t,e,n);if(!i)return{...dm};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function E0(e,n,t,r){return t.length>0&&function J3(e,n,t){return t.some(r=>ad(e,n,r)&&hr(r)!==he)}(e,t,r)?{segmentGroup:new Le(n,X3(r,new Le(t,e.children))),slicedSegments:[]}:0===t.length&&function e8(e,n,t){return t.some(r=>ad(e,n,r))}(e,t,r)?{segmentGroup:new Le(e.segments,Q3(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Le(e.segments,e.children),slicedSegments:t}}function Q3(e,n,t,r){const i={};for(const o of t)if(ad(e,n,o)&&!r[hr(o)]){const s=new Le([],{});i[hr(o)]=s}return{...r,...i}}function X3(e,n){const t={};t[he]=n;for(const r of e)if(""===r.path&&hr(r)!==he){const i=new Le([],{});t[hr(r)]=i}return t}function ad(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class r8{}class s8{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Z3(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){const n=E0(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ae(t=>{const r=new rm([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),i=new zn(r,t),o=new h0("",i),s=function Y$(e,n,t=null,r=null){return e0(JM(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,he).pipe(ts(r=>{if(r instanceof um)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof cm?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,i=nm(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(ae(o=>o instanceof zn?[o]:[]))}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Et(i).pipe(Za(o=>{const s=r.children[o],a=function D3(e,n){const t=e.filter(r=>hr(r)===n);return t.push(...e.filter(r=>hr(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function _$(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new v$(e,n,t))}}((o,s)=>(o.push(...s),o)),Zu(null),function w$(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):fl,zg(1),t?Zu(n):jM(()=>new qu))}(),Bt(o=>{if(null===o)return gs(r);const s=S0(o);return function a8(e){e.sort((n,t)=>n.value.outlet===he?-1:t.value.outlet===he?1:n.value.outlet.localeCompare(t.value.outlet))}(s),te(s)}))}processSegment(n,t,r,i,o,s){return Et(t).pipe(Za(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(ts(l=>{if(l instanceof cm)return te(null);throw l}))),Fi(a=>!!a),ts(a=>{if(w0(a))return function n8(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?te(new r8):gs(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function t8(e,n,t,r){return!!(hr(e)===r||r!==he&&ad(n,t,e))&&hm(n,e,t).matched}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):gs(i):gs(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=hm(t,i,o);if(!a)return gs(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(Bt(h=>this.processSegment(n,r,t,h.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){const s=Y3(t,r,i,n);return"**"===r.path&&(t.children={}),s.pipe(wn(a=>a.matched?this.getChildConfig(n=r._injector??n,r,i).pipe(wn(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:h}=a,p=new rm(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function c8(e){return e.data||{}}(r),hr(r),r.component??r._loadedComponent??null,r,function u8(e){return e.resolve||{}}(r)),{segmentGroup:v,slicedSegments:C}=E0(t,u,d,l);if(0===C.length&&v.hasChildren())return this.processChildren(c,l,v).pipe(ae(k=>null===k?null:new zn(p,k)));if(0===l.length&&0===C.length)return te(new zn(p,[]));const I=hr(r)===o;return this.processSegment(c,l,v,C,I?he:o,!0).pipe(ae(k=>new zn(p,k instanceof zn?[k]:[])))})):gs(t)))}getChildConfig(n,t,r){return t.children?te({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?te({routes:t._loadedRoutes,injector:t._loadedInjector}):function z3(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?te(!0):te(i.map(s=>{const a=fs(s,e);return ri(function N3(e){return e&&sl(e.canLoad)}(a)?a.canLoad(n,t):pi(e,()=>a(n,t)))})).pipe(ps(),D0())}(n,t,r).pipe(Bt(i=>i?this.configLoader.loadChildren(n,t).pipe(Ze(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function q3(e){return Rr(v0(!1,Tn.GuardRejected))}())):te({routes:[],injector:n})}}function l8(e){const n=e.value.routeConfig;return n&&""===n.path}function S0(e){const n=[],t=new Set;for(const r of e){if(!l8(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=S0(r.children);n.push(new zn(r.value,i))}return n.filter(r=>!t.has(r))}function M0(e){const n=e.children.map(t=>M0(t)).flat();return[e,...n]}function fm(e){return wn(n=>{const t=e(n);return t?Et(t).pipe(ae(()=>n)):te(n)})}let I0=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===he);return r}getResolvedTitleForRoute(t){return t.data[Ya]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(m8),providedIn:"root"})}return e})(),m8=(()=>{class e extends I0{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(x(LV))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ms=new U("",{providedIn:"root",factory:()=>({})}),_s=new U("");let pm=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=P(wD)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return te(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=ri(t.loadComponent()).pipe(ae(T0),Ze(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Gg(()=>{this.componentLoaders.delete(t)})),i=new $g(r,()=>new ft).pipe(Ug());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return te({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function _8(e,n,t,r){return ri(e.loadChildren()).pipe(ae(T0),Bt(i=>i instanceof Ab||Array.isArray(i)?te(i):Et(n.compileModuleAsync(i))),ae(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(t).injector,s=o.get(_s,[],{optional:!0,self:!0}).flat()),{routes:s.map(lm),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Gg(()=>{this.childrenLoaders.delete(r)})),s=new $g(o,()=>new ft).pipe(Ug());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function T0(e){return function v8(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let gm=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(y8),providedIn:"root"})}return e})(),y8=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const A0=new U(""),O0=new U("");function b8(e,n,t){const r=e.get(O0),i=e.get(qe);return e.get(pe).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),function C8(e){return new Promise(n=>{Yy(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&pi(e,()=>l({transition:a,from:n,to:t})),s})}let ld=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ft,this.transitionAbortSubject=new ft,this.configLoader=P(pm),this.environmentInjector=P(pn),this.urlSerializer=P(as),this.rootContexts=P(tl),this.location=P(Yo),this.inputBindingEnabled=null!==P(id,{optional:!0}),this.titleStrategy=P(I0),this.options=P(ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=P(gm),this.createViewTransition=P(A0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>te(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new a3(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new s3(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new cn({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:el,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(on(o=>0!==o.id),ae(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),wn(o=>{this.currentTransition=o;let s=!1,a=!1;return te(o).pipe(Ze(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),wn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new us(l.id,this.urlSerializer.serialize(l.rawUrl),d,nd.IgnoredSameUrlNavigation)),l.resolve(null),xr}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return te(l).pipe(wn(d=>{const h=this.transitions?.getValue();return this.events.next(new td(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?xr:Promise.resolve(d)}),function d8(e,n,t,r,i,o){return Bt(s=>function i8(e,n,t,r,i,o,s="emptyOnly"){return new s8(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(ae(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Ze(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const h=new a0(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:h,source:p,restoredState:v,extras:C}=l,I=new td(d,this.urlSerializer.serialize(h),p,v);this.events.next(I);const k=d0(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:k,urlAfterRedirects:h,extras:{...C,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,te(o)}{const d="";return this.events.next(new us(l.id,this.urlSerializer.serialize(l.extractedUrl),d,nd.IgnoredByUrlHandlingStrategy)),l.resolve(null),xr}}),Ze(l=>{const c=new n3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ae(l=>(this.currentTransition=o={...l,guards:M3(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function F3(e,n){return Bt(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?te({...t,guardsResult:!0}):function L3(e,n,t,r){return Et(e).pipe(Bt(i=>function $3(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?te(o.map(a=>{const l=rl(n)??i,c=fs(a,l);return ri(function P3(e){return e&&sl(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):pi(l,()=>c(e,n,t,r))).pipe(Fi())})).pipe(ps()):te(!0)}(i.component,i.route,t,n,r)),Fi(i=>!0!==i,!0))}(s,r,i,e).pipe(Bt(a=>a&&function O3(e){return"boolean"==typeof e}(a)?function V3(e,n,t,r){return Et(n).pipe(Za(i=>Hg(function j3(e,n){return null!==e&&n&&n(new l3(e)),te(!0)}(i.route.parent,r),function B3(e,n){return null!==e&&n&&n(new u3(e)),te(!0)}(i.route,r),function U3(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function I3(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>BM(()=>te(s.guards.map(l=>{const c=rl(s.node)??t,u=fs(l,c);return ri(function R3(e){return e&&sl(e.canActivateChild)}(u)?u.canActivateChild(r,e):pi(c,()=>u(r,e))).pipe(Fi())})).pipe(ps())));return te(o).pipe(ps())}(e,i.path,t),function H3(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return te(!0);const i=r.map(o=>BM(()=>{const s=rl(n)??t,a=fs(o,s);return ri(function x3(e){return e&&sl(e.canActivate)}(a)?a.canActivate(n,e):pi(s,()=>a(n,e))).pipe(Fi())}));return te(i).pipe(ps())}(e,i.route,t))),Fi(i=>!0!==i,!0))}(r,o,e,n):te(a)),ae(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),Ze(l=>{if(o.guardsResult=l.guardsResult,ls(l.guardsResult))throw _0(0,l.guardsResult);const c=new r3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),on(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",Tn.GuardRejected),!1)),fm(l=>{if(l.guards.canActivateChecks.length)return te(l).pipe(Ze(c=>{const u=new i3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),wn(c=>{let u=!1;return te(c).pipe(function h8(e,n){return Bt(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return te(t);const o=new Set(i.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of M0(l))s.add(c);let a=0;return Et(s).pipe(Za(l=>o.has(l)?function f8(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!p0(i)&&(o[Ya]=i.title),function p8(e,n,t,r){const i=Wg(e);if(0===i.length)return te({});const o={};return Et(i).pipe(Bt(s=>function g8(e,n,t,r){const i=rl(n)??r,o=fs(e,i);return ri(o.resolve?o.resolve(n,t):pi(i,()=>o(n,t)))}(e[s],n,t,r).pipe(Fi(),Ze(a=>{o[s]=a}))),zg(1),function D$(e){return n=>n.lift(new E$(e))}(o),ts(s=>w0(s)?xr:Rr(s)))}(o,e,n,r).pipe(ae(s=>(e._resolvedData=s,e.data=nm(e,e.parent,t).resolve,null)))}(l,r,e,n):(l.data=nm(l,l.parent,e).resolve,te(void 0))),Ze(()=>a++),zg(1),Bt(l=>a===s.size?te(t):xr))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",Tn.NoDataFromResolver)}}))}),Ze(c=>{const u=new o3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),fm(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(Ze(h=>{u.component=h}),ae(()=>{})));for(const h of u.children)d.push(...c(h));return d};return jg(c(l.targetSnapshot.root)).pipe(Zu(null),ti(1))}),fm(()=>this.afterPreactivation()),wn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Et(u).pipe(ae(()=>o)):te(o)}),ae(l=>{const c=function g3(e,n,t){const r=nl(e,n._root,t?t._root:void 0);return new u0(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),Ze(()=>{this.events.next(new Xg)}),((e,n,t,r)=>ae(i=>(new S3(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ti(1),Ze({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),_M(this.transitionAbortSubject.pipe(Ze(l=>{throw l}))),Gg(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",Tn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ts(l=>{if(a=!0,y0(l))this.events.next(new cs(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function v3(e){return y0(e)&&ls(e.url)}(l)?this.events.next(new Jg(l.url)):o.resolve(!1);else{this.events.next(new rd(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(c)}}return xr}))}))}cancelNavigationTransition(t,r,i){const o=new cs(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function w8(e){return e!==el}let D8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(S8),providedIn:"root"})}return e})();class E8{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let S8=(()=>{class e extends E8{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),N0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>P(M8),providedIn:"root"})}return e})(),M8=(()=>{class e extends N0{constructor(){super(...arguments),this.location=P(Yo),this.urlSerializer=P(as),this.options=P(ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=P(gm),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ss,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=d0(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(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof td)this.stateMemento=this.createStateMemento();else if(t instanceof us)this.rawUrlTree=r.initialUrl;else if(t instanceof a0){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof Xg?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof cs&&(t.code===Tn.GuardRejected||t.code===Tn.NoDataFromResolver)?this.restoreHistory(r):t instanceof rd?this.restoreHistory(r,!0):t instanceof Pr&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=bt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var al=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(al||{});function x0(e,n){e.events.pipe(on(t=>t instanceof Pr||t instanceof cs||t instanceof rd||t instanceof us),ae(t=>t instanceof Pr||t instanceof us?al.COMPLETE:t instanceof cs&&(t.code===Tn.Redirect||t.code===Tn.SupersededByNewNavigation)?al.REDIRECTING:al.FAILED),on(t=>t!==al.REDIRECTING),ti(1)).subscribe(()=>{n()})}function I8(e){throw e}const T8={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},A8={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Gn=(()=>{class e{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=P(hD),this.stateManager=P(N0),this.options=P(ms,{optional:!0})||{},this.pendingTasks=P(fa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=P(ld),this.urlSerializer=P(as),this.location=P(Yo),this.urlHandlingStrategy=P(gm),this._events=new ft,this.errorHandler=this.options.errorHandler||I8,this.navigated=!1,this.routeReuseStrategy=P(D8),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=P(_s,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!P(id,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=P(pe)instanceof pe&&pe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof cs&&r.code!==Tn.Redirect&&r.code!==Tn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Pr)this.navigated=!0;else if(r instanceof Jg){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||w8(i.source)};this.scheduleNavigation(s,el,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function N8(e){return!(e instanceof Xg||e instanceof Jg)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),el,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(lm),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(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=JM(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return e0(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=ls(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,el,null,r)}navigate(t,r={skipLocationChange:!1}){return function O8(e){for(let n=0;n(null!=o&&(r[i]=o),r),{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});const u=this.pendingTasks.add();return x0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cd=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new ft,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Pr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const r=null===this.href?null:function wv(e,n,t){return function qA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Cv:bv}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}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(r){return new(r||e)(T(Gn),T(hs),Gs("tabindex"),T(Sr),T(mt),T(Ii))};static#t=this.\u0275dir=Q({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){1&r&&$("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&zt("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[z.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Xe],skipLocationChange:[z.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Xe],replaceUrl:[z.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Xe],routerLink:"routerLink"},standalone:!0,features:[Nc,$t]})}return e})(),R0=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ue,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Pr&&this.update()})}ngAfterContentInit(){te(this.links.changes,te(null)).pipe(is()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Et(t).pipe(is()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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(t))})}isLinkActive(t){const r=function x8(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{const o=i.urlTree;return!!o&&t.isActive(o,r)}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(r){return new(r||e)(T(Gn),T(mt),T(Sr),T(Eo),T(cd,8))};static#t=this.\u0275dir=Q({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(1&r&&pw(o,cd,5),2&r){let s;Zr(s=Yr())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[$t]})}return e})();class P0{}let R8=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(on(t=>t instanceof Pr),Za(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=xc(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Et(i).pipe(is())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):te(null);const o=i.pipe(Bt(s=>null===s?te(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Et([o,this.loader.loadComponent(r)]).pipe(is()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(x(Gn),x(wD),x(pn),x(P0),x(pm))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const mm=new U("");let k0=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof td?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Pr?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof us&&t.code===nd.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof l0&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new l0(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ey(){throw new Error("invalid")}()};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function fr(e,n){return{\u0275kind:e,\u0275providers:n}}function L0(){const e=P(At);return n=>{const t=e.get(Mr);if(n!==t.components[0])return;const r=e.get(Gn),i=e.get(V0);1===e.get(_m)&&r.initialNavigation(),e.get(B0,null,ge.Optional)?.setUpPreloading(),e.get(mm,null,ge.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const V0=new U("",{factory:()=>new ft}),_m=new U("",{providedIn:"root",factory:()=>1}),B0=new U("");function L8(e){return fr(0,[{provide:B0,useExisting:R8},{provide:P0,useExisting:e}])}function B8(e){return fr(9,[{provide:A0,useValue:b8},{provide:O0,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const j0=new U("ROUTER_FORROOT_GUARD"),j8=[Yo,{provide:as,useClass:qg},Gn,tl,{provide:hs,useFactory:function F0(e){return e.routerState.root},deps:[Gn]},pm,[]];let H0=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[j8,[],{provide:_s,multi:!0,useValue:t},{provide:j0,useFactory:z8,deps:[[Gn,new Bl,new jl]]},{provide:ms,useValue:r||{}},r?.useHash?{provide:Ii,useClass:fF}:{provide:Ii,useClass:iE},{provide:mm,useFactory:()=>{const e=P(FL),n=P(pe),t=P(ms),r=P(ld),i=P(as);return t.scrollOffset&&e.setOffset(t.scrollOffset),new k0(i,r,e,n,t)}},r?.preloadingStrategy?L8(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?G8(r):[],r?.bindToComponentInputs?fr(8,[g0,{provide:id,useExisting:g0}]).\u0275providers:[],r?.enableViewTransitions?B8().\u0275providers:[],[{provide:U0,useFactory:L0},{provide:wp,multi:!0,useExisting:U0}]]}}static forChild(t){return{ngModule:e,providers:[{provide:_s,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(j0,8))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({})}return e})();function z8(e){return"guarded"}function G8(e){return["disabled"===e.initialNavigation?fr(3,[{provide:bp,multi:!0,useFactory:()=>{const n=P(Gn);return()=>{n.setUpLocationChangeListener()}}},{provide:_m,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?fr(2,[{provide:_m,useValue:0},{provide:bp,multi:!0,deps:[At],useFactory:n=>{const t=n.get(dF,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Gn),o=n.get(V0);x0(i,()=>{r(!0)}),n.get(ld).afterPreactivation=()=>(r(!0),o.closed?te(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const U0=new U("");let q8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=qi({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(r,i){1&r&&(y(0,"a",0),b(1,"the source code of the demo"),_(),y(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Examples"),_()(),y(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),X(10,"router-outlet"))},dependencies:[am,cd,R0],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2})}return e})();const Vi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],vm=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],ud=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],Z8=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],Y8=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],K8=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],Q8=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],ym=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],X8=[{value:!0,label:"true"},{value:!1,label:"false"}],J8=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],ez=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],$0=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],z0=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],G0=[];for(let e=1;e<=50;e++)G0.push({value:e,label:">"+e});const W0=[];for(let e=1;e<=200;e++)W0.push({value:e,label:"item n\xb0 "+e});const q0=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],tz=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],nz=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let Z0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Q({type:e,selectors:[["select2-hint"]]})}return e})(),Y0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Q({type:e,selectors:[["select2-label"]]})}return e})();function rz(e,n){if(1&e&&(y(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;S(),bn(null==t?null:t.color),S(),de(": ",null==t?null:t.name,"")}}function iz(e,n){if(1&e&&(y(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;S(),bn(null==t?null:t.color),S(),de(": ",null==t?null:t.name,"")}}function oz(e,n){if(1&e&&(y(0,"strong"),b(1),_()),2&e){const t=n.label;S(),de("(",t,")")}}function sz(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=n.data;Hc("background",null==t?null:t.color),S(),bn(null==t?null:t.name)}}function az(e,n){if(1&e&&(y(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;S(),bn(null==t?null:t.color),S(),de(": ",null==t?null:t.name,"")}}function lz(e,n){1&e&&(b(0),Qc(1,"json")),2&e&&bn(Xc(1,1,n.data))}const cz=(e,n)=>({option:e,group:n}),uz=(e,n,t)=>({template1:e,template2:n,template3:t});let K0=(()=>{class e{constructor(t){this.fb=t,this.data1=Vi,this.data2=vm,this.data3=ud,this.data4=JSON.parse(JSON.stringify(ud)),this.data5=Z8,this.data6=Y8,this.data7=JSON.parse(JSON.stringify(ud)),this.data8=[],this.data9=JSON.parse(JSON.stringify(Vi)),this.data10=JSON.parse(JSON.stringify(Vi)),this.data11=JSON.parse(JSON.stringify(Vi)),this.data12=JSON.parse(JSON.stringify(Vi)),this.data13=X8,this.data15=vm,this.data16=vm,this.data17=J8,this.data18=Q8,this.data19=ym,this.data20=JSON.parse(JSON.stringify(ym)),this.data21=JSON.parse(JSON.stringify(ym)),this.data22=ez,this.data23=$0,this.data24=z0,this.data25=JSON.parse(JSON.stringify($0)),this.data26=G0,this.data28=W0,this.data29=JSON.parse(JSON.stringify(ud)),this.data29b=JSON.parse(JSON.stringify(Vi)),this.data30=JSON.parse(JSON.stringify(Vi)),this.data31=q0,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new uB({state:new _e}),this.ctrlForm=this.fb.group({test11:new _e(null,tS.required)}),this.ctrlForm2=this.fb.group({test5:new _e(0,tS.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=K8}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=q0;break;case"french":this.data31=tz;break;case"japanese":this.data31=nz}}static#e=this.\u0275fac=function(r){return new(r||e)(T(tM))};static#t=this.\u0275cmp=qi({type:e,selectors:[["app-root"]],decls:182,vars:155,consts:[["for","disabled"],["id","disabled","type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["select20",""],["listPosition","above","id","selec2-20",3,"overlay","data","value","styleMode","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"overlay","data","value","update"],["id","ex-31"],[3,"change"],["select31",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"],["id","ex-32"],["resettable","","autoCreat","","resetSelectedValue","CA","id","selec2-32",3,"overlay","data","value","autoCreateItem"]],template:function(r,i){if(1&r){const o=ar();y(0,"h2"),b(1,"Examples"),_(),y(2,"label",0),b(3,"overlay : "),_(),y(4,"input",1),Go("ngModelChange",function(a){return Ea(i.overlay,a)||(i.overlay=a),a}),_(),y(5,"div",2)(6,"h3",3),b(7),_(),y(8,"select2",4),$("update",function(a){return i.update("value1",a)})("change",function(a){return i.change("change1",a)})("blur",function(a){return i.blur("blur1",a)})("focus",function(a){return i.focus("focus1",a)})("open",function(a){return i.open("open1",a)})("close",function(a){return i.close("close1",a)})("search",function(a){return i.search("search1",a)}),_(),y(9,"h3",5),b(10),_(),y(11,"select2",6),$("update",function(a){return i.update("value2",a)}),_(),y(12,"h3",7),b(13),_(),y(14,"select2",8),$("update",function(a){return i.update("value3",a)}),_(),y(15,"h3",9),b(16),_(),X(17,"select2",10),y(18,"h3",11),b(19),_(),y(20,"form",12)(21,"select2",13),$("update",function(a){return i.update("value5",a)}),_()(),y(22,"h3",14),b(23," 6. search limit to "),X(24,"input",15,16),b(26," / display status "),y(27,"select",null,17)(29,"option",18),b(30,"default"),_(),y(31,"option"),b(32,"hidden"),_(),y(33,"option"),b(34,"always"),_()(),b(35),_(),y(36,"div")(37,"button",19),$("click",function(){return i.addItem()}),b(38,"Add item"),_(),y(39,"button",19),$("click",function(){return i.removeItem()}),b(40,"Remove item"),_()(),y(41,"select2",20),$("update",function(a){return i.update("value6",a)}),_(),y(42,"h3",21),b(43),_(),y(44,"select2",22),$("update",function(a){return i.update("value7",a)}),_(),y(45,"h3",23),b(46),_(),y(47,"select2",24),$("open",function(){return i.open8()})("close",function(){return i.close8()})("search",function(a){return i.search8(a)})("update",function(a){return i.update("value8",a)}),y(48,"select2-hint"),b(49),_()(),y(50,"h3",25),b(51,"9. multiple + limite "),y(52,"input",26),Go("ngModelChange",function(a){return Ea(i.limitSelection,a)||(i.limitSelection=a),a}),_(),b(53),Qc(54,"json"),_(),y(55,"select2",27),$("update",function(a){return i.update("value9",a)})("blur",function(a){return i.blur("blur9",a)})("focus",function(a){return i.focus("focus9",a)})("open",function(a){return i.open("open9",a)})("close",function(a){return i.close("close9",a)})("search",function(a){return i.search("search9",a)}),_(),y(56,"h3",28),b(57),Qc(58,"json"),_(),y(59,"select2",29),$("update",function(a){return i.update("value10",a)}),_(),y(60,"h3",30),b(61),_(),y(62,"form",12)(63,"select2",31),Go("ngModelChange",function(a){return Ea(i.value11,a)||(i.value11=a),a}),_(),y(64,"button",32),$("click",function(){return i.reset11()}),b(65,"reset"),_(),y(66,"button",32),$("click",function(){return i.change11()}),b(67,"Utah"),_()(),y(68,"h3",33),b(69),_(),y(70,"select2",34),$("update",function(a){return i.update("value12",a)}),_(),y(71,"h3",35),b(72),_(),y(73,"select2",36),$("update",function(a){return i.update("value13",a)}),_(),y(74,"h3",37),b(75,"14. FormControl"),_(),y(76,"form",12),X(77,"select2",38),y(78,"button",32),$("click",function(){return i.print()}),b(79,"Log Selected"),_(),y(80,"button",32),$("click",function(){return i.resetForm()}),b(81,"Reset Form"),_()(),y(82,"h3",39),b(83),_(),y(84,"select2",40),$("update",function(a){return i.update("value15",a)}),y(85,"select2-label"),b(86,"Select a state"),_()(),y(87,"h3",41),b(88),_(),y(89,"select2",42),$("update",function(a){return i.update("value16",a)}),y(90,"select2-label"),b(91,"Select a state"),_()(),y(92,"h3",43),b(93),_(),y(94,"select2",44),$("update",function(a){return i.update("value17",a)}),_(),y(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),y(97,"select2",46),$("update",function(a){return i.update("value18",a)}),_(),y(98,"h3",47),b(99),_(),y(100,"select2",48),$("update",function(a){return i.update("value19",a)}),_(),y(101,"div",49)(102,"h3",50),b(103),_(),y(104,"select",null,51)(106,"option",18),b(107,"noStyle"),_(),y(108,"option"),b(109,"borderless"),_()(),X(110,"br"),y(111,"select2",52),$("update",function(a){return i.update("value20",a)}),_()(),y(112,"h3",53),b(113),_(),y(114,"select2",54),$("update",function(a){return i.update("value21",a)}),_(),y(115,"button",32),$("click",function(){return i.value21=""}),b(116,"Update value to empty string"),_(),y(117,"button",32),$("click",function(){return i.value21=null}),b(118,"Update value to null"),_(),y(119,"button",32),$("click",function(){return i.value21=void 0}),b(120,"Update value to undefined"),_(),y(121,"h3",55),b(122),_(),y(123,"select2",56),$("update",function(a){return i.update("value22",a)}),_(),y(124,"h3",57),b(125),_(),y(126,"select2",58),$("update",function(a){return i.update("value23",a)}),be(127,rz,3,2,"ng-template",null,59,rn),_(),y(129,"h3",60),b(130),_(),y(131,"select2",61),$("update",function(a){return i.update("value24",a)}),be(132,iz,3,2,"ng-template",null,62,rn)(134,oz,2,1,"ng-template",null,63,rn),_(),y(136,"h3",64),b(137),_(),y(138,"select2",65),$("update",function(a){return i.update("value25",a)}),be(139,sz,2,3,"ng-template",null,66,rn)(141,az,3,2,"ng-template",null,67,rn)(143,lz,2,3,"ng-template",null,68,rn),_(),y(145,"h3",69),b(146),_(),y(147,"select2",70),$("update",function(a){return i.update("value26",a)})("scroll",function(a){return i.scroll26(a)}),_(),y(148,"h3",71),b(149),_(),y(150,"select2",72),$("update",function(a){return i.update("value2",a)}),_(),y(151,"h3",73),b(152),_(),y(153,"select2",74),$("update",function(a){return i.update("value28",a)}),_(),y(154,"h3",75),b(155),_(),y(156,"select2",76),$("update",function(a){return i.update("value29",a)}),_(),y(157,"h3",77),b(158),_(),y(159,"select2",78),$("update",function(a){return i.update("value29b",a)}),_(),y(160,"h3",79),b(161),_(),y(162,"select2",80),$("update",function(a){return i.update("value30",a)}),_(),y(163,"h3",81),b(164),_(),y(165,"select",82,83),$("change",function(){xe(o);const a=ct(166);return Re(i.changeData31(a.value))}),y(167,"option"),b(168,"english"),_(),y(169,"option"),b(170,"french"),_(),y(171,"option"),b(172,"japanese"),_()(),X(173,"br"),b(174," Value : "),y(175,"select2",84),$("update",function(a){return i.update("value31",a)}),_(),X(176,"br"),b(177," NgModel : "),y(178,"select2",85),Go("ngModelChange",function(a){return Ea(i.value31b,a)||(i.value31b=a),a}),$("update",function(a){return i.update("value31b",a)}),_(),y(179,"h3",86),b(180),_(),y(181,"select2",87),$("autoCreateItem",function(a){return i.update("value32",a)}),_()()}if(2&r){const o=ct(25),s=ct(28),a=ct(105),l=ct(128),c=ct(133),u=ct(135),d=ct(140),h=ct(142),p=ct(144);S(4),zo("ngModel",i.overlay),S(3),de("1. options in group (",i.value1,")"),S(),H("overlay",i.overlay)("data",i.data1)("value",i.value1),S(2),de("2. options (",i.value2,")"),S(),H("overlay",i.overlay)("data",i.data2)("value",i.value2),S(2),de("3. less options (",i.value3,")"),S(),H("overlay",i.overlay)("data",i.data3)("value",i.value3),S(2),de("4. disabled (",i.value4,")"),S(),H("overlay",i.overlay)("data",i.data4)("value",i.value4)("disabled",!0),S(2),de("5. hide search box (",i.value5,")"),S(),H("formGroup",i.ctrlForm2),S(),H("overlay",i.overlay)("data",i.data5)("minCountForSearch",i.minCountForSearch),S(14),de(" (",i.value6,") "),S(6),H("overlay",i.overlay)("data",i.data6)("value",i.value6)("minCountForSearch",o.value)("displaySearchStatus",s.value),S(2),de("7. placeholder (",i.value7,")"),S(),H("overlay",i.overlay)("data",i.data7),S(2),de("8. open, close and search event (",i.value8,")"),S(),H("overlay",i.overlay)("data",i.data8),S(2),de("value : ",i.value8,""),S(3),zo("ngModel",i.limitSelection),S(),de(" (",Xc(54,144,i.value9),")"),S(2),H("overlay",i.overlay)("data",i.data9)("value",i.value9)("limitSelection",i.limitSelection),S(2),de("10. multiple + hide selected items (",Xc(58,146,i.value10),")"),S(2),H("overlay",i.overlay)("data",i.data10)("value",i.value10),S(2),de("11. material style and form binding (",i.value11,")"),S(),H("formGroup",i.ctrlForm),S(),H("overlay",i.overlay),zo("ngModel",i.value11),H("data",i.data11),S(6),de("12. material style (",i.value12,")"),S(),H("overlay",i.overlay)("data",i.data12)("value",i.value12),S(2),de("13. boolean value (",i.value13,")"),S(),H("overlay",i.overlay)("data",i.data13)("value",i.value13),S(3),H("formGroup",i.fg),S(),H("overlay",i.overlay)("data",i.data9),S(6),de("15. with label (",i.value15,")"),S(),H("overlay",i.overlay)("data",i.data15)("value",i.value15),S(4),de("16. required with label (",i.value16,")"),S(),H("overlay",i.overlay)("data",i.data16)("value",i.value16),S(4),de("17. with two option labels (",i.value17,")"),S(),H("overlay",i.overlay)("data",i.data17)("value",i.value17),S(3),H("overlay",i.overlay)("data",i.data18)("value",i.value18),S(2),de("19. dropdown list position above (",i.value19,")"),S(),H("overlay",i.overlay)("data",i.data19)("value",i.value19),S(3),de("20. nostyle (",i.value20,")"),S(8),H("overlay",i.overlay)("data",i.data20)("value",i.value20)("styleMode",(null==a?null:a.value)||"noStyle"),S(2),de("21. update to empty/null/undefined (",i.value21,")"),S(),H("overlay",i.overlay)("data",i.data21)("value",i.value21),S(8),de("22. with item classes and id (",i.value22,")"),S(),H("overlay",i.overlay)("data",i.data22)("value",i.value22),S(2),de("23. with template (",i.value23,")"),S(),H("overlay",i.overlay)("data",i.data23)("value",i.value23)("templates",l),S(4),de("24. with template (option / group) (",i.value24,")"),S(),H("overlay",i.overlay)("data",i.data24)("value",i.value24)("templates",zw(148,cz,c,u)),S(6),de("25. with templates Ids (",i.value25,")"),S(),H("overlay",i.overlay)("data",i.data25)("value",i.value25)("templates",Gw(151,uz,d,h,p)),S(8),de("26. infiniteScroll(",i.value26,")"),S(),H("overlay",i.overlay)("data",i.data26)("value",i.value26),S(2),de("27. position (",i.value2,")"),S(),H("overlay",i.overlay)("data",i.data2)("value",i.value2),S(2),de("28. max results 50 (",i.value28,")"),S(),H("overlay",i.overlay)("data",i.data28)("value",i.value28),S(2),de("29. option autocreate (",i.value29,")"),S(),H("overlay",i.overlay)("data",i.data29)("value",i.value29),S(2),de("29b. option autocreate search search (",i.value29b,")"),S(),H("overlay",i.overlay)("data",i.data29b)("value",i.value29b),S(2),de("30. selected option when \xd7 is clicked (",i.value30,")"),S(),H("overlay",i.overlay)("data",i.data30)("value",i.value30),S(2),de("31. change list (",i.value31,")"),S(11),H("overlay",i.overlay)("data",i.data31)("value",i.value31),S(3),H("overlay",i.overlay)("data",i.data31),zo("ngModel",i.value31b),S(2),de("32. auto create when (",i.value30,")"),S(),H("overlay",i.overlay)("data",i.data30)("value",i.value30)}},dependencies:[FS,Cg,Dg,Ba,Lu,Su,ag,lg,_g,es,Vu,Z0,Y0,LM,bE],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']})}return e})();class dz{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const p=o[u];if(void 0!==p){const v=`${u}${null!==p||p?`="${String(p).replace(/"/g,""e;")}"`:""}`;let C="",I="";const[k,M]=a.split(" ");switch(k){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+v+(d===h.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=z0,this.ctrlForm=this.fb.group({json:new _e(JSON.stringify(this.data,null,2)),label:new _e,hint:new _e,disabled:new _e,overlay:new _e,minCharForSearch:new _e,minCountForSearch:new _e,displaySearchStatus:new _e,placeholder:new _e,multiple:new _e,autoCreate:new _e,resettable:new _e,resetSelectedValue:new _e,limitSelection:new _e,hideSelectedItems:new _e,resultMaxHeight:new _e,listPosition:new _e,infiniteScroll:new _e,infiniteScrollDistance:new _e,infiniteScrollThrottle:new _e,styleMode:new _e,noResultMessage:new _e,maxResults:new _e,maxResultsMessage:new _e,template:new _e,noLabelTemplate:new _e,update:new _e,open:new _e,close:new _e,focus:new _e,blur:new _e,search:new _e,scroll:new _e,removeOption:new _e}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?i.multiple=this._testBoolean(r.multiple):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new dz(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=hz.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}static#e=this.\u0275fac=function(r){return new(r||e)(T(tM))};static#t=this.\u0275cmp=qi({type:e,selectors:[["app-root"]],decls:211,vars:16,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["value","borderless"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""]],template:function(r,i){1&r&&(y(0,"h2"),b(1,"Generator"),_(),y(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),y(6,"div")(7,"label",2),b(8,"json (for "),y(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),X(12,"textarea",3)(13,"div",4),_(),y(14,"h4"),b(15,"tags"),_(),y(16,"div")(17,"label",5),b(18,"label : "),_(),X(19,"input",6),_(),y(20,"div")(21,"label",7),b(22,"hint : "),_(),X(23,"input",8),_(),y(24,"h4"),b(25,"parameters"),_(),y(26,"div")(27,"label",9),b(28,"disabled : "),_(),X(29,"input",10),_(),y(30,"div")(31,"label",11),b(32,"overlay : "),_(),X(33,"input",12),_(),y(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),X(37,"input",14),_(),y(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),X(41,"input",16),_(),y(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),y(45,"select",18)(46,"option",19),b(47,"default"),_(),y(48,"option",20),b(49,"hidden"),_(),y(50,"option",21),b(51,"always"),_()()(),y(52,"div")(53,"label",22),b(54,"placeholder : "),_(),X(55,"input",23),_(),y(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),X(59,"input",25),_(),y(60,"div")(61,"label",26),b(62,"multiple : "),_(),X(63,"input",27),_(),y(64,"div")(65,"label",28),b(66,"resettable : "),_(),X(67,"input",29),_(),y(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),y(71,"select",31)(72,"option",32),b(73,"undefined"),_(),y(74,"option",32),b(75,"null"),_(),y(76,"option",33),b(77,"hibiscus"),_(),y(78,"option",34),b(79,"marigold"),_(),y(80,"option",35),b(81,"sunflower"),_(),y(82,"option",36),b(83,"heliotrope"),_(),y(84,"option",37),b(85,"lily"),_(),y(86,"option",38),b(87,"petunia"),_()()(),y(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),X(91,"input",40),_(),y(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),X(95,"input",42),_(),y(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),X(99,"input",44),_(),y(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),X(103,"input",46),_(),y(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),X(107,"input",48),_(),y(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),X(111,"input",50),_(),y(112,"div")(113,"label",51),b(114,"listPosition :"),_(),y(115,"select",52),X(116,"option"),y(117,"option",53),b(118,"below"),_(),y(119,"option",54),b(120,"above"),_()()(),y(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),X(124,"input",56),_(),y(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),X(128,"input",58),_(),y(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),X(132,"input",60),_(),y(133,"div")(134,"label",61),b(135,"styleMode : "),_(),y(136,"select",62)(137,"option",63),b(138,"default"),_(),y(139,"option",64),b(140,"material"),_(),y(141,"option",65),b(142,"noStyle"),_(),y(143,"option",66),b(144,"borderless"),_()()(),y(145,"h4"),b(146,"Templates"),_(),y(147,"div")(148,"label",67),b(149,"template style :"),_(),y(150,"select",68)(151,"option",69),b(152,"None"),_(),y(153,"option",70),b(154,"Unique template"),_(),y(155,"option",71),b(156,"Template group & option"),_(),y(157,"option",72),b(158,"Template by templateId"),_()()(),y(159,"div")(160,"label",73),b(161,"noLabelTemplate : "),_(),X(162,"input",74),_(),y(163,"h4"),b(164,"Events"),_(),y(165,"div")(166,"label",75),b(167,"update: "),_(),X(168,"input",76),_(),y(169,"div")(170,"label",77),b(171,"open: "),_(),X(172,"input",78),_(),y(173,"div")(174,"label",79),b(175,"close: "),_(),X(176,"input",80),_(),y(177,"div")(178,"label",81),b(179,"focus: "),_(),X(180,"input",82),_(),y(181,"div")(182,"label",83),b(183,"blur: "),_(),X(184,"input",84),_(),y(185,"div")(186,"label",85),b(187,"search: "),_(),X(188,"input",86),b(189," (Required: "),y(190,"code"),b(191,"customSearchEnabled"),_(),b(192,") "),_(),y(193,"div")(194,"label",87),b(195,"scroll: "),_(),X(196,"input",88),_(),y(197,"div")(198,"label",89),b(199,"removeOption: "),_(),X(200,"input",90),_()(),y(201,"div")(202,"div",91)(203,"h4"),b(204,"HTML render"),_(),be(205,yz,13,27,"select2",92),y(206,"h4"),b(207,"HTML Code"),_(),y(208,"div",93)(209,"code"),X(210,"pre",94),_()()()()()),2&r&&(S(3),H("formGroup",i.ctrlForm),S(10),H("innerHTML",i.jsonError,Bn),S(51),wt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),S(4),wt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),S(4),H("value",void 0),S(2),H("value",null),S(22),wt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.multiple)),S(29),wt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScrollDistance)),S(4),wt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScroll)),S(76),Je(205,i.ctrlForm.value?205:-1),S(5),H("highlight",i.html))},dependencies:[Cg,Dg,Ba,Lu,Su,Bu,ag,lg,es,Vu,Z0,Y0,LM,mj],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]})}return e})()},{path:"**",component:K0}];let Cz=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=_t({imports:[H0.forRoot(bz),H0]})}return e})(),wz=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e,bootstrap:[q8]});static#n=this.\u0275inj=_t({providers:[{provide:Uu,useValue:{coreLibraryLoader:()=>N.e(344).then(N.bind(N,344)),lineNumbersLoader:()=>N.e(328).then(N.t.bind(N,328,23)),languages:{typescript:()=>N.e(876).then(N.bind(N,876)),javascript:()=>N.e(212).then(N.bind(N,212)),css:()=>N.e(436).then(N.bind(N,436)),xml:()=>N.e(408).then(N.bind(N,408))}}}],imports:[FV,Cz,Sg,JU,_j]})}return e})();PV().bootstrapModule(wz).catch(e=>console.log(e))},237:function(sn){sn.exports=function(Ce){var N={};function q(V){if(N[V])return N[V].exports;var D=N[V]={i:V,l:!1,exports:{}};return Ce[V].call(D.exports,D,D.exports,q),D.l=!0,D.exports}return q.m=Ce,q.c=N,q.d=function(V,D,w){q.o(V,D)||Object.defineProperty(V,D,{enumerable:!0,get:w})},q.r=function(V){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(V,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(V,"__esModule",{value:!0})},q.t=function(V,D){if(1&D&&(V=q(V)),8&D||4&D&&"object"==typeof V&&V&&V.__esModule)return V;var w=Object.create(null);if(q.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:V}),2&D&&"string"!=typeof V)for(var W in V)q.d(w,W,function(f){return V[f]}.bind(null,W));return w},q.n=function(V){var D=V&&V.__esModule?function(){return V.default}:function(){return V};return q.d(D,"a",D),D},q.o=function(V,D){return Object.prototype.hasOwnProperty.call(V,D)},q.p="",q(q.s=90)}({17:function(Ce,N,q){"use strict";N.__esModule=!0,N.default=void 0;var V=q(18),D=function(){function w(){}return w.getFirstMatch=function(W,f){var g=f.match(W);return g&&g.length>0&&g[1]||""},w.getSecondMatch=function(W,f){var g=f.match(W);return g&&g.length>1&&g[2]||""},w.matchAndReturnConst=function(W,f,g){if(W.test(f))return g},w.getWindowsVersionName=function(W){switch(W){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},w.getMacOSVersionName=function(W){var f=W.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(f.push(0),10===f[0])switch(f[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},w.getAndroidVersionName=function(W){var f=W.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(f.push(0),!(1===f[0]&&f[1]<5))return 1===f[0]&&f[1]<6?"Cupcake":1===f[0]&&f[1]>=6?"Donut":2===f[0]&&f[1]<2?"Eclair":2===f[0]&&2===f[1]?"Froyo":2===f[0]&&f[1]>2?"Gingerbread":3===f[0]?"Honeycomb":4===f[0]&&f[1]<1?"Ice Cream Sandwich":4===f[0]&&f[1]<4?"Jelly Bean":4===f[0]&&f[1]>=4?"KitKat":5===f[0]?"Lollipop":6===f[0]?"Marshmallow":7===f[0]?"Nougat":8===f[0]?"Oreo":9===f[0]?"Pie":void 0},w.getVersionPrecision=function(W){return W.split(".").length},w.compareVersions=function(W,f,g){void 0===g&&(g=!1);var m=w.getVersionPrecision(W),j=w.getVersionPrecision(f),F=Math.max(m,j),O=0,L=w.map([W,f],function(Z){var ve=F-w.getVersionPrecision(Z),Ae=Z+new Array(ve+1).join(".0");return w.map(Ae.split("."),function(lt){return new Array(20-lt.length).join("0")+lt}).reverse()});for(g&&(O=F-Math.min(m,j)),F-=1;F>=O;){if(L[0][F]>L[1][F])return 1;if(L[0][F]===L[1][F]){if(F===O)return 0;F-=1}else if(L[0][F]1?j-1:0),O=1;O0){var jt=Object.keys(Z),Ot=f.default.find(jt,function(Ye){return L.isOS(Ye)});if(Ot){var Yt=this.satisfies(Z[Ot]);if(void 0!==Yt)return Yt}var Mt=f.default.find(jt,function(Ye){return L.isPlatform(Ye)});if(Mt){var et=this.satisfies(Z[Mt]);if(void 0!==et)return et}}if(lt>0){var Dn=Object.keys(Ae),an=f.default.find(Dn,function(Ye){return L.isBrowser(Ye,!0)});if(void 0!==an)return this.compareVersion(Ae[an])}},F.isBrowser=function(O,L){void 0===L&&(L=!1);var Z=this.getBrowserName().toLowerCase(),ve=O.toLowerCase(),Ae=f.default.getBrowserTypeByAlias(ve);return L&&Ae&&(ve=Ae.toLowerCase()),ve===Z},F.compareVersion=function(O){var L=[0],Z=O,ve=!1,Ae=this.getBrowserVersion();if("string"==typeof Ae)return">"===O[0]||"<"===O[0]?(Z=O.substr(1),"="===O[1]?(ve=!0,Z=O.substr(2)):L=[],L.push(">"===O[0]?1:-1)):"="===O[0]?Z=O.substr(1):"~"===O[0]&&(ve=!0,Z=O.substr(1)),L.indexOf(f.default.compareVersions(Ae,Z,ve))>-1},F.isOS=function(O){return this.getOSName(!0)===String(O).toLowerCase()},F.isPlatform=function(O){return this.getPlatformType(!0)===String(O).toLowerCase()},F.isEngine=function(O){return this.getEngineName(!0)===String(O).toLowerCase()},F.is=function(O,L){return void 0===L&&(L=!1),this.isBrowser(O,L)||this.isOS(O)||this.isPlatform(O)},F.some=function(O){var L=this;return void 0===O&&(O=[]),O.some(function(Z){return L.is(Z)})},j}();N.default=m,Ce.exports=N.default},92:function(Ce,N,q){"use strict";N.__esModule=!0,N.default=void 0;var V,D=(V=q(17))&&V.__esModule?V:{default:V},w=/version\/(\d+(\.?_?\d+)+)/i;N.default=[{test:[/googlebot/i],describe:function(f){var g={name:"Googlebot"},m=D.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/opera/i],describe:function(f){var g={name:"Opera"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/opr\/|opios/i],describe:function(f){var g={name:"Opera"},m=D.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/SamsungBrowser/i],describe:function(f){var g={name:"Samsung Internet for Android"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/Whale/i],describe:function(f){var g={name:"NAVER Whale Browser"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/MZBrowser/i],describe:function(f){var g={name:"MZ Browser"},m=D.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/focus/i],describe:function(f){var g={name:"Focus"},m=D.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/swing/i],describe:function(f){var g={name:"Swing"},m=D.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/coast/i],describe:function(f){var g={name:"Opera Coast"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(f){var g={name:"Opera Touch"},m=D.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/yabrowser/i],describe:function(f){var g={name:"Yandex Browser"},m=D.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/ucbrowser/i],describe:function(f){var g={name:"UC Browser"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/Maxthon|mxios/i],describe:function(f){var g={name:"Maxthon"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/epiphany/i],describe:function(f){var g={name:"Epiphany"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/puffin/i],describe:function(f){var g={name:"Puffin"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/sleipnir/i],describe:function(f){var g={name:"Sleipnir"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/k-meleon/i],describe:function(f){var g={name:"K-Meleon"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/micromessenger/i],describe:function(f){var g={name:"WeChat"},m=D.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/qqbrowser/i],describe:function(f){var g={name:/qqbrowserlite/i.test(f)?"QQ Browser Lite":"QQ Browser"},m=D.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/msie|trident/i],describe:function(f){var g={name:"Internet Explorer"},m=D.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/\sedg\//i],describe:function(f){var g={name:"Microsoft Edge"},m=D.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/edg([ea]|ios)/i],describe:function(f){var g={name:"Microsoft Edge"},m=D.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/vivaldi/i],describe:function(f){var g={name:"Vivaldi"},m=D.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/seamonkey/i],describe:function(f){var g={name:"SeaMonkey"},m=D.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/sailfish/i],describe:function(f){var g={name:"Sailfish"},m=D.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,f);return m&&(g.version=m),g}},{test:[/silk/i],describe:function(f){var g={name:"Amazon Silk"},m=D.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/phantom/i],describe:function(f){var g={name:"PhantomJS"},m=D.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/slimerjs/i],describe:function(f){var g={name:"SlimerJS"},m=D.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(f){var g={name:"BlackBerry"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/(web|hpw)[o0]s/i],describe:function(f){var g={name:"WebOS Browser"},m=D.default.getFirstMatch(w,f)||D.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/bada/i],describe:function(f){var g={name:"Bada"},m=D.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/tizen/i],describe:function(f){var g={name:"Tizen"},m=D.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/qupzilla/i],describe:function(f){var g={name:"QupZilla"},m=D.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/firefox|iceweasel|fxios/i],describe:function(f){var g={name:"Firefox"},m=D.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/electron/i],describe:function(f){var g={name:"Electron"},m=D.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/MiuiBrowser/i],describe:function(f){var g={name:"Miui"},m=D.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/chromium/i],describe:function(f){var g={name:"Chromium"},m=D.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,f)||D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/chrome|crios|crmo/i],describe:function(f){var g={name:"Chrome"},m=D.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/GSA/i],describe:function(f){var g={name:"Google Search"},m=D.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:function(f){var g=!f.test(/like android/i),m=f.test(/android/i);return g&&m},describe:function(f){var g={name:"Android Browser"},m=D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/playstation 4/i],describe:function(f){var g={name:"PlayStation 4"},m=D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/safari|applewebkit/i],describe:function(f){var g={name:"Safari"},m=D.default.getFirstMatch(w,f);return m&&(g.version=m),g}},{test:[/.*/i],describe:function(f){var g=-1!==f.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:D.default.getFirstMatch(g,f),version:D.default.getSecondMatch(g,f)}}}],Ce.exports=N.default},93:function(Ce,N,q){"use strict";N.__esModule=!0,N.default=void 0;var V,D=(V=q(17))&&V.__esModule?V:{default:V},w=q(18);N.default=[{test:[/Roku\/DVP/],describe:function(f){var g=D.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,f);return{name:w.OS_MAP.Roku,version:g}}},{test:[/windows phone/i],describe:function(f){var g=D.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,f);return{name:w.OS_MAP.WindowsPhone,version:g}}},{test:[/windows /i],describe:function(f){var g=D.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,f),m=D.default.getWindowsVersionName(g);return{name:w.OS_MAP.Windows,version:g,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(f){var g={name:w.OS_MAP.iOS},m=D.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,f);return m&&(g.version=m),g}},{test:[/macintosh/i],describe:function(f){var g=D.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,f).replace(/[_\s]/g,"."),m=D.default.getMacOSVersionName(g),j={name:w.OS_MAP.MacOS,version:g};return m&&(j.versionName=m),j}},{test:[/(ipod|iphone|ipad)/i],describe:function(f){var g=D.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,f).replace(/[_\s]/g,".");return{name:w.OS_MAP.iOS,version:g}}},{test:function(f){var g=!f.test(/like android/i),m=f.test(/android/i);return g&&m},describe:function(f){var g=D.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,f),m=D.default.getAndroidVersionName(g),j={name:w.OS_MAP.Android,version:g};return m&&(j.versionName=m),j}},{test:[/(web|hpw)[o0]s/i],describe:function(f){var g=D.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,f),m={name:w.OS_MAP.WebOS};return g&&g.length&&(m.version=g),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(f){var g=D.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,f)||D.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,f)||D.default.getFirstMatch(/\bbb(\d+)/i,f);return{name:w.OS_MAP.BlackBerry,version:g}}},{test:[/bada/i],describe:function(f){var g=D.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,f);return{name:w.OS_MAP.Bada,version:g}}},{test:[/tizen/i],describe:function(f){var g=D.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,f);return{name:w.OS_MAP.Tizen,version:g}}},{test:[/linux/i],describe:function(){return{name:w.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:w.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(f){var g=D.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,f);return{name:w.OS_MAP.PlayStation4,version:g}}}],Ce.exports=N.default},94:function(Ce,N,q){"use strict";N.__esModule=!0,N.default=void 0;var V,D=(V=q(17))&&V.__esModule?V:{default:V},w=q(18);N.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(f){var g=D.default.getFirstMatch(/(can-l01)/i,f)&&"Nova",m={type:w.PLATFORMS_MAP.mobile,vendor:"Huawei"};return g&&(m.model=g),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:w.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:w.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:w.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:w.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:w.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:w.PLATFORMS_MAP.tablet}}},{test:function(f){var g=f.test(/ipod|iphone/i),m=f.test(/like (ipod|iphone)/i);return g&&!m},describe:function(f){var g=D.default.getFirstMatch(/(ipod|iphone)/i,f);return{type:w.PLATFORMS_MAP.mobile,vendor:"Apple",model:g}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:w.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:w.PLATFORMS_MAP.mobile}}},{test:function(f){return"blackberry"===f.getBrowserName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(f){return"bada"===f.getBrowserName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.mobile}}},{test:function(f){return"windows phone"===f.getBrowserName()},describe:function(){return{type:w.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(f){var g=Number(String(f.getOSVersion()).split(".")[0]);return"android"===f.getOSName(!0)&&g>=3},describe:function(){return{type:w.PLATFORMS_MAP.tablet}}},{test:function(f){return"android"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.mobile}}},{test:function(f){return"macos"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(f){return"windows"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.desktop}}},{test:function(f){return"linux"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.desktop}}},{test:function(f){return"playstation 4"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.tv}}},{test:function(f){return"roku"===f.getOSName(!0)},describe:function(){return{type:w.PLATFORMS_MAP.tv}}}],Ce.exports=N.default},95:function(Ce,N,q){"use strict";N.__esModule=!0,N.default=void 0;var V,D=(V=q(17))&&V.__esModule?V:{default:V},w=q(18);N.default=[{test:function(f){return"microsoft edge"===f.getBrowserName(!0)},describe:function(f){if(/\sedg\//i.test(f))return{name:w.ENGINE_MAP.Blink};var g=D.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,f);return{name:w.ENGINE_MAP.EdgeHTML,version:g}}},{test:[/trident/i],describe:function(f){var g={name:w.ENGINE_MAP.Trident},m=D.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:function(f){return f.test(/presto/i)},describe:function(f){var g={name:w.ENGINE_MAP.Presto},m=D.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:function(f){var g=f.test(/gecko/i),m=f.test(/like gecko/i);return g&&!m},describe:function(f){var g={name:w.ENGINE_MAP.Gecko},m=D.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:w.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(f){var g={name:w.ENGINE_MAP.WebKit},m=D.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,f);return m&&(g.version=m),g}}],Ce.exports=N.default}})},108:sn=>{const Ce="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],q=["true","false","null","undefined","NaN","Infinity"],V=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],D=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],w=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],W=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],f=[].concat(w,V,D);sn.exports=function g(m){const j=m.regex,O=Ce,ve={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ln,ht)=>{const Kt=ln[0].length+ln.index,On=ln.input[Kt];if("<"===On||","===On)return void ht.ignoreMatch();let Nn;">"===On&&(((ln,{after:ht})=>{const Kt="",$i={match:[/const|var|let/,/\s+/,O,/\s*/,/=\s*/,/(async\s*)?/,j.lookahead(Cs)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Wn]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Ae,exports:{PARAMS_CONTAINS:ii,CLASS_REFERENCE:ji},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,et,Dn,an,Ye,An,{match:/\$\d+/},Yt,ji,{className:"attr",begin:O+j.lookahead(":"),relevance:0},$i,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[An,m.REGEXP_MODE,{className:"function",begin:Cs,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Ae,contains:ii}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:ve.begin,"on:begin":ve.isTrulyOpeningTag,end:ve.end}],subLanguage:"xml",contains:[{begin:ve.begin,end:ve.end,skip:!0,contains:["self"]}]}]},Hi,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Wn,m.inherit(m.TITLE_MODE,{begin:O,className:"title.function"})]},{match:/\.\.\./,relevance:0},ll,{match:"\\$"+O,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Wn]},oi,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},gr,cl,{match:/\$[(.]/}]}}},312:sn=>{const N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],q=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],V=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],D=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],w=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();sn.exports=function W(f){const g=(f=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:f.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:f.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(f),m=D,j=V,F="@[a-z-]+",Z={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[f.C_LINE_COMMENT_MODE,f.C_BLOCK_COMMENT_MODE,g.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},g.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+N.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+j.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},Z,{begin:/\(/,end:/\)/,contains:[g.CSS_NUMBER_MODE]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+w.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[g.BLOCK_COMMENT,Z,g.HEXCOLOR,g.CSS_NUMBER_MODE,f.QUOTE_STRING_MODE,f.APOS_STRING_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:F,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:q.join(" ")},contains:[{begin:F,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Z,f.QUOTE_STRING_MODE,f.APOS_STRING_MODE,g.HEXCOLOR,g.CSS_NUMBER_MODE]},g.FUNCTION_DISPATCH]}}},488:sn=>{const Ce="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],q=["true","false","null","undefined","NaN","Infinity"],V=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],D=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],w=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],W=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],f=[].concat(w,V,D);sn.exports=function m(j){const F=function g(j){const F=j.regex,L=Ce,Ae={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ht,Kt)=>{const On=ht[0].length+ht.index,Nn=ht.input[On];if("<"===Nn||","===Nn)return void Kt.ignoreMatch();let kr;">"===Nn&&(((ht,{after:Kt})=>{const On="",ln={match:[/const|var|let/,/\s+/,L,/\s*/,/=\s*/,/(async\s*)?/,F.lookahead($i)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[gr]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:lt,exports:{PARAMS_CONTAINS:Wn,CLASS_REFERENCE:ys},illegal:/#(?![$_A-z])/,contains:[j.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j.APOS_STRING_MODE,j.QUOTE_STRING_MODE,Dn,an,Ye,Nt,pr,{match:/\$\d+/},Mt,ys,{className:"attr",begin:L+F.lookahead(":"),relevance:0},ln,{begin:"("+j.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[pr,j.REGEXP_MODE,{className:"function",begin:$i,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:j.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:lt,contains:Wn}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Ae.begin,"on:begin":Ae.isTrulyOpeningTag,end:Ae.end}],subLanguage:"xml",contains:[{begin:Ae.begin,end:Ae.end,skip:!0,contains:["self"]}]}]},Ui,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+j.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[gr,j.inherit(j.TITLE_MODE,{begin:L,className:"title.function"})]},{match:/\.\.\./,relevance:0},cl,{match:"\\$"+L,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[gr]},ll,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},ji,Cs,{match:/\$[(.]/}]}}(j),O=Ce,L=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Z={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[F.exports.CLASS_REFERENCE]},ve={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:L},contains:[F.exports.CLASS_REFERENCE]},jt={$pattern:Ce,keyword:N.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:q,built_in:f.concat(L),"variable.language":W},Ot={className:"meta",begin:"@"+O},Yt=(et,Dn,an)=>{const Ye=et.contains.findIndex(Nt=>Nt.label===Dn);if(-1===Ye)throw new Error("can not find mode to replace");et.contains.splice(Ye,1,an)};return Object.assign(F.keywords,jt),F.exports.PARAMS_CONTAINS.push(Ot),F.contains=F.contains.concat([Ot,Z,ve]),Yt(F,"shebang",j.SHEBANG()),Yt(F,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),F.contains.find(et=>"func.def"===et.label).relevance=0,Object.assign(F,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),F}},872:sn=>{sn.exports=function Ce(N){const q=N.regex,V=q.concat(/[\p{L}_]/u,q.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),w={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},W={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},f=N.inherit(W,{begin:/\(/,end:/\)/}),g=N.inherit(N.APOS_STRING_MODE,{className:"string"}),m=N.inherit(N.QUOTE_STRING_MODE,{className:"string"}),j={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:[W,m,g,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[W,f,m,g]}]}]},N.COMMENT(//,{relevance:10}),{begin://,relevance:10},w,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[j],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[j],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:q.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:V,relevance:0,starts:j}]},{className:"tag",begin:q.concat(/<\//,q.lookahead(q.concat(V,/>/))),contains:[{className:"name",begin:V,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},sn=>{sn(sn.s=88)}]); \ No newline at end of file diff --git a/dist/ng-select2/main.8ec4bbe0969081e5.js b/dist/ng-select2/main.8ec4bbe0969081e5.js deleted file mode 100644 index ecb1af5..0000000 --- a/dist/ng-select2/main.8ec4bbe0969081e5.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[179],{425:(sn,ye,R)=>{"use strict";let N=null,M=1;function h(e){const n=N;return N=e,n}function q(e){if((!Ot(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==M)){if(!e.producerMustRecompute(e)&&!Vt(e))return e.dirty=!1,void(e.lastCleanEpoch=M);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=M}}function Vt(e){Ue(e);for(let n=0;n0}function Ue(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ni=null;function xr(e){return"function"==typeof e}let Xu=!1;const An={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else Xu&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Xu=e},get useDeprecatedSynchronousErrorHandling(){return Xu}};function Vi(e){setTimeout(()=>{throw e},0)}const nl={closed:!0,next(e){},error(e){if(An.useDeprecatedSynchronousErrorHandling)throw e;Vi(e)},complete(){}},oi=Array.isArray||(e=>e&&"number"==typeof e.length);function Ju(e){return null!==e&&"object"==typeof e}const rl=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class we{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof we)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof rl?t.errors:t),[])}we.EMPTY=((e=new we).closed=!0,e);const il="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Ne extends we{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=nl;break;case 1:if(!n){this.destination=nl;break}if("object"==typeof n){n instanceof Ne?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new im(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new im(this,n,t,r)}}[il](){return this}static create(n,t,r){const i=new Ne(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class im extends Ne{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;xr(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==nl&&(s=Object.create(t),xr(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;An.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=An;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):Vi(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;Vi(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);An.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),An.useDeprecatedSynchronousErrorHandling)throw r;Vi(r)}}__tryOrSetError(n,t,r){if(!An.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return An.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(Vi(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const _s="function"==typeof Symbol&&Symbol.observable||"@@observable";function ol(e){return e}function om(e){return 0===e.length?ol:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let qe=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function g0(e,n,t){if(e){if(e instanceof Ne)return e;if(e[il])return e[il]()}return e||n||t?new Ne(e,n,t):new Ne(nl)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||An.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),An.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){An.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function p0(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Ne?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=sm(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[_s](){return this}pipe(...t){return 0===t.length?this:om(t)(this)}toPromise(t){return new(t=sm(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function sm(e){if(e||(e=An.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Bi=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class _0 extends we{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class am extends Ne{constructor(n){super(n),this.destination=n}}let ht=(()=>{class e extends qe{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[il](){return new am(this)}lift(t){const r=new lm(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Bi;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew lm(n,t),e})();class lm extends ht{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):we.EMPTY}}class un extends ht{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Bi;return this._value}next(n){super.next(this._value=n)}}function se(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new v0(e,n))}}class v0{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new y0(n,this.project,this.thisArg))}}class y0 extends Ne{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}function Ie(e){for(let n in e)if(e[n]===Ie)return n;throw Error("Could not find renamed property on target object.")}function sl(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ot(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ot).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ed(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const b0=Ie({__forward_ref__:Ie});function ke(e){return e.__forward_ref__=ke,e.toString=function(){return ot(this())},e}function X(e){return al(e)?e():e}function al(e){return"function"==typeof e&&e.hasOwnProperty(b0)&&e.__forward_ref__===ke}function td(e){return e&&!!e.\u0275providers}const cm="https://g.co/ng/security#xss";class A extends Error{constructor(n,t){super(function ji(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const vs=Ie({\u0275cmp:Ie}),nd=Ie({\u0275dir:Ie}),rd=Ie({\u0275pipe:Ie}),um=Ie({\u0275mod:Ie}),ur=Ie({\u0275fac:Ie}),ys=Ie({__NG_ELEMENT_ID__:Ie}),dm=Ie({__NG_ENV_ID__:Ie});function re(e){return"string"==typeof e?e:null==e?"":String(e)}function id(e,n){throw new A(-201,!1)}function Qt(e,n){null==e&&function J(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function st(e){return{providers:e.providers||[],imports:e.imports||[]}}function ll(e){return hm(e,ul)||hm(e,fm)}function hm(e,n){return e.hasOwnProperty(n)?e[n]:null}function cl(e){return e&&(e.hasOwnProperty(od)||e.hasOwnProperty(A0))?e[od]:null}const ul=Ie({\u0275prov:Ie}),od=Ie({\u0275inj:Ie}),fm=Ie({ngInjectableDef:Ie}),A0=Ie({ngInjectorDef:Ie});var fe=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}(fe||{});let sd;function pm(){return sd}function Xt(e){const n=sd;return sd=e,n}function gm(e,n,t){const r=ll(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&fe.Optional?null:void 0!==n?n:void id(ot(e))}const Fe=globalThis;class U{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const bs={},dd="__NG_DI_FLAG__",dl="ngTempTokenPath",R0=/\n/gm,_m="__source";let Hi;function Nr(e){const n=Hi;return Hi=e,n}function k0(e,n=fe.Default){if(void 0===Hi)throw new A(-203,!1);return null===Hi?gm(e,void 0,n):Hi.get(e,n&fe.Optional?null:void 0,n)}function x(e,n=fe.Default){return(pm()||k0)(X(e),n)}function L(e,n=fe.Default){return x(e,hl(n))}function hl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hd(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==ym(p,c,0)||2&r&&c!==f){if(xn(r))return!1;s=!0}}}}else{if(!s&&!xn(r)&&!xn(l))return!1;if(s&&xn(l))continue;s=!1,r=l|1&r}}return xn(r)||s}function xn(e){return 0==(1&e)}function U0(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!xn(s)&&(n+=Mm(o,i),i=""),r=s,o=o||!xn(r);t++}return""!==i&&(n+=Mm(o,i)),n}function Ui(e){return dr(()=>{const n=Tm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||On.Emulated,styles:e.styles||be,_:null,schemas:e.schemas||null,tView:null,id:""};Am(t);const r=e.dependencies;return t.directiveDefs=pl(r,!1),t.pipeDefs=pl(r,!0),t.id=function J0(e){let n=0;const t=[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 i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function K0(e){return he(e)||pt(e)}function Q0(e){return null!==e}function ft(e){return dr(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Im(e,n){if(null==e)return $n;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function K(e){return dr(()=>{const n=Tm(e);return Am(n),n})}function Jt(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 he(e){return e[vs]||null}function pt(e){return e[nd]||null}function Mt(e){return e[rd]||null}function xt(e,n){const t=e[um]||null;if(!t&&!0===n)throw new Error(`Type ${ot(e)} does not have '\u0275mod' property.`);return t}function Tm(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||$n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Im(e.inputs,n),outputs:Im(e.outputs),debugInfo:null}}function Am(e){e.features?.forEach(n=>n(e))}function pl(e,n){if(!e)return null;const t=n?Mt:K0;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(Q0)}const Ke=0,P=1,Z=2,ze=3,Rn=4,Rt=5,Nn=6,$i=7,Le=8,Bt=9,hr=10,ie=11,Ds=12,Om=13,zi=14,Ze=15,Es=16,Gi=17,zn=18,Ss=19,xm=20,kr=21,gl=22,si=23,oe=25,pd=1,Gn=7,Wi=9,Je=10;var qi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(qi||{});function It(e){return Array.isArray(e)&&"object"==typeof e[pd]}function Et(e){return Array.isArray(e)&&!0===e[pd]}function gd(e){return 0!=(4&e.flags)}function ai(e){return e.componentOffset>-1}function _l(e){return 1==(1&e.flags)}function Pn(e){return!!e.template}function md(e){return 0!=(512&e[Z])}function li(e,n){return e.hasOwnProperty(ur)?e[ur]:null}class rI{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function jt(){return km}function km(e){return e.type.prototype.ngOnChanges&&(e.setInput=oI),iI}function iI(){const e=Lm(this),n=e?.current;if(n){const t=e.previous;if(t===$n)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function oI(e,n,t,r){const i=this.declaredInputs[t],o=Lm(e)||function sI(e,n){return e[Fm]=n}(e,{previous:$n,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new rI(l&&l.currentValue,n,a===$n),e[r]=n}jt.ngInherit=!0;const Fm="__ngSimpleChanges__";function Lm(e){return e[Fm]||null}const Wn=function(e,n,t){};let jm=!1;function Ve(e){for(;Array.isArray(e);)e=e[Ke];return e}function Is(e,n){return Ve(n[e])}function Ht(e,n){return Ve(n[e.index])}function Ts(e,n){return e.data[n]}function Zi(e,n){return e[n]}function hn(e,n){const t=n[e];return It(t)?t:t[Ke]}function Cd(e){return 128==(128&e[Z])}function qn(e,n){return null==n?null:e[n]}function Hm(e){e[Gi]=0}function hI(e){1024&e[Z]||(e[Z]|=1024,Cd(e)&&As(e))}function $m(e){return 9216&e[Z]||e[si]?.dirty}function wd(e){$m(e)?As(e):64&e[Z]&&(function lI(){return jm}()?(e[Z]|=1024,As(e)):e[hr].changeDetectionScheduler?.notify())}function As(e){e[hr].changeDetectionScheduler?.notify();let n=e[ze];for(;null!==n&&!(Et(n)&&n[Z]&qi.HasChildViewsToRefresh||It(n)&&8192&n[Z]);){if(Et(n))n[Z]|=qi.HasChildViewsToRefresh;else if(n[Z]|=8192,!Cd(n))break;n=n[ze]}}function vl(e,n){if(256==(256&e[Z]))throw new A(911,!1);null===e[kr]&&(e[kr]=[]),e[kr].push(n)}const te={lFrame:Jm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Gm(){return te.bindingsEnabled}function Yi(){return null!==te.skipHydrationRootTNode}function S(){return te.lFrame.lView}function _e(){return te.lFrame.tView}function Te(e){return te.lFrame.contextLView=e,e[Le]}function Ae(e){return te.lFrame.contextLView=null,e}function xe(){let e=Wm();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wm(){return te.lFrame.currentTNode}function Zn(e,n){const t=te.lFrame;t.currentTNode=e,t.isParent=n}function Ed(){return te.lFrame.isParent}function Sd(){te.lFrame.isParent=!1}function Ut(){const e=te.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Yn(){return te.lFrame.bindingIndex++}function pr(e){const n=te.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function DI(e,n){const t=te.lFrame;t.bindingIndex=t.bindingRootIndex=e,Md(n)}function Md(e){te.lFrame.currentDirectiveIndex=e}function Km(){return te.lFrame.currentQueryIndex}function Td(e){te.lFrame.currentQueryIndex=e}function SI(e){const n=e[P];return 2===n.type?n.declTNode:1===n.type?e[Rt]:null}function Qm(e,n,t){if(t&fe.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&fe.Host||(i=SI(o),null===i||(o=o[zi],10&i.type))););if(null===i)return!1;n=i,e=o}const r=te.lFrame=Xm();return r.currentTNode=n,r.lView=e,!0}function Ad(e){const n=Xm(),t=e[P];te.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xm(){const e=te.lFrame,n=null===e?null:e.child;return null===n?Jm(e):n}function Jm(e){const n={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=n),n}function e_(){const e=te.lFrame;return te.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const t_=e_;function Od(){const e=e_();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 Nt(){return te.lFrame.selectedIndex}function ci(e){te.lFrame.selectedIndex=e}function $e(){const e=te.lFrame;return Ts(e.tView,e.selectedIndex)}let r_=!0;function yl(){return r_}function Fr(e){r_=e}function bl(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Gi]+=65536),(a>14>16&&(3&e[Z])===n&&(e[Z]+=16384,o_(a,o)):o_(a,o)}const Ki=-1;class xs{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Nd(e){return e!==Ki}function Rs(e){return 32767&e}function Ns(e,n){let t=function LI(e){return e>>16}(e),r=n;for(;t>0;)r=r[zi],t--;return r}let Pd=!0;function Dl(e){const n=Pd;return Pd=e,n}const s_=255,a_=5;let VI=0;const Kn={};function El(e,n){const t=l_(e,n);if(-1!==t)return t;const r=n[P];r.firstCreatePass&&(e.injectorIndex=n.length,kd(r.data,e),kd(n,null),kd(r.blueprint,null));const i=Sl(e,n),o=e.injectorIndex;if(Nd(i)){const s=Rs(i),a=Ns(i,n),l=a[P].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function kd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function l_(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Sl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=g_(i),null===r)return Ki;if(t++,i=i[zi],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Ki}function Fd(e,n,t){!function BI(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ys)&&(r=t[ys]),null==r&&(r=t[ys]=VI++);const i=r&s_;n.data[e+(i>>a_)]|=1<=0?n&s_:$I:n}(t);if("function"==typeof o){if(!Qm(n,e,r))return r&fe.Host?c_(i,0,r):u_(n,t,r,i);try{let s;if(s=o(r),null!=s||r&fe.Optional)return s;id()}finally{t_()}}else if("number"==typeof o){let s=null,a=l_(e,n),l=Ki,c=r&fe.Host?n[Ze][Rt]:null;for((-1===a||r&fe.SkipSelf)&&(l=-1===a?Sl(e,n):n[a+8],l!==Ki&&p_(r,!1)?(s=n[P],a=Rs(l),n=Ns(l,n)):a=-1);-1!==a;){const u=n[P];if(f_(o,a,u.data)){const d=HI(a,n,t,s,r,c);if(d!==Kn)return d}l=n[a+8],l!==Ki&&p_(r,n[P].data[a+8]===c)&&f_(o,a,n)?(s=u,a=Rs(l),n=Ns(l,n)):a=-1}}return i}function HI(e,n,t,r,i,o){const s=n[P],a=s.data[e+8],u=Ml(a,s,t,null==r?ai(a)&&Pd:r!=s&&0!=(3&a.type),i&fe.Host&&o===a);return null!==u?ui(n,s,u,a):Kn}function Ml(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&y.type===t)return p}if(i){const p=s[l];if(p&&Pn(p)&&p.type===t)return l}return null}function ui(e,n,t,r){let i=e[t];const o=n.data;if(function NI(e){return e instanceof xs}(i)){const s=i;s.resolving&&function w0(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${t}`)}(function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():re(e)}(o[t]));const a=Dl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xt(s.injectImpl):null;Qm(e,r,fe.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function xI(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=km(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Xt(c),Dl(a),s.resolving=!1,t_()}}return i}function f_(e,n,t){return!!(t[n+(e>>a_)]&1<{const n=e.prototype.constructor,t=n[ur]||Ld(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ur]||Ld(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ld(e){return al(e)?()=>{const n=Ld(X(e));return n&&n()}:li(e)}function g_(e){const n=e[P],t=n.type;return 2===t?n.declTNode:1===t?e[Rt]:null}function Ps(e){return function jI(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{const r=function Vd(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(eo)?l[eo]:Object.defineProperty(l,eo,{value:[]})[eo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function io(e,n){e.forEach(t=>Array.isArray(t)?io(t,n):n(t))}function __(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Il(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Fs(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function v_(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function jd(e,n){const t=oo(e,n);if(t>=0)return e[1|t]}function oo(e,n){return function y_(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<{t.push(s)};return io(n,s=>{const a=s;Nl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&M_(i,o),t}function M_(e,n){for(let t=0;t{n(o,r)})}}function Nl(e,n,t,r){if(!(e=X(e)))return!1;let i=null,o=cl(e);const s=!o&&he(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=cl(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nl(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{io(o.imports,u=>{Nl(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&M_(c,n)}if(!a){const c=li(i)||(()=>new i);n({provide:i,useFactory:c,deps:be},i),n({provide:$d,useValue:i,multi:!0},i),n({provide:di,useValue:()=>x(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;zd(l,u=>{n(u,c)})}}}return i!==e&&void 0!==e.providers}function zd(e,n){for(let t of e)td(t)&&(t=t.\u0275providers),Array.isArray(t)?zd(t,n):n(t)}const fT=Ie({provide:String,useValue:Ie});function Gd(e){return null!==e&&"object"==typeof e&&fT in e}function hi(e){return"function"==typeof e}const Wd=new U("Set Injector scope."),Pl={},gT={};let qd;function kl(){return void 0===qd&&(qd=new Rl),qd}class wn{}class ao extends wn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yd(n,s=>this.processProvider(s)),this.records.set(D_,lo(void 0,this)),i.has("environment")&&this.records.set(wn,lo(void 0,this));const o=this.records.get(Wd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($d,be,fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Nr(this),r=Xt(void 0);try{return n()}finally{Nr(t),Xt(r)}}get(n,t=bs,r=fe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(dm))return n[dm](this);r=hl(r);const o=Nr(this),s=Xt(void 0);try{if(!(r&fe.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function bT(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(n)&&ll(n);l=c&&this.injectableDefInScope(c)?lo(Zd(n),Pl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&fe.Self?kl():this.parent).get(n,t=r&fe.Optional&&t===bs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[dl]=a[dl]||[]).unshift(ot(n)),o)throw a;return function L0(e,n,t,r){const i=e[dl];throw n[_m]&&i.unshift(n[_m]),e.message=function V0(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ot(n);if(Array.isArray(n))i=n.map(ot).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ot(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(R0,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[dl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Xt(s),Nr(o)}}resolveInjectorInitializers(){const n=Nr(this),t=Xt(void 0);try{const i=this.get(di,be,fe.Self);for(const o of i)o()}finally{Nr(n),Xt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ot(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(n){let t=hi(n=X(n))?n:X(n&&n.provide);const r=function _T(e){return Gd(e)?lo(void 0,e.useValue):lo(A_(e),Pl)}(n);if(hi(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=lo(void 0,Pl,!0),i.factory=()=>hd(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Pl&&(t.value=gT,t.value=t.factory()),"object"==typeof t.value&&t.value&&function yT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=X(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Zd(e){const n=ll(e),t=null!==n?n.factory:li(e);if(null!==t)return t;if(e instanceof U)throw new A(204,!1);if(e instanceof Function)return function mT(e){const n=e.length;if(n>0)throw Fs(n,"?"),new A(204,!1);const t=function T0(e){return e&&(e[ul]||e[fm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new A(204,!1)}function A_(e,n,t){let r;if(hi(e)){const i=X(e);return li(i)||Zd(i)}if(Gd(e))r=()=>X(e.useValue);else if(function T_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...hd(e.deps||[]));else if(function I_(e){return!(!e||!e.useExisting)}(e))r=()=>x(X(e.useExisting));else{const i=X(e&&(e.useClass||e.provide));if(!function vT(e){return!!e.deps}(e))return li(i)||Zd(i);r=()=>new i(...hd(e.deps))}return r}function lo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yd(e,n){for(const t of e)Array.isArray(t)?Yd(t,n):t&&td(t)?Yd(t.\u0275providers,n):n(t)}function fi(e,n){e instanceof ao&&e.assertNotDestroyed();const r=Nr(e),i=Xt(void 0);try{return n()}finally{Nr(r),Xt(i)}}function N_(e,n=null,t=null,r){const i=P_(e,n,t,r);return i.resolveInjectorInitializers(),i}function P_(e,n=null,t=null,r,i=new Set){const o=[t||be,hT(e)];return r=r||("object"==typeof e?void 0:ot(e)),new ao(o,n||kl(),r||null,i)}let Xd,Tt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=bs;static#t=this.NULL=new Rl;static create(t,r){if(Array.isArray(t))return N_({name:""},r,t,"");{const i=t.name??"";return N_({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>x(D_)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Vr(){if(void 0!==Xd)return Xd;if(typeof document<"u")return document;throw new A(210,!1)}const Ll=new U("AppId",{providedIn:"root",factory:()=>AT}),AT="ng",F_=new U("Platform Initializer"),gr=new U("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),OT=new U("AnimationModuleType"),L_=new U("CSP nonce",{providedIn:"root",factory:()=>Vr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function V_(e){return e.ownerDocument}function pn(e){return e instanceof Function?e():e}function Hl(e){return 128==(128&e.flags)}var Hr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Hr||{});const BT=/^>|^->||--!>|)/g,HT="\u200b$1\u200b";const rh=new Map;let UT=0;const oh="__ngContext__";function Pt(e,n){It(n)?(e[oh]=n[Ss],function zT(e){rh.set(e[Ss],e)}(n)):e[oh]=n}let sh;function ah(e,n){return sh(e,n)}function Us(e){const n=e[ze];return Et(n)?n[ze]:n}function nv(e){return iv(e[Ds])}function rv(e){return iv(e[Rn])}function iv(e){for(;null!==e&&!Et(e);)e=e[Rn];return e}function uo(e,n,t,r,i){if(null!=r){let o,s=!1;Et(r)?o=r:It(r)&&(s=!0,r=r[Ke]);const a=Ve(r);0===e&&null!==t?null==i?lv(n,t,a):pi(n,t,a,i||null,!0):1===e&&null!==t?pi(n,t,a,i||null,!0):2===e?function Zl(e,n,t){const r=Wl(e,n);r&&function cA(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function hA(e,n,t,r,i){const o=t[Gn];o!==Ve(t)&&uo(n,e,r,o,i);for(let a=Je;an.replace(jT,HT))}(n))}function zl(e,n,t){return e.createElement(n,t)}function sv(e,n){const t=e[Wi],r=t.indexOf(n);t.splice(r,1)}function $s(e,n){if(e.length<=Je)return;const t=Je+n,r=e[t];if(r){const i=r[Es];null!==i&&i!==e&&sv(i,r),n>0&&(e[t-1][Rn]=r[Rn]);const o=Il(e,Je+n);!function tA(e,n){Gs(e,n,n[ie],2,null,null),n[Ke]=null,n[Rt]=null}(r[P],r);const s=o[zn];null!==s&&s.detachView(o[P]),r[ze]=null,r[Rn]=null,r[Z]&=-129}return r}function Gl(e,n){if(!(256&n[Z])){const t=n[ie];t.destroyNode&&Gs(e,n,t,3,null,null),function iA(e){let n=e[Ds];if(!n)return ch(e[P],e);for(;n;){let t=null;if(It(n))t=n[Ds];else{const r=n[Je];r&&(t=r)}if(!t){for(;n&&!n[Rn]&&n!==e;)It(n)&&ch(n[P],n),n=n[ze];null===n&&(n=e),It(n)&&ch(n[P],n),t=n&&n[Rn]}n=t}}(n)}}function ch(e,n){if(!(256&n[Z])){n[Z]&=-129,n[Z]|=256,n[si]&&function St(e){if(Ue(e),Ot(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[$i]=null);const i=n[kr];if(null!==i){n[kr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===On.None||o===On.Emulated)return null}return Ht(r,t)}}(e,n.parent,t)}function pi(e,n,t,r,i){e.insertBefore(n,t,r,i)}function lv(e,n,t){e.appendChild(n,t)}function cv(e,n,t,r,i){null!==r?pi(e,n,t,r,i):lv(e,n,t)}function Wl(e,n){return e.parentNode(n)}function uv(e,n,t){return hv(e,n,t)}let dh,Yl,Kl,hv=function dv(e,n,t){return 40&e.type?Ht(e,t):null};function ql(e,n,t,r){const i=uh(e,r,n),o=n[ie],a=uv(r.parent||n[Rt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yl}()?.createHTML(e)||e}function gh(){if(void 0===Kl&&(Kl=null,Fe.trustedTypes))try{Kl=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kl}function yv(e){return gh()?.createHTML(e)||e}function Cv(e){return gh()?.createScriptURL(e)||e}class gi{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cm})`}}class vA extends gi{getTypeName(){return"HTML"}}class yA extends gi{getTypeName(){return"Style"}}class bA extends gi{getTypeName(){return"Script"}}class CA extends gi{getTypeName(){return"URL"}}class wA extends gi{getTypeName(){return"ResourceURL"}}function gn(e){return e instanceof gi?e.changingThisBreaksApplicationSecurity:e}function Qn(e,n){const t=function DA(e){return e instanceof gi&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${cm})`)}return t===n}class AA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(ho(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class OA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=ho(n),t}}const RA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ql(e){return(e=String(e)).match(RA)?e:"unsafe:"+e}function mr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ws(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const Dv=mr("area,br,col,hr,img,wbr"),Ev=mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sv=mr("rp,rt"),mh=Ws(Dv,Ws(Ev,mr("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")),Ws(Sv,mr("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")),Ws(Sv,Ev)),_h=mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mv=Ws(_h,mr("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"),mr("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")),NA=mr("script,style,template");class PA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!mh.hasOwnProperty(t))return this.sanitizedSomething=!0,!NA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();mh.hasOwnProperty(t)&&!Dv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Iv(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const kA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FA=/([^\#-~ |!])/g;function Iv(e){return e.replace(/&/g,"&").replace(kA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(FA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Xl;function Tv(e,n){let t=null;try{Xl=Xl||function wv(e){const n=new OA(e);return function xA(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch{return!1}}()?new AA(n):n}(e);let r=n?String(n):"";t=Xl.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Xl.getInertBodyElement(r)}while(r!==o);return ho((new PA).sanitizeChildren(vh(t)||t))}finally{if(t){const r=vh(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function vh(e){return"content"in e&&function LA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mn=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}(mn||{});function kn(e){const n=qs();return n?yv(n.sanitize(mn.HTML,e)||""):Qn(e,"HTML")?yv(gn(e)):Tv(Vr(),re(e))}function Av(e){const n=qs();return n?n.sanitize(mn.URL,e)||"":Qn(e,"URL")?gn(e):Ql(re(e))}function Ov(e){const n=qs();if(n)return Cv(n.sanitize(mn.RESOURCE_URL,e)||"");if(Qn(e,"ResourceURL"))return Cv(gn(e));throw new A(904,!1)}function qs(){const e=S();return e&&e[hr].sanitizer}class $A{}let Rv=(e,n,t)=>null;function Mh(e,n,t=!1){return Rv(e,n,t)}class XA{}class kv{}class eO{resolveComponentFactory(n){throw function JA(e){const n=Error(`No component factory found for ${ot(e)}.`);return n.ngComponent=e,n}(n)}}let Ks=(()=>{class e{static#e=this.NULL=new eO}return e})();function tO(){return go(xe(),S())}function go(e,n){return new vt(Ht(e,n))}let vt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=tO}return e})();function nO(e){return e instanceof vt?e.nativeElement:e}class Lv{}let _r=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function rO(){const e=S(),t=hn(xe().index,e);return(It(t)?t:e)[ie]}()}return e})(),iO=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();const Ah={};function Xs(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];null!==o&&r.push(Ve(o)),Et(o)&&Gv(o,r);const s=t.type;if(8&s)Xs(e,n,t.child,r);else if(32&s){const a=ah(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=pv(n,t);if(Array.isArray(a))r.push(...a);else{const l=Us(n[Ze]);Xs(l[P],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function Gv(e,n){for(let t=Je;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{As(e.lView)},consumerOnSignalRead(){this.lView[si]=this}};function xh(e){return e.ngOriginalError}class vr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&xh(n);for(;t&&xh(t);)t=xh(t);return t||null}}const Zv=new U("",{providedIn:"root",factory:()=>L(vr).handleError.bind(void 0)}),Kv=new U("",{providedIn:"root",factory:()=>!1}),ae={};function D(e){ey(_e(),S(),Nt()+e,!1)}function ey(e,n,t,r){if(!r)if(3==(3&n[Z])){const o=e.preOrderCheckHooks;null!==o&&Cl(n,o,t)}else{const o=e.preOrderHooks;null!==o&&wl(n,o,0,t)}ci(t)}function I(e,n=fe.Default){const t=S();return null===t?x(e,n):d_(xe(),t,X(e),n)}function ac(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[Ke]=i,d[Z]=204|r,(null!==c||e&&2048&e[Z])&&(d[Z]|=2048),Hm(d),d[ze]=d[zi]=e,d[Le]=t,d[hr]=s||e&&e[hr],d[ie]=a||e&&e[ie],d[Bt]=l||e&&e[Bt]||null,d[Rt]=o,d[Ss]=function $T(){return UT++}(),d[Nn]=u,d[xm]=c,d[Ze]=2==n.type?e[Ze]:d,d}function mo(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Rh(e,n,t,r,i){const o=Wm(),s=Ed(),l=e.data[n]=function xO(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Yi()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function wI(){return te.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Os(){const e=te.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Zn(o,!0),o}function Js(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;ooe&&ey(e,n,oe,!1),Wn(s?2:0,i),t(r,i)}finally{ci(o),Wn(s?3:1,i)}}function Nh(e,n,t){if(gd(n)){const r=h(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function oy(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?sy(t,n,i,o):r.hasOwnProperty(i)&&sy(t,n,r[i],o)}return t}function sy(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function _n(e,n,t,r,i,o,s,a){const l=Ht(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(Hh(e,t,u,r,i),ai(n)&&function PO(e,n){const t=hn(n,e);16&t[Z]||(t[Z]|=64)}(t,n.index)):3&n.type&&(r=function NO(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function Lh(e,n,t,r){if(Gm()){const i=null===r?null:{"":-1},o=function jO(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,Js(e,t,i.hostVars,ae),i)}function Xn(e,n,t,r,i,o){const s=Ht(e,n);!function Bh(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?re(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ie],s,o,e.value,t,r,i)}function WO(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function _O(e){e.lView[si]!==e&&(e.lView=null,Wv.push(e))}(a)),Od()}}function gy(e,n){for(let t=nv(e);null!==t;t=rv(t)){t[Z]&=~qi.HasChildViewsToRefresh;for(let r=Je;r-1&&($s(n,r),Il(t,r))}this._attachedToViewContainer=!1}Gl(this._lView[P],this._lView)}onDestroy(n){vl(this._lView,n)}markForCheck(){ea(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){wd(this._lView),this._lView[Z]|=128}detectChanges(){this._lView[Z]|=1024,function Uh(e,n=!0){const t=e[hr],r=t.rendererFactory,i=t.afterRenderEventManager;r.begin?.(),i?.begin();try{!function YO(e){$h(e,0);let n=0;for(;$m(e);){if(100===n)throw new A(103,!1);n++,$h(e,1)}}(e)}catch(s){throw n&&cc(e,s),s}finally{r.end?.(),t.inlineEffectRunner?.flush(),i?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function rA(e,n){Gs(e,n,n[ie],2,null,null)}(this._lView[P],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n,wd(this._lView)}}let _o=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=e1}return e})();function e1(e){return function t1(e,n,t){if(ai(e)&&!t){const r=hn(e.index,n);return new ta(r,r)}return 47&e.type?new ta(n[Ze],n):null}(xe(),S(),16==(16&e))}let uc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=o1;static#t=this.__NG_ENV_ID__=t=>t}return e})();class i1 extends uc{constructor(n){super(),this._lView=n}onDestroy(n){return vl(this._lView,n),()=>function Dd(e,n){if(null===e[kr])return;const t=e[kr].indexOf(n);-1!==t&&e[kr].splice(t,1)}(this._lView,n)}}function o1(){return new i1(S())}const vy=new Set;function mi(e){vy.has(e)||(vy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function zh(e){return n=>{setTimeout(e,void 0,n)}}const ue=class h1 extends ht{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=zh(o),i&&(i=zh(i)),s&&(s=zh(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof we&&n.add(a),a}};function yy(...e){}class me{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function f1(){const e="function"==typeof Fe.requestAnimationFrame;let n=Fe[e?"requestAnimationFrame":"setTimeout"],t=Fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function m1(e){const n=()=>{!function g1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Wh(e),e.isCheckStableRunning=!0,Gh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Wh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{if(function v1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(i,o,s,a);try{return by(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Cy(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return by(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Cy(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Wh(e),Gh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!me.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(me.isInAngularZone())throw new A(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,p1,yy,yy);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const p1={};function Gh(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 Wh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function by(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cy(e){e._nesting--,Gh(e)}class _1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}var _i=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_i||{});const wy={destroy(){}};function Ey(e,n){!n&&function Kd(e){if(!pm()&&!function P0(){return Hi}())throw new A(-203,!1)}();const t=n?.injector??L(Tt);if(!function Br(e){return"browser"===(e??L(Tt)).get(gr)}(t))return wy;mi("NgAfterNextRender");const r=t.get(dc),i=r.handler??=new My,o=n?.phase??_i.MixedReadWrite,s=()=>{i.unregister(l),a()},a=t.get(uc).onDestroy(s),l=new Sy(t,o,()=>{s(),e()});return i.register(l),{destroy:s}}class Sy{constructor(n,t,r){this.phase=t,this.callbackFn=r,this.zone=n.get(me),this.errorHandler=n.get(vr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class My{constructor(){this.executingCallbacks=!1,this.buckets={[_i.EarlyRead]:new Set,[_i.Write]:new Set,[_i.MixedReadWrite]:new Set,[_i.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new A(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let dc=(()=>{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 t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function C1(e,n){const t=hn(n,e),r=t[P];!function w1(e,n){for(let t=n.length;t0&&_v(e,t,o.join(" "))}}(f,ce,y,r),void 0!==t&&function R1(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=ws(i.hostAttrs,t=ws(t,i.hostAttrs))}}(r)}function fc(e){return e===$n?{}:e===be?[]:e}function k1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function F1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function L1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function pc(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function Jn(e,n,t){return e[n]=t}function at(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function vi(e,n,t,r){const i=at(e,n,t);return at(e,n+1,r)||i}function $t(e,n,t,r){const i=S();return at(i,Yn(),n)&&(_e(),Xn($e(),i,e,n,t,r)),$t}function mc(e,n){return e<<17|n<<2}function Ur(e){return e>>17&32767}function Zh(e){return 2|e}function yi(e){return(131068&e)>>2}function Yh(e,n){return-131069&e|n<<2}function Kh(e){return 1|e}function Uy(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Ur(o):yi(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Z1(e[a],n)&&(l=!0,e[a+1]=r?Kh(u):Zh(u)),a=r?Ur(u):yi(u)}l&&(e[t+1]=r?Zh(o):Kh(o))}function Z1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&oo(e,n)>=0}const yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $y(e){return e.substring(yt.key,yt.keyEnd)}function zy(e,n){const t=yt.textEnd;return t===n?-1:(n=yt.keyEnd=function X1(e,n,t){for(;n32;)n++;return n}(e,yt.key=n,t),Io(e,n,t))}function Io(e,n,t){for(;n=0;t=zy(n,t))fn(e,$y(n),!0)}function Fn(e,n,t,r){const i=S(),o=_e(),s=pr(2);o.firstUpdatePass&&Ky(o,e,s,r),n!==ae&&at(i,s,n)&&Xy(o,o.data[Nt()],i,i[ie],e,i[s+1]=function cx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ot(gn(e)))),e}(n,t),r,s)}function Yy(e,n){return n>=e.expandoStartIndex}function Ky(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Nt()],s=Yy(e,t);eb(o,r)&&null===n&&!s&&(n=!1),n=function nx(e,n,t,r){const i=function Id(e){const n=te.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=ia(t=Jh(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Jh(i,e,n,t,r),null===o){let l=function rx(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==yi(r))return e[Ur(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Jh(null,e,n,l[1],r),l=ia(l,n.attrs,r),function ix(e,n,t,r){e[Ur(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function ox(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=Ur(e[a+1]);e[r+1]=mc(f,a),0!==f&&(e[f+1]=Yh(e[f+1],r)),e[a+1]=function z1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=mc(a,0),0!==a&&(e[a+1]=Yh(e[a+1],r)),a=r;else e[r+1]=mc(l,0),0===a?a=r:e[l+1]=Yh(e[l+1],r),l=r;c&&(e[r+1]=Zh(e[r+1])),Uy(e,u,r,!0),Uy(e,u,r,!1),function q1(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&oo(o,n)>=0&&(t[r+1]=Kh(t[r+1]))}(n,u,e,r,o),s=mc(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Jh(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===ae&&(f=d?be:void 0);let p=d?jd(f,r):u===r?f:void 0;if(c&&!vc(p)&&(p=jd(l,r)),vc(p)&&(a=p,s))return a;const y=e[i+1];i=s?Ur(y):yi(y)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=jd(l,r))}return a}function vc(e){return void 0!==e}function eb(e,n){return 0!=(e.flags&(n?8:16))}function yc(){return S()[Ze][Le]}let sb=(e,n)=>null;function To(e,n){return sb(e,n)}class jx{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function af(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function lf(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function ab(e,n,t,r,i){if(lf(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function lb(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class cb{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function ca(e,n,t,r){const i=n.tView,a=ac(e,i,t,4096&e[Z]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Es]=e[n.index];const c=e[zn];return null!==c&&(a[zn]=c.createEmbeddedView(i)),qh(i,a,t),a}function ub(e,n){const t=Je+n;if(t0&&(t[i-1][Rn]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=Ux}return e})();function Ux(){return fb(xe(),S())}const $x=En,db=class extends $x{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new gt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Sl(this._hostTNode,this._hostLView);if(Nd(n)){const t=Ns(n,this._hostLView),r=Rs(n);return new gt(t[P].data[r+8],t)}return new gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=hb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Je}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=To(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,Ao(this._hostTNode,s)),a}createComponent(n,t,r,i,o){const s=n&&!function ks(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const y=t||{};a=y.index,r=y.injector,i=y.projectableNodes,o=y.environmentInjector||y.ngModuleRef}const l=s?n:new na(he(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const w=(s?c:this.parentInjector).get(wn,null);w&&(o=w)}const u=he(l.componentType??{}),d=To(this._lContainer,u?.id??null),p=l.create(c,i,d?.firstChild??null,o);return this.insertImpl(p.hostView,a,Ao(this._hostTNode,d)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function dI(e){return Et(e[ze])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[ze],c=new db(l,l[Rt],l[ze]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ua(s,i,o,r),n.attachToViewContainerRef(),__(uf(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=hb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=$s(this._lContainer,t);r&&(Il(uf(this._lContainer),t),Gl(r[P],r))}detach(n){const t=this._adjustIndex(n,-1),r=$s(this._lContainer,t);return r&&null!=Il(uf(this._lContainer),t)?new ta(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function hb(e){return e[8]}function uf(e){return e[8]||(e[8]=[])}function fb(e,n){let t;const r=n[e.index];return Et(r)?t=r:(t=uy(r,n,null,e),n[e.index]=t,lc(n,t)),pb(t,n,e,r),new db(t,e,n)}let pb=function mb(e,n,t,r){if(e[Gn])return;let i;i=8&t.type?Ve(r):function zx(e,n){const t=e[ie],r=t.createComment(""),i=Ht(n,e);return pi(t,Wl(t,i),r,function uA(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[Gn]=i},df=(e,n,t)=>!1;function ve(e,n,t,r,i,o,s,a){const l=S(),c=_e(),u=e+oe,d=c.firstCreatePass?function Zx(e,n,t,r,i,o,s,a,l){const c=n.consts,u=mo(n,e,4,s||null,qn(c,a));Lh(n,t,u,qn(c,l)),bl(n,u);const d=u.tView=Fh(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];Zn(d,!1);const f=_b(c,l,d,e);yl()&&ql(c,l,f,d),Pt(f,l);const p=uy(f,l,f,d);return l[u]=p,lc(l,p),function gb(e,n,t){return df(e,n,t)}(p,d,l),_l(d)&&Ph(c,l,d),null!=s&&kh(l,d,a),ve}let _b=function vb(e,n,t,r){return Fr(!0),n[ie].createComment("")};function Qe(e,n,t){mi("NgControlFlow");const r=S(),i=Yn(),o=hf(r,oe+e);if(at(r,i,n)){const a=h(null);try{if(cf(o,0),-1!==n){const l=ff(r[P],oe+n),c=To(o,l.tView.ssrId);ua(o,ca(r,l,t,{dehydratedView:c}),0,Ao(l,c))}}finally{h(a)}}else{const a=ub(o,0);void 0!==a&&(a[Le]=t)}}class Qx{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Je}}class eR{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Ec(e,n,t,r,i,o,s,a,l,c,u){mi("NgControlFlow");const d=void 0!==l,f=S(),p=a?s.bind(f[Ze][Le]):s,y=new eR(d,p);f[oe+e]=y,ve(e+1,n,t,r,i,o),d&&ve(e+2,l,c,u)}class tR extends jx{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Je}at(n){return this.getLView(n)[Le].$implicit}attach(n,t){const r=t[Nn];this.needsIndexUpdate||=n!==this.length,ua(this.lContainer,t,n,Ao(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function nR(e,n){return $s(e,n)}(this.lContainer,n)}create(n,t){const r=To(this.lContainer,this.templateTNode.tView.ssrId);return ca(this.hostLView,this.templateTNode,new Qx(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Gl(n[P],n)}updateValue(n,t){this.getLView(n)[Le].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=Yn(),l=0===s.length;if(at(r,a,l)){const c=t+2,u=hf(r,c);if(l){const d=ff(i,c),f=To(u,d.tView.ssrId);ua(u,ca(r,d,void 0,{dehydratedView:f}),0,Ao(d,f))}else cf(u,0)}}}finally{h(n)}}function hf(e,n){return e[n]}function ff(e,n){return Ts(e,n)}function v(e,n,t,r){const i=S(),o=_e(),s=oe+e,a=i[ie],l=o.firstCreatePass?function PR(e,n,t,r,i,o){const s=n.consts,l=mo(n,e,2,r,qn(s,i));return Lh(n,t,l,qn(s,o)),null!==l.attrs&&hc(l,l.attrs,!1),null!==l.mergedAttrs&&hc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=Hb(o,i,l,a,n,e);i[s]=c;const u=_l(l);return Zn(l,!0),vv(a,c,l),32!=(32&l.flags)&&yl()&&ql(o,i,c,l),0===function fI(){return te.lFrame.elementDepthCount}()&&Pt(c,i),function pI(){te.lFrame.elementDepthCount++}(),u&&(Ph(o,i,l),Nh(o,l,i)),null!==r&&kh(i,l),v}function _(){let e=xe();Ed()?Sd():(e=e.parent,Zn(e,!1));const n=e;(function mI(e){return te.skipHydrationRootTNode===e})(n)&&function bI(){te.skipHydrationRootTNode=null}(),function gI(){te.lFrame.elementDepthCount--}();const t=_e();return t.firstCreatePass&&(bl(t,e),gd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kI(e){return 0!=(8&e.flags)}(n)&&Qh(t,n,S(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function FI(e){return 0!=(16&e.flags)}(n)&&Qh(t,n,S(),n.stylesWithoutHost,!1),_}function Q(e,n,t,r){return v(e,n,t,r),_(),Q}let Hb=(e,n,t,r,i,o)=>(Fr(!0),zl(r,i,function n_(){return te.lFrame.currentNamespace}()));function wf(e,n,t){const r=S(),i=_e(),o=e+oe,s=i.firstCreatePass?function LR(e,n,t,r,i){const o=n.consts,s=qn(o,r),a=mo(n,e,8,"ng-container",s);return null!==s&&hc(a,s,!0),Lh(n,t,a,qn(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];Zn(s,!0);const a=Ub(i,r,s,e);return r[o]=a,yl()&&ql(i,r,a,s),Pt(a,r),_l(s)&&(Ph(i,r,s),Nh(i,s,r)),null!=t&&kh(r,s),wf}function Df(){let e=xe();const n=_e();return Ed()?Sd():(e=e.parent,Zn(e,!1)),n.firstCreatePass&&(bl(n,e),gd(e)&&n.queries.elementEnd(e)),Df}function nr(e,n,t){return wf(e,n,t),Df(),nr}let Ub=(e,n,t,r)=>(Fr(!0),lh(n[ie],""));function rr(){return S()}function Ef(e,n,t){const r=S();return at(r,Yn(),n)&&_n(_e(),$e(),r,e,n,r[ie],t,!0),Ef}const Lo="en-US";let Wb=Lo;function ya(e){return!!e&&"function"==typeof e.then}function _C(e){return!!e&&"function"==typeof e.subscribe}function $(e,n,t,r){const i=S(),o=_e(),s=xe();return function yC(e,n,t,r,i,o,s){const a=_l(r),c=e.firstCreatePass&&fy(e),u=n[Le],d=hy(n);let f=!0;if(3&r.type||s){const w=Ht(r,n),T=s?s(w):w,F=d.length,E=s?ne=>s(Ve(ne[r.index])):r.index;let Y=null;if(!s&&a&&(Y=function FN(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==Y)(Y.__ngLastListenerFn__||Y).__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,f=!1;else{o=CC(r,n,u,o,!1);const ne=t.listen(T,i,o);d.push(o,ne),c&&c.push(i,E,F,F+1)}}else o=CC(r,n,u,o,!1);const p=r.outputs;let y;if(f&&null!==p&&(y=p[i])){const w=y.length;if(w)for(let T=0;T-1?hn(e.index,n):n);let l=bC(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=bC(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function z(e=1){return function MI(e){return(te.lFrame.contextLView=function Um(e,n){for(;e>0;)n=n[zi],e--;return n}(e,te.lFrame.contextLView))[Le]}(e)}function LN(e,n){let t=null;const r=function $0(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i(Fr(!0),function $l(e,n){return e.createText(n)}(n[ie],r));function vn(e){return le("",e,""),vn}function le(e,n,t){const r=S(),i=function yo(e,n,t,r){return at(e,Yn(),t)?n+re(t)+r:ae}(r,e,n,t);return i!==ae&&function yr(e,n,t){const r=Is(n,e);!function ov(e,n,t){e.setValue(n,t)}(e[ie],r,t)}(r,Nt(),i),le}function Af(e,n,t,r,i){if(e=X(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new xs(c,i,I),y=xf(l,n,i?u:u+f,d);-1===y?(Fd(El(a,s),o,l),Of(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[y]=p,s[y]=p)}else{const p=xf(l,n,u+f,d),y=xf(l,n,u,u+f),T=y>=0&&t[y];if(i&&!T||!i&&!(p>=0&&t[p])){Fd(El(a,s),o,l);const F=function JN(e,n,t,r,i){const o=new xs(e,t,I);return o.multi=[],o.index=n,o.componentProviders=0,KC(o,i,r&&!t),o}(i?XN:QN,t.length,i,r,c);!i&&T&&(t[y].providerFactory=F),Of(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(F),s.push(F)}else Of(o,e,p>-1?p:y,KC(t[i?y:p],c,!i&&r));!i&&r&&T&&t[y].componentProviders++}}}function Of(e,n,t,r){const i=hi(n),o=function pT(e){return!!e.useClass}(n);if(i||o){const l=(o?X(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function KC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xf(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function KN(e,n,t){const r=_e();if(r.firstCreatePass){const i=Pn(e);Af(t,r.data,r.blueprint,i,!0),Af(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class wi{}class QC{}class Nf extends wi{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Iy(this);const i=xt(n);this._bootstrapComponents=pn(i.bootstrap),this._r3Injector=P_(n,t,[{provide:wi,useValue:this},{provide:Ks,useValue:this.componentFactoryResolver},...r],ot(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Pf extends QC{constructor(n){super(),this.moduleType=n}create(n){return new Nf(this.moduleType,n,[])}}class XC extends wi{constructor(n){super(),this.componentFactoryResolver=new Iy(this),this.instance=null;const t=new ao([...n.providers,{provide:wi,useValue:this},{provide:Ks,useValue:this.componentFactoryResolver}],n.parent||kl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kf(e,n,t=null){return new XC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let nP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=S_(0,t.type),i=r.length>0?kf([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(x(wn))})}return e})();function JC(e){mi("NgStandalone"),e.getStandaloneInjector=n=>n.get(nP).getOrCreateStandaloneInjector(e)}function lw(e,n,t,r,i){return function dw(e,n,t,r,i,o,s){const a=n+t;return vi(e,a,i,o)?Jn(e,a+2,s?r.call(s,i,o):r(i,o)):ba(e,a+2)}(S(),Ut(),e,n,t,r,i)}function cw(e,n,t,r,i,o){return function hw(e,n,t,r,i,o,s,a){const l=n+t;return function gc(e,n,t,r,i){const o=vi(e,n,t,r);return at(e,n+2,i)||o}(e,l,i,o,s)?Jn(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):ba(e,l+3)}(S(),Ut(),e,n,t,r,i,o)}function ba(e,n){const t=e[n];return t===ae?void 0:t}function Lc(e,n){const t=_e();let r;const i=e+oe;t.firstCreatePass?(r=function bP(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=li(r.type)),a=Xt(I);try{const l=Dl(!1),c=o();return Dl(l),function VN(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,S(),i,c),c}finally{Xt(a)}}function Vc(e,n,t){const r=e+oe,i=S(),o=Zi(i,r);return function Ca(e,n){return e[P].data[n].pure}(i,r)?function uw(e,n,t,r,i,o){const s=n+t;return at(e,s,i)?Jn(e,s+1,o?r.call(o,i):r(i)):ba(e,s+1)}(i,Ut(),n,o.transform,t,o):o.transform(t)}function SP(){return this._results[Symbol.iterator]()}class Lf{static#e=Symbol.iterator;get changes(){return this._changes??=new ue}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Lf.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=SP)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function en(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function YI(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=TP}return e})();const MP=yn,IP=class extends MP{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=ca(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new ta(i)}};function TP(){return Bc(xe(),S())}function Bc(e,n){return 4&e.type?new IP(n,e,go(e,n)):null}class Vf{constructor(n){this.queryList=n,this.matches=null}clone(){return new Vf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Je;d{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class nk{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Lw=(()=>{class e{compileModuleSync(t){return new Pf(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=pn(xt(t).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new na(l)),s},[]);return new nk(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qf=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new un(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Uw=new U(""),Uc=new U("");let Qf,Yf=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Qf||(function Ik(e){Qf=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{me.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(x(me),x(Kf),x(Uc))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),Kf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Qf?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Xf=new U("Application Initializer");let Jf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=L(Xf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(ya(o))t.push(o);else if(_C(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ep=new U("appBootstrapListener");function Gw(e,n){return Array.isArray(n)?n.reduce(Gw,e):{...e,...n}}let Ei=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=L(Zv),this.componentTypes=[],this.components=[],this.isStable=L(qf).hasPendingTasks.pipe(se(t=>!t)),this._injector=L(wn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof kv;if(!this._injector.get(Jf).done)throw!i&&function Pr(e){const n=he(e)||pt(e)||Mt(e);return null!==n&&n.standalone}(t),new A(405,!1);let s;s=i?t:this._injector.get(Ks).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Ak(e){return e.isBoundToModule}(s)?void 0:this._injector.get(wi),c=s.create(Tt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Uw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),$c(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;$c(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(ep,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>$c(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new A(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $c(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let xk=(()=>{class e{constructor(){this.zone=L(me),this.applicationRef=L(Ei)}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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rk(){const e=L(me),n=L(vr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let Pk=(()=>{class e{constructor(){this.subscription=new we,this.initialized=!1,this.zone=L(me),this.pendingTasks=L(qf)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{me.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const br=new U("LocaleId",{providedIn:"root",factory:()=>L(br,fe.Optional|fe.SkipSelf)||function kk(){return typeof $localize<"u"&&$localize.locale||Lo}()}),tp=new U("PlatformDestroyListeners");let Yw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function y1(e="zone.js",n){return"noop"===e?new _1:"zone.js"===e?new me(n):e}(r?.ngZone,function Zw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function tP(e,n,t){return new Nf(e,n,t)}(t.moduleType,this.injector,function qw(e){return[{provide:me,useFactory:e},{provide:di,multi:!0,useFactory:()=>{const n=L(xk,{optional:!0});return()=>n.initialize()}},{provide:di,multi:!0,useFactory:()=>{const n=L(Pk);return()=>{n.initialize()}}},{provide:Zv,useFactory:Rk}]}(()=>i)),s=o.injector.get(vr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{$c(this._modules,o),a.unsubscribe()})}),function zw(e,n,t){try{const r=t();return ya(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Jf);return a.runInitializers(),a.donePromise.then(()=>(function qb(e){Qt(e,"Expected localeId to be defined"),"string"==typeof e&&(Wb=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(br,Lo)||Lo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=Gw({},r);return function Tk(e,n,t){const r=new Pf(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(Ei);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new A(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(tp,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(x(Tt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Wr=null;const Kw=new U("AllowMultipleToken");function Qw(e,n,t=[]){const r=`Platform: ${n}`,i=new U(r);return(o=[])=>{let s=np();if(!s||s.injector.get(Kw,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function Vk(e){if(Wr&&!Wr.get(Kw,!1))throw new A(400,!1);(function $w(){!function fs(e){ni=e}(()=>{throw new A(600,!1)})})(),Wr=e;const n=e.get(Yw);(function Jw(e){e.get(F_,null)?.forEach(t=>t())})(e)}(function Xw(e=[],n){return Tt.create({name:n,providers:[{provide:Wd,useValue:"platform"},{provide:tp,useValue:new Set([()=>Wr=null])},...e]})}(a,r))}return function Bk(e){const n=np();if(!n)throw new A(401,!1);return n}()}}function np(){return Wr?.get(Yw)??null}const Gk=Qw(null,"core",[]);let Wk=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ei))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function Ye(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Mi(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let dp=null;function qr(){return dp}class C2{}const je=new U("DocumentToken");let hp=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(D2),providedIn:"platform"})}return e})();const w2=new U("Location Initialized");let D2=(()=>{class e extends hp{constructor(){super(),this._doc=L(je),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return qr().getBaseHref(this._doc)}onPopState(t){const r=qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function fp(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function wD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Cr(e){return e&&"?"!==e[0]?"?"+e:e}let Ii=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(ED),providedIn:"root"})}return e})();const DD=new U("appBaseHref");let ED=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??L(je).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return fp(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Cr(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Cr(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Cr(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(hp),x(DD,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E2=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=fp(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Cr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Cr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(hp),x(DD,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),Ho=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function I2(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(wD(SD(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Cr(r))}normalize(t){return e.stripTrailingSlash(function M2(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,SD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cr(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=Cr;static#t=this.joinWithSlash=fp;static#n=this.stripTrailingSlash=wD;static#r=this.\u0275fac=function(r){return new(r||e)(x(Ii))};static#i=this.\u0275prov=B({token:e,factory:()=>function S2(){return new Ho(x(Ii))}(),providedIn:"root"})}return e})();function SD(e){return e.replace(/\/index.html$/,"")}let BD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(I(En))};static#t=this.\u0275dir=K({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jt]})}return e})(),jD=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jt({name:"json",type:e,pure:!1,standalone:!0})}return e})(),UD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const $D="browser";function lu(e){return e===$D}function zD(e){return"server"===e}let qF=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new ZF(x(je),window)})}return e})();class ZF{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function YF(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class yL extends C2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Op extends yL{static makeCurrent(){!function b2(e){dp||(dp=e)}(new Op)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function bL(){return Oa=Oa||document.querySelector("base"),Oa?Oa.getAttribute("href"):null}();return null==t?null:function CL(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Oa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function dF(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let Oa=null,DL=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const xp=new U("EventManagerPlugins");let ZD=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(x(xp),x(me))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class YD{constructor(n){this._doc=n}}const Rp="ng-app-id";let KD=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=zD(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Rp}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(Rp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Rp,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je),x(Ll),x(L_,8),x(gr))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Np={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/"},Pp=/%COMP%/g,IL=new U("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function XD(e,n){return n.map(t=>t.replace(Pp,e))}let JD=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=zD(a),this.defaultRenderer=new kp(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===On.ShadowDom&&(r={...r,encapsulation:On.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof tE?i.applyToHost(t):i instanceof Fp&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case On.Emulated:o=new tE(l,c,r,this.appId,u,s,a,d);break;case On.ShadowDom:return new xL(l,c,t,r,s,a,this.nonce,d);default:o=new Fp(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(x(ZD),x(KD),x(Ll),x(IL),x(je),x(gr),x(me),x(L_))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class kp{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Np[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(eE(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(eE(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new A(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Np[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Np[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Hr.DashCase|Hr.Important)?n.style.setProperty(t,r,i&Hr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Hr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=qr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function eE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class xL extends kp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=XD(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Fp extends kp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?XD(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class tE extends Fp{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function TL(e){return"_ngcontent-%COMP%".replace(Pp,e)}(c),this.hostAttr=function AL(e){return"_nghost-%COMP%".replace(Pp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let RL=(()=>{class e extends YD{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const nE=["alt","control","meta","shift"],NL={"\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"},PL={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let kL=(()=>{class e extends YD{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>qr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),nE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=NL[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),nE.forEach(s=>{s!==i&&(0,PL[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const iE=[{provide:gr,useValue:$D},{provide:F_,useValue:function FL(){Op.makeCurrent()},multi:!0},{provide:je,useFactory:function VL(){return function TT(e){Xd=e}(document),document},deps:[]}],BL=Qw(Gk,"browser",iE),jL=new U(""),oE=[{provide:Uc,useClass:class wL{addToWindow(n){Fe.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new A(5103,!1);return o},Fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Fe.getAllAngularRootElements=()=>n.getAllRootElements(),Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(r=>{const i=Fe.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?qr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Uw,useClass:Yf,deps:[me,Kf,Uc]},{provide:Yf,useClass:Yf,deps:[me,Kf,Uc]}],sE=[{provide:Wd,useValue:"root"},{provide:vr,useFactory:function LL(){return new vr},deps:[]},{provide:xp,useClass:RL,multi:!0,deps:[je,me,gr]},{provide:xp,useClass:kL,multi:!0,deps:[je]},JD,KD,ZD,{provide:Lv,useExisting:JD},{provide:class KF{},useClass:DL,deps:[]},[]];let HL=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ll,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(jL,12))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({providers:[...sE,...oE],imports:[UD,Wk]})}return e})(),aE=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new r:function $L(){return new aE(x(je))}(),i},providedIn:"root"})}return e})();typeof window<"u"&&window;let uE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new(r||e):x(dE),i},providedIn:"root"})}return e})(),dE=(()=>{class e extends uE{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case mn.NONE:return r;case mn.HTML:return Qn(r,"HTML")?gn(r):Tv(this._doc,String(r)).toString();case mn.STYLE:return Qn(r,"Style")?gn(r):r;case mn.SCRIPT:if(Qn(r,"Script"))return gn(r);throw new A(5200,!1);case mn.URL:return Qn(r,"URL")?gn(r):Ql(String(r));case mn.RESOURCE_URL:if(Qn(r,"ResourceURL"))return gn(r);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return function EA(e){return new vA(e)}(t)}bypassSecurityTrustStyle(t){return function SA(e){return new yA(e)}(t)}bypassSecurityTrustScript(t){return function MA(e){return new bA(e)}(t)}bypassSecurityTrustUrl(t){return function IA(e){return new CA(e)}(t)}bypassSecurityTrustResourceUrl(t){return function TA(e){return new wA(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new r:function qL(e){return new dE(e.get(je))}(x(Tt)),i},providedIn:"root"})}return e})();const fE=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function gE(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Vp=e=>{if(e&&"function"==typeof e[_s])return(e=>n=>{const t=e[_s]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(pE(e))return fE(e);if(gE(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Vi),n))(e);if(e&&"function"==typeof e[Yr])return(e=>n=>{const t=e[Yr]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${Ju(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Bp(e,n){return new qe(t=>{const r=new we;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function Dt(e,n){return n?function rV(e,n){if(null!=e){if(function tV(e){return e&&"function"==typeof e[_s]}(e))return function XL(e,n){return new qe(t=>{const r=new we;return r.add(n.schedule(()=>{const i=e[_s]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(gE(e))return function JL(e,n){return new qe(t=>{const r=new we;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(pE(e))return Bp(e,n);if(function nV(e){return e&&"function"==typeof e[Yr]}(e)||"string"==typeof e)return function eV(e,n){if(!e)throw new Error("Iterable cannot be null");return new qe(t=>{const r=new we;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[Yr](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof qe?e:new qe(Vp(e))}function du(e,n){return new qe(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,f)=>(u[d]=i[f],u),{}):i),t.complete())}}))}})}let mE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(_r),I(vt))};static#t=this.\u0275dir=K({type:e})}return e})(),Ti=(()=>{class e extends mE{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,features:[Oe]})}return e})();const ir=new U("NgValueAccessor"),oV={provide:ir,useExisting:ke(()=>hu),multi:!0};let hu=(()=>{class e extends Ti{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[Ge([oV]),Oe]})}return e})();const sV={provide:ir,useExisting:ke(()=>xa),multi:!0},lV=new U("CompositionEventMode");let xa=(()=>{class e extends mE{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function aV(){const e=qr()?qr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(_r),I(vt),I(lV,8))};static#t=this.\u0275dir=K({type:e,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(r,i){1&r&&$("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[Ge([sV]),Oe]})}return e})();function Kr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function _E(e){return null!=e&&"number"==typeof e.length}const kt=new U("NgValidators"),Qr=new U("NgAsyncValidators"),cV=/^(?=.{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 vE{static min(n){return function yE(e){return n=>{if(Kr(n.value)||Kr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Kr(n.value)||Kr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function CE(e){return Kr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function wE(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function DE(e){return Kr(e.value)||cV.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function EE(e){return n=>Kr(n.value)||!_E(n.value)?null:n.value.length_E(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ME(e){if(!e)return fu;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Kr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return RE(n)}static composeAsync(n){return NE(n)}}function fu(e){return null}function IE(e){return null!=e}function TE(e){return ya(e)?Dt(e):e}function AE(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function OE(e,n){return n.map(t=>t(e))}function xE(e){return e.map(n=>function uV(e){return!e.validate}(n)?n:t=>n.validate(t))}function RE(e){if(!e)return null;const n=e.filter(IE);return 0==n.length?null:function(t){return AE(OE(t,n))}}function jp(e){return null!=e?RE(xE(e)):null}function NE(e){if(!e)return null;const n=e.filter(IE);return 0==n.length?null:function(t){return function iV(...e){if(1===e.length){const n=e[0];if(oi(n))return du(n,null);if(Ju(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return du(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return du(e=1===e.length&&oi(e[0])?e[0]:e,null).pipe(se(t=>n(...t)))}return du(e,null)}(OE(t,n).map(TE)).pipe(se(AE))}}function Hp(e){return null!=e?NE(xE(e)):null}function PE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function kE(e){return e._rawValidators}function FE(e){return e._rawAsyncValidators}function Up(e){return e?Array.isArray(e)?e:[e]:[]}function pu(e,n){return Array.isArray(e)?e.includes(n):e===n}function LE(e,n){const t=Up(n);return Up(e).forEach(i=>{pu(t,i)||t.push(i)}),t}function VE(e,n){return Up(n).filter(t=>!pu(e,t))}class BE{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(n){this._rawValidators=n||[],this._composedValidatorFn=jp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Zt extends BE{get formDirective(){return null}get path(){return null}}class Er extends BE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class jE{constructor(n){this._cd=n}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 $p=(()=>{class e extends jE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Er,2))};static#t=this.\u0275dir=K({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&bt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Oe]})}return e})(),zp=(()=>{class e extends jE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Zt,10))};static#t=this.\u0275dir=K({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&bt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Oe]})}return e})();const Ra="VALID",mu="INVALID",$o="PENDING",Na="DISABLED";function qp(e){return(_u(e)?e.validators:e)||null}function Zp(e,n){return(_u(n)?n.asyncValidators:e)||null}function _u(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function UE(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new A(1e3,"");if(!r[t])throw new A(1001,"")}function $E(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new A(1002,"")})}class vu{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===mu}get pending(){return this.status==$o}get disabled(){return this.status===Na}get enabled(){return this.status!==Na}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(VE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(VE(n,this._rawAsyncValidators))}hasValidator(n){return pu(this._rawValidators,n)}hasAsyncValidator(n){return pu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=$o,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Na,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ra,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===$o)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Na:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=$o,this._hasOwnPendingAsyncValidator=!0;const t=TE(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Na:this.errors?mu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($o)?$o:this._anyControlsHaveStatus(mu)?mu:Ra}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){_u(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function pV(e){return Array.isArray(e)?jp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function gV(e){return Array.isArray(e)?Hp(e):e||null}(this._rawAsyncValidators)}}class zo extends vu{constructor(n,t,r){super(qp(t),Zp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){$E(this,0,n),Object.keys(n).forEach(r=>{UE(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const mV=zo;class zE extends zo{}const Ai=new U("CallSetDisabledState",{providedIn:"root",factory:()=>Pa}),Pa="always";function yu(e,n){return[...n.path,e]}function ka(e,n,t=Pa){Yp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function vV(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&GE(e,n)})}(e,n),function bV(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function yV(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&GE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function _V(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function bu(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),wu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Cu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Yp(e,n){const t=kE(e);null!==n.validator?e.setValidators(PE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=FE(e);null!==n.asyncValidator?e.setAsyncValidators(PE(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Cu(n._rawValidators,i),Cu(n._rawAsyncValidators,i)}function wu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=kE(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=FE(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Cu(n._rawValidators,r),Cu(n._rawAsyncValidators,r),t}function GE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function WE(e,n){Yp(e,n)}function Qp(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function qE(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Xp(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===xa?t=o:function DV(e){return Object.getPrototypeOf(e.constructor)===Ti}(o)?r=o:i=o}),i||r||t||null}const SV={provide:Zt,useExisting:ke(()=>Du)},Fa=(()=>Promise.resolve())();let Du=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ue,this.form=new zo({},jp(t),Hp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Fa.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ka(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Fa.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Fa.then(()=>{const r=this._findContainer(t.path),i=new zo({});WE(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Fa.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Fa.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,qE(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(I(kt,10),I(Qr,10),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ge([SV]),Oe]})}return e})();function ZE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function YE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Go=class extends vu{constructor(n=null,t,r){super(qp(t),Zp(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_u(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=YE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){ZE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ZE(this._onDisabledChange,n)}_forEachChild(n){}_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(n){YE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},pe=Go,TV={provide:Er,useExisting:ke(()=>Jp)},XE=(()=>Promise.resolve())();let Jp=(()=>{class e extends Er{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Go,this._registered=!1,this.name="",this.update=new ue,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xp(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qp(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){ka(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(t){XE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&Ye(r);XE.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?yu(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(I(Zt,9),I(kt,10),I(Qr,10),I(ir,10),I(_o,8),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ge([TV]),Oe,jt]})}return e})(),JE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const AV={provide:ir,useExisting:ke(()=>Eu),multi:!0};let Eu=(()=>{class e extends Ti{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){1&r&&$("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[Ge([AV]),Oe]})}return e})(),eS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const eg=new U("NgModelWithFormControlWarning"),PV={provide:Zt,useExisting:ke(()=>Wo)};let Wo=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ue,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ka(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){bu(t.control||null,t,!1),function EV(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,qE(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(bu(r||null,t),(e=>e instanceof Go)(i)&&(ka(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);WE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function CV(e,n){return wu(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yp(this.form,this),this._oldForm&&wu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(I(kt,10),I(Qr,10),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ge([PV]),Oe,jt]})}return e})();const LV={provide:Er,useExisting:ke(()=>Su)};let Su=(()=>{class e extends Er{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ue,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xp(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Qp(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return yu(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(r){return new(r||e)(I(Zt,13),I(kt,10),I(Qr,10),I(ir,10),I(eg,8))};static#n=this.\u0275dir=K({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ge([LV]),Oe,jt]})}return e})();const VV={provide:ir,useExisting:ke(()=>Mu),multi:!0};function oS(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Mu=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=oS(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function BV(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ge([VV]),Oe]})}return e})(),rg=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(oS(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(_r),I(Mu,9))};static#t=this.\u0275dir=K({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const jV={provide:ir,useExisting:ke(()=>ig),multi:!0};function sS(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ig=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ge([jV]),Oe]})}return e})(),og=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(sS(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(sS(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(_r),I(ig,9))};static#t=this.\u0275dir=K({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),mS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[eS]})}return e})();class _S extends vu{constructor(n,t,r){super(qp(t),Zp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){$E(this,0,n),n.forEach((r,i)=>{UE(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function vS(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let KV=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return vS(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new zo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new zE(i,r)}control(t,r,i){let o={};return this.useNonNullable?(vS(r)?o=r:(o.validators=r,o.asyncValidators=i),new Go(t,{...o,nonNullable:!0})):new Go(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new _S(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof Go||t instanceof vu?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yS=(()=>{class e extends KV{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ag=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ai,useValue:t.callSetDisabledState??Pa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[mS]})}return e})(),bS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:eg,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ai,useValue:t.callSetDisabledState??Pa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[mS]})}return e})();const Sr=new qe(e=>e.complete());function lg(e){return e?function QV(e){return new qe(n=>e.schedule(()=>n.complete()))}(e):Sr}function Mr(e,n){return new qe(n?t=>n.schedule(XV,0,{error:e,subscriber:t}):t=>t.error(e))}function XV({error:e,subscriber:n}){n.error(e)}function Iu(e,n){return n?Bp(e,n):new qe(fE(e))}class qo extends Ne{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Zo extends Ne{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Yo(e,n){if(n.closed)return;if(e instanceof qe)return e.subscribe(n);let t;try{t=Vp(e)(n)}catch(r){n.error(r)}return t}class eB{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new tB(n,this.resultSelector))}}class tB extends Ne{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;oi(n)?t.push(new rB(n)):t.push("function"==typeof n[Yr]?new nB(n[Yr]()):new iB(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class iB extends Zo{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Yr](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return Yo(this.observable,new qo(this))}}class oB extends we{constructor(n,t){super()}schedule(n,t=0){return this}}class cg extends oB{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let CS=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class or extends CS{constructor(n,t=CS.now){super(n,()=>or.delegate&&or.delegate!==this?or.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return or.delegate&&or.delegate!==this?or.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const Tu=new class aB extends or{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function on(e,n){return function(r){return r.lift(new lB(e,n))}}class lB{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new cB(n,this.predicate,this.thisArg))}}class cB extends Ne{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const wS=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Xr(e){return n=>0===e?lg():n.lift(new uB(e))}class uB{constructor(n){if(this.total=n,this.total<0)throw new wS}call(n,t){return t.subscribe(new dB(n,this.total))}}class dB extends Ne{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Cn(e,n){return"function"==typeof n?t=>t.pipe(Cn((r,i)=>Dt(e(r,i)).pipe(se((o,s)=>n(r,o,i,s))))):t=>t.lift(new hB(e))}class hB{constructor(n){this.project=n}call(n,t){return t.subscribe(new fB(n,this.project))}}class fB extends Zo{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new qo(this),i=this.destination;i.add(r),this.innerSubscription=Yo(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}function Jr(){}function We(e,n,t){return function(i){return i.lift(new pB(e,n,t))}}class pB{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new gB(n,this.nextOrObserver,this.error,this.complete))}}class gB extends Ne{constructor(n,t,r,i){super(n),this._tapNext=Jr,this._tapError=Jr,this._tapComplete=Jr,this._tapError=r||Jr,this._tapComplete=i||Jr,xr(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Jr,this._tapError=t.error||Jr,this._tapComplete=t.complete||Jr)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Ko(e){return function(t){const r=new mB(e),i=t.lift(r);return r.caught=i}}class mB{constructor(n){this.selector=n}call(n,t){return t.subscribe(new _B(n,this.selector,this.caught))}}class _B extends Zo{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new qo(this);this.add(r);const i=Yo(t,r);i!==r&&this.add(i)}}}const Au=new U("HIGHLIGHT_OPTIONS");let ug;let bB=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new un(null),this.ready=this._ready.asObservable().pipe(on(o=>!!o),se(o=>o),Xr(1)),lu(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(Cn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(We(()=>this._ready.next(o)))):(this._ready.next(o),Sr)),Ko(o=>(console.error("[HLJS] ",o),Sr))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Mr(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Mr(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Mr(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Mr(()=>"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(Cn(t=>this._loadLanguages(t)))}return Mr(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function JV(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),Iu(e,void 0).lift(new eB(n))}(...Object.entries(this._options.languages).map(([i,o])=>Ou(o()).pipe(We(s=>t.registerLanguage(i,s))))).pipe(se(()=>t))}loadCoreLibrary(){return Ou(this._options.coreLibraryLoader())}loadFullLibrary(){return Ou(this._options.fullLibraryLoader())}loadLineNumbers(){return Ou(this._options.lineNumbersLoader())}setTheme(t){lu(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,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(r){return new(r||e)(x(je),x(gr),x(Au,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ou=e=>Dt(e).pipe(on(n=>!!n&&!!n.default),se(n=>n.default));let CB=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(se(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(se(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(se(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(se(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(se(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(We(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(We(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(We(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(se(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(se(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(se(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(se(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(on(r=>!!r.lineNumbersBlock),We(r=>r.lineNumbersBlock(t)))}static#e=this.\u0275fac=function(r){return new(r||e)(x(bB),x(Au,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wB=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new ue,this._nativeElement=t.nativeElement}ngOnChanges(t){lu(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),Tu.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(t){Tu.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){Tu.schedule(()=>this._nativeElement.innerHTML=function yB(e){return function vB(){if(!ug)try{ug=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return ug}()?.createHTML(e)||e}(this._sanitizer.sanitize(mn.HTML,t)||""))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(CB),I(uE),I(gr),I(Au,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){2&r&&bt("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[jt]})}return e})(),DB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const EB=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],MB=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function DS(e){return Array.isArray(e)?e:[e]}function ut(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Qo(e){return e&&"function"==typeof e.schedule}function ee(...e){let n=e[e.length-1];return Qo(n)?(e.pop(),Bp(e,n)):Iu(e)}function dg(e,n,t,r){return xr(t)&&(r=t,t=void 0),r?dg(e,n,t).pipe(se(i=>oi(i)?r(...i):r(i))):new qe(i=>{ES(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function ES(e,n,t,r,i){let o;if(function xB(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function OB(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function AB(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;sSS(n)&&e()),n},clearImmediate(e){SS(e)}},hg=(new class kB extends or{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=MS.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(MS.clearImmediate(t),n.scheduled=void 0)}}),new or(cg));class VB{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new BB(n,this.durationSelector))}}class BB extends Zo{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=Yo(t,new qo(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function IS(e){return!oi(e)&&e-parseFloat(e)+1>=0}function HB(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function TS(e,n=hg){return function LB(e){return function(t){return t.lift(new VB(e))}}(()=>function jB(e=0,n,t){let r=-1;return IS(n)?r=Number(n)<1?1:Number(n):Qo(n)&&(t=n),Qo(t)||(t=hg),new qe(i=>{const o=IS(e)?e:+e-t.now();return t.schedule(HB,o,{index:0,period:r,subscriber:i})})}(e,n))}let fg;try{fg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{fg=!1}let xi,La=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?lu(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&&!fg)&&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(r){return new(r||e)(x(gr))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $B(){if(null==xi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return xi=!1,xi;if("scrollBehavior"in document.documentElement.style)xi=!0;else{const e=Element.prototype.scrollTo;xi=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return xi}function OS(e){return e.composedPath?e.composedPath()[0]:e.target}function xS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const GB=new U("cdk-dir-doc",{providedIn:"root",factory:function WB(){return L(je)}}),qB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let RS=(()=>{class e{constructor(t){this.value="ltr",this.change=new ue,t&&(this.value=function ZB(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?qB.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(x(GB,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})(),KB=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new ht,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new qe(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(TS(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ee()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(on(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function TB(e){return e instanceof vt?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>dg(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(x(me),x(La),x(je,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mg=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new ht,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(TS(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(x(La),x(me),x(je,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),NS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})(),PS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[gg,NS,gg,NS]})}return e})();function kS(e){return n=>n.lift(new XB(e))}class XB{constructor(n){this.notifier=n}call(n,t){const r=new JB(n),i=Yo(this.notifier,new qo(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class JB extends Zo{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class tj{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new nj(n,this.predicate,this.inclusive))}}class nj extends Ne{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class _g{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class rj extends _g{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class FS extends _g{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class ij extends _g{constructor(n){super(),this.element=n instanceof vt?n.nativeElement:n}}class oj{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof rj?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof FS?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof ij?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class sj extends oj{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||Tt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function Ft(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(Ft((i,o)=>Dt(e(i,o)).pipe(se((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new lj(e,t)))}class lj{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new cj(n,this.project,this.concurrent))}}class cj extends Zo{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Jo(e=Number.POSITIVE_INFINITY){return Ft(ol,e)}const LS=$B();class fj{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ut(-this._previousScrollPosition.left),n.style.top=ut(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),LS&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),LS&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class pj{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(on(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class VS{enable(){}disable(){}attach(){}}function vg(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function BS(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class gj{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();vg(t,[{width:r,height:i,bottom:i,right:r,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 mj=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new VS,this.close=s=>new pj(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new fj(this._viewportRuler,this._document),this.reposition=s=>new gj(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(r){return new(r||e)(x(KB),x(mg),x(me),x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class jS{constructor(n){if(this.scrollStrategy=new VS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class _j{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let HS=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vj=(()=>{class e extends HS{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),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(r){return new(r||e)(x(je),x(me,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yj=(()=>{class e extends HS{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=OS(o)},this._clickListener=o=>{const s=OS(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je),x(La),x(me,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),US=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||xS()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ht,this._outsidePointerEvents=new ht,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Xr(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 t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=ut(this._config.width),n.height=ut(this._config.height),n.minWidth=ut(this._config.minWidth),n.minHeight=ut(this._config.minHeight),n.maxWidth=ut(this._config.maxWidth),n.maxHeight=ut(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=DS(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(kS(function uj(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return Qo(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof qe?e[0]:Jo(n)(Iu(e,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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $S="cdk-overlay-connected-position-bounding-box",Cj=/([A-Za-z%]+)$/;class wj{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,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 ht,this._resizeSubscription=we.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add($S),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ri(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($S),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=GS(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let f=0-a,p=a+o.height-r.height,y=this._subtractOverflows(o.width,0-s,s+o.width-r.width),w=this._subtractOverflows(o.height,f,p),T=y*w;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:w===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=zS(this._overlayRef.getConfig().minHeight),a=zS(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=GS(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xy&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)f=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const p=Math.min(r.right-n.x+r.left,n.x),y=this._lastBoundingBoxSize.width;u=2*p,d=n.x-p,u>y&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-y/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=ut(r.height),i.top=ut(r.top),i.bottom=ut(r.bottom),i.width=ut(r.width),i.left=ut(r.left),i.right=ut(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=ut(o)),s&&(i.maxWidth=ut(s))}this._lastBoundingBoxSize=r,Ri(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ri(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ri(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();Ri(r,this._getExactOverlayY(t,n,u)),Ri(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=ut(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=ut(s.maxWidth):o&&(r.maxWidth="")),Ri(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=ut(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=ut(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:BS(n,r),isOriginOutsideView:vg(n,r),isOverlayClipped:BS(t,r),isOverlayOutsideView:vg(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&DS(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof vt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function Ri(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function zS(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(Cj);return t&&"px"!==t?null:parseFloat(n)}return e||null}function GS(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const WS="cdk-global-overlay-wrapper";class Dj{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(WS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let p="",y="",w="";l?w="flex-start":"center"===u?(w="center",f?y=d:p=d):f?"left"===u||"end"===u?(w="flex-end",p=d):("right"===u||"start"===u)&&(w="flex-start",y=d):"left"===u||"start"===u?(w="flex-start",p=d):("right"===u||"end"===u)&&(w="flex-end",y=d),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,t.justifyContent=w,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(WS),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Ej=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new Dj}flexibleConnectedTo(t){return new wj(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(x(mg),x(je),x(La),x(US))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sj=0,Nu=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,f,p){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new jS(t);return s.direction=s.direction||this._directionality.value,new bj(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+Sj++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ei)),new sj(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(x(mj),x(US),x(Ks),x(Ej),x(vj),x(Tt),x(me),x(je),x(RS),x(Ho),x(yj),x(OT,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Mj=[{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"}],qS=new U("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=L(Nu);return()=>e.scrollStrategies.reposition()}});let ZS=(()=>{class e{constructor(t){this.elementRef=t}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt))};static#t=this.\u0275dir=K({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return e})(),YS=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._backdropSubscription=we.EMPTY,this._attachSubscription=we.EMPTY,this._detachSubscription=we.EMPTY,this._positionSubscription=we.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 ue,this.positionChange=new ue,this.attach=new ue,this.detach=new ue,this.overlayKeydown=new ue,this.overlayOutsideClick=new ue,this._templatePortal=new FS(r,i),this._scrollStrategyFactory=o,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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Mj);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function hj(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new jS({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ZS?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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function ej(e,n=!1){return t=>t.lift(new tj(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),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(r){return new(r||e)(I(Nu),I(yn),I(En),I(qS),I(RS,8))};static#t=this.\u0275dir=K({type:e,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",Ye],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",Ye],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ye],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ye],push:["cdkConnectedOverlayPush","push",Ye],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ye]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[pc,jt]})}return e})();const Tj={provide:qS,deps:[Nu],useFactory:function Ij(e){return()=>e.scrollStrategies.reposition()}};let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({providers:[Nu,Tj],imports:[gg,aj,PS,PS]})}return e})();class Ce{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=Ce.getOptionByValue(n,s);a&&o.push(a)}return o}return Ce.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(Ce.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=Ce.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=Ce.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>Ce.containSearchText(a.label,t,r))){const a=s.filter(l=>Ce.containSearchText(l.label,t,r));i.push({...o,options:a})}}else Ce.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===Ce.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===Ce.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),Ce.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function bg(e,n){return e?n.document.documentElement:null}function QS(e,n){const t=function Zj({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=XS(t);return JS(e,n,r,i)}(n);return n.isWindow?function Wj(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=XS(r),l=e+eM(bg(o,i),r,o),c=JS(n.nativeElement,o,s,a),u=function Yj(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+eM(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function qj(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function XS(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function JS(e,n,t,r){if(isNaN(e[t])){const i=bg(n,e);return i?i[r]:0}return e[t]}function eM(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?bg(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function Kj(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class tH{constructor(n){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,n)}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Cg={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function oH(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Cg.DOWN:Cg.UP,payload:{currentScrollPosition:t}}}let sH=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new ue,this.scrolledUp=new ue,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=yg(t),s=yg(r),a=yg(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function Vj(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function nH(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function $j({windowElement:e,axis:n}){return function zj(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:Gj(e)},e)}({axis:new Hj(!e.horizontal),windowElement:Fj(n,t,r,i)}),s=new tH({totalToScroll:QS(r,o).totalToScroll}),l={up:e.upDistance,down:e.downDistance};return function rH(e){let n=dg(e.container,"scroll");return e.throttle&&(n=n.pipe(function Rj(e,n=hg,t=KS){return r=>r.lift(new Nj(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(Ft(()=>ee(QS(r,o))),se(c=>function iH(e,n,t){const{scrollDown:r,fire:i}=function Xj(e,n,t){const r=function Qj(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),on(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function Uj(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),We(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),se(oH))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Cg.DOWN?this.scrolled:this.scrolledUp;(function aH(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(me))};static#t=this.\u0275dir=K({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[jt]})}return e})(),lH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const cH=["selection"],uH=["results"],dH=["searchInput"],hH=["dropdown"],fH=["result"];function pH(e,n){1&e&&Q(0,"span",13)}function gH(e,n){1&e&&(v(0,"span"),b(1,"\xa0"),_())}function mH(e,n){1&e&&Q(0,"span",16),2&e&&H("innerHTML",z(3).select2Option.label,kn)}function _H(e,n){1&e&&nr(0)}function vH(e,n){if(1&e&&ve(0,_H,1,0,"ng-container",17),2&e){const t=z(3);H("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function yH(e,n){if(1&e&&ve(0,mH,1,1,"span",16)(1,vH,1,2),2&e){const t=z(2);Qe(0,!t.hasTemplate(t.select2Option,"option")||t.noLabelTemplate?0:1)}}function bH(e,n){if(1&e&&(v(0,"span",14),ve(1,gH,2,0,"span")(2,yH,2,1),v(3,"span",15),b(4),_()()),2&e){const t=z();H("title",(null==t.select2Option?null:t.select2Option.label)||""),D(1),Qe(1,t.select2Option?-1:1),D(1),Qe(2,t.select2Option?2:-1),D(1),bt("select2-selection__placeholder__option",t.option),D(1),vn(t.placeholder)}}function CH(e,n){if(1&e){const t=rr();v(0,"span",18),$("click",function(i){return Te(t),Ae(z().reset(i))}),b(1,"\xd7"),_()}}function wH(e,n){1&e&&Q(0,"span",19)}function DH(e,n){if(1&e&&(v(0,"span",15),b(1),_()),2&e){const t=z(2);bt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),D(1),vn(t.placeholder)}}function EH(e,n){if(1&e){const t=rr();v(0,"span",25),$("click",function(i){Te(t);const o=z().$implicit;return Ae(z(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function SH(e,n){1&e&&Q(0,"span",16),2&e&&H("innerHTML",z().$implicit.label,kn)}function MH(e,n){1&e&&nr(0)}function IH(e,n){if(1&e&&ve(0,MH,1,0,"ng-container",17),2&e){const t=z().$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function TH(e,n){if(1&e){const t=rr();v(0,"li",23),$("keydown.enter",function(i){const s=Te(t).$implicit;return Ae(z(2).removeSelection(i,s))}),ve(1,EH,2,0,"span",24)(2,SH,1,1,"span",16)(3,IH,1,2),_()}if(2&e){const t=n.$implicit,r=z(2);H("title",t.label),D(1),Qe(1,r.disabled||r.readonly?-1:1),D(1),Qe(2,!r.hasTemplate(t,"option")||r.noLabelTemplate?2:3)}}function AH(e,n){if(1&e){const t=rr();v(0,"li",26),$("focus",function(i){return Te(t),Ae(z(2).stopEvent(i))})("blur",function(i){return Te(t),Ae(z(2).stopEvent(i))}),v(1,"input",27),$("click",function(i){Te(t);const o=z(2);return o.toggleOpenAndClose(!1,!0),Ae(o.stopEvent(i))})("keydown",function(i){return Te(t),Ae(z(2).keyDown(i,!0))})("keyup",function(i){return Te(t),Ae(z(2).searchUpdate(i))})("change",function(i){return Te(t),Ae(z(2).prevChange(i))}),_()()}if(2&e){const t=z(2);D(1),H("id",t.id+"-create-field")}}const OH=()=>[];function xH(e,n){if(1&e&&(v(0,"ul",20),ve(1,DH,2,3,"span",21),Ec(2,TH,4,3,"li",28,yc().trackBy),ve(4,AH,2,1,"li",22),_()),2&e){const t=z();D(1),Qe(1,t.autoCreate?-1:1),D(1),Sc(t.option||function aw(e,n,t){const r=Ut()+e,i=S();return i[r]===ae?Jn(i,r,t?n.call(t):n()):function ra(e,n){return e[n]}(i,r)}(2,OH)),D(2),Qe(4,t.autoCreate?4:-1)}}function RH(e,n){1&e&&nr(0)}function NH(e,n){1&e&&ve(0,RH,1,0,"ng-container",29),2&e&&(z(),H("ngTemplateOutlet",Ct(17)))}function PH(e,n){1&e&&nr(0)}function kH(e,n){1&e&&ve(0,PH,1,0,"ng-container",29),2&e&&(z(),H("ngTemplateOutlet",Ct(17)))}function FH(e,n){if(1&e&&Q(0,"strong",16),2&e){const t=z(2).$implicit;H("innerHTML",t.label,kn),$t("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function LH(e,n){1&e&&nr(0)}function VH(e,n){if(1&e&&ve(0,LH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function BH(e,n){1&e&&Q(0,"div",47),2&e&&H("innerHTML",z().$implicit.label,kn)}function jH(e,n){1&e&&nr(0)}function HH(e,n){if(1&e&&ve(0,jH,1,0,"ng-container",17),2&e){const t=z().$implicit;H("ngTemplateOutlet",z(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function UH(e,n){if(1&e){const t=rr();v(0,"li",44,45),$("mouseenter",function(){const o=Te(t).$implicit;return Ae(z(4).mouseenter(o))})("click",function(){const o=Te(t).$implicit;return Ae(z(4).click(o))}),ve(2,BH,1,1,"div",46)(3,HH,1,2),_()}if(2&e){const t=n.$implicit,r=n.$index,i=z(2).$index,o=z(2);Xh(o.getOptionStyle(t)),H("id",t.id||o.id+"-option-"+i+"-"+r),$t("aria-selected",o.isSelected(t))("aria-disabled",o.isDisabled(t)),D(2),Qe(2,o.hasTemplate(t,"option")?3:2)}}function $H(e,n){if(1&e&&(v(0,"li",42),ve(1,FH,1,2,"strong",16)(2,VH,1,2),v(3,"ul",43),Ec(4,UH,4,6,"li",48,yc().trackBy),_()()),2&e){const t=z().$implicit,r=z(2);D(1),Qe(1,r.hasTemplate(t,"group")?2:1),D(3),Sc(t.options)}}function zH(e,n){1&e&&Q(0,"div",47),2&e&&H("innerHTML",z(2).$implicit.label,kn)}function GH(e,n){1&e&&nr(0)}function WH(e,n){if(1&e&&ve(0,GH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function qH(e,n){1&e&&nr(0)}function ZH(e,n){if(1&e&&ve(0,qH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function YH(e,n){if(1&e){const t=rr();v(0,"li",44,45),$("mouseenter",function(){Te(t);const i=z().$implicit;return Ae(z(2).mouseenter(i))})("click",function(){Te(t);const i=z().$implicit;return Ae(z(2).click(i))}),ve(2,zH,1,1,"div",46)(3,WH,1,2)(4,ZH,1,2,"ng-template",null,49,rn),_()}if(2&e){const t=z(),r=t.$implicit,i=t.$index,o=z(2);Xh(o.getOptionStyle(r)),H("id",r.id||o.id+"-option-"+i),$t("aria-selected",o.isSelected(r))("aria-disabled",o.isDisabled(r)),D(2),Qe(2,o.hasTemplate(r,"option")?3:2)}}function KH(e,n){1&e&&ve(0,$H,6,1,"li",41)(1,YH,6,6),2&e&&Qe(0,void 0!==n.$implicit.options?0:1)}function QH(e,n){1&e&&Q(0,"li",50),2&e&&H("innerHTML",z(2).noResultMessage,kn)}function XH(e,n){1&e&&Q(0,"li",51),2&e&&H("innerHTML",z(2).maxResultsMessage,kn)}function JH(e,n){if(1&e){const t=rr();v(0,"div",30)(1,"div",31,32)(3,"div",33)(4,"input",34,35),$("keydown",function(i){Te(t);const o=z();return Ae(o.keyDown(i,o.autoCreate))})("keyup",function(i){return Te(t),Ae(z().searchUpdate(i))})("change",function(i){return Te(t),Ae(z().prevChange(i))}),_()(),v(6,"div",36)(7,"ul",37,38),$("scrolled",function(){return Te(t),Ae(z().onScroll("down"))})("scrolledUp",function(){return Te(t),Ae(z().onScroll("up"))})("keydown",function(i){return Te(t),Ae(z().keyDown(i))}),Ec(9,KH,2,1,null,null,yc().trackBy),ve(11,QH,1,1,"li",39)(12,XH,1,1,"li",40),_()()()()}if(2&e){const t=Ct(8),r=z();bt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition),D(1),bt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),D(2),bt("select2-search--hide",r.hideSearch()),D(1),H("id",r.id+"-search-field")("value",r.searchText),$t("tabindex",r.isOpen?r.tabIndex:"-1"),D(3),_c("max-height",r.resultMaxHeight),H("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),D(2),Sc(r.filteredData),D(2),Qe(11,null!=r.filteredData&&r.filteredData.length||!r.noResultMessage?-1:11),D(1),Qe(12,r.maxResultsExceeded?12:-1)}}const eU=[[["select2-label"]],[["select2-hint"]]],tU=["select2-label","select2-hint"];let nU=0;const rU=["default","hidden","always"];let tM=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new ue,this.autoCreateItem=new ue,this.open=new ue,this.close=new ue,this.focus=new ue,this.blur=new ue,this.search=new ue,this.scroll=new ue,this.removeOption=new ue,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new ht,this._disabled=!1,this._multiple=!1,this._uid="select2-"+nU++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=Ce.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&Ce.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=rU.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?Ce.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof yn||this.templates?.[t.templateId]instanceof yn||this.templates?.[r]instanceof yn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=Ce.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=Ce.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=Ce.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;Ce.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=Ce.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return Ce.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){Ce.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=Ce.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value="",this.autoCreateItem.emit({value:i,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(Ce.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(Ce.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=Ce.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&Ce.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(Ce.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}static#e=this.\u0275fac=function(r){return new(r||e)(I(mg),I(_o),I(Du,8),I(Wo,8),I(Er,10),Ps("tabindex"))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["select2"]],viewQuery:function(r,i){if(1&r&&(Di(YS,5),Di(cH,7),Di(uH,5),Di(dH,5),Di(hH,5),Di(fH,5)),2&r){let o;zr(o=Gr())&&(i.cdkConnectedOverlay=o.first),zr(o=Gr())&&(i.selection=o.first),zr(o=Gr())&&(i.resultContainer=o.first),zr(o=Gr())&&(i.searchInput=o.first),zr(o=Gr())&&(i.dropdown=o.first),zr(o=Gr())&&(i.results=o)}},hostVars:8,hostBindings:function(r,i){1&r&&$("click",function(s){return i.clickDetection(s)},0,V_),2&r&&(Ef("id",i.id),$t("aria-invalid",i.ariaInvalid),bt("material",i.classMaterial)("nostyle",i.classNostyle)("select2-above",i.select2above))},inputs:{data:"data",minCharForSearch:["minCharForSearch","minCharForSearch",Mi],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:["limitSelection","limitSelection",Mi],listPosition:"listPosition",multiple:["multiple","multiple",Ye],overlay:["overlay","overlay",Ye],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:["maxResults","maxResults",Mi],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:["infiniteScrollDistance","infiniteScrollDistance",Mi],infiniteScrollThrottle:["infiniteScrollThrottle","infiniteScrollThrottle",Mi],infiniteScroll:["infiniteScroll","infiniteScroll",Ye],autoCreate:["autoCreate","autoCreate",Ye],noLabelTemplate:["noLabelTemplate","noLabelTemplate",Ye],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:["customSearchEnabled","customSearchEnabled",Ye],minCountForSearch:["minCountForSearch","minCountForSearch",Mi],id:"id",required:["required","required",Ye],disabled:["disabled","disabled",Ye],hideSelectedItems:["hideSelectedItems","hideSelectedItems",Ye],readonly:["readonly","readonly",Ye],value:"value",tabIndex:["tabIndex","tabIndex",Mi],resettable:["resettable","resettable",Ye],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[pc],ngContentSelectors:tU,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title"],["class","select2-selection__reset","role","presentation"],["class","select2-selection__arrow","role","presentation"],["class","select2-selection__rendered"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option"],["class","select2-selection__auto-create"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation"],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],["class","select2-selection__choice","tabindex","0",3,"title"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],["class","select2-no-result select2-results__option",3,"innerHTML"],["class","select2-too-much-result select2-results__option",3,"innerHTML"],["class","select2-results__option","role","group"],["role","group",1,"select2-results__option"],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML"],[1,"select2-label-content",3,"innerHTML"],["role","treeitem",3,"id","class"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(r,i){if(1&r&&(function wC(e){const n=S()[Ze][Rt];if(!n.projection){const r=n.projection=Fs(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){const s=e?LN(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(eU),v(0,"div",0),$("click",function(){return i.toggleOpenAndClose()}),If(1),ve(2,pH,1,0,"span",1),_(),v(3,"div",2)(4,"div",3,4),$("click",function(){return i.toggleOpenAndClose()})("focus",function(){return i.focusin()})("blur",function(){return i.focusout()})("keydown",function(s){return i.openKey(s)}),v(7,"div",5),ve(8,bH,5,6,"span",6)(9,CH,2,0,"span",7)(10,wH,1,0,"span",8)(11,xH,5,3,"ul",9),_()(),ve(12,NH,1,1,"ng-container"),v(13,"div",10),If(14,1),_()(),ve(15,kH,1,1,"ng-template",11),$("backdropClick",function(){return i.toggleOpenAndClose()}),ve(16,JH,13,23,"ng-template",null,12,rn)),2&r){const o=Ct(6);D(2),Qe(2,i.required?2:-1),D(1),bt("select2-container--focus",i.focused)("select2-container--below",!i.select2above)("select2-container--above",i.select2above)("select2-container--open",i.isOpen)("select2-container--disabled",i.disabled),D(1),bt("select2-focused",i.focused),H("tabindex",i.isOpen?"-1":i.tabIndex),D(3),bt("select2-selection--multiple",i.multiple)("select2-selection--single",!i.multiple),D(1),Qe(8,i.multiple?-1:8),D(1),Qe(9,i.multiple||!i.resettable||i.resetSelectedValue===i.value||!i.select2Option||i.disabled||i.readonly?-1:9),D(1),Qe(10,i.multiple?-1:10),D(1),Qe(11,i.multiple?11:-1),D(1),Qe(12,i.overlay?-1:12),D(3),H("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",i.isOpen&&i.overlay)("cdkConnectedOverlayMinWidth",i.overlayWidth)("cdkConnectedOverlayHeight",i.overlayHeight)("cdkConnectedOverlayPositions",i._positions)}},dependencies:[BD,YS,ZS,sH],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{content:" ";border-color:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']})}return e})(),iU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[UD,ag,Aj,bS,lH,ag,bS]})}return e})();class sU extends Ne{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class aU extends Ne{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function lU(e,n,t,r,i=new aU(e,t,r)){if(!i.closed)return n instanceof qe?n.subscribe(i):Vp(n)(i)}const nM={};function wg(...e){let n,t;return Qo(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&oi(e[0])&&(e=e[0]),Iu(e,t).lift(new cU(n))}class cU{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new uU(n,this.resultSelector))}}class uU extends sU{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(nM),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Dg(...e){return function dU(){return Jo(1)}()(ee(...e))}function rM(e){return new qe(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?Dt(t):lg()).subscribe(n)})}function Eg(){return function(n){return n.lift(new hU(n))}}class hU{constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new fU(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class fU extends Ne{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class Sg extends qe{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new we,n.add(this.source.subscribe(new pU(this.getSubject(),this))),n.closed&&(this._connection=null,n=we.EMPTY)),n}refCount(){return Eg()(this)}}class pU extends am{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}function ku(e=null){return n=>n.lift(new _U(e))}class _U{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new vU(n,this.defaultValue))}}class vU extends Ne{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function iM(e=CU){return n=>n.lift(new yU(e))}class yU{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new bU(n,this.errorFactory))}}class bU extends Ne{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function CU(){return new Pu}function Ni(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):ol,Xr(1),t?ku(n):iM(()=>new Pu))}function Ba(e,n){return Ft(e,n,1)}class DU{constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new EU(n,this.accumulator,this.seed,this.hasSeed))}}class EU extends Ne{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function Mg(e){return function(t){return 0===e?lg():t.lift(new SU(e))}}class SU{constructor(n){if(this.total=n,this.total<0)throw new wS}call(n,t){return t.subscribe(new MU(n,this.total))}}class MU extends Ne{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new xU(e))}class xU{constructor(n){this.callback=n}call(n,t){return t.subscribe(new RU(n,this.callback))}}class RU extends Ne{constructor(n,t){super(n),this.add(new we(t))}}const de="primary",ja=Symbol("RouteTitle");class NU{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function es(e){return new NU(e)}function PU(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function sM(e){return e.length>0?e[e.length-1]:null}function ei(e){return function oU(e){return!!e&&(e instanceof qe||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:ya(e)?Dt(Promise.resolve(e)):ee(e)}const FU={exact:function cM(e,n,t){if(!Pi(e.segments,n.segments)||!Fu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!cM(e.children[r],n.children[r],t))return!1;return!0},subset:uM},aM={exact:function LU(e,n){return sr(e,n)},subset:function VU(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>oM(e[t],n[t]))},ignored:()=>!0};function lM(e,n,t){return FU[t.paths](e.root,n.root,t.matrixParams)&&aM[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function uM(e,n,t){return dM(e,n,n.segments,t)}function dM(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Pi(i,t)||n.hasChildren()||!Fu(i,t,r))}if(e.segments.length===t.length){if(!Pi(e.segments,t)||!Fu(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!uM(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Pi(e.segments,i)&&Fu(e.segments,i,r)&&e.children[de])&&dM(e.children[de],n,o,r)}}function Fu(e,n,t){return n.every((r,i)=>aM[t](e[i].parameters,r.parameters))}class ts{constructor(n=new Re([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=es(this.queryParams)),this._queryParamMap}toString(){return HU.serialize(this)}}class Re{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lu(this)}}class Ha{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=es(this.parameters)),this._parameterMap}toString(){return pM(this)}}function Pi(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let ns=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new Ag,providedIn:"root"})}return e})();class Ag{parse(n){const t=new XU(n);return new ts(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ua(n.root,!0)}`,r=function zU(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${Vu(t)}=${Vu(i)}`).join("&"):`${Vu(t)}=${Vu(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function UU(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const HU=new Ag;function Lu(e){return e.segments.map(n=>pM(n)).join("/")}function Ua(e,n){if(!e.hasChildren())return Lu(e);if(n){const t=e.children[de]?Ua(e.children[de],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==de&&r.push(`${i}:${Ua(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function jU(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===de&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==de&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===de?[Ua(e.children[de],!1)]:[`${i}:${Ua(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[de]?`${Lu(e)}/${t[0]}`:`${Lu(e)}/(${t.join("//")})`}}function hM(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vu(e){return hM(e).replace(/%3B/gi,";")}function Og(e){return hM(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bu(e){return decodeURIComponent(e)}function fM(e){return Bu(e.replace(/\+/g,"%20"))}function pM(e){return`${Og(e.path)}${function $U(e){return Object.keys(e).map(n=>`;${Og(n)}=${Og(e[n])}`).join("")}(e.parameters)}`}const GU=/^[^\/()?;#]+/;function xg(e){const n=e.match(GU);return n?n[0]:""}const WU=/^[^\/()?;=#]+/,ZU=/^[^=?&#]+/,KU=/^[^&#]+/;class XU{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[de]=new Re(n,t)),r}parseSegment(){const n=xg(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Ha(Bu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function qU(e){const n=e.match(WU);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=xg(this.remaining);i&&(r=i,this.capture(r))}n[Bu(t)]=Bu(r)}parseQueryParam(n){const t=function YU(e){const n=e.match(ZU);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function QU(e){const n=e.match(KU);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=fM(t),o=fM(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=xg(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new A(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=de);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[de]:new Re([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}}function gM(e){return e.segments.length>0?new Re([],{[de]:e}):e}function mM(e){const n={};for(const r of Object.keys(e.children)){const o=mM(e.children[r]);if(r===de&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function JU(e){if(1===e.numberOfChildren&&e.children[de]){const n=e.children[de];return new Re(e.segments.concat(n.segments),n.children)}return e}(new Re(e.segments,n))}function ki(e){return e instanceof ts}function _M(e){let n;const i=gM(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Re(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function vM(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Rg(i,i,i,t,r);const o=function t3(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new bM(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new bM(t,n,r)}(n);if(o.toRoot())return Rg(i,i,new Re([],{}),t,r);const s=function n3(e,n,t){if(e.isAbsolute)return new Hu(n,!0,0);if(!t)return new Hu(n,!1,NaN);if(null===t.parent)return new Hu(t,!0,0);const r=ju(e.commands[0])?0:1;return function r3(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new A(4005,!1);i=r.segments.length}return new Hu(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?za(s.segmentGroup,s.index,o.commands):CM(s.segmentGroup,s.index,o.commands);return Rg(i,s.segmentGroup,a,t,r)}function ju(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $a(e){return"object"==typeof e&&null!=e&&e.outlets}function Rg(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:yM(e,n,t);const a=gM(mM(s));return new ts(a,o,i)}function yM(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:yM(o,n,t)}),new Re(e.segments,r)}class bM{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ju(r[0]))throw new A(4003,!1);const i=r.find($a);if(i&&i!==sM(r))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Hu{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function CM(e,n,t){if(e||(e=new Re([],{})),0===e.segments.length&&e.hasChildren())return za(e,n,t);const r=function o3(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if($a(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!DM(l,c,s))return o;r+=2}else{if(!DM(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==de)&&e.children[de]&&1===e.numberOfChildren&&0===e.children[de].segments.length){const o=za(e.children[de],n,t);return new Re(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=CM(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Re(e.segments,i)}}function Ng(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Ng(new Re([],{}),0,r))}),n}function wM(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function DM(e,n,t){return e==t.path&&sr(n,t.parameters)}const Ga="imperative";class ar{constructor(n,t){this.id=n,this.url=t}}class Uu extends ar{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ir extends ar{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class rs extends ar{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class is extends ar{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class $u extends ar{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class EM extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class a3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class l3 extends ar{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class c3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class d3{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class h3{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class f3{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class p3{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class g3{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class m3{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class SM{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Pg{}class kg{constructor(n){this.url=n}}class _3{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Wa,this.attachRef=null}}let Wa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new _3,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class MM{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Fg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Fg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Lg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Lg(n,this._root).map(t=>t.value)}}function Fg(e,n){if(e===n.value)return n;for(const t of n.children){const r=Fg(e,t);if(r)return r}return null}function Lg(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Lg(e,t);if(r.length)return r.unshift(n),r}return[]}class jn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function os(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class IM extends MM{constructor(n,t){super(n),this.snapshot=t,jg(this,n)}toString(){return this.snapshot.toString()}}function TM(e,n){const t=function v3(e,n){const s=new Bg([],{},{},"",{},de,n,null,{});return new AM("",new jn(s,[]))}(0,n),r=new un([new Ha("",{})]),i=new un({}),o=new un({}),s=new un({}),a=new un(""),l=new ss(r,i,s,a,o,de,n,t.root);return l.snapshot=t.root,new IM(new jn(l,[]),t)}class ss{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(se(c=>c[ja]))??ee(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}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(se(n=>es(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(se(n=>es(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vg(e,n,t="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===n||"always"!==t&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...i?.data,...e._resolvedData}},i&&xM(i)&&(r.resolve[ja]=i.title),r}class Bg{get title(){return this.data?.[ja]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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=es(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=es(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class AM extends MM{constructor(n,t){super(t),this.url=n,jg(this,t)}toString(){return OM(this._root)}}function jg(e,n){n.value._routerState=e,n.children.forEach(t=>jg(e,t))}function OM(e){const n=e.children.length>0?` { ${e.children.map(OM).join(", ")} } `:"";return`${e.value}${n}`}function Hg(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,sr(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),sr(n.params,t.params)||e.paramsSubject.next(t.params),function kU(e,n){if(e.length!==n.length)return!1;for(let t=0;tsr(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Ug(e.parent,n.parent))}function xM(e){return"string"==typeof e.title||null===e.title}let $g=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=de,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=L(Wa),this.location=L(En),this.changeDetector=L(_o),this.environmentInjector=L(wn),this.inputBinder=L(zu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new y3(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jt]})}return e})();class y3{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===ss?this.route:n===Wa?this.childContexts:this.parent.get(n,t)}}const zu=new U("");let RM=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=wg([r.queryParams,r.params,r.data]).pipe(Cn(([o,s,a],l)=>(a={...o,...s,...a},0===l?ee(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function y2(e){const n=he(e);if(!n)return null;const t=new na(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function qa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function C3(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return qa(e,r,i);return qa(e,r)})}(e,n,t);return new jn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>qa(e,a)),s}}const r=function w3(e){return new ss(new un(e.url),new un(e.params),new un(e.queryParams),new un(e.fragment),new un(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>qa(e,o));return new jn(r,i)}}const zg="ngNavigationCancelingError";function NM(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=ki(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=PM(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function PM(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[zg]=!0,r.cancellationCode=n,t&&(r.url=t),r}function kM(e){return e&&e[zg]}let FM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ui({type:e,selectors:[["ng-component"]],standalone:!0,features:[JC],decls:1,vars:0,template:function(r,i){1&r&&Q(0,"router-outlet")},dependencies:[$g],encapsulation:2})}return e})();function Gg(e){const n=e.children&&e.children.map(Gg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==de&&(t.component=FM),t}function lr(e){return e.outlet||de}function Za(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class O3{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Hg(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=os(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=os(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=os(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=os(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new m3(o.value.snapshot))}),n.children.length&&this.forwardEvent(new p3(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(Hg(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hg(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Za(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class LM{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Gu{constructor(n,t){this.component=n,this.route=t}}function x3(e,n,t){const r=e._root;return Ya(r,n?n._root:null,t,[r.value])}function as(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function I0(e){return null!==ll(e)}(e)?n.get(e):e:r}function Ya(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=os(n);return e.children.forEach(s=>{(function N3(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function P3(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Pi(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Pi(e.url,n.url)||!sr(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ug(e,n)||!sr(e.queryParams,n.queryParams);default:return!Ug(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new LM(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ya(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Gu(a.outlet.component,s))}else s&&Ka(n,a,i),i.canActivateChecks.push(new LM(r)),Ya(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ka(a,t.getContext(s),i)),i}function Ka(e,n,t){const r=os(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Ka(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Gu(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Qa(e){return"function"==typeof e}function VM(e){return e instanceof Pu||"EmptyError"===e?.name}const Wu=Symbol("INITIAL_VALUE");function ls(){return Cn(e=>wg(e.map(n=>n.pipe(Xr(1),function mU(...e){const n=e[e.length-1];return Qo(n)?(e.pop(),t=>Dg(e,t,n)):t=>Dg(e,t)}(Wu)))).pipe(se(n=>{for(const t of n)if(!0!==t){if(t===Wu)return Wu;if(!1===t||t instanceof ts)return t}return!0}),on(n=>n!==Wu),Xr(1)))}function BM(e){return function m0(...e){return om(e)}(We(n=>{if(ki(n))throw NM(0,n)}),se(n=>!0===n))}class Wg{constructor(n){this.segmentGroup=n||null}}class qg extends Error{constructor(n){super(),this.urlTree=n}}function cs(e){return Mr(new Wg(e))}class e${constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ee(r);if(i.numberOfChildren>1||!i.children[de])return Mr(new A(4e3,!1));i=i.children[de]}}applyRedirectCommands(n,t,r){const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new qg(i);return i}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new ts(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Re(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new A(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Zg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function t$(e,n,t,r,i){const o=Yg(e,n,t);return o.matched?(r=function E3(e,n){return e.providers&&!e._injector&&(e._injector=kf(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function Q3(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?ee(i.map(s=>{const a=as(s,e);return ei(function j3(e){return e&&Qa(e.canMatch)}(a)?a.canMatch(n,t):fi(e,()=>a(n,t)))})).pipe(ls(),BM()):ee(!0)}(r,n,t).pipe(se(s=>!0===s?o:{...Zg}))):ee(o)}function Yg(e,n,t){if("**"===n.path)return function n$(e){return{matched:!0,parameters:e.length>0?sM(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Zg}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||PU)(t,e,n);if(!i)return{...Zg};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jM(e,n,t,r){return t.length>0&&function o$(e,n,t){return t.some(r=>qu(e,n,r)&&lr(r)!==de)}(e,t,r)?{segmentGroup:new Re(n,i$(r,new Re(t,e.children))),slicedSegments:[]}:0===t.length&&function s$(e,n,t){return t.some(r=>qu(e,n,r))}(e,t,r)?{segmentGroup:new Re(e.segments,r$(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Re(e.segments,e.children),slicedSegments:t}}function r$(e,n,t,r,i){const o={};for(const s of r)if(qu(e,t,s)&&!i[lr(s)]){const a=new Re([],{});o[lr(s)]=a}return{...i,...o}}function i$(e,n){const t={};t[de]=n;for(const r of e)if(""===r.path&&lr(r)!==de){const i=new Re([],{});t[lr(r)]=i}return t}function qu(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class c${}class h${constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new e$(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){const n=jM(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(se(t=>{const r=new Bg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},de,this.rootComponentType,null,{}),i=new jn(r,t),o=new AM("",i),s=function e3(e,n,t=null,r=null){return vM(_M(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,de).pipe(Ko(r=>{if(r instanceof qg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Wg?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,i=Vg(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(se(o=>o instanceof jn?[o]:[]))}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Dt(i).pipe(Ba(o=>{const s=r.children[o],a=function T3(e,n){const t=e.filter(r=>lr(r)===n);return t.push(...e.filter(r=>lr(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function wU(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new DU(e,n,t))}}((o,s)=>(o.push(...s),o)),ku(null),function IU(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):ol,Mg(1),t?ku(n):iM(()=>new Pu))}(),Ft(o=>{if(null===o)return cs(r);const s=HM(o);return function f$(e){e.sort((n,t)=>n.value.outlet===de?-1:t.value.outlet===de?1:n.value.outlet.localeCompare(t.value.outlet))}(s),ee(s)}))}processSegment(n,t,r,i,o,s){return Dt(t).pipe(Ba(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(Ko(l=>{if(l instanceof Wg)return ee(null);throw l}))),Ni(a=>!!a),Ko(a=>{if(VM(a))return function l$(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?ee(new c$):cs(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function a$(e,n,t,r){return!!(lr(e)===r||r!==de&&qu(n,t,e))&&Yg(n,e,t).matched}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):cs(i):cs(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=Yg(t,i,o);if(!a)return cs(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(Ft(f=>this.processSegment(n,r,t,f.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){const s=t$(t,r,i,n);return"**"===r.path&&(t.children={}),s.pipe(Cn(a=>a.matched?this.getChildConfig(n=r._injector??n,r,i).pipe(Cn(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:f}=a,p=new Bg(u,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function g$(e){return e.data||{}}(r),lr(r),r.component??r._loadedComponent??null,r,function m$(e){return e.resolve||{}}(r)),{segmentGroup:y,slicedSegments:w}=jM(t,u,d,l);if(0===w.length&&y.hasChildren())return this.processChildren(c,l,y).pipe(se(F=>null===F?null:new jn(p,F)));if(0===l.length&&0===w.length)return ee(new jn(p,[]));const T=lr(r)===o;return this.processSegment(c,l,y,w,T?de:o,!0).pipe(se(F=>new jn(p,F instanceof jn?[F]:[])))})):cs(t)))}getChildConfig(n,t,r){return t.children?ee({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ee({routes:t._loadedRoutes,injector:t._loadedInjector}):function K3(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?ee(!0):ee(i.map(s=>{const a=as(s,e);return ei(function F3(e){return e&&Qa(e.canLoad)}(a)?a.canLoad(n,t):fi(e,()=>a(n,t)))})).pipe(ls(),BM())}(n,t,r).pipe(Ft(i=>i?this.configLoader.loadChildren(n,t).pipe(We(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function J3(e){return Mr(PM(!1,3))}())):ee({routes:[],injector:n})}}function p$(e){const n=e.value.routeConfig;return n&&""===n.path}function HM(e){const n=[],t=new Set;for(const r of e){if(!p$(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=HM(r.children);n.push(new jn(r.value,i))}return n.filter(r=>!t.has(r))}function UM(e){const n=e.children.map(t=>UM(t)).flat();return[e,...n]}function Kg(e){return Cn(n=>{const t=e(n);return t?Dt(t).pipe(se(()=>n)):ee(n)})}let $M=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===de);return r}getResolvedTitleForRoute(t){return t.data[ja]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(w$),providedIn:"root"})}return e})(),w$=(()=>{class e extends $M{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(x(aE))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const us=new U("",{providedIn:"root",factory:()=>({})}),ds=new U("ROUTES");let Qg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=L(Lw)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ee(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=ei(t.loadComponent()).pipe(se(zM),We(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ig(()=>{this.componentLoaders.delete(t)})),i=new Sg(r,()=>new ht).pipe(Eg());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ee({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function D$(e,n,t,r){return ei(e.loadChildren()).pipe(se(zM),Ft(i=>i instanceof QC||Array.isArray(i)?ee(i):Dt(n.compileModuleAsync(i))),se(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(t).injector,s=o.get(ds,[],{optional:!0,self:!0}).flat()),{routes:s.map(Gg),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Ig(()=>{this.childrenLoaders.delete(r)})),s=new Sg(o,()=>new ht).pipe(Eg());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zM(e){return function E$(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Xg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(S$),providedIn:"root"})}return e})(),S$=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const GM=new U(""),WM=new U("");function M$(e,n,t){const r=e.get(WM),i=e.get(je);return e.get(me).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),function I$(e){return new Promise(n=>{Ey(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&fi(e,()=>l({transition:a,from:n,to:t})),s})}let Zu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ht,this.transitionAbortSubject=new ht,this.configLoader=L(Qg),this.environmentInjector=L(wn),this.urlSerializer=L(ns),this.rootContexts=L(Wa),this.location=L(Ho),this.inputBindingEnabled=null!==L(zu,{optional:!0}),this.titleStrategy=L($M),this.options=L(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=L(Xg),this.createViewTransition=L(GM,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ee(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new h3(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new d3(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new un({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ga,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(on(o=>0!==o.id),se(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Cn(o=>{this.currentTransition=o;let s=!1,a=!1;return ee(o).pipe(We(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Cn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new is(l.id,this.urlSerializer.serialize(l.rawUrl),d,0)),l.resolve(null),Sr}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ee(l).pipe(Cn(d=>{const f=this.transitions?.getValue();return this.events.next(new Uu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Sr:Promise.resolve(d)}),function _$(e,n,t,r,i,o){return Ft(s=>function u$(e,n,t,r,i,o,s="emptyOnly"){return new h$(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(se(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),We(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new EM(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:f,source:p,restoredState:y,extras:w}=l,T=new Uu(d,this.urlSerializer.serialize(f),p,y);this.events.next(T);const F=TM(0,this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:F,urlAfterRedirects:f,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,ee(o)}{const d="";return this.events.next(new is(l.id,this.urlSerializer.serialize(l.extractedUrl),d,1)),l.resolve(null),Sr}}),We(l=>{const c=new a3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),se(l=>(this.currentTransition=o={...l,guards:x3(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function U3(e,n){return Ft(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?ee({...t,guardsResult:!0}):function $3(e,n,t,r){return Dt(e).pipe(Ft(i=>function Y3(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ee(o.map(a=>{const l=Za(n)??i,c=as(a,l);return ei(function B3(e){return e&&Qa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):fi(l,()=>c(e,n,t,r))).pipe(Ni())})).pipe(ls()):ee(!0)}(i.component,i.route,t,n,r)),Ni(i=>!0!==i,!0))}(s,r,i,e).pipe(Ft(a=>a&&function k3(e){return"boolean"==typeof e}(a)?function z3(e,n,t,r){return Dt(n).pipe(Ba(i=>Dg(function W3(e,n){return null!==e&&n&&n(new f3(e)),ee(!0)}(i.route.parent,r),function G3(e,n){return null!==e&&n&&n(new g3(e)),ee(!0)}(i.route,r),function Z3(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function R3(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>rM(()=>ee(s.guards.map(l=>{const c=Za(s.node)??t,u=as(l,c);return ei(function V3(e){return e&&Qa(e.canActivateChild)}(u)?u.canActivateChild(r,e):fi(c,()=>u(r,e))).pipe(Ni())})).pipe(ls())));return ee(o).pipe(ls())}(e,i.path,t),function q3(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return ee(!0);const i=r.map(o=>rM(()=>{const s=Za(n)??t,a=as(o,s);return ei(function L3(e){return e&&Qa(e.canActivate)}(a)?a.canActivate(n,e):fi(s,()=>a(n,e))).pipe(Ni())}));return ee(i).pipe(ls())}(e,i.route,t))),Ni(i=>!0!==i,!0))}(r,o,e,n):ee(a)),se(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),We(l=>{if(o.guardsResult=l.guardsResult,ki(l.guardsResult))throw NM(0,l.guardsResult);const c=new l3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),on(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),Kg(l=>{if(l.guards.canActivateChecks.length)return ee(l).pipe(We(c=>{const u=new c3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Cn(c=>{let u=!1;return ee(c).pipe(function v$(e,n){return Ft(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return ee(t);const o=new Set(i.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of UM(l))s.add(c);let a=0;return Dt(s).pipe(Ba(l=>o.has(l)?function y$(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!xM(i)&&(o[ja]=i.title),function b$(e,n,t,r){const i=Tg(e);if(0===i.length)return ee({});const o={};return Dt(i).pipe(Ft(s=>function C$(e,n,t,r){const i=Za(n)??r,o=as(e,i);return ei(o.resolve?o.resolve(n,t):fi(i,()=>o(n,t)))}(e[s],n,t,r).pipe(Ni(),We(a=>{o[s]=a}))),Mg(1),function TU(e){return n=>n.lift(new AU(e))}(o),Ko(s=>VM(s)?Sr:Mr(s)))}(o,e,n,r).pipe(se(s=>(e._resolvedData=s,e.data=Vg(e,e.parent,t).resolve,null)))}(l,r,e,n):(l.data=Vg(l,l.parent,e).resolve,ee(void 0))),We(()=>a++),Mg(1),Ft(l=>a===s.size?ee(t):Sr))})}(this.paramsInheritanceStrategy,this.environmentInjector),We({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",2)}}))}),We(c=>{const u=new u3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Kg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(We(f=>{u.component=f}),se(()=>{})));for(const f of u.children)d.push(...c(f));return d};return wg(c(l.targetSnapshot.root)).pipe(ku(null),Xr(1))}),Kg(()=>this.afterPreactivation()),Cn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Dt(u).pipe(se(()=>o)):ee(o)}),se(l=>{const c=function b3(e,n,t){const r=qa(e,n._root,t?t._root:void 0);return new IM(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),We(()=>{this.events.next(new Pg)}),((e,n,t,r)=>se(i=>(new O3(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Xr(1),We({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ir(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),kS(this.transitionAbortSubject.pipe(We(l=>{throw l}))),Ig(()=>{s||a||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Ko(l=>{if(a=!0,kM(l))this.events.next(new rs(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function D3(e){return kM(e)&&ki(e.url)}(l)?this.events.next(new kg(l.url)):o.resolve(!1);else{this.events.next(new $u(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){o.reject(c)}}return Sr}))}))}cancelNavigationTransition(t,r,i){const o=new rs(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.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(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function T$(e){return e!==Ga}let A$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(x$),providedIn:"root"})}return e})();class O${shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let x$=(()=>{class e extends O${static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(R$),providedIn:"root"})}return e})(),R$=(()=>{class e extends qM{constructor(){super(...arguments),this.location=L(Ho),this.urlSerializer=L(ns),this.options=L(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=L(Xg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ts,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=TM(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(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Uu)this.stateMemento=this.createStateMemento();else if(t instanceof is)this.rawUrlTree=r.initialUrl;else if(t instanceof EM){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof Pg?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof rs&&(3===t.code||2===t.code)?this.restoreHistory(r):t instanceof $u?this.restoreHistory(r,!0):t instanceof Ir&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Xa||{});function ZM(e,n){e.events.pipe(on(t=>t instanceof Ir||t instanceof rs||t instanceof $u||t instanceof is),se(t=>t instanceof Ir||t instanceof is?Xa.COMPLETE:t instanceof rs&&(0===t.code||1===t.code)?Xa.REDIRECTING:Xa.FAILED),on(t=>t!==Xa.REDIRECTING),Xr(1)).subscribe(()=>{n()})}function N$(e){throw e}const P$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hn=(()=>{class e{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=L(Fw),this.stateManager=L(qM),this.options=L(us,{optional:!0})||{},this.pendingTasks=L(qf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=L(Zu),this.urlSerializer=L(ns),this.location=L(Ho),this.urlHandlingStrategy=L(Xg),this._events=new ht,this.errorHandler=this.options.errorHandler||N$,this.navigated=!1,this.routeReuseStrategy=L(A$),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=L(ds,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!L(zu,{optional:!0}),this.eventsSubscription=new we,this.isNgZoneEnabled=L(me)instanceof me&&me.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof rs&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof Ir)this.navigated=!0;else if(r instanceof kg){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||T$(i.source)};this.scheduleNavigation(s,Ga,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function L$(e){return!(e instanceof Pg||e instanceof kg)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ga,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Gg),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(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=_M(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return vM(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=ki(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ga,null,r)}navigate(t,r={skipLocationChange:!1}){return function F$(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return ZM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yu=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new ht,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Ir&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"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 t=null===this.href?null:function xv(e,n,t){return function UA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Ov:Av}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}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(r){return new(r||e)(I(Hn),I(ss),Ps("tabindex"),I(_r),I(vt),I(Ii))};static#t=this.\u0275dir=K({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){1&r&&$("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&$t("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ye],skipLocationChange:["skipLocationChange","skipLocationChange",Ye],replaceUrl:["replaceUrl","replaceUrl",Ye],routerLink:"routerLink"},standalone:!0,features:[pc,jt]})}return e})(),YM=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ue,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Ir&&this.update()})}ngAfterContentInit(){ee(this.links.changes,ee(null)).pipe(Jo()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Dt(t).pipe(Jo()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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(t))})}isLinkActive(t){const r=function V$(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Hn),I(vt),I(_r),I(_o),I(Yu,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(1&r&&function _w(e,n,t,r){const i=_e();if(i.firstCreatePass){const o=xe();yw(i,new gw(n,t,r),o.index),function PP(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}vw(i,S(),t)}(o,Yu,5),2&r){let s;zr(s=Gr())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[jt]})}return e})();class KM{}let B$=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(on(t=>t instanceof Ir),Ba(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=kf(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Dt(i).pipe(Jo())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ee(null);const o=i.pipe(Ft(s=>null===s?ee(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Dt([o,this.loader.loadComponent(r)]).pipe(Jo()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(x(Hn),x(Lw),x(wn),x(KM),x(Qg))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Jg=new U("");let QM=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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(t=>{t instanceof Uu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ir?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof is&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof SM&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new SM(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ty(){throw new Error("invalid")}()};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function cr(e,n){return{\u0275kind:e,\u0275providers:n}}function JM(){const e=L(Tt);return n=>{const t=e.get(Ei);if(n!==t.components[0])return;const r=e.get(Hn),i=e.get(e0);1===e.get(em)&&r.initialNavigation(),e.get(t0,null,fe.Optional)?.setUpPreloading(),e.get(Jg,null,fe.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const e0=new U("",{factory:()=>new ht}),em=new U("",{providedIn:"root",factory:()=>1}),t0=new U("");function $$(e){return cr(0,[{provide:t0,useExisting:B$},{provide:KM,useExisting:e}])}function G$(e){return cr(9,[{provide:GM,useValue:M$},{provide:WM,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const n0=new U("ROUTER_FORROOT_GUARD"),W$=[Ho,{provide:ns,useClass:Ag},Hn,Wa,{provide:ss,useFactory:function XM(e){return e.routerState.root},deps:[Hn]},Qg,[]];let r0=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[W$,[],{provide:ds,multi:!0,useValue:t},{provide:n0,useFactory:K$,deps:[[Hn,new Al,new Ol]]},{provide:us,useValue:r||{}},r?.useHash?{provide:Ii,useClass:E2}:{provide:Ii,useClass:ED},{provide:Jg,useFactory:()=>{const e=L(qF),n=L(me),t=L(us),r=L(Zu),i=L(ns);return t.scrollOffset&&e.setOffset(t.scrollOffset),new QM(i,r,e,n,t)}},r?.preloadingStrategy?$$(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Q$(r):[],r?.bindToComponentInputs?cr(8,[RM,{provide:zu,useExisting:RM}]).\u0275providers:[],r?.enableViewTransitions?G$().\u0275providers:[],[{provide:o0,useFactory:JM},{provide:ep,multi:!0,useExisting:o0}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ds,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(n0,8))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function K$(e){return"guarded"}function Q$(e){return["disabled"===e.initialNavigation?cr(3,[{provide:Xf,multi:!0,useFactory:()=>{const n=L(Hn);return()=>{n.setUpLocationChangeListener()}}},{provide:em,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?cr(2,[{provide:em,useValue:0},{provide:Xf,multi:!0,deps:[Tt],useFactory:n=>{const t=n.get(w2,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Hn),o=n.get(e0);ZM(i,()=>{r(!0)}),n.get(Zu).afterPreactivation=()=>(r(!0),o.closed?ee(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const o0=new U("");let J$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(r,i){1&r&&(v(0,"a",0),b(1,"the source code of the demo"),_(),v(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Examples"),_()(),v(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),Q(10,"router-outlet"))},dependencies:[$g,Yu,YM],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2})}return e})();const Fi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],tm=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],Ku=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],e8=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],t8=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],n8=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],r8=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],nm=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],i8=[{value:!0,label:"true"},{value:!1,label:"false"}],o8=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],s8=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],s0=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],a0=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],l0=[];for(let e=1;e<=50;e++)l0.push({value:e,label:">"+e});const c0=[];for(let e=1;e<=200;e++)c0.push({value:e,label:"item n\xb0 "+e});const u0=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],a8=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],l8=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let d0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["select2-hint"]]})}return e})(),h0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["select2-label"]]})}return e})();function c8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function u8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function d8(e,n){if(1&e&&(v(0,"strong"),b(1),_()),2&e){const t=n.label;D(1),le("(",t,")")}}function h8(e,n){if(1&e&&(v(0,"span"),b(1),_()),2&e){const t=n.data;_c("background",null==t?null:t.color),D(1),vn(null==t?null:t.name)}}function f8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function p8(e,n){1&e&&(b(0),Lc(1,"json")),2&e&&vn(Vc(1,1,n.data))}const g8=(e,n)=>({option:e,group:n}),m8=(e,n,t)=>({template1:e,template2:n,template3:t});let f0=(()=>{class e{constructor(t){this.fb=t,this.data1=Fi,this.data2=tm,this.data3=Ku,this.data4=JSON.parse(JSON.stringify(Ku)),this.data5=e8,this.data6=t8,this.data7=JSON.parse(JSON.stringify(Ku)),this.data8=[],this.data9=JSON.parse(JSON.stringify(Fi)),this.data10=JSON.parse(JSON.stringify(Fi)),this.data11=JSON.parse(JSON.stringify(Fi)),this.data12=JSON.parse(JSON.stringify(Fi)),this.data13=i8,this.data15=tm,this.data16=tm,this.data17=o8,this.data18=r8,this.data19=nm,this.data20=JSON.parse(JSON.stringify(nm)),this.data21=JSON.parse(JSON.stringify(nm)),this.data22=s8,this.data23=s0,this.data24=a0,this.data25=JSON.parse(JSON.stringify(s0)),this.data26=l0,this.data28=c0,this.data29=JSON.parse(JSON.stringify(Ku)),this.data29b=JSON.parse(JSON.stringify(Fi)),this.data30=JSON.parse(JSON.stringify(Fi)),this.data31=u0,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new mV({state:new pe}),this.ctrlForm=this.fb.group({test11:new pe(null,vE.required)}),this.ctrlForm2=this.fb.group({test5:new pe(0,vE.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=n8}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=u0;break;case"french":this.data31=a8;break;case"japanese":this.data31=l8}}static#e=this.\u0275fac=function(r){return new(r||e)(I(yS))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:175,vars:154,consts:[["for","disabled"],["id","disabled","type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["listPosition","above","styleMode","noStyle","id","selec2-20",3,"overlay","data","value","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"overlay","data","value","update"],["id","ex-31"],[3,"change"],["select",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"],["id","ex-32"],["resettable","","autoCreat","","resetSelectedValue","CA","id","selec2-32",3,"overlay","data","value","autoCreateItem"]],template:function(r,i){if(1&r){const o=rr();v(0,"h2"),b(1,"Examples"),_(),v(2,"label",0),b(3,"overlay : "),_(),v(4,"input",1),$("ngModelChange",function(a){return i.overlay=a}),_(),v(5,"div",2)(6,"h3",3),b(7),_(),v(8,"select2",4),$("update",function(a){return i.update("value1",a)})("change",function(a){return i.change("change1",a)})("blur",function(a){return i.blur("blur1",a)})("focus",function(a){return i.focus("focus1",a)})("open",function(a){return i.open("open1",a)})("close",function(a){return i.close("close1",a)})("search",function(a){return i.search("search1",a)}),_(),v(9,"h3",5),b(10),_(),v(11,"select2",6),$("update",function(a){return i.update("value2",a)}),_(),v(12,"h3",7),b(13),_(),v(14,"select2",8),$("update",function(a){return i.update("value3",a)}),_(),v(15,"h3",9),b(16),_(),Q(17,"select2",10),v(18,"h3",11),b(19),_(),v(20,"form",12)(21,"select2",13),$("update",function(a){return i.update("value5",a)}),_()(),v(22,"h3",14),b(23," 6. search limit to "),Q(24,"input",15,16),b(26," / display status "),v(27,"select",null,17)(29,"option",18),b(30,"default"),_(),v(31,"option"),b(32,"hidden"),_(),v(33,"option"),b(34,"always"),_()(),b(35),_(),v(36,"div")(37,"button",19),$("click",function(){return i.addItem()}),b(38,"Add item"),_(),v(39,"button",19),$("click",function(){return i.removeItem()}),b(40,"Remove item"),_()(),v(41,"select2",20),$("update",function(a){return i.update("value6",a)}),_(),v(42,"h3",21),b(43),_(),v(44,"select2",22),$("update",function(a){return i.update("value7",a)}),_(),v(45,"h3",23),b(46),_(),v(47,"select2",24),$("open",function(){return i.open8()})("close",function(){return i.close8()})("search",function(a){return i.search8(a)})("update",function(a){return i.update("value8",a)}),v(48,"select2-hint"),b(49),_()(),v(50,"h3",25),b(51,"9. multiple + limite "),v(52,"input",26),$("ngModelChange",function(a){return i.limitSelection=a}),_(),b(53),Lc(54,"json"),_(),v(55,"select2",27),$("update",function(a){return i.update("value9",a)})("blur",function(a){return i.blur("blur9",a)})("focus",function(a){return i.focus("focus9",a)})("open",function(a){return i.open("open9",a)})("close",function(a){return i.close("close9",a)})("search",function(a){return i.search("search9",a)}),_(),v(56,"h3",28),b(57),Lc(58,"json"),_(),v(59,"select2",29),$("update",function(a){return i.update("value10",a)}),_(),v(60,"h3",30),b(61),_(),v(62,"form",12)(63,"select2",31),$("ngModelChange",function(a){return i.value11=a}),_(),v(64,"button",32),$("click",function(){return i.reset11()}),b(65,"reset"),_(),v(66,"button",32),$("click",function(){return i.change11()}),b(67,"Utah"),_()(),v(68,"h3",33),b(69),_(),v(70,"select2",34),$("update",function(a){return i.update("value12",a)}),_(),v(71,"h3",35),b(72),_(),v(73,"select2",36),$("update",function(a){return i.update("value13",a)}),_(),v(74,"h3",37),b(75,"14. FormControl"),_(),v(76,"form",12),Q(77,"select2",38),v(78,"button",32),$("click",function(){return i.print()}),b(79,"Log Selected"),_(),v(80,"button",32),$("click",function(){return i.resetForm()}),b(81,"Reset Form"),_()(),v(82,"h3",39),b(83),_(),v(84,"select2",40),$("update",function(a){return i.update("value15",a)}),v(85,"select2-label"),b(86,"Select a state"),_()(),v(87,"h3",41),b(88),_(),v(89,"select2",42),$("update",function(a){return i.update("value16",a)}),v(90,"select2-label"),b(91,"Select a state"),_()(),v(92,"h3",43),b(93),_(),v(94,"select2",44),$("update",function(a){return i.update("value17",a)}),_(),v(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),v(97,"select2",46),$("update",function(a){return i.update("value18",a)}),_(),v(98,"h3",47),b(99),_(),v(100,"select2",48),$("update",function(a){return i.update("value19",a)}),_(),v(101,"div",49)(102,"h3",50),b(103),_(),v(104,"select2",51),$("update",function(a){return i.update("value20",a)}),_()(),v(105,"h3",52),b(106),_(),v(107,"select2",53),$("update",function(a){return i.update("value21",a)}),_(),v(108,"button",32),$("click",function(){return i.value21=""}),b(109,"Update value to empty string"),_(),v(110,"button",32),$("click",function(){return i.value21=null}),b(111,"Update value to null"),_(),v(112,"button",32),$("click",function(){return i.value21=void 0}),b(113,"Update value to undefined"),_(),v(114,"h3",54),b(115),_(),v(116,"select2",55),$("update",function(a){return i.update("value22",a)}),_(),v(117,"h3",56),b(118),_(),v(119,"select2",57),$("update",function(a){return i.update("value23",a)}),ve(120,c8,3,2,"ng-template",null,58,rn),_(),v(122,"h3",59),b(123),_(),v(124,"select2",60),$("update",function(a){return i.update("value24",a)}),ve(125,u8,3,2,"ng-template",null,61,rn)(127,d8,2,1,"ng-template",null,62,rn),_(),v(129,"h3",63),b(130),_(),v(131,"select2",64),$("update",function(a){return i.update("value25",a)}),ve(132,h8,2,3,"ng-template",null,65,rn)(134,f8,3,2,"ng-template",null,66,rn)(136,p8,2,3,"ng-template",null,67,rn),_(),v(138,"h3",68),b(139),_(),v(140,"select2",69),$("update",function(a){return i.update("value26",a)})("scroll",function(a){return i.scroll26(a)}),_(),v(141,"h3",70),b(142),_(),v(143,"select2",71),$("update",function(a){return i.update("value2",a)}),_(),v(144,"h3",72),b(145),_(),v(146,"select2",73),$("update",function(a){return i.update("value28",a)}),_(),v(147,"h3",74),b(148),_(),v(149,"select2",75),$("update",function(a){return i.update("value29",a)}),_(),v(150,"h3",76),b(151),_(),v(152,"select2",77),$("update",function(a){return i.update("value29b",a)}),_(),v(153,"h3",78),b(154),_(),v(155,"select2",79),$("update",function(a){return i.update("value30",a)}),_(),v(156,"h3",80),b(157),_(),v(158,"select",81,82),$("change",function(){Te(o);const a=Ct(159);return Ae(i.changeData31(a.value))}),v(160,"option"),b(161,"english"),_(),v(162,"option"),b(163,"french"),_(),v(164,"option"),b(165,"japanese"),_()(),Q(166,"br"),b(167," Value : "),v(168,"select2",83),$("update",function(a){return i.update("value31",a)}),_(),Q(169,"br"),b(170," NgModel : "),v(171,"select2",84),$("ngModelChange",function(a){return i.value31b=a})("update",function(a){return i.update("value31b",a)}),_(),v(172,"h3",85),b(173),_(),v(174,"select2",86),$("autoCreateItem",function(a){return i.update("value32",a)}),_()()}if(2&r){const o=Ct(25),s=Ct(28),a=Ct(121),l=Ct(126),c=Ct(128),u=Ct(133),d=Ct(135),f=Ct(137);D(4),H("ngModel",i.overlay),D(3),le("1. options in group (",i.value1,")"),D(1),H("overlay",i.overlay)("data",i.data1)("value",i.value1),D(2),le("2. options (",i.value2,")"),D(1),H("overlay",i.overlay)("data",i.data2)("value",i.value2),D(2),le("3. less options (",i.value3,")"),D(1),H("overlay",i.overlay)("data",i.data3)("value",i.value3),D(2),le("4. disabled (",i.value4,")"),D(1),H("overlay",i.overlay)("data",i.data4)("value",i.value4)("disabled",!0),D(2),le("5. hide search box (",i.value5,")"),D(1),H("formGroup",i.ctrlForm2),D(1),H("overlay",i.overlay)("data",i.data5)("minCountForSearch",i.minCountForSearch),D(14),le(" (",i.value6,") "),D(6),H("overlay",i.overlay)("data",i.data6)("value",i.value6)("minCountForSearch",o.value)("displaySearchStatus",s.value),D(2),le("7. placeholder (",i.value7,")"),D(1),H("overlay",i.overlay)("data",i.data7),D(2),le("8. open, close and search event (",i.value8,")"),D(1),H("overlay",i.overlay)("data",i.data8),D(2),le("value : ",i.value8,""),D(3),H("ngModel",i.limitSelection),D(1),le(" (",Vc(54,143,i.value9),")"),D(2),H("overlay",i.overlay)("data",i.data9)("value",i.value9)("limitSelection",i.limitSelection),D(2),le("10. multiple + hide selected items (",Vc(58,145,i.value10),")"),D(2),H("overlay",i.overlay)("data",i.data10)("value",i.value10),D(2),le("11. material style and form binding (",i.value11,")"),D(1),H("formGroup",i.ctrlForm),D(1),H("overlay",i.overlay)("ngModel",i.value11)("data",i.data11),D(6),le("12. material style (",i.value12,")"),D(1),H("overlay",i.overlay)("data",i.data12)("value",i.value12),D(2),le("13. boolean value (",i.value13,")"),D(1),H("overlay",i.overlay)("data",i.data13)("value",i.value13),D(3),H("formGroup",i.fg),D(1),H("overlay",i.overlay)("data",i.data9),D(6),le("15. with label (",i.value15,")"),D(1),H("overlay",i.overlay)("data",i.data15)("value",i.value15),D(4),le("16. required with label (",i.value16,")"),D(1),H("overlay",i.overlay)("data",i.data16)("value",i.value16),D(4),le("17. with two option labels (",i.value17,")"),D(1),H("overlay",i.overlay)("data",i.data17)("value",i.value17),D(3),H("overlay",i.overlay)("data",i.data18)("value",i.value18),D(2),le("19. dropdown list position above (",i.value19,")"),D(1),H("overlay",i.overlay)("data",i.data19)("value",i.value19),D(3),le("20. nostyle (",i.value20,")"),D(1),H("overlay",i.overlay)("data",i.data20)("value",i.value20),D(2),le("21. update to empty/null/undefined (",i.value21,")"),D(1),H("overlay",i.overlay)("data",i.data21)("value",i.value21),D(8),le("22. with item classes and id (",i.value22,")"),D(1),H("overlay",i.overlay)("data",i.data22)("value",i.value22),D(2),le("23. with template (",i.value23,")"),D(1),H("overlay",i.overlay)("data",i.data23)("value",i.value23)("templates",a),D(4),le("24. with template (option / group) (",i.value24,")"),D(1),H("overlay",i.overlay)("data",i.data24)("value",i.value24)("templates",lw(147,g8,l,c)),D(6),le("25. with templates Ids (",i.value25,")"),D(1),H("overlay",i.overlay)("data",i.data25)("value",i.value25)("templates",cw(150,m8,u,d,f)),D(8),le("26. infiniteScroll(",i.value26,")"),D(1),H("overlay",i.overlay)("data",i.data26)("value",i.value26),D(2),le("27. position (",i.value2,")"),D(1),H("overlay",i.overlay)("data",i.data2)("value",i.value2),D(2),le("28. max results 50 (",i.value28,")"),D(1),H("overlay",i.overlay)("data",i.data28)("value",i.value28),D(2),le("29. option autocreate (",i.value29,")"),D(1),H("overlay",i.overlay)("data",i.data29)("value",i.value29),D(2),le("29b. option autocreate search search (",i.value29b,")"),D(1),H("overlay",i.overlay)("data",i.data29b)("value",i.value29b),D(2),le("30. selected option when \xd7 is clicked (",i.value30,")"),D(1),H("overlay",i.overlay)("data",i.data30)("value",i.value30),D(2),le("31. change list (",i.value31,")"),D(11),H("overlay",i.overlay)("data",i.data31)("value",i.value31),D(3),H("overlay",i.overlay)("data",i.data31)("ngModel",i.value31b),D(2),le("32. auto create when (",i.value30,")"),D(1),H("overlay",i.overlay)("data",i.data30)("value",i.value30)}},dependencies:[JE,rg,og,xa,Eu,hu,$p,zp,Jp,Wo,Su,d0,h0,tM,jD],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']})}return e})();class _8{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const p=o[u];if(void 0!==p){const y=`${u}${null!==p||p?`="${String(p).replace(/"/g,""e;")}"`:""}`;let w="",T="";const[F,E]=a.split(" ");switch(F){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+y+(d===f.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=a0,this.ctrlForm=this.fb.group({json:new pe(JSON.stringify(this.data,null,2)),label:new pe,hint:new pe,disabled:new pe,overlay:new pe,minCharForSearch:new pe,minCountForSearch:new pe,displaySearchStatus:new pe,placeholder:new pe,multiple:new pe,autoCreate:new pe,resettable:new pe,resetSelectedValue:new pe,limitSelection:new pe,hideSelectedItems:new pe,resultMaxHeight:new pe,listPosition:new pe,infiniteScroll:new pe,infiniteScrollDistance:new pe,infiniteScrollThrottle:new pe,styleMode:new pe,noResultMessage:new pe,maxResults:new pe,maxResultsMessage:new pe,template:new pe,noLabelTemplate:new pe,update:new pe,open:new pe,close:new pe,focus:new pe,blur:new pe,search:new pe,scroll:new pe,removeOption:new pe}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?i.multiple=this._testBoolean(r.multiple):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new _8(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=v8.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}static#e=this.\u0275fac=function(r){return new(r||e)(I(yS))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:209,vars:16,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""]],template:function(r,i){1&r&&(v(0,"h2"),b(1,"Generator"),_(),v(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),v(6,"div")(7,"label",2),b(8,"json (for "),v(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),Q(12,"textarea",3)(13,"div",4),_(),v(14,"h4"),b(15,"tags"),_(),v(16,"div")(17,"label",5),b(18,"label : "),_(),Q(19,"input",6),_(),v(20,"div")(21,"label",7),b(22,"hint : "),_(),Q(23,"input",8),_(),v(24,"h4"),b(25,"parameters"),_(),v(26,"div")(27,"label",9),b(28,"disabled : "),_(),Q(29,"input",10),_(),v(30,"div")(31,"label",11),b(32,"overlay : "),_(),Q(33,"input",12),_(),v(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),Q(37,"input",14),_(),v(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),Q(41,"input",16),_(),v(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),v(45,"select",18)(46,"option",19),b(47,"default"),_(),v(48,"option",20),b(49,"hidden"),_(),v(50,"option",21),b(51,"always"),_()()(),v(52,"div")(53,"label",22),b(54,"placeholder : "),_(),Q(55,"input",23),_(),v(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),Q(59,"input",25),_(),v(60,"div")(61,"label",26),b(62,"multiple : "),_(),Q(63,"input",27),_(),v(64,"div")(65,"label",28),b(66,"resettable : "),_(),Q(67,"input",29),_(),v(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),v(71,"select",31)(72,"option",32),b(73,"undefined"),_(),v(74,"option",32),b(75,"null"),_(),v(76,"option",33),b(77,"hibiscus"),_(),v(78,"option",34),b(79,"marigold"),_(),v(80,"option",35),b(81,"sunflower"),_(),v(82,"option",36),b(83,"heliotrope"),_(),v(84,"option",37),b(85,"lily"),_(),v(86,"option",38),b(87,"petunia"),_()()(),v(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),Q(91,"input",40),_(),v(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),Q(95,"input",42),_(),v(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),Q(99,"input",44),_(),v(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),Q(103,"input",46),_(),v(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),Q(107,"input",48),_(),v(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),Q(111,"input",50),_(),v(112,"div")(113,"label",51),b(114,"listPosition :"),_(),v(115,"select",52),Q(116,"option"),v(117,"option",53),b(118,"below"),_(),v(119,"option",54),b(120,"above"),_()()(),v(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),Q(124,"input",56),_(),v(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),Q(128,"input",58),_(),v(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),Q(132,"input",60),_(),v(133,"div")(134,"label",61),b(135,"styleMode : "),_(),v(136,"select",62)(137,"option",63),b(138,"default"),_(),v(139,"option",64),b(140,"material"),_(),v(141,"option",65),b(142,"noStyle"),_()()(),v(143,"h4"),b(144,"Templates"),_(),v(145,"div")(146,"label",66),b(147,"template style :"),_(),v(148,"select",67)(149,"option",68),b(150,"None"),_(),v(151,"option",69),b(152,"Unique template"),_(),v(153,"option",70),b(154,"Template group & option"),_(),v(155,"option",71),b(156,"Template by templateId"),_()()(),v(157,"div")(158,"label",72),b(159,"noLabelTemplate : "),_(),Q(160,"input",73),_(),v(161,"h4"),b(162,"Events"),_(),v(163,"div")(164,"label",74),b(165,"update: "),_(),Q(166,"input",75),_(),v(167,"div")(168,"label",76),b(169,"open: "),_(),Q(170,"input",77),_(),v(171,"div")(172,"label",78),b(173,"close: "),_(),Q(174,"input",79),_(),v(175,"div")(176,"label",80),b(177,"focus: "),_(),Q(178,"input",81),_(),v(179,"div")(180,"label",82),b(181,"blur: "),_(),Q(182,"input",83),_(),v(183,"div")(184,"label",84),b(185,"search: "),_(),Q(186,"input",85),b(187," (Required: "),v(188,"code"),b(189,"customSearchEnabled"),_(),b(190,") "),_(),v(191,"div")(192,"label",86),b(193,"scroll: "),_(),Q(194,"input",87),_(),v(195,"div")(196,"label",88),b(197,"removeOption: "),_(),Q(198,"input",89),_()(),v(199,"div")(200,"div",90)(201,"h4"),b(202,"HTML render"),_(),ve(203,S8,13,27,"select2",91),v(204,"h4"),b(205,"HTML Code"),_(),v(206,"div",92)(207,"code"),Q(208,"pre",93),_()()()()()),2&r&&(D(3),H("formGroup",i.ctrlForm),D(10),H("innerHTML",i.jsonError,kn),D(51),bt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),D(4),bt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),D(4),H("value",void 0),D(2),H("value",null),D(22),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.multiple)),D(29),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScrollDistance)),D(4),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScroll)),D(74),Qe(203,i.ctrlForm.value?203:-1),D(5),H("highlight",i.html))},dependencies:[rg,og,xa,Eu,hu,Mu,$p,zp,Wo,Su,d0,h0,tM,wB],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]})}return e})()},{path:"**",component:f0}];let I8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[r0.forRoot(M8),r0]})}return e})(),T8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e,bootstrap:[J$]});static#n=this.\u0275inj=st({providers:[{provide:Au,useValue:{coreLibraryLoader:()=>R.e(373).then(R.bind(R,373)),lineNumbersLoader:()=>R.e(35).then(R.t.bind(R,35,23)),languages:{typescript:()=>R.e(266).then(R.bind(R,266)),javascript:()=>R.e(743).then(R.bind(R,743)),css:()=>R.e(746).then(R.bind(R,746)),xml:()=>R.e(668).then(R.bind(R,668))}}}],imports:[HL,I8,ag,iU,DB]})}return e})();BL().bootstrapModule(T8).catch(e=>console.log(e))},523:function(sn){sn.exports=function(ye){var R={};function W(N){if(R[N])return R[N].exports;var C=R[N]={i:N,l:!1,exports:{}};return ye[N].call(C.exports,C,C.exports,W),C.l=!0,C.exports}return W.m=ye,W.c=R,W.d=function(N,C,M){W.o(N,C)||Object.defineProperty(N,C,{enumerable:!0,get:M})},W.r=function(N){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})},W.t=function(N,C){if(1&C&&(N=W(N)),8&C||4&C&&"object"==typeof N&&N&&N.__esModule)return N;var M=Object.create(null);if(W.r(M),Object.defineProperty(M,"default",{enumerable:!0,value:N}),2&C&&"string"!=typeof N)for(var G in N)W.d(M,G,function(h){return N[h]}.bind(null,G));return M},W.n=function(N){var C=N&&N.__esModule?function(){return N.default}:function(){return N};return W.d(C,"a",C),C},W.o=function(N,C){return Object.prototype.hasOwnProperty.call(N,C)},W.p="",W(W.s=90)}({17:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N=W(18),C=function(){function M(){}return M.getFirstMatch=function(G,h){var g=h.match(G);return g&&g.length>0&&g[1]||""},M.getSecondMatch=function(G,h){var g=h.match(G);return g&&g.length>1&&g[2]||""},M.matchAndReturnConst=function(G,h,g){if(G.test(h))return g},M.getWindowsVersionName=function(G){switch(G){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},M.getMacOSVersionName=function(G){var h=G.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(h.push(0),10===h[0])switch(h[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},M.getAndroidVersionName=function(G){var h=G.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(h.push(0),!(1===h[0]&&h[1]<5))return 1===h[0]&&h[1]<6?"Cupcake":1===h[0]&&h[1]>=6?"Donut":2===h[0]&&h[1]<2?"Eclair":2===h[0]&&2===h[1]?"Froyo":2===h[0]&&h[1]>2?"Gingerbread":3===h[0]?"Honeycomb":4===h[0]&&h[1]<1?"Ice Cream Sandwich":4===h[0]&&h[1]<4?"Jelly Bean":4===h[0]&&h[1]>=4?"KitKat":5===h[0]?"Lollipop":6===h[0]?"Marshmallow":7===h[0]?"Nougat":8===h[0]?"Oreo":9===h[0]?"Pie":void 0},M.getVersionPrecision=function(G){return G.split(".").length},M.compareVersions=function(G,h,g){void 0===g&&(g=!1);var m=M.getVersionPrecision(G),j=M.getVersionPrecision(h),k=Math.max(m,j),O=0,V=M.map([G,h],function(q){var ge=k-M.getVersionPrecision(q),Me=q+new Array(ge+1).join(".0");return M.map(Me.split("."),function(nt){return new Array(20-nt.length).join("0")+nt}).reverse()});for(g&&(O=k-Math.min(m,j)),k-=1;k>=O;){if(V[0][k]>V[1][k])return 1;if(V[0][k]===V[1][k]){if(k===O)return 0;k-=1}else if(V[0][k]1?j-1:0),O=1;O0){var Lt=Object.keys(q),At=h.default.find(Lt,function(Ue){return V.isOS(Ue)});if(At){var Vt=this.satisfies(q[At]);if(void 0!==Vt)return Vt}var St=h.default.find(Lt,function(Ue){return V.isPlatform(Ue)});if(St){var rt=this.satisfies(q[St]);if(void 0!==rt)return rt}}if(nt>0){var Yt=Object.keys(Me),Ot=h.default.find(Yt,function(Ue){return V.isBrowser(Ue,!0)});if(void 0!==Ot)return this.compareVersion(Me[Ot])}},k.isBrowser=function(O,V){void 0===V&&(V=!1);var q=this.getBrowserName().toLowerCase(),ge=O.toLowerCase(),Me=h.default.getBrowserTypeByAlias(ge);return V&&Me&&(ge=Me.toLowerCase()),ge===q},k.compareVersion=function(O){var V=[0],q=O,ge=!1,Me=this.getBrowserVersion();if("string"==typeof Me)return">"===O[0]||"<"===O[0]?(q=O.substr(1),"="===O[1]?(ge=!0,q=O.substr(2)):V=[],V.push(">"===O[0]?1:-1)):"="===O[0]?q=O.substr(1):"~"===O[0]&&(ge=!0,q=O.substr(1)),V.indexOf(h.default.compareVersions(Me,q,ge))>-1},k.isOS=function(O){return this.getOSName(!0)===String(O).toLowerCase()},k.isPlatform=function(O){return this.getPlatformType(!0)===String(O).toLowerCase()},k.isEngine=function(O){return this.getEngineName(!0)===String(O).toLowerCase()},k.is=function(O,V){return void 0===V&&(V=!1),this.isBrowser(O,V)||this.isOS(O)||this.isPlatform(O)},k.some=function(O){var V=this;return void 0===O&&(O=[]),O.some(function(q){return V.is(q)})},j}();R.default=m,ye.exports=R.default},92:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=/version\/(\d+(\.?_?\d+)+)/i;R.default=[{test:[/googlebot/i],describe:function(h){var g={name:"Googlebot"},m=C.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/opera/i],describe:function(h){var g={name:"Opera"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/opr\/|opios/i],describe:function(h){var g={name:"Opera"},m=C.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/SamsungBrowser/i],describe:function(h){var g={name:"Samsung Internet for Android"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/Whale/i],describe:function(h){var g={name:"NAVER Whale Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/MZBrowser/i],describe:function(h){var g={name:"MZ Browser"},m=C.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/focus/i],describe:function(h){var g={name:"Focus"},m=C.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/swing/i],describe:function(h){var g={name:"Swing"},m=C.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/coast/i],describe:function(h){var g={name:"Opera Coast"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(h){var g={name:"Opera Touch"},m=C.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/yabrowser/i],describe:function(h){var g={name:"Yandex Browser"},m=C.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/ucbrowser/i],describe:function(h){var g={name:"UC Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/Maxthon|mxios/i],describe:function(h){var g={name:"Maxthon"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/epiphany/i],describe:function(h){var g={name:"Epiphany"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/puffin/i],describe:function(h){var g={name:"Puffin"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/sleipnir/i],describe:function(h){var g={name:"Sleipnir"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/k-meleon/i],describe:function(h){var g={name:"K-Meleon"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/micromessenger/i],describe:function(h){var g={name:"WeChat"},m=C.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/qqbrowser/i],describe:function(h){var g={name:/qqbrowserlite/i.test(h)?"QQ Browser Lite":"QQ Browser"},m=C.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/msie|trident/i],describe:function(h){var g={name:"Internet Explorer"},m=C.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/\sedg\//i],describe:function(h){var g={name:"Microsoft Edge"},m=C.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/edg([ea]|ios)/i],describe:function(h){var g={name:"Microsoft Edge"},m=C.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/vivaldi/i],describe:function(h){var g={name:"Vivaldi"},m=C.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/seamonkey/i],describe:function(h){var g={name:"SeaMonkey"},m=C.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/sailfish/i],describe:function(h){var g={name:"Sailfish"},m=C.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,h);return m&&(g.version=m),g}},{test:[/silk/i],describe:function(h){var g={name:"Amazon Silk"},m=C.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/phantom/i],describe:function(h){var g={name:"PhantomJS"},m=C.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/slimerjs/i],describe:function(h){var g={name:"SlimerJS"},m=C.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var g={name:"BlackBerry"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var g={name:"WebOS Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/bada/i],describe:function(h){var g={name:"Bada"},m=C.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/tizen/i],describe:function(h){var g={name:"Tizen"},m=C.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/qupzilla/i],describe:function(h){var g={name:"QupZilla"},m=C.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/firefox|iceweasel|fxios/i],describe:function(h){var g={name:"Firefox"},m=C.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/electron/i],describe:function(h){var g={name:"Electron"},m=C.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/MiuiBrowser/i],describe:function(h){var g={name:"Miui"},m=C.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/chromium/i],describe:function(h){var g={name:"Chromium"},m=C.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/chrome|crios|crmo/i],describe:function(h){var g={name:"Chrome"},m=C.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/GSA/i],describe:function(h){var g={name:"Google Search"},m=C.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){var g=!h.test(/like android/i),m=h.test(/android/i);return g&&m},describe:function(h){var g={name:"Android Browser"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/playstation 4/i],describe:function(h){var g={name:"PlayStation 4"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/safari|applewebkit/i],describe:function(h){var g={name:"Safari"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/.*/i],describe:function(h){var g=-1!==h.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:C.default.getFirstMatch(g,h),version:C.default.getSecondMatch(g,h)}}}],ye.exports=R.default},93:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:[/Roku\/DVP/],describe:function(h){var g=C.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,h);return{name:M.OS_MAP.Roku,version:g}}},{test:[/windows phone/i],describe:function(h){var g=C.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.WindowsPhone,version:g}}},{test:[/windows /i],describe:function(h){var g=C.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,h),m=C.default.getWindowsVersionName(g);return{name:M.OS_MAP.Windows,version:g,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(h){var g={name:M.OS_MAP.iOS},m=C.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,h);return m&&(g.version=m),g}},{test:[/macintosh/i],describe:function(h){var g=C.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,h).replace(/[_\s]/g,"."),m=C.default.getMacOSVersionName(g),j={name:M.OS_MAP.MacOS,version:g};return m&&(j.versionName=m),j}},{test:[/(ipod|iphone|ipad)/i],describe:function(h){var g=C.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,h).replace(/[_\s]/g,".");return{name:M.OS_MAP.iOS,version:g}}},{test:function(h){var g=!h.test(/like android/i),m=h.test(/android/i);return g&&m},describe:function(h){var g=C.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,h),m=C.default.getAndroidVersionName(g),j={name:M.OS_MAP.Android,version:g};return m&&(j.versionName=m),j}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var g=C.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,h),m={name:M.OS_MAP.WebOS};return g&&g.length&&(m.version=g),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var g=C.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,h)||C.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,h)||C.default.getFirstMatch(/\bbb(\d+)/i,h);return{name:M.OS_MAP.BlackBerry,version:g}}},{test:[/bada/i],describe:function(h){var g=C.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.Bada,version:g}}},{test:[/tizen/i],describe:function(h){var g=C.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.Tizen,version:g}}},{test:[/linux/i],describe:function(){return{name:M.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:M.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(h){var g=C.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.PlayStation4,version:g}}}],ye.exports=R.default},94:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(h){var g=C.default.getFirstMatch(/(can-l01)/i,h)&&"Nova",m={type:M.PLATFORMS_MAP.mobile,vendor:"Huawei"};return g&&(m.model=g),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(h){var g=h.test(/ipod|iphone/i),m=h.test(/like (ipod|iphone)/i);return g&&!m},describe:function(h){var g=C.default.getFirstMatch(/(ipod|iphone)/i,h);return{type:M.PLATFORMS_MAP.mobile,vendor:"Apple",model:g}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"blackberry"===h.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(h){return"bada"===h.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"windows phone"===h.getBrowserName()},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(h){var g=Number(String(h.getOSVersion()).split(".")[0]);return"android"===h.getOSName(!0)&&g>=3},describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(h){return"android"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"macos"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(h){return"windows"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(h){return"linux"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(h){return"playstation 4"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}},{test:function(h){return"roku"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}}],ye.exports=R.default},95:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:function(h){return"microsoft edge"===h.getBrowserName(!0)},describe:function(h){if(/\sedg\//i.test(h))return{name:M.ENGINE_MAP.Blink};var g=C.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,h);return{name:M.ENGINE_MAP.EdgeHTML,version:g}}},{test:[/trident/i],describe:function(h){var g={name:M.ENGINE_MAP.Trident},m=C.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){return h.test(/presto/i)},describe:function(h){var g={name:M.ENGINE_MAP.Presto},m=C.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){var g=h.test(/gecko/i),m=h.test(/like gecko/i);return g&&!m},describe:function(h){var g={name:M.ENGINE_MAP.Gecko},m=C.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:M.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(h){var g={name:M.ENGINE_MAP.WebKit},m=C.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}}],ye.exports=R.default}})},354:sn=>{const ye="[A-Za-z$_][0-9A-Za-z$_]*",R=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],W=["true","false","null","undefined","NaN","Infinity"],N=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(M,N,C);sn.exports=function g(m){const j=m.regex,O=ye,ge={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Kt,it)=>{const ln=Kt[0].length+Kt.index,cn=Kt.input[ln];if("<"===cn||","===cn)return void it.ignoreMatch();let Un;">"===cn&&(((Kt,{after:it})=>{const ln="",ms={match:[/const|var|let/,/\s+/,O,/\s*/,/=\s*/,/(async\s*)?/,j.lookahead(gs)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Tn]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Me,exports:{PARAMS_CONTAINS:Tr,CLASS_REFERENCE:ni},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,rt,Yt,Ot,Ue,hs,{match:/\$\d+/},Vt,ni,{className:"attr",begin:O+j.lookahead(":"),relevance:0},ms,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[hs,m.REGEXP_MODE,{className:"function",begin:gs,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Me,contains:Tr}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:ge.begin,"on:begin":ge.isTrulyOpeningTag,end:ge.end}],subLanguage:"xml",contains:[{begin:ge.begin,end:ge.end,skip:!0,contains:["self"]}]}]},fs,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Tn,m.inherit(m.TITLE_MODE,{begin:O,className:"title.function"})]},{match:/\.\.\./,relevance:0},tl,{match:"\\$"+O,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Tn]},el,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},Ar,ps,{match:/\$[(.]/}]}}},574:sn=>{const R=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],W=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],N=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],C=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],M=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();sn.exports=function G(h){const g=(h=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:h.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[h.APOS_STRING_MODE,h.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:h.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(h),m=C,j=N,k="@[a-z-]+",q={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[h.C_LINE_COMMENT_MODE,h.C_BLOCK_COMMENT_MODE,g.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},g.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+R.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+j.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},q,{begin:/\(/,end:/\)/,contains:[g.CSS_NUMBER_MODE]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[g.BLOCK_COMMENT,q,g.HEXCOLOR,g.CSS_NUMBER_MODE,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:k,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:W.join(" ")},contains:[{begin:k,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},q,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,g.HEXCOLOR,g.CSS_NUMBER_MODE]},g.FUNCTION_DISPATCH]}}},603:sn=>{const ye="[A-Za-z$_][0-9A-Za-z$_]*",R=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],W=["true","false","null","undefined","NaN","Infinity"],N=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(M,N,C);sn.exports=function m(j){const k=function g(j){const k=j.regex,V=ye,Me={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(it,ln)=>{const cn=it[0].length+it.index,Un=it.input[cn];if("<"===Un||","===Un)return void ln.ignoreMatch();let ii;">"===Un&&(((it,{after:ln})=>{const cn="",Kt={match:[/const|var|let/,/\s+/,V,/\s*/,/=\s*/,/(async\s*)?/,k.lookahead(ms)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Ar]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:nt,exports:{PARAMS_CONTAINS:Tn,CLASS_REFERENCE:Or},illegal:/#(?![$_A-z])/,contains:[j.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j.APOS_STRING_MODE,j.QUOTE_STRING_MODE,Yt,Ot,Ue,an,ti,{match:/\$\d+/},St,Or,{className:"attr",begin:V+k.lookahead(":"),relevance:0},Kt,{begin:"("+j.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ti,j.REGEXP_MODE,{className:"function",begin:ms,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:j.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:nt,contains:Tn}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Me.begin,"on:begin":Me.isTrulyOpeningTag,end:Me.end}],subLanguage:"xml",contains:[{begin:Me.begin,end:Me.end,skip:!0,contains:["self"]}]}]},ri,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+j.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Ar,j.inherit(j.TITLE_MODE,{begin:V,className:"title.function"})]},{match:/\.\.\./,relevance:0},ps,{match:"\\$"+V,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Ar]},tl,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},ni,gs,{match:/\$[(.]/}]}}(j),O=ye,V=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],q={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[k.exports.CLASS_REFERENCE]},ge={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:V},contains:[k.exports.CLASS_REFERENCE]},Lt={$pattern:ye,keyword:R.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:W,built_in:h.concat(V),"variable.language":G},At={className:"meta",begin:"@"+O},Vt=(rt,Yt,Ot)=>{const Ue=rt.contains.findIndex(an=>an.label===Yt);if(-1===Ue)throw new Error("can not find mode to replace");rt.contains.splice(Ue,1,Ot)};return Object.assign(k.keywords,Lt),k.exports.PARAMS_CONTAINS.push(At),k.contains=k.contains.concat([At,q,ge]),Vt(k,"shebang",j.SHEBANG()),Vt(k,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),k.contains.find(rt=>"func.def"===rt.label).relevance=0,Object.assign(k,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),k}},149:sn=>{sn.exports=function ye(R){const W=R.regex,N=W.concat(/[\p{L}_]/u,W.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),M={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},G={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=R.inherit(G,{begin:/\(/,end:/\)/}),g=R.inherit(R.APOS_STRING_MODE,{className:"string"}),m=R.inherit(R.QUOTE_STRING_MODE,{className:"string"}),j={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:[G,m,g,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[G,h,m,g]}]}]},R.COMMENT(//,{relevance:10}),{begin://,relevance:10},M,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[j],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[j],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:W.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:N,relevance:0,starts:j}]},{className:"tag",begin:W.concat(/<\//,W.lookahead(W.concat(N,/>/))),contains:[{className:"name",begin:N,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},sn=>{sn(sn.s=425)}]); \ No newline at end of file diff --git a/dist/ng-select2/polyfills.319af6b6dc877312.js b/dist/ng-select2/polyfills.319af6b6dc877312.js deleted file mode 100644 index 459c541..0000000 --- a/dist/ng-select2/polyfills.319af6b6dc877312.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[429],{321:(ie,Ee,de)=>{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); \ No newline at end of file diff --git a/dist/ng-select2/polyfills.ead373bb850b536a.js b/dist/ng-select2/polyfills.ead373bb850b536a.js new file mode 100644 index 0000000..2b421da --- /dev/null +++ b/dist/ng-select2/polyfills.ead373bb850b536a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[260],{432:(ce,Ee,de)=>{de(728)},728:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(j,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[A("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of l)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(g,w){return new e((D,S)=>{f.call(this,D,S)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const E=Z(z[0],x,_);E&&j.push(E)}else{const E=z.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let X;_&&_.prepend&&(X=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ae:le]);const w=g&&s.target[g];if(w)for(let m=0;m{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?me.unshift(ie):me.push(ie),m?S:void 0}};return E[c]=l(I,v,e,r,j),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=ge,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=432)}]); \ No newline at end of file diff --git a/dist/ng-select2/runtime.6d640ea82f57d73d.js b/dist/ng-select2/runtime.6d640ea82f57d73d.js deleted file mode 100644 index 571a706..0000000 --- a/dist/ng-select2/runtime.6d640ea82f57d73d.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={exports:{}};return g[e].call(t.exports,t,t.exports,r),t.exports}r.m=g,e=[],r.O=(n,t,f,i)=>{if(!t){var a=1/0;for(o=0;o=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(s=!1,i0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,f,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(s=>o[s]=()=>t[s]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{35:"11f15df346402361",266:"296de3a69996bf2b",373:"731a0c17af9263d0",668:"ef784974125a0c60",743:"0df2b095d3eb0a92",746:"caf588dbc49342c7"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ng-select2:";r.l=(t,f,i,o)=>{if(e[t])e[t].push(f);else{var a,s;if(void 0!==i)for(var d=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var y=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),y&&y.forEach(m=>m(b)),_)return _(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,i)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=f){var a=new Promise((l,c)=>o=e[f]=[l,c]);i.push(o[2]=a);var s=r.p+r.u(f),d=new Error;r.l(s,l=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;d.message="Loading chunk "+f+" failed.\n("+c+": "+p+")",d.name="ChunkLoadError",d.type=c,d.request=p,o[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,i)=>{var d,u,[o,a,s]=i,l=0;if(o.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(s)var c=s(r)}for(f&&f(i);l{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={exports:{}};return g[e].call(t.exports,t,t.exports,r),t.exports}r.m=g,e=[],r.O=(n,t,f,i)=>{if(!t){var a=1/0;for(o=0;o=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(s=!1,i0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,f,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(s=>o[s]=()=>t[s]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{212:"ec0f10b6acd876f9",328:"61ff3ad686a933a8",344:"3956c42927184b98",408:"7dd0539c340632ce",436:"9794f897ebb9aaab",876:"2c9adffc739dc925"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ng-select2:";r.l=(t,f,i,o)=>{if(e[t])e[t].push(f);else{var a,s;if(void 0!==i)for(var d=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var y=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),y&&y.forEach(m=>m(b)),_)return _(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={688:0};r.f.j=(f,i)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)i.push(o[2]);else if(688!=f){var a=new Promise((l,c)=>o=e[f]=[l,c]);i.push(o[2]=a);var s=r.p+r.u(f),d=new Error;r.l(s,l=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;d.message="Loading chunk "+f+" failed.\n("+c+": "+p+")",d.name="ChunkLoadError",d.type=c,d.request=p,o[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,i)=>{var d,u,[o,a,s]=i,l=0;if(o.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(s)var c=s(r)}for(f&&f(i);l