@ngrdt/utils 0.0.56 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +88 -1
- package/index.esm.js +87 -1
- package/package.json +1 -1
- package/src/index.d.ts +14 -12
- package/src/lib/models/base-model.d.ts +11 -0
- package/src/lib/utils/signal-to-promise.d.ts +3 -0
package/index.esm.js
CHANGED
|
@@ -1 +1,87 @@
|
|
|
1
|
-
import{combineLatest as t,startWith as e,map as n,switchMap as a,EMPTY as r,of as s,Observable as i}from"rxjs";function o(t){return{name:t,className:(n=t,e=l(n),e.charAt(0).toUpperCase()+e.slice(1)),propertyName:l(t),constantName:c(t),fileName:p(t)};var e,n}function l(t){return t.replace(/([^a-zA-Z0-9])+(.)?/g,(t,e,n)=>n?n.toUpperCase():"").replace(/[^a-zA-Z\d]/g,"").replace(/^([A-Z])/,t=>t.toLowerCase())}function c(t){return p(l(t.toUpperCase()===t?t.toLowerCase():t)).replace(/([^a-zA-Z0-9])/g,"_").toUpperCase()}function p(t){return t.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase().replace(/(?!^_)[ _]/g,"-")}const u=["je","lze"];class g{static inferPropertyInfo(t,e){const n=o(e).fileName.split("-"),a={};n.forEach(t=>a[t]=1);let r=0,s="";t.forEach(({key:t})=>{const e=o(t).fileName.split("-");let n=0;e.forEach(t=>{var e;return n+=null!=(e=a[t])?e:0});const i=e.includes("id");n>r&&i?(r=n,s=t):n===r&&i&&t.length<s.length&&(s=t)});return t.map(t=>{const e=o(t.key).fileName.split("-"),n=e.includes("id");return{key:t.key,type:t.type,required:!0,formControlType:"date"===t.type?"string":t.type,primaryKey:t.key===s,foreignKey:n&&t.key!==s,probablyBoolean:u.includes(e[0])&&"number"===t.type}})}static names(t){return o(t)}}class m{static removeAt(t,e){if(e<0||e>t.length)throw new Error(`Out of bounds! Array length: ${t.length}, index: ${e}`);return[...t.slice(0,e),...t.slice(e+1)]}static insertAt(t,e,n){if(e<0||e>t.length)throw new Error(`Out of bounds! Array length: ${t.length}, index: ${e}`);return[...t.slice(0,e),n,...t.slice(e)]}static isEqual(t,e){return t&&e?t.length===e.length&&t.every(t=>e.indexOf(t)>-1):!t==!e}}class d{static pluck(t,e){if(!t)return;const n=Array.isArray(e)?e:e.split(".");let a=t;for(const t of n){if(null==a)return;a=Array.isArray(a)&&"string"==typeof t?a[parseInt(t)]:a[t]}return a}static notNullGuard(t){return null!=t}static expandKey(t,e){const n=t.split(".");if(0===n.length)return e;const a=h(n[0]);let r=a;for(let t=1;t<n.length;t++){const e=h(n[t]);r.obj[r.key]=e.obj,r=e}return r.obj[r.key]=e,a.obj}static someValuesTrue(t){return Object.getOwnPropertySymbols(t).some(e=>t[e])}}function h(t){const e=parseInt(t);return isNaN(e)?{obj:{},key:t}:{obj:[],key:e}}class f{static randomId(){return Math.random().toString(36).substring(2)}static trueFalse(){return Math.random()<.5}}class w{static repeatLatestWhen(a){return r=>t([r,a.pipe(e(null))]).pipe(n(([t])=>t))}static completeIfNull(t){return t.pipe(a(t=>null==t?r:s(t)))}static makeObservable(t){return t instanceof i?t:s(t)}}class y{static tokenize(t){return t?t.split(/\W+/).filter(t=>!!t):[]}static joinPaths(t,e){const n=t.endsWith("/"),a=e.startsWith("/");return n&&a?t.slice(0,-1)+e:n||a?t+e:t+"/"+e}static isAlphabetCharacter(t){return!(t.length>1)&&t.toLocaleLowerCase()!==t.toLocaleUpperCase()}static isNumericCharacter(t){return!isNaN(parseInt(t))}static capitalize(t){return t.charAt(0).toLocaleUpperCase()+t.slice(1)}static toDataTestId(t){var e;return null==(e=y.removeAccents(t).toLowerCase())?void 0:e.replace(/ /g,"-")}static removeAccents(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,a=n-("/"===t[n-1]?1:0);return t.slice(0,a)+t.slice(n)}static createAbsoluteUrl(t,e){return y.joinPaths(e,t)}static appendQueryParams(t,e){if(e&&0!==Object.keys(e).length){return`${t}?${new URLSearchParams(e)}`}return t}static localeCompare(t,e,n="asc"){const a="asc"===n?1:-1;return t==e?0:null==t?-a:null==e?a:t.localeCompare(e)*a}static komixcomlocalReplaceString(t){const e=location.hostname;return{replaceString:t.includes("komix.com")?"komix.com":"komix.local",toReplace:e.includes("komix.com")?"komix.com":"komix.local"}}static swapChars(t,e,n){return e<0||n<0||e>=t.length||n>=t.length?t:(n<e&&([e,n]=[n,e]),t.slice(0,e)+t[n]+t.slice(e+1,n)+t[e]+t.slice(n+1))}static insertAt(t,e,n){return t.slice(0,e)+n+t.slice(e)}static getDataTestId(t,e,n){var a;let r=null==(a=t.toLowerCase())?void 0:a.replace(/ /g,"-");return e&&(r=`${e}__${r}`),n&&(r=`${r}--${n}`),y.removeAccents(r)}static stripQueryParams(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n)}}function D(){return D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},D.apply(this,arguments)}const v={UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight"},x={SPACEBAR:" ",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",END:"End",TAB:"Tab",ARROW:v},b=D({},x,{SPACEBAR:"Space"}),M=Array.from(Array(26)).map((t,e)=>e+65).map(t=>String.fromCharCode(t)),O=M.map(t=>`Key${t.toUpperCase()}`);class S{static scrollIntoViewHorizontallyWithinParent(t){const e=t.parentElement;if(!e)return;const n=t.offsetLeft,a=t.offsetWidth,r=e.offsetWidth,s=e.scrollLeft,i=n,o=n-r+a;s>i?e.scrollLeft=i:s<o&&(e.scrollLeft=o)}static setCaretPosition(t,e){t.focus(),t.setSelectionRange(e,e)}}class I{static getDays(t,e){return I.getDayOffset(new Date(t))-I.getDayOffset(new Date(e))}static checkDate(t,e,n){const a=new Date(t,e-1,n);return a.getFullYear()===t&&a.getMonth()+1===e&&a.getDate()===n}static isValidDate(t){return null!=t&&(t instanceof Date?!isNaN(t.getTime()):!isNaN(new Date(t).getTime()))}static startOfDay(t){const e=new Date(t);return e.setHours(0,0,0,0),e}static endOfDay(t){const e=new Date(t);return e.setHours(23,59,59),e}static startOfMonth(t){const e=new Date(t);return e.setHours(0,0,0,0),e.setDate(1),e}static endOfMonth(t){const e=new Date(t);return e.setHours(23,59,59),e.setDate(0),e}static startOfYear(t){return new Date(t,0,1)}static endOfYear(t){return new Date(t,11,31)}static beginningOfNextMonth(){const t=new Date;return 11===t.getMonth()?new Date(t.getFullYear()+1,0,1):new Date(t.getFullYear(),t.getMonth()+1,1)}static endOfNextMonth(){const t=new Date;if(10===t.getMonth()){const e=new Date(t.getFullYear()+1,0,1);return this.minusOneDay(e)}if(11===t.getMonth()){const e=new Date(t.getFullYear()+1,1,1);return this.minusOneDay(e)}{const e=new Date(t.getFullYear(),t.getMonth()+2,1);return this.minusOneDay(e)}}static beginningOfInThreeMonths(){const t=new Date;return 10===t.getMonth()?new Date(t.getFullYear()+1,1,1):11===t.getMonth()?new Date(t.getFullYear()+1,2,1):new Date(t.getFullYear(),t.getMonth()+3,1)}static endOfInNextThreeMonths(){const t=new Date;if(9===t.getMonth()){const e=new Date(t.getFullYear()+1,1,1);return this.minusOneDay(e)}if(10===t.getMonth()){const e=new Date(t.getFullYear()+1,2,1);return this.minusOneDay(e)}if(11===t.getMonth()){const e=new Date(t.getFullYear()+1,3,1);return this.minusOneDay(e)}{const e=new Date(t.getFullYear(),t.getMonth()+4,1);return this.minusOneDay(e)}}static minusOneDay(t){return new Date(t.getTime()-I.DAY)}static toISOLocal(t){return`${t.getFullYear()}-${`${t.getMonth()+1}`.padStart(2,"0")}-${`${t.getDate()}`.padStart(2,"0")}T${`${t.getHours()}`.padStart(2,"0")}:${`${t.getMinutes()}`.padStart(2,"0")}:${`${t.getSeconds()}`.padStart(2,"0")}`}static formatDate(t){if(null==t||""===t)return"";const e=t instanceof Date?t:new Date(t);if(I.isValidDate(e)){const t=e.getFullYear(),n=`${e.getMonth()+1}`.padStart(2,"0");return`${`${e.getDate()}`.padStart(2,"0")}.${n}.${t}`}return""}static timeToDate(t){const e=new Date(0);if(I.hhMmSsMsRegex.test(t)){const n=t.match(I.hhMmSsMsRegex);if(n){const t=parseInt(n[1]),a=parseInt(n[2]),r=parseInt(n[3]),s=parseInt(n[4]);return e.setHours(t,a,r,s),e}}else if(I.hhMmSsRegex.test(t)){const n=t.match(I.hhMmSsRegex);if(n){const t=parseInt(n[1]),a=parseInt(n[2]),r=parseInt(n[3]);return e.setHours(t,a,r),e}}else if(I.hhMmRegex.test(t)){const n=t.match(I.hhMmRegex);if(n){const t=parseInt(n[1]),a=parseInt(n[2]);return e.setHours(t,a),e}}return null}static setTime(t,e){const n=new Date(t),a=I.timeToDate(e);return a&&n.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),n}static getTime(t,e=!0){const n=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0");if(e){return`${n}:${a}:${t.getSeconds().toString().padStart(2,"0")}`}return`${n}:${a}`}static parseToDate(t){if(t instanceof Date)return I.isValidDate(t)?t:null;if("string"==typeof t){const e=new Date(t);if(I.isValidDate(e))return e}return null}static parse(t){if(t instanceof Date)return I.isValidDate(t)?t.getTime():null;if("string"==typeof t){const e=new Date(t);if(I.isValidDate(e))return e.getTime()}return null}static isEqual(t,e){return t===e||!(!t||!e)&&t.getTime()===e.getTime()}static isLeapYear(t){return 29===new Date(t,1,29).getDate()}static getDaysInYear(t){return I.isLeapYear(t)?366:365}static getDayOffset(t){const e=t.getFullYear()-1,n=t.getMonth()+1,a=t.getDate(),r=Math.trunc(e/4)-Math.trunc(e/100)+Math.trunc(e/400);return I.isLeapYear(e+1)?365*e+r+I.daysUpToMonthLeapYear[n-1]+a-1:365*e+r+I.daysUpToMonth[n-1]+a-1}static doubleDigitYearToPast(t){const e=I.getCurrentYear(),n=e%100;return t<=n?t+e-n:t+e-n-100}static doubleDigitYearToFuture(t){const e=I.getCurrentYear(),n=e%100;return t>=n?t+e-n:t+e-n+100}static getCurrentYear(){return(new Date).getFullYear()}static calculateAge(t,e){const n=new Date(t),a=new Date(e);let r=a.getFullYear()-n.getFullYear();const s=a.getMonth()-n.getMonth(),i=a.getDate()-n.getDate();return(s<0||0===s&&i<0)&&r--,r}}var N,F,_;I.MS=1,I.SECOND=1e3*I.MS,I.MINUTE=60*I.SECOND,I.HOUR=60*I.MINUTE,I.DAY=24*I.HOUR,I.hhMmRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*$/,I.hhMmSsRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*\W+\s*([0-5]?\d)\s*$/,I.hhMmSsMsRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*\W+\s*([0-5]?\d)\s*[\W|\s]\s*(\d{1,3})\s*$/,I.daysUpToMonth=[0,31,59,90,120,151,181,212,243,273,304,334],I.daysUpToMonthLeapYear=[0,31,60,91,121,152,182,213,244,274,305,335],function(t){t[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December"}(N||(N={})),function(t){t.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",t.XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",t.PDF="application/pdf",t.TXT="text/plain",t.CSV="text/csv",t.ZIP="application/zip",t.JPG="image/jpeg",t.PNG="image/png",t.GIF="image/gif",t.SVG="image/svg+xml",t.HTML="text/html",t.XML="application/xml",t.JSON="application/json",t.MP3="audio/mpeg",t.MP4="video/mp4",t.OGG="audio/ogg",t.WEBM="video/webm",t.WAV="audio/wav",t.AVI="video/x-msvideo",t.MPEG="video/mpeg",t.WEBP="image/webp",t.ICO="image/x-icon",t.TTF="font/ttf",t.WOFF="font/woff",t.WOFF2="font/woff2",t.EOT="application/vnd.ms-fontobject",t.OTF="font/otf",t.PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",t.PPT="application/vnd.ms-powerpoint",t.XLS="application/vnd.ms-excel",t.DOC="application/msword",t.ODT="application/vnd.oasis.opendocument.text",t.ODS="application/vnd.oasis.opendocument.spreadsheet",t.ODP="application/vnd.oasis.opendocument.presentation",t.ODF="application/vnd.oasis.opendocument.formula",t.RAR="application/vnd.rar",t.TAR="application/x-tar",t.GZIP="application/gzip",t.BZIP2="application/x-bzip2",t.XZ="application/x-xz",t.SEVENZ="application/x-7z-compressed",t.RAR5="application/x-rar-compressed",t.WMA="audio/x-ms-wma",t.WMV="video/x-ms-wmv",t.FLV="video/x-flv",t.OGV="video/ogg",t.BIN="application/octet-stream",t.UNKNOWN="unknown"}(F||(F={})),function(t){t.IMAGE="image/*",t.AUDIO="audio/*",t.VIDEO="video/*",t.FONT="font/*",t.DOCUMENT="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/pdf,text/plain,text/csv",t.SPREADSHEET="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet",t.PRESENTATION="application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.presentation",t.ARCHIVE="application/zip,application/vnd.rar,application/x-tar,application/gzip,application/x-bzip2,application/x-xz,application/x-7z-compressed,application/x-rar-compressed"}(_||(_={}));const T={"application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/pdf":"pdf","text/plain":"txt","text/csv":"csv","application/zip":"zip","image/jpeg":"jpg","image/png":"png","image/gif":"gif","image/svg+xml":"svg","text/html":"html","application/xml":"xml","application/json":"json","audio/mpeg":"mp3","video/mp4":"mp4","audio/ogg":"ogg","video/webm":"webm","audio/wav":"wav","video/x-msvideo":"avi","video/mpeg":"mpeg","image/webp":"webp","image/x-icon":"ico","font/ttf":"ttf","font/woff":"woff","font/woff2":"woff2","application/vnd.ms-fontobject":"eot","font/otf":"otf","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.ms-powerpoint":"ppt","application/vnd.ms-excel":"xls","application/msword":"doc","application/vnd.oasis.opendocument.text":"odt","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.formula":"odf","application/vnd.rar":"rar","application/x-tar":"tar","application/gzip":"gz","application/x-bzip2":"bz2","application/x-xz":"xz","application/x-7z-compressed":"7z","application/x-rar-compressed":"rar","audio/x-ms-wma":"wma","video/x-ms-wmv":"wmv","video/x-flv":"flv","video/ogg":"ogv","application/octet-stream":"bin",unknown:"unknown"},C={};for(const[t,e]of Object.entries(T))C[e]=t;var A,R;!function(t){t.Edit="ofe|u|",t.View="ofv|u|"}(A||(A={})),function(t){t.Word="ms-word",t.Excel="ms-excel",t.PowerPoint="ms-powerpoint"}(R||(R={}));const $=F.UNKNOWN,B="ofv|u|";var L;!function(t){t.B="B",t.KB="KB",t.MB="MB",t.GB="GB",t.TB="TB",t.PB="PB",t.EB="EB",t.ZB="ZB",t.YB="YB"}(L||(L={}));const W=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];class E{static getMsOfficeLink(t,e){var n;const a=null!=(n=e.app)?n:E.getMsOfficeAppByMimeType(e.mimeType);if(a){var r;return`${a}:${null!=(r=e.action)?r:B}${t}`}return t}static openFileFromRemoteUrl(t,e){window.open(E.getMsOfficeLink(t,e))}static openFileInBrowser(t,e){const n=E.getBase64Link(t,e);window.open(n,"_blank")}static fileAsArrayBuffer(t){return new Promise((e,n)=>{t||n(null);const a=new FileReader;a.onload=()=>e(a.result),a.onerror=n,a.readAsArrayBuffer(t)})}static fileAsText(t,e){return new Promise((n,a)=>{t||a(null);const r=new FileReader;r.onload=()=>n(r.result),r.onerror=a,r.readAsText(t,e)})}static downloadFileFromData(t,e,n){var a;n=null!=(a=null!=n?n:E.getMimeTypeFromFileName(e))?a:E.getMimeTypeFromBase64(t);const r=E.getBase64Link(t,n);this.downloadFileFromRemoteUrl(r,e,n)}static downloadFileFromRemoteUrl(t,e,n){n=null!=n?n:E.getMimeTypeFromFileName(e);const a=document.createElement("a");a.href=t,a.download=E.getFileName(e,n),a.click()}static getMimeTypeFromBase64(t){var e;return null==(e=t.match(/data:(.*?);base64/))?void 0:e[1]}static getMimeTypeFromFileName(t){const e=null==t?void 0:t.split(".").pop();return C[e]}static getFileName(t,e){if(e&&e!==F.UNKNOWN){const n=T[e];return t.endsWith(`.${n}`)?t:`${t}.${n}`}return t}static getBase64Link(t,e){return t.startsWith("data:")?t:e?e===F.UNKNOWN?`data:${F.BIN};base64,${t}`:`data:${e};base64,${t}`:(console.error("Missing mime type for base64 data."),"")}static getMimeTypeFromResponse(t){var e;return null==(e=t.body)?void 0:e.type}static getFileNameFromResponse(t){var e,n,a,r,s;return null!=(s=null==(r=t.headers.get("content-disposition"))||null==(a=r.split("filename="))||null==(n=a[1])||null==(e=n.split(";"))?void 0:e[0])?s:""}static async blobToDataUrl(t){return new Promise((e,n)=>{t||n(null);const a=new FileReader;a.onload=()=>e(a.result),a.onerror=n,a.readAsDataURL(t)})}static convertFromBytes(t,e=2){if(0===t)return"0 B";const n=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,n)).toFixed(e))+" "+W[n]}static convertToBytes(t,e){const n=W.indexOf(e);return t*Math.pow(1024,n)}static fileSizeToBytes(t){const[e,n]=t.split(" "),a=parseFloat(e),r=n;return isNaN(a)||-1===W.indexOf(r)?null:E.convertToBytes(a,r)}static getMsOfficeAppByMimeType(t){switch(t){case F.DOC:case F.DOCX:case F.ODT:return"ms-word";case F.XLS:case F.XLSX:case F.ODS:return"ms-excel";case F.PPT:case F.PPTX:case F.ODP:return"ms-powerpoint";default:return null}}}class P{static normalizeColor(t){const e=t.trim();return this.isHexColor(e)?P.normalizeHex(e):this.isRgbColor(e)?P.normalizeRgb(e):this.isRgbaColor(e)?P.normalizeRgba(e):null}static normalizeHex(t){const e=t.match(P.hexRegex);return e?`#${e[2]}`:null}static normalizeRgb(t){const e=t.match(P.rgbRegex);return e?`rgb(${e[2]},${e[3]},${e[4]})`:null}static normalizeRgba(t){const e=t.match(P.rgbaRegex);return e?`rgba(${e[2]},${e[3]},${e[4]},${e[5]})`:null}static isRgbColor(t){return P.rgbRegex.test(t)}static isHexColor(t){return P.hexRegex.test(t)}static isRgbaColor(t){return P.rgbaRegex.test(t)}}var U;P.rgbRegex=/^(rgb)?\(?\s*([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\s*\)?$/,P.rgbaRegex=/^(rgba)?\(?\s*([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+((0(\.\d+)?)|(1(\.0)?))\s*\)?$/,P.hexRegex=/^(#?)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,function(t){t.Day="day",t.Month="month",t.Year="year",t.Constant="constant"}(U||(U={}));const Y={d:{type:"day",minLength:1,maxLength:2},dd:{type:"day",minLength:2,maxLength:2},m:{type:"month",minLength:1,maxLength:2},mm:{type:"month",minLength:2,maxLength:2},y:{type:"year",minLength:2,maxLength:2},yy:{type:"year",minLength:4,maxLength:4}};var k,z,j,H,V;!function(t){t[t.Overwrite=0]="Overwrite",t[t.Shift=1]="Shift"}(k||(k={})),function(t){t[t.Replace=0]="Replace",t[t.Insert=1]="Insert"}(z||(z={})),function(t){t[t.FourDigit=1]="FourDigit",t[t.TwoDigit=2]="TwoDigit",t[t.Both=3]="Both"}(j||(j={})),function(t){t[t.NoLeadingZero=1]="NoLeadingZero",t[t.LeadingZero=2]="LeadingZero",t[t.Both=3]="Both"}(H||(H={}));class Z{set leadingZeroMode(t){this.cfg.leadingZeroMode=t,this._parsedFormat=this.parseFormat(this.cfg)}get leadingZeroMode(){return this.cfg.leadingZeroMode}set yearInputMode(t){this.cfg.yearInputMode=t,this._parsedFormat=this.parseFormat(this.cfg)}get yearInputMode(){return this.cfg.yearInputMode}set twoDigitYearInputStrategy(t){this.cfg.twoDigitYearInputStrategy=t,this._parsedFormat=this.parseFormat(this.cfg)}get twoDigitYearInputStrategy(){return this.cfg.twoDigitYearInputStrategy}set insertMode(t){this.cfg.insertMode=t,this._parsedFormat=this.parseFormat(this.cfg)}get insertMode(){return this.cfg.insertMode}set format(t){this.cfg.format=t,this._parsedFormat=this.parseFormat(this.cfg)}get format(){return this.cfg.format}onKeyDown(t){"Backspace"===t.key&&(this.deleting=!0);const e=t.target;var n;this.caretPosition=null!=(n=e.selectionStart)?n:e.value.length-1}onKeyUp(t){"Backspace"===t.key&&(this.deleting=!1)}onInput(t){const e=t.target,n=e.value;var a;const r=null!=(a=e.selectionStart)?a:n.length-1,s=this.parse(n,r);e.value=s.prettyInput,S.setCaretPosition(e,s.caret),this._value=s.date,this._inputValue=s.prettyInput,this.caretPosition=s.caret}get value(){return this._value}set value(t){if(!(t instanceof Date))return this._value=null,void(this._inputValue="");let e="";this._parsedFormat.forEach(n=>{switch(n.type){case"constant":e+=n.value;break;case"day":e+=`${t.getDate()}`.padStart(n.minLength,"0");break;case"month":e+=`${t.getMonth()+1}`.padStart(n.minLength,"0");break;case"year":e+=(""+t.getFullYear()%10**n.maxLength).padStart(n.minLength,"0")}}),this._value=t,this._inputValue=e}set inputValue(t){this._inputValue=t}get inputValue(){return this._inputValue}parse(t,e=this.caretPosition,n=this.deleting){let a=t,r=null,s=null,i=null,o="",l=e,c=!0,p=!1;for(let u=0;u<this._parsedFormat.length&&0!==a.length;u++){const g=this._parsedFormat[u],m=a.search(/\d/);if("constant"===g.type){if(m>0){const e=n?a.substring(0,g.value.length):a.substring(0,m);if(n&&e!==g.value){if(a.length===t.length)continue;l-=g.value.length-e.length}a=a.substring(m)}o+=g.value}else{if(m<0)break;if(l>o.length&&(c=!0),"year"===g.type)if(1&this.cfg.yearInputMode&&(a.match(/^\d{3,4}/)||a.match(/^\d{2}$/)&&u!==this._parsedFormat.length-1))if(!n&&0===this.cfg.insertMode&&a.match(/^\d{5}/)&&e<a.length&&e-o.length<=5&&y.isNumericCharacter(a[e])&&(a=a.substring(0,e)+a.substring(e+1)),a.match(/^\d{4}/)){const t=a.substring(0,4);i=parseInt(t),a=a.substring(4),o+=t,n||({rest:a,targetCaret:l}=this.useUpNumbersUntilNextSeparator(a,l,!0,n))}else a.match(/^\d{3}/)?(o+=a.substring(0,3),a=a.substring(3),o.length<=l&&(c=!1)):(o=a.substring(0,2),a=a.substring(2),o.length<=l&&(c=!1));else if(2&this.cfg.yearInputMode&&a.match(/^\d{2}/)&&(this.containsNonNumericCharacters(a.substring(2))||u===this._parsedFormat.length-1)){const t=a.substring(0,2),e=parseInt(t);i="past"===this.cfg.twoDigitYearInputStrategy?I.doubleDigitYearToPast(e):I.doubleDigitYearToFuture(e),a=a.substring(2),n||({rest:a,targetCaret:l}=this.useUpNumbersUntilNextSeparator(a,l,!0,n)),o+=t,1&this.cfg.yearInputMode&&u===this._parsedFormat.length-1&&(p=!0)}else a.match(/^\d/)&&(o+=a[0],a=a.substring(1),o.length<=l&&(c=!1));else if("month"===g.type){const t=this.readNumber(1,12,o,a,l,n);o=t.output,a=t.rest,l=t.targetCaret,null!==t.value&&(s=t.value,t.complete&&!n&&({rest:a,targetCaret:l}=this.useUpNumbersUntilNextSeparator(a,l,!0,n)),!t.complete&&o.length<=l&&(c=!1))}else if("day"===g.type){const t=this.readNumber(1,31,o,a,l,n);o=t.output,a=t.rest,l=t.targetCaret,null!==t.value&&(r=t.value,t.complete&&!n&&({rest:a,targetCaret:l}=this.useUpNumbersUntilNextSeparator(a,l,!0,n)),!t.complete&&o.length<=l&&(c=!1))}}}let u=null;if(null!==i&&null!==s&&null!==r&&(u=new Date(i,s-1,r),u.getMonth()!==s-1&&(u=null)),l=Math.min(l,o.length+1),n)u||(o=t,l=e);else if(e===t.length)l=o.length;else if(c)for(;l>0&&o.length>l&&!y.isNumericCharacter(o[l]);)l++;return{prettyInput:o,date:u,complete:null!==u,caret:l,ambiguous:p||null===u}}readNumber(t,e,n,a,r,s){const i=function(t){return Math.log10(t)+1|0}(e);let o=null,l="",c=!1;if(1&this.cfg.leadingZeroMode){var p,u;let r=null!=(u=null==(p=a.match(/^\d+/))?void 0:p[0])?u:"";if(r.length>0){if(r=r.slice(0,i),o=parseInt(r),o<t){o=null;let e="9";for(;r.length+1>i||parseInt(r+e)<t;)r=r.slice(0,-1),e+="9"}else{for(;o>e&&r.length>0;)r=r.slice(0,-1),o=parseInt(r);0===r.length&&(o=null)}"0"!==r[0]||0===t||2&this.cfg.leadingZeroMode||(o=null,r="")}n+=r,a=a.substring(r.length),l=r}else{const t=new RegExp(`^\\d{${i}}`);a.match(t)&&(l=a.substring(0,i),n+=l,a=a.substring(i),o=parseInt(l))}return null!==o&&o>=t&&o<=e?(c=l.length===i||10*o>e,({rest:a,targetCaret:r}=this.useUpNumbersUntilNextSeparator(a,r,c&&!s,s)),{value:o,complete:c,output:n,rest:a,targetCaret:r}):{value:null,complete:!1,output:n,rest:a,targetCaret:r}}parseFormat(t){const e=Object.keys(t.symbolMeta);e.sort((t,e)=>e.length-t.length);let n=t.format;const a=[];for(;n.length>0;){const r=e.map(t=>n.indexOf(t)),s=r.indexOf(Math.min(...r.filter(t=>t>=0))),i=r[s],o=e[s];i>0?(a.push({type:"constant",value:n.substring(0,i)}),n=n.substring(i)):i<0?(a.push({type:"constant",value:n}),n=""):(a.push(t.symbolMeta[o]),n=n.substring(i+o.length))}return a}useUpNumbersUntilNextSeparator(t,e,n,a){let r=0;for(;r<t.length&&y.isNumericCharacter(t[r]);)r++;return r!==t.length?{rest:t.substring(r),targetCaret:e-(a?r:0)}:n?{rest:" "+t,targetCaret:e}:{rest:t,targetCaret:e}}containsNonNumericCharacters(t){return t.search(/\D/)>=0}constructor(t){this.cfg=t,this._inputValue="",this._value=null,this._parsedFormat=this.parseFormat(t),this.deleting=!1,this.caretPosition=0}}!function(t){t.UTF_8="utf-8",t.IBM_866="ibm866",t.ISO_8859_2="iso-8859-2",t.ISO_8859_3="iso-8859-3",t.ISO_8859_4="iso-8859-4",t.ISO_8859_5="iso-8859-5",t.ISO_8859_6="iso-8859-6",t.ISO_8859_7="iso-8859-7",t.ISO_8859_8="iso-8859-8",t.ISO_8859_8_I="iso-8859-8-i",t.ISO_8859_10="iso-8859-10",t.ISO_8859_13="iso-8859-13",t.ISO_8859_14="iso-8859-14",t.ISO_8859_15="iso-8859-15",t.ISO_8859_16="iso-8859-16",t.KOI8_R="koi8-r",t.MACINTOSH="macintosh",t.WINDOWS_874="windows-874",t.WINDOWS_1250="windows-1250",t.WINDOWS_1251="windows-1251",t.WINDOWS_1252="windows-1252",t.WINDOWS_1253="windows-1253",t.WINDOWS_1254="windows-1254",t.WINDOWS_1255="windows-1255",t.WINDOWS_1256="windows-1256",t.WINDOWS_1257="windows-1257",t.WINDOWS_1258="windows-1258",t.X_MAC_CYRILLIC="x-mac-cyrillic",t.GBK="gbk",t.GB18030="gb18030",t.BIG5="big5",t.EUC_JP="euc-jp",t.ISO_2022_JP="iso-2022-jp",t.SHIFT_JIS="shift-jis",t.EUC_KR="euc-kr",t.HZ_GB_2312="hz-gb-2312",t.ISO_2022_CN="iso-2022-cn",t.ISO_2022_CN_EXT="iso-2022-cn-ext",t.ISO_2022_KR="iso-2022-kr",t.UTF_16="utf-16",t.X_USER_DEFINED="x-user-defined"}(V||(V={}));export{M as ALPHABET_KB_KEYS,v as ARROW,T as EXTENSION_BY_MIME_TYPE,O as KB_ALPHABET_CODES,b as KB_CODE,x as KB_KEY,C as MIME_TYPE_BY_EXTENSION,N as Month,Y as PRIMENG_DATE_FORMAT_META,$ as RDT_DEFAULT_MIME_TYPE,B as RDT_DEFAULT_MS_OFFICE_ACTION,m as RdtArrayUtils,_ as RdtCombinedMimeType,P as RdtCssUtils,Z as RdtDateParser,I as RdtDateUtils,V as RdtEncoding,L as RdtFileSizeUnit,E as RdtFileUtils,S as RdtHTMLUtils,k as RdtInsertMode,H as RdtLeadingZeroInputMode,F as RdtMimeType,g as RdtModelUtils,A as RdtMsOfficeAction,R as RdtMsOfficeApp,d as RdtObjectUtils,z as RdtPasteMode,f as RdtRandomUtils,w as RdtRxUtils,y as RdtStringUtils,j as RdtYearInputMode};
|
|
1
|
+
import{combineLatest as e,startWith as n,map as t,switchMap as r,EMPTY as o,of as i,Observable as a,BehaviorSubject as u,Subject as l,Subscription as s}from"rxjs";import{map as c}from"rxjs/operators";var d;function f(){return f=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},f.apply(this,arguments)}!function(e){e.UTF_8="utf-8",e.IBM_866="ibm866",e.ISO_8859_2="iso-8859-2",e.ISO_8859_3="iso-8859-3",e.ISO_8859_4="iso-8859-4",e.ISO_8859_5="iso-8859-5",e.ISO_8859_6="iso-8859-6",e.ISO_8859_7="iso-8859-7",e.ISO_8859_8="iso-8859-8",e.ISO_8859_8_I="iso-8859-8-i",e.ISO_8859_10="iso-8859-10",e.ISO_8859_13="iso-8859-13",e.ISO_8859_14="iso-8859-14",e.ISO_8859_15="iso-8859-15",e.ISO_8859_16="iso-8859-16",e.KOI8_R="koi8-r",e.MACINTOSH="macintosh",e.WINDOWS_874="windows-874",e.WINDOWS_1250="windows-1250",e.WINDOWS_1251="windows-1251",e.WINDOWS_1252="windows-1252",e.WINDOWS_1253="windows-1253",e.WINDOWS_1254="windows-1254",e.WINDOWS_1255="windows-1255",e.WINDOWS_1256="windows-1256",e.WINDOWS_1257="windows-1257",e.WINDOWS_1258="windows-1258",e.X_MAC_CYRILLIC="x-mac-cyrillic",e.GBK="gbk",e.GB18030="gb18030",e.BIG5="big5",e.EUC_JP="euc-jp",e.ISO_2022_JP="iso-2022-jp",e.SHIFT_JIS="shift-jis",e.EUC_KR="euc-kr",e.HZ_GB_2312="hz-gb-2312",e.ISO_2022_CN="iso-2022-cn",e.ISO_2022_CN_EXT="iso-2022-cn-ext",e.ISO_2022_KR="iso-2022-kr",e.UTF_16="utf-16",e.X_USER_DEFINED="x-user-defined"}(d||(d={}));const v={UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight"},h={SPACEBAR:" ",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",END:"End",TAB:"Tab",ARROW:v},p=f({},h,{SPACEBAR:"Space"}),g=Array.from(Array(26)).map((e,n)=>n+65).map(e=>String.fromCharCode(e)),y=g.map(e=>`Key${e.toUpperCase()}`);var m,w;!function(e){e.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",e.XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",e.PDF="application/pdf",e.TXT="text/plain",e.CSV="text/csv",e.ZIP="application/zip",e.JPG="image/jpeg",e.PNG="image/png",e.GIF="image/gif",e.SVG="image/svg+xml",e.HTML="text/html",e.XML="application/xml",e.JSON="application/json",e.MP3="audio/mpeg",e.MP4="video/mp4",e.OGG="audio/ogg",e.WEBM="video/webm",e.WAV="audio/wav",e.AVI="video/x-msvideo",e.MPEG="video/mpeg",e.WEBP="image/webp",e.ICO="image/x-icon",e.TTF="font/ttf",e.WOFF="font/woff",e.WOFF2="font/woff2",e.EOT="application/vnd.ms-fontobject",e.OTF="font/otf",e.PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",e.PPT="application/vnd.ms-powerpoint",e.XLS="application/vnd.ms-excel",e.DOC="application/msword",e.ODT="application/vnd.oasis.opendocument.text",e.ODS="application/vnd.oasis.opendocument.spreadsheet",e.ODP="application/vnd.oasis.opendocument.presentation",e.ODF="application/vnd.oasis.opendocument.formula",e.RAR="application/vnd.rar",e.TAR="application/x-tar",e.GZIP="application/gzip",e.BZIP2="application/x-bzip2",e.XZ="application/x-xz",e.SEVENZ="application/x-7z-compressed",e.RAR5="application/x-rar-compressed",e.WMA="audio/x-ms-wma",e.WMV="video/x-ms-wmv",e.FLV="video/x-flv",e.OGV="video/ogg",e.BIN="application/octet-stream",e.UNKNOWN="unknown"}(m||(m={})),function(e){e.IMAGE="image/*",e.AUDIO="audio/*",e.VIDEO="video/*",e.FONT="font/*",e.DOCUMENT="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/pdf,text/plain,text/csv",e.SPREADSHEET="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet",e.PRESENTATION="application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.presentation",e.ARCHIVE="application/zip,application/vnd.rar,application/x-tar,application/gzip,application/x-bzip2,application/x-xz,application/x-7z-compressed,application/x-rar-compressed"}(w||(w={}));const b={"application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/pdf":"pdf","text/plain":"txt","text/csv":"csv","application/zip":"zip","image/jpeg":"jpg","image/png":"png","image/gif":"gif","image/svg+xml":"svg","text/html":"html","application/xml":"xml","application/json":"json","audio/mpeg":"mp3","video/mp4":"mp4","audio/ogg":"ogg","video/webm":"webm","audio/wav":"wav","video/x-msvideo":"avi","video/mpeg":"mpeg","image/webp":"webp","image/x-icon":"ico","font/ttf":"ttf","font/woff":"woff","font/woff2":"woff2","application/vnd.ms-fontobject":"eot","font/otf":"otf","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.ms-powerpoint":"ppt","application/vnd.ms-excel":"xls","application/msword":"doc","application/vnd.oasis.opendocument.text":"odt","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.formula":"odf","application/vnd.rar":"rar","application/x-tar":"tar","application/gzip":"gz","application/x-bzip2":"bz2","application/x-xz":"xz","application/x-7z-compressed":"7z","application/x-rar-compressed":"rar","audio/x-ms-wma":"wma","video/x-ms-wmv":"wmv","video/x-flv":"flv","video/ogg":"ogv","application/octet-stream":"bin",unknown:"unknown"},M={};for(const[e,n]of Object.entries(b))M[n]=e;class D{static removeAt(e,n){if(n<0||n>e.length)throw new Error(`Out of bounds! Array length: ${e.length}, index: ${n}`);return[...e.slice(0,n),...e.slice(n+1)]}static insertAt(e,n,t){if(n<0||n>e.length)throw new Error(`Out of bounds! Array length: ${e.length}, index: ${n}`);return[...e.slice(0,n),t,...e.slice(n)]}static isEqual(e,n){return e&&n?e.length===n.length&&e.every(e=>n.indexOf(e)>-1):!e==!n}}class k{static normalizeColor(e){const n=e.trim();return this.isHexColor(n)?k.normalizeHex(n):this.isRgbColor(n)?k.normalizeRgb(n):this.isRgbaColor(n)?k.normalizeRgba(n):null}static normalizeHex(e){const n=e.match(k.hexRegex);return n?`#${n[2]}`:null}static normalizeRgb(e){const n=e.match(k.rgbRegex);return n?`rgb(${n[2]},${n[3]},${n[4]})`:null}static normalizeRgba(e){const n=e.match(k.rgbaRegex);return n?`rgba(${n[2]},${n[3]},${n[4]},${n[5]})`:null}static isRgbColor(e){return k.rgbRegex.test(e)}static isHexColor(e){return k.hexRegex.test(e)}static isRgbaColor(e){return k.rgbaRegex.test(e)}}k.rgbRegex=/^(rgb)?\(?\s*([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\s*\)?$/,k.rgbaRegex=/^(rgba)?\(?\s*([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+([01]?\d\d?|2[0-4]\d|25[0-5])\W+((0(\.\d+)?)|(1(\.0)?))\s*\)?$/,k.hexRegex=/^(#?)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;class _{static getDays(e,n){return _.getDayOffset(new Date(e))-_.getDayOffset(new Date(n))}static checkDate(e,n,t){const r=new Date(e,n-1,t);return r.getFullYear()===e&&r.getMonth()+1===n&&r.getDate()===t}static isValidDate(e){return null!=e&&(e instanceof Date?!isNaN(e.getTime()):!isNaN(new Date(e).getTime()))}static startOfDay(e){const n=new Date(e);return n.setHours(0,0,0,0),n}static endOfDay(e){const n=new Date(e);return n.setHours(23,59,59),n}static startOfMonth(e){const n=new Date(e);return n.setHours(0,0,0,0),n.setDate(1),n}static endOfMonth(e){const n=new Date(e);return n.setHours(23,59,59),n.setDate(0),n}static startOfYear(e){return new Date(e,0,1)}static endOfYear(e){return new Date(e,11,31)}static beginningOfNextMonth(){const e=new Date;return 11===e.getMonth()?new Date(e.getFullYear()+1,0,1):new Date(e.getFullYear(),e.getMonth()+1,1)}static endOfNextMonth(){const e=new Date;if(10===e.getMonth()){const n=new Date(e.getFullYear()+1,0,1);return this.minusOneDay(n)}if(11===e.getMonth()){const n=new Date(e.getFullYear()+1,1,1);return this.minusOneDay(n)}{const n=new Date(e.getFullYear(),e.getMonth()+2,1);return this.minusOneDay(n)}}static beginningOfInThreeMonths(){const e=new Date;return 10===e.getMonth()?new Date(e.getFullYear()+1,1,1):11===e.getMonth()?new Date(e.getFullYear()+1,2,1):new Date(e.getFullYear(),e.getMonth()+3,1)}static endOfInNextThreeMonths(){const e=new Date;if(9===e.getMonth()){const n=new Date(e.getFullYear()+1,1,1);return this.minusOneDay(n)}if(10===e.getMonth()){const n=new Date(e.getFullYear()+1,2,1);return this.minusOneDay(n)}if(11===e.getMonth()){const n=new Date(e.getFullYear()+1,3,1);return this.minusOneDay(n)}{const n=new Date(e.getFullYear(),e.getMonth()+4,1);return this.minusOneDay(n)}}static minusOneDay(e){return new Date(e.getTime()-_.DAY)}static toISOLocal(e){return`${e.getFullYear()}-${`${e.getMonth()+1}`.padStart(2,"0")}-${`${e.getDate()}`.padStart(2,"0")}T${`${e.getHours()}`.padStart(2,"0")}:${`${e.getMinutes()}`.padStart(2,"0")}:${`${e.getSeconds()}`.padStart(2,"0")}`}static formatDate(e){if(null==e||""===e)return"";const n=e instanceof Date?e:new Date(e);if(_.isValidDate(n)){const e=n.getFullYear(),t=`${n.getMonth()+1}`.padStart(2,"0");return`${`${n.getDate()}`.padStart(2,"0")}.${t}.${e}`}return""}static timeToDate(e){const n=new Date(0);if(_.hhMmSsMsRegex.test(e)){const t=e.match(_.hhMmSsMsRegex);if(t){const e=parseInt(t[1]),r=parseInt(t[2]),o=parseInt(t[3]),i=parseInt(t[4]);return n.setHours(e,r,o,i),n}}else if(_.hhMmSsRegex.test(e)){const t=e.match(_.hhMmSsRegex);if(t){const e=parseInt(t[1]),r=parseInt(t[2]),o=parseInt(t[3]);return n.setHours(e,r,o),n}}else if(_.hhMmRegex.test(e)){const t=e.match(_.hhMmRegex);if(t){const e=parseInt(t[1]),r=parseInt(t[2]);return n.setHours(e,r),n}}return null}static setTime(e,n){const t=new Date(e),r=_.timeToDate(n);return r&&t.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),t}static getTime(e,n=!0){const t=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0");if(n){return`${t}:${r}:${e.getSeconds().toString().padStart(2,"0")}`}return`${t}:${r}`}static parseToDate(e){if(e instanceof Date)return _.isValidDate(e)?e:null;if("string"==typeof e){const n=new Date(e);if(_.isValidDate(n))return n}return null}static parse(e){if(e instanceof Date)return _.isValidDate(e)?e.getTime():null;if("string"==typeof e){const n=new Date(e);if(_.isValidDate(n))return n.getTime()}return null}static isEqual(e,n){return e===n||!(!e||!n)&&e.getTime()===n.getTime()}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static getDaysInYear(e){return _.isLeapYear(e)?366:365}static getDayOffset(e){const n=e.getFullYear()-1,t=e.getMonth()+1,r=e.getDate(),o=Math.trunc(n/4)-Math.trunc(n/100)+Math.trunc(n/400);return _.isLeapYear(n+1)?365*n+o+_.daysUpToMonthLeapYear[t-1]+r-1:365*n+o+_.daysUpToMonth[t-1]+r-1}static doubleDigitYearToPast(e){const n=_.getCurrentYear(),t=n%100;return e<=t?e+n-t:e+n-t-100}static doubleDigitYearToFuture(e){const n=_.getCurrentYear(),t=n%100;return e>=t?e+n-t:e+n-t+100}static getCurrentYear(){return(new Date).getFullYear()}static calculateAge(e,n){const t=new Date(e),r=new Date(n);let o=r.getFullYear()-t.getFullYear();const i=r.getMonth()-t.getMonth(),a=r.getDate()-t.getDate();return(i<0||0===i&&a<0)&&o--,o}}var x,I;_.MS=1,_.SECOND=1e3*_.MS,_.MINUTE=60*_.SECOND,_.HOUR=60*_.MINUTE,_.DAY=24*_.HOUR,_.hhMmRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*$/,_.hhMmSsRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*\W+\s*([0-5]?\d)\s*$/,_.hhMmSsMsRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*\W+\s*([0-5]?\d)\s*[\W|\s]\s*(\d{1,3})\s*$/,_.daysUpToMonth=[0,31,59,90,120,151,181,212,243,273,304,334],_.daysUpToMonthLeapYear=[0,31,60,91,121,152,182,213,244,274,305,335],function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(x||(x={}));class S{static scrollIntoViewHorizontallyWithinParent(e){const n=e.parentElement;if(!n)return;const t=e.offsetLeft,r=e.offsetWidth,o=n.offsetWidth,i=n.scrollLeft,a=t,u=t-o+r;i>a?n.scrollLeft=a:i<u&&(n.scrollLeft=u)}static setCaretPosition(e,n){e.focus(),e.setSelectionRange(n,n)}}class C{static tokenize(e){return e?e.split(/\W+/).filter(e=>!!e):[]}static joinPaths(e,n){const t=e.endsWith("/"),r=n.startsWith("/");return t&&r?e.slice(0,-1)+n:t||r?e+n:e+"/"+n}static isAlphabetCharacter(e){return!(e.length>1)&&e.toLocaleLowerCase()!==e.toLocaleUpperCase()}static isNumericCharacter(e){return!isNaN(parseInt(e))}static capitalize(e){return e.charAt(0).toLocaleUpperCase()+e.slice(1)}static toDataTestId(e){var n;return null==(n=C.removeAccents(e).toLowerCase())?void 0:n.replace(/ /g,"-")}static removeAccents(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}static stripTrailingSlash(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length,r=t-("/"===e[t-1]?1:0);return e.slice(0,r)+e.slice(t)}static createAbsoluteUrl(e,n){return C.joinPaths(n,e)}static appendQueryParams(e,n){if(n&&0!==Object.keys(n).length){return`${e}?${new URLSearchParams(n)}`}return e}static localeCompare(e,n,t="asc"){const r="asc"===t?1:-1;return e==n?0:null==e?-r:null==n?r:e.localeCompare(n)*r}static komixcomlocalReplaceString(e){const n=location.hostname;return{replaceString:e.includes("komix.com")?"komix.com":"komix.local",toReplace:n.includes("komix.com")?"komix.com":"komix.local"}}static swapChars(e,n,t){return n<0||t<0||n>=e.length||t>=e.length?e:(t<n&&([n,t]=[t,n]),e.slice(0,n)+e[t]+e.slice(n+1,t)+e[n]+e.slice(t+1))}static insertAt(e,n,t){return e.slice(0,n)+t+e.slice(n)}static getDataTestId(e,n,t){var r;let o=null==(r=e.toLowerCase())?void 0:r.replace(/ /g,"-");return n&&(o=`${n}__${o}`),t&&(o=`${o}--${t}`),C.removeAccents(o)}static stripQueryParams(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t)}}!function(e){e.Day="day",e.Month="month",e.Year="year",e.Constant="constant"}(I||(I={}));const T={d:{type:"day",minLength:1,maxLength:2},dd:{type:"day",minLength:2,maxLength:2},m:{type:"month",minLength:1,maxLength:2},mm:{type:"month",minLength:2,maxLength:2},y:{type:"year",minLength:2,maxLength:2},yy:{type:"year",minLength:4,maxLength:4}};var E,O,N,A,P,j;!function(e){e[e.Overwrite=0]="Overwrite",e[e.Shift=1]="Shift"}(E||(E={})),function(e){e[e.Replace=0]="Replace",e[e.Insert=1]="Insert"}(O||(O={})),function(e){e[e.FourDigit=1]="FourDigit",e[e.TwoDigit=2]="TwoDigit",e[e.Both=3]="Both"}(N||(N={})),function(e){e[e.NoLeadingZero=1]="NoLeadingZero",e[e.LeadingZero=2]="LeadingZero",e[e.Both=3]="Both"}(A||(A={}));class R{set leadingZeroMode(e){this.cfg.leadingZeroMode=e,this._parsedFormat=this.parseFormat(this.cfg)}get leadingZeroMode(){return this.cfg.leadingZeroMode}set yearInputMode(e){this.cfg.yearInputMode=e,this._parsedFormat=this.parseFormat(this.cfg)}get yearInputMode(){return this.cfg.yearInputMode}set twoDigitYearInputStrategy(e){this.cfg.twoDigitYearInputStrategy=e,this._parsedFormat=this.parseFormat(this.cfg)}get twoDigitYearInputStrategy(){return this.cfg.twoDigitYearInputStrategy}set insertMode(e){this.cfg.insertMode=e,this._parsedFormat=this.parseFormat(this.cfg)}get insertMode(){return this.cfg.insertMode}set format(e){this.cfg.format=e,this._parsedFormat=this.parseFormat(this.cfg)}get format(){return this.cfg.format}onKeyDown(e){"Backspace"===e.key&&(this.deleting=!0);const n=e.target;var t;this.caretPosition=null!=(t=n.selectionStart)?t:n.value.length-1}onKeyUp(e){"Backspace"===e.key&&(this.deleting=!1)}onInput(e){const n=e.target,t=n.value;var r;const o=null!=(r=n.selectionStart)?r:t.length-1,i=this.parse(t,o);n.value=i.prettyInput,S.setCaretPosition(n,i.caret),this._value=i.date,this._inputValue=i.prettyInput,this.caretPosition=i.caret}get value(){return this._value}set value(e){if(!(e instanceof Date))return this._value=null,void(this._inputValue="");let n="";this._parsedFormat.forEach(t=>{switch(t.type){case"constant":n+=t.value;break;case"day":n+=`${e.getDate()}`.padStart(t.minLength,"0");break;case"month":n+=`${e.getMonth()+1}`.padStart(t.minLength,"0");break;case"year":n+=(""+e.getFullYear()%10**t.maxLength).padStart(t.minLength,"0")}}),this._value=e,this._inputValue=n}set inputValue(e){this._inputValue=e}get inputValue(){return this._inputValue}parse(e,n=this.caretPosition,t=this.deleting){let r=e,o=null,i=null,a=null,u="",l=n,s=!0,c=!1;for(let d=0;d<this._parsedFormat.length&&0!==r.length;d++){const f=this._parsedFormat[d],v=r.search(/\d/);if("constant"===f.type){if(v>0){const n=t?r.substring(0,f.value.length):r.substring(0,v);if(t&&n!==f.value){if(r.length===e.length)continue;l-=f.value.length-n.length}r=r.substring(v)}u+=f.value}else{if(v<0)break;if(l>u.length&&(s=!0),"year"===f.type)if(1&this.cfg.yearInputMode&&(r.match(/^\d{3,4}/)||r.match(/^\d{2}$/)&&d!==this._parsedFormat.length-1))if(!t&&0===this.cfg.insertMode&&r.match(/^\d{5}/)&&n<r.length&&n-u.length<=5&&C.isNumericCharacter(r[n])&&(r=r.substring(0,n)+r.substring(n+1)),r.match(/^\d{4}/)){const e=r.substring(0,4);a=parseInt(e),r=r.substring(4),u+=e,t||({rest:r,targetCaret:l}=this.useUpNumbersUntilNextSeparator(r,l,!0,t))}else r.match(/^\d{3}/)?(u+=r.substring(0,3),r=r.substring(3),u.length<=l&&(s=!1)):(u=r.substring(0,2),r=r.substring(2),u.length<=l&&(s=!1));else if(2&this.cfg.yearInputMode&&r.match(/^\d{2}/)&&(this.containsNonNumericCharacters(r.substring(2))||d===this._parsedFormat.length-1)){const e=r.substring(0,2),n=parseInt(e);a="past"===this.cfg.twoDigitYearInputStrategy?_.doubleDigitYearToPast(n):_.doubleDigitYearToFuture(n),r=r.substring(2),t||({rest:r,targetCaret:l}=this.useUpNumbersUntilNextSeparator(r,l,!0,t)),u+=e,1&this.cfg.yearInputMode&&d===this._parsedFormat.length-1&&(c=!0)}else r.match(/^\d/)&&(u+=r[0],r=r.substring(1),u.length<=l&&(s=!1));else if("month"===f.type){const e=this.readNumber(1,12,u,r,l,t);u=e.output,r=e.rest,l=e.targetCaret,null!==e.value&&(i=e.value,e.complete&&!t&&({rest:r,targetCaret:l}=this.useUpNumbersUntilNextSeparator(r,l,!0,t)),!e.complete&&u.length<=l&&(s=!1))}else if("day"===f.type){const e=this.readNumber(1,31,u,r,l,t);u=e.output,r=e.rest,l=e.targetCaret,null!==e.value&&(o=e.value,e.complete&&!t&&({rest:r,targetCaret:l}=this.useUpNumbersUntilNextSeparator(r,l,!0,t)),!e.complete&&u.length<=l&&(s=!1))}}}let d=null;if(null!==a&&null!==i&&null!==o&&(d=new Date(a,i-1,o),d.getMonth()!==i-1&&(d=null)),l=Math.min(l,u.length+1),t)d||(u=e,l=n);else if(n===e.length)l=u.length;else if(s)for(;l>0&&u.length>l&&!C.isNumericCharacter(u[l]);)l++;return{prettyInput:u,date:d,complete:null!==d,caret:l,ambiguous:c||null===d}}readNumber(e,n,t,r,o,i){const a=function(e){return Math.log10(e)+1|0}(n);let u=null,l="",s=!1;if(1&this.cfg.leadingZeroMode){var c,d;let o=null!=(d=null==(c=r.match(/^\d+/))?void 0:c[0])?d:"";if(o.length>0){if(o=o.slice(0,a),u=parseInt(o),u<e){u=null;let n="9";for(;o.length+1>a||parseInt(o+n)<e;)o=o.slice(0,-1),n+="9"}else{for(;u>n&&o.length>0;)o=o.slice(0,-1),u=parseInt(o);0===o.length&&(u=null)}"0"!==o[0]||0===e||2&this.cfg.leadingZeroMode||(u=null,o="")}t+=o,r=r.substring(o.length),l=o}else{const e=new RegExp(`^\\d{${a}}`);r.match(e)&&(l=r.substring(0,a),t+=l,r=r.substring(a),u=parseInt(l))}return null!==u&&u>=e&&u<=n?(s=l.length===a||10*u>n,({rest:r,targetCaret:o}=this.useUpNumbersUntilNextSeparator(r,o,s&&!i,i)),{value:u,complete:s,output:t,rest:r,targetCaret:o}):{value:null,complete:!1,output:t,rest:r,targetCaret:o}}parseFormat(e){const n=Object.keys(e.symbolMeta);n.sort((e,n)=>n.length-e.length);let t=e.format;const r=[];for(;t.length>0;){const o=n.map(e=>t.indexOf(e)),i=o.indexOf(Math.min(...o.filter(e=>e>=0))),a=o[i],u=n[i];a>0?(r.push({type:"constant",value:t.substring(0,a)}),t=t.substring(a)):a<0?(r.push({type:"constant",value:t}),t=""):(r.push(e.symbolMeta[u]),t=t.substring(a+u.length))}return r}useUpNumbersUntilNextSeparator(e,n,t,r){let o=0;for(;o<e.length&&C.isNumericCharacter(e[o]);)o++;return o!==e.length?{rest:e.substring(o),targetCaret:n-(r?o:0)}:t?{rest:" "+e,targetCaret:n}:{rest:e,targetCaret:n}}containsNonNumericCharacters(e){return e.search(/\D/)>=0}constructor(e){this.cfg=e,this._inputValue="",this._value=null,this._parsedFormat=this.parseFormat(e),this.deleting=!1,this.caretPosition=0}}!function(e){e.Edit="ofe|u|",e.View="ofv|u|"}(P||(P={})),function(e){e.Word="ms-word",e.Excel="ms-excel",e.PowerPoint="ms-powerpoint"}(j||(j={}));const V=m.UNKNOWN,F="ofv|u|";var L;!function(e){e.B="B",e.KB="KB",e.MB="MB",e.GB="GB",e.TB="TB",e.PB="PB",e.EB="EB",e.ZB="ZB",e.YB="YB"}(L||(L={}));const H=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];class B{static getMsOfficeLink(e,n){var t;const r=null!=(t=n.app)?t:B.getMsOfficeAppByMimeType(n.mimeType);if(r){var o;return`${r}:${null!=(o=n.action)?o:F}${e}`}return e}static openFileFromRemoteUrl(e,n){window.open(B.getMsOfficeLink(e,n))}static openFileInBrowser(e,n){const t=B.getBase64Link(e,n);window.open(t,"_blank")}static fileAsArrayBuffer(e){return new Promise((n,t)=>{e||t(null);const r=new FileReader;r.onload=()=>n(r.result),r.onerror=t,r.readAsArrayBuffer(e)})}static fileAsText(e,n){return new Promise((t,r)=>{e||r(null);const o=new FileReader;o.onload=()=>t(o.result),o.onerror=r,o.readAsText(e,n)})}static downloadFileFromData(e,n,t){var r;t=null!=(r=null!=t?t:B.getMimeTypeFromFileName(n))?r:B.getMimeTypeFromBase64(e);const o=B.getBase64Link(e,t);this.downloadFileFromRemoteUrl(o,n,t)}static downloadFileFromRemoteUrl(e,n,t){t=null!=t?t:B.getMimeTypeFromFileName(n);const r=document.createElement("a");r.href=e,r.download=B.getFileName(n,t),r.click()}static getMimeTypeFromBase64(e){var n;return null==(n=e.match(/data:(.*?);base64/))?void 0:n[1]}static getMimeTypeFromFileName(e){const n=null==e?void 0:e.split(".").pop();return M[n]}static getFileName(e,n){if(n&&n!==m.UNKNOWN){const t=b[n];return e.endsWith(`.${t}`)?e:`${e}.${t}`}return e}static getBase64Link(e,n){return e.startsWith("data:")?e:n?n===m.UNKNOWN?`data:${m.BIN};base64,${e}`:`data:${n};base64,${e}`:(console.error("Missing mime type for base64 data."),"")}static getMimeTypeFromResponse(e){var n;return null==(n=e.body)?void 0:n.type}static getFileNameFromResponse(e){var n,t,r,o,i;return null!=(i=null==(o=e.headers.get("content-disposition"))||null==(r=o.split("filename="))||null==(t=r[1])||null==(n=t.split(";"))?void 0:n[0])?i:""}static async blobToDataUrl(e){return new Promise((n,t)=>{e||t(null);const r=new FileReader;r.onload=()=>n(r.result),r.onerror=t,r.readAsDataURL(e)})}static convertFromBytes(e,n=2){if(0===e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(n))+" "+H[t]}static convertToBytes(e,n){const t=H.indexOf(n);return e*Math.pow(1024,t)}static fileSizeToBytes(e){const[n,t]=e.split(" "),r=parseFloat(n),o=t;return isNaN(r)||-1===H.indexOf(o)?null:B.convertToBytes(r,o)}static getMsOfficeAppByMimeType(e){switch(e){case m.DOC:case m.DOCX:case m.ODT:return"ms-word";case m.XLS:case m.XLSX:case m.ODS:return"ms-excel";case m.PPT:case m.PPTX:case m.ODP:return"ms-powerpoint";default:return null}}}function z(e){return{name:e,className:(t=e,n=U(t),n.charAt(0).toUpperCase()+n.slice(1)),propertyName:U(e),constantName:W(e),fileName:Z(e)};var n,t}function U(e){return e.replace(/([^a-zA-Z0-9])+(.)?/g,(e,n,t)=>t?t.toUpperCase():"").replace(/[^a-zA-Z\d]/g,"").replace(/^([A-Z])/,e=>e.toLowerCase())}function W(e){return Z(U(e.toUpperCase()===e?e.toLowerCase():e)).replace(/([^a-zA-Z0-9])/g,"_").toUpperCase()}function Z(e){return e.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase().replace(/(?!^_)[ _]/g,"-")}const q=["je","lze"];class ${static inferPropertyInfo(e,n){const t=z(n).fileName.split("-"),r={};t.forEach(e=>r[e]=1);let o=0,i="";e.forEach(({key:e})=>{const n=z(e).fileName.split("-");let t=0;n.forEach(e=>{var n;return t+=null!=(n=r[e])?n:0});const a=n.includes("id");t>o&&a?(o=t,i=e):t===o&&a&&e.length<i.length&&(i=e)});return e.map(e=>{const n=z(e.key).fileName.split("-"),t=n.includes("id");return{key:e.key,type:e.type,required:!0,formControlType:"date"===e.type?"string":e.type,primaryKey:e.key===i,foreignKey:t&&e.key!==i,probablyBoolean:q.includes(n[0])&&"number"===e.type}})}static names(e){return z(e)}}class G{static pluck(e,n){if(!e)return;const t=Array.isArray(n)?n:n.split(".");let r=e;for(const e of t){if(null==r)return;r=Array.isArray(r)&&"string"==typeof e?r[parseInt(e)]:r[e]}return r}static notNullGuard(e){return null!=e}static expandKey(e,n){const t=e.split(".");if(0===t.length)return n;const r=Q(t[0]);let o=r;for(let e=1;e<t.length;e++){const n=Q(t[e]);o.obj[o.key]=n.obj,o=n}return o.obj[o.key]=n,r.obj}static someValuesTrue(e){return Object.getOwnPropertySymbols(e).some(n=>e[n])}}function Q(e){const n=parseInt(e);return isNaN(n)?{obj:{},key:e}:{obj:[],key:n}}class Y{static randomId(){return Math.random().toString(36).substring(2)}static trueFalse(){return Math.random()<.5}}class J{static repeatLatestWhen(r){return o=>e([o,r.pipe(n(null))]).pipe(t(([e])=>e))}static completeIfNull(e){return e.pipe(r(e=>null==e?o:i(e)))}static makeObservable(e){return e instanceof a?e:i(e)}}
|
|
2
|
+
/**
|
|
3
|
+
* @license Angular v20.0.0
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/function X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e,n,t){return K=oe()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&te(o,t.prototype),o},K.apply(null,arguments)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}function ne(e,n){return!n||"object"!=((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"function"!=typeof n?X(e):n;var t}function te(e,n){return te=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},te(e,n)}function re(e){var n="function"==typeof Map?new Map:void 0;return re=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return K(e,arguments,ee(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),te(r,e)},re(e)}function oe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ie=void 0;function ae(){return ie}function ue(e){var n=ie;return ie=e,n}var le=Symbol("NotFound"),se=function(){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&te(e,n)}(r,re(Error));var e,n,t=(e=r,n=oe(),function(){var t,r=ee(e);if(n){var o=ee(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return ne(this,t)});function r(e){var n,o,i,a;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),n=t.call(this,e),o=X(n),a="ɵNotFound",(i="name")in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,n}return r}();function ce(e){return e===le||"ɵNotFound"===(null==e?void 0:e.name)}var de=null,fe=Symbol("SIGNAL");function ve(e){var n=de;return de=e,n}function he(){return de}var pe={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};function ge(e){ke(e)&&!e.dirty||(e.dirty||1!==e.lastCleanEpoch)&&(e.producerMustRecompute(e)||be(e)?(e.producerRecomputeValue(e),ye(e)):ye(e))}function ye(e){e.dirty=!1,e.lastCleanEpoch=1}function me(e){return e&&(e.nextProducerIndex=0),ve(e)}function we(e,n){if(ve(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ke(e))for(var t=e.nextProducerIndex;t<e.producerNode.length;t++)De(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function be(e){_e(e);for(var n=0;n<e.producerNode.length;n++){var t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version)return!0;if(ge(t),r!==t.version)return!0}return!1}function Me(e){if(_e(e),ke(e))for(var n=0;n<e.producerNode.length;n++)De(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function De(e,n){if(function(e){var n,t,r,o;null!==(r=(n=e).liveConsumerNode)&&void 0!==r||(n.liveConsumerNode=[]),null!==(o=(t=e).liveConsumerIndexOfThis)&&void 0!==o||(t.liveConsumerIndexOfThis=[])}(e),"undefined"!=typeof ngDevMode&&ngDevMode&&n>=e.liveConsumerNode.length)throw new Error("Assertion error: active consumer index ".concat(n," is out of bounds of ").concat(e.liveConsumerNode.length," consumers)"));if(1===e.liveConsumerNode.length&&function(e){return void 0!==e.producerNode}(e))for(var t=0;t<e.producerNode.length;t++)De(e.producerNode[t],e.producerIndexOfThis[t]);var r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){var o=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];_e(i),i.producerIndexOfThis[o]=n}}function ke(e){var n,t;return e.consumerIsAlwaysLive||(null!==(t=null==e||null===(n=e.liveConsumerNode)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0}function _e(e){var n,t,r,o,i,a;null!==(o=(n=e).producerNode)&&void 0!==o||(n.producerNode=[]),null!==(i=(t=e).producerIndexOfThis)&&void 0!==i||(t.producerIndexOfThis=[]),null!==(a=(r=e).producerLastReadVersion)&&void 0!==a||(r.producerLastReadVersion=[])}
|
|
7
|
+
/**
|
|
8
|
+
* @license Angular v20.0.0
|
|
9
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
10
|
+
* License: MIT
|
|
11
|
+
*/
|
|
12
|
+
function xe(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Ce(e,n,t){return Ce=Be()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&je(o,t.prototype),o},Ce.apply(null,arguments)}function Te(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ee(e,n,t){return n&&Te(e.prototype,n),t&&Te(e,t),e}function Oe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ne(e)}function Ae(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&je(e,n)}function Pe(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function je(e,n){return je=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},je(e,n)}function Re(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(u)throw o}}return i}}(e,n)||Le(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e){return function(e){if(Array.isArray(e))return xe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Le(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Le(e,n){if(e){if("string"==typeof e)return xe(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?xe(e,n):void 0}}function He(e){var n="function"==typeof Map?new Map:void 0;return He=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return Ce(e,arguments,Ne(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),je(r,e)},He(e)}function Be(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ze(e){var n=Be();return function(){var t,r,o,i=Ne(e);if(n){var a=Ne(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return r=this,!(o=t)||"object"!==Fe(o)&&"function"!=typeof o?Ie(r):o}}var Ue="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",We=function(){Ae(n,He(Error));var e=ze(n);function n(t,r){var o;return Se(this,n),Oe(Ie(o=e.call(this,Ze(t,r))),"code",void 0),o.code=t,o}return n}();function Ze(e,n){var t=function(e){return"NG0".concat(Math.abs(e))}(e),r="".concat(t).concat(n?": "+n:"");if(ngDevMode&&e<0){var o=!r.match(/[.,;!?\n]$/)?".":"";r="".concat(r).concat(o," Find more at ").concat("https://angular.dev/errors","/").concat(t)}return r}var qe=globalThis;function $e(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"===("undefined"==typeof ngDevMode?"undefined":Fe(ngDevMode))&&0!==Object.keys(ngDevMode).length||(e={hydratedNodes:0,hydratedComponents:0,dehydratedViewsRemoved:0,dehydratedViewsCleanupRuns:0,componentsSkippedHydration:0,deferBlocksWithIncrementalHydration:0},-1===("undefined"!=typeof location?location.toString():"").indexOf("ngDevMode=false")?("object"!==Fe(qe.ngDevMode)&&(qe.ngDevMode={}),Object.assign(qe.ngDevMode,e)):qe.ngDevMode=!1),"undefined"!=typeof ngDevMode&&!!ngDevMode);var e}function Ge(e){for(var n in e)if(e[n]===Ge)return n;throw Error("undefined"!=typeof ngDevMode&&ngDevMode?"Could not find renamed property on target object.":"")}function Qe(e,n){for(var t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"[".concat(e.map(Ye).join(", "),"]");if(null==e)return""+e;var n=e.overriddenName||e.name;if(n)return"".concat(n);var t=e.toString();if(null==t)return""+t;var r=t.indexOf("\n");return r>=0?t.slice(0,r):t}function Je(e,n){return e?n?"".concat(e," ").concat(n):e:n||""}var Xe=Ge({__forward_ref__:Ge});function Ke(e){return e.__forward_ref__=Ke,e.toString=function(){return Ye(this())},e}function en(e){return nn(e)?e():e}function nn(e){return"function"==typeof e&&e.hasOwnProperty(Xe)&&e.__forward_ref__===Ke}function tn(e,n){"number"!=typeof e&&gn(n,void 0===e?"undefined":Fe(e),"number","===")}function rn(e,n,t){tn(e,"Expected a number"),fn(e,t,"Expected number to be less than or equal to"),hn(e,n,"Expected number to be greater than or equal to")}function on(e,n){"string"!=typeof e&&gn(n,null===e?"null":void 0===e?"undefined":Fe(e),"string","===")}function an(e,n){"function"!=typeof e&&gn(n,null===e?"null":void 0===e?"undefined":Fe(e),"function","===")}function un(e,n,t){e!=n&&gn(t,e,n,"==")}function ln(e,n,t){e==n&&gn(t,e,n,"!=")}function sn(e,n,t){e!==n&&gn(t,e,n,"===")}function cn(e,n,t){e===n&&gn(t,e,n,"!==")}function dn(e,n,t){e<n||gn(t,e,n,"<")}function fn(e,n,t){e<=n||gn(t,e,n,"<=")}function vn(e,n,t){e>n||gn(t,e,n,">")}function hn(e,n,t){e>=n||gn(t,e,n,">=")}function pn(e,n){null==e&&gn(n,e,null,"!=")}function gn(e,n,t,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(t," ").concat(r," ").concat(n," <=Actual]")))}function yn(e){Pe(e,Node)||gn("The provided value must be an instance of a DOM Node but got ".concat(Ye(e)))}function mn(e,n){pn(e,"Array must be defined.");var t=e.length;(n<0||n>=t)&&gn("Index expected to be less than ".concat(t," but got ").concat(n))}function wn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(-1!==t.indexOf(e))return!0;gn("Expected value to be one of ".concat(JSON.stringify(t)," but was ").concat(JSON.stringify(e),"."))}function bn(e){null!==he()&&gn("".concat(e,"() should never be called in a reactive context."))}function Mn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function kn(e){return function(e,n){return e.hasOwnProperty(n)&&e[n]||null}(e,In)}function _n(e){return e&&e.hasOwnProperty(Sn)?e[Sn]:null}var xn,In=Ge({"ɵprov":Ge}),Sn=Ge({"ɵinj":Ge}),Cn=function(){function e(n,t){Se(this,e),Oe(this,"_desc",void 0),Oe(this,"ngMetadataName","InjectionToken"),Oe(this,"ɵprov",void 0),this._desc=n,this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&dn(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=Mn({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return Ee(e,[{key:"multi",get:function(){return this}},{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}();function Tn(){return!ngDevMode&&gn("getInjectorProfilerContext should never be called in production mode"),xn}function En(e){!ngDevMode&&gn("setInjectorProfilerContext should never be called in production mode");var n=xn;return xn=e,n}var On=[];function Nn(e){!ngDevMode&&gn("Injector profiler should never be called in production mode");for(var n=0;n<On.length;n++){(0,On[n])(e)}}function An(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!ngDevMode&&gn("Injector profiler should never be called in production mode"),n="function"==typeof e||Pe(e,Cn)?e:en(e.provide);var r=e;Pe(e,Cn)&&(r=e.ɵprov||e),Nn({type:2,context:Tn(),providerRecord:{token:n,provider:r,isViewProvider:t}})}function Pn(e){!ngDevMode&&gn("Injector profiler should never be called in production mode"),Nn({type:4,context:Tn(),token:e})}function jn(e){!ngDevMode&&gn("Injector profiler should never be called in production mode"),Nn({type:1,context:Tn(),instance:{value:e}})}function Rn(e,n,t){!ngDevMode&&gn("Injector profiler should never be called in production mode"),Nn({type:0,context:Tn(),service:{token:e,value:n,flags:t}})}function Vn(e,n,t){!ngDevMode&&gn("runInInjectorProfilerContext should never be called in production mode");var r=En({injector:e,token:n});try{t()}finally{En(r)}}function Fn(e){return e&&!!e.ɵproviders}var Ln,Hn=Ge({"ɵcmp":Ge}),Bn=Ge({"ɵdir":Ge}),zn=Ge({"ɵpipe":Ge}),Un=Ge({"ɵmod":Ge}),Wn=Ge({"ɵfac":Ge}),Zn=Ge({__NG_ELEMENT_ID__:Ge}),qn=Ge({__NG_ENV_ID__:Ge});function $n(e){return"string"==typeof e?e:null==e?"":String(e)}function Gn(e){return"function"==typeof e?e.name||e.toString():"object"===(void 0===e?"undefined":Fe(e))&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():$n(e)}function Qn(e,n){throw new We(-200,ngDevMode?"Circular dependency in DI detected for ".concat(e).concat(n?". Dependency path: ".concat(n.join(" > ")," > ").concat(e):""):e)}function Yn(){throw new Error("Cannot mix multi providers and regular providers")}function Jn(e,n,t){if(e&&n){var r=n.map(function(e){return e==t?"?"+t+"?":"..."});throw new Error("Invalid provider for the NgModule '".concat(Ye(e),"' - only instances of Provider and Type are allowed, got: [").concat(r.join(", "),"]"))}throw Fn(t)?t.ɵfromNgModule?new We(207,"Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers."):new We(207,"Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers."):new Error("Invalid provider")}function Xn(e,n){var t=ngDevMode&&"No provider for ".concat(Gn(e)," found").concat(n?" in ".concat(n):"");throw new We(-201,t)}function Kn(){return Ln}function et(e){var n=Ln;return Ln=e,n}function nt(e,n,t){var r=kn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&t?null:void 0!==n?n:void Xn(e,"Injector")}var tt={},rt="__NG_DI_FLAG__",ot=function(){function e(n){Se(this,e),Oe(this,"injector",void 0),this.injector=n}return Ee(e,[{key:"retrieve",value:function(e,n){var t=ft(n)||0;try{return this.injector.get(e,8&t?null:tt,t)}catch(e){if(ce(e))return e;throw e}}}]),e}(),it="ngTempTokenPath",at=/\n/gm,ut="__source";function lt(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=ae();if(void 0===t)throw new We(-203,ngDevMode&&"The `".concat(Ye(e),"` token injection failed. `inject()` function must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`."));if(null===t)return nt(e,void 0,n);var r=function(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(n),o=t.retrieve(e,r);if(ngDevMode&&Rn(e,o,n),ce(o)){if(r.optional)return null;throw o}return o}function st(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(Kn()||lt)(en(e),n)}function ct(e){throw new We(202,ngDevMode&&"This constructor is not compatible with Angular Dependency Injection because its dependency at index ".concat(e," of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ").concat(e," is correct and 2) the correct Angular decorators are defined for this class and its ancestors."))}function dt(e,n){return st(e,ft(n))}function ft(e){return void 0===e||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vt(e){for(var n=[],t=0;t<e.length;t++){var r=en(e[t]);if(Array.isArray(r)){if(0===r.length)throw new We(900,ngDevMode&&"Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var u=r[a],l=pt(u);"number"==typeof l?-1===l?o=u.token:i|=l:o=u}n.push(st(o,i))}else n.push(st(r))}return n}function ht(e,n){return e[rt]=n,e.prototype[rt]=n,e}function pt(e){return e[rt]}function gt(e,n,t,r){var o=e[it];throw n[ut]&&o.unshift(n[ut]),e.message=function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;var o=Ye(n);if(Array.isArray(n))o=n.map(Ye).join(" -> ");else if("object"===(void 0===n?"undefined":Fe(n))){var i=[];for(var a in n)if(n.hasOwnProperty(a)){var u=n[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):Ye(u)))}o="{".concat(i.join(", "),"}")}return"".concat(t).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(at,"\n "))}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[it]=null,e}function yt(e,n){var t=e.hasOwnProperty(Wn);if(!t&&!0===n&&ngDevMode)throw new Error("Type ".concat(Ye(e)," does not have 'ɵfac' property."));return t?e[Wn]:null}function mt(e){return e.flat(Number.POSITIVE_INFINITY)}function wt(e,n){e.forEach(function(e){return Array.isArray(e)?wt(e,n):n(e)})}function bt(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Mt(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Dt(e,n){for(var t=[],r=0;r<e;r++)t.push(n);return t}function kt(e,n,t){for(var r=e.length-t;n<r;)e[n]=e[n+t],n++;for(;t--;)e.pop()}function _t(e,n,t,r){ngDevMode&&fn(n,e.length,"Can't insert past array end.");var o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){var i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function xt(e,n,t){var r=St(e,n);return r>=0?e[1|r]=t:_t(e,r=~r,n,t),r}function It(e,n){var t=St(e,n);if(t>=0)return e[1|t]}function St(e,n){return function(e,n,t){ngDevMode&&un(Array.isArray(e),!0,"Expecting an array");var r=0,o=e.length>>t;for(;o!==r;){var i=r+(o-r>>1),a=e[i<<t];if(n===a)return i<<t;a>n?o=i:r=i+1}return~(o<<t)}(e,n,1)}var Ct={},Tt=[];("undefined"==typeof ngDevMode||ngDevMode)&&$e()&&(Object.freeze(Ct),Object.freeze(Tt));var Et=new Cn(ngDevMode?"ENVIRONMENT_INITIALIZER":""),Ot=new Cn(ngDevMode?"INJECTOR":"",-1),Nt=new Cn(ngDevMode?"INJECTOR_DEF_TYPES":""),At=function(){function e(){Se(this,e)}return Ee(e,[{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt;if(n===tt)throw new se("NullInjectorError: No provider for ".concat(Ye(e),"!"));return n}}]),e}();function Pt(e){return e[Un]||null}function jt(e){var n=Pt(e);if(!n)throw new We(915,("undefined"==typeof ngDevMode||ngDevMode)&&"Type ".concat(Ye(e)," does not have 'ɵmod' property."));return n}function Rt(e){return e[Hn]||null}function Vt(e){var n=Ft(e);if(!n)throw new We(916,("undefined"==typeof ngDevMode||ngDevMode)&&"Type ".concat(Ye(e)," does not have 'ɵdir' property."));return n}function Ft(e){return e[Bn]||null}function Lt(e){return e[zn]||null}function Ht(e){var n=Rt(e)||Ft(e)||Lt(e);return null!==n&&n.standalone}function Bt(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return{"ɵproviders":zt(!0,n),"ɵfromNgModule":!0}}function zt(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o,i=[],a=new Set,u=function(e){i.push(e)};return wt(t,function(n){if(("undefined"==typeof ngDevMode||ngDevMode)&&e){var t=Rt(n);if(null==t?void 0:t.standalone)throw new We(800,'Importing providers supports NgModule or ModuleWithProviders but got a standalone component "'.concat(Gn(n),'"'))}var r=n;Wt(r,u,[],a)&&(o||(o=[]),o.push(r))}),void 0!==o&&Ut(o,u),i}function Ut(e,n){for(var t=function(t){var r=e[t],o=r.ngModule,i=r.providers;qt(i,function(e){ngDevMode&&Zt(e,i||Tt,o),n(e,o)})},r=0;r<e.length;r++)t(r)}function Wt(e,n,t,r){if(!(e=en(e)))return!1;var o=null,i=_n(e),a=!i&&Rt(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{var u=e.ngModule;if(!(i=_n(u)))return!1;o=u}ngDevMode&&-1!==t.indexOf(o)&&Qn(Ye(o),t.map(Ye));var l=r.has(o);if(a){if(l)return!1;if(r.add(o),a.dependencies){var s="function"==typeof a.dependencies?a.dependencies():a.dependencies,c=!0,d=!1,f=void 0;try{for(var v,h=s[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){Wt(v.value,n,t,r)}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}}else{if(!i)return!1;if(null!=i.imports&&!l){var p;ngDevMode&&t.push(o),r.add(o);try{wt(i.imports,function(e){Wt(e,n,t,r)&&(p||(p=[]),p.push(e))})}finally{ngDevMode&&t.pop()}void 0!==p&&Ut(p,n)}if(!l){var g=yt(o)||function(){return new o};n({provide:o,useFactory:g,deps:Tt},o),n({provide:Nt,useValue:o,multi:!0},o),n({provide:Et,useValue:function(){return st(o)},multi:!0},o)}var y=i.providers;if(null!=y&&!l){var m=e;qt(y,function(e){ngDevMode&&Zt(e,y,m),n(e,m)})}}return o!==e&&void 0!==e.providers}function Zt(e,n,t){Jt(e)||Gt(e)||Yt(e)||Qt(e)||(en(e&&(e.useClass||e.provide))||Jn(t,n,e))}function qt(e,n){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;Fn(u)&&(u=u.ɵproviders),Array.isArray(u)?qt(u,n):n(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}var $t=Ge({provide:String,useValue:Ge});function Gt(e){return null!==e&&"object"==(void 0===e?"undefined":Fe(e))&&$t in e}function Qt(e){return!(!e||!e.useExisting)}function Yt(e){return!(!e||!e.useFactory)}function Jt(e){return"function"==typeof e}var Xt=new Cn(ngDevMode?"Set Injector scope.":""),Kt={},er={},nr=void 0;function tr(){return void 0===nr&&(nr=new At),nr}var rr=function e(){Se(this,e)},or=function(){Ae(n,rr);var e=ze(n);function n(t,r,o,i){var a;Se(this,n),Oe(Ie(a=e.call(this)),"parent",void 0),Oe(Ie(a),"source",void 0),Oe(Ie(a),"scopes",void 0),Oe(Ie(a),"records",new Map),Oe(Ie(a),"_ngOnDestroyHooks",new Set),Oe(Ie(a),"_onDestroyHooks",[]),Oe(Ie(a),"_destroyed",!1),Oe(Ie(a),"injectorDefTypes",void 0),a.parent=r,a.source=o,a.scopes=i,sr(t,function(e){return a.processProvider(e)}),a.records.set(Ot,lr(void 0,Ie(a))),i.has("environment")&&a.records.set(rr,lr(void 0,Ie(a)));var u=a.records.get(Xt);return null!=u&&"string"==typeof u.value&&a.scopes.add(u.value),a.injectorDefTypes=new Set(a.get(Nt,Tt,{self:!0})),a}return Ee(n,[{key:"destroyed",get:function(){return this._destroyed}},{key:"retrieve",value:function(e,n){var t=ft(n)||0;try{return this.get(e,tt,t)}catch(e){if(ce(e))return e;throw e}}},{key:"destroy",value:function(){ur(this),this._destroyed=!0;var e=ve(null);try{var n=!0,t=!1,r=void 0;try{for(var o,i=this._ngOnDestroyHooks[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){o.value.ngOnDestroy()}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}var a=this._onDestroyHooks;this._onDestroyHooks=[];var u=!0,l=!1,s=void 0;try{for(var c,d=a[Symbol.iterator]();!(u=(c=d.next()).done);u=!0){(0,c.value)()}}catch(e){l=!0,s=e}finally{try{u||null==d.return||d.return()}finally{if(l)throw s}}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ve(e)}}},{key:"onDestroy",value:function(e){var n=this;return ur(this),this._onDestroyHooks.push(e),function(){return n.removeOnDestroy(e)}}},{key:"runInContext",value:function(e){ur(this);var n,t=ue(this),r=et(void 0);ngDevMode&&(n=En({injector:this,token:null}));try{return e()}finally{ue(t),et(r),ngDevMode&&En(n)}}},{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,t=arguments.length>2?arguments[2]:void 0;if(ur(this),e.hasOwnProperty(qn))return e[qn](this);var r,o=ft(t);ngDevMode&&(r=En({injector:this,token:e}));var i,a=ue(this),u=et(void 0);try{if(!(4&o)){var l=this.records.get(e);if(void 0===l){var s=("function"==typeof(i=e)||"object"===(void 0===i?"undefined":Fe(i))&&"InjectionToken"===i.ngMetadataName)&&kn(e);s&&this.injectableDefInScope(s)?(ngDevMode&&Vn(this,e,function(){An(e)}),l=lr(ir(e),Kt)):l=null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}var c=2&o?tr():this.parent;return n=8&o&&n===tt?null:n,c.get(e,n)}catch(n){if(ce(n)){if((n[it]=n[it]||[]).unshift(Ye(e)),a)throw n;return gt(n,e,"R3InjectorError",this.source)}throw n}finally{et(u),ue(a),ngDevMode&&En(r)}}},{key:"resolveInjectorInitializers",value:function(){var e,n=ve(null),t=ue(this),r=et(void 0);ngDevMode&&(e=En({injector:this,token:null}));try{var o=this.get(Et,Tt,{self:!0});if(ngDevMode&&!Array.isArray(o))throw new We(-209,"Unexpected type of the `ENVIRONMENT_INITIALIZER` token value "+"(expected an array, but got ".concat(void 0===o?"undefined":Fe(o),"). ")+"Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a `multi: true` provider.");var i=!0,a=!1,u=void 0;try{for(var l,s=o[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){(0,l.value)()}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}}finally{ue(t),et(r),ngDevMode&&En(e),ve(n)}}},{key:"toString",value:function(){var e=[],n=this.records,t=!0,r=!1,o=void 0;try{for(var i,a=n.keys()[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;e.push(Ye(u))}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}return"R3Injector[".concat(e.join(", "),"]")}},{key:"processProvider",value:function(e){var n=Jt(e=en(e))?e:en(e&&e.provide),t=function(e){return Gt(e)?lr(void 0,e.useValue):lr(ar(e),Kt)}(e);if(ngDevMode&&Vn(this,n,function(){Gt(e)&&(Pn(n),jn(e.useValue)),An(e)}),Jt(e)||!0!==e.multi){if(ngDevMode){var r=this.records.get(n);r&&void 0!==r.multi&&Yn()}}else{var o=this.records.get(n);o?ngDevMode&&void 0===o.multi&&Yn():((o=lr(void 0,Kt,!0)).factory=function(){return vt(o.multi)},this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,t)}},{key:"hydrate",value:function(e,n){var t,r=ve(null);try{return n.value===er?Qn(Ye(e)):n.value===Kt&&(n.value=er,ngDevMode?Vn(this,e,function(){Pn(e),n.value=n.factory(),jn(n.value)}):n.value=n.factory()),"object"===Fe(n.value)&&n.value&&(null!==(t=n.value)&&"object"===(void 0===t?"undefined":Fe(t))&&"function"==typeof t.ngOnDestroy)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ve(r)}}},{key:"injectableDefInScope",value:function(e){if(!e.providedIn)return!1;var n=en(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}},{key:"removeOnDestroy",value:function(e){var n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}]),n}();function ir(e){var n=kn(e),t=null!==n?n.factory:yt(e);if(null!==t)return t;if(Pe(e,Cn))throw new We(204,ngDevMode&&"Token ".concat(Ye(e)," is missing a ɵprov definition."));if(Pe(e,Function))return function(e){var n=e.length;if(n>0)throw new We(204,ngDevMode&&"Can't resolve all parameters for ".concat(Ye(e),": (").concat(Dt(n,"?").join(", "),")."));var t=(r=e,i=null!==(o=null==r?void 0:r[In])&&void 0!==o?o:null,i?(ngDevMode&&console.warn('DEPRECATED: DI is instantiating a token "'.concat(r.name,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(r.name,'" class.')),i):null);var r,o,i;return null!==t?function(){return t.factory(e)}:function(){return new e}}(e);throw new We(204,ngDevMode&&"unreachable")}function ar(e,n,t){var r=void 0;if(ngDevMode&&Fn(e)&&Jn(void 0,t,e),Jt(e)){var o=en(e);return yt(o)||ir(o)}if(Gt(e))r=function(){return en(e.useValue)};else if(Yt(e)){var i;r=function(){return(i=e).useFactory.apply(i,Ve(vt(e.deps||[])))}}else if(Qt(e))r=function(){return st(en(e.useExisting))};else{var a=en(e&&(e.useClass||e.provide));if(ngDevMode&&!a&&Jn(n,t,e),!e.deps)return yt(a)||ir(a);r=function(){return Ce(a,Ve(vt(e.deps)))}}return r}function ur(e){if(e.destroyed)throw new We(205,ngDevMode&&"Injector has already been destroyed.")}function lr(e,n){return{factory:e,value:n,multi:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?[]:void 0}}function sr(e,n){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;Array.isArray(u)?sr(u,n):u&&Fn(u)?sr(u.ɵproviders,n):n(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}function cr(e,n){var t,r;Pe(e,or)?(ur(e),t=e):t=new ot(e),ngDevMode&&(r=En({injector:e,token:null}));var o=ue(t),i=et(void 0);try{return n()}finally{ue(o),ngDevMode&&En(r),et(i)}}function dr(){return void 0!==Kn()||null!=ae()}function fr(e){if(!dr())throw new We(-203,ngDevMode&&e.name+"() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`")}var vr=18,hr=19,pr=23,gr=25,yr=26,mr=10;function wr(e){return Array.isArray(e)&&"object"===Fe(e[1])}function br(e){return Array.isArray(e)&&!0===e[1]}function Mr(e){return!!(4&e.flags)}function Dr(e){return e.componentOffset>-1}function kr(e){return!(1&~e.flags)}function _r(e){return!!e.template}function xr(e){return!!(512&e[2])}function Ir(e){return!(256&~e[2])}function Sr(e,n){Cr(e,n[1])}function Cr(e,n){Tr(e);for(var t=n.data,r=yr;r<t.length;r++)if(t[r]===e)return;gn("This TNode does not belong to this TView.")}function Tr(e){pn(e,"TNode must be defined"),e&&"object"===(void 0===e?"undefined":Fe(e))&&e.hasOwnProperty("directiveStylingLast")||gn("Not of type TNode, got: "+e)}function Er(e){pn(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&gn("Object is not of TIcu type.")}function Or(e){pn(e,"currentTNode should exist!"),pn(e.parent,"currentTNode should have a parent")}function Nr(e){pn(e,"LContainer must be defined"),un(br(e),!0,"Expecting LContainer")}function Ar(e){e&&un(wr(e),!0,"Expecting LView or undefined or null")}function Pr(e){pn(e,"LView must be defined"),un(wr(e),!0,"Expecting LView")}function jr(e,n){un(e.firstCreatePass,!0,n||"Should only be called in first create pass.")}function Rr(e,n){un(e.firstUpdatePass,!0,"Should only be called in first update pass.")}function Vr(e,n){Lr(yr,e.bindingStartIndex,n)}function Fr(e,n){Lr(e[1].expandoStartIndex,e.length,n)}function Lr(e,n,t){e<=t&&t<n||gn("Index out of range (expecting ".concat(e," <= ").concat(t," < ").concat(n,")"))}function Hr(e,n){pn(e,"Component views should always have a parent view (component's host view)")}function Br(e,n){Fr(e,n),Fr(e,n+8),tn(e[n+0],"injectorIndex should point to a bloom filter"),tn(e[n+1],"injectorIndex should point to a bloom filter"),tn(e[n+2],"injectorIndex should point to a bloom filter"),tn(e[n+3],"injectorIndex should point to a bloom filter"),tn(e[n+4],"injectorIndex should point to a bloom filter"),tn(e[n+5],"injectorIndex should point to a bloom filter"),tn(e[n+6],"injectorIndex should point to a bloom filter"),tn(e[n+7],"injectorIndex should point to a bloom filter"),tn(e[n+8],"injectorIndex should point to parent injector")}var zr="math";function Ur(e){for(;Array.isArray(e);)e=e[0];return e}function Wr(e,n){return ngDevMode&&mn(n,e),ngDevMode&&hn(e,yr,"Expected to be past HEADER_OFFSET"),Ur(n[e])}function Zr(e,n){return ngDevMode&&Sr(e,n),ngDevMode&&mn(n,e.index),Ur(n[e.index])}function qr(e,n){ngDevMode&&vn(n,-1,"wrong index for TNode"),ngDevMode&&dn(n,e.data.length,"wrong index for TNode");var t=e.data[n];return ngDevMode&&null!==t&&Tr(t),t}function $r(e,n){return ngDevMode&&mn(e,n),e[n]}function Gr(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Qr(e,n){ngDevMode&&mn(n,e);var t=n[e];return wr(t)?t:t[0]}function Yr(e){return!(4&~e[2])}function Jr(e){return!(128&~e[2])}function Xr(e,n){return null==n?null:(ngDevMode&&mn(e,n),e[n])}function Kr(e){e[17]=0}function eo(e){1024&e[2]||(e[2]|=1024,Jr(e)&&oo(e))}function no(e,n){for(;e>0;)ngDevMode&&pn(n[14],"Declaration view should be defined if nesting level is greater than 0."),n=n[14],e--;return n}function to(e){var n;return!!(9216&e[2]||(null===(n=e[24])||void 0===n?void 0:n.dirty))}function ro(e){var n;null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(8),64&e[2]&&(e[2]|=1024),to(e)&&oo(e)}function oo(e){var n;null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(0);for(var t=uo(e);null!==t&&!(8192&t[2])&&(t[2]|=8192,Jr(t));)t=uo(t)}function io(e,n){if(Ir(e))throw new We(911,ngDevMode&&"View has already been destroyed.");null===e[21]&&(e[21]=[]),e[21].push(n)}function ao(e,n){if(null!==e[21]){var t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}}function uo(e){ngDevMode&&Pr(e);var n=e[3];return br(n)?n[3]:n}function lo(e){var n,t;return null!==(t=(n=e)[7])&&void 0!==t?t:n[7]=[]}function so(e){var n,t;return null!==(t=(n=e).cleanup)&&void 0!==t?t:n.cleanup=[]}var co,fo={lFrame:Yo(null),bindingsEnabled:!0,skipHydrationRootTNode:null};!function(e){e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews"}(co||(co={}));var vo=0,ho=!1;function po(){return fo.bindingsEnabled}function go(){return null!==fo.skipHydrationRootTNode}function yo(){fo.bindingsEnabled=!0}function mo(){fo.bindingsEnabled=!1}function wo(){return fo.lFrame.lView}function bo(){return fo.lFrame.tView}function Mo(e){return fo.lFrame.contextLView=e,e[8]}function Do(e){return fo.lFrame.contextLView=null,e}function ko(){for(var e=_o();null!==e&&64===e.type;)e=e.parent;return e}function _o(){return fo.lFrame.currentTNode}function xo(){var e=fo.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Io(e,n){ngDevMode&&e&&Cr(e,fo.lFrame.tView);var t=fo.lFrame;t.currentTNode=e,t.isParent=n}function So(){return fo.lFrame.isParent}function Co(){fo.lFrame.isParent=!1}function To(){var e=fo.lFrame.contextLView;return ngDevMode&&pn(e,"contextLView must be defined."),e}function Eo(){return!ngDevMode&&gn("Must never be called in production mode"),vo!==co.Off}function Oo(){return!ngDevMode&&gn("Must never be called in production mode"),vo===co.Exhaustive}function No(e){!ngDevMode&&gn("Must never be called in production mode"),vo=e}function Ao(){return ho}function Po(e){var n=ho;return ho=e,n}function jo(){var e=fo.lFrame,n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ro(){return fo.lFrame.bindingIndex}function Vo(e){return fo.lFrame.bindingIndex=e}function Fo(){return fo.lFrame.bindingIndex++}function Lo(e){var n=fo.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ho(e){fo.lFrame.inI18n=e}function Bo(e,n){var t=fo.lFrame;t.bindingIndex=t.bindingRootIndex=e,zo(n)}function zo(e){fo.lFrame.currentDirectiveIndex=e}function Uo(e){var n=fo.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Wo(){return fo.lFrame.currentQueryIndex}function Zo(e){fo.lFrame.currentQueryIndex=e}function qo(e){var n=e[1];return 2===n.type?(ngDevMode&&pn(n.declTNode,"Embedded TNodes should have declaration parents."),n.declTNode):1===n.type?e[5]:null}function $o(e,n,t){if(ngDevMode&&Ar(e),4&t){ngDevMode&&Cr(n,e[1]);for(var r=n,o=e;!(ngDevMode&&pn(r,"Parent TNode should be defined"),null!==(r=r.parent)||1&t||null===(r=qo(o))||(ngDevMode&&pn(o,"Parent LView should be defined"),o=o[14],10&r.type)););if(null===r)return!1;n=r,e=o}ngDevMode&&Sr(n,e);var i=fo.lFrame=Qo();return i.currentTNode=n,i.lView=e,!0}function Go(e){ngDevMode&&ln(e[0],e[1],"????"),ngDevMode&&Ar(e);var n=Qo();ngDevMode&&(un(n.isParent,!0,"Expected clean LFrame"),un(n.lView,null,"Expected clean LFrame"),un(n.tView,null,"Expected clean LFrame"),un(n.selectedIndex,-1,"Expected clean LFrame"),un(n.elementDepthCount,0,"Expected clean LFrame"),un(n.currentDirectiveIndex,-1,"Expected clean LFrame"),un(n.currentNamespace,null,"Expected clean LFrame"),un(n.bindingRootIndex,-1,"Expected clean LFrame"),un(n.currentQueryIndex,0,"Expected clean LFrame"));var t=e[1];fo.lFrame=n,ngDevMode&&t.firstChild&&Cr(t.firstChild,t),n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Qo(){var e=fo.lFrame,n=null===e?null:e.child;return null===n?Yo(e):n}function Yo(e){var 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 Jo(){var e=fo.lFrame;return fo.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xo=Jo;function Ko(){var e=Jo();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ei(){return fo.lFrame.selectedIndex}function ni(e){ngDevMode&&-1!==e&&hn(e,yr,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&dn(e,fo.lFrame.lView.length,"Can't set index passed end of LView"),fo.lFrame.selectedIndex=e}function ti(){var e=fo.lFrame;return qr(e.tView,e.selectedIndex)}function ri(){fo.lFrame.currentNamespace="svg"}function oi(){fo.lFrame.currentNamespace=zr}function ii(){fo.lFrame.currentNamespace=null}var ai=!0;function ui(){return ai}function li(e){ai=e}function si(e){var n=ci(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return n.resolveInjectorInitializers(),n}function ci(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Set,i=[t||Tt,Bt(e)];return r=r||("object"===(void 0===e?"undefined":Fe(e))?void 0:Ye(e)),new or(i,n||tr(),r||null,o)}var di=function(){function e(){Se(this,e)}return Ee(e,null,[{key:"create",value:function(e,n){if(Array.isArray(e))return si({name:""},n,e,"");var t,r=null!==(t=e.name)&&void 0!==t?t:"";return si({name:r},e.parent,e.providers,r)}}]),e}();Oe(di,"THROW_IF_NOT_FOUND",tt),Oe(di,"NULL",new At),Oe(di,"ɵprov",Mn({token:di,providedIn:"any",factory:function(){return st(Ot)}})),Oe(di,"__NG_ELEMENT_ID__",-1);var fi=new Cn(ngDevMode?"DocumentToken":""),vi=function e(){Se(this,e)};Oe(vi,"__NG_ELEMENT_ID__",function(){return new hi(wo())}),Oe(vi,"__NG_ENV_ID__",function(e){return e});var hi=function(e){Ae(t,e);var n=ze(t);function t(e){var r;return Se(this,t),Oe(Ie(r=n.call(this)),"_lView",void 0),r._lView=e,r}return Ee(t,[{key:"onDestroy",value:function(e){var n=this._lView;return io(n,e),function(){return ao(n,e)}}}]),t}(vi);var pi=function(){function e(){Se(this,e),Oe(this,"_console",console)}return Ee(e,[{key:"handleError",value:function(e){this._console.error("ERROR",e)}}]),e}(),gi=new Cn("undefined"==typeof ngDevMode||ngDevMode?"internal error handler":"",{providedIn:"root",factory:function(){var e,n=dt(rr);return function(t){null!=e||(e=n.get(pi)),e.handleError(t)}}}),yi={provide:Et,useValue:function(){dt(pi)},multi:!0};function mi(e){return"function"==typeof e&&void 0!==e[fe]}function wi(e){return mi(e)&&"function"==typeof e.set}new Cn(ngDevMode?"GlobalErrorListeners":"",{providedIn:"root",factory:function(){if("undefined"==typeof ngServerMode||!ngServerMode){var e=dt(fi).defaultView;if(e){var n=dt(gi),t=function(e){n(e.reason),e.preventDefault()},r=function(e){n(e.error),e.preventDefault()},o=function(){e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};"undefined"!=typeof Zone?Zone.root.run(o):o(),dt(vi).onDestroy(function(){e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}}}});var bi=function e(){Se(this,e)},Mi=new Cn("undefined"==typeof ngDevMode||ngDevMode?"Zoneless enabled":"",{providedIn:"root",factory:function(){return!1}}),Di=new Cn("undefined"==typeof ngDevMode||ngDevMode?"Zoneless provided":"",{providedIn:"root",factory:function(){return!1}}),ki=new Cn("undefined"==typeof ngDevMode||ngDevMode?"scheduler disabled":""),_i=new Cn("undefined"==typeof ngDevMode||ngDevMode?"run changes outside zone in root":"");function xi(e,n){if(null!==he())throw new We(-602,ngDevMode&&"".concat(e.name,"() cannot be called from within a reactive context.").concat(n?" ".concat(n):""))}var Ii=function e(n,t){Se(this,e),Oe(this,"view",void 0),Oe(this,"node",void 0),this.view=n,this.node=t};Oe(Ii,"__NG_ELEMENT_ID__",function(){return new Ii(wo(),ko())});var Si=function(){function e(){Se(this,e),Oe(this,"taskId",0),Oe(this,"pendingTasks",new Set),Oe(this,"destroyed",!1),Oe(this,"pendingTask",new u(!1))}return Ee(e,[{key:"hasPendingTasks",get:function(){return!this.destroyed&&this.pendingTask.value}},{key:"hasPendingTasksObservable",get:function(){return this.destroyed?new a(function(e){e.next(!1),e.complete()}):this.pendingTask}},{key:"add",value:function(){this.hasPendingTasks||this.destroyed||this.pendingTask.next(!0);var e=this.taskId++;return this.pendingTasks.add(e),e}},{key:"has",value:function(e){return this.pendingTasks.has(e)}},{key:"remove",value:function(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}},{key:"ngOnDestroy",value:function(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}}]),e}();Oe(Si,"ɵprov",Mn({token:Si,providedIn:"root",factory:function(){return new Si}}));var Ci=function(){function e(){Se(this,e),Oe(this,"internalPendingTasks",dt(Si)),Oe(this,"scheduler",dt(bi)),Oe(this,"errorHandler",dt(gi))}return Ee(e,[{key:"add",value:function(){var e=this,n=this.internalPendingTasks.add();return function(){e.internalPendingTasks.has(n)&&(e.scheduler.notify(11),e.internalPendingTasks.remove(n))}}},{key:"run",value:function(e){var n=this.add();e().catch(this.errorHandler).finally(n)}}]),e}();function Ti(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t]}Oe(Ci,"ɵprov",Mn({token:Ci,providedIn:"root",factory:function(){return new Ci}}));var Ei=function e(){Se(this,e)};Oe(Ei,"ɵprov",Mn({token:Ei,providedIn:"root",factory:function(){return new Ni}}));var Oi,Ni=function(){function e(){Se(this,e),Oe(this,"dirtyEffectCount",0),Oe(this,"queues",new Map)}return Ee(e,[{key:"add",value:function(e){this.enqueue(e),this.schedule(e)}},{key:"schedule",value:function(e){e.dirty&&this.dirtyEffectCount++}},{key:"remove",value:function(e){var n=e.zone,t=this.queues.get(n);t.has(e)&&(t.delete(e),e.dirty&&this.dirtyEffectCount--)}},{key:"enqueue",value:function(e){var n=e.zone;this.queues.has(n)||this.queues.set(n,new Set);var t=this.queues.get(n);t.has(e)||t.add(e)}},{key:"flush",value:function(){for(var e,n=function(){var n=!1,r=!0,o=!1,i=void 0;try{for(var a,u,l=function(){var e=Re(u.value,2),r=e[0],o=e[1];null===r?n||(n=a.flushQueue(o)):n||(n=r.run(function(){return t.flushQueue(o)}))},s=e.queues[Symbol.iterator]();!(r=(u=s.next()).done);r=!0)a=e,l()}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}n||(e.dirtyEffectCount=0)},t=this;this.dirtyEffectCount>0;)e=this,n()}},{key:"flushQueue",value:function(e){var n=!1,t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;u.dirty&&(this.dirtyEffectCount--,n=!0,u.run())}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}return n}}]),e}(),Ai="jsaction";
|
|
13
|
+
/**
|
|
14
|
+
* @license Angular v20.0.0
|
|
15
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
16
|
+
* License: MIT
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @license Angular v20.0.0
|
|
20
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
21
|
+
* License: MIT
|
|
22
|
+
*/
|
|
23
|
+
function Pi(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function ji(e){if(Array.isArray(e))return e}function Ri(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vi(e,n,t,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void t(e)}u.done?n(l):Promise.resolve(l).then(r,o)}function Fi(e){return function(){var n=this,t=arguments;return new Promise(function(r,o){var i=e.apply(n,t);function a(e){Vi(i,r,o,a,u,"next",e)}function u(e){Vi(i,r,o,a,u,"throw",e)}a(void 0)})}}function Li(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Hi(e,n,t){return Hi=ra()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&Xi(o,t.prototype),o},Hi.apply(null,arguments)}function Bi(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zi(e,n,t){return n&&Bi(e.prototype,n),t&&Bi(e,t),e}function Ui(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Wi(e,n,t){return Wi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,n,t){var r=function(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=Zi(e)););return e}(e,n);if(r){var o=Object.getOwnPropertyDescriptor(r,n);return o.get?o.get.call(t||e):o.value}},Wi(e,n,t||e)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zi(e)}function qi(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Xi(e,n)}function $i(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function Gi(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Qi(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yi(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){Ui(e,n,t[n])})}return e}function Ji(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function Xi(e,n){return Xi=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},Xi(e,n)}function Ki(e,n){return ji(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(u)throw o}}return i}}(e,n)||ta(e,n)||Qi()}function ea(e){return function(e){if(Array.isArray(e))return Pi(e)}(e)||Gi(e)||ta(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function na(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ta(e,n){if(e){if("string"==typeof e)return Pi(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pi(e,n):void 0}}function ra(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oa(e){var n=ra();return function(){var t,r,o,i=Zi(e);if(n){var a=Zi(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return r=this,!(o=t)||"object"!==na(o)&&"function"!=typeof o?Ri(r):o}}function ia(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function aa(e){return{toString:e}.toString()}var ua="__annotations__",la="__parameters__",sa="__prop__metadata__";function ca(e,n,t,r,o){return aa(function(){var r=da(n);function i(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var a;if($i(this,i))return(a=r).call.apply(a,[this].concat(ea(n))),this;var u=Hi(i,ea(n));return function(e){return o&&o.apply(void 0,[e].concat(ea(n))),(e.hasOwnProperty(ua)?e[ua]:Object.defineProperty(e,ua,{value:[]})[ua]).push(u),e}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function da(e){return function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];if(e){var o=e.apply(void 0,ea(t));for(var i in o)this[i]=o[i]}}}function fa(e,n,t){return aa(function(){var t=da(n);function r(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if($i(this,r))return t.apply(this,n),this;var i=Hi(r,ea(n));return a.annotation=i,a;function a(e,n,t){for(var r=e.hasOwnProperty(la)?e[la]:Object.defineProperty(e,la,{value:[]})[la];r.length<=t;)r.push(null);return(r[t]=r[t]||[]).push(i),e}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function va(e,n,t,r){return aa(function(){var r=da(n);function o(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];if($i(this,o))return r.apply(this,n),this;var i=Hi(o,ea(n));return function(e,n){if(void 0===e)throw new Error("Standard Angular field decorators are not supported in JIT mode.");var t=e.constructor,r=t.hasOwnProperty(sa)?t[sa]:Object.defineProperty(t,sa,{value:{}})[sa];r[n]=r.hasOwnProperty(n)&&r[n]||[],r[n].unshift(i)}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ha=ht(fa("Inject",function(e){return{token:e}}),-1),pa=ht(fa("Optional"),8),ga=ht(fa("Self"),2),ya=ht(fa("SkipSelf"),4),ma=ht(fa("Host"),1);function wa(e){var n=qe.ng;if(n&&n.ɵcompilerFacade)return n.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error("JIT compilation failed for ".concat(e.kind),e.type);var t="The ".concat(e.kind," '").concat(e.type.name,"' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n");throw 1===e.usage?(t+="The ".concat(e.kind," is part of a library that has been partially compiled.\n"),t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}var ba={"ɵɵdefineInjectable":Mn,"ɵɵdefineInjector":Dn,"ɵɵinject":st,"ɵɵinvalidFactoryDep":ct,resolveForwardRef:en},Ma=Function;function Da(e){return"function"==typeof e}var ka=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,_a=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,xa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ia=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;var Sa=function(){function e(n){Li(this,e),Ui(this,"_reflect",void 0),this._reflect=n||qe.Reflect}return zi(e,[{key:"factory",value:function(e){return function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return Hi(e,ea(t))}}},{key:"_zipTypesAndAnnotations",value:function(e,n){var t;t=Dt(void 0===e?n.length:e.length);for(var r=0;r<t.length;r++)void 0===e?t[r]=[]:e[r]&&e[r]!=Object?t[r]=[e[r]]:t[r]=[],n&&null!=n[r]&&(t[r]=t[r].concat(n[r]));return t}},{key:"_ownParameters",value:function(e,n){if(function(e){return ka.test(e)||Ia.test(e)||_a.test(e)&&!xa.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==n.parameters)return e.parameters;var t=e.ctorParameters;if(t&&t!==n.ctorParameters){var r="function"==typeof t?t():t,o=r.map(function(e){return e&&e.type}),i=r.map(function(e){return e&&Ca(e.decorators)});return this._zipTypesAndAnnotations(o,i)}var a=e.hasOwnProperty(la)&&e[la],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||a?this._zipTypesAndAnnotations(u,a):Dt(e.length)}},{key:"parameters",value:function(e){if(!Da(e))return[];var n=Ta(e),t=this._ownParameters(e,n);return t||n===Object||(t=this.parameters(n)),t||[]}},{key:"_ownAnnotations",value:function(e,n){if(e.annotations&&e.annotations!==n.annotations){var t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==n.decorators?Ca(e.decorators):e.hasOwnProperty(ua)?e[ua]:null}},{key:"annotations",value:function(e){if(!Da(e))return[];var n=Ta(e),t=this._ownAnnotations(e,n)||[];return(n!==Object?this.annotations(n):[]).concat(t)}},{key:"_ownPropMetadata",value:function(e,n){if(e.propMetadata&&e.propMetadata!==n.propMetadata){var t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==n.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach(function(e){o[e]=Ca(r[e])}),o}return e.hasOwnProperty(sa)?e[sa]:null}},{key:"propMetadata",value:function(e){if(!Da(e))return{};var n=Ta(e),t={};if(n!==Object){var r=this.propMetadata(n);Object.keys(r).forEach(function(e){t[e]=r[e]})}var o=this._ownPropMetadata(e,n);return o&&Object.keys(o).forEach(function(e){var n,r,i=[];t.hasOwnProperty(e)&&(r=i).push.apply(r,ea(t[e]));(n=i).push.apply(n,ea(o[e])),t[e]=i}),t}},{key:"ownPropMetadata",value:function(e){return Da(e)&&this._ownPropMetadata(e,Ta(e))||{}}},{key:"hasLifecycleHook",value:function(e,n){return $i(e,Ma)&&n in e.prototype}}]),e}();function Ca(e){return e?e.map(function(e){return Hi(e.type.annotationCls,ea(e.args?e.args:[]))}):[]}function Ta(e){var n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}var Ea=function(){function e(n,t,r){Li(this,e),Ui(this,"previousValue",void 0),Ui(this,"currentValue",void 0),Ui(this,"firstChange",void 0),this.previousValue=n,this.currentValue=t,this.firstChange=r}return zi(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Oa(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}var Na=function(){var e=function(){return Aa};return e.ngInherit=!0,e}();function Aa(e){return e.type.prototype.ngOnChanges&&(e.setInput=ja),Pa}function Pa(){var e=Va(this),n=null==e?void 0:e.current;if(n){var t=e.previous;if(t===Ct)e.previous=n;else for(var r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ja(e,n,t,r,o){var i=this.declaredInputs[r];ngDevMode&&on(i,"Name of input in ngOnChanges has to be a string");var a=Va(e)||function(e,n){return e[Ra]=n}(e,{previous:Ct,current:null}),u=a.current||(a.current={}),l=a.previous,s=l[i];u[i]=new Ea(s&&s.currentValue,t,l===Ct),Oa(e,n,o,t)}var Ra="__ngSimpleChanges__";function Va(e){return e[Ra]||null}var Fa=[];var La=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2?arguments[2]:void 0,r=0;r<Fa.length;r++){(0,Fa[r])(e,n,t)}};function Ha(e,n){ngDevMode&&jr(e);for(var t=n.directiveStart,r=n.directiveEnd;t<r;t++){var o=e.data[t];ngDevMode&&pn(o,"Expecting DirectiveDef");var i,a,u,l,s,c,d,f,v,h,p,g,y,m,w=o.type.prototype,b=w.ngAfterContentInit,M=w.ngAfterContentChecked,D=w.ngAfterViewInit,k=w.ngAfterViewChecked,_=w.ngOnDestroy;if(b)(null!==(a=(i=e).contentHooks)&&void 0!==a?a:i.contentHooks=[]).push(-t,b);if(M)(null!==(s=(u=e).contentHooks)&&void 0!==s?s:u.contentHooks=[]).push(t,M),(null!==(c=(l=e).contentCheckHooks)&&void 0!==c?c:l.contentCheckHooks=[]).push(t,M);if(D)(null!==(f=(d=e).viewHooks)&&void 0!==f?f:d.viewHooks=[]).push(-t,D);if(k)(null!==(p=(v=e).viewHooks)&&void 0!==p?p:v.viewHooks=[]).push(t,k),(null!==(g=(h=e).viewCheckHooks)&&void 0!==g?g:h.viewCheckHooks=[]).push(t,k);if(null!=_)(null!==(m=(y=e).destroyHooks)&&void 0!==m?m:y.destroyHooks=[]).push(t,_)}}function Ba(e,n,t){Wa(e,n,3,t)}function za(e,n,t,r){ngDevMode&&ln(t,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===t&&Wa(e,n,t,r)}function Ua(e,n){ngDevMode&&ln(n,3,"Init hooks phase should not be incremented after all init hooks have been run.");var t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function Wa(e,n,t,r){ngDevMode&&un(Eo(),!1,"Hooks should never be run when in check no changes mode.");for(var o=void 0!==r?65535&e[17]:0,i=null!=r?r:-1,a=n.length-1,u=0,l=o;l<a;l++){if("number"==typeof n[l+1]){if(u=n[l],null!=r&&u>=r)break}else n[l]<0&&(e[17]+=65536),(u<i||-1==i)&&(qa(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}}function Za(e,n){La(4,e,n);var t=ve(null);try{n.call(e)}finally{ve(t),La(5,e,n)}}function qa(e,n,t,r){var o=t[r]<0,i=t[r+1],a=e[o?-t[r]:t[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,Za(a,i)):Za(a,i)}var $a=-1,Ga=function e(n,t,r){Li(this,e),Ui(this,"factory",void 0),Ui(this,"injectImpl",void 0),Ui(this,"resolving",!1),Ui(this,"canSeeViewProviders",void 0),Ui(this,"multi",void 0),Ui(this,"componentProviders",void 0),Ui(this,"index",void 0),Ui(this,"providerFactory",void 0),this.factory=n,ngDevMode&&pn(n,"Factory not specified"),ngDevMode&&un(void 0===n?"undefined":na(n),"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=r};function Qa(e){var n="";return 1&e&&(n+="|Text"),2&e&&(n+="|Element"),4&e&&(n+="|Container"),8&e&&(n+="|ElementContainer"),16&e&&(n+="|Projection"),32&e&&(n+="|IcuContainer"),64&e&&(n+="|Placeholder"),128&e&&(n+="|LetDeclaration"),n.length>0?n.substring(1):n}function Ya(e){return null!=e&&"object"===(void 0===e?"undefined":na(e))&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ja(e,n,t){pn(e,"should be called with a TNode"),0===(e.type&n)&&gn(t||"Expected [".concat(Qa(n),"] but got ").concat(Qa(e.type),"."))}function Xa(e){return 3===e||4===e||6===e}function Ka(e){return 64===e.charCodeAt(0)}function eu(e,n){if(null===n||0===n.length);else if(null===e||0===e.length)e=n.slice();else for(var t=-1,r=0;r<n.length;r++){var o=n[r];"number"==typeof o?t=o:0===t||nu(e,t,o,null,-1===t||2===t?n[++r]:null)}return e}function nu(e,n,t,r,o){var i=0,a=e.length;if(-1===n)a=-1;else for(;i<e.length;){var u=e[i++];if("number"==typeof u){if(u===n){a=-1;break}if(u>n){a=i-1;break}}}for(;i<e.length;){var l=e[i];if("number"==typeof l)break;if(l===t)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==a&&(e.splice(a,0,n),i=a+1),e.splice(i++,0,t),null!==o&&e.splice(i++,0,o)}function tu(e){return e!==$a}function ru(e){ngDevMode&&(tn(e,"Number expected"),ln(e,-1,"Not a valid state."),vn(32767&e,yr,"Parent injector must be pointing past HEADER_OFFSET."));return 32767&e}function ou(e,n){for(var t=e>>16,r=n;t>0;)r=r[14],t--;return r}var iu=!0;function au(e){var n=iu;return iu=e,n}var uu=0,lu={};function su(e,n){var t=du(e,n);if(-1!==t)return t;var r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,cu(r.data,e),cu(n,null),cu(r.blueprint,null));var o=fu(e,n),i=e.injectorIndex;if(tu(o))for(var a=ru(o),u=ou(o,n),l=u[1].data,s=0;s<8;s++)n[i+s]=u[a+s]|l[a+s];return n[i+8]=o,i}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function du(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:(ngDevMode&&mn(n,e.injectorIndex),e.injectorIndex)}function fu(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=0,r=null,o=n;null!==o;){if(null===(r=Su(o)))return $a;if(ngDevMode&&r&&Sr(r,o[14]),t++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return $a}function vu(e,n,t){!function(e,n,t){var r;ngDevMode&&un(n.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Zn)&&(r=t[Zn]),null==r&&(r=t[Zn]=uu++);var o=255&r,i=1<<o;n.data[e+(o>>5)]|=i}(e,n,t)}function hu(e,n,t){if(8&t||void 0!==e)return e;Xn(n,"NodeInjector")}function pu(e,n,t,r){if(8&t&&void 0===r&&(r=null),!(3&t)){var o=e[9],i=et(void 0);try{return o?o.get(n,r,8&t):nt(n,r,8&t)}finally{et(i)}}return hu(r,n,t)}function gu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0;if(null!==e){if(2048&n[2]&&!(2&r)){var i=function(e,n,t,r,o){var i=e,a=n;for(;null!==i&&null!==a&&2048&a[2]&&!xr(a);){ngDevMode&&Sr(i,a);var u=yu(i,a,t,2|r,lu);if(u!==lu)return u;var l=i.parent;if(!l){var s=a[20];if(s){var c=s.get(t,lu,r);if(c!==lu)return c}l=Su(a),a=a[14]}i=l}return o}(e,n,t,r,lu);if(i!==lu)return i}var a=yu(e,n,t,r,lu);if(a!==lu)return a}return pu(n,t,r,o)}function yu(e,n,t,r,o){var i=function(e){if(ngDevMode&&pn(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;var n=e.hasOwnProperty(Zn)?e[Zn]:void 0;return"number"==typeof n?n>=0?255&n:(ngDevMode&&un(n,-1,"Expecting to get Special Injector Id"),_u):n}(t);if("function"==typeof i){if(!$o(n,e,r))return 1&r?hu(o,t,r):pu(n,t,r,o);try{var a;if(ngDevMode?Vn(new ku(ko(),wo()),t,function(){Pn(t),jn(a=i(r))}):a=i(r),null!=a||8&r)return a;Xn(t)}finally{Xo()}}else if("number"==typeof i){var u=null,l=du(e,n),s=$a,c=1&r?n[15][5]:null;for((-1===l||4&r)&&((s=-1===l?fu(e,n):n[l+8])!==$a&&Du(r,!1)?(u=n[1],l=ru(s),n=ou(s,n)):l=-1);-1!==l;){ngDevMode&&Br(n,l);var d=n[1];if(ngDevMode&&Sr(d.data[l+8],n),Mu(i,l,d.data)){var f=mu(l,n,t,u,r,c);if(f!==lu)return f}(s=n[l+8])!==$a&&Du(r,n[1].data[l+8]===c)&&Mu(i,l,n)?(u=d,l=ru(s),n=ou(s,n)):l=-1}}return o}function mu(e,n,t,r,o,i){var a=n[1],u=a.data[e+8],l=wu(u,a,t,null==r?Dr(u)&&iu:r!=a&&!!(3&u.type),1&o&&i===u);return null!==l?bu(n,a,l,u):lu}function wu(e,n,t,r,o){for(var i=e.providerIndexes,a=n.data,u=1048575&i,l=e.directiveStart,s=e.directiveEnd,c=i>>20,d=o?u+c:s,f=r?u:u+c;f<d;f++){var v=a[f];if(f<l&&t===v||f>=l&&v.type===t)return f}if(o){var h=a[l];if(h&&_r(h)&&h.type===t)return l}return null}function bu(e,n,t,r){var o,i=e[t],a=n.data;if($i(i,Ga)){var u=i;u.resolving&&Qn(Gn(a[t]));var l=au(u.canSeeViewProviders);u.resolving=!0;var s,c=a[t].type||a[t];if(ngDevMode)s=En({injector:new ku(r,e),token:c});var d=u.injectImpl?et(u.injectImpl):null,f=$o(e,r,0);ngDevMode&&un(f,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{ngDevMode&&Pn(c),i=e[t]=u.factory(void 0,a,e,r),ngDevMode&&jn(i),n.firstCreatePass&&t>=r.directiveStart&&(ngDevMode&&(void 0!==(o=a[t]).type&&null!=o.selectors&&void 0!==o.inputs||gn("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")),function(e,n,t){ngDevMode&&jr(t);var r,o,i,a,u,l,s=n.type.prototype,c=s.ngOnChanges,d=s.ngOnInit,f=s.ngDoCheck;if(c){var v,h,p,g,y=Aa(n);(null!==(p=(v=t).preOrderHooks)&&void 0!==p?p:v.preOrderHooks=[]).push(e,y),(null!==(g=(h=t).preOrderCheckHooks)&&void 0!==g?g:h.preOrderCheckHooks=[]).push(e,y)}d&&(null!==(o=(r=t).preOrderHooks)&&void 0!==o?o:r.preOrderHooks=[]).push(0-e,d),f&&((null!==(u=(i=t).preOrderHooks)&&void 0!==u?u:i.preOrderHooks=[]).push(e,f),(null!==(l=(a=t).preOrderCheckHooks)&&void 0!==l?l:a.preOrderCheckHooks=[]).push(e,f))}(t,a[t],n))}finally{ngDevMode&&En(s),null!==d&&et(d),au(l),u.resolving=!1,Xo()}}return i}function Mu(e,n,t){var r=1<<e;return!!(t[n+(e>>5)]&r)}function Du(e,n){return!(2&e||1&e&&n)}var ku=function(){function e(n,t){Li(this,e),Ui(this,"_tNode",void 0),Ui(this,"_lView",void 0),this._tNode=n,this._lView=t}return zi(e,[{key:"get",value:function(e,n,t){return gu(this._tNode,this._lView,e,ft(t),n)}}]),e}();function _u(){return new ku(ko(),wo())}function xu(e){return aa(function(){for(var n=e.prototype.constructor,t=n[Wn]||Iu(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;o&&o!==r;){var i=o[Wn]||Iu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return function(e){return new e}})}function Iu(e){return nn(e)?function(){var n=Iu(en(e));return n&&n()}:yt(e)}function Su(e){var n=e[1],t=n.type;return 2===t?(ngDevMode&&pn(n.declTNode,"Embedded TNodes should have declaration parents."),n.declTNode):1===t?e[5]:null}function Cu(e){return function(e,n){if(ngDevMode&&Ja(e,15),ngDevMode&&pn(e,"expecting tNode"),"class"===n)return e.classes;if("style"===n)return e.styles;var t=e.attrs;if(t)for(var r=t.length,o=0;o<r;){var i=t[o];if(Xa(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof t[o];)o++;else{if(i===n)return t[o+1];o+=2}}return null}(ko(),e)}var Tu=fa("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return Cu(e)}}}),Eu=null;function Ou(){return Eu=Eu||new Sa}function Nu(e){return Au(Ou().parameters(e))}function Au(e){return e.map(function(e){return function(e){var n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(var t=0;t<e.length;t++){var r=e[t];if(void 0!==r){var o=Object.getPrototypeOf(r);if($i(r,pa)||"Optional"===o.ngMetadataName)n.optional=!0;else if($i(r,ya)||"SkipSelf"===o.ngMetadataName)n.skipSelf=!0;else if($i(r,ga)||"Self"===o.ngMetadataName)n.self=!0;else if($i(r,ma)||"Host"===o.ngMetadataName)n.host=!0;else if($i(r,ha))n.token=r.token;else if($i(r,Tu)){if(void 0===r.attributeName)throw new We(204,ngDevMode&&"Attribute name must be defined.");n.attribute=r.attributeName}else n.token=r}}else void 0===e||Array.isArray(e)&&0===e.length?n.token=null:n.token=e;return n}(e)})}function Pu(e,n){var t=null,r=null;e.hasOwnProperty(In)||Object.defineProperty(e,In,{get:function(){if(null===t){var r=wa({usage:0,kind:"injectable",type:e});t=r.compileInjectable(ba,"ng:///".concat(e.name,"/ɵprov.js"),function(e,n){var t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};(Ru(t)||Vu(t))&&void 0!==t.deps&&(r.deps=Au(t.deps));Ru(t)?r.useClass=t.useClass:!function(e){return ju in e}(t)?Vu(t)?r.useFactory=t.useFactory:function(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting):r.useValue=t.useValue;return r}(e,n))}return t}}),e.hasOwnProperty(Wn)||Object.defineProperty(e,Wn,{get:function(){if(null===r){var n=wa({usage:0,kind:"injectable",type:e});r=n.compileFactory(ba,"ng:///".concat(e.name,"/ɵfac.js"),{name:e.name,type:e,typeArgumentCount:0,deps:Nu(e),target:n.FactoryTarget.Injectable})}return r},configurable:!0})}var ju=Ge({provide:String,useValue:Ge});function Ru(e){return void 0!==e.useClass}function Vu(e){return void 0!==e.useFactory}var Fu=ca("Injectable",void 0,void 0,0,function(e,n){return Pu(e,n)});function Lu(e,n){return new Hu(Zr(e,n))}var Hu=function e(n){Li(this,e),Ui(this,"nativeElement",void 0),this.nativeElement=n};function Bu(e){return $i(e,Hu)?e.nativeElement:e}function zu(){return this._results[Symbol.iterator]()}Ui(Hu,"__NG_ELEMENT_ID__",function(){return Lu(ko(),wo())});var Uu,Wu=Symbol.iterator,Zu=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Li(this,e),Ui(this,"_emitDistinctChangesOnly",void 0),Ui(this,"dirty",!0),Ui(this,"_onDirty",void 0),Ui(this,"_results",[]),Ui(this,"_changesDetected",!1),Ui(this,"_changes",void 0),Ui(this,"length",0),Ui(this,"first",void 0),Ui(this,"last",void 0),Ui(this,Wu,zu),this._emitDistinctChangesOnly=n}return zi(e,[{key:"changes",get:function(){var e;return null!==(e=this._changes)&&void 0!==e?e:this._changes=new l}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,n){return this._results.reduce(e,n)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,n){this.dirty=!1;var t=mt(e);(this._changesDetected=!function(e,n,t){if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++){var o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}(this._results,t,n))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}},{key:"notifyOnChanges",value:function(){void 0===this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.next(this)}},{key:"onDirty",value:function(e){this._onDirty=e}},{key:"setDirty",value:function(){var e;this.dirty=!0,null===(e=this._onDirty)||void 0===e||e.call(this)}},{key:"destroy",value:function(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}]),e}();function qu(e){return!(128&~e.flags)}!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Uu||(Uu={}));var $u=new Map,Gu=0;function Qu(e){return ngDevMode&&tn(e,"ID used for LView lookup must be a number"),$u.get(e)||null}function Yu(e){ngDevMode&&tn(e[hr],"Cannot stop tracking an LView that does not have an ID"),$u.delete(e[hr])}var Ju=function(){function e(n,t,r){Li(this,e),Ui(this,"lViewId",void 0),Ui(this,"nodeIndex",void 0),Ui(this,"native",void 0),Ui(this,"component",void 0),Ui(this,"directives",void 0),Ui(this,"localRefs",void 0),this.lViewId=n,this.nodeIndex=t,this.native=r}return zi(e,[{key:"lView",get:function(){return Qu(this.lViewId)}}]),e}();function Xu(e){var n,t=il(e);if(t){if(wr(t)){var r,o=t,i=void 0,a=void 0;if(al(e)){if(-1==(r=sl(o,e)))throw new Error("The provided component was not found in the application");i=e}else if((n=e)&&n.constructor&&n.constructor.ɵdir){if(r=function(e,n){var t=e[1].firstChild;for(;t;){for(var r=t.directiveStart,o=t.directiveEnd,i=r;i<o;i++)if(e[i]===n)return t.index;t=ll(t)}return-1}(o,e),-1==r)throw new Error("The provided directive was not found in the application");a=cl(r,o)}else if(-1==(r=ul(o,e)))return null;var u=Ur(o[r]),l=il(u),s=l&&!Array.isArray(l)?l:Ku(o,r,u);if(i&&void 0===s.component&&(s.component=i,ol(s.component,s)),a&&void 0===s.directives){s.directives=a;for(var c=0;c<a.length;c++)ol(a[c],s)}ol(s.native,s),t=s}}else{var d=e;ngDevMode&&yn(d);for(var f=d;f=f.parentNode;){var v=il(f);if(v){var h=Array.isArray(v)?v:v.lView;if(!h)return null;var p=ul(h,d);if(p>=0){var g=Ur(h[p]),y=Ku(h,p,g);ol(g,y),t=y;break}}}}return t||null}function Ku(e,n,t){return new Ju(e[hr],n,t)}var el,nl,tl,rl="__ngContext__";function ol(e,n){var t;ngDevMode&&pn(e,"Target expected"),wr(n)?(e[rl]=n[hr],t=n,ngDevMode&&tn(t[hr],"LView must have an ID in order to be registered"),$u.set(t[hr],t)):e[rl]=n}function il(e){ngDevMode&&pn(e,"Target expected");var n=e[rl];return"number"==typeof n?Qu(n):n||null}function al(e){return e&&e.constructor&&e.constructor.ɵcmp}function ul(e,n){for(var t=e[1],r=yr;r<t.bindingStartIndex;r++)if(Ur(e[r])===n)return r;return-1}function ll(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function sl(e,n){var t=e[1].components;if(t)for(var r=0;r<t.length;r++){var o=t[r];if(Qr(o,e)[8]===n)return o}else if(Qr(yr,e)[8]===n)return yr;return-1}function cl(e,n){var t=n[1].data[e];if(0===t.directiveStart)return Tt;for(var r=[],o=t.directiveStart;o<t.directiveEnd;o++){var i=n[o];al(i)||r.push(i)}return r}function dl(e){return vl(e[12])}function fl(e){return vl(e[4])}function vl(e){for(;null!==e&&!br(e);)e=e[4];return e}function hl(e){ngDevMode&&pl(e);var n=Xu(e);if(null===n)return null;if(void 0===n.component){var t=n.lView;if(null===t)return null;n.component=function(e,n){var t=n[1].data[e];return Dr(t)?n[t.directiveStart+t.componentOffset]:null}(n.nodeIndex,t)}return n.component}function pl(e){if("undefined"!=typeof Element&&!$i(e,Element))throw new Error("Expecting instance of DOM Element")}function gl(){if("undefined"!=typeof document)return document;throw new We(210,("undefined"==typeof ngDevMode||ngDevMode)&&"The document object is not available in this context. Make sure the DOCUMENT injection token is provided.")}!function(e){e.Angular="angular",e.ACX="acx",e.Wiz="wiz"}(el||(el={})),function(e){e[e.Default=0]="Default",e[e.OnPush=1]="OnPush"}(nl||(nl={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=1]="None"}(tl||(tl={}));var yl=new Cn(ngDevMode?"AppId":"",{providedIn:"root",factory:function(){return ml}}),ml="ng";new Cn(ngDevMode?"Platform Initializer":"");new Cn(ngDevMode?"Platform ID":"",{providedIn:"platform",factory:function(){return"unknown"}}),new Cn(ngDevMode?"Application Packages Root URL":""),new Cn(ngDevMode?"AnimationModuleType":""),new Cn(ngDevMode?"CSP nonce":"",{providedIn:"root",factory:function(){var e,n;return(null===(n=gl().body)||void 0===n||null===(e=n.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});var wl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},bl=new Cn(ngDevMode?"ImageConfig":"",{providedIn:"root",factory:function(){return wl}});var Ml=function(){function e(){Li(this,e),Ui(this,"store",{}),Ui(this,"onSerializeCallbacks",{})}return zi(e,[{key:"get",value:function(e,n){return void 0!==this.store[e]?this.store[e]:n}},{key:"set",value:function(e,n){this.store[e]=n}},{key:"remove",value:function(e){delete this.store[e]}},{key:"hasKey",value:function(e){return this.store.hasOwnProperty(e)}},{key:"isEmpty",get:function(){return 0===Object.keys(this.store).length}},{key:"onSerialize",value:function(e,n){this.onSerializeCallbacks[e]=n}},{key:"toJson",value:function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}]),e}();Ui(Ml,"ɵprov",Mn({token:Ml,providedIn:"root",factory:function(){var e=new Ml;return"undefined"!=typeof ngServerMode&&ngServerMode||(e.store=function(e,n){var t=e.getElementById(n+"-state");if(null==t?void 0:t.textContent)try{return JSON.parse(t.textContent)}catch(e){console.warn("Exception while restoring TransferState for app "+n,e)}return{}}(gl(),dt(yl))),e}}));new Cn("undefined"==typeof ngDevMode||ngDevMode?"IS_HYDRATION_DOM_REUSE_ENABLED":"");var Dl=!1,kl=new Cn("undefined"==typeof ngDevMode||ngDevMode?"PRESERVE_HOST_CONTENT":"",{providedIn:"root",factory:function(){return Dl}});new Cn("undefined"==typeof ngDevMode||ngDevMode?"IS_I18N_HYDRATION_ENABLED":""),new Cn("undefined"==typeof ngDevMode||ngDevMode?"IS_EVENT_REPLAY_ENABLED":"");var _l=new Cn("undefined"==typeof ngDevMode||ngDevMode?"IS_INCREMENTAL_HYDRATION_ENABLED":""),xl=new Cn(ngDevMode?"JSACTION_BLOCK_ELEMENT_MAP":"",{providedIn:"root",factory:function(){return new Map}}),Il={passive:!0,capture:!0},Sl=new WeakMap,Cl=new WeakMap,Tl=new WeakMap,El=["click","keydown"],Ol=["mouseenter","mouseover","focusin"],Nl=null,Al=0,Pl=function e(){var n=this;Li(this,e),Ui(this,"callbacks",new Set),Ui(this,"listener",function(){var e=!0,t=!1,r=void 0;try{for(var o,i=n.callbacks[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){(0,o.value)()}}catch(e){t=!0,r=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw r}}})};function jl(e,n){var t=Cl.get(e);if(!t){t=new Pl,Cl.set(e,t);var r=!0,o=!1,i=void 0;try{for(var a,u=El[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;e.addEventListener(l,t.listener,Il)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}return t.callbacks.add(n),function(){var r=t.callbacks,o=t.listener;if(r.delete(n),0===r.size){Cl.delete(e);var i=!0,a=!1,u=void 0;try{for(var l,s=El[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;e.removeEventListener(c,o,Il)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}}}}function Rl(e,n){var t=Sl.get(e);if(!t){t=new Pl,Sl.set(e,t);var r=!0,o=!1,i=void 0;try{for(var a,u=Ol[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;e.addEventListener(l,t.listener,Il)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}return t.callbacks.add(n),function(){var r=t.callbacks,o=t.listener;if(r.delete(n),0===r.size){var i=!0,a=!1,u=void 0;try{for(var l,s=Ol[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;e.removeEventListener(c,o,Il)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}Sl.delete(e)}}}var Vl=function(e){e.removeAttribute(Ai),e.removeAttribute("ngb"),e.__jsaction_fns=void 0},Fl=new Cn(ngDevMode?"EVENT_CONTRACT_DETAILS":"",{providedIn:"root",factory:function(){return{}}}),Ll=new Cn(ngDevMode?"DEHYDRATED_BLOCK_REGISTRY":""),Hl=function(){function e(){Li(this,e),Ui(this,"registry",new Map),Ui(this,"cleanupFns",new Map),Ui(this,"jsActionMap",dt(xl)),Ui(this,"contract",dt(Fl)),Ui(this,"hydrating",new Map),Ui(this,"awaitingCallbacks",new Map)}return zi(e,[{key:"add",value:function(e,n){if(this.registry.set(e,n),this.awaitingCallbacks.has(e)){var t=this.awaitingCallbacks.get(e),r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){(0,a.value)()}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}}},{key:"get",value:function(e){var n;return null!==(n=this.registry.get(e))&&void 0!==n?n:null}},{key:"has",value:function(e){return this.registry.has(e)}},{key:"cleanup",value:function(e){!function(e,n){if(e.length>0){var t=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;n.has(l)&&(t=ea(t).concat(ea(n.get(l))))}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}new Set(t).forEach(Vl)}}(e,this.jsActionMap);var n,t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;this.registry.delete(u),this.jsActionMap.delete(u),this.invokeTriggerCleanupFns(u),this.hydrating.delete(u),this.awaitingCallbacks.delete(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}0===this.size&&(null===(n=this.contract.instance)||void 0===n||n.cleanUp())}},{key:"size",get:function(){return this.registry.size}},{key:"addCleanupFn",value:function(e,n){var t=[];this.cleanupFns.has(e)&&(t=this.cleanupFns.get(e)),t.push(n),this.cleanupFns.set(e,t)}},{key:"invokeTriggerCleanupFns",value:function(e){var n,t=null!==(n=this.cleanupFns.get(e))&&void 0!==n?n:[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){(0,a.value)()}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}this.cleanupFns.delete(e)}},{key:"awaitParentBlock",value:function(e,n){var t,r=null!==(t=this.awaitingCallbacks.get(e))&&void 0!==t?t:[];r.push(n),this.awaitingCallbacks.set(e,r)}}]),e}();Ui(Hl,"ɵprov",Mn({token:Hl,providedIn:null,factory:function(){return new Hl}}));var Bl,zl="__nghDeferData__";function Ul(e){var n=e._lView;return 2===n[1].type?null:(xr(n)&&(n=n[26]),n)}!function(e){e.Hydrated="hydrated",e.Skipped="skipped",e.Mismatched="mismatched"}(Bl||(Bl={}));var Wl,Zl,ql;function $l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!ngDevMode)throw new Error("Calling `markRNodeAsMismatchedByHydration` in prod mode is not supported and likely a mistake.");for(;e&&!hl(e);)e=null==e?void 0:e.parentNode;e&&function(e,n){e.__ngDebugHydrationInfo__=n}(e,{status:Bl.Mismatched,expectedNodeDetails:n,actualNodeDetails:t})}function Gl(e){return e.get(_l,!1,{optional:!0})}function Ql(e){pn(e,"Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present")}function Yl(e,n){var t=e.contentQueries;if(null!==t){var r=ve(null);try{for(var o=0;o<t.length;o+=2){var i=t[o],a=t[o+1];if(-1!==a){var u=e.data[a];ngDevMode&&pn(u,"DirectiveDef not found."),ngDevMode&&pn(u.contentQueries,"contentQueries function should be defined"),Zo(i),u.contentQueries(2,n[a],a)}}}finally{ve(r)}}}function Jl(e,n,t){ngDevMode&&pn(n,"View queries function to execute must be defined."),Zo(0);var r=ve(null);try{n(e,t)}finally{ve(r)}}function Xl(e,n,t){if(Mr(n)){var r=ve(null);try{for(var o=n.directiveStart,i=n.directiveEnd,a=o;a<i;a++){var u=e.data[a];if(u.contentQueries){var l=t[a];ngDevMode&&pn(a,"Incorrect reference to a directive defining a content query"),u.contentQueries(1,l,a)}}}finally{ve(r)}}}function Kl(){if(void 0===Zl&&(Zl=null,qe.trustedTypes))try{Zl=qe.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return Zl}function es(e){var n;return(null===(n=Kl())||void 0===n?void 0:n.createHTML(e))||e}function ns(){if(void 0===ql&&(ql=null,qe.trustedTypes))try{ql=qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return ql}function ts(e){var n;return(null===(n=ns())||void 0===n?void 0:n.createHTML(e))||e}function rs(e){var n;return(null===(n=ns())||void 0===n?void 0:n.createScript(e))||e}function os(e){var n;return(null===(n=ns())||void 0===n?void 0:n.createScriptURL(e))||e}!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Wl||(Wl={}));var is=function(){function e(n){Li(this,e),Ui(this,"changingThisBreaksApplicationSecurity",void 0),this.changingThisBreaksApplicationSecurity=n}return zi(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Ue,")")}}]),e}();function as(e){return $i(e,is)?e.changingThisBreaksApplicationSecurity:e}function us(e,n){var t=function(e){return $i(e,is)&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error("Required a safe ".concat(n,", got a ").concat(t," (see ").concat(Ue,")"))}return t===n}function ls(e){var n=new cs(e);return function(){try{return!!(new window.DOMParser).parseFromString(es(""),"text/html")}catch(e){return!1}}()?new ss(n):n}var ss=function(){function e(n){Li(this,e),Ui(this,"inertDocumentHelper",void 0),this.inertDocumentHelper=n}return zi(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var n,t=(new window.DOMParser).parseFromString(es(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(null===(n=t.firstChild)||void 0===n||n.remove(),t)}catch(e){return null}}}]),e}(),cs=function(){function e(n){Li(this,e),Ui(this,"defaultDoc",void 0),Ui(this,"inertDocument",void 0),this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}return zi(e,[{key:"getInertBodyElement",value:function(e){var n=this.inertDocument.createElement("template");return n.innerHTML=es(e),n}}]),e}();var ds=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fs(e){return(e=String(e)).match(ds)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see ").concat(Ue,")")),"unsafe:"+e)}function vs(e){var n={},t=!0,r=!1,o=void 0;try{for(var i,a=e.split(",")[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){n[i.value]=!0}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}return n}function hs(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var r={},o=!0,i=!1,a=void 0;try{for(var u,l=n[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var s=u.value;for(var c in s)s.hasOwnProperty(c)&&(r[c]=!0)}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}return r}var ps=vs("area,br,col,hr,img,wbr"),gs=vs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ys=vs("rp,rt"),ms=hs(ys,gs),ws=hs(gs,vs("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")),bs=hs(ys,vs("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")),Ms=hs(ps,ws,bs,ms),Ds=vs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ks=vs("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"),_s=vs("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"),xs=hs(Ds,ks,_s),Is=vs("script,style,template"),Ss=function(){function e(){Li(this,e),Ui(this,"sanitizedSomething",!1),Ui(this,"buf",[])}return zi(e,[{key:"sanitizeChildren",value:function(e){for(var n=e.firstChild,t=!0,r=[];n;)if(n.nodeType===Node.ELEMENT_NODE?t=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,t&&n.firstChild)r.push(n),n=Ts(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);var o=Cs(n);if(o){n=o;break}n=r.pop()}return this.buf.join("")}},{key:"startElement",value:function(e){var n=Es(e).toLowerCase();if(!Ms.hasOwnProperty(n))return this.sanitizedSomething=!0,!Is.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var t=e.attributes,r=0;r<t.length;r++){var o=t.item(r),i=o.name,a=i.toLowerCase();if(xs.hasOwnProperty(a)){var u=o.value;Ds[a]&&(u=fs(u)),this.buf.push(" ",i,'="',Rs(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var n=Es(e).toLowerCase();Ms.hasOwnProperty(n)&&!ps.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Rs(e))}}]),e}();function Cs(e){var n=e.nextSibling;if(n&&e!==n.previousSibling)throw Os(n);return n}function Ts(e){var n,t=e.firstChild;if(t&&(n=t,(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY))throw Os(t);return t}function Es(e){var n=e.nodeName;return"string"==typeof n?n:"FORM"}function Os(e){return new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML))}var Ns,As,Ps=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,js=/([^\#-~ |!])/g;function Rs(e){return e.replace(/&/g,"&").replace(Ps,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(js,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Vs(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}function Fs(e){var n=qs();return n?ts(n.sanitize(As.HTML,e)||""):us(e,"HTML")?ts(as(e)):function(e,n){var t=null;try{Ns=Ns||ls(e);var r=n?String(n):"";t=Ns.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Ns.getInertBodyElement(r)}while(r!==i);var a=new Ss,u=a.sanitizeChildren(Vs(t)||t);return("undefined"==typeof ngDevMode||ngDevMode)&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see ".concat(Ue)),es(u)}finally{if(t)for(var l=Vs(t)||t;l.firstChild;)l.firstChild.remove()}}(gl(),$n(e))}function Ls(e){var n=qs();return n?n.sanitize(As.STYLE,e)||"":us(e,"Style")?as(e):$n(e)}function Hs(e){var n=qs();return n?n.sanitize(As.URL,e)||"":us(e,"URL")?as(e):fs($n(e))}function Bs(e){var n=qs();if(n)return os(n.sanitize(As.RESOURCE_URL,e)||"");if(us(e,"ResourceURL"))return os(as(e));throw new We(904,ngDevMode&&"unsafe value used in a resource URL context (see ".concat(Ue,")"))}function zs(e){var n=qs();if(n)return rs(n.sanitize(As.SCRIPT,e)||"");if(us(e,"Script"))return rs(as(e));throw new We(905,ngDevMode&&"unsafe value used in a script context")}function Us(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted HTML constant: ".concat(e.join("?")));return es(e[0])}function Ws(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted URL constant: ".concat(e.join("?")));return function(e){var n;return(null===(n=Kl())||void 0===n?void 0:n.createScriptURL(e))||e}(e[0])}function Zs(e,n,t){return function(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Bs:Hs}(n,t)(e)}function qs(){var e=wo();return e&&e[10].sanitizer}!function(e){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"}(As||(As={}));var $s=/^>|^->|<!--|-->|--!>|<!-$/g,Gs=/(<|>)/g;function Qs(e){return e.replace($s,function(e){return e.replace(Gs,"$1")})}var Ys=!1,Js=new Cn("undefined"==typeof ngDevMode||ngDevMode?"NG_REFLECT_FLAG":"",{providedIn:"root",factory:function(){return Ys}});function Xs(e){var n;return n=e.replace(/[$@]/g,"_"),e=n.replace(Ks,function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return"-"+n[1].toLowerCase()}),"ng-reflect-".concat(e)}var Ks=/([A-Z])/g;var ec={},nc={};function tc(e,n,t,r){n||4!==t||(n="ng-template");var o=ic(r),i=ac(r),a="Can't bind to '".concat(e,"' since it isn't a known property of '").concat(n,"'").concat(i,"."),u="'".concat(o?"@Component":"@NgModule",".schemas'"),l=o?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared";if(uc.has(e)){var s=uc.get(e);a+="\nIf the '".concat(e,"' is an Angular control flow directive, ")+"please make sure that either the '".concat(s,"' directive or the 'CommonModule' is ").concat(l,".")}else a+="\n1. If '".concat(n,"' is an Angular component and it has the ")+"'".concat(e,"' input, then verify that it is ").concat(l,"."),n&&n.indexOf("-")>-1?(a+="\n2. If '".concat(n,"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ")+"to the ".concat(u," of this component to suppress this message."),a+="\n3. To allow any property add 'NO_ERRORS_SCHEMA' to "+"the ".concat(u," of this component.")):a+="\n2. To allow any property add 'NO_ERRORS_SCHEMA' to "+"the ".concat(u," of this component.");rc(a)}function rc(e){console.error(Ze(303,e))}function oc(e){!ngDevMode&&gn("Must never be called in production mode");var n=e[15][8];return n&&n.constructor?Rt(n.constructor):null}function ic(e){!ngDevMode&&gn("Must never be called in production mode");var n=oc(e);return!!(null==n?void 0:n.standalone)}function ac(e){var n;!ngDevMode&&gn("Must never be called in production mode");var t=oc(e),r=null==t||null===(n=t.type)||void 0===n?void 0:n.name;return r?" (used in the '".concat(r,"' component template)"):""}var uc=new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function lc(e,n){if(null!==e)for(var t=0;t<e.length;t++){var r=e[t];if(r===nc||r===ec&&n&&n.indexOf("-")>-1)return!0}return!1}function sc(e){return e.ownerDocument.defaultView}function cc(e){return e.ownerDocument}function dc(e){return e.ownerDocument.body}var fc="�";function vc(e){return $i(e,Function)?e():e}function hc(e){if(!Rt(e))throw new We(906,"The ".concat(Gn(e)," is not an Angular component, ")+"make sure it has the `@Component` decorator.")}function pc(e,n,t){throw new We(-300,"Multiple components match node with tagname ".concat(e.value,": ")+"".concat(Gn(n)," and ")+"".concat(Gn(t)))}function gc(e){var n=String(e);try{(Array.isArray(e)||"[object Object]"===n)&&(n=JSON.stringify(e))}catch(e){}return n.length>200?n.substring(0,200)+"…":n}function yc(e,n,t,r,o){for(var i,a=ji(i=r.split(fc))||Gi(i)||ta(i)||Qi(),u=a[0],l=a[1],s=a.slice(2),c=l,d=l,f=0;f<s.length;f++){var v=n+f;c+="".concat(e[v]).concat(s[f]),d+="".concat(v===t?o:e[v]).concat(s[f])}return{propName:u,oldValue:c,newValue:d}}function mc(e,n,t){ngDevMode&&ln(n,"",'can not look for "" string.');for(var r=e.length;;){var o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){var i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var wc="ng-template";function bc(e,n,t,r){ngDevMode&&un(t,t.toLowerCase(),"Class name expected to be lowercase.");var o=0;if(r){for(;o<n.length&&"string"==typeof n[o];o+=2)if("class"===n[o]&&-1!==mc(n[o+1].toLowerCase(),t,0))return!0}else if(Mc(e))return!1;if((o=n.indexOf(1,o))>-1)for(var i;++o<n.length&&"string"==typeof(i=n[o]);)if(i.toLowerCase()===t)return!0;return!1}function Mc(e){return 4===e.type&&e.value!==wc}function Dc(e,n,t){return n===(4!==e.type||t?e.value:wc)}function kc(e,n,t){ngDevMode&&pn(n[0],"Selector should have a tag name");for(var r=4,o=e.attrs,i=null!==o?function(e){for(var n=0;n<e.length;n++){if(Xa(e[n]))return n}return e.length}(o):0,a=!1,u=0;u<n.length;u++){var l=n[u];if("number"!=typeof l){if(!a)if(4&r){if(r=2|1&r,""!==l&&!Dc(e,l,t)||""===l&&1===n.length){if(_c(r))return!1;a=!0}}else if(8&r){if(null===o||!bc(e,o,l,t)){if(_c(r))return!1;a=!0}}else{var s=n[++u],c=xc(l,o,Mc(e),t);if(-1===c){if(_c(r))return!1;a=!0;continue}if(""!==s){var d=void 0;if(c>i?d="":(ngDevMode&&ln(o[c],0,"We do not match directives on namespaced attributes"),d=o[c+1].toLowerCase()),2&r&&s!==d){if(_c(r))return!1;a=!0}}}}else{if(!a&&!_c(r)&&!_c(l))return!1;if(a&&_c(l))continue;a=!1,r=l|1&r}}return _c(r)||a}function _c(e){return!(1&e)}function xc(e,n,t,r){if(null===n)return-1;var o=0;if(r||!t){for(var i=!1;o<n.length;){var a=n[o];if(a===e)return o;if(3===a||6===a)i=!0;else{if(1===a||2===a){for(var u=n[++o];"string"==typeof u;)u=n[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=i?1:2}return-1}return function(e,n){var t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){var r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function Ic(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<n.length;r++)if(kc(e,n[r],t))return!0;return!1}function Sc(e,n){e:for(var t=0;t<n.length;t++){var r=n[t];if(e.length===r.length){for(var o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Cc(e,n){return e?":not("+n.trim()+")":n}function Tc(e){for(var n=e[0],t=1,r=2,o="",i=!1;t<e.length;){var a=e[t];if("string"==typeof a)if(2&r){var u=e[++t];o+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""===o||_c(a)||(n+=Cc(i,o),o=""),r=a,i=i||!_c(r);t++}return""!==o&&(n+=Cc(i,o)),n}function Ec(e){return e.map(Tc).join(",")}var Oc,Nc="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function Ac(e,n){return e.createText(n)}function Pc(e,n,t){e.setValue(n,t)}function jc(e,n){return e.createComment(Qs(n))}function Rc(e,n,t){return e.createElement(n,t)}function Vc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Fc(e,n,t){ngDevMode&&pn(n,"parent node must be defined"),e.appendChild(n,t)}function Lc(e,n,t,r,o){null!==r?Vc(e,n,t,r,o):Fc(e,n,t)}function Hc(e,n,t){e.removeChild(null,n,t)}function Bc(e,n,t){var r=t.mergedAttrs,o=t.classes,i=t.styles;null!==r&&function(e,n,t){for(var r=0;r<t.length;){var o=t[r];if("number"==typeof o){if(0!==o)break;r++;var i=t[r++],a=t[r++],u=t[r++];e.setAttribute(n,a,u,i)}else{var l=o,s=t[++r];Ka(l)?e.setProperty(n,l,s):e.setAttribute(n,l,s),r++}}}(e,n,r),null!==o&&function(e,n,t){ngDevMode&&on(t,"'newValue' should be a string"),""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}(e,n,o),null!==i&&function(e,n,t){ngDevMode&&on(t,"'newValue' should be a string"),e.setAttribute(n,"style",t)}(e,n,i)}function zc(e,n,t,r,o,i,a,u,l,s,c){var d=yr+r,f=d+o,v=function(e,n){for(var t=[],r=0;r<n;r++)t.push(r<e?null:Nc);return t}(d,f),h="function"==typeof s?s():s,p=v[1]={type:e,blueprint:v,template:t,queries:null,viewQuery:u,declTNode:n,data:v.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1,ssrId:c};return ngDevMode&&Object.seal(p),p}function Uc(e){var n=e.tView;if(null===n||n.incompleteFirstPass){return e.tView=zc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id)}return n}function Wc(e,n,t,r,o,i,a,u,l,s,c){var d=n.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==s||e&&2048&e[2])&&(d[2]|=2048),Kr(d),ngDevMode&&n.declTNode&&e&&Sr(n.declTNode,e),d[3]=d[14]=e,d[8]=t,d[10]=a||e&&e[10],ngDevMode&&pn(d[10],"LViewEnvironment is required"),d[11]=u||e&&e[11],ngDevMode&&pn(d[11],"Renderer is required"),d[9]=l||e&&e[9]||null,d[5]=i,d[hr]=Gu++,d[6]=c,d[20]=s,ngDevMode&&un(2!=n.type||null!==e,!0,"Embedded views must have parentLView"),d[15]=2==n.type?e[15]:d,d}function Zc(e){var n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function qc(e,n,t,r){if(0===t)return-1;ngDevMode&&(jr(e),sn(e,n[1],"`LView` must be associated with `TView`!"),un(e.data.length,n.length,"Expecting LView to be same size as TView"),un(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),Rr(e));for(var o=n.length,i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function $c(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function Gc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;ngDevMode&&vn(e,0,"Can only advance forward"),Qc(bo(),wo(),ei()+e,!!ngDevMode&&Eo())}function Qc(e,n,t,r){if(ngDevMode&&Vr(n[1],t),!r)if(!(3&~n[2])){var o=e.preOrderCheckHooks;null!==o&&Ba(n,o,t)}else{var i=e.preOrderHooks;null!==i&&za(n,i,0,t)}ni(t)}function Yc(e,n,t,r){var o=ve(null);try{if(ngDevMode){if(!e.inputs.hasOwnProperty(t))throw new Error("ASSERTION ERROR: Directive ".concat(e.type.name,' does not have an input with a public name of "').concat(t,'"'));if($i(n,Ga))throw new Error("ASSERTION ERROR: Cannot write input to factory for type ".concat(e.type.name,". Directive has not been created yet."))}var i=Ki(e.inputs[t],3),a=i[0],u=i[1],l=i[2],s=null;if(0!==(u&Oc.SignalBased))s=n[a][fe];null!==s&&void 0!==s.transformFn?r=s.transformFn(r):null!==l&&(r=l.call(n,r)),null!==e.setInput?e.setInput(n,s,r,t,a):Oa(n,s,a,r)}finally{ve(o)}}function Jc(e,n,t,r,o){var i=ei(),a=2&r;try{ni(-1),a&&n.length>yr&&Qc(e,n,yr,!!ngDevMode&&Eo()),La(a?2:0,o,t),t(r,o)}finally{ni(i),La(a?3:1,o,t)}}function Xc(e,n,t){!function(e,n,t){var r=t.directiveStart,o=t.directiveEnd;Dr(t)&&(ngDevMode&&Ja(t,3),function(e,n,t){var r=Zr(n,e),o=Uc(t),i=e[10].rendererFactory,a=$c(e,Wc(e,o,null,Zc(t),r,n,null,i.createRenderer(r,t),null,null,null));e[n.index]=a}(n,t,e.data[r+t.componentOffset]));e.firstCreatePass||su(t,n);for(var i=t.initialInputs,a=r;a<o;a++){var u=e.data[a],l=bu(n,e,a,t);if(ol(l,n),null!==i&&ud(n,a-r,l,u,t,i),_r(u))Qr(t.index,n)[8]=bu(n,e,a,t)}}(e,n,t),64&~t.flags||function(e,n,t){var r=t.directiveStart,o=t.directiveEnd,i=t.index,a=fo.lFrame.currentDirectiveIndex;try{ni(i);for(var u=r;u<o;u++){var l=e.data[u],s=n[u];zo(u),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||rd(l,s)}}finally{ni(-1),zo(a)}}(e,n,t)}function Kc(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Zr,r=n.localNames;if(null!==r)for(var o=n.index+1,i=0;i<r.length;i+=2){var a=r[i+1],u=-1===a?t(n,e):e[a];e[o++]=u}}function ed(e,n,t,r,o,i){ngDevMode&&cn(r,Nc,"Incoming value should never be NO_CHANGE.");var a=n[1];if(dd(e,a,n,t,r))return Dr(e)&&function(e,n){ngDevMode&&Pr(e);var t=Qr(n,e);16&t[2]||(t[2]|=64)}(n,e.index),void(ngDevMode&&function(e,n,t,r,o){var i,a,u=e[10];if(!(u.ngReflect&&7&t.type))return;var l=null===(i=t.inputs)||void 0===i?void 0:i[r],s=null===(a=t.hostDirectiveInputs)||void 0===a?void 0:a[r];if(s)for(var c=0;c<s.length;c+=2){var d=s[c],f=s[c+1];td(e,t,n.data[d].inputs[f][0],o)}if(l){var v=!0,h=!1,p=void 0;try{for(var g,y=l[Symbol.iterator]();!(v=(g=y.next()).done);v=!0){var m=g.value;td(e,t,n.data[m].inputs[r][0],o)}}catch(e){h=!0,p=e}finally{try{v||null==y.return||y.return()}finally{if(h)throw p}}}}(n,a,e,t,r));nd(e,n,t,r,o,i)}function nd(e,n,t,r,o,i){if(3&e.type){var a=Zr(e,n);t="class"===(u=t)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,ngDevMode&&(!function(e){if(e.toLowerCase().startsWith("on")){var n="Binding to event property '".concat(e,"' is disallowed for security reasons, ")+"please use (".concat(e.slice(2),")=...")+"\nIf '".concat(e,"' is a directive input, make sure the directive is imported by the")+" current module.";throw new We(306,n)}}(t),function(e,n,t,r){return null===r||!!(lc(r,t)||n in e||Ka(n))||"undefined"==typeof Node||null===Node||!$i(e,Node)}(a,t,e.value,n[1].schemas)||tc(t,e.value,e.type,n)),r=null!=i?i(r,e.value||"",t):r,o.setProperty(a,t,r)}else 12&e.type&&ngDevMode&&!lc(n[1].schemas,e.value)&&tc(t,e.value,e.type,n);var u}function td(e,n,t,r){if(e[10].ngReflect){var o=Zr(n,e),i=e[11];t=Xs(t);var a=function(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}(r);if(3&n.type)null==r?i.removeAttribute(o,t):i.setAttribute(o,t,a);else{var u=Qs("bindings=".concat(JSON.stringify(Ui({},t,a),null,2)));i.setValue(o,u)}}}function rd(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function od(e,n){ngDevMode&&jr(e),ngDevMode&&Ja(n,15);var t=e.directiveRegistry,r=null;if(t)for(var o=0;o<t.length;o++){var i=t[o];Ic(n,i.selectors,!1)&&(null!=r||(r=[]),_r(i)?(ngDevMode&&(Ja(n,2,'"'.concat(n.value,'" tags cannot be used as component hosts. ')+"Please use a different tag to activate the ".concat(Ye(i.type)," component.")),r.length&&_r(r[0])&&pc(n,r.find(_r).type,i.type)),r.unshift(i)):r.push(i))}return r}function id(e,n,t,r,o,i){ngDevMode&&(cn(r,Nc,"Incoming value should never be NO_CHANGE."),function(e){if(e.toLowerCase().startsWith("on")){var n="Binding to event attribute '".concat(e,"' is disallowed for security reasons, ")+"please use (".concat(e.slice(2),")=...");throw new We(306,n)}}(t),Ja(e,2,"Attempted to set attribute `".concat(t,"` on a container node. ")+"Host bindings are not valid on ng-container or ng-template."));var a=Zr(e,n);ad(n[11],a,i,e.value,t,r,o)}function ad(e,n,t,r,o,i,a){if(null==i)e.removeAttribute(n,o,t);else{var u=null==a?$n(i):a(i,r||"",o);e.setAttribute(n,o,u,t)}}function ud(e,n,t,r,o,i){var a=i[n];if(null!==a)for(var u=0;u<a.length;u+=2){var l=a[u],s=a[u+1];Yc(r,t,l,s),ngDevMode&&td(e,o,r.inputs[l][0],s)}}function ld(e,n,t,r){for(var o=arguments.length,i=new Array(o>4?o-4:0),a=4;a<o;a++)i[a-4]=arguments[a];var u,l;if(null===e[r]&&(!(null===(u=n.inputs)||void 0===u?void 0:u[t])&&!(null===(l=n.hostDirectiveInputs)||void 0===l?void 0:l[t]))){(n.propertyBindings||(n.propertyBindings=[])).push(r);var s=t;i.length>0&&(s+=fc+i.join(fc)),e[r]=s}}function sd(e,n,t){return(null===e||_r(e))&&(t=function(e){for(;Array.isArray(e);){if("object"===Fe(e[1]))return e;e=e[0]}return null}(t[n.index])),t[11]}function cd(e,n){var t=e[9];if(t){var r=t.get(gi,null);null==r||r(n)}}function dd(e,n,t,r,o){var i,a,u=null===(i=e.inputs)||void 0===i?void 0:i[r],l=null===(a=e.hostDirectiveInputs)||void 0===a?void 0:a[r],s=!1;if(l)for(var c=0;c<l.length;c+=2){var d=l[c];ngDevMode&&mn(t,d);var f=l[c+1];Yc(n.data[d],t[d],f,o),s=!0}if(u){var v=!0,h=!1,p=void 0;try{for(var g,y=u[Symbol.iterator]();!(v=(g=y.next()).done);v=!0){var m=g.value;ngDevMode&&mn(t,m);var w=t[m];Yc(n.data[m],w,r,o),s=!0}}catch(e){h=!0,p=e}finally{try{v||null==y.return||y.return()}finally{if(h)throw p}}}return s}function fd(e,n){ngDevMode&&un(Yr(e),!0,"Should be run in creation mode");var t=Qr(n,e),r=t[1];!function(e,n){for(var t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);var o=t[0];null!==o&&null===t[6]&&(t[6]=(t[9],null)),La(18),vd(r,t,t[8]),La(19,t[8])}function vd(e,n,t){ngDevMode&&un(Yr(n),!0,"Should be run in creation mode"),ngDevMode&&bn(vd.name),Go(n);try{var r,o=e.viewQuery;null!==o&&Jl(1,o,t);var i=e.template;null!==i&&Jc(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),null===(r=n[18])||void 0===r||r.finishViewCreation(e),e.staticContentQueries&&Yl(e,n),e.staticViewQueries&&Jl(2,e.viewQuery,t);var a=e.components;null!==a&&function(e,n){for(var t=0;t<n.length;t++)fd(e,n[t])}(n,a)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{n[2]&=-5,Ko()}}function hd(e,n,t,r){var o=ve(null);try{var i=n.tView;ngDevMode&&pn(i,"TView must be defined for a template node."),ngDevMode&&Sr(n,e);var a,u,l,s=Wc(e,i,t,4096&e[2]?4096:16,null,n,null,null,null!==(a=null==r?void 0:r.injector)&&void 0!==a?a:null,null!==(u=null==r?void 0:r.embeddedViewInjector)&&void 0!==u?u:null,null!==(l=null==r?void 0:r.dehydratedView)&&void 0!==l?l:null),c=e[n.index];ngDevMode&&Nr(c),s[16]=c;var d=e[18];return null!==d&&(s[18]=d.createEmbeddedView(i)),vd(i,s,t),s}finally{ve(o)}}function pd(e,n){return!n||null===n.firstChild||qu(e)}!function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Oc||(Oc={}));var gd,yd,md=!1,wd=new Cn(ngDevMode?"exhaustive checkNoChanges":"");function bd(e,n){return gd(e,n)}function Md(e){return!(32&~e.flags)}function Dd(e,n,t,r,o){if(null!=r){var i,a=!1;br(r)?i=r:wr(r)&&(a=!0,ngDevMode&&pn(r[0],"HOST must be defined for a component LView"),r=r[0]);var u=Ur(r);0===e&&null!==t?null==o?Fc(n,t,u):Vc(n,t,u,o||null,!0):1===e&&null!==t?Vc(n,t,u,o||null,!0):2===e?Hc(n,u,a):3===e&&n.destroyNode(u),null!=i&&function(e,n,t,r,o){ngDevMode&&Nr(t);var i=t[7],a=Ur(t);i!==a&&Dd(n,e,r,i,o);for(var u=mr;u<t.length;u++){var l=t[u];zd(l[1],l,e,n,r,i)}}(n,e,i,t,o)}}function kd(e,n){_d(e,n),n[0]=null,n[5]=null}function _d(e,n){var t;null===(t=n[10].changeDetectionScheduler)||void 0===t||t.notify(9),zd(e,n,n[11],2,null,null)}function xd(e,n){ngDevMode&&Nr(e),ngDevMode&&pn(e[9],"A projected view should belong to a non-empty projected views collection");var t=e[9],r=t.indexOf(n);t.splice(r,1)}function Id(e,n){if(!Ir(n)){var t=n[11];t.destroyNode&&zd(e,n,t,3,null,null),function(e){var n=e[12];if(!n)return Sd(e[1],e);for(;n;){var t=null;if(wr(n))t=n[12];else{ngDevMode&&Nr(n);var r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)wr(n)&&Sd(n[1],n),n=n[3];null===n&&(n=e),wr(n)&&Sd(n[1],n),t=n&&n[4]}n=t}}(n)}}function Sd(e,n){if(!Ir(n)){var t=ve(null);try{n[2]&=-129,n[2]|=256,n[24]&&Me(n[24]),Td(e,n),Cd(e,n),1===n[1].type&&n[11].destroy();var r=n[16];if(null!==r&&br(n[3])){r!==n[3]&&xd(r,n);var o=n[18];null!==o&&o.detachView(e)}Yu(n)}finally{ve(t)}}}function Cd(e,n){ngDevMode&&bn(Cd.name);var t=e.cleanup,r=n[7];if(null!==t)for(var o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){var i=t[o+3];ngDevMode&&tn(i,"cleanup target must be a number"),i>=0?r[i]():r[-i].unsubscribe(),o+=2}else{var a=r[t[o+1]];t[o].call(a)}null!==r&&(n[7]=null);var u=n[21];if(null!==u){n[21]=null;for(var l=0;l<u.length;l++){var s=u[l];ngDevMode&&an(s,"Expecting destroy hook to be a function."),s()}}var c=n[23];if(null!==c){n[23]=null;var d=!0,f=!1,v=void 0;try{for(var h,p=c[Symbol.iterator]();!(d=(h=p.next()).done);d=!0){h.value.destroy()}}catch(e){f=!0,v=e}finally{try{d||null==p.return||p.return()}finally{if(f)throw v}}}}function Td(e,n){var t;if(ngDevMode&&bn(Td.name),null!=e&&null!=(t=e.destroyHooks))for(var r=0;r<t.length;r+=2){var o=n[t[r]];if(!$i(o,Ga)){var i=t[r+1];if(Array.isArray(i))for(var a=0;a<i.length;a+=2){var u=o[i[a]],l=i[a+1];La(4,u,l);try{l.call(u)}finally{La(5,u,l)}}else{La(4,o,i);try{i.call(o)}finally{La(5,o,i)}}}}}function Ed(e,n,t){return Od(e,n.parent,t)}function Od(e,n,t){for(var r=n;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[0];if(ngDevMode&&Ja(r,7),Dr(r)){ngDevMode&&Sr(r,t);var o=e.data[r.directiveStart+r.componentOffset].encapsulation;if(o===Wl.None||o===Wl.Emulated)return null}return Zr(r,t)}function Nd(e,n,t){return jd(e,n,t)}function Ad(e,n,t){return 40&e.type?Zr(e,t):null}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(yd||(yd={}));var Pd,jd=Ad;function Rd(e,n){jd=e,Pd=n}function Vd(e,n,t,r){var o=Ed(e,r,n),i=n[11],a=Nd(r.parent||n[5],r,n);if(null!=o)if(Array.isArray(t))for(var u=0;u<t.length;u++)Lc(i,o,t[u],a,!1);else Lc(i,o,t,a,!1);void 0!==Pd&&Pd(i,r,n,t,o)}function Fd(e,n){if(null!==n){ngDevMode&&Ja(n,191);var t=n.type;if(3&t)return Zr(n,e);if(4&t)return Hd(-1,e[n.index]);if(8&t){var r=n.child;if(null!==r)return Fd(e,r);var o=e[n.index];return br(o)?Hd(-1,o):Ur(o)}if(128&t)return Fd(e,n.next);if(32&t)return bd(n,e)()||Ur(e[n.index]);var i=Ld(e,n);if(null!==i){if(Array.isArray(i))return i[0];var a=uo(e[15]);return ngDevMode&&Hr(a),Fd(a,i)}return Fd(e,n.next)}return null}function Ld(e,n){if(null!==n){var t=e[15][5],r=n.projection;return ngDevMode&&function(e){pn(e[15],"Component views should exist."),pn(e[15][5].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),t.projection[r]}return null}function Hd(e,n){var t=mr+e+1;if(t<n.length){var r=n[t],o=r[1].firstChild;if(null!==o)return Fd(r,o)}return n[7]}function Bd(e,n,t,r,o,i,a){for(;null!=t;)if(ngDevMode&&Sr(t,r),128!==t.type){ngDevMode&&Ja(t,63);var u=r[t.index],l=t.type;if(a&&0===n&&(u&&ol(Ur(u),r),t.flags|=2),!Md(t))if(8&l)Bd(e,n,t.child,r,o,i,!1),Dd(n,e,o,u,i);else if(32&l){for(var s=bd(t,r),c=void 0;c=s();)Dd(n,e,o,c,i);Dd(n,e,o,u,i)}else 16&l?Ud(e,n,r,t,o,i):(ngDevMode&&Ja(t,7),Dd(n,e,o,u,i));t=a?t.projectionNext:t.next}else t=t.next}function zd(e,n,t,r,o,i){Bd(t,r,e.firstChild,n,o,i,!1)}function Ud(e,n,t,r,o,i){var a=t[15],u=a[5];ngDevMode&&un(na(r.projection),"number","expecting projection index");var l=u.projection[r.projection];if(Array.isArray(l))for(var s=0;s<l.length;s++){Dd(n,e,o,l[s],i)}else{var c=l,d=a[3];qu(r)&&(c.flags|=128),Bd(e,n,c,d,o,i,!0)}}function Wd(e,n,t,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==t;)if(128!==t.type){ngDevMode&&Ja(t,63);var i=n[t.index];null!==i&&r.push(Ur(i)),br(i)&&Zd(i,r);var a=t.type;if(8&a)Wd(e,n,t.child,r);else if(32&a)for(var u=bd(t,n),l=void 0;l=u();)r.push(l);else if(16&a){var s=Ld(n,t);if(Array.isArray(s)){var c;(c=r).push.apply(c,ea(s))}else{var d=uo(n[15]);ngDevMode&&Hr(d),Wd(d[1],d,s,r,!0)}}t=o?t.projectionNext:t.next}else t=o?t.projectionNext:t.next;return r}function Zd(e,n){for(var t=mr;t<e.length;t++){var r=e[t],o=r[1].firstChild;null!==o&&Wd(r[1],r,o,n)}e[7]!==e[0]&&n.push(e[7])}function qd(e){if(null!==e[25]){var n=!0,t=!1,r=void 0;try{for(var o,i=e[25][Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;a.impl.addSequence(a)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}e[25].length=0}}var $d=[];function Gd(e){var n;return null!==(n=e[24])&&void 0!==n?n:function(e){var n,t=null!==(n=$d.pop())&&void 0!==n?n:Object.create(Qd);return t.lView=e,t}(e)}var Qd=Ji(Yi({},pe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(e){oo(e.lView)},consumerOnSignalRead:function(){this.lView[24]=this}});var Yd=Ji(Yi({},pe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(e){for(var n=uo(e.lView);n&&!Jd(n[1]);)n=uo(n);n&&eo(n)},consumerOnSignalRead:function(){this.lView[24]=this}});function Jd(e){return 2!==e.type}function Xd(e){var n=function(){var n=!1,r=!0,o=!1,i=void 0;try{for(var a,u=function(){var e=a.value;if(!e.dirty)return"continue";n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run(function(){return e.run()})},l=e[23][Symbol.iterator]();!(r=(a=l.next()).done);r=!0)u()}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}t=n&&!!(8192&e[2])};if(null!==e[23])for(var t=!0;t;)n()}function Kd(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[10].rendererFactory,o=!!ngDevMode&&Eo();o||(null===(n=r.begin)||void 0===n||n.call(r));try{!function(e,n){var t=Ao();try{if(Po(!0),of(e,n),ngDevMode&&Oo())return;for(var r=0;to(e);){if(100===r)throw new We(103,ngDevMode&&"Infinite change detection while trying to refresh views. There may be components which each cause the other to require a refresh, causing an infinite loop.");r++,of(e,1)}}finally{Po(t)}}(e,t)}finally{var i;if(!o)null===(i=r.end)||void 0===i||i.call(r)}}function ef(e,n,t,r){if(ngDevMode&&un(Yr(n),!1,"Should be run in update mode"),!Ir(n)){var o=n[2],i=ngDevMode&&Eo(),a=ngDevMode&&Oo();Go(n);var u,l=!0,s=null,c=null;i||(Jd(e)?s=me(c=Gd(n)):null===he()?(l=!1,c=function(e){var n,t=null!==(n=e[24])&&void 0!==n?n:Object.create(Yd);return t.lView=e,t}(n),s=me(c)):n[24]&&(Me(n[24]),n[24]=null));try{Kr(n),Vo(e.bindingStartIndex),null!==t&&Jc(e,n,t,2,r);var d=!(3&~o);if(!i)if(d){var f=e.preOrderCheckHooks;null!==f&&Ba(n,f,null)}else{var v=e.preOrderHooks;null!==v&&za(n,v,0,null),Ua(n,0)}if(a||function(e){for(var n=dl(e);null!==n;n=fl(n))if(2&n[2]){var t=n[9];ngDevMode&&pn(t,"Transplanted View flags set but missing MOVED_VIEWS");for(var r=0;r<t.length;r++){eo(t[r])}}}(n),Xd(n),nf(n,0),null!==e.contentQueries&&Yl(e,n),!i)if(d){var h=e.contentCheckHooks;null!==h&&Ba(n,h)}else{var p=e.contentHooks;null!==p&&za(n,p,1),Ua(n,1)}!function(e,n){var t=e.hostBindingOpCodes;if(null===t)return;try{for(var r=0;r<t.length;r++){var o=t[r];if(o<0)ni(~o);else{var i=o,a=t[++r],u=t[++r];Bo(a,i);var l=n[i];La(24,l),u(2,l),La(25,l)}}}finally{ni(-1)}}(e,n);var g=e.components;null!==g&&af(n,g,0);var y=e.viewQuery;if(null!==y&&Jl(2,y,r),!i)if(d){var m=e.viewCheckHooks;null!==m&&Ba(n,m)}else{var w=e.viewHooks;null!==w&&za(n,w,2),Ua(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){var b=!0,M=!1,D=void 0;try{for(var k,_=n[22][Symbol.iterator]();!(b=(k=_.next()).done);b=!0){(0,k.value)()}}catch(e){M=!0,D=e}finally{try{b||null==_.return||_.return()}finally{if(M)throw D}}n[22]=null}i||(qd(n),n[2]&=-73)}catch(e){throw i||oo(n),e}finally{null!==c&&(we(c,s),l&&(u=c).lView[24]!==u&&(u.lView=null,$d.push(u))),Ko()}}}function nf(e,n){for(var t=dl(e);null!==t;t=fl(t))for(var r=mr;r<t.length;r++){rf(t[r],n)}}function tf(e,n,t){ngDevMode&&un(Yr(e),!1,"Should be run in update mode"),La(18);var r=Qr(n,e);rf(r,t),La(19,r[8])}function rf(e,n){Jr(e)&&of(e,n)}function of(e,n){var t=ngDevMode&&Eo(),r=e[1],o=e[2],i=e[24],a=!!(0===n&&16&o);if(a||(a=!(!(64&o&&0===n)||t)),a||(a=!!(1024&o)),a||(a=!(!(null==i?void 0:i.dirty)||!be(i))),a||(a=!(!ngDevMode||!Oo())),i&&(i.dirty=!1),e[2]&=-9217,a)ef(r,e,r.template,e[8]);else if(8192&o){t||Xd(e),nf(e,1);var u=r.components;null!==u&&af(e,u,1),t||qd(e)}}function af(e,n,t){for(var r=0;r<n.length;r++)tf(e,n[r],t)}function uf(e,n){var t,r=Ao()?64:1088;for(null===(t=e[10].changeDetectionScheduler)||void 0===t||t.notify(n);e;){e[2]|=r;var o=uo(e);if(xr(e)&&!o)return e;e=o}return null}function lf(e,n,t,r){ngDevMode&&Pr(n);var o=[e,!0,0,n,null,r,null,t,null,null];return ngDevMode&&un(o.length,mr,"Should allocate correct number of slots for LContainer header."),o}function sf(e,n){var t=mr+n;if(t<e.length){var r=e[t];return ngDevMode&&Pr(r),r}}function cf(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=n[1];if(function(e,n,t,r){ngDevMode&&Pr(n),ngDevMode&&Nr(t);var o=mr+r,i=t.length;r>0&&(t[o-1][4]=n);r<i-mr?(n[4]=t[o],bt(t,mr+r,n)):(t.push(n),n[4]=null);n[3]=t;var a=n[16];null!==a&&t!==a&&vf(a,n);var u=n[18];null!==u&&u.insertView(e);ro(n),n[2]|=128}(o,n,e,t),r){var i=Hd(t,e),a=n[11],u=a.parentNode(e[7]);null!==u&&function(e,n,t,r,o,i){r[0]=o,r[5]=n,zd(e,r,t,1,o,i)}(o,e[5],a,n,u,i)}var l=n[6];null!==l&&null!==l.firstChild&&(l.firstChild=null)}function df(e,n){var t=ff(e,n);return void 0!==t&&Id(t[1],t),t}function ff(e,n){if(!(e.length<=mr)){var t=mr+n,r=e[t];if(r){var o=r[16];null!==o&&o!==e&&xd(o,r),n>0&&(e[t-1][4]=r[4]);var i=Mt(e,mr+n);kd(r[1],r);var a=i[18];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function vf(e,n){ngDevMode&&pn(n,"LView required"),ngDevMode&&Nr(e);var t=e[9],r=n[3];if(ngDevMode&&pn(r,"missing parent"),wr(r))e[2]|=2;else{var o=r[3][15];ngDevMode&&pn(o,"Missing insertedComponentLView");var i=n[15];ngDevMode&&pn(i,"Missing declaredComponentLView"),i!==o&&(e[2]|=2)}null===t?e[9]=[n]:t.push(n)}var hf=function(){function e(n,t){Li(this,e),Ui(this,"_lView",void 0),Ui(this,"_cdRefInjectingView",void 0),Ui(this,"_appRef",null),Ui(this,"_attachedToViewContainer",!1),Ui(this,"exhaustive",void 0),this._lView=n,this._cdRefInjectingView=t}return zi(e,[{key:"rootNodes",get:function(){var e=this._lView,n=e[1];return Wd(n,e,n.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(e){ngDevMode&&console.warn("Angular: Replacing the `context` object of an `EmbeddedViewRef` is deprecated."),this._lView[8]=e}},{key:"destroyed",get:function(){return Ir(this._lView)}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(br(e)){var n=e[8],t=n?n.indexOf(this):-1;t>-1&&(ngDevMode&&un(t,e.indexOf(this._lView)-mr,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),ff(e,t),Mt(n,t))}this._attachedToViewContainer=!1}Id(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){io(this._lView,e)}},{key:"markForCheck",value:function(){uf(this._cdRefInjectingView||this._lView,4)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){ro(this._lView),this._lView[2]|=128}},{key:"detectChanges",value:function(){this._lView[2]|=1024,Kd(this._lView)}},{key:"checkNoChanges",value:function(){if(ngDevMode){try{var e;null!==(e=this.exhaustive)&&void 0!==e||(this.exhaustive=this._lView[9].get(wd,md))}catch(e){this.exhaustive=md}!function(e,n){No(n?co.Exhaustive:co.OnlyDirtyViews);try{Kd(e)}finally{No(co.Off)}}(this._lView,this.exhaustive)}}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new We(902,ngDevMode&&"This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null;var e=xr(this._lView),n=this._lView[16];null===n||e||xd(n,this._lView),_d(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new We(902,ngDevMode&&"This view is already attached to a ViewContainer!");this._appRef=e;var n=xr(this._lView),t=this._lView[16];null===t||n||vf(t,this._lView),ro(this._lView)}}]),e}(),pf=function(){function e(n,t,r){Li(this,e),Ui(this,"_declarationLView",void 0),Ui(this,"_declarationTContainer",void 0),Ui(this,"elementRef",void 0),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}return zi(e,[{key:"ssrId",get:function(){var e;return(null===(e=this._declarationTContainer.tView)||void 0===e?void 0:e.ssrId)||null}},{key:"createEmbeddedView",value:function(e,n){return this.createEmbeddedViewImpl(e,n)}},{key:"createEmbeddedViewImpl",value:function(e,n,t){var r=hd(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:t});return new hf(r)}}]),e}();function gf(e,n){return 4&e.type?(ngDevMode&&pn(e.tView,"TView must be allocated"),new pf(n,e,Lu(e,n))):null}Ui(pf,"__NG_ELEMENT_ID__",function(){return gf(ko(),wo())});var yf="<-- AT THIS LOCATION";function mf(e){if(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e){var r="During hydration, Angular expected an element to be present at this location.\n\n",o="",i="";throw null!==n&&null!==t&&(o=function(e,n){var t=" ",r="";n.prev?(r+=t+"…\n",r+=t+bf(n.prev)+"\n"):n.type&&12&n.type&&(r+=t+"…\n");r+=t+bf(n)+" ".concat(yf,"\n"),r+=t+"…\n";var o=n.type?Ed(e[1],n,e):null;o&&(r=Mf(o,"\n"+r));return r}(n,t),i=Df(),$l(Ur(n[0]),o,"")),new We(-502,"".concat(r).concat(o,"\n\n").concat(i))}}(e),!e.nextSibling){var n="Actual DOM is:\n\n".concat(function(e){var n=" ",t="",r=e;r.previousSibling&&(t+=n+"…\n",t+=n+Mf(r.previousSibling)+"\n");t+=n+Mf(r)+" ".concat(yf,"\n"),e.nextSibling&&(t+=n+"…\n");e.parentNode&&(t=Mf(r.parentNode,"\n"+t));return t}(e),"\n\n"),t="During hydration Angular expected more sibling nodes to be present.\n\n"+n+Df();throw $l(e,"",n),new We(-501,t)}}var wf=new Set(["ngh","ng-version","ng-server-context"]);function bf(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"…";switch(e.type){case 1:var t=e.value?"(".concat(e.value,")"):"";return"#text".concat(t);case 2:var r=function(e){var n=[];if(e.attrs)for(var t=0;t<e.attrs.length;){var r=e.attrs[t++];if("number"==typeof r)break;var o=e.attrs[t++];n.push("".concat(r,'="').concat(kf(o),'"'))}return n.join(" ")}(e),o=e.value.toLowerCase();return"<".concat(o).concat(r?" "+r:"",">").concat(n,"</").concat(o,">");case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:var i=function(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";case 128:return"@let";default:return"<unknown>"}}(e.type);return"#node(".concat(i,")")}}function Mf(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"…",t=e;switch(t.nodeType){case Node.ELEMENT_NODE:var r=t.tagName.toLowerCase(),o=function(e){for(var n=[],t=0;t<e.attributes.length;t++){var r=e.attributes[t];wf.has(r.name)||n.push("".concat(r.name,'="').concat(kf(r.value),'"'))}return n.join(" ")}(t);return"<".concat(r).concat(o?" "+o:"",">").concat(n,"</").concat(r,">");case Node.TEXT_NODE:var i=t.textContent?kf(t.textContent):"";return"#text".concat(i?"(".concat(i,")"):"");case Node.COMMENT_NODE:var a;return"\x3c!-- ".concat(kf(null!==(a=t.textContent)&&void 0!==a?a:"")," --\x3e");default:return"#node(".concat(t.nodeType,")")}}function Df(e){return"To fix this problem:\n"+" * check ".concat("corresponding"," component for hydration-related issues\n")+" * check to see if your template has valid HTML structure\n * or skip hydration by adding the `ngSkipHydration` attribute to its host node in a template\n\n"}function kf(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e?(e=function(e){return e.replace(/\s+/gm,"")}(e)).length>n?"".concat(e.substring(0,n-1),"…"):e:""}function _f(e,n,t){var r=n.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Ad(e,0,t):(ngDevMode&&mn(t,o),Ur(t[o]))}function xf(e,n,t,r,o){var i=n.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&yn(r);var a=r,u=null;if(3&n.type||(u=a,a=o),null!==a&&-1===n.componentOffset)for(var l=1;l<i.length;l++){Vc(e,a,t[i[l]],u,!1)}}}function If(e,n,t,r,o){ngDevMode&&0!==n&&hn(n,yr,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&128!==e&&gn("Expected TNodeType to have only a single type selected, but got ".concat(Qa(e),"."))}(t);var i=e.data[n];if(null===i)i=Sf(e,n,t,r,o),fo.lFrame.inI18n&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;var a=xo();i.injectorIndex=null===a?-1:a.injectorIndex,ngDevMode&&Cr(i,e),ngDevMode&&un(n,i.index,"Expecting same index")}return Io(i,!0),i}function Sf(e,n,t,r,o){var i=_o(),a=So(),u=a?i:i&&i.parent,l=e.data[n]=function(e,n,t,r,o,i){ngDevMode&&0!==r&&hn(r,yr,"TNodes can't be in the LView header."),ngDevMode&&cn(i,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&n&&Cr(n,e);var a=n?n.injectorIndex:-1,u=0;go()&&(u|=128);var l={type:t,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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};ngDevMode&&Object.seal(l);return l}(e,u,t,n,r,o);return function(e,n,t,r){null===e.firstChild&&(e.firstChild=n);null!==t&&(r?null==t.child&&null!==n.parent&&(t.child=n):null===t.next&&(t.next=n,n.prev=t))}(e,l,i,a),l}function Cf(e,n){if(ngDevMode&&un(n.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(n),e.length>1)for(var t=e.length-2;t>=0;t--){var r=e[t];Tf(r)||Ef(r,n)&&null===Of(r)&&Nf(r,n.index)}}function Tf(e){return!(64&e.type)}function Ef(e,n){return Tf(n)||e.index>n.index}function Of(e){var n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function Nf(e,n){var t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(Rd(_f,xf),e.insertBeforeIndex=n)}function Af(e,n){var t=e.data[n];if(null===t||"string"==typeof t)return null;!ngDevMode||t.hasOwnProperty("tView")||t.hasOwnProperty("currentCaseLViewIndex")||gn("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+t);var r=t.hasOwnProperty("currentCaseLViewIndex")?t:t.value;return ngDevMode&&Er(r),r}function Pf(e,n,t){var r=Sf(e,t,64,null,null);return Cf(n,r),r}function jf(e,n){var t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function Rf(e){return e>>>17}function Vf(e){return(131070&e)>>>1}function Ff(e){return 1&e}function Lf(e,n,t){e.index=0;var r=jf(n,t);null!==r?(ngDevMode&&rn(r,0,n.cases.length-1),e.removes=n.remove[r]):e.removes=Tt}function Hf(e){if(e.index<e.removes.length){var n=e.removes[e.index++];if(ngDevMode&&tn(n,"Expecting OpCode number"),n>0){var t=e.lView[n];return ngDevMode&&yn(t),t}e.stack.push(e.index,e.removes);var r=~n,o=e.lView[1].data[r];return ngDevMode&&Er(o),Lf(e,o,e.lView),Hf(e)}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Hf(e))}function Bf(){var e={stack:[],index:-1};return function(n,t){for(e.lView=t;e.stack.length;)e.stack.pop();return ngDevMode&&Sr(n,t),Lf(e,n.value,t),Hf.bind(null,e)}}function zf(e,n,t){var r=!0,o=!1,i=void 0;try{for(var a,u=t.node.cases[t.case][Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value,s=n.get(l.index-yr);s&&Hc(e,s,!1)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}function Uf(e){var n,t=null!==(n=e[6])&&void 0!==n?n:[],r=e[3][11],o=[],i=!0,a=!1,u=void 0;try{for(var l,s=t[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;void 0!==c.data.di?o.push(c):(Wf(c,r),ngDevMode&&ngDevMode.dehydratedViewsRemoved++)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}e[6]=o}function Wf(e,n){var t=0,r=e.firstChild;if(r)for(var o=e.data.r;t<o;){ngDevMode&&mf(r);var i=r.nextSibling;Hc(n,r,!1),r=i,t++}}function Zf(e){Uf(e);var n=e[0];wr(n)&&qf(n);for(var t=mr;t<e.length;t++)qf(e[t])}function qf(e){!function(e){var n=e[6];if(n){var t=n.i18nNodes,r=n.dehydratedIcuData;if(t&&r){var o=e[11],i=!0,a=!1,u=void 0;try{for(var l,s=r.values()[Symbol.iterator]();!(i=(l=s.next()).done);i=!0)zf(o,t,l.value)}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}}n.i18nNodes=void 0,n.dehydratedIcuData=void 0}}(e);for(var n=e[1],t=yr;t<n.bindingStartIndex;t++){if(br(e[t]))Zf(e[t]);else wr(e[t])&&qf(e[t])}}function $f(e,n,t,r){null!==e&&(t.cleanup(n),Zf(e.lContainer),function(e){var n=e._views,t=!0,r=!1,o=void 0;try{for(var i,a=n[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=Ul(i.value);null!==u&&null!==u[0]&&(wr(u)?qf(u):Zf(u),ngDevMode&&ngDevMode.dehydratedViewsCleanupRuns++)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}(r))}var Gf=function e(){Li(this,e)},Qf=function e(){Li(this,e)},Yf=(Oi=function e(){Li(this,e)},Ui(Oi,"NULL",new(function(){function e(){Li(this,e)}return zi(e,[{key:"resolveComponentFactory",value:function(e){throw new We(917,"undefined"!=typeof ngDevMode&&ngDevMode&&"No component factory found for ".concat(Ye(e),"."))}}]),e}())),Oi),Jf=function e(){Li(this,e)};Ui(function e(){Li(this,e),Ui(this,"destroyNode",null)},"__NG_ELEMENT_ID__",function(){return e=wo(),(wr(n=Qr(ko().index,e))?n:e)[11];var e,n});var Xf=function e(){Li(this,e)};function Kf(e){return void 0!==e.ngModule}function ev(e){return!!Pt(e)}function nv(e){return!!Lt(e)}function tv(e){return!!Ft(e)}function rv(e){return!!Rt(e)}function ov(e,n){if(nn(e)&&!(e=en(e)))throw new Error('Expected forwardRef function, imported from "'.concat(Gn(n),'", to return a standalone entity or NgModule but got "').concat(Gn(e)||e,'".'));if(null==Pt(e)){var t=Rt(e)||Ft(e)||Lt(e);if(null==t)throw Kf(e)?new Error('A module with providers was imported from "'.concat(Gn(n),'". Modules with providers are not supported in standalone components imports.')):new Error('The "'.concat(Gn(e),'" type, imported from "').concat(Gn(n),'", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?'));if(!t.standalone)throw new Error('The "'.concat(Gn(e),'" ').concat((r=e,Rt(r)?"component":Ft(r)?"directive":Lt(r)?"pipe":"type"),', imported from "').concat(Gn(n),'", is not standalone. Did you forget to add the standalone: true flag?'))}var r}function iv(e,n){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;n.add(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}Ui(Xf,"ɵprov",Mn({token:Xf,providedIn:"root",factory:function(){return null}}));var av=new(function(){function e(){Li(this,e),Ui(this,"ownerNgModule",new Map),Ui(this,"ngModulesWithSomeUnresolvedDecls",new Set),Ui(this,"ngModulesScopeCache",new Map),Ui(this,"standaloneComponentsScopeCache",new Map)}return zi(e,[{key:"resolveNgModulesDecls",value:function(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){var e=!0,n=!1,t=void 0;try{for(var r,o=this.ngModulesWithSomeUnresolvedDecls[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value,a=Pt(i);if(null==a?void 0:a.declarations){var u=!0,l=!1,s=void 0;try{for(var c,d=vc(a.declarations)[Symbol.iterator]();!(u=(c=d.next()).done);u=!0){var f=c.value;rv(f)&&this.ownerNgModule.set(f,i)}}catch(e){l=!0,s=e}finally{try{u||null==d.return||d.return()}finally{if(l)throw s}}}}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}this.ngModulesWithSomeUnresolvedDecls.clear()}}},{key:"getComponentDependencies",value:function(e,n){this.resolveNgModulesDecls();var t=Rt(e);if(null===t)throw new Error("Attempting to get component dependencies for a type that is not a component: ".concat(e));if(t.standalone){var r=this.getStandaloneComponentScope(e,n);return r.compilation.isPoisoned?{dependencies:[]}:{dependencies:ea(r.compilation.directives).concat(ea(r.compilation.pipes),ea(r.compilation.ngModules))}}if(!this.ownerNgModule.has(e))return{dependencies:[]};var o=this.getNgModuleScope(this.ownerNgModule.get(e));return o.compilation.isPoisoned?{dependencies:[]}:{dependencies:ea(o.compilation.directives).concat(ea(o.compilation.pipes))}}},{key:"registerNgModule",value:function(e,n){if(!ev(e))throw new Error("Attempting to register a Type which is not NgModule as NgModule: ".concat(e));this.ngModulesWithSomeUnresolvedDecls.add(e)}},{key:"clearScopeCacheFor",value:function(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}},{key:"getNgModuleScope",value:function(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);var n=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,n),n}},{key:"computeNgModuleScope",value:function(e){var n=jt(e),t={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}},r=!0,o=!1,i=void 0;try{for(var a,u=vc(n.imports)[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;if(ev(l)){var s=this.getNgModuleScope(l);iv(s.exported.directives,t.compilation.directives),iv(s.exported.pipes,t.compilation.pipes)}else{if(!Ht(l)){t.compilation.isPoisoned=!0;break}if(tv(l)||rv(l))t.compilation.directives.add(l);else{if(!nv(l))throw new We(980,"The standalone imported type is neither a component nor a directive nor a pipe");t.compilation.pipes.add(l)}}}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}if(!t.compilation.isPoisoned){var c=!0,d=!1,f=void 0;try{for(var v,h=vc(n.declarations)[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var p=v.value;if(ev(p)||Ht(p)){t.compilation.isPoisoned=!0;break}nv(p)?t.compilation.pipes.add(p):t.compilation.directives.add(p)}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}var g=!0,y=!1,m=void 0;try{for(var w,b=vc(n.exports)[Symbol.iterator]();!(g=(w=b.next()).done);g=!0){var M=w.value;if(ev(M)){var D=this.getNgModuleScope(M);iv(D.exported.directives,t.exported.directives),iv(D.exported.pipes,t.exported.pipes),iv(D.exported.directives,t.compilation.directives),iv(D.exported.pipes,t.compilation.pipes)}else nv(M)?t.exported.pipes.add(M):t.exported.directives.add(M)}}catch(e){y=!0,m=e}finally{try{g||null==b.return||b.return()}finally{if(y)throw m}}return t}},{key:"getStandaloneComponentScope",value:function(e,n){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);var t=this.computeStandaloneComponentScope(e,n);return this.standaloneComponentsScopeCache.set(e,t),t}},{key:"computeStandaloneComponentScope",value:function(e,n){var t={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}},r=!0,o=!1,i=void 0;try{for(var a,u=mt(null!=n?n:[])[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=en(a.value);try{ov(l,e)}catch(e){return t.compilation.isPoisoned=!0,t}if(ev(l)){t.compilation.ngModules.add(l);var s=this.getNgModuleScope(l);if(s.exported.isPoisoned)return t.compilation.isPoisoned=!0,t;iv(s.exported.directives,t.compilation.directives),iv(s.exported.pipes,t.compilation.pipes)}else if(nv(l))t.compilation.pipes.add(l);else{if(!tv(l)&&!rv(l))return t.compilation.isPoisoned=!0,t;t.compilation.directives.add(l)}}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return t}},{key:"isOrphanComponent",value:function(e){var n=Rt(e);return!(!n||n.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}}]),e}()),uv={},lv=function(){function e(n,t){Li(this,e),Ui(this,"injector",void 0),Ui(this,"parentInjector",void 0),this.injector=n,this.parentInjector=t}return zi(e,[{key:"get",value:function(e,n,t){var r=this.injector.get(e,uv,t);return r!==uv||n===uv?r:this.parentInjector.get(e,n,t)}}]),e}();function sv(e,n,t){ngDevMode&&jr(bo(),"Expecting to be called in first template pass only");var r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(var a=0;a<n.length;a++){var u=n[a];if("number"==typeof u)i=u;else if(1==i)o=Je(o,u);else if(2==i){r=Je(r,u+": "+n[++a]+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function cv(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=wo();if(null===r)return ngDevMode&&(n=cv,ngDevMode&&ln(Ln,n,"Calling ɵɵinject would cause infinite recursion")),st(e,t);var o=gu(ko(),r,en(e),t);return ngDevMode&&Rn(e,o,t),o}function dv(){var e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function fv(e,n,t,r,o){ngDevMode&&jr(e);var i=null===r?null:{"":-1},a=o(e,t);if(null!==a){var u=a,l=null,s=null,c=!0,d=!1,f=void 0;try{for(var v,h=a[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var p=v.value;if(null!==p.resolveHostDirectives){var g;u=(g=Ki(p.resolveHostDirectives(a),3))[0],l=g[1],s=g[2];break}}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}ngDevMode&&function(e){if(e.length<2)return;var n=new Set,t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;if(n.has(u))throw new We(309,"Directive ".concat(u.type.name," matches multiple times on the same element. ")+"Directives can only match an element once.");n.add(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}(u),function(e,n,t,r,o,i,a){ngDevMode&&jr(e);for(var u=r.length,l=!1,s=0;s<u;s++){var c=r[s];!l&&_r(c)&&(l=!0,vv(e,t,s)),vu(su(t,n),e,c.type)}!function(e,n,t){ngDevMode&&ln(t,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,u);for(var d=0;d<u;d++){var f=r[d];f.providersResolver&&f.providersResolver(f)}var v=!1,h=!1,p=qc(e,n,u,null);ngDevMode&&sn(p,t.directiveStart,"TNode.directiveStart should point to just allocated space"),u>0&&(t.directiveToIndex=new Map);for(var g=0;g<u;g++){var y=r[g];if(t.mergedAttrs=eu(t.mergedAttrs,y.hostAttrs),mv(e,t,n,p,y),wv(p,y,o),null!==a&&a.has(y)){var m=Ki(a.get(y),2),w=m[0],b=m[1];t.directiveToIndex.set(y.type,[p,w+t.directiveStart,b+t.directiveStart])}else null!==i&&i.has(y)||t.directiveToIndex.set(y.type,p);null!==y.contentQueries&&(t.flags|=4),null===y.hostBindings&&null===y.hostAttrs&&0===y.hostVars||(t.flags|=64);var M,D,k,_,x=y.type.prototype;if(!v&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck))(null!==(D=(M=e).preOrderHooks)&&void 0!==D?D:M.preOrderHooks=[]).push(t.index),v=!0;if(!h&&(x.ngOnChanges||x.ngDoCheck))(null!==(_=(k=e).preOrderCheckHooks)&&void 0!==_?_:k.preOrderCheckHooks=[]).push(t.index),h=!0;p++}!function(e,n,t){ngDevMode&&jr(e);for(var r=n.directiveStart;r<n.directiveEnd;r++){var o=e.data[r];if(null!==t&&t.has(o)){var i=t.get(o);pv(0,n,i,r),pv(1,n,i,r),yv(n,r,!0)}else hv(0,n,o,r),hv(1,n,o,r),yv(n,r,!1)}}(e,t,i)}(e,n,t,u,i,l,s)}null!==i&&null!==r&&function(e,n,t){for(var r=e.localNames=[],o=0;o<n.length;o+=2){var i=t[n[o+1]];if(null==i)throw new We(-301,ngDevMode&&"Export of name '".concat(n[o+1],"' not found!"));r.push(n[o],i)}}(t,r,i)}function vv(e,n,t){var r,o;ngDevMode&&jr(e),ngDevMode&&vn(t,-1,"componentOffset must be great than -1"),n.componentOffset=t,(null!==(o=(r=e).components)&&void 0!==o?o:r.components=[]).push(n.index)}function hv(e,n,t,r){var o=0===e?t.inputs:t.outputs;for(var i in o)if(o.hasOwnProperty(i)){var a,u,l,s,c,d,f,v=void 0;if(0===e)v=null!==(s=(l=n).inputs)&&void 0!==s?s:l.inputs={};else v=null!==(d=(c=n).outputs)&&void 0!==d?d:c.outputs={};null!==(f=(a=v)[u=i])&&void 0!==f||(a[u]=[]),v[i].push(r),gv(n,i)}}function pv(e,n,t,r){var o=0===e?t.inputs:t.outputs;for(var i in o)if(o.hasOwnProperty(i)){var a,u,l,s,c,d,f,v=o[i],h=void 0;if(0===e)h=null!==(s=(l=n).hostDirectiveInputs)&&void 0!==s?s:l.hostDirectiveInputs={};else h=null!==(d=(c=n).hostDirectiveOutputs)&&void 0!==d?d:c.hostDirectiveOutputs={};null!==(f=(a=h)[u=v])&&void 0!==f||(a[u]=[]),h[v].push(r,i),gv(n,v)}}function gv(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function yv(e,n,t){var r,o,i,a=e.attrs,u=e.inputs,l=e.hostDirectiveInputs;if(null===a||!t&&null===u||t&&null===l||Mc(e))return null!==(i=(o=e).initialInputs)&&void 0!==i||(o.initialInputs=[]),void e.initialInputs.push(null);for(var s,c=null,d=0;d<a.length;){var f=a[d];if(0!==f)if(5!==f){if("number"==typeof f)break;if(!t&&u.hasOwnProperty(f)){var v=u[f],h=!0,p=!1,g=void 0;try{for(var y,m=v[Symbol.iterator]();!(h=(y=m.next()).done);h=!0){if(y.value===n){null!=c||(c=[]),c.push(f,a[d+1]);break}}}catch(e){p=!0,g=e}finally{try{h||null==m.return||m.return()}finally{if(p)throw g}}}else if(t&&l.hasOwnProperty(f))for(var w=l[f],b=0;b<w.length;b+=2)if(w[b]===n){null!=c||(c=[]),c.push(w[b+1],a[d+1]);break}d+=2}else d+=2;else d+=4}null!==(s=(r=e).initialInputs)&&void 0!==s||(r.initialInputs=[]),e.initialInputs.push(c)}function mv(e,n,t,r,o){ngDevMode&&hn(r,yr,"Must be in Expando section"),e.data[r]=o;var i=o.factory||(o.factory=yt(o.type,!0)),a=new Ga(i,_r(o),cv);e.blueprint[r]=a,t[r]=a,function(e,n,t,r,o){ngDevMode&&jr(e);var i=o.hostBindings;if(i){var a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);var u=~n.index;(function(e){var n=e.length;for(;n>0;){var t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=u&&a.push(u),a.push(t,r,i)}}(e,n,r,qc(e,t,o.hostVars,Nc),o)}function wv(e,n,t){if(t){if(n.exportAs)for(var r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;_r(n)&&(t[""]=e)}}function bv(e,n,t,r,o,i,a,u){ngDevMode&&jr(n);var l=n.consts,s=If(n,e,2,r,Xr(l,a));return i&&fv(n,t,s,Xr(l,u),o),s.mergedAttrs=eu(s.mergedAttrs,s.attrs),null!==s.attrs&&sv(s,s.attrs,!1),null!==s.mergedAttrs&&sv(s,s.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,s),s}function Mv(e,n){ngDevMode&&jr(e),Ha(e,n),Mr(n)&&e.queries.elementEnd(n)}function Dv(e){return!!kv(e)&&(Array.isArray(e)||!$i(e,Map)&&Symbol.iterator in e)}function kv(e){return null!==e&&("function"==typeof e||"object"===(void 0===e?"undefined":na(e)))}function _v(e,n){var t=Dv(e),r=Dv(n);if(t&&r)return function(e,n,t){for(var r=e[Symbol.iterator](),o=n[Symbol.iterator]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!t(i.value,a.value))return!1}}(e,n,_v);var o=e&&("object"===(void 0===e?"undefined":na(e))||"function"==typeof e),i=n&&("object"===(void 0===n?"undefined":na(n))||"function"==typeof n);return!(t||!o||r||!i)||Object.is(e,n)}function xv(e,n,t){return e[n]=t}function Iv(e,n){return ngDevMode&&mn(e,n),ngDevMode&&cn(e[n],Nc,"Stored value should never be NO_CHANGE."),e[n]}function Sv(e,n,t){if(ngDevMode&&dn(n,e.length,"Slot should have been initialized to NO_CHANGE"),t===Nc)return!1;var r=e[n];if(Object.is(r,t))return!1;if(ngDevMode&&Eo()){var o=r!==Nc?r:void 0;if(!_v(o,t)){var i=function(e,n,t,r){var o=e[1].data,i=o[n];if("string"==typeof i)return i.indexOf(fc)>-1?yc(e,n,n,i,r):{propName:i,oldValue:t,newValue:r};if(null===i){for(var a=n-1;"string"!=typeof o[a]&&null===o[a+1];)a--;var u=o[a];if("string"==typeof u){var l=u.match(new RegExp(fc,"g"));if(l&&l.length-1>n-a)return yc(e,a,n,u,r)}}return{propName:void 0,oldValue:t,newValue:r}}(e,n,o,t);!function(e,n,t,r,o){var i,a=oc(o),u=null==a||null===(i=a.type)||void 0===i?void 0:i.name,l=r?" for '".concat(r,"'"):"",s="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value".concat(l,": '").concat(gc(n),"'. Current value: '").concat(gc(t),"'.").concat(u?" Expression location: ".concat(u," component"):"");throw e&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new We(-100,s)}(r===Nc,i.oldValue,i.newValue,i.propName,e)}return!1}return e[n]=t,!0}function Cv(e,n,t,r){var o=Sv(e,n,t);return Sv(e,n+1,r)||o}function Tv(e,n,t,r,o){var i=Cv(e,n,t,r);return Sv(e,n+2,o)||i}function Ev(e,n,t,r,o,i){var a=Cv(e,n,t,r);return Cv(e,n+2,o,i)||a}function Ov(e,n,t){return function r(o){uf(Dr(e)?Qr(e.index,n):n,5);for(var i=n[8],a=Nv(n,i,t,o),u=r.__ngNextListenerFn__;u;)a=Nv(n,i,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function Nv(e,n,t,r){var o=ve(null);try{return La(6,n,t),!1!==t(r)}catch(n){return cd(e,n),!1}finally{La(7,n,t),ve(o)}}function Av(e,n,t,r,o,i,a,u){ngDevMode&&cn(u,a,"Expected wrapped and original listeners to be different.");var l=kr(e),s=!1,c=null;if(!r&&l&&(c=function(e,n,t,r){var o=e.cleanup;if(null!=o)for(var i=0;i<o.length-1;i+=2){var a=o[i];if(a===t&&o[i+1]===r){var u=n[7],l=o[i+2];return u&&u.length>l?u[l]:null}"string"==typeof a&&(i+=2)}return null}(n,t,i,e.index)),null!==c){(c.__ngLastListenerFn__||c).__ngNextListenerFn__=a,c.__ngLastListenerFn__=a,s=!0}else{var d=Zr(e,t),f=r?r(d):d,v=o.listen(f,i,u);Pv(r?function(n){return r(Ur(n[e.index]))}:e.index,n,t,i,u,v,!1)}return s}function Pv(e,n,t,r,o,i,a){var u=n.firstCreatePass?so(n):null,l=lo(t),s=l.length;l.push(o,i),u&&u.push(r,e,s,(s+1)*(a?-1:1))}function jv(e,n,t,r,o,i){ngDevMode&&mn(n,t);var a,u=n[t],l=n[1],s=l.data[t].outputs[r],c=u[s];if(ngDevMode&&(null==(a=c)||"function"!=typeof a.subscribe))throw new Error("@Output ".concat(s," not initialized in '").concat(u.constructor.name,"'."));var d=c.subscribe(i);Pv(e.index,l,n,o,i,d,!0)}
|
|
24
|
+
/*!
|
|
25
|
+
* @license
|
|
26
|
+
* Copyright Google LLC All Rights Reserved.
|
|
27
|
+
*
|
|
28
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
29
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
30
|
+
*/var Rv=Symbol("BINDING"),Vv=function(e){qi(t,e);var n=oa(t);function t(e){var r;return Li(this,t),Ui(Ri(r=n.call(this)),"ngModule",void 0),r.ngModule=e,r}return zi(t,[{key:"resolveComponentFactory",value:function(e){ngDevMode&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Type passed in is not ComponentType, it does not have 'ɵcmp' property.";Rt(e)||gn(n)}(e);var n=Rt(e);return new Lv(n,this.ngModule)}}]),t}(Yf);function Fv(e){var n;if(("undefined"==typeof ngJitMode||ngJitMode)&&(null===(n=e.debugInfo)||void 0===n?void 0:n.forbidOrphanRendering)&&av.isOrphanComponent(e.type))throw new We(981,"Orphan component found! Trying to render the component ".concat(function(e){var n,t=e[Hn]||null;return null!==t&&t.debugInfo?(n=t.debugInfo).filePath&&n.lineNumber?"".concat(n.className," (at ").concat(n.filePath,":").concat(n.lineNumber,")"):n.className:Gn(e)}(e.type)," without first loading the NgModule that declares it. It is recommended to make this component standalone in order to avoid this error. If this is not possible now, import the component's NgModule in the appropriate NgModule, or the standalone component in which you are trying to render this component. If this is a lazy import, load the NgModule lazily as well and use its module injector."))}var Lv=function(e){qi(t,e);var n=oa(t);function t(e,r){var o,i;return Li(this,t),Ui(Ri(o=n.call(this)),"componentDef",void 0),Ui(Ri(o),"ngModule",void 0),Ui(Ri(o),"selector",void 0),Ui(Ri(o),"componentType",void 0),Ui(Ri(o),"ngContentSelectors",void 0),Ui(Ri(o),"isBoundToModule",void 0),Ui(Ri(o),"cachedInputs",null),Ui(Ri(o),"cachedOutputs",null),o.componentDef=e,o.ngModule=r,o.componentType=e.type,o.selector=Ec(e.selectors),o.ngContentSelectors=null!==(i=e.ngContentSelectors)&&void 0!==i?i:[],o.isBoundToModule=!!r,o}return zi(t,[{key:"inputs",get:function(){var e;return null!==(e=this.cachedInputs)&&void 0!==e||(this.cachedInputs=function(e){return Object.keys(e).map(function(n){var t=Ki(e[n],3),r=t[0],o=t[1],i=t[2],a={propName:r,templateName:n,isSignal:0!==(o&Oc.SignalBased)};return i&&(a.transform=i),a})}(this.componentDef.inputs)),this.cachedInputs}},{key:"outputs",get:function(){var e;return null!==(e=this.cachedOutputs)&&void 0!==e||(this.cachedOutputs=function(e){return Object.keys(e).map(function(n){return{propName:e[n],templateName:n}})}(this.componentDef.outputs)),this.cachedOutputs}},{key:"create",value:function(e,n,t,r,o,i){La(22);var a,u,l=ve(null);try{var s=this.componentDef;ngDevMode&&Fv(s);var c=function(e,n,t,r){var o=e?["ng-version","20.0.0"]:function(e){for(var n,t=[],r=[],o=1,i=2;o<e.length;){var a=e[o];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++o]):8===i&&r.push(a);else{if(!_c(i))break;i=a}o++}return r.length&&(n=t).push.apply(n,[1].concat(ea(r))),t}(n.selectors[0]),i=null,a=null,u=0;if(t){var l=!0,s=!1,c=void 0;try{for(var d,f=t[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var v=d.value;u+=v[Rv].requiredVars,v.create&&(v.targetIdx=0,(null!=i?i:i=[]).push(v)),v.update&&(v.targetIdx=0,(null!=a?a:a=[]).push(v))}}catch(e){s=!0,c=e}finally{try{l||null==f.return||f.return()}finally{if(s)throw c}}}if(r)for(var h=0;h<r.length;h++){var p=r[h];if("function"!=typeof p){var g=!0,y=!1,m=void 0;try{for(var w,b=p.bindings[Symbol.iterator]();!(g=(w=b.next()).done);g=!0){var M=w.value;u+=M[Rv].requiredVars;var D=h+1;M.create&&(M.targetIdx=D,(null!=i?i:i=[]).push(M)),M.update&&(M.targetIdx=D,(null!=a?a:a=[]).push(M))}}catch(e){y=!0,m=e}finally{try{g||null==b.return||b.return()}finally{if(y)throw m}}}}var k=[n];if(r){var _=!0,x=!1,I=void 0;try{for(var S,C=r[Symbol.iterator]();!(_=(S=C.next()).done);_=!0){var T=S.value,E="function"==typeof T?T:T.type,O=ngDevMode?Vt(E):Ft(E);if(ngDevMode&&!O.standalone)throw new We(907,"The ".concat(Gn(E)," directive must be standalone in ")+"order to be applied to a dynamically-created component.");k.push(O)}}catch(e){x=!0,I=e}finally{try{_||null==C.return||C.return()}finally{if(x)throw I}}}var N=zc(0,null,function(e,n){if(!e&&!n)return null;return function(t){if(1&t&&e){var r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){a.value.create()}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}if(2&t&&n){var l=!0,s=!1,c=void 0;try{for(var d,f=n[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){d.value.update()}}catch(e){s=!0,c=e}finally{try{l||null==f.return||f.return()}finally{if(s)throw c}}}}}(i,a),1,u,k,null,null,null,[o],null);return N}(t,s,i,o),d=function(e,n,t){var r=$i(n,rr)?n:null==n?void 0:n.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new lv(t,r):t}(s,r||this.ngModule,e),f=function(e){var n=e.get(Jf,null);if(null===n)throw new We(407,ngDevMode&&"Angular was not able to inject a renderer (RendererFactory2). Likely this is due to a broken DI hierarchy. Make sure that any injector used to create this component has a correct parent.");var t=e.get(Xf,null),r=e.get(bi,null),o=!1;return("undefined"==typeof ngDevMode||ngDevMode)&&(o=e.get(Js,Ys)),{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:o}}(d),v=f.rendererFactory.createRenderer(null,s),h=t?function(e,n,t,r){var o=r.get(kl,Dl)||t===Wl.ShadowDom;return e.selectRootElement(n,o)}(v,t,s.encapsulation,d):(a=v,u=(s.selectors[0][0]||"div").toLowerCase(),Rc(a,u,"svg"===u?"svg":"math"===u?zr:null)),p=(null==i?void 0:i.some(Hv))||(null==o?void 0:o.some(function(e){return"function"!=typeof e&&e.bindings.some(Hv)})),g=Wc(null,c,null,512|Zc(s),null,null,f,v,d,null,null);g[26]=h,Go(g);var y=null;try{var m=bv(yr,c,g,"#host",function(){return c.directiveRegistry},!0,0);h&&(Bc(v,h,m),ol(h,g)),Xc(c,g,m),Xl(c,m,g),Mv(c,m),void 0!==n&&function(e,n,t){for(var r=e.projection=[],o=0;o<n.length;o++){var i=t[o];r.push(null!=i&&i.length?Array.from(i):null)}}(m,this.ngContentSelectors,n),y=Qr(m.index,g),g[8]=y[8],vd(c,g,null)}catch(e){throw null!==y&&Yu(y),Yu(g),e}finally{La(23),Ko()}return new Bv(this.componentType,g,!!p)}finally{ve(l)}}}]),t}(Qf);function Hv(e){var n=e[Rv].kind;return"input"===n||"twoWay"===n}var Bv=function(e){qi(t,e);var n=oa(t);function t(e,r,o){var i;return Li(this,t),Ui(Ri(i=n.call(this)),"_rootLView",void 0),Ui(Ri(i),"_hasInputBindings",void 0),Ui(Ri(i),"instance",void 0),Ui(Ri(i),"hostView",void 0),Ui(Ri(i),"changeDetectorRef",void 0),Ui(Ri(i),"componentType",void 0),Ui(Ri(i),"location",void 0),Ui(Ri(i),"previousInputValues",null),Ui(Ri(i),"_tNode",void 0),i._rootLView=r,i._hasInputBindings=o,i._tNode=qr(r[1],yr),i.location=Lu(i._tNode,r),i.instance=Qr(i._tNode.index,r)[8],i.hostView=i.changeDetectorRef=new hf(r,void 0),i.componentType=e,i}return zi(t,[{key:"setInput",value:function(e,n){if(this._hasInputBindings&&ngDevMode)throw new We(317,"Cannot call `setInput` on a component that is using the `inputBinding` or `twoWayBinding` functions.");var t,r=this._tNode;if(null!==(t=this.previousInputValues)&&void 0!==t||(this.previousInputValues=new Map),!this.previousInputValues.has(e)||!Object.is(this.previousInputValues.get(e),n)){var o=this._rootLView,i=dd(r,o[1],o,e,n);if(this.previousInputValues.set(e,n),uf(Qr(r.index,o),1),ngDevMode&&!i){var a=Gn(this.componentType),u="Can't set value of the '".concat(e,"' input on the '").concat(a,"' component. ");rc(u+="Make sure that the '".concat(e,"' property is annotated with @Input() or a mapped @Input('").concat(e,"') exists."))}}}},{key:"injector",get:function(){return new ku(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),t}(Gf);var zv=function e(){Li(this,e)};Ui(zv,"__NG_ELEMENT_ID__",function(){return qv(ko(),wo())});var Uv=function(e){qi(t,e);var n=oa(t);function t(e,r,o){var i;return Li(this,t),Ui(Ri(i=n.call(this)),"_lContainer",void 0),Ui(Ri(i),"_hostTNode",void 0),Ui(Ri(i),"_hostLView",void 0),i._lContainer=e,i._hostTNode=r,i._hostLView=o,i}return zi(t,[{key:"element",get:function(){return Lu(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new ku(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=fu(this._hostTNode,this._hostLView);if(tu(e)){var n=ou(e,this._hostLView),t=ru(e);ngDevMode&&Br(n,t);var r=n[1].data[t+8];return new ku(r,n)}return new ku(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var n=Wv(this._lContainer);return null!==n&&n[e]||null}},{key:"length",get:function(){return this._lContainer.length-mr}},{key:"createEmbeddedView",value:function(e,n,t){var r,o;"number"==typeof t?r=t:null!=t&&(r=t.index,o=t.injector);var i=(this._lContainer,e.ssrId,null),a=e.createEmbeddedViewImpl(n||{},o,i);return this.insertImpl(a,r,pd(this._hostTNode,i)),a}},{key:"createComponent",value:function(e,n,t,r,o,i,a){var u,l=e&&!Da(e);if(l)ngDevMode&&un("object"!==(void 0===n?"undefined":na(n)),!0,"It looks like Component factory was provided as the first argument and an options object as the second argument. This combination of arguments is incompatible. You can either change the first argument to provide Component type or change the second argument to be a number (representing an index at which to insert the new component's host view into this container)"),u=n;else{ngDevMode&&(pn(Rt(e),"Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator."),un("number"!=typeof n,!0,"It looks like Component type was provided as the first argument and a number (representing an index at which to insert the new component's host view into this container as the second argument. This combination of arguments is incompatible. Please use an object as the second argument instead."));var s=n||{};ngDevMode&&s.environmentInjector&&s.ngModuleRef&&gn("Cannot pass both environmentInjector and ngModuleRef options to createComponent()."),u=s.index,t=s.injector,r=s.projectableNodes,o=s.environmentInjector||s.ngModuleRef,i=s.directives,a=s.bindings}var c,d=l?e:new Lv(Rt(e)),f=t||this.parentInjector;if(!o&&null==d.ngModule){var v=(l?f:this.parentInjector).get(rr,null);v&&(o=v)}var h=Rt(null!==(c=d.componentType)&&void 0!==c?c:{}),p=(this._lContainer,null==h?void 0:h.id,null),g=null,y=d.create(f,r,g,o,i,a);return this.insertImpl(y.hostView,u,pd(this._hostTNode,p)),y}},{key:"insert",value:function(e,n){return this.insertImpl(e,n,!0)}},{key:"insertImpl",value:function(e,n,t){var r=e._lView;if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(br(r[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var i=r[3];ngDevMode&&un(br(i),!0,"An attached view should have its PARENT point to a container.");var a=new Uv(i,i[5],i[3]);a.detach(a.indexOf(e))}}var u=this._adjustIndex(n),l=this._lContainer;return cf(l,r,u,t),e.attachToViewContainerRef(),bt(Zv(l),u,e),e}},{key:"move",value:function(e,n){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,n)}},{key:"indexOf",value:function(e){var n=Wv(this._lContainer);return null!==n?n.indexOf(e):-1}},{key:"remove",value:function(e){var n=this._adjustIndex(e,-1),t=ff(this._lContainer,n);t&&(Mt(Zv(this._lContainer),n),Id(t[1],t))}},{key:"detach",value:function(e){var n=this._adjustIndex(e,-1),t=ff(this._lContainer,n);return t&&null!=Mt(Zv(this._lContainer),n)?new hf(t):null}},{key:"_adjustIndex",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+n:(ngDevMode&&(vn(e,-1,"ViewRef index must be positive, got ".concat(e)),dn(e,this.length+1+n,"index")),e)}}]),t}(zv);function Wv(e){return e[8]}function Zv(e){return e[8]||(e[8]=[])}function qv(e,n){var t;ngDevMode&&Ja(e,15);var r=n[e.index];return br(r)?t=r:(t=lf(r,n,null,e),n[e.index]=t,$c(n,t)),$v(t,n,e,r),new Uv(t,e,n)}var $v=function(e,n,t,r){if(e[7])return;var o;o=8&t.type?Ur(r):function(e,n){var t=e[11],r=t.createComment(ngDevMode?"container":""),o=Zr(n,e),i=t.parentNode(o);return Vc(t,i,r,t.nextSibling(o),!1),r}(n,t);e[7]=o};var Gv=function(){function e(n){Li(this,e),Ui(this,"queryList",void 0),Ui(this,"matches",null),this.queryList=n}return zi(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Qv=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Li(this,e),Ui(this,"queries",void 0),this.queries=n}return zi(e,[{key:"createEmbeddedView",value:function(n){var t=n.queries;if(null!==t){for(var r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[],i=0;i<r;i++){var a=t.getByIndex(i),u=this.queries[a.indexInDeclarationView];o.push(u.clone())}return new e(o)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"finishViewCreation",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var n=0;n<this.queries.length;n++)null!==lh(e,n).matches&&this.queries[n].setDirty()}}]),e}(),Yv=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Li(this,e),Ui(this,"flags",void 0),Ui(this,"read",void 0),Ui(this,"predicate",void 0),this.flags=t,this.read=r,this.predicate="string"==typeof n?n.split(",").map(function(e){return e.trim()}):n},Jv=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Li(this,e),Ui(this,"queries",void 0),this.queries=n}return zi(e,[{key:"elementStart",value:function(e,n){ngDevMode&&jr(e,"Queries should collect results on the first template pass only");for(var t=0;t<this.queries.length;t++)this.queries[t].elementStart(e,n)}},{key:"elementEnd",value:function(e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}},{key:"embeddedTView",value:function(n){for(var t=null,r=0;r<this.length;r++){var o=null!==t?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,null!==t?t.push(i):t=[i])}return null!==t?new e(t):null}},{key:"template",value:function(e,n){ngDevMode&&jr(e,"Queries should collect results on the first template pass only");for(var t=0;t<this.queries.length;t++)this.queries[t].template(e,n)}},{key:"getByIndex",value:function(e){return ngDevMode&&mn(this.queries,e),this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),Xv=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;Li(this,e),Ui(this,"metadata",void 0),Ui(this,"matches",null),Ui(this,"indexInDeclarationView",-1),Ui(this,"crossesNgTemplate",!1),Ui(this,"_declarationNodeIndex",void 0),Ui(this,"_appliesToNextNode",!0),this.metadata=n,this._declarationNodeIndex=t}return zi(e,[{key:"elementStart",value:function(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,n){this.elementStart(e,n)}},{key:"embeddedTView",value:function(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1&~this.metadata.flags){for(var n=this._declarationNodeIndex,t=e.parent;null!==t&&8&t.type&&t.index!==n;)t=t.parent;return n===(null!==t?t.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,n){var t=this.metadata.predicate;if(Array.isArray(t))for(var r=0;r<t.length;r++){var o=t[r];this.matchTNodeWithReadOption(e,n,Kv(n,o)),this.matchTNodeWithReadOption(e,n,wu(n,e,o,!1,!1))}else t===pf?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,wu(n,e,t,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,n,t){if(null!==t){var r=this.metadata.read;if(null!==r)if(r===Hu||r===zv||r===pf&&4&n.type)this.addMatch(n.index,-2);else{var o=wu(n,e,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,t)}}},{key:"addMatch",value:function(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}]),e}();function Kv(e,n){var t=e.localNames;if(null!==t)for(var r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function eh(e,n,t,r){return-1===t?function(e,n){return 11&e.type?Lu(e,n):4&e.type?gf(e,n):null}(n,e):-2===t?function(e,n,t){if(t===Hu)return Lu(n,e);if(t===pf)return gf(n,e);if(t===zv)return ngDevMode&&Ja(n,15),qv(n,e);ngDevMode&&gn("Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ".concat(Ye(t),"."))}(e,n,r):bu(e,e[1],t,n)}function nh(e,n,t,r){var o=n[18].queries[r];if(null===o.matches){for(var i=e.data,a=t.matches,u=[],l=0;null!==a&&l<a.length;l+=2){var s=a[l];if(s<0)u.push(null);else{ngDevMode&&mn(i,s);var c=i[s];u.push(eh(n,c,a[l+1],t.metadata.read))}}o.matches=u}return o.matches}function th(e,n,t,r){var o=e.queries.getByIndex(t),i=o.matches;if(null!==i)for(var a=nh(e,n,o,t),u=0;u<i.length;u+=2){var l=i[u];if(l>0)r.push(a[u/2]);else{var s=i[u+1],c=n[-l];ngDevMode&&Nr(c);for(var d=mr;d<c.length;d++){var f=c[d];f[16]===f[3]&&th(f[1],f,s,r)}if(null!==c[9])for(var v=c[9],h=0;h<v.length;h++){var p=v[h];th(p[1],p,s,r)}}}return r}function rh(e,n){return ngDevMode&&pn(e[18],"LQueries should be defined when trying to load a query"),ngDevMode&&mn(e[18].queries,n),e[18].queries[n].queryList}function oh(e,n,t){var r,o,i=new Zu(!(4&~t));return function(e,n,t,r){var o=lo(n);ngDevMode&&pn(t,"Cleanup context is mandatory when registering framework-level destroy hooks"),o.push(t),e.firstCreatePass?so(e).push(r,o.length-1):ngDevMode&&Object.freeze(so(e))}(e,n,i,i.destroy),(null!==(o=(r=n)[vr])&&void 0!==o?o:r[18]=new Qv).queries.push(new Gv(i))-1}function ih(e,n,t){ngDevMode&&tn(n,"Expecting flags");var r=bo();return r.firstCreatePass&&(uh(r,new Yv(e,n,t),-1),2&~n||(r.staticViewQueries=!0)),oh(r,wo(),n)}function ah(e,n,t,r){ngDevMode&&tn(t,"Expecting flags");var o=bo();if(o.firstCreatePass){var i=ko();uh(o,new Yv(n,t,r),i.index),function(e,n){var t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}(o,e),2&~t||(o.staticContentQueries=!0)}return oh(o,wo(),t)}function uh(e,n,t){null===e.queries&&(e.queries=new Jv),e.queries.track(new Xv(n,t))}function lh(e,n){return ngDevMode&&pn(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(n)}function sh(e,n){var t=e[1],r=lh(t,n);return r.crossesNgTemplate?th(t,e,n,[]):nh(t,e,r,n)}function ch(e,n){var t=e[fe];t._lView=wo(),t._queryIndex=n,t._queryList=rh(t._lView,n),t._queryList.onDirty(function(){return t._dirtyCounter.update(function(e){return e+1})})}function dh(e){var n=[],t=new Map;function r(n){var r=t.get(n);if(!r){var o=e(n);t.set(n,r=o.then(ph))}return r}return fh.forEach(function(e,t){var o,i,a=[];e.templateUrl&&a.push(r(e.templateUrl).then(function(n){e.template=n}));var u="string"==typeof e.styles?[e.styles]:e.styles||[];if(e.styles=u,e.styleUrl&&(null===(o=e.styleUrls)||void 0===o?void 0:o.length))throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(null===(i=e.styleUrls)||void 0===i?void 0:i.length){var l=e.styles.length,s=e.styleUrls;e.styleUrls.forEach(function(n,t){u.push(""),a.push(r(n).then(function(r){u[l+t]=r,s.splice(s.indexOf(n),1),0==s.length&&(e.styleUrls=void 0)}))})}else e.styleUrl&&a.push(r(e.styleUrl).then(function(n){u.push(n),e.styleUrl=void 0}));var c=Promise.all(a).then(function(){return function(e){vh.delete(e)}(t)});n.push(c)}),fh=new Map,Promise.all(n).then(function(){})}var fh=new Map,vh=new Set;function hh(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function ph(e){return"string"==typeof e?e:e.text()}var gh=new Map;function yh(e,n){!function(e,n,t){if(n&&n!==t)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Ye(n)," vs ").concat(Ye(n.name)))}(n,gh.get(n)||null,e),gh.set(n,e)}function mh(e,n,t){var r=wo(),o=ti(),i=Zr(o,r);if(2===o.type&&"iframe"===n.toLowerCase()){var a=i;a.src="",a.srcdoc=es(""),Hc(r[11],a);var u=ngDevMode&&"Angular has detected that the `".concat(t,"` was applied ")+"as a binding to an <iframe>".concat(ac(r),". ")+"For security reasons, the `".concat(t,"` can be set on an <iframe> ")+"as a static attribute only. \n"+"To fix this, switch the `".concat(t,"` binding to a static attribute ")+"in a template or in host bindings section.";throw new We(-910,u)}return e}var wh=new Set;function bh(e){var n,t;wh.has(e)||(wh.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}var Mh=function e(){Li(this,e)},Dh=function e(){Li(this,e)},kh=function(){qi(n,Mh);var e=oa(n);function n(t,r,o){var i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];Li(this,n),Ui(Ri(i=e.call(this)),"ngModuleType",void 0),Ui(Ri(i),"_parent",void 0),Ui(Ri(i),"_bootstrapComponents",[]),Ui(Ri(i),"_r3Injector",void 0),Ui(Ri(i),"instance",void 0),Ui(Ri(i),"destroyCbs",[]),Ui(Ri(i),"componentFactoryResolver",new Vv(Ri(i))),i.ngModuleType=t,i._parent=r;var u=Pt(t);return ngDevMode&&pn(u,"NgModule '".concat(Ye(t),"' is not a subtype of 'NgModuleType'.")),i._bootstrapComponents=vc(u.bootstrap),i._r3Injector=ci(t,r,[{provide:Mh,useValue:Ri(i)},{provide:Yf,useValue:i.componentFactoryResolver}].concat(ea(o)),Ye(t),new Set(["environment"])),a&&i.resolveInjectorInitializers(),i}return zi(n,[{key:"resolveInjectorInitializers",value:function(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}},{key:"injector",get:function(){return this._r3Injector}},{key:"destroy",value:function(){ngDevMode&&pn(this.destroyCbs,"NgModule already destroyed");var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){ngDevMode&&pn(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}]),n}(),_h=function(e){qi(t,e);var n=oa(t);function t(e){var r;return Li(this,t),Ui(Ri(r=n.call(this)),"moduleType",void 0),r.moduleType=e,r}return zi(t,[{key:"create",value:function(e){return new kh(this.moduleType,e,[])}}]),t}(Dh);var xh=function(){qi(n,Mh);var e=oa(n);function n(t){var r;Li(this,n),Ui(Ri(r=e.call(this)),"injector",void 0),Ui(Ri(r),"componentFactoryResolver",new Vv(Ri(r))),Ui(Ri(r),"instance",null);var o=new or(ea(t.providers).concat([{provide:Mh,useValue:Ri(r)},{provide:Yf,useValue:r.componentFactoryResolver}]),t.parent||tr(),t.debugName,new Set(["environment"]));return r.injector=o,t.runEnvironmentInitializers&&o.resolveInjectorInitializers(),r}return zi(n,[{key:"destroy",value:function(){this.injector.destroy()}},{key:"onDestroy",value:function(e){this.injector.onDestroy(e)}}]),n}();function Ih(e,n){return new xh({providers:e,parent:n,debugName:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,runEnvironmentInitializers:!0}).injector}var Sh=function(){function e(n){Li(this,e),Ui(this,"_injector",void 0),Ui(this,"cachedInjectors",new Map),this._injector=n}return zi(e,[{key:"getOrCreateStandaloneInjector",value:function(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){var n=zt(!1,e.type),t=n.length>0?Ih([n],this._injector,"Standalone[".concat(e.type.name,"]")):null;this.cachedInjectors.set(e,t)}return this.cachedInjectors.get(e)}},{key:"ngOnDestroy",value:function(){try{var e=!0,n=!1,t=void 0;try{for(var r,o=this.cachedInjectors.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;null!==i&&i.destroy()}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}}finally{this.cachedInjectors.clear()}}}]),e}();function Ch(e){return aa(function(){("undefined"==typeof ngDevMode||ngDevMode)&&$e();var n,t=Rh(e),r=Ji(Yi({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?function(e){return e.get(Sh).getOrCreateStandaloneInjector(r)}:null,getExternalStyles:null,signals:null!==(n=e.signals)&&void 0!==n&&n,data:e.data||{},encapsulation:e.encapsulation||Wl.Emulated,styles:e.styles||Tt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&bh("NgStandalone"),Vh(r);var o=e.dependencies;return r.directiveDefs=Fh(o,!1),r.pipeDefs=Fh(o,!0),r.id=function(e){var n=0,t="function"==typeof e.consts?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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];if("undefined"==typeof ngDevMode||ngDevMode){var o=!0,i=!1,a=void 0;try{for(var u,l=r[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var s=u.value;ln(void 0===s?"undefined":na(s),"function","Internal error: attempting to use a function in component id computation logic.")}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}}var c=!0,d=!1,f=void 0;try{for(var v,h=r.join("|")[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var p=v.value;n=Math.imul(31,n)+p.charCodeAt(0)|0}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}var g="c"+(n+=2147483648);if(("undefined"==typeof ngDevMode||ngDevMode)&&("undefined"==typeof ngServerMode||!ngServerMode))if(Lh.has(g)){var y=Lh.get(g);y!==e.type&&console.warn(Ze(-912,"Component ID generation collision detected. Components '".concat(y.name,"' and '").concat(e.type.name,"' with selector '").concat(Ec(e.selectors),"' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID.")))}else Lh.set(g,e.type);return g}(r),r})}function Th(e){return Rt(e)||Ft(e)}function Eh(e){return null!==e}function Oh(e){return aa(function(){return{type:e.type,bootstrap:e.bootstrap||Tt,declarations:e.declarations||Tt,imports:e.imports||Tt,exports:e.exports||Tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}})}function Nh(e,n){if(null==e)return Ct;var t={};for(var r in e)if(e.hasOwnProperty(r)){var o,i=e[r],a=void 0,u=void 0,l=void 0,s=void 0;if(Array.isArray(i))l=i[0],a=i[1],u=null!==(o=i[2])&&void 0!==o?o:a,s=i[3]||null;else a=i,u=i,l=Oc.None,s=null;t[a]=[r,l,s],n[a]=u}return t}function Ah(e){if(null==e)return Ct;var n={};for(var t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Ph(e){return aa(function(){var n=Rh(e);return Vh(n),n})}function jh(e){var n;return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:null===(n=e.standalone)||void 0===n||n,onDestroy:e.type.prototype.ngOnDestroy||null}}function Rh(e){var n,t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ct,exportAs:e.exportAs||null,standalone:null===(n=e.standalone)||void 0===n||n,signals:!0===e.signals,selectors:e.selectors||Tt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Nh(e.inputs,t),outputs:Ah(e.outputs),debugInfo:null}}function Vh(e){var n;null===(n=e.features)||void 0===n||n.forEach(function(n){return n(e)})}function Fh(e,n){if(!e)return null;var t=n?Lt:Th;return function(){return("function"==typeof e?e():e).map(function(e){return t(e)}).filter(Eh)}}Ui(Sh,"ɵprov",Mn({token:Sh,providedIn:"environment",factory:function(){return new Sh(st(rr))}}));var Lh=new Map;function Hh(e){return Object.getPrototypeOf(e.prototype).constructor}function Bh(e){for(var n=Hh(e.type),t=!0,r=[e];n;){var o=void 0;if(_r(e))o=n.ɵcmp||n.ɵdir;else{if(n.ɵcmp)throw new We(903,ngDevMode&&"Directives cannot inherit Components. Directive ".concat(Gn(e.type)," is attempting to extend component ").concat(Gn(n)));o=n.ɵdir}if(o){if(t){r.push(o);var i=e;i.inputs=Uh(e.inputs),i.declaredInputs=Uh(e.declaredInputs),i.outputs=Uh(e.outputs);var a=o.hostBindings;a&&qh(e,a);var u=o.viewQuery,l=o.contentQueries;if(u&&Wh(e,u),l&&Zh(e,l),zh(e,o),Qe(e.outputs,o.outputs),_r(o)&&o.data.animation){var s=e.data;s.animation=(s.animation||[]).concat(o.data.animation)}}var c=o.features;if(c)for(var d=0;d<c.length;d++){var f=c[d];f&&f.ngInherit&&f(e),f===Bh&&(t=!1)}}n=Object.getPrototypeOf(n)}!function(e){for(var n=0,t=null,r=e.length-1;r>=0;r--){var o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=eu(o.hostAttrs,t=eu(t,o.hostAttrs))}}(r)}function zh(e,n){for(var t in n.inputs)if(n.inputs.hasOwnProperty(t)&&!e.inputs.hasOwnProperty(t)){var r=n.inputs[t];void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function Uh(e){return e===Ct?{}:e===Tt?[]:e}function Wh(e,n){var t=e.viewQuery;e.viewQuery=t?function(e,r){n(e,r),t(e,r)}:n}function Zh(e,n){var t=e.contentQueries;e.contentQueries=t?function(e,r,o){n(e,r,o),t(e,r,o)}:n}function qh(e,n){var t=e.hostBindings;e.hostBindings=t?function(e,r){n(e,r),t(e,r)}:n}var $h=["providersResolver"],Gh=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Qh(e){var n=Hh(e.type),t=void 0;t=_r(e)?n.ɵcmp:n.ɵdir;var r=e,o=!0,i=!1,a=void 0;try{for(var u,l=$h[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var s=u.value;r[s]=t[s]}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}if(_r(t)){var c=!0,d=!1,f=void 0;try{for(var v,h=Gh[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var p=v.value;r[p]=t[p]}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}}function Yh(e){var n=function(n){var t=Array.isArray(e);if(null===n.hostDirectives)n.resolveHostDirectives=Jh,n.hostDirectives=t?e.map(ep):[e];else if(t){var r;(r=n.hostDirectives).unshift.apply(r,ea(e.map(ep)))}else n.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function Jh(e){for(var n=[],t=!1,r=null,o=null,i=0;i<e.length;i++){var a=e[i];if(null!==a.hostDirectives){var u=n.length;null!=r||(r=new Map),null!=o||(o=new Map),Xh(a,n,r),o.set(a,[u,n.length-1])}0===i&&_r(a)&&(t=!0,n.push(a))}for(var l=t?1:0;l<e.length;l++)n.push(e[l]);return[n,r,o]}function Xh(e,n,t){if(null!==e.hostDirectives){var r=!0,o=!1,i=void 0;try{for(var a,u=e.hostDirectives[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;if("function"==typeof l){var s=l(),c=!0,d=!1,f=void 0;try{for(var v,h=s[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){Kh(ep(v.value),n,t)}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}else Kh(l,n,t)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}}function Kh(e,n,t){var r=Ft(e.directive);("undefined"==typeof ngDevMode||ngDevMode)&&function(e,n){var t=e.directive;if(null===n){if(null!==Rt(t))throw new We(310,"Host directive ".concat(t.name," cannot be a component."));throw new We(307,"Could not resolve metadata for host directive ".concat(t.name,". ")+"Make sure that the ".concat(t.name," class is annotated with an @Directive decorator."))}if(!n.standalone)throw new We(308,"Host directive ".concat(n.type.name," must be standalone."));tp("input",n,e.inputs),tp("output",n,e.outputs)}(e,r),function(e,n){for(var t in n)if(n.hasOwnProperty(t)){var r=n[t],o=e[t];("undefined"==typeof ngDevMode||ngDevMode)&&e.hasOwnProperty(r)&&un(e[r],e[t],"Conflicting host directive input alias ".concat(t,".")),e[r]=o}}(r.declaredInputs,e.inputs),Xh(r,n,t),t.set(r,e),n.push(r)}function ep(e){return"function"==typeof e?{directive:en(e),inputs:Ct,outputs:Ct}:{directive:en(e.directive),inputs:np(e.inputs),outputs:np(e.outputs)}}function np(e){if(void 0===e||0===e.length)return Ct;for(var n={},t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function tp(e,n,t){var r=n.type.name,o="input"===e?n.inputs:n.outputs;for(var i in t)if(t.hasOwnProperty(i)){if(!o.hasOwnProperty(i))throw new We(311,"Directive ".concat(r," does not have an ").concat(e," with a public name of ").concat(i,"."));var a=t[i];if(o.hasOwnProperty(a)&&a!==i)throw new We(312,"Cannot alias ".concat(e," ").concat(i," of host directive ").concat(r," to ").concat(a,", because it already has a different ").concat(e," with the same public name."))}}function rp(e,n,t,r,o,i,a,u,l,s,c){var d=t+yr,f=n.firstCreatePass?function(e,n,t,r,o,i,a,u,l){ngDevMode&&jr(n);var s=n.consts,c=If(n,e,4,a||null,u||null);po()&&fv(n,t,c,Xr(s,l),od),c.mergedAttrs=eu(c.mergedAttrs,c.attrs),Ha(n,c);var d=c.tView=zc(2,c,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,s,null);return null!==n.queries&&(n.queries.template(n,c),d.queries=n.queries.embeddedTView(c)),c}(d,n,e,r,o,i,a,u,s):n.data[d];l&&(f.flags|=l),Io(f,!1);var v=ap(n,e);ui()&&Vd(n,e,v,f),ol(v,e);var h=lf(v,e,v,f);return e[d]=h,$c(e,h),kr(f)&&Xc(n,e,f),null!=s&&Kc(e,f,c),f}function op(e,n,t,r,o,i,a,u){var l=wo(),s=bo();return rp(l,s,e,n,t,r,o,Xr(s.consts,i),void 0,a,u),op}var ip,ap=function(e,n,t,r){return li(!0),n[11].createComment(ngDevMode?"container":"")};!function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED"}(ip||(ip={}));var up,lp;!function(e){e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error"}(up||(up={})),function(e){e[e.Initial=-1]="Initial"}(lp||(lp={}));var sp,cp;
|
|
31
|
+
/*!
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright Google LLC All Rights Reserved.
|
|
34
|
+
*
|
|
35
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
36
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
37
|
+
*/
|
|
38
|
+
function dp(e,n,t){var r=hp(e);null===n[r]&&(n[r]=[]),n[r].push(t)}function fp(e,n){var t=hp(e),r=n[t];if(null!==r){var o=!0,i=!1,a=void 0;try{for(var u,l=r[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){(0,u.value)()}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n[t]=null}}function vp(e){fp(1,e),fp(0,e),fp(2,e)}function hp(e){var n=4;return 1===e?n=5:2===e&&(n=9),n}!function(e){e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough"}(sp||(sp={})),function(e){e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(cp||(cp={}));var pp=new Cn(ngDevMode?"TracingService":""),gp=!1,yp=function(e){qi(t,e);var n=oa(t);function t(){var e,r,o,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(Li(this,t),Ui(Ri(e=n.call(this)),"__isAsync",void 0),Ui(Ri(e),"destroyRef",void 0),Ui(Ri(e),"pendingTasks",void 0),e.__isAsync=i,dr())&&(e.destroyRef=null!==(r=dt(vi,{optional:!0}))&&void 0!==r?r:void 0,e.pendingTasks=null!==(o=dt(Si,{optional:!0}))&&void 0!==o?o:void 0);return e}return zi(t,[{key:"emit",value:function(e){var n=ve(null);try{Wi(Zi(t.prototype),"next",this).call(this,e)}finally{ve(n)}}},{key:"subscribe",value:function(e,n,r){var o=e,i=n||function(){return null},a=r;if(e&&"object"===(void 0===e?"undefined":na(e))){var u,l,c,d=e;o=null===(u=d.next)||void 0===u?void 0:u.bind(d),i=null===(l=d.error)||void 0===l?void 0:l.bind(d),a=null===(c=d.complete)||void 0===c?void 0:c.bind(d)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));var f=Wi(Zi(t.prototype),"subscribe",this).call(this,{next:o,error:i,complete:a});return $i(e,s)&&e.add(f),f}},{key:"wrapInTimeout",value:function(e){var n=this;return function(t){var r,o=null===(r=n.pendingTasks)||void 0===r?void 0:r.add();setTimeout(function(){try{e(t)}finally{var r;if(void 0!==o)null===(r=n.pendingTasks)||void 0===r||r.remove(o)}})}}}]),t}(l),mp=yp;function wp(e){var n,t;function r(){e=Ti;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch(e){}}return n=setTimeout(function(){e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(function(){e(),r()})),function(){return r()}}function bp(e){return queueMicrotask(function(){return e()}),function(){e=Ti}}var Mp=function(){function e(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:console;Li(this,e),Ui(this,"createTask",void 0),Ui(this,"name",void 0),this.name="asyncStackTagging for "+n,this.createTask=null!==(t=null==r?void 0:r.createTask)&&void 0!==t?t:function(){return null}}return zi(e,[{key:"onScheduleTask",value:function(e,n,t,r){return r.consoleTask=this.createTask("Zone - ".concat(r.source||r.type)),e.scheduleTask(t,r)}},{key:"onInvokeTask",value:function(e,n,t,r,o,i){return r.consoleTask?r.consoleTask.run(function(){return e.invokeTask(t,r,o,i)}):e.invokeTask(t,r,o,i)}}]),e}(),Dp="isAngularZone",kp=Dp+"_ID",_p=0,xp=function(){function e(n){Li(this,e),Ui(this,"hasPendingMacrotasks",!1),Ui(this,"hasPendingMicrotasks",!1),Ui(this,"isStable",!0),Ui(this,"onUnstable",new mp(!1)),Ui(this,"onMicrotaskEmpty",new mp(!1)),Ui(this,"onStable",new mp(!1)),Ui(this,"onError",new mp(!1));var t=n.enableLongStackTrace,r=void 0!==t&&t,o=n.shouldCoalesceEventChangeDetection,i=void 0!==o&&o,a=n.shouldCoalesceRunChangeDetection,u=void 0!==a&&a,l=n.scheduleInRootZone,s=void 0===l?gp:l;if("undefined"==typeof Zone)throw new We(908,ngDevMode&&"In this configuration Angular requires Zone.js");Zone.assertZonePatched();var c,d,f,v,h=this;h._nesting=0,h._outer=h._inner=Zone.current,ngDevMode&&(h._inner=h._inner.fork(new Mp("Angular"))),Zone.TaskTrackingZoneSpec&&(h._inner=h._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(h._inner=h._inner.fork(Zone.longStackTraceZoneSpec)),h.shouldCoalesceEventChangeDetection=!u&&i,h.shouldCoalesceRunChangeDetection=u,h.callbackScheduled=!1,h.scheduleInRootZone=s,f=function(){!function(e){function n(){wp(function(){e.callbackScheduled=!1,Cp(e),e.isCheckStableRunning=!0,Sp(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(function(){n()}):e._outer.run(function(){n()}),Cp(e))}(c)},v=_p++,(c=h)._inner=c._inner.fork({name:"angular",properties:(d={},Ui(d,Dp,!0),Ui(d,kp,v),Ui(d,kp+v,!0),d),onInvokeTask:function(e,n,t,r,o,i){if(function(e){return Np(e,"__ignore_ng_zone__")}(i))return e.invokeTask(t,r,o,i);try{return Tp(c),e.invokeTask(t,r,o,i)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||c.shouldCoalesceRunChangeDetection)&&f(),Ep(c)}},onInvoke:function(e,n,t,r,o,i,a){try{return Tp(c),e.invoke(t,r,o,i,a)}finally{!c.shouldCoalesceRunChangeDetection||c.callbackScheduled||function(e){return Np(e,"__scheduler_tick__")}(i)||f(),Ep(c)}},onHasTask:function(e,n,t,r){e.hasTask(t,r),n===t&&("microTask"==r.change?(c._hasPendingMicrotasks=r.microTask,Cp(c),Sp(c)):"macroTask"==r.change&&(c.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,n,t,r){return e.handleError(t,r),c.runOutsideAngular(function(){return c.onError.emit(r)}),!1}})}return zi(e,[{key:"run",value:function(e,n,t){return this._inner.run(e,n,t)}},{key:"runTask",value:function(e,n,t,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Ip,Ti,Ti);try{return o.runTask(i,n,t)}finally{o.cancelTask(i)}}},{key:"runGuarded",value:function(e,n,t){return this._inner.runGuarded(e,n,t)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return"undefined"!=typeof Zone&&!0===Zone.current.get(Dp)}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new We(909,ngDevMode&&"Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new We(909,ngDevMode&&"Expected to not be in Angular Zone, but it is!")}}]),e}(),Ip={};function Sp(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(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Cp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ep(e){e._nesting--,Sp(e)}var Op=function(){function e(){Li(this,e),Ui(this,"hasPendingMicrotasks",!1),Ui(this,"hasPendingMacrotasks",!1),Ui(this,"isStable",!0),Ui(this,"onUnstable",new mp),Ui(this,"onMicrotaskEmpty",new mp),Ui(this,"onStable",new mp),Ui(this,"onError",new mp)}return zi(e,[{key:"run",value:function(e,n,t){return e.apply(n,t)}},{key:"runGuarded",value:function(e,n,t){return e.apply(n,t)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,n,t,r){return e.apply(n,t)}}]),e}();function Np(e,n){var t,r;return!!Array.isArray(e)&&(1===e.length&&!0===(null===(r=e[0])||void 0===r||null===(t=r.data)||void 0===t?void 0:t[n]))}var Ap=function(){function e(){Li(this,e),Ui(this,"impl",null)}return zi(e,[{key:"execute",value:function(){var e;null===(e=this.impl)||void 0===e||e.execute()}}]),e}();Ui(Ap,"ɵprov",Mn({token:Ap,providedIn:"root",factory:function(){return new Ap}}));var Pp=function(){return[0,1,2,3]}(),jp=function(){function e(){Li(this,e),Ui(this,"ngZone",dt(xp)),Ui(this,"scheduler",dt(bi)),Ui(this,"errorHandler",dt(pi,{optional:!0})),Ui(this,"sequences",new Set),Ui(this,"deferredRegistrations",new Set),Ui(this,"executing",!1),dt(pp,{optional:!0})}return zi(e,[{key:"execute",value:function(){var e=this,n=this.sequences.size>0;n&&La(16),this.executing=!0;var t=!0,r=!1,o=void 0;try{for(var i,a,u=function(){var n=a.value,t=!0,r=!1,o=void 0;try{for(var u,l,s=function(){var t=l.value;if(t.erroredOrDestroyed||!t.hooks[n])return"continue";try{t.pipelinedValue=u.ngZone.runOutsideAngular(function(){return e.maybeTrace(function(){return(0,t.hooks[n])(t.pipelinedValue)},t.snapshot)})}catch(e){var r;t.erroredOrDestroyed=!0,null===(r=u.errorHandler)||void 0===r||r.handleError(e)}},c=i.sequences[Symbol.iterator]();!(t=(l=c.next()).done);t=!0)u=i,s()}catch(e){r=!0,o=e}finally{try{t||null==c.return||c.return()}finally{if(r)throw o}}},l=Pp[Symbol.iterator]();!(t=(a=l.next()).done);t=!0)i=this,u()}catch(e){r=!0,o=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw o}}this.executing=!1;var s=!0,c=!1,d=void 0;try{for(var f,v=this.sequences[Symbol.iterator]();!(s=(f=v.next()).done);s=!0){var h=f.value;h.afterRun(),h.once&&(this.sequences.delete(h),h.destroy())}}catch(e){c=!0,d=e}finally{try{s||null==v.return||v.return()}finally{if(c)throw d}}var p=!0,g=!1,y=void 0;try{for(var m,w=this.deferredRegistrations[Symbol.iterator]();!(p=(m=w.next()).done);p=!0){var b=m.value;this.sequences.add(b)}}catch(e){g=!0,y=e}finally{try{p||null==w.return||w.return()}finally{if(g)throw y}}this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&La(17)}},{key:"register",value:function(e){var n,t,r=e.view;void 0!==r?((null!==(t=(n=r)[gr])&&void 0!==t?t:n[25]=[]).push(e),oo(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}},{key:"addSequence",value:function(e){this.sequences.add(e),this.scheduler.notify(7)}},{key:"unregister",value:function(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}},{key:"maybeTrace",value:function(e,n){return n?n.run(cp.AFTER_NEXT_RENDER,e):e()}}]),e}();Ui(jp,"ɵprov",Mn({token:jp,providedIn:"root",factory:function(){return new jp}}));var Rp=function(){function e(n,t,r,o,i){var a=this,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;Li(this,e),Ui(this,"impl",void 0),Ui(this,"hooks",void 0),Ui(this,"view",void 0),Ui(this,"once",void 0),Ui(this,"snapshot",void 0),Ui(this,"erroredOrDestroyed",!1),Ui(this,"pipelinedValue",void 0),Ui(this,"unregisterOnDestroy",void 0),this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=u,this.unregisterOnDestroy=null==i?void 0:i.onDestroy(function(){return a.destroy()})}return zi(e,[{key:"afterRun",value:function(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,null===(e=this.snapshot)||void 0===e||e.dispose(),this.snapshot=null}},{key:"destroy",value:function(){var e,n,t=this;this.impl.unregister(this),null===(e=this.unregisterOnDestroy)||void 0===e||e.call(this);var r=null===(n=this.view)||void 0===n?void 0:n[25];r&&(this.view[25]=r.filter(function(e){return e!==t}))}}]),e}();function Vp(e,n){var t;ngDevMode&&xi(Vp,"Call `afterEveryRender` outside of a reactive context. For example, schedule the render callback inside the component constructor`."),ngDevMode&&!(null==n?void 0:n.injector)&&fr(Vp);var r=null!==(t=null==n?void 0:n.injector)&&void 0!==t?t:dt(di);return"undefined"!=typeof ngServerMode&&ngServerMode?Hp:(bh("NgAfterRender"),Lp(e,r,n,!1))}function Fp(e,n){var t;!(null==n?void 0:n.injector)&&fr(Fp);var r=null!==(t=null==n?void 0:n.injector)&&void 0!==t?t:dt(di);return"undefined"!=typeof ngServerMode&&ngServerMode?Hp:(bh("NgAfterNextRender"),Lp(e,r,n,!0))}function Lp(e,n,t,r){var o,i,a=n.get(Ap);null!==(i=(o=a).impl)&&void 0!==i||(o.impl=n.get(jp));var u=n.get(pp,null,{optional:!0}),l=!0!==(null==t?void 0:t.manualCleanup)?n.get(vi):null,s=n.get(Ii,null,{optional:!0}),c=new Rp(a.impl,function(e){return $i(e,Function)?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),null==s?void 0:s.view,r,l,null==u?void 0:u.snapshot(null));return a.impl.register(c),c}var Hp={destroy:function(){}};function Bp(e){return e+1}function zp(e,n){var t=e[1],r=Bp(n.index);return ngDevMode&&Vr(t,r),e[r]}function Up(e,n){var t=Bp(n.index);return ngDevMode&&Vr(e,t),e.data[t]}function Wp(e,n){var t,r,o,i;return n===up.Placeholder?null!==(r=null===(t=e.placeholderBlockConfig)||void 0===t?void 0:t[0])&&void 0!==r?r:null:n===up.Loading&&null!==(i=null===(o=e.loadingBlockConfig)||void 0===o?void 0:o[0])&&void 0!==i?i:null}function Zp(e){var n,t;return null!==(t=null===(n=e.loadingBlockConfig)||void 0===n?void 0:n[1])&&void 0!==t?t:null}function qp(e,n){if(!e||0===e.length)return n;var t=new Set(e),r=!0,o=!1,i=void 0;try{for(var a,u=n[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;t.add(l)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e.length===t.size?e:Array.from(t)}function $p(e){un(e.loadingState,ip.COMPLETE,"Expecting all deferred dependencies to be loaded.")}function Gp(e,n,t){var r,o,i,a,u=Up(e,n);null!==(i=(r=u).debug)&&void 0!==i||(r.debug={}),null!==(a=(o=u.debug).triggers)&&void 0!==a||(o.triggers=new Set),u.debug.triggers.add(t)}
|
|
39
|
+
/*!
|
|
40
|
+
* @license
|
|
41
|
+
* Copyright Google LLC All Rights Reserved.
|
|
42
|
+
*
|
|
43
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
44
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
45
|
+
*/function Qp(e,n,t){var r=t.get(xp);return function(e,n,t){var r=Tl.get(e);return Nl=Nl||t(),r||(r=new Pl,Nl.observe(e),Tl.set(e,r),Al++),r.callbacks.add(n),function(){Tl.has(e)&&(r.callbacks.delete(n),0===r.callbacks.size&&(null==Nl||Nl.unobserve(e),Tl.delete(e),Al--),0===Al&&(null==Nl||Nl.disconnect(),Nl=null))}}(e,function(){return r.run(n)},function(){return r.runOutsideAngular(function(){return new IntersectionObserver(function(e){var n=!0,t=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;a.isIntersecting&&Tl.has(a.target)&&Tl.get(a.target).listener()}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}})})})}function Yp(e,n){var t,r=Wr(yr+n,e);return ngDevMode&&(Pe(t=r,Element)||gn("The provided value must be an element but got ".concat(Ye(t)))),r}function Jp(e,n,t,r,o,i,a){var u,l=e[9],s=l.get(xp);u=Vp({read:function(){if(Ir(e))u.destroy();else{var c=zp(e,n),d=c[1];if(d===lp.Initial||d===up.Placeholder){var f=function(e,n,t){if(null==t)return e;if(t>=0)return no(t,e);var r,o=e[n.index];ngDevMode&&Nr(o);var i=null!==(r=o[10])&&void 0!==r?r:null;return ngDevMode&&null!==i&&(un(zp(e,n)[1],up.Placeholder,"Expected a placeholder to be rendered in this defer block."),Pr(i)),i}(e,n,r);if(f&&(u.destroy(),!Ir(f))){var v=Yp(f,t),h=o(v,function(){s.run(function(){e!==f&&ao(f,h),i()})},l);e!==f&&io(f,h),dp(a,c,h)}}else u.destroy()}}},{injector:l})}function Xp(e,n){var t=n.get(Kp);return t.add(e),function(){return t.remove(e)}}var Kp=function(){function e(){Li(this,e),Ui(this,"executingCallbacks",!1),Ui(this,"idleId",null),Ui(this,"current",new Set),Ui(this,"deferred",new Set),Ui(this,"ngZone",dt(xp)),Ui(this,"requestIdleCallbackFn",("undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout).bind(globalThis)),Ui(this,"cancelIdleCallbackFn",("undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout).bind(globalThis))}return zi(e,[{key:"add",value:function(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}},{key:"remove",value:function(e){var n=this.current,t=this.deferred;n.delete(e),t.delete(e),0===n.size&&0===t.size&&this.cancelIdleCallback()}},{key:"scheduleIdleCallback",value:function(){var e=this,n=function(){e.cancelIdleCallback(),e.executingCallbacks=!0;var n=!0,t=!1,r=void 0;try{for(var o,i=e.current[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){(0,o.value)()}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}if(e.current.clear(),e.executingCallbacks=!1,e.deferred.size>0){var a=!0,u=!1,l=void 0;try{for(var s,c=e.deferred[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var d=s.value;e.current.add(d)}}catch(e){u=!0,l=e}finally{try{a||null==c.return||c.return()}finally{if(u)throw l}}e.deferred.clear(),e.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(function(){return e.ngZone.run(n)})}},{key:"cancelIdleCallback",value:function(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}},{key:"ngOnDestroy",value:function(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}}]),e}();function eg(e){return function(n,t){return ng(e,n,t)}}function ng(e,n,t){var r=t.get(tg),o=t.get(xp);return r.add(e,n,o),function(){return r.remove(n)}}Ui(Kp,"ɵprov",Mn({token:Kp,providedIn:"root",factory:function(){return new Kp}}));var tg=function(){function e(){Li(this,e),Ui(this,"executingCallbacks",!1),Ui(this,"timeoutId",null),Ui(this,"invokeTimerAt",null),Ui(this,"current",[]),Ui(this,"deferred",[])}return zi(e,[{key:"add",value:function(e,n,t){var r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+e,n),this.scheduleTimer(t)}},{key:"remove",value:function(e){var n=this.current,t=this.deferred;-1===this.removeFromQueue(n,e)&&this.removeFromQueue(t,e),0===n.length&&0===t.length&&this.clearTimeout()}},{key:"addToQueue",value:function(e,n,t){for(var r=e.length,o=0;o<e.length;o+=2){if(e[o]>n){r=o;break}}_t(e,r,n,t)}},{key:"removeFromQueue",value:function(e,n){for(var t=-1,r=0;r<e.length;r+=2){if(e[r+1]===n){t=r;break}}return t>-1&&kt(e,t,2),t}},{key:"scheduleTimer",value:function(e){var n=this,t=function(){n.clearTimeout(),n.executingCallbacks=!0;for(var t=ea(n.current),r=Date.now(),o=0;o<t.length;o+=2){var i=t[o],a=t[o+1];if(!(i<=r))break;a()}for(var u=-1,l=0;l<n.current.length;l+=2){if(!(n.current[l]<=r))break;u=l+1}if(u>=0&&kt(n.current,0,u+1),n.executingCallbacks=!1,n.deferred.length>0){for(var s=0;s<n.deferred.length;s+=2){var c=n.deferred[s],d=n.deferred[s+1];n.addToQueue(n.current,c,d)}n.deferred.length=0}n.scheduleTimer(e)};if(this.current.length>0){var r=Date.now(),o=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-o>16){this.clearTimeout();var i=Math.max(o-r,16);this.invokeTimerAt=o,this.timeoutId=e.runOutsideAngular(function(){return setTimeout(function(){return e.run(t)},i)})}}}},{key:"clearTimeout",value:function(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}},{key:"ngOnDestroy",value:function(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}}]),e}();Ui(tg,"ɵprov",Mn({token:tg,providedIn:"root",factory:function(){return new tg}}));var rg=function(){function e(){Li(this,e),Ui(this,"cachedInjectors",new Map)}return zi(e,[{key:"getOrCreateInjector",value:function(e,n,t,r){if(!this.cachedInjectors.has(e)){var o=t.length>0?Ih(t,n,r):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}},{key:"ngOnDestroy",value:function(){try{var e=!0,n=!1,t=void 0;try{for(var r,o=this.cachedInjectors.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;null!==i&&i.destroy()}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}}finally{this.cachedInjectors.clear()}}}]),e}();Ui(rg,"ɵprov",Mn({token:rg,providedIn:"environment",factory:function(){return new rg}}));var og=new Cn("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),ig=new Cn(ngDevMode?"DEFER_BLOCK_CONFIG":"");function ag(e,n,t){return e.get(rg).getOrCreateInjector(n,e,t,ngDevMode?"DeferBlock Injector":"")}function ug(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t[3],i=o[1];if(!Ir(o)){ngDevMode&&Sr(n,o);var a=zp(o,n);ngDevMode&&pn(a,"Expected a defer block state defined");var u,l=a[1],s=a[7];if(!(null!==s&&e<s))if(dg(l,e)&&dg(null!==(u=a[0])&&void 0!==u?u:-1,e)){var c=Up(i,n),d=!r&&("undefined"==typeof ngServerMode||!ngServerMode)&&(null!==Zp(c)||null!==Wp(c,up.Loading)||Wp(c,up.Placeholder));ngDevMode&&d&&pn(hg,"Expected scheduling function to be defined");var f=d?hg:lg;try{f(e,a,t,n,o)}catch(e){cd(o,e)}}}}function lg(e,n,t,r,o){La(20);var i=function(e,n,t){var r=Up(n[1],t);switch(e){case up.Complete:return r.primaryTmplIndex;case up.Loading:return r.loadingTmplIndex;case up.Error:return r.errorTmplIndex;case up.Placeholder:return r.placeholderTmplIndex;default:return ngDevMode&&gn("Unexpected defer block state: ".concat(e)),null}}(e,o,r);if(null!==i){n[1]=e;var a,u=o[1],l=qr(u,i+yr);if(df(t,0),e===up.Complete){var s=Up(u,r),c=s.providers;c&&c.length>0&&(a=function(e,n,t){if($i(e,lv)){var r=e.injector,o=ag(e.parentInjector,n,t);return new lv(r,o)}var i=e.get(rr);if(i!==e){var a=ag(i,n,t);return new lv(e,a)}return ag(e,n,t)}(o[9],s,c))}var d,f=function(e,n){var t,r,o=null!==(r=null===(t=e[6])||void 0===t?void 0:t.findIndex(function(e){return e.data.s===n[1]}))&&void 0!==r?r:-1;return{dehydratedView:o>-1?e[6][o]:null,dehydratedViewIx:o}}(t,n),v=f.dehydratedView,h=f.dehydratedViewIx,p=hd(o,l,null,{injector:a,dehydratedView:v});if(cf(t,p,0,pd(l,v)),uf(p,2),h>-1)null===(d=t[6])||void 0===d||d.splice(h,1);if((e===up.Complete||e===up.Error)&&Array.isArray(n[8])){var g=!0,y=!1,m=void 0;try{for(var w,b=n[8][Symbol.iterator]();!(g=(w=b.next()).done);g=!0){(0,w.value)()}}catch(e){y=!0,m=e}finally{try{g||null==b.return||b.return()}finally{if(y)throw m}}n[8]=null}}La(21)}function sg(e,n,t,r,o){var i=Date.now(),a=Up(o[1],r);if(null===n[2]||n[2]<=i){n[2]=null;var u=Zp(a),l=null!==n[3];if(e!==up.Loading||null===u||l){e>up.Loading&&l&&(n[3](),n[3]=null,n[0]=null),lg(e,n,t,r,o);var s=Wp(a,e);null!==s&&(n[2]=i+s,cg(s,n,r,t,o))}else{n[0]=e;var c=cg(u,n,r,t,o);n[3]=c}}else n[0]=e}function cg(e,n,t,r,o){return ng(e,function(){var e=n[0];n[2]=null,n[0]=null,null!==e&&ug(e,t,r)},o[9])}function dg(e,n){return e<n}function fg(e,n){var t=e[n.index];ngDevMode&&Nr(t),ug(up.Placeholder,n,t)}function vg(e,n,t){ngDevMode&&pn(e.loadingPromise,"Expected loading Promise to exist on this defer block"),e.loadingPromise.then(function(){e.loadingState===ip.COMPLETE?(ngDevMode&&$p(e),ug(up.Complete,n,t)):e.loadingState===ip.FAILED&&ug(up.Error,n,t)})}var hg=null;function pg(e,n,t,r){var o=e.consts;null!=t&&(n.placeholderBlockConfig=Xr(o,t)),null!=r&&(n.loadingBlockConfig=Xr(o,r)),null===hg&&(hg=sg)}function gg(e,n,t,r){return aa(function(){var r,o=e;null!==n&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?(r=o.decorators).push.apply(r,ea(n)):o.decorators=n);null!==t&&(o.ctorParameters=t)})}var yg=function(){function e(){Li(this,e)}return zi(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();Ui(yg,"ɵfac",function(e){return new(e||yg)}),Ui(yg,"ɵprov",Mn({token:yg,factory:yg.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(yg,[{type:Fu,args:[{providedIn:"platform"}]}],null);new(function(){function e(){Li(this,e),Ui(this,"resolverToTokenToDependencies",new WeakMap),Ui(this,"resolverToProviders",new WeakMap),Ui(this,"resolverToEffects",new WeakMap),Ui(this,"standaloneInjectorToComponent",new WeakMap)}return zi(e,[{key:"reset",value:function(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}]),e}());var mg=new Cn(""),wg=new Cn(""),bg=function(){function e(n,t,r){var o,i=this;(Li(this,e),Ui(this,"_ngZone",void 0),Ui(this,"registry",void 0),Ui(this,"_isZoneStable",!0),Ui(this,"_callbacks",[]),Ui(this,"_taskTrackingZone",null),Ui(this,"_destroyRef",void 0),this._ngZone=n,this.registry=t,dr())&&(this._destroyRef=null!==(o=dt(vi,{optional:!0}))&&void 0!==o?o:void 0);Mg||(Mg=r,r.addToWindow(t)),this._watchAngularEvents(),n.run(function(){i._taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return zi(e,[{key:"_watchAngularEvents",value:function(){var e,n=this,t=this._ngZone.onUnstable.subscribe({next:function(){n._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(function(){return n._ngZone.onStable.subscribe({next:function(){xp.assertNotInAngularZone(),queueMicrotask(function(){n._isZoneStable=!0,n._runCallbacksIfReady()})}})});null===(e=this._destroyRef)||void 0===e||e.onDestroy(function(){t.unsubscribe(),r.unsubscribe()})}},{key:"isStable",value:function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())queueMicrotask(function(){for(;0!==e._callbacks.length;){var n=e._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{var n=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(n)||(clearTimeout(e.timeoutId),!1)})}}},{key:"getPendingTasks",value:function(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]}},{key:"addCallback",value:function(e,n,t){var r=this,o=-1;n&&n>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e()},n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:t})}},{key:"whenStable",value:function(e,n,t){if(t&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,t),this._runCallbacksIfReady()}},{key:"registerApplication",value:function(e){this.registry.registerApplication(e,this)}},{key:"unregisterApplication",value:function(e){this.registry.unregisterApplication(e)}},{key:"findProviders",value:function(e,n,t){return[]}}]),e}();Ui(bg,"ɵfac",function(e){return new(e||bg)(st(xp),st(Dg),st(wg))}),Ui(bg,"ɵprov",Mn({token:bg,factory:bg.ɵfac})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(bg,[{type:Fu}],function(){return[{type:xp},{type:Dg},{type:void 0,decorators:[{type:ha,args:[wg]}]}]});var Mg,Dg=function(){function e(){Li(this,e),Ui(this,"_applications",new Map)}return zi(e,[{key:"registerApplication",value:function(e,n){this._applications.set(e,n)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var n,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return null!==(n=null==Mg?void 0:Mg.findTestabilityInTree(this,e,t))&&void 0!==n?n:null}}]),e}();function kg(e){return!!e&&"function"==typeof e.then}Ui(Dg,"ɵfac",function(e){return new(e||Dg)}),Ui(Dg,"ɵprov",Mn({token:Dg,factory:Dg.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(Dg,[{type:Fu,args:[{providedIn:"platform"}]}],null);var _g=new Cn(ngDevMode?"Application Initializer":""),xg=function(){function e(){var n,t=this;if(Li(this,e),Ui(this,"resolve",void 0),Ui(this,"reject",void 0),Ui(this,"initialized",!1),Ui(this,"done",!1),Ui(this,"donePromise",new Promise(function(e,n){t.resolve=e,t.reject=n})),Ui(this,"appInits",null!==(n=dt(_g,{optional:!0}))&&void 0!==n?n:[]),Ui(this,"injector",dt(di)),("undefined"==typeof ngDevMode||ngDevMode)&&!Array.isArray(this.appInits))throw new We(-209,"Unexpected type of the `APP_INITIALIZER` token value "+"(expected an array, but got ".concat(na(this.appInits),"). ")+"Please check that the `APP_INITIALIZER` token is configured as a `multi: true` provider.")}return zi(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var n=[],t=!0,r=!1,o=void 0;try{for(var i,a,u=function(){var e,t=a.value,r=cr(i.injector,t);if(kg(r))n.push(r);else if((e=r)&&"function"==typeof e.subscribe){var o=new Promise(function(e,n){r.subscribe({complete:e,error:n})});n.push(o)}},l=this.appInits[Symbol.iterator]();!(t=(a=l.next()).done);t=!0)i=this,u()}catch(e){r=!0,o=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw o}}var s=function(){e.done=!0,e.resolve()};Promise.all(n).then(function(){s()}).catch(function(n){e.reject(n)}),0===n.length&&s(),this.initialized=!0}}}]),e}();Ui(xg,"ɵfac",function(e){return new(e||xg)}),Ui(xg,"ɵprov",Mn({token:xg,factory:xg.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(xg,[{type:Fu,args:[{providedIn:"root"}]}],function(){return[]});var Ig=new Cn(ngDevMode?"appBootstrapListener":"");function Sg(e,n){return Array.isArray(n)?n.reduce(Sg,e):Yi({},e,n)}var Cg=function(){function e(){var n=this;Li(this,e),Ui(this,"_runningTick",!1),Ui(this,"_destroyed",!1),Ui(this,"_destroyListeners",[]),Ui(this,"_views",[]),Ui(this,"internalErrorHandler",dt(gi)),Ui(this,"afterRenderManager",dt(Ap)),Ui(this,"zonelessEnabled",dt(Mi)),Ui(this,"rootEffectScheduler",dt(Ei)),Ui(this,"dirtyFlags",0),Ui(this,"tracingSnapshot",null),Ui(this,"allTestViews",new Set),Ui(this,"autoDetectTestViews",new Set),Ui(this,"includeAllTestViews",!1),Ui(this,"afterTick",new l),Ui(this,"componentTypes",[]),Ui(this,"components",[]),Ui(this,"internalPendingTask",dt(Si)),Ui(this,"_injector",dt(rr)),Ui(this,"_rendererFactory",null),Ui(this,"tickImpl",function(){if(("undefined"==typeof ngDevMode||ngDevMode)&&Tg(n._destroyed),n._runningTick)throw new We(101,ngDevMode&&"ApplicationRef.tick is called recursively");var e=ve(null);try{if(n._runningTick=!0,n.synchronize(),"undefined"==typeof ngDevMode||ngDevMode){var t=!0,r=!1,o=void 0;try{for(var i,a=n.allViews[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){i.value.checkNoChanges()}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}}finally{var u;n._runningTick=!1,null===(u=n.tracingSnapshot)||void 0===u||u.dispose(),n.tracingSnapshot=null,ve(e),n.afterTick.next(),La(13)}}),dt(pp,{optional:!0})}return zi(e,[{key:"allViews",get:function(){return ea((this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys()).concat(ea(this._views))}},{key:"destroyed",get:function(){return this._destroyed}},{key:"isStable",get:function(){return this.internalPendingTask.hasPendingTasksObservable.pipe(c(function(e){return!e}))}},{key:"whenStable",value:function(){var e,n=this;return new Promise(function(t){e=n.isStable.subscribe({next:function(e){e&&t()}})}).finally(function(){e.unsubscribe()})}},{key:"injector",get:function(){return this._injector}},{key:"bootstrap",value:function(e,n){return this.bootstrapImpl(e,n)}},{key:"bootstrapImpl",value:function(e,n){var t=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:di.NULL;return this._injector.get(xp).run(function(){La(10),("undefined"==typeof ngDevMode||ngDevMode)&&Tg(t._destroyed);var o,i=$i(e,Qf);if(!t._injector.get(xg).done){var a="";if("undefined"==typeof ngDevMode||ngDevMode)a="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&Ht(e)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new We(405,a)}i?o=e:o=t._injector.get(Yf).resolveComponentFactory(e);t.componentTypes.push(o.componentType);var u=o.isBoundToModule?void 0:t._injector.get(Mh),l=n||o.selector,s=o.create(r,[],l,u),c=s.location.nativeElement,d=s.injector.get(mg,null);(null==d||d.registerApplication(c),s.onDestroy(function(){t.detachView(s.hostView),Eg(t.components,s),null==d||d.unregisterApplication(c)}),t._loadComponent(s),"undefined"==typeof ngDevMode||ngDevMode)&&t._injector.get(yg).log("Angular is running in development mode.");return La(11,s),s})}},{key:"tick",value:function(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}},{key:"_tick",value:function(){La(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(cp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}},{key:"synchronize",value:function(){null!==this._rendererFactory||this._injector.destroyed||(this._rendererFactory=this._injector.get(Jf,null,{optional:!0}));for(var e=0;0!==this.dirtyFlags&&e++<10;)La(14),this.synchronizeOnce(),La(15);if(("undefined"==typeof ngDevMode||ngDevMode)&&e>=10)throw new We(103,ngDevMode&&"Infinite change detection while refreshing application views. Ensure views are not calling `markForCheck` on every template execution or that afterRender hooks always mark views for check.")}},{key:"synchronizeOnce",value:function(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());var e,n,t,r,o=!1;if(7&this.dirtyFlags){var i=Boolean(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;var a=!0,u=!1,l=void 0;try{for(var s,c=this.allViews[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var d=s.value._lView;if(i||to(d))Kd(d,i&&!this.zonelessEnabled?0:1),o=!0}}catch(e){u=!0,l=e}finally{try{a||null==c.return||c.return()}finally{if(u)throw l}}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}o||(null===(n=this._rendererFactory)||void 0===n||null===(e=n.begin)||void 0===e||e.call(n),null===(r=this._rendererFactory)||void 0===r||null===(t=r.end)||void 0===t||t.call(r));8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}},{key:"syncDirtyFlagsWithViews",value:function(){this.allViews.some(function(e){return to(e._lView)})?this.dirtyFlags|=2:this.dirtyFlags&=-8}},{key:"attachView",value:function(e){("undefined"==typeof ngDevMode||ngDevMode)&&Tg(this._destroyed);var n=e;this._views.push(n),n.attachToAppRef(this)}},{key:"detachView",value:function(e){("undefined"==typeof ngDevMode||ngDevMode)&&Tg(this._destroyed);var n=e;Eg(this._views,n),n.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView);try{this.tick()}catch(e){this.internalErrorHandler(e)}this.components.push(e);var n=this._injector.get(Ig,[]);if(ngDevMode&&!Array.isArray(n))throw new We(-209,"Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value "+"(expected an array, but got ".concat(void 0===n?"undefined":na(n),"). ")+"Please check that the `APP_BOOTSTRAP_LISTENER` token is configured as a `multi: true` provider.");n.forEach(function(n){return n(e)})}},{key:"ngOnDestroy",value:function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(e){return e()}),this._views.slice().forEach(function(e){return e.destroy()})}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}},{key:"onDestroy",value:function(e){var n=this;return("undefined"==typeof ngDevMode||ngDevMode)&&Tg(this._destroyed),this._destroyListeners.push(e),function(){return Eg(n._destroyListeners,e)}}},{key:"destroy",value:function(){if(this._destroyed)throw new We(406,ngDevMode&&"This instance of the `ApplicationRef` has already been destroyed.");var e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();function Tg(e){e&&console.warn(Ze(406,"This instance of the `ApplicationRef` has already been destroyed."))}function Eg(e,n){var t=e.indexOf(n);t>-1&&e.splice(t,1)}function Og(e){var n=wo(),t=ko();if(fg(n,t),Rg(0,n)){var r=n[9];dp(0,zp(n,t),e(function(){return Vg(0,n,t)},r))}}function Ng(e,n){if("undefined"==typeof ngServerMode||!ngServerMode){var t=wo(),r=t[9],o=ko(),i=Up(t[1],o);if(i.loadingState===ip.NOT_STARTED){dp(1,zp(t,o),e(function(){return Pg(i,t,o)},r))}}}function Ag(e,n,t){if("undefined"==typeof ngServerMode||!ngServerMode){var r=n[9],o=zp(n,t),i=o[6];ngDevMode&&Ql(i),dp(2,o,e(function(){return Fg(r,i)},r))}}function Pg(e,n,t){jg(e,n,t)}function jg(e,n,t){var r,o=n[9],i=n[1];if(e.loadingState!==ip.NOT_STARTED)return null!==(r=e.loadingPromise)&&void 0!==r?r:Promise.resolve();var a=zp(n,t),u=function(e,n){return qr(e,n.primaryTmplIndex+yr)}(i,e);e.loadingState=ip.IN_PROGRESS,fp(1,a);var l=e.dependencyResolverFn;if(ngDevMode){var s=o.get(og,null,{optional:!0});s&&(l=s.intercept(l))}var c=o.get(Ci).add();return l?(e.loadingPromise=Promise.allSettled(l()).then(function(t){var r=!1,o=[],i=[],a=!0,l=!1,s=void 0;try{for(var c,d=t[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var f=c.value;if("fulfilled"!==f.status){r=!0;break}var v=f.value,h=Rt(v)||Ft(v);if(h)o.push(h);else{var p=Lt(v);p&&i.push(p)}}}catch(e){l=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(l)throw s}}if(r){if(e.loadingState=ip.FAILED,null===e.errorTmplIndex){var g=ngDevMode?ac(n):"",y=new We(-750,ngDevMode&&"Loading dependencies for `@defer` block failed, "+"but no `@error` block was configured".concat(g,". ")+"Consider using the `@error` block to render an error state.");cd(n,y)}}else{e.loadingState=ip.COMPLETE;var m=u.tView;if(o.length>0){m.directiveRegistry=qp(m.directiveRegistry,o);var w=o.map(function(e){return e.type}),b=zt.apply(void 0,[!1].concat(ea(w)));e.providers=b}i.length>0&&(m.pipeRegistry=qp(m.pipeRegistry,i))}}),e.loadingPromise.finally(function(){e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(function(){e.loadingPromise=null,e.loadingState=ip.COMPLETE,c()}),e.loadingPromise)}function Rg(e,n){if(0===e&&"undefined"!=typeof ngServerMode&&ngServerMode)return!1;var t=n[9].get(ig,null,{optional:!0});return(null==t?void 0:t.behavior)!==sp.Manual}function Vg(e,n,t){var r=n[1],o=n[t.index];if(ngDevMode&&Nr(o),Rg(e,n)){var i=zp(n,t),a=Up(r,t);switch(vp(i),a.loadingState){case ip.NOT_STARTED:ug(up.Loading,t,o),jg(a,n,t),a.loadingState===ip.IN_PROGRESS&&vg(a,t,o);break;case ip.IN_PROGRESS:ug(up.Loading,t,o),vg(a,t,o);break;case ip.COMPLETE:ngDevMode&&$p(a),ug(up.Complete,t,o);break;case ip.FAILED:ug(up.Error,t,o);break;default:ngDevMode&&gn("Unknown defer block state")}}}function Fg(e,n,t){return Lg.apply(this,arguments)}function Lg(){return(Lg=Fi(function(e,n,t){var r,o,i,a,u;return ia(this,function(l){switch(l.label){case 0:return r=e.get(Ll),r.hydrating.has(n)?[2]:(o=function(e,n){for(var t=n.get(Ll),r=n.get(Ml).get(zl,{}),o=!1,i=e,a=null,u=[];!o&&i;){ngDevMode&&un(u.indexOf(i),-1,"Internal error: defer block hierarchy has a cycle."),o=t.has(i);var l=t.hydrating.get(i);if(null===a&&null!=l){a=l.promise;break}u.unshift(i),i=r[i].p}return{parentBlockPromise:a,hydrationQueue:u}}(n,e),i=o.parentBlockPromise,0===(a=o.hydrationQueue).length?[2]:(null!==i&&a.shift(),function(e,n){var t=!0,r=!1,o=void 0;try{for(var i,a=n[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var u=i.value;e.hydrating.set(u,Promise.withResolvers())}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}(r,a),null===i?[3,2]:[4,i]));case 1:l.sent(),l.label=2;case 2:return u=a[0],r.has(u)?[4,Hg(e,a,t)]:[3,4];case 3:return l.sent(),[3,5];case 4:r.awaitParentBlock(u,Fi(function(){return ia(this,function(n){switch(n.label){case 0:return[4,Hg(e,a,t)];case 1:return[2,n.sent()]}})})),l.label=5;case 5:return[2]}})})).apply(this,arguments)}function Hg(e,n,t){return Bg.apply(this,arguments)}function Bg(){return(Bg=Fi(function(e,n,t){var r,o,i,a,u,l,s,c,d;return ia(this,function(f){switch(f.label){case 0:o=e.get(Ll),i=o.hydrating,a=e.get(Si),u=a.add(),l=0,f.label=1;case 1:return l<n.length?(s=n[l],null==(c=o.get(s))?[3,4]:[4,Wg(c)]):[3,6];case 2:return f.sent(),[4,Ug(e)];case 3:return f.sent(),zp((v=c).lView,v.tNode)[1]===up.Error?(function(e){var n=e.lContainer,t=n[6];if(null!==t){var r=n[3][11],o=!0,i=!1,a=void 0;try{for(var u,l=t[Symbol.iterator]();!(o=(u=l.next()).done);o=!0)Wf(u.value,r),ngDevMode&&ngDevMode.dehydratedViewsRemoved++}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}}}(c),zg(n.slice(l),o),[3,6]):(i.get(s).resolve(),[3,5]);case 4:return function(e,n,t){var r=e-1,o=r>-1?t.get(n[r]):null;o&&Zf(o.lContainer)}(l,n,o),zg(n.slice(l),o),[3,6];case 5:return l++,[3,1];case 6:return d=n[n.length-1],[4,null===(r=i.get(d))||void 0===r?void 0:r.promise];case 7:return f.sent(),a.remove(u),t&&t(n),$f(o.get(d),n,o,e.get(Cg)),[2]}var v})})).apply(this,arguments)}function zg(e,n){var t=n.hydrating;for(var r in e){var o;null===(o=t.get(r))||void 0===o||o.reject()}n.cleanup(e)}function Ug(e){return new Promise(function(n){return Fp(n,{injector:e})})}function Wg(e){return Zg.apply(this,arguments)}function Zg(){return(Zg=Fi(function(e){var n,t,r;return ia(this,function(o){return n=e.tNode,t=e.lView,r=zp(t,n),[2,new Promise(function(e){!function(e,n){Array.isArray(e[8])||(e[8]=[]);e[8].push(n)}(r,e),Vg(2,t,n)})]})})).apply(this,arguments)}function qg(e,n,t){return 0===e?$g(n,t):2===e?!$g(n,t):!("undefined"!=typeof ngServerMode&&ngServerMode)}function $g(e,n){var t=e[9],r=Up(e[1],n),o=Gl(t),i=null!==r.flags&&!(1&~r.flags);if("undefined"!=typeof ngServerMode&&ngServerMode)return!o||!i;var a=null!==zp(e,n)[6];return!(i&&a&&o)}function Gg(e,n){var t,r;return null!==(r=(t=Up(e,n)).hydrateTriggers)&&void 0!==r?r:t.hydrateTriggers=new Map}Ui(Cg,"ɵfac",function(e){return new(e||Cg)}),Ui(Cg,"ɵprov",Mn({token:Cg,factory:Cg.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(Cg,[{type:Fu,args:[{providedIn:"root"}]}],function(){return[]});var Qg=!1;function Yg(e,n,t,r,o,i,a,u,l,s){var c,d=wo(),f=bo(),v=e+yr,h=rp(d,f,e,null,0,0),p=d[9];if(f.firstCreatePass){bh("NgDefer"),ngDevMode&&"undefined"!=typeof ngHmrMode&&ngHmrMode&&function(e){Qg||(Qg=!0,e.get(yg).log(Ze(-751,"Angular has detected that this application contains `@defer` blocks and the hot module replacement (HMR) mode is enabled. All `@defer` block dependencies will be loaded eagerly.")))}(p);var g={primaryTmplIndex:n,loadingTmplIndex:null!=r?r:null,placeholderTmplIndex:null!=o?o:null,errorTmplIndex:null!=i?i:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:null!=t?t:null,loadingState:ip.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:null!=s?s:0};null==l||l(f,g,u,a),function(e,n,t){var r=Bp(n);ngDevMode&&Vr(e,r),e.data[r]=t}(f,v,g)}var y=d[v],m=null,w=null;if((null===(c=y[6])||void 0===c?void 0:c.length)>0){var b,M=y[6][0].data;w=null!==(b=M.di)&&void 0!==b?b:null,m=M.s}var D=[null,lp.Initial,null,null,null,null,w,m,null,null];!function(e,n,t){var r=e[1],o=Bp(n);ngDevMode&&Vr(r,o),e[o]=t}(d,v,D);var k=null;null!==w&&(ngDevMode&&function(e){if(!Gl(e))throw new We(508,"Angular has detected that some `@defer` blocks use `hydrate` triggers, but incremental hydration was not enabled. Please ensure that the `withIncrementalHydration()` call is added as an argument for the `provideClientHydration()` function call in your application config.")}(p),(k=p.get(Ll)).add(w,{lView:d,tNode:h,lContainer:y}));var _=function(){vp(D),null!==w&&(null==k||k.cleanup([w]))};dp(0,D,function(){return ao(d,_)}),io(d,_)}function Jg(e){var n=wo(),t=ti();if((ngDevMode&&Gp(n[1],t,"when <expression>"),qg(0,n,t))&&Sv(n,Fo(),e)){var r=ve(null);try{var o=Boolean(e),i=zp(n,t)[1];!1===o&&i===lp.Initial?fg(n,t):!0!==o||i!==lp.Initial&&i!==up.Placeholder||Vg(0,n,t)}finally{ve(r)}}}function Xg(e){var n=wo(),t=ti();if((ngDevMode&&Gp(n[1],t,"prefetch when <expression>"),qg(1,n,t))&&Sv(n,Fo(),e)){var r=ve(null);try{var o=Boolean(e),i=n[1],a=ti(),u=Up(i,a);!0===o&&u.loadingState===ip.NOT_STARTED&&Pg(u,n,a)}finally{ve(r)}}}function Kg(e){var n=wo(),t=ti();if(ngDevMode&&Gp(n[1],t,"hydrate when <expression>"),qg(2,n,t)){var r=Fo();if(Gg(bo(),t).set(6,null),Sv(n,r,e))if("undefined"!=typeof ngServerMode&&ngServerMode)Vg(2,n,t);else{var o=n[9],i=ve(null);try{if(!0===Boolean(e)){var a=zp(n,t)[6];ngDevMode&&Ql(a),Fg(o,a)}}finally{ve(i)}}}}function ey(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"hydrate never"),qg(2,e,n))&&(Gg(bo(),n).set(7,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Vg(2,e,n))}function ny(){var e=wo(),n=ko();ngDevMode&&Gp(e[1],n,"on idle"),qg(0,e,n)&&Og(Xp)}function ty(){var e=wo(),n=ko();ngDevMode&&Gp(e[1],n,"prefetch on idle"),qg(1,e,n)&&Ng(Xp)}function ry(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"hydrate on idle"),qg(2,e,n))&&(Gg(bo(),n).set(0,null),"undefined"!=typeof ngServerMode&&ngServerMode?Vg(2,e,n):Ag(Xp,e,n))}function oy(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"on immediate"),qg(0,e,n))&&(null===Up(e[1],n).loadingTmplIndex&&fg(e,n),Vg(0,e,n))}function iy(){var e=wo(),n=ko();if(ngDevMode&&Gp(e[1],n,"prefetch on immediate"),qg(1,e,n)){var t=Up(e[1],n);t.loadingState===ip.NOT_STARTED&&jg(t,e,n)}}function ay(){var e=wo(),n=ko();if(ngDevMode&&Gp(e[1],n,"hydrate on immediate"),qg(2,e,n))if(Gg(bo(),n).set(1,null),"undefined"!=typeof ngServerMode&&ngServerMode)Vg(2,e,n);else{var t=e[9],r=zp(e,n)[6];ngDevMode&&Ql(r),Fg(t,r)}}function uy(e){var n=wo(),t=ko();ngDevMode&&Gp(n[1],t,"on timer(".concat(e,"ms)")),qg(0,n,t)&&Og(eg(e))}function ly(e){var n=wo(),t=ko();ngDevMode&&Gp(n[1],t,"prefetch on timer(".concat(e,"ms)")),qg(1,n,t)&&Ng(eg(e))}function sy(e){var n=wo(),t=ko();(ngDevMode&&Gp(n[1],t,"hydrate on timer(".concat(e,"ms)")),qg(2,n,t))&&(Gg(bo(),t).set(5,{delay:e}),"undefined"!=typeof ngServerMode&&ngServerMode?Vg(2,n,t):Ag(eg(e),n,t))}function cy(e,n){var t=wo(),r=ko();ngDevMode&&Gp(t[1],r,"on hover".concat(-1===n?"":"(<target>)")),qg(0,t,r)&&(fg(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Jp(t,r,e,n,Rl,function(){return Vg(0,t,r)},0))}function dy(e,n){var t=wo(),r=ko();if(ngDevMode&&Gp(t[1],r,"prefetch on hover".concat(-1===n?"":"(<target>)")),qg(1,t,r)){var o=Up(t[1],r);o.loadingState===ip.NOT_STARTED&&Jp(t,r,e,n,Rl,function(){return Pg(o,t,r)},1)}}function fy(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"hydrate on hover"),qg(2,e,n))&&(Gg(bo(),n).set(4,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Vg(2,e,n))}function vy(e,n){var t=wo(),r=ko();ngDevMode&&Gp(t[1],r,"on interaction".concat(-1===n?"":"(<target>)")),qg(0,t,r)&&(fg(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Jp(t,r,e,n,jl,function(){return Vg(0,t,r)},0))}function hy(e,n){var t=wo(),r=ko();if(ngDevMode&&Gp(t[1],r,"prefetch on interaction".concat(-1===n?"":"(<target>)")),qg(1,t,r)){var o=Up(t[1],r);o.loadingState===ip.NOT_STARTED&&Jp(t,r,e,n,jl,function(){return Pg(o,t,r)},1)}}function py(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"hydrate on interaction"),qg(2,e,n))&&(Gg(bo(),n).set(3,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Vg(2,e,n))}function gy(e,n){var t=wo(),r=ko();ngDevMode&&Gp(t[1],r,"on viewport".concat(-1===n?"":"(<target>)")),qg(0,t,r)&&(fg(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Jp(t,r,e,n,Qp,function(){return Vg(0,t,r)},0))}function yy(e,n){var t=wo(),r=ko();if(ngDevMode&&Gp(t[1],r,"prefetch on viewport".concat(-1===n?"":"(<target>)")),qg(1,t,r)){var o=Up(t[1],r);o.loadingState===ip.NOT_STARTED&&Jp(t,r,e,n,Qp,function(){return Pg(o,t,r)},1)}}function my(){var e=wo(),n=ko();(ngDevMode&&Gp(e[1],n,"hydrate on viewport"),qg(2,e,n))&&(Gg(bo(),n).set(2,null),"undefined"!=typeof ngServerMode&&ngServerMode&&Vg(2,e,n))}function wy(e,n,t,r){var o=wo(),i=Fo();if(Sv(o,i,n)){var a=bo(),u=ti();id(u,o,e,n,t,r),ngDevMode&&ld(a.data,u,"attr."+e,i)}return wy}
|
|
46
|
+
/*!
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright Google LLC All Rights Reserved.
|
|
49
|
+
*
|
|
50
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
51
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
52
|
+
*/function by(){var e=wo()[15][8];return ngDevMode&&pn(e,"Expected component instance to be defined"),e}var My=function(){function e(){Li(this,e)}return zi(e,[{key:"destroy",value:function(e){}},{key:"updateValue",value:function(e,n){}},{key:"swap",value:function(e,n){var t=Math.min(e,n),r=Math.max(e,n),o=this.detach(r);if(r-t>1){var i=this.detach(t);this.attach(t,o),this.attach(r,i)}else this.attach(t,o)}},{key:"move",value:function(e,n){this.attach(n,this.detach(e))}}]),e}();function Dy(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function ky(e,n,t){var r=e.get(n);void 0!==r?r.add(t):e.set(n,new Set([t]))}function _y(e,n,t,r){return!(void 0===n||!n.has(r))&&(e.attach(t,n.get(r)),n.delete(r),!0)}function xy(e,n,t,r,o){if(_y(e,n,r,t(r,o)))e.updateValue(r,o);else{var i=e.create(r,o);e.attach(r,i)}}function Iy(e,n,t,r){for(var o=new Set,i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Sy=function(){function e(){Li(this,e),Ui(this,"kvMap",new Map),Ui(this,"_vMap",void 0)}return zi(e,[{key:"has",value:function(e){return this.kvMap.has(e)}},{key:"delete",value:function(e){if(!this.has(e))return!1;var n=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}},{key:"get",value:function(e){return this.kvMap.get(e)}},{key:"set",value:function(e,n){if(this.kvMap.has(e)){var t=this.kvMap.get(e);if(ngDevMode&&t===n)throw new Error("Detected a duplicated value ".concat(n," for the key ").concat(e));void 0===this._vMap&&(this._vMap=new Map);for(var r=this._vMap;r.has(t);)t=r.get(t);r.set(t,n)}else this.kvMap.set(e,n)}},{key:"forEach",value:function(e){var n=!0,t=!1,r=void 0;try{for(var o,i=this.kvMap[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=Ki(o.value,2),u=a[0],l=a[1];if(e(l,u),void 0!==this._vMap)for(var s=this._vMap;s.has(l);)e(l=s.get(l),u)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}}}]),e}();function Cy(e,n,t,r,o,i,a,u){bh("NgControlFlow");var l=wo(),s=bo();return rp(l,s,e,n,t,r,o,Xr(s.consts,i),256,a,u),Ty}function Ty(e,n,t,r,o,i,a,u){bh("NgControlFlow");var l=wo(),s=bo();return rp(l,s,e,n,t,r,o,Xr(s.consts,i),512,a,u),Ty}function Ey(e,n){bh("NgControlFlow");var t=wo(),r=Fo(),o=t[r]!==Nc?t[r]:-1,i=-1!==o?Ly(t,yr+o):void 0;if(Sv(t,r,e)){var a=ve(null);try{if(void 0!==i&&df(i,0),-1!==e){var u=yr+e,l=Ly(t,u),s=By(t[1],u);cf(l,hd(t,s,n,{dehydratedView:null}),0,pd(s,null))}}finally{ve(a)}}else if(void 0!==i){var c=sf(i,0);void 0!==c&&(c[8]=n)}}var Oy=function(){function e(n,t,r){Li(this,e),Ui(this,"lContainer",void 0),Ui(this,"$implicit",void 0),Ui(this,"$index",void 0),this.lContainer=n,this.$implicit=t,this.$index=r}return zi(e,[{key:"$count",get:function(){return this.lContainer.length-mr}}]),e}();function Ny(e){return e}function Ay(e,n){return n}var Py=function e(n,t,r){Li(this,e),Ui(this,"hasEmptyBlock",void 0),Ui(this,"trackByFn",void 0),Ui(this,"liveCollection",void 0),this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r};function jy(e,n,t,r,o,i,a,u,l,s,c,d,f){bh("NgControlFlow"),ngDevMode&&an(a,"A track expression must be a function, was ".concat(void 0===a?"undefined":na(a)," instead."));var v=wo(),h=bo(),p=void 0!==l,g=wo(),y=u?a.bind(g[15][8]):a,m=new Py(p,y);g[yr+e]=m,rp(v,h,e+1,n,t,r,o,Xr(h.consts,i),256),p&&(ngDevMode&&pn(s,"Missing number of declarations for the empty repeater block."),ngDevMode&&pn(c,"Missing number of bindings for the empty repeater block."),rp(v,h,e+2,l,s,c,d,Xr(h.consts,f),512))}var Ry=function(){function e(){Li(this,e),Ui(this,"created",0),Ui(this,"destroyed",0)}return zi(e,[{key:"reset",value:function(){this.created=0,this.destroyed=0}},{key:"recordCreate",value:function(){this.created++}},{key:"recordDestroy",value:function(){this.destroyed++}},{key:"wasReCreated",value:function(e){return e>0&&this.created===this.destroyed&&this.created===e}}]),e}(),Vy=function(e){qi(t,e);var n=oa(t);function t(e,r,o){var i;return Li(this,t),Ui(Ri(i=n.call(this)),"lContainer",void 0),Ui(Ri(i),"hostLView",void 0),Ui(Ri(i),"templateTNode",void 0),Ui(Ri(i),"operationsCounter",ngDevMode?new Ry:void 0),Ui(Ri(i),"needsIndexUpdate",!1),i.lContainer=e,i.hostLView=r,i.templateTNode=o,i}return zi(t,[{key:"length",get:function(){return this.lContainer.length-mr}},{key:"at",value:function(e){return this.getLView(e)[8].$implicit}},{key:"attach",value:function(e,n){var t=n[6];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),cf(this.lContainer,n,e,pd(this.templateTNode,t))}},{key:"detach",value:function(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),function(e,n){var t=ff(e,n);return ngDevMode&&Pr(t),t}(this.lContainer,e)}},{key:"create",value:function(e,n){var t,r=(this.lContainer,this.templateTNode.tView.ssrId,null),o=hd(this.hostLView,this.templateTNode,new Oy(this.lContainer,n,e),{dehydratedView:r});return null===(t=this.operationsCounter)||void 0===t||t.recordCreate(),o}},{key:"destroy",value:function(e){var n;Id(e[1],e),null===(n=this.operationsCounter)||void 0===n||n.recordDestroy()}},{key:"updateValue",value:function(e,n){this.getLView(e)[8].$implicit=n}},{key:"reset",value:function(){var e;this.needsIndexUpdate=!1,null===(e=this.operationsCounter)||void 0===e||e.reset()}},{key:"updateIndexes",value:function(){if(this.needsIndexUpdate)for(var e=0;e<this.length;e++)this.getLView(e)[8].$index=e}},{key:"getLView",value:function(e){return Hy(this.lContainer,e)}}]),t}(My);function Fy(e){var n=ve(null),t=ei();try{var r,o=wo(),i=o[1],a=o[t],u=t+1,l=Ly(o,u);if(void 0===a.liveCollection){var s=By(i,u);a.liveCollection=new Vy(l,o,s)}else a.liveCollection.reset();var c=a.liveCollection;if(function(e,n,t){var r=void 0,o=void 0,i=0,a=e.length-1,u=ngDevMode?new Map:void 0;if(Array.isArray(n)){for(var l=n.length-1;i<=a&&i<=l;){var s=e.at(i),c=n[i];ngDevMode&&ky(u,t(i,c),i);var d=Dy(i,s,i,c,t);if(0===d){var f=e.at(a),v=n[l];ngDevMode&&ky(u,t(l,v),l);var h=Dy(a,f,l,v,t);if(0===h){var p=t(i,s),g=t(a,f),y=t(i,c);if(Object.is(y,g)){var m=t(l,v);Object.is(m,p)?(e.swap(i,a),e.updateValue(a,v),l--,a--):e.move(a,i),e.updateValue(i,c),i++}else if(null!=r||(r=new Sy),null!=o||(o=Iy(e,i,a,t)),_y(e,r,i,y))e.updateValue(i,c),i++,a++;else if(o.has(y))r.set(p,e.detach(i)),a--;else{var w=e.create(i,n[i]);e.attach(i,w),i++,a++}}else h<0&&e.updateValue(a,v),a--,l--}else d<0&&e.updateValue(i,c),i++}for(;i<=l;)xy(e,r,t,i,n[i]),i++}else if(null!=n){for(var b=n[Symbol.iterator](),M=b.next();!M.done&&i<=a;){var D=e.at(i),k=M.value;ngDevMode&&ky(u,t(i,k),i);var _=Dy(i,D,i,k,t);if(0!==_)_<0&&e.updateValue(i,k),i++,M=b.next();else{null!=r||(r=new Sy),null!=o||(o=Iy(e,i,a,t));var x=t(i,k);if(_y(e,r,i,x))e.updateValue(i,k),i++,a++,M=b.next();else if(o.has(x)){var I=t(i,D);r.set(I,e.detach(i)),a--}else e.attach(i,e.create(i,k)),i++,a++,M=b.next()}}for(;!M.done;)xy(e,r,t,e.length,M.value),M=b.next()}for(;i<=a;)e.destroy(e.detach(a--));if(null==r||r.forEach(function(n){e.destroy(n)}),ngDevMode){var S=[],C=!0,T=!1,E=void 0;try{for(var O,N=function(){var e=Ki(O.value,2),n=e[0],t=e[1];if(t.size>1)for(var r=ea(t).sort(function(e,n){return e-n}),o=1;o<r.length;o++)S.push('key "'.concat(Gn(n),'" at index "').concat(r[o-1],'" and "').concat(r[o],'"'))},A=u[Symbol.iterator]();!(C=(O=A.next()).done);C=!0)N()}catch(e){T=!0,E=e}finally{try{C||null==A.return||A.return()}finally{if(T)throw E}}if(S.length>0){var P=Ze(-955,"The provided track expression resulted in duplicated keys for a given collection. Adjust the tracking expression such that it uniquely identifies all the items in the collection. Duplicated keys were: \n"+S.join(", \n")+".");console.warn(P)}}}(c,e,a.trackByFn),ngDevMode&&a.trackByFn===Ay&&(null===(r=c.operationsCounter)||void 0===r?void 0:r.wasReCreated(c.length))&&Hy(l,0).length-yr>2){var d=Ze(-956,"The configured tracking expression (track by identity) caused re-creation of the entire collection of size ".concat(c.length,". ")+'This is an expensive operation requiring destruction and subsequent creation of DOM nodes, directives, components etc. Please review the "track expression" and make sure that it uniquely identifies items in a collection.');console.warn(d)}if(c.updateIndexes(),a.hasEmptyBlock){var f=Fo(),v=0===c.length;if(Sv(o,f,v)){var h=t+2,p=Ly(o,h);if(v){var g=By(i,h);cf(p,hd(o,g,void 0,{dehydratedView:null}),0,pd(g,null))}else i.firstUpdatePass&&Uf(p),df(p,0)}}}finally{ve(n)}}function Ly(e,n){var t=e[n];return ngDevMode&&Nr(t),t}function Hy(e,n){var t=sf(e,n);return ngDevMode&&Pr(t),t}function By(e,n){var t=qr(e,n);return ngDevMode&&Tr(t),t}function zy(e,n,t){var r=wo(),o=Fo();if(Sv(r,o,n)){var i=bo(),a=ti();ed(a,r,e,n,r[11],t),ngDevMode&&ld(i.data,a,e,o)}return zy}function Uy(e,n,t,r,o){dd(n,e,t,o?"class":"style",r)}function Wy(e,n,t,r){var o=wo(),i=bo(),a=yr+e;ngDevMode&&un(Ro(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&mn(o,a);var u=o[11],l=i.firstCreatePass?bv(a,i,o,n,od,po(),t,r):i.data[a],s=$y(i,o,l,u,n);o[a]=s;var c=kr(l);return ngDevMode&&i.firstCreatePass&&function(e,n,t,r,o){if(null!==r&&!o&&null!==t&&("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&$i(e,HTMLUnknownElement)||"undefined"!=typeof customElements&&t.indexOf("-")>-1&&!customElements.get(t))&&!lc(r,t)){var i=ic(n),a=ac(n),u="'".concat(i?"@Component":"@NgModule",".schemas'"),l="'".concat(t,"' is not a known element").concat(a,":\n");l+="1. If '".concat(t,"' is an Angular component, then verify that it is ").concat(i?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared",".\n"),t&&t.indexOf("-")>-1?l+="2. If '".concat(t,"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ").concat(u," of this component to suppress this message."):l+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the ".concat(u," of this component."),console.error(Ze(304,l))}}(s,o,l.value,i.schemas,c),Io(l,!0),Bc(u,s,l),!Md(l)&&ui()&&Vd(i,o,s,l),(0===fo.lFrame.elementDepthCount||c)&&ol(s,o),fo.lFrame.elementDepthCount++,c&&(Xc(i,o,l),Xl(i,l,o)),null!==r&&Kc(o,l),Wy}function Zy(){var e=ko();ngDevMode&&pn(e,"No parent node to close."),So()?Co():(ngDevMode&&Or(ko()),Io(e=e.parent,!1));var n=e;ngDevMode&&Ja(n,3),function(e){return fo.skipHydrationRootTNode===e}(n)&&(fo.skipHydrationRootTNode=null),fo.lFrame.elementDepthCount--;var t=bo();return t.firstCreatePass&&Mv(t,n),null!=n.classesWithoutHost&&function(e){return!!(8&e.flags)}(n)&&Uy(t,n,wo(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function(e){return!!(16&e.flags)}(n)&&Uy(t,n,wo(),n.stylesWithoutHost,!1),Zy}function qy(e,n,t,r){return Wy(e,n,t,r),Zy(),qy}var $y=function(e,n,t,r,o,i){return li(!0),Rc(r,o,fo.lFrame.currentNamespace)};function Gy(e,n,t){var r=wo(),o=bo(),i=e+yr;ngDevMode&&mn(r,i),ngDevMode&&un(Ro(),o.bindingStartIndex,"element containers should be created before any bindings");var a=o.firstCreatePass?function(e,n,t,r,o){var i=n.consts,a=Xr(i,r),u=If(n,e,8,"ng-container",a);null!==a&&sv(u,a,!0);var l=Xr(i,o);return po()&&fv(n,t,u,l,od),u.mergedAttrs=eu(u.mergedAttrs,u.attrs),null!==n.queries&&n.queries.elementStart(n,u),u}(i,o,r,n,t):o.data[i];Io(a,!0);var u=Jy(o,r);return r[i]=u,ui()&&Vd(o,r,u,a),ol(u,r),kr(a)&&(Xc(o,r,a),Xl(o,a,r)),null!=t&&Kc(r,a),Gy}function Qy(){var e=ko(),n=bo();return So()?Co():(ngDevMode&&Or(e),Io(e=e.parent,!1)),ngDevMode&&Ja(e,8),n.firstCreatePass&&(Ha(n,e),Mr(e)&&n.queries.elementEnd(e)),Qy}function Yy(e,n,t){return Gy(e,n,t),Qy(),Yy}var Jy=function(e,n,t,r){return li(!0),jc(n[11],ngDevMode?"ng-container":"")};function Xy(){return wo()}function Ky(e,n,t){var r=wo(),o=Fo();if(Sv(r,o,n)){var i=bo(),a=ti();nd(a,r,e,n,r[11],t),ngDevMode&&ld(i.data,a,e,o)}return Ky}function em(e,n,t){var r=wo(),o=Fo();if(Sv(r,o,n)){var i=bo(),a=ti();nd(a,r,e,n,sd(Uo(i.data),a,r),t),ngDevMode&&ld(i.data,a,e,o)}return em}var nm=void 0;var tm,rm=["en",[["a","p"],["AM","PM"],nm],[["AM","PM"],nm,nm],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],nm,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],nm,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nm,"{1} 'at' {0}",nm],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===t?1:5}],om={};function im(e){var n=function(e){var n=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=am(n);if(t)return t;var r=n.split("-")[0];if(t=am(r))return t;if("en"===r)return rm;throw new We(701,ngDevMode&&'Missing locale data for the locale "'.concat(e,'".'))}(e);return n[tm.PluralCase]}function am(e){return e in om||(om[e]=qe.ng&&qe.ng.common&&qe.ng.common.locales&&qe.ng.common.locales[e]),om[e]}!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(tm||(tm={}));var um=["zero","one","two","few","many"];var lm,sm="en-US",cm={marker:"element"},dm={marker:"ICU"};!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(lm||(lm={}));var fm=sm;var vm=0,hm=0;var pm=function(e,n,t,r){return li(!0),function(e,n,t){var r=e[11];switch(t){case Node.COMMENT_NODE:return jc(r,n);case Node.TEXT_NODE:return Ac(r,n);case Node.ELEMENT_NODE:return Rc(r,n,null)}}(e,t,r)};function gm(e,n,t,r){ngDevMode&&yn(r);for(var o,i=t[11],a=null,u=0;u<n.length;u++){var l=n[u];if("string"==typeof l){var s=n[++u];null===t[s]&&(ngDevMode&&mn(t,s),t[s]=pm(t,s,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:var c=Rf(l);null===a&&(a=c,o=i.parentNode(r));var d=void 0,f=void 0;if(c===a?(d=r,f=o):(d=null,f=Ur(t[c])),null!==f){ngDevMode&&yn(f);var v=Vf(l);ngDevMode&&vn(v,yr,"Missing ref");var h=t[v];ngDevMode&&yn(h),Vc(i,f,h,d,!1);var p=Af(e,v);if(null!==p&&"object"===(void 0===p?"undefined":na(p))){ngDevMode&&Er(p);var g=jf(p,t);null!==g&&gm(e,p.create[g],t,t[p.anchorIdx])}}break;case 1:var y=l>>>1,m=n[++u],w=n[++u];ad(i,Wr(y,t),null,null,m,w,null);break;default:if(ngDevMode)throw new We(700,'Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case dm:var b=n[++u],M=n[++u];if(null===t[M])ngDevMode&&un(void 0===b?"undefined":na(b),"string",'Expected "'.concat(b,'" to be a comment node value')),ngDevMode&&Fr(t,M),ol(t[M]=pm(t,M,b,Node.COMMENT_NODE),t);break;case cm:var D=n[++u],k=n[++u];if(null===t[k])ngDevMode&&un(void 0===D?"undefined":na(D),"string",'Expected "'.concat(D,'" to be an element node tag name')),ngDevMode&&Fr(t,k),ol(t[k]=pm(t,k,D,Node.ELEMENT_NODE),t);break;default:ngDevMode&&gn('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}}function ym(e,n,t,r,o){for(var i=0;i<t.length;i++){var a=t[i],u=t[++i];if(a&o)for(var l="",s=i+1;s<=i+u;s++){var c=t[s];if("string"==typeof c)l+=c;else if("number"==typeof c)if(c<0)l+=$n(n[r-c]);else{var d=c>>>2;switch(3&c){case 1:var f=t[++s],v=t[++s],h=e.data[d];ngDevMode&&pn(h,"Experting TNode or string"),"string"==typeof h?ad(n[11],n[d],null,h,f,l,v):ed(h,n,f,l,n[11],v);break;case 0:var p=n[d];null!==p&&Pc(n[11],p,l);break;case 2:wm(e,Af(e,d),n,l);break;case 3:mm(e,Af(e,d),r,n)}}}else{var g=t[i+1];if(g>0&&!(3&~g)){var y=Af(e,g>>>2);n[y.currentCaseLViewIndex]<0&&mm(e,y,r,n)}}i+=u}}function mm(e,n,t,r){ngDevMode&&mn(r,n.currentCaseLViewIndex);var o=r[n.currentCaseLViewIndex];if(null!==o){var i=vm;o<0&&(o=r[n.currentCaseLViewIndex]=~o,i=-1),ym(e,r,n.update[o],t,i)}}function wm(e,n,t,r){var o=function(e,n){var t=e.cases.indexOf(n);if(-1===t)switch(e.type){case 1:var r=function(e,n){var t=im(n)(parseInt(e,10)),r=um[t];return void 0!==r?r:"other"}(n,fm);-1===(t=e.cases.indexOf(r))&&"other"!==r&&(t=e.cases.indexOf("other"));break;case 0:t=e.cases.indexOf("other")}return-1===t?null:t}(n,r);if(jf(n,t)!==o&&(bm(e,n,t),t[n.currentCaseLViewIndex]=null===o?null:~o,null!==o)){var i=t[n.anchorIdx];i&&(ngDevMode&&yn(i),gm(e,n.create[o],t,i)),n.anchorIdx}}function bm(e,n,t){var r=jf(n,t);if(null!==r)for(var o=n.remove[r],i=0;i<o.length;i++){var a=o[i];if(a>0){var u=Wr(a,t);null!==u&&Hc(t[11],u)}else bm(e,Af(e,~a),t)}}function Mm(e){for(var n=e||(Array.isArray(this)?this:[]),t=[],r=0;r<n.length;r++){var o=n[r++],i=n[r],a=(o&lm.COMMENT)===lm.COMMENT,u=(o&lm.APPEND_EAGERLY)===lm.APPEND_EAGERLY,l=o>>>lm.SHIFT;t.push("lView[".concat(l,"] = document.").concat(a?"createComment":"createText","(").concat(JSON.stringify(i),");")),u&&t.push("parent.appendChild(lView[".concat(l,"]);"))}return t}function Dm(e){var n=new xm(e||(Array.isArray(this)?this:[])),t=[];function r(e){var t=e>>>2;switch(3&e){case 0:return"(lView[".concat(t,"] as Text).textContent = $$$");case 1:var r=n.consumeString(),o=n.consumeFunction(),i=o?"(".concat(o,")($$$)"):"$$$";return"(lView[".concat(t,"] as Element).setAttribute('").concat(r,"', ").concat(i,")");case 2:return"icuSwitchCase(".concat(t,", $$$)");case 3:return"icuUpdateCase(".concat(t,")")}throw new Error("unexpected OpCode")}for(;n.hasMore();){for(var o=n.consumeNumber(),i=n.consumeNumber(),a=n.i+i,u=[],l="";n.i<a;){var s=n.consumeNumberOrString();if("string"==typeof s)l+=s;else if(s<0)l+="${lView[i"+s+"]}";else{var c=r(s);u.push(c.replace("$$$","`"+l+"`")+";"),l=""}}t.push("if (mask & 0b".concat(o.toString(2),") { ").concat(u.join(" ")," }"))}return t}function km(e){var n=new xm(e||(Array.isArray(this)?this:[])),t=[];function r(e){var t=Rf(e),r=Vf(e);switch(Ff(e)){case 0:return"(lView[".concat(t,"] as Element).appendChild(lView[").concat(o,"])");case 1:return"(lView[".concat(r,'] as Element).setAttribute("').concat(n.consumeString(),'", "').concat(n.consumeString(),'")')}throw new Error("Unexpected OpCode: "+Ff(e))}for(var o=-1;n.hasMore();){var i=n.consumeNumberStringOrMarker();if(i===dm){var a=n.consumeString();o=n.consumeNumber(),t.push("lView[".concat(o,'] = document.createComment("').concat(a,'")'))}else if(i===cm){var u=n.consumeString();o=n.consumeNumber(),t.push("lView[".concat(o,'] = document.createElement("').concat(u,'")'))}else if("string"==typeof i)o=n.consumeNumber(),t.push("lView[".concat(o,'] = document.createTextNode("').concat(i,'")'));else{if("number"!=typeof i)throw new Error("Unexpected value");var l=r(i);l&&t.push(l)}}return t}function _m(e){for(var n=e||(Array.isArray(this)?this:[]),t=[],r=0;r<n.length;r++){var o=n[r];o>0?t.push("remove(lView[".concat(o,"])")):t.push("removeNestedICU(".concat(~o,")"))}return t}var xm=function(){function e(n){Li(this,e),Ui(this,"i",0),Ui(this,"codes",void 0),this.codes=n}return zi(e,[{key:"hasMore",value:function(){return this.i<this.codes.length}},{key:"consumeNumber",value:function(){var e=this.codes[this.i++];return tn(e,"expecting number in OpCode"),e}},{key:"consumeString",value:function(){var e=this.codes[this.i++];return on(e,"expecting string in OpCode"),e}},{key:"consumeFunction",value:function(){var e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}},{key:"consumeNumberOrString",value:function(){var e=this.codes[this.i++];return"string"==typeof e||tn(e,"expecting number or string in OpCode"),e}},{key:"consumeNumberStringOrMarker",value:function(){var e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==dm||e==cm||tn(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}]),e}(),Im=/�(\d+):?\d*�/gi,Sm=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,Cm=/�(\d+)�/,Tm=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Em="�",Om=/�\/?\*(\d+:\d+)�/gi,Nm=/�(\/?[#*]\d+):?\d*�/gi,Am=/\uE500/g;function Pm(e,n){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:n,enumerable:!1})}function jm(e,n,t,r,o,i){var a=xo(),u=[],l=[],s=[[]],c=[[]];ngDevMode&&(Pm(u,Mm),Pm(l,Dm)),o=function(e,n){if(function(e){return-1===e}(n))return Bm(e);var t=e.indexOf(":".concat(n).concat(Em))+2+n.toString().length,r=e.search(new RegExp("".concat(Em,"\\/\\*\\d+:").concat(n).concat(Em)));return Bm(e.substring(t,r))}(o,i);for(var d=function(e){return e.replace(Am," ")}(o).split(Nm),f=0;f<d.length;f++){var v=d[f];if(1&f){var h=47===v.charCodeAt(0),p=v.charCodeAt(h?1:0);ngDevMode&&wn(p,42,35);var g=yr+Number.parseInt(v.substring(h?2:1));if(h)s.shift(),c.shift(),Io(xo(),!1);else{var y=Pf(e,s[0],g);s.unshift([]),Io(y,!0);var m={kind:2,index:g,children:[],type:35===p?0:1};c[0].push(m),c.unshift(m.children)}}else for(var w=Wm(v),b=0;b<w.length;b++){var M=w[b];if(1&b){var D=M;if("object"!==(void 0===D?"undefined":na(D)))throw new Error('Unable to parse ICU expression in "'.concat(o,'" message.'));var k=Rm(e,a,s[0],t,u,ngDevMode?"ICU ".concat(r,":").concat(D.mainBinding):"",!0).index;ngDevMode&&hn(k,yr,"Index must be in absolute LView offset"),zm(c[0],e,t,l,n,D,k)}else{var _=M;ngDevMode&&on(_,"Parsed ICU part should be string"),""!==_&&Vm(c[0],e,a,s[0],u,l,t,_)}}}e.data[r]={create:u,update:l,ast:c[0],parentTNodeIndex:n}}function Rm(e,n,t,r,o,i,a){var u,l=qc(e,r,1,null),s=l<<lm.SHIFT,c=xo();n===c&&(c=null),null===c&&(s|=lm.APPEND_EAGERLY),a&&(s|=lm.COMMENT,u=Bf,void 0===gd&&(gd=u())),o.push(s,null===i?"":i);var d=Sf(e,l,a?32:1,null===i?ngDevMode?"{{?}}":"":i,null);Cf(t,d);var f=d.index;return Io(d,!1),null!==c&&n!==c&&function(e,n){ngDevMode&&Tr(e);var t=e.insertBeforeIndex;null===t?(Rd(_f,xf),t=e.insertBeforeIndex=[null,n]):(un(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(c,f),d}function Vm(e,n,t,r,o,i,a,u){var l=u.match(Im),s=Rm(n,t,r,a,o,l?null:u,!1).index;l&&Fm(i,u,s,null,0,null),e.push({kind:0,index:s})}function Fm(e,n,t,r,o,i){ngDevMode&&hn(t,yr,"Index must be in absolute LView offset");var a=e.length,u=a+1;e.push(null,null);var l=a+2;ngDevMode&&Pm(e,Dm);for(var s=n.split(Im),c=0,d=0;d<s.length;d++){var f=s[d];if(1&d){var v=o+parseInt(f,10);e.push(-1-v),c|=Hm(v)}else""!==f&&e.push(f)}return e.push(t<<2|(r?1:0)),r&&e.push(r,i),e[a]=c,e[u]=e.length-l,c}function Lm(e){for(var n=0,t=0;t<e.length;t++){var r=e[t];"number"==typeof r&&r<0&&n++}return n}function Hm(e){return 1<<Math.min(e,31)}function Bm(e){for(var n,t,r="",o=0,i=!1;null!==(n=Om.exec(e));)i?n[0]==="".concat(Em,"/*").concat(t).concat(Em)&&(o=n.index,i=!1):(r+=e.substring(o,n.index+n[0].length),t=n[1],i=!0);return ngDevMode&&un(i,!1,'Tag mismatch: unable to find the end of the sub-template in the translation "'.concat(e,'"')),r+=e.slice(o)}function zm(e,n,t,r,o,i,a){ngDevMode&&pn(i,"ICU expression must be defined");var u=0,l={type:i.type,currentCaseLViewIndex:qc(n,t,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};!function(e,n,t){e.push(Hm(n.mainBinding),2,-1-n.mainBinding,t<<2|2)}(r,i,a),function(e,n,t){var r=e.data[n];ngDevMode&&un(null===r||r.hasOwnProperty("tView"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[n]=t:(ngDevMode&&Ja(r,32),r.value=t)}(n,a,l);for(var s=i.values,c=[],d=0;d<s.length;d++){for(var f=s[d],v=[],h=0;h<f.length;h++){var p=f[h];if("string"!=typeof p){var g=v.push(p)-1;f[h]="\x3c!--�".concat(g,"�--\x3e")}}var y=[];c.push(y),u=Zm(y,n,l,t,r,o,i.cases[d],f.join(""),v)|u}u&&function(e,n,t){e.push(n,1,t<<2|3)}(r,u,a),e.push({kind:3,index:a,cases:c,currentCaseLViewIndex:l.currentCaseLViewIndex})}function Um(e){for(var n=[],t=[],r=1,o=0,i=Wm(e=e.replace(Tm,function(e,n,t){return r="select"===t?0:1,o=parseInt(n.slice(1),10),""})),a=0;a<i.length;){var u=i[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&n.push(u);var l=Wm(i[a++]);n.length>t.length&&t.push(l)}return{type:r,mainBinding:o,cases:n,values:t}}function Wm(e){if(!e)return[];var n,t=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;n=i.exec(e);){var a=n.index;if("}"==n[0]){if(r.pop(),0==r.length){var u=e.substring(t,a);Tm.test(u)?o.push(Um(u)):o.push(u),t=a+1}}else{if(0==r.length){var l=e.substring(t,a);o.push(l),t=a+1}r.push("{")}}var s=e.substring(t);return o.push(s),o}function Zm(e,n,t,r,o,i,a,u,l){var s=[],c=[],d=[];ngDevMode&&(Pm(s,km),Pm(c,_m),Pm(d,Dm)),t.cases.push(a),t.create.push(s),t.remove.push(c),t.update.push(d);var f=ls(gl()).getInertBodyElement(u);ngDevMode&&pn(f,"Unable to generate inert body element");var v=Vs(f)||f;return v?qm(e,n,t,r,o,s,c,d,v,i,l,0):0}function qm(e,n,t,r,o,i,a,u,l,s,c,d){for(var f=0,v=l.firstChild;v;){var h=qc(n,r,1,null);switch(v.nodeType){case Node.ELEMENT_NODE:var p=v,g=p.tagName.toLowerCase();if(Ms.hasOwnProperty(g)){Qm(i,cm,g,s,h),n.data[h]=g;for(var y=p.attributes,m=0;m<y.length;m++){var w=y.item(m),b=w.name.toLowerCase();!!w.value.match(Im)?xs.hasOwnProperty(b)?Ds[b]?Fm(u,w.value,h,w.name,0,fs):Fm(u,w.value,h,w.name,0,null):ngDevMode&&console.warn("WARNING: ignoring unsafe attribute value "+"".concat(b," on element ").concat(g," ")+"(see ".concat(Ue,")")):Ym(i,h,w)}var M={kind:1,index:h,children:[]};e.push(M),f=qm(M.children,n,t,r,o,i,a,u,v,h,c,d+1)|f,$m(a,h,d)}break;case Node.TEXT_NODE:var D=v.textContent||"",k=D.match(Im);Qm(i,null,k?"":D,s,h),$m(a,h,d),k&&(f=Fm(u,D,h,null,0,null)|f),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:var _=Cm.exec(v.textContent||"");if(_){var x=parseInt(_[1],10),I=c[x];Qm(i,dm,ngDevMode?"nested ICU ".concat(x):"",s,h),zm(e,n,r,o,s,I,h),Gm(a,h,d)}}v=v.nextSibling}return f}function $m(e,n,t){0===t&&e.push(n)}function Gm(e,n,t){0===t&&(e.push(~n),e.push(n))}function Qm(e,n,t,r,o){var i,a,u;null!==n&&e.push(n),e.push(t,o,(i=0,a=r,u=o,ngDevMode&&hn(a,0,"Missing parent index"),ngDevMode&&vn(u,0,"Missing ref index"),i|a<<17|u<<1))}function Ym(e,n,t){e.push(n<<1|1,t.name,t.value)}var Jm=/\[(�.+?�?)\]/,Xm=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Km=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,ew=/{([A-Z0-9_]+)}/g,nw=/�I18N_EXP_(ICU(_\d+)?)�/g,tw=/\/\*/,rw=/\d+\:(\d+)/;function ow(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=bo(),o=wo(),i=yr+e;ngDevMode&&pn(r,"tView should be defined");var a=Xr(r.consts,n),u=xo();(r.firstCreatePass&&jm(r,null===u?0:u.index,o,i,a,t),2===r.type)?o[15][2]|=32:o[2]|=32;var l=r.data[i],s=Od(r,u===o[5]?null:u,o),c=u&&8&u.type?o[u.index]:null;!function(e,n,t,r){for(var o=e[11],i=0;i<n.length;i++){var a=n[i++],u=n[i],l=(a&lm.COMMENT)===lm.COMMENT,s=(a&lm.APPEND_EAGERLY)===lm.APPEND_EAGERLY,c=a>>>lm.SHIFT,d=e[c],f=!1;null===d&&(d=e[c]=pm(e,c,u,l?Node.COMMENT_NODE:Node.TEXT_NODE),f=ui()),s&&null!==t&&f&&Vc(o,t,d,r,!1)}}(o,l.create,s,c),Ho(!0)}function iw(){Ho(!1)}function aw(e,n,t){ow(e,n,t),iw()}function uw(e,n){var t=bo();ngDevMode&&pn(t,"tView should be defined");var r=Xr(t.consts,n);!function(e,n,t){var r=ko().index,o=[];if(ngDevMode&&Pm(o,Dm),e.firstCreatePass&&null===e.data[n]){for(var i=0;i<t.length;i+=2){var a=t[i],u=t[i+1];if(""!==u){if(Sm.test(u))throw new Error('ICU expressions are not supported in attributes. Message: "'.concat(u,'".'));Fm(o,u,r,a,Lm(o),null)}}e.data[n]=o}}(t,e+yr,r)}function lw(e){var n=wo();return Sv(n,Fo(),e)&&(vm|=1<<Math.min(hm,31)),hm++,lw}function sw(e){!function(e,n,t){if(hm>0){ngDevMode&&pn(e,"tView should be defined");var r=e.data[t];ym(e,n,Array.isArray(r)?r:r.update,Ro()-hm-1,vm)}vm=0,hm=0}(bo(),wo(),e+yr)}function cw(e){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e;if(Jm.test(e)){var r={},o=[0];t=t.replace(Xm,function(e,n,t){var i=n||t,a=r[i]||[];if(a.length||(i.split("|").forEach(function(e){var n=e.match(rw),t=n?parseInt(n[1],10):0,r=tw.test(e);a.push([t,r,e])}),r[i]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - ".concat(i));for(var u=o[o.length-1],l=0,s=0;s<a.length;s++)if(a[s][0]===u){l=s;break}var c=Ki(a[l],3),d=c[0],f=c[1],v=c[2];return f?o.pop():u!==d&&o.push(d),a.splice(l,1),v})}return Object.keys(n).length?t=(t=(t=t.replace(Km,function(e,t,r,o,i,a){return n.hasOwnProperty(r)?"".concat(t).concat(n[r]).concat(a):e})).replace(ew,function(e,t){return n.hasOwnProperty(t)?n[t]:e})).replace(nw,function(e,t){if(n.hasOwnProperty(t)){var r=n[t];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(e," with key: ").concat(t));return r.shift()}return e}):t}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function dw(e,n,t){var r=wo(),o=bo(),i=ko();return vw(o,r,r[11],i,e,n,t),dw}function fw(e,n){var t=ko(),r=wo(),o=bo();return vw(o,r,sd(Uo(o.data),t,r),t,e,n),fw}function vw(e,n,t,r,o,i,a){ngDevMode&&Ja(r,15);var u=!0,l=null;(3&r.type||a)&&(null!=l||(l=Ov(r,n,i)),Av(r,e,n,a,t,o,i,l)&&(u=!1));if(u){var s,c,d=null===(s=r.outputs)||void 0===s?void 0:s[o],f=null===(c=r.hostDirectiveOutputs)||void 0===c?void 0:c[o];if(f&&f.length)for(var v=0;v<f.length;v+=2){var h=f[v],p=f[v+1];null!=l||(l=Ov(r,n,i)),jv(r,n,h,p,o,l)}if(d&&d.length){var g=!0,y=!1,m=void 0;try{for(var w,b=d[Symbol.iterator]();!(g=(w=b.next()).done);g=!0){var M=w.value;null!=l||(l=Ov(r,n,i)),jv(r,n,M,o,o,l)}}catch(e){y=!0,m=e}finally{try{g||null==b.return||b.return()}finally{if(y)throw m}}}}}function hw(){return function(e){return(fo.lFrame.contextLView=no(e,fo.lFrame.contextLView))[8]}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)}function pw(e,n){for(var t=null,r=function(e){var n=e.attrs;if(null!=n){var t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e),o=0;o<n.length;o++){var i=n[o];if("*"!==i){if(null===r?Ic(e,i,!0):Sc(r,i))return o}else t=o}return t}function gw(e){var n=wo()[15][5];if(!n.projection)for(var t=e?e.length:1,r=n.projection=Dt(t,null),o=r.slice(),i=n.child;null!==i;){if(128!==i.type){var a=e?pw(i,e):0;null!==a&&(o[a]?o[a].projectionNext=i:r[a]=i,o[a]=i)}i=i.next}}function yw(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=wo(),u=bo(),l=r?e+1:null;null!==l&&rp(a,u,l,r,o,i,null,t);var s=If(u,yr+e,16,null,t||null);null===s.projection&&(s.projection=n),Co();var c=!a[6]||go();null===a[15][5].projection[s.projection]&&null!==l?function(e,n,t){var r=yr+t,o=n.data[r],i=e[r];ngDevMode&&Tr(o),ngDevMode&&Nr(i);var a=(o.tView.ssrId,null),u=hd(e,o,void 0,{dehydratedView:a});cf(i,u,0,pd(o,a))}(a,u,l):c&&!Md(s)&&function(e,n,t){Ud(n[11],0,n,t,Ed(e,t,n),Nd(t.parent||n[5],t,n))}(u,a,s)}function mw(e,n,t,r){ah(e,n,t,r)}function ww(e,n,t){ih(e,n,t)}function bw(e){var n=wo(),t=bo(),r=Wo();Zo(r+1);var o=lh(t,r);if(e.dirty&&Yr(n)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{var i=sh(n,r);e.reset(i,Bu),e.notifyOnChanges()}return!0}return!1}function Mw(){return rh(wo(),Wo())}function Dw(e,n,t,r,o){ch(n,ah(e,t,r,o))}function kw(e,n,t,r){ch(e,ih(n,t,r))}function _w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;Zo(Wo()+e)}function xw(e){return $r(To(),yr+e)}function Iw(e,n){return ngDevMode&&rn(e,0,32767),ngDevMode&&rn(n,0,32767),e<<17|n<<2}function Sw(e){return ngDevMode&&tn(e,"expected number"),e>>17&32767}function Cw(e){return ngDevMode&&tn(e,"expected number"),2|e}function Tw(e){return ngDevMode&&tn(e,"expected number"),(131068&e)>>2}function Ew(e,n){return ngDevMode&&tn(e,"expected number"),ngDevMode&&rn(n,0,32767),-131069&e|n<<2}function Ow(e){return ngDevMode&&tn(e,"expected number"),1|e}function Nw(e,n,t,r,o,i){ngDevMode&&Rr(bo());var a=i?n.classBindings:n.styleBindings,u=Sw(a),l=Tw(a);e[r]=t;var s,c,d,f=!1;if(Array.isArray(t)){var v=t;(null===(s=v[1])||St(v,s)>0)&&(f=!0)}else s=t;if(o)if(0!==l){var h=Sw(e[u+1]);e[r+1]=Iw(h,u),0!==h&&(e[h+1]=Ew(e[h+1],r)),e[u+1]=(c=e[u+1],d=r,ngDevMode&&tn(c,"expected number"),ngDevMode&&rn(d,0,32767),131071&c|d<<17)}else e[r+1]=Iw(u,0),0!==u&&(e[u+1]=Ew(e[u+1],r)),u=r;else e[r+1]=Iw(l,0),ngDevMode&&un(0!==u&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===u?u=r:e[l+1]=Ew(e[l+1],r),l=r;f&&(e[r+1]=Cw(e[r+1])),Aw(e,s,r,!0),Aw(e,s,r,!1),function(e,n,t,r,o){var i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&St(i,n)>=0&&(t[r+1]=Ow(t[r+1]))}(n,s,e,r,i),a=Iw(u,l),i?n.classBindings=a:n.styleBindings=a}function Aw(e,n,t,r){for(var o=e[t+1],i=null===n,a=r?Sw(o):Tw(o),u=!1;0!==a&&(!1===u||i);){ngDevMode&&mn(e,a);var l=e[a],s=e[a+1];Pw(l,n)&&(u=!0,e[a+1]=r?Ow(s):Cw(s)),a=r?Sw(s):Tw(s)}u&&(e[t+1]=r?Cw(o):Ow(o))}function Pw(e,n){return ngDevMode&&ln(Array.isArray(n),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&St(e,n)>=0}var jw={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rw(e){return e.substring(jw.key,jw.keyEnd)}function Vw(e){return e.substring(jw.value,jw.valueEnd)}function Fw(e,n){var t=jw.textEnd;return t===n?-1:(n=jw.keyEnd=function(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,jw.key=n,t),Bw(e,n,t))}function Lw(e,n){var t=jw.textEnd,r=jw.key=Bw(e,n,t);return t===r?-1:(r=jw.keyEnd=function(e,n,t){var r;for(;n<t&&(45===(r=e.charCodeAt(n))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)n++;return n}(e,r,t),r=zw(e,r,t,58),r=jw.value=Bw(e,r,t),r=jw.valueEnd=function(e,n,t){var r=-1,o=-1,i=-1,a=n,u=a;for(;a<t;){var l=e.charCodeAt(a++);if(59===l)return u;34===l||39===l?u=a=Uw(e,l,a,t):n===a-4&&85===i&&82===o&&76===r&&40===l?u=a=Uw(e,41,a,t):l>32&&(u=a),i=o,o=r,r=-33&l}return u}(e,r,t),zw(e,r,t,59))}function Hw(e){jw.key=0,jw.keyEnd=0,jw.value=0,jw.valueEnd=0,jw.textEnd=e.length}function Bw(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function zw(e,n,t,r){return(n=Bw(e,n,t))<t&&(ngDevMode&&e.charCodeAt(n)!==r&&Ww(e,String.fromCharCode(r),n),n++),n}function Uw(e,n,t,r){for(var o=-1,i=t;i<r;){var a=e.charCodeAt(i++);if(a==n&&92!==o)return i;o=92==a&&92===o?0:a}throw ngDevMode?Ww(e,String.fromCharCode(n),r):new Error}function Ww(e,n,t){throw ngDevMode&&un("string"==typeof e,!0,"String expected here"),gn("Malformed style at location ".concat(t," in string '")+e.substring(0,t)+"[>>"+e.substring(t,t+1)+"<<]"+e.slice(t+1)+"'. Expecting '".concat(n,"'."))}function Zw(e,n,t){return Jw(e,n,t,!1),Zw}function qw(e,n){return Jw(e,n,null,!0),qw}function $w(e){Xw(rb,Gw,e,!1)}function Gw(e,n){for(var t=function(e){return Hw(e),Lw(e,Bw(e,0,jw.textEnd))}(n);t>=0;t=Lw(n,t))rb(e,Rw(n),Vw(n))}function Qw(e){Xw(ob,Yw,e,!0)}function Yw(e,n){for(var t=function(e){return Hw(e),Fw(e,Bw(e,0,jw.textEnd))}(n);t>=0;t=Fw(n,t))xt(e,Rw(n),!0)}function Jw(e,n,t,r){var o=wo(),i=bo(),a=Lo(2);(i.firstUpdatePass&&eb(i,e,a,r),n!==Nc&&Sv(o,a,n))&&ib(i,i.data[ei()],o,o[11],e,o[a+1]=function(e,n){null==e||""===e||("string"==typeof n?e+=n:"object"===(void 0===e?"undefined":na(e))&&(e=Ye(as(e))));return e}(n,t),r,a)}function Xw(e,n,t,r){var o=bo(),i=Lo(2);o.firstUpdatePass&&eb(o,null,i,r);var a=wo();if(t!==Nc&&Sv(a,i,t)){var u=o.data[ei()];if(lb(u,r)&&!Kw(o,i)){if(ngDevMode){var l=o.data[i];un(Array.isArray(l)?l[1]:l,!1,"Styling linked list shadow input should be marked as 'false'")}var s=r?u.classesWithoutHost:u.stylesWithoutHost;ngDevMode&&!1===r&&null!==s&&un(s.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==s&&(t=Je(s,t||"")),Uy(o,u,a,t,r)}else!function(e,n,t,r,o,i,a,u){o===Nc&&(o=Tt);var l=0,s=0,c=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==c||null!==d;){ngDevMode&&dn(l,999,"Are we stuck in infinite loop?"),ngDevMode&&dn(s,999,"Are we stuck in infinite loop?");var f=l<o.length?o[l+1]:void 0,v=s<i.length?i[s+1]:void 0,h=null,p=void 0;c===d?(l+=2,s+=2,f!==v&&(h=d,p=v)):null===d||null!==c&&c<d?(l+=2,h=c):(ngDevMode&&pn(d,"Expecting to have a valid key"),s+=2,h=d,p=v),null!==h&&ib(e,n,t,r,h,p,a,u),c=l<o.length?o[l]:null,d=s<i.length?i[s]:null}}(o,u,a,a[11],a[i+1],a[i+1]=function(e,n,t){if(null==t||""===t)return Tt;var r=[],o=as(t);if(Array.isArray(o))for(var i=0;i<o.length;i++)e(r,o[i],!0);else if("object"===(void 0===o?"undefined":na(o)))for(var a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o?n(r,o):ngDevMode&&gn("Unsupported styling type: "+(void 0===o?"undefined":na(o))+" ("+o+")");return r}(e,n,t),r,i)}}function Kw(e,n){return n>=e.expandoStartIndex}function eb(e,n,t,r){ngDevMode&&Rr(e);var o=e.data;if(null===o[t+1]){var i=o[ei()];ngDevMode&&pn(i,"TNode expected");var a=Kw(e,t);lb(i,r)&&null===n&&!a&&(n=!1),n=function(e,n,t,r){var o=Uo(e),i=r?n.residualClasses:n.residualStyles;if(null===o){0===(r?n.classBindings:n.styleBindings)&&(t=tb(t=nb(null,e,n,t,r),n.attrs,r),i=null)}else{var a=n.directiveStylingLast;if(-1===a||e[a]!==o)if(t=nb(o,e,n,t,r),null===i){var u=function(e,n,t){var r=t?n.classBindings:n.styleBindings;if(0===Tw(r))return;return e[Sw(r)]}(e,n,r);void 0!==u&&Array.isArray(u)&&function(e,n,t,r){var o=t?n.classBindings:n.styleBindings;ngDevMode&&ln(Tw(o),0,"Expecting to have at least one template styling binding."),e[Sw(o)]=r}(e,n,r,u=tb(u=nb(null,e,n,u[1],r),n.attrs,r))}else i=function(e,n,t){var r=void 0,o=n.directiveEnd;ngDevMode&&ln(n.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(var i=1+n.directiveStylingLast;i<o;i++){r=tb(r,e[i].hostAttrs,t)}return tb(r,n.attrs,t)}(e,n,r)}void 0!==i&&(r?n.residualClasses=i:n.residualStyles=i);return t}(o,i,n,r),Nw(o,i,n,t,a,r)}}function nb(e,n,t,r,o){var i=null,a=t.directiveEnd,u=t.directiveStylingLast;for(-1===u?u=t.directiveStart:u++;u<a&&(i=n[u],ngDevMode&&pn(i,"expected to be defined"),r=tb(r,i.hostAttrs,o),i!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function tb(e,n,t){var r=t?1:2,o=-1;if(null!==n)for(var i=0;i<n.length;i++){var a=n[i];"number"==typeof a?o=a:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xt(e,a,!!t||n[++i]))}return void 0===e?null:e}function rb(e,n,t){xt(e,n,as(t))}function ob(e,n,t){var r=String(n);""===r||r.includes(" ")||xt(e,r,t)}function ib(e,n,t,r,o,i,a,u){if(3&n.type){var l,s=e.data,c=s[u+1];if(!ub((l=c,ngDevMode&&tn(l,"expected number"),1&~l?void 0:ab(s,n,t,o,Tw(c),a))))ub(i)||function(e){return ngDevMode&&tn(e,"expected number"),!(2&~e)}(c)&&(i=ab(s,null,t,o,u,a)),function(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{var i=-1===r.indexOf("-")?void 0:yd.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=yd.Important),e.setStyle(t,r,o,i))}}(r,a,Wr(ei(),t),o,i)}}function ab(e,n,t,r,o,i){for(var a=null===n,u=void 0;o>0;){var l=e[o],s=Array.isArray(l),c=s?l[1]:l,d=null===c,f=t[o+1];f===Nc&&(f=d?Tt:void 0);var v=d?It(f,r):c===r?f:void 0;if(s&&!ub(v)&&(v=It(l,r)),ub(v)&&(u=v,a))return u;var h=e[o+1];o=a?Sw(h):Tw(h)}if(null!==n){var p=i?n.residualClasses:n.residualStyles;null!=p&&(u=It(p,r))}return u}function ub(e){return void 0!==e}function lb(e,n){return!!(e.flags&(n?8:16))}function sb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=wo(),r=bo(),o=e+yr;ngDevMode&&un(Ro(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&mn(t,o);var i=r.firstCreatePass?If(r,o,1,n,null):r.data[o],a=cb(r,t,i,n);t[o]=a,ui()&&Vd(r,t,a,i),Io(i,!1)}var cb=function(e,n,t,r,o){return li(!0),Ac(n[11],r)};function db(e,n){ngDevMode&&dn(2,n.length,"should have at least 3 values");for(var t=!1,r=Ro(),o=1;o<n.length;o+=2)t=Sv(e,r++,n[o])||t;if(Vo(r),!t)return Nc;for(var i=n[0],a=1;a<n.length;a+=2)i+=$n(n[a])+(a+1!==n.length?n[a+1]:"");return i}function fb(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return Sv(e,Fo(),t)?n+$n(t)+r:Nc}function vb(e,n,t,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",a=Cv(e,Ro(),t,o);return Lo(2),a?n+$n(t)+r+$n(o)+i:Nc}function hb(e,n,t,r,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",l=Tv(e,Ro(),t,o,a);return Lo(3),l?n+$n(t)+r+$n(o)+i+$n(a)+u:Nc}function pb(e,n,t,r,o,i,a,u,l){var s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"",c=Ev(e,Ro(),t,o,a,l);return Lo(4),c?n+$n(t)+r+$n(o)+i+$n(a)+u+$n(l)+s:Nc}function gb(e,n,t,r,o,i,a,u,l,s,c){var d=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"",f=Ro(),v=Ev(e,f,t,o,a,l);return v=Sv(e,f+4,c)||v,Lo(5),v?n+$n(t)+r+$n(o)+i+$n(a)+u+$n(l)+s+$n(c)+d:Nc}function yb(e,n,t,r,o,i,a,u,l,s,c,d,f){var v=arguments.length>13&&void 0!==arguments[13]?arguments[13]:"",h=Ro(),p=Ev(e,h,t,o,a,l);return p=Cv(e,h+4,c,f)||p,Lo(6),p?n+$n(t)+r+$n(o)+i+$n(a)+u+$n(l)+s+$n(c)+d+$n(f)+v:Nc}function mb(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h){var p=arguments.length>15&&void 0!==arguments[15]?arguments[15]:"",g=Ro(),y=Ev(e,g,t,o,a,l);return y=Tv(e,g+4,c,f,h)||y,Lo(7),y?n+$n(t)+r+$n(o)+i+$n(a)+u+$n(l)+s+$n(c)+d+$n(f)+v+$n(h)+p:Nc}function wb(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g){var y=arguments.length>17&&void 0!==arguments[17]?arguments[17]:"",m=Ro(),w=Ev(e,m,t,o,a,l);return w=Ev(e,m+4,c,f,h,g)||w,Lo(8),w?n+$n(t)+r+$n(o)+i+$n(a)+u+$n(l)+s+$n(c)+d+$n(f)+v+$n(h)+p+$n(g)+y:Nc}function bb(e){return Mb("",e),bb}function Mb(e,n,t){var r=wo(),o=fb(r,e,n,t);return o!==Nc&&Eb(r,ei(),o),Mb}function Db(e,n,t,r,o){var i=wo(),a=vb(i,e,n,t,r,o);return a!==Nc&&Eb(i,ei(),a),Db}function kb(e,n,t,r,o,i,a){var u=wo(),l=hb(u,e,n,t,r,o,i,a);return l!==Nc&&Eb(u,ei(),l),kb}function _b(e,n,t,r,o,i,a,u,l){var s=wo(),c=pb(s,e,n,t,r,o,i,a,u,l);return c!==Nc&&Eb(s,ei(),c),_b}function xb(e,n,t,r,o,i,a,u,l,s,c){var d=wo(),f=gb(d,e,n,t,r,o,i,a,u,l,s,c);return f!==Nc&&Eb(d,ei(),f),xb}function Ib(e,n,t,r,o,i,a,u,l,s,c,d,f){var v=wo(),h=yb(v,e,n,t,r,o,i,a,u,l,s,c,d,f);return h!==Nc&&Eb(v,ei(),h),Ib}function Sb(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h){var p=wo(),g=mb(p,e,n,t,r,o,i,a,u,l,s,c,d,f,v,h);return g!==Nc&&Eb(p,ei(),g),Sb}function Cb(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g){var y=wo(),m=wb(y,e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g);return m!==Nc&&Eb(y,ei(),m),Cb}function Tb(e){var n=wo(),t=db(n,e);return t!==Nc&&Eb(n,ei(),t),Tb}function Eb(e,n,t){ngDevMode&&on(t,"Value should be a string"),ngDevMode&&cn(t,Nc,"value should not be NO_CHANGE"),ngDevMode&&mn(e,n);var r=Wr(n,e);ngDevMode&&pn(r,"native element should exist"),Pc(e[11],r,t)}
|
|
53
|
+
/*!
|
|
54
|
+
* @license
|
|
55
|
+
* Copyright Google LLC All Rights Reserved.
|
|
56
|
+
*
|
|
57
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
58
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
59
|
+
*/function Ob(e,n,t){wi(n)&&(n=n());var r=wo(),o=Fo();if(Sv(r,o,n)){var i=bo(),a=ti();ed(a,r,e,n,r[11],t),ngDevMode&&ld(i.data,a,e,o)}return Ob}function Nb(e,n){var t=wi(e);return t&&e.set(n),t}function Ab(e,n){var t=wo(),r=bo(),o=ko();return vw(r,t,t[11],o,e,n),Ab}
|
|
60
|
+
/*!
|
|
61
|
+
* @license
|
|
62
|
+
* Copyright Google LLC All Rights Reserved.
|
|
63
|
+
*
|
|
64
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
65
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
66
|
+
*/var Pb={};function jb(e){var n=bo(),t=wo(),r=e+yr;return Io(If(n,r,128,null,null),!1),Gr(n,t,r,Pb),jb}function Rb(e){return bh("NgLet"),Gr(bo(),wo(),ei(),e),e}function Vb(e){var n=$r(To(),yr+e);if(n===Pb)throw new We(314,ngDevMode&&"Attempting to access a @let declaration whose value is not available yet");return n}
|
|
67
|
+
/*!
|
|
68
|
+
* @license
|
|
69
|
+
* Copyright Google LLC All Rights Reserved.
|
|
70
|
+
*
|
|
71
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
72
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
73
|
+
*/function Fb(e,n){var t=bo(),r=wo(),o=r[11],i="data-ng-source-location",a=!0,u=!1,l=void 0;try{for(var s,c=n[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var d=Ki(s.value,4),f=d[0],v=d[1],h=d[2],p=d[3],g=qr(t,f+yr);ngDevMode&&Ja(g,2);var y=Wr(f+yr,r);if(!y.hasAttribute(i)){var m="".concat(e,"@o:").concat(v,",l:").concat(h,",c:").concat(p);o.setAttribute(y,i,m)}}}catch(e){u=!0,l=e}finally{try{a||null==c.return||c.return()}finally{if(u)throw l}}}
|
|
74
|
+
/*!
|
|
75
|
+
* @license
|
|
76
|
+
* Copyright Google LLC All Rights Reserved.
|
|
77
|
+
*
|
|
78
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
79
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
80
|
+
*/function Lb(e){return Sv(wo(),Fo(),e)?$n(e):Nc}function Hb(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return fb(wo(),e,n,t)}function Bb(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return vb(wo(),e,n,t,r,o)}function zb(e,n,t,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return hb(wo(),e,n,t,r,o,i,a)}function Ub(e,n,t,r,o,i,a,u){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"";return pb(wo(),e,n,t,r,o,i,a,u,l)}function Wb(e,n,t,r,o,i,a,u,l,s){var c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:"";return gb(wo(),e,n,t,r,o,i,a,u,l,s,c)}function Zb(e,n,t,r,o,i,a,u,l,s,c,d){var f=arguments.length>12&&void 0!==arguments[12]?arguments[12]:"";return yb(wo(),e,n,t,r,o,i,a,u,l,s,c,d,f)}function qb(e,n,t,r,o,i,a,u,l,s,c,d,f,v){var h=arguments.length>14&&void 0!==arguments[14]?arguments[14]:"";return mb(wo(),e,n,t,r,o,i,a,u,l,s,c,d,f,v,h)}function $b(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p){var g=arguments.length>16&&void 0!==arguments[16]?arguments[16]:"";return wb(wo(),e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g)}function Gb(e){return db(wo(),e)}function Qb(e,n,t,r,o){if(e=en(e),Array.isArray(e))for(var i=0;i<e.length;i++)Qb(e[i],n,t,r,o);else{var a=bo(),u=wo(),l=ko(),s=Jt(e)?e:en(e.provide),c=ar(e);if(ngDevMode)Vn(new ku(l,u),s,function(){An(e,o)});var d=1048575&l.providerIndexes,f=l.directiveStart,v=l.providerIndexes>>20;if(Jt(e)||!e.multi){var h=new Ga(c,o,cv),p=Xb(s,n,o?d:d+v,f);-1===p?(vu(su(l,u),a,s),Yb(a,e,n.length),n.push(s),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),t.push(h),u.push(h)):(t[p]=h,u[p]=h)}else{var g=Xb(s,n,d+v,f),y=Xb(s,n,d,d+v),m=g>=0&&t[g],w=y>=0&&t[y];if(o&&!w||!o&&!m){vu(su(l,u),a,s);var b=function(e,n,t,r,o){var i=new Ga(e,t,cv);return i.multi=[],i.index=n,i.componentProviders=0,Jb(i,o,r&&!t),i}(o?eM:Kb,t.length,o,r,c);!o&&w&&(t[y].providerFactory=b),Yb(a,e,n.length,0),n.push(s),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),t.push(b),u.push(b)}else{var M=Jb(t[o?y:g],c,!o&&r);Yb(a,e,g>-1?g:y,M)}!o&&r&&w&&t[y].componentProviders++}}}function Yb(e,n,t,r){var o=Jt(n),i=!!n.useClass;if(o||i){var a=(i?en(n.useClass):n).prototype.ngOnDestroy;if(a){var u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){ngDevMode&&pn(r,"indexInFactory when registering multi factory destroy hook");var l=u.indexOf(t);-1===l?u.push(t,[r,a]):u[l+1].push(r,a)}else u.push(t,a)}}}function Jb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Xb(e,n,t,r){for(var o=t;o<r;o++)if(n[o]===e)return o;return-1}function Kb(e,n,t,r){return nM(this.multi,[])}function eM(e,n,t,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,u=bu(t,t[1],this.providerFactory.index,r);nM(i,o=u.slice(0,a));for(var l=a;l<u.length;l++)o.push(u[l])}else nM(i,o=[]);return o}function nM(e,n){for(var t=0;t<e.length;t++){var r=e[t];n.push(r())}return n}function tM(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(t){t.providersResolver=function(t,r){return function(e,n,t){var r=bo();if(r.firstCreatePass){var o=_r(e);Qb(t,r.data,r.blueprint,o,!0),Qb(n,r.data,r.blueprint,o,!1)}}(t,r?r(e):e,n)}}}function rM(e){return function(n){e.length<1||(n.getExternalStyles=function(t){return e.map(function(e){return e+"?ngcomp"+(t?"="+encodeURIComponent(t):"")+"&e="+n.encapsulation})})}}function oM(e,n,t){var r=e.ɵcmp;r.directiveDefs=Fh(n,!1),r.pipeDefs=Fh(t,!0)}function iM(e,n){return aa(function(){var t=jt(e);t.declarations=aM(n.declarations||Tt),t.imports=aM(n.imports||Tt),t.exports=aM(n.exports||Tt),n.bootstrap&&(t.bootstrap=aM(n.bootstrap)),av.registerNgModule(e,n)})}function aM(e){if("function"==typeof e)return e;var n=mt(e);return n.some(nn)?function(){return n.map(en).map(uM)}:n.map(uM)}function uM(e){return Kf(e)?e.ngModule:e}function lM(e,n,t){var r=jo()+e,o=wo();return o[r]===Nc?xv(o,r,t?n.call(t):n()):Iv(o,r)}function sM(e,n,t,r){return wM(wo(),jo(),e,n,t,r)}function cM(e,n,t,r,o){return bM(wo(),jo(),e,n,t,r,o)}function dM(e,n,t,r,o,i){return MM(wo(),jo(),e,n,t,r,o,i)}function fM(e,n,t,r,o,i,a){return DM(wo(),jo(),e,n,t,r,o,i,a)}function vM(e,n,t,r,o,i,a,u){var l=jo()+e,s=wo(),c=Ev(s,l,t,r,o,i);return Sv(s,l+4,a)||c?xv(s,l+5,u?n.call(u,t,r,o,i,a):n(t,r,o,i,a)):Iv(s,l+5)}function hM(e,n,t,r,o,i,a,u,l){var s=jo()+e,c=wo(),d=Ev(c,s,t,r,o,i);return Cv(c,s+4,a,u)||d?xv(c,s+6,l?n.call(l,t,r,o,i,a,u):n(t,r,o,i,a,u)):Iv(c,s+6)}function pM(e,n,t,r,o,i,a,u,l,s){var c=jo()+e,d=wo(),f=Ev(d,c,t,r,o,i);return Tv(d,c+4,a,u,l)||f?xv(d,c+7,s?n.call(s,t,r,o,i,a,u,l):n(t,r,o,i,a,u,l)):Iv(d,c+7)}function gM(e,n,t,r,o,i,a,u,l,s,c){var d=jo()+e,f=wo(),v=Ev(f,d,t,r,o,i);return Ev(f,d+4,a,u,l,s)||v?xv(f,d+8,c?n.call(c,t,r,o,i,a,u,l,s):n(t,r,o,i,a,u,l,s)):Iv(f,d+8)}function yM(e,n,t,r){return kM(wo(),jo(),e,n,t,r)}function mM(e,n){ngDevMode&&mn(e,n);var t=e[n];return t===Nc?void 0:t}function wM(e,n,t,r,o,i){var a=n+t;return Sv(e,a,o)?xv(e,a+1,i?r.call(i,o):r(o)):mM(e,a+1)}function bM(e,n,t,r,o,i,a){var u=n+t;return Cv(e,u,o,i)?xv(e,u+2,a?r.call(a,o,i):r(o,i)):mM(e,u+2)}function MM(e,n,t,r,o,i,a,u){var l=n+t;return Tv(e,l,o,i,a)?xv(e,l+3,u?r.call(u,o,i,a):r(o,i,a)):mM(e,l+3)}function DM(e,n,t,r,o,i,a,u,l){var s=n+t;return Ev(e,s,o,i,a,u)?xv(e,s+4,l?r.call(l,o,i,a,u):r(o,i,a,u)):mM(e,s+4)}function kM(e,n,t,r,o,i){for(var a=n+t,u=!1,l=0;l<o.length;l++)Sv(e,a++,o[l])&&(u=!0);return u?xv(e,a,r.apply(i,o)):mM(e,a)}function _M(e,n){var t,r,o,i=bo(),a=e+yr;i.firstCreatePass?(t=function(e,n){if(n){if(ngDevMode)n.filter(function(n){return n.name===e}).length>1&&console.warn(Ze(313,function(e){var n=wo(),t=n[15][8],r=ic(n),o=t?" in the '".concat(t.constructor.name,"' component"):"",i="check ".concat(r?"'@Component.imports' of this component":"the imports of this module"),a="Multiple pipes match the name `".concat(e,"`").concat(o,". ").concat(i);return a}(e)));for(var t=n.length-1;t>=0;t--){var r=n[t];if(e===r.name)return r}}if(ngDevMode)throw new We(-302,function(e){var n=wo(),t=n[15][8],r=ic(n),o=t?" in the '".concat(t.constructor.name,"' component"):"",i="Verify that it is ".concat(r?"included in the '@Component.imports' of this component":"declared or imported in this module"),a="The pipe '".concat(e,"' could not be found").concat(o,". ").concat(i);return a}(e));return}(n,i.pipeRegistry),i.data[a]=t,t.onDestroy&&(null!==(o=(r=i).destroyHooks)&&void 0!==o?o:r.destroyHooks=[]).push(a,t.onDestroy)):t=i.data[a];var u,l=t.factory||(t.factory=yt(t.type,!0));ngDevMode&&(u=En({injector:new ku(ko(),wo()),token:t.type}));var s=et(cv);try{var c=au(!1),d=l();return au(c),Gr(i,wo(),a,d),d}finally{et(s),ngDevMode&&En(u)}}function xM(e,n,t){var r=e+yr,o=wo(),i=$r(o,r);return EM(o,r)?wM(o,jo(),n,i.transform,t,i):i.transform(t)}function IM(e,n,t,r){var o=e+yr,i=wo(),a=$r(i,o);return EM(i,o)?bM(i,jo(),n,a.transform,t,r,a):a.transform(t,r)}function SM(e,n,t,r,o){var i=e+yr,a=wo(),u=$r(a,i);return EM(a,i)?MM(a,jo(),n,u.transform,t,r,o,u):u.transform(t,r,o)}function CM(e,n,t,r,o,i){var a=e+yr,u=wo(),l=$r(u,a);return EM(u,a)?DM(u,jo(),n,l.transform,t,r,o,i,l):l.transform(t,r,o,i)}function TM(e,n,t){var r=e+yr,o=wo(),i=$r(o,r);return EM(o,r)?kM(o,jo(),n,i.transform,t,i):i.transform.apply(i,t)}function EM(e,n){return e[1].data[n].pure}function OM(e,n){return gf(e,n)}function NM(e,n){return function(){try{return av.getComponentDependencies(e,n).dependencies}catch(n){throw console.error('Computing dependencies in local compilation mode for the component "'.concat(e.name,'" failed with the exception:'),n),n}}}function AM(e,n){var t=Rt(e);null!==t&&(t.debugInfo=n)}
|
|
81
|
+
/*!
|
|
82
|
+
* @license
|
|
83
|
+
* Copyright Google LLC All Rights Reserved.
|
|
84
|
+
*
|
|
85
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
86
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
87
|
+
*/function PM(e,n,t){var r="./@ng/component?c=".concat(e,"&t=").concat(encodeURIComponent(n));return new URL(r,t).href}function jM(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;ngDevMode&&hc(e);var a=Rt(e);n.apply(null,[e,t].concat(ea(r)));var u=function(e,n){var t=Yi({},e),r=Object.assign(e,n,{directiveDefs:t.directiveDefs,pipeDefs:t.pipeDefs,setInput:t.setInput,type:t.type});return ngDevMode&&un(r,e,"Expected definition to be merged in place"),{newDef:r,oldDef:t}}(a,Rt(e)),l=u.newDef,s=u.oldDef;if(e[Hn]=l,s.tView){var c=$u.values(),d=!0,f=!1,v=void 0;try{for(var h,p=c[Symbol.iterator]();!(d=(h=p.next()).done);d=!0){var g=h.value;xr(g)&&null===g[3]&&RM(o,i,l,s,g)}}catch(e){f=!0,v=e}finally{try{d||null==p.return||p.return()}finally{if(f)throw v}}}}function RM(e,n,t,r,o){ngDevMode&&pn(r.tView,"Expected a component definition that has been instantiated at least once");var i=o[1];if(i===r.tView)return ngDevMode&&hc(r.type),void function(e,n,t,r,o){var i=o[8],a=o[0],u=o[3];ngDevMode&&Pr(u);var l=o[5];ngDevMode&&Ja(l,2),ngDevMode&&ln(t,r,"Expected different component definition");var s=o[9].get(xp,null),c=function(){if(r.encapsulation===Wl.ShadowDom){var e=a.cloneNode(!1);a.replaceWith(e),a=e}var n=Uc(t),s=Wc(u,n,i,Zc(t),a,l,null,null,null,null,null);!function(e,n,t,r){for(var o=yr;o<e[1].bindingStartIndex;o++){var i=e[o];if((wr(i)||br(i))&&i[4]===n){i[4]=t;break}}e[12]===n&&(e[12]=t);e[13]===n&&(e[13]=t);t[4]=n[4],n[4]=null,e[r]=t}(u,o,s,l.index),Id(o[1],o);var c,d,f,v=o[10].rendererFactory;d=r,null===(f=(c=v).componentReplaced)||void 0===f||f.call(c,d.id),s[11]=v.createRenderer(a,t),kd(o[1],o),function(e){if(null!==e.projection){var n=!0,t=!1,r=void 0;try{for(var o,i=e.projection[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;Ya(a)&&(a.projectionNext=null,a.flags&=-3)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}e.projection=null}}(l),vd(n,s,i),ef(n,s,n.template,i)};null===s?VM(e,n,c):s.run(function(){return VM(e,n,c)})}(e,n,t,r,o);for(var a=yr;a<i.bindingStartIndex;a++){var u=o[a];if(br(u)){wr(u[0])&&RM(e,n,t,r,u[0]);for(var l=mr;l<u.length;l++)RM(e,n,t,r,u[l])}else wr(u)&&RM(e,n,t,r,u)}}function VM(e,n,t){try{t()}catch(t){var r=t;if(null!==n&&r.message){var o,i,a=r.message+(r.stack?"\n"+r.stack:"");null==e||null===(i=e.hot)||void 0===i||null===(o=i.send)||void 0===o||o.call(i,"angular:invalidate",{id:n,message:a,error:!0})}throw t}}var FM={"ɵɵattribute":wy,"ɵɵdefineComponent":Ch,"ɵɵdefineDirective":Ph,"ɵɵdefineInjectable":Mn,"ɵɵdefineInjector":Dn,"ɵɵdefineNgModule":Oh,"ɵɵdefinePipe":jh,"ɵɵdirectiveInject":cv,"ɵɵgetInheritedFactory":xu,"ɵɵinject":st,"ɵɵinjectAttribute":Cu,"ɵɵinvalidFactory":dv,"ɵɵinvalidFactoryDep":ct,"ɵɵtemplateRefExtractor":OM,"ɵɵresetView":Do,"ɵɵHostDirectivesFeature":Yh,"ɵɵNgOnChangesFeature":Na,"ɵɵProvidersFeature":tM,"ɵɵCopyDefinitionFeature":Qh,"ɵɵInheritDefinitionFeature":Bh,"ɵɵExternalStylesFeature":rM,"ɵɵnextContext":hw,"ɵɵnamespaceHTML":ii,"ɵɵnamespaceMathML":oi,"ɵɵnamespaceSVG":ri,"ɵɵenableBindings":yo,"ɵɵdisableBindings":mo,"ɵɵelementStart":Wy,"ɵɵelementEnd":Zy,"ɵɵelement":qy,"ɵɵelementContainerStart":Gy,"ɵɵelementContainerEnd":Qy,"ɵɵelementContainer":Yy,"ɵɵpureFunction0":lM,"ɵɵpureFunction1":sM,"ɵɵpureFunction2":cM,"ɵɵpureFunction3":dM,"ɵɵpureFunction4":fM,"ɵɵpureFunction5":vM,"ɵɵpureFunction6":hM,"ɵɵpureFunction7":pM,"ɵɵpureFunction8":gM,"ɵɵpureFunctionV":yM,"ɵɵgetCurrentView":Xy,"ɵɵrestoreView":Mo,"ɵɵlistener":dw,"ɵɵprojection":yw,"ɵɵsyntheticHostProperty":em,"ɵɵsyntheticHostListener":fw,"ɵɵpipeBind1":xM,"ɵɵpipeBind2":IM,"ɵɵpipeBind3":SM,"ɵɵpipeBind4":CM,"ɵɵpipeBindV":TM,"ɵɵprojectionDef":gw,"ɵɵdomProperty":Ky,"ɵɵproperty":zy,"ɵɵpipe":_M,"ɵɵqueryRefresh":bw,"ɵɵqueryAdvance":_w,"ɵɵviewQuery":ww,"ɵɵviewQuerySignal":kw,"ɵɵloadQuery":Mw,"ɵɵcontentQuery":mw,"ɵɵcontentQuerySignal":Dw,"ɵɵreference":xw,"ɵɵclassMap":Qw,"ɵɵstyleMap":$w,"ɵɵstyleProp":Zw,"ɵɵclassProp":qw,"ɵɵadvance":Gc,"ɵɵtemplate":op,"ɵɵconditional":Ey,"ɵɵconditionalCreate":Cy,"ɵɵconditionalBranchCreate":Ty,"ɵɵdefer":Yg,"ɵɵdeferWhen":Jg,"ɵɵdeferOnIdle":ny,"ɵɵdeferOnImmediate":oy,"ɵɵdeferOnTimer":uy,"ɵɵdeferOnHover":cy,"ɵɵdeferOnInteraction":vy,"ɵɵdeferOnViewport":gy,"ɵɵdeferPrefetchWhen":Xg,"ɵɵdeferPrefetchOnIdle":ty,"ɵɵdeferPrefetchOnImmediate":iy,"ɵɵdeferPrefetchOnTimer":ly,"ɵɵdeferPrefetchOnHover":dy,"ɵɵdeferPrefetchOnInteraction":hy,"ɵɵdeferPrefetchOnViewport":yy,"ɵɵdeferHydrateWhen":Kg,"ɵɵdeferHydrateNever":ey,"ɵɵdeferHydrateOnIdle":ry,"ɵɵdeferHydrateOnImmediate":ay,"ɵɵdeferHydrateOnTimer":sy,"ɵɵdeferHydrateOnHover":fy,"ɵɵdeferHydrateOnInteraction":py,"ɵɵdeferHydrateOnViewport":my,"ɵɵdeferEnableTimerScheduling":pg,"ɵɵrepeater":Fy,"ɵɵrepeaterCreate":jy,"ɵɵrepeaterTrackByIndex":Ny,"ɵɵrepeaterTrackByIdentity":Ay,"ɵɵcomponentInstance":by,"ɵɵtext":sb,"ɵɵtextInterpolate":bb,"ɵɵtextInterpolate1":Mb,"ɵɵtextInterpolate2":Db,"ɵɵtextInterpolate3":kb,"ɵɵtextInterpolate4":_b,"ɵɵtextInterpolate5":xb,"ɵɵtextInterpolate6":Ib,"ɵɵtextInterpolate7":Sb,"ɵɵtextInterpolate8":Cb,"ɵɵtextInterpolateV":Tb,"ɵɵi18n":aw,"ɵɵi18nAttributes":uw,"ɵɵi18nExp":lw,"ɵɵi18nStart":ow,"ɵɵi18nEnd":iw,"ɵɵi18nApply":sw,"ɵɵi18nPostprocess":cw,"ɵɵresolveWindow":sc,"ɵɵresolveDocument":cc,"ɵɵresolveBody":dc,"ɵɵsetComponentScope":oM,"ɵɵsetNgModuleScope":iM,"ɵɵregisterNgModuleType":yh,"ɵɵgetComponentDepsFactory":NM,"ɵsetClassDebugInfo":AM,"ɵɵdeclareLet":jb,"ɵɵstoreLet":Rb,"ɵɵreadContextLet":Vb,"ɵɵattachSourceLocations":Fb,"ɵɵinterpolate":Lb,"ɵɵinterpolate1":Hb,"ɵɵinterpolate2":Bb,"ɵɵinterpolate3":zb,"ɵɵinterpolate4":Ub,"ɵɵinterpolate5":Wb,"ɵɵinterpolate6":Zb,"ɵɵinterpolate7":qb,"ɵɵinterpolate8":$b,"ɵɵinterpolateV":Gb,"ɵɵsanitizeHtml":Fs,"ɵɵsanitizeStyle":Ls,"ɵɵsanitizeResourceUrl":Bs,"ɵɵsanitizeScript":zs,"ɵɵsanitizeUrl":Hs,"ɵɵsanitizeUrlOrResourceUrl":Zs,"ɵɵtrustConstantHtml":Us,"ɵɵtrustConstantResourceUrl":Ws,"ɵɵvalidateIframeAttribute":mh,forwardRef:Ke,resolveForwardRef:en,"ɵɵtwoWayProperty":Ob,"ɵɵtwoWayBindingSet":Nb,"ɵɵtwoWayListener":Ab,"ɵɵreplaceMetadata":jM,"ɵɵgetReplaceMetadataURL":PM},LM=null;var HM=[];var BM=!1;function zM(e){return Array.isArray(e)?e.every(zM):!!en(e)}function UM(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];ngDevMode&&pn(e,"Required value moduleType"),ngDevMode&&pn(n,"Required value ngModule");var r=mt(n.declarations||Tt),o=null;Object.defineProperty(e,Un,{configurable:!0,get:function(){if(null===o){if(ngDevMode&&n.imports&&n.imports.indexOf(e)>-1)throw new Error("'".concat(Gn(e),"' module can't import itself"));var t=wa({usage:0,kind:"NgModule",type:e});(o=t.compileNgModule(FM,"ng:///".concat(e.name,"/ɵmod.js"),{type:e,bootstrap:mt(n.bootstrap||Tt).map(en),declarations:r.map(en),imports:mt(n.imports||Tt).map(en).map(XM),exports:mt(n.exports||Tt).map(en).map(XM),schemas:n.schemas?mt(n.schemas):null,id:n.id||null})).schemas||(o.schemas=[])}return o}});var i=null;Object.defineProperty(e,Wn,{get:function(){if(null===i){var n=wa({usage:0,kind:"NgModule",type:e});i=n.compileFactory(FM,"ng:///".concat(e.name,"/ɵfac.js"),{name:e.name,type:e,deps:Nu(e),target:n.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});var a=null;Object.defineProperty(e,Sn,{get:function(){if(null===a){ngDevMode&&WM(e,t);var r={name:e.name,type:e,providers:n.providers||Tt,imports:[(n.imports||Tt).map(en),(n.exports||Tt).map(en)]},o=wa({usage:0,kind:"NgModule",type:e});a=o.compileInjector(FM,"ng:///".concat(e.name,"/ɵinj.js"),r)}return a},configurable:!!ngDevMode})}(e,n),void 0!==n.id&&yh(e,n.id),function(e,n){HM.push({moduleType:e,ngModule:n})}(e,n)}function WM(e,n,t){if(!$M.get(e)&&!Ht(e)){var r;if($M.set(e,!0),e=en(e),t){if(!(r=Pt(e)))throw new Error("Unexpected value '".concat(e.name,"' imported by the module '").concat(t.name,"'. Please add an @NgModule annotation."))}else r=jt(e);var o=[],i=vc(r.declarations),a=vc(r.imports);mt(a).map(ZM).forEach(function(n){c(n,e),WM(n,!1,e)});var u=vc(r.exports);i.forEach(function(n){Rt(n=en(n))||Ft(n)||Lt(n)||o.push("Unexpected value '".concat(Gn(n),"' declared by the module '").concat(Gn(e),"'. Please add a @Pipe/@Directive/@Component annotation."))}),i.forEach(function(e){var n=Ft(e=en(e));!Rt(e)&&n&&0==n.selectors.length&&o.push("Directive ".concat(Gn(e)," has no selector, please add it!"))}),i.forEach(function(n){return function(e,n){var t=Rt(e=en(e))||Ft(e)||Lt(e);if(null==t?void 0:t.standalone){var r='"'.concat(Gn(n),'" NgModule');o.push(function(e,n){var t='Unexpected "'.concat(Gn(e),'" found in the "declarations" array of the'),r='"'.concat(Gn(e),"\" is marked as standalone and can't be declared ")+'in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?';return"".concat(t," ").concat(n,", ").concat(r)}(e,r))}}(n,e)});var l=ea(i.map(en)).concat(ea(mt(a.map(GM)).map(en)));u.forEach(function(n){var t=(Rt(n=en(n))?"component":Ft(n)&&"directive")||Lt(n)&&"pipe";t&&-1===l.lastIndexOf(n)&&o.push("Can't export ".concat(t," ").concat(Gn(n)," from ").concat(Gn(e)," as it was neither declared nor imported!"))}),i.forEach(function(t){return function(n,t){n=en(n);var r=qM.get(n);if(r&&r!==e){if(!t){var i=[r,e].map(Gn).sort();o.push("Type ".concat(Gn(n)," is part of the declarations of 2 modules: ").concat(i[0]," and ").concat(i[1],"! ")+"Please consider moving ".concat(Gn(n)," to a higher module that imports ").concat(i[0]," and ").concat(i[1],". ")+"You can also create a new NgModule that exports and includes ".concat(Gn(n)," then import that NgModule in ").concat(i[0]," and ").concat(i[1],"."))}}else qM.set(n,e)}(t,n)});var s=function(e,n){var t=null;return r(e.__annotations__),r(e.decorators),t;function r(e){e&&e.forEach(o)}function o(e){if(!t)if(Object.getPrototypeOf(e).ngMetadataName==n)t=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==n&&(t=e.args[0])}}}(e,"NgModule");if(s&&(s.imports&&mt(s.imports).map(ZM).forEach(function(n){c(n,e),WM(n,!1,e)}),s.bootstrap&&wt(s.bootstrap,function(e){Rt(e=en(e))||o.push("".concat(Gn(e)," cannot be used as an entry component."));Ht(e)&&o.push("The `".concat(Gn(e),"` class is a standalone component, which can ")+"not be used in the `@NgModule.bootstrap` array. Use the `bootstrapApplication` function for bootstrap instead.")}),s.bootstrap&&wt(s.bootstrap,function(e){e=en(e),qM.get(e)||Ht(e)||o.push("Component ".concat(Gn(e)," is not part of any NgModule or the module has not been imported into your module."))})),o.length)throw new Error(o.join("\n"))}function c(e,n){var t=Rt(e=en(e))||Ft(e);if(null!==t&&!t.standalone)throw new Error("Unexpected directive '".concat(e.name,"' imported by the module '").concat(n.name,"'. Please add an @NgModule annotation."));var r=Lt(e);if(null!==r&&!r.standalone)throw new Error("Unexpected pipe '".concat(e.name,"' imported by the module '").concat(n.name,"'. Please add an @NgModule annotation."))}}function ZM(e){return(e=en(e)).ngModule||e}var qM=new WeakMap,$M=new WeakMap;function GM(e){var n=Pt(e=en(e));return null===n?[e]:mt(vc(n.exports).map(function(e){return Pt(e)?(WM(e,!1),GM(e)):e}))}function QM(e,n){var t=mt(n.declarations||Tt),r=JM(e);t.forEach(function(n){(n=en(n)).hasOwnProperty(Hn)?YM(Rt(n),r):n.hasOwnProperty(Bn)||n.hasOwnProperty(zn)||(n.ngSelectorScope=e)})}function YM(e,n){e.directiveDefs=function(){return Array.from(n.compilation.directives).map(function(e){return e.hasOwnProperty(Hn)?Rt(e):Ft(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(n.compilation.pipes).map(function(e){return Lt(e)})},e.schemas=n.schemas,e.tView=null}function JM(e){if(ev(e)){var n=av.getNgModuleScope(e);return Yi({schemas:jt(e).schemas||null},n)}if(Ht(e)){if(null!==(Rt(e)||Ft(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Lt(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error("".concat(e.name," does not have a module def (ɵmod property)"))}function XM(e){return Kf(e)?e.ngModule:e}var KM=0;function eD(e,n){("undefined"==typeof ngDevMode||ngDevMode)&&$e();var t=null;!function(e,n){hh(n)&&(fh.set(e,n),vh.add(e))}(e,n),rD(e,n),Object.defineProperty(e,Hn,{get:function(){if(null===t){var r=wa({usage:0,kind:"component",type:e});if(hh(n)){var o=["Component '".concat(e.name,"' is not resolved:")];throw n.templateUrl&&o.push(" - templateUrl: ".concat(n.templateUrl)),n.styleUrls&&n.styleUrls.length&&o.push(" - styleUrls: ".concat(JSON.stringify(n.styleUrls))),n.styleUrl&&o.push(" - styleUrl: ".concat(n.styleUrl)),o.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(o.join("\n"))}var i=LM,a=n.preserveWhitespaces;void 0===a&&(a=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);var u=n.encapsulation;void 0===u&&(u=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:Wl.Emulated);var l=n.templateUrl||"ng:///".concat(e.name,"/template.html"),s=Ji(Yi({},iD(e,n)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,l),template:n.template||"",preserveWhitespaces:a,styles:"string"==typeof n.styles?[n.styles]:n.styles||Tt,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:u,interpolation:n.interpolation,viewProviders:n.viewProviders||null});KM++;try{if(s.usesInheritance&&aD(e),t=r.compileComponent(FM,l,s),s.isStandalone){var c=mt(n.imports||Tt),d=function(e,n){var t=function(){if(ngDevMode){var t=!0,r=!1,o=void 0;try{for(var i,a=n[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){ov(i.value,e)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}return rv(e)?ea(av.getStandaloneComponentScope(e,n).compilation.directives).map(function(e){return Rt(e)||Ft(e)}).filter(function(e){return null!==e}):[]},r=function(){if(ngDevMode){var t=!0,r=!1,o=void 0;try{for(var i,a=n[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){ov(i.value,e)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}return rv(e)?ea(av.getStandaloneComponentScope(e,n).compilation.pipes).map(function(e){return Lt(e)}).filter(function(e){return null!==e}):[]};return{directiveDefs:t,pipeDefs:r}}(e,c),f=d.directiveDefs,v=d.pipeDefs;t.directiveDefs=f,t.pipeDefs=v,t.dependencies=function(){return c.map(en)}}}finally{KM--}if(0===KM&&function(){if(!BM){BM=!0;try{for(var e=HM.length-1;e>=0;e--){var n=HM[e],t=n.moduleType,r=n.ngModule;r.declarations&&r.declarations.every(zM)&&(HM.splice(e,1),QM(t,r))}}finally{BM=!1}}}(),void 0!==e.ngSelectorScope){var h=JM(e.ngSelectorScope);YM(t,h)}if(n.schemas){if(!s.isStandalone)throw new Error("The 'schemas' was specified for the ".concat(Gn(e)," but is only valid on a component that is standalone."));t.schemas=n.schemas}else s.isStandalone&&(t.schemas=[])}return t},set:function(e){t=e},configurable:!!ngDevMode})}function nD(e,n){var t=null;rD(e,n||{}),Object.defineProperty(e,Bn,{get:function(){if(null===t){var r=tD(e,n||{}),o=wa({usage:0,kind:"directive",type:e});t=o.compileDirective(FM,r.sourceMapUrl,r.metadata)}return t},configurable:!!ngDevMode})}function tD(e,n){var t=e&&e.name,r="ng:///".concat(t,"/ɵdir.js"),o=wa({usage:0,kind:"directive",type:e}),i=iD(e,n);return i.typeSourceSpan=o.createParseSourceSpan("Directive",t,r),i.usesInheritance&&aD(e),{metadata:i,sourceMapUrl:r}}function rD(e,n){var t=null;Object.defineProperty(e,Wn,{get:function(){if(null===t){var r=tD(e,n),o=wa({usage:0,kind:"directive",type:e});t=o.compileFactory(FM,"ng:///".concat(e.name,"/ɵfac.js"),{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Nu(e),target:o.FactoryTarget.Directive})}return t},configurable:!!ngDevMode})}function oD(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function iD(e,n){var t,r,o=Ou(),i=o.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||Ct,propMetadata:i,inputs:n.inputs||Tt,outputs:n.outputs||Tt,queries:uD(e,i,lD),lifecycle:{usesOnChanges:o.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!oD(e),exportAs:(r=n.exportAs,void 0===r?null:dD(r)),providers:n.providers||null,viewQueries:uD(e,i,sD),isStandalone:void 0===n.standalone||!!n.standalone,isSignal:!!n.signals,hostDirectives:(null===(t=n.hostDirectives)||void 0===t?void 0:t.map(function(e){return"function"==typeof e?{directive:e}:e}))||null}}function aD(e){for(var n=Object.prototype,t=Object.getPrototypeOf(e.prototype).constructor;t&&t!==n;)Ft(t)||Rt(t)||!vD(t)||nD(t,null),t=Object.getPrototypeOf(t)}function uD(e,n,t){var r=function(r){if(n.hasOwnProperty(r)){var i=n[r];i.forEach(function(n){if(t(n)){if(!n.selector)throw new Error("Can't construct a query for the property \"".concat(r,'" of ')+'"'.concat(Gn(e),"\" since the query selector wasn't defined."));if(i.some(cD))throw new Error("Cannot combine @Input decorators with query decorators");o.push(function(e,n){return{propertyName:e,predicate:(t=n.selector,"string"==typeof t?dD(t):en(t)),descendants:n.descendants,first:n.first,read:n.read?n.read:null,static:!!n.static,emitDistinctChangesOnly:!!n.emitDistinctChangesOnly,isSignal:!!n.isSignal};var t}(r,n))}})}},o=[];for(var i in n)r(i);return o}function lD(e){var n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function sD(e){var n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function cD(e){return"Input"===e.ngMetadataName}function dD(e){return e.split(",").map(function(e){return e.trim()})}var fD=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function vD(e){var n=Ou();if(fD.some(function(t){return n.hasLifecycleHook(e,t)}))return!0;var t=n.propMetadata(e);for(var r in t)for(var o=t[r],i=0;i<o.length;i++){var a=o[i],u=a.ngMetadataName;if(cD(a)||lD(a)||sD(a)||"Output"===u||"HostBinding"===u||"HostListener"===u)return!0}return!1}function hD(e,n){return{type:e,name:e.name,pipeName:n.name,pure:void 0===n.pure||n.pure,isStandalone:void 0===n.standalone||!!n.standalone}}var pD=ca("Directive",function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},void 0,0,function(e,n){return nD(e,n)});ca("Component",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Yi({changeDetection:Uu.Default},e)},pD,0,function(e,n){return eD(e,n)}),ca("Pipe",function(e){return Yi({pure:!0},e)},void 0,0,function(e,n){return function(e,n){var t=null,r=null;Object.defineProperty(e,Wn,{get:function(){if(null===r){var t=hD(e,n),o=wa({usage:0,kind:"pipe",type:t.type});r=o.compileFactory(FM,"ng:///".concat(t.name,"/ɵfac.js"),{name:t.name,type:t.type,typeArgumentCount:0,deps:Nu(e),target:o.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,zn,{get:function(){if(null===t){var r=hD(e,n),o=wa({usage:0,kind:"pipe",type:r.type});t=o.compilePipe(FM,"ng:///".concat(r.name,"/ɵpipe.js"),r)}return t},configurable:!!ngDevMode})}(e,n)}),va("Input",function(e){return e?"string"==typeof e?{alias:e}:e:{}}),va("Output",function(e){return{alias:e}}),va("HostBinding",function(e){return{hostPropertyName:e}}),va("HostListener",function(e,n){return{eventName:e,args:n}});var gD=ca("NgModule",function(e){return e},void 0,0,function(e,n){return UM(e,n)}),yD=function e(n,t){Li(this,e),Ui(this,"ngModuleFactory",void 0),Ui(this,"componentFactories",void 0),this.ngModuleFactory=n,this.componentFactories=t},mD=function(){function e(){Li(this,e)}return zi(e,[{key:"compileModuleSync",value:function(e){return new _h(e)}},{key:"compileModuleAsync",value:function(e){return Promise.resolve(this.compileModuleSync(e))}},{key:"compileModuleAndAllComponentsSync",value:function(e){var n=this.compileModuleSync(e),t=vc(Pt(e).declarations).reduce(function(e,n){var t=Rt(n);return t&&e.push(new Lv(t)),e},[]);return new yD(n,t)}},{key:"compileModuleAndAllComponentsAsync",value:function(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}},{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();Ui(mD,"ɵfac",function(e){return new(e||mD)}),Ui(mD,"ɵprov",Mn({token:mD,factory:mD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(mD,[{type:Fu,args:[{providedIn:"root"}]}],null);var wD=new Cn(ngDevMode?"compilerOptions":""),bD=function(){function e(){Li(this,e),Ui(this,"zone",dt(xp)),Ui(this,"changeDetectionScheduler",dt(bi)),Ui(this,"applicationRef",dt(Cg)),Ui(this,"applicationErrorHandler",dt(gi)),Ui(this,"_onMicrotaskEmptySubscription",void 0)}return zi(e,[{key:"initialize",value:function(){var e=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){e.changeDetectionScheduler.runningTick||e.zone.run(function(){try{e.applicationRef.dirtyFlags|=1,e.applicationRef._tick()}catch(n){e.applicationErrorHandler(n)}})}}))}},{key:"ngOnDestroy",value:function(){var e;null===(e=this._onMicrotaskEmptySubscription)||void 0===e||e.unsubscribe()}}]),e}();Ui(bD,"ɵfac",function(e){return new(e||bD)}),Ui(bD,"ɵprov",Mn({token:bD,factory:bD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(bD,[{type:Fu,args:[{providedIn:"root"}]}],null);var MD=new Cn("undefined"==typeof ngDevMode||ngDevMode?"provideZoneChangeDetection token":"",{factory:function(){return!1}});function DD(e){var n=e.ngZoneFactory,t=e.ignoreChangesOutsideZone,r=e.scheduleInRootZone;return null!=n||(n=function(){return new xp(Ji(Yi({},kD()),{scheduleInRootZone:r}))}),[{provide:xp,useFactory:n},{provide:Et,multi:!0,useFactory:function(){var e=dt(bD,{optional:!0});if(("undefined"==typeof ngDevMode||ngDevMode)&&null===e)throw new We(402,"A required Injectable was not found in the dependency injection tree. If you are bootstrapping an NgModule, make sure that the `BrowserModule` is imported.");return function(){return e.initialize()}}},{provide:Et,multi:!0,useFactory:function(){var e=dt(_D);return function(){e.initialize()}}},!0===t?{provide:ki,useValue:!0}:[],{provide:_i,useValue:null!=r?r:gp},{provide:gi,useFactory:function(){var e,n=dt(xp),t=dt(rr);return function(r){null!=e||(e=t.get(pi)),n.runOutsideAngular(function(){return e.handleError(r)})}}}]}function kD(e){var n,t;return{enableLongStackTrace:"undefined"!=typeof ngDevMode&&!!ngDevMode,shouldCoalesceEventChangeDetection:null!==(n=null==e?void 0:e.eventCoalescing)&&void 0!==n&&n,shouldCoalesceRunChangeDetection:null!==(t=null==e?void 0:e.runCoalescing)&&void 0!==t&&t}}var _D=function(){function e(){Li(this,e),Ui(this,"subscription",new s),Ui(this,"initialized",!1),Ui(this,"zone",dt(xp)),Ui(this,"pendingTasks",dt(Si))}return zi(e,[{key:"initialize",value:function(){var e=this;if(!this.initialized){this.initialized=!0;var n=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(n=this.pendingTasks.add()),this.zone.runOutsideAngular(function(){e.subscription.add(e.zone.onStable.subscribe(function(){xp.assertNotInAngularZone(),queueMicrotask(function(){null===n||e.zone.hasPendingMacrotasks||e.zone.hasPendingMicrotasks||(e.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(function(){xp.assertInAngularZone(),null!=n||(n=e.pendingTasks.add())}))}}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),e}();Ui(_D,"ɵfac",function(e){return new(e||_D)}),Ui(_D,"ɵprov",Mn({token:_D,factory:_D.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(_D,[{type:Fu,args:[{providedIn:"root"}]}],null);var xD=0,ID=[];var SD=function(){function e(){var n,t,r,o=this;Li(this,e),Ui(this,"applicationErrorHandler",dt(gi)),Ui(this,"appRef",dt(Cg)),Ui(this,"taskService",dt(Si)),Ui(this,"ngZone",dt(xp)),Ui(this,"zonelessEnabled",dt(Mi)),Ui(this,"tracing",dt(pp,{optional:!0})),Ui(this,"disableScheduling",null!==(t=dt(ki,{optional:!0}))&&void 0!==t&&t),Ui(this,"zoneIsDefined","undefined"!=typeof Zone&&!!Zone.root.run),Ui(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]),Ui(this,"subscriptions",new s),Ui(this,"angularZoneId",this.zoneIsDefined?null===(n=this.ngZone._inner)||void 0===n?void 0:n.get(kp):null),Ui(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&null!==(r=dt(_i,{optional:!0}))&&void 0!==r&&r),Ui(this,"cancelScheduledCallback",null),Ui(this,"useMicrotaskScheduler",!1),Ui(this,"runningTick",!1),Ui(this,"pendingRenderTaskId",null),this.subscriptions.add(this.appRef.afterTick.subscribe(function(){o.runningTick||o.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){o.runningTick||o.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&($i(this.ngZone,Op)||!this.zoneIsDefined))}return zi(e,[{key:"notify",value:function(e){var n,t=this;if(this.zonelessEnabled||5!==e){var r,o=!1;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,o=!0;break;case 12:this.appRef.dirtyFlags|=16,o=!0;break;case 11:o=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=null!==(r=null===(n=this.tracing)||void 0===n?void 0:n.snapshot(this.appRef.tracingSnapshot))&&void 0!==r?r:null,this.shouldScheduleTick(o)){("undefined"==typeof ngDevMode||ngDevMode)&&(this.useMicrotaskScheduler?function(){if(100-++xD<5){var e=(new Error).stack;e&&ID.push(e)}if(100===xD)throw new We(103,"Angular could not stabilize because there were endless change notifications within the browser event loop. The stack from the last several notifications: \n"+ID.join("\n"))}():(xD=0,ID.length=0));var i=this.useMicrotaskScheduler?bp:wp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(function(){return i(function(){return t.tick()})}):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(function(){return i(function(){return t.tick()})})}}}},{key:"shouldScheduleTick",value:function(e){return!(this.disableScheduling&&!e||this.appRef.destroyed)&&(null===this.pendingRenderTaskId&&!this.runningTick&&!this.appRef._runningTick&&!(!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(kp+this.angularZoneId)))}},{key:"tick",value:function(){var e=this;if(!this.runningTick&&!this.appRef.destroyed)if(0!==this.appRef.dirtyFlags){!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);var n=this.taskService.add();try{this.ngZone.run(function(){e.runningTick=!0,e.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(e){this.taskService.remove(n),this.applicationErrorHandler(e)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,bp(function(){e.useMicrotaskScheduler=!1,e.taskService.remove(n)})}else this.cleanup()}},{key:"ngOnDestroy",value:function(){this.subscriptions.unsubscribe(),this.cleanup()}},{key:"cleanup",value:function(){var e;if(this.runningTick=!1,null===(e=this.cancelScheduledCallback)||void 0===e||e.call(this),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){var n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}}]),e}();Ui(SD,"ɵfac",function(e){return new(e||SD)}),Ui(SD,"ɵprov",Mn({token:SD,factory:SD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(SD,[{type:Fu,args:[{providedIn:"root"}]}],function(){return[]});var CD,TD=new Cn(ngDevMode?"LocaleId":"",{providedIn:"root",factory:function(){return dt(TD,{optional:!0,skipSelf:!0})||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||sm)}});function ED(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function OD(e,n,t){return n&&function(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,n),e}function ND(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function AD(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){ND(e,n,t[n])})}return e}function PD(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function jD(e){return function(e){var n=ve(null);try{return e()}finally{ve(n)}}(e)}new Cn(ngDevMode?"DefaultCurrencyCode":"",{providedIn:"root",factory:function(){return"USD"}}),new Cn(ngDevMode?"Translations":""),new Cn(ngDevMode?"TranslationsFormat":""),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(CD||(CD={}));var RD=fe,VD=function(){function e(n){ED(this,e),ND(this,RD,void 0),this[fe]=n}return OD(e,[{key:"destroy",value:function(){this[fe].destroy()}}]),e}();function FD(e,n){var t;ngDevMode&&xi(FD,"Call `effect` outside of a reactive context. For example, schedule the effect inside the component constructor."),ngDevMode&&!(null==n?void 0:n.injector)&&fr(FD),ngDevMode&&void 0!==(null==n?void 0:n.allowSignalWrites)&&console.warn("The 'allowSignalWrites' flag is deprecated and no longer impacts effect() (writes are always allowed)");var r,o,i,a=null!==(t=null==n?void 0:n.injector)&&void 0!==t?t:dt(di),u=!0!==(null==n?void 0:n.manualCleanup)?a.get(vi):null,l=a.get(Ii,null,{optional:!0}),s=a.get(bi);null!==l?(r=function(e,n,t){var r,o,i,a=Object.create(WD);return a.view=e,a.zone="undefined"!=typeof Zone?Zone.current:null,a.notifier=n,a.fn=t,null!==(i=(r=e)[o=pr])&&void 0!==i||(r[o]=new Set),e[23].add(a),a.consumerMarkedDirty(a),a}(l.view,s,e),o=u,(null!=(i=hi)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](o):o instanceof i)&&u._lView===l.view&&(u=null)):r=function(e,n,t){var r=Object.create(UD);return r.fn=e,r.scheduler=n,r.notifier=t,r.zone="undefined"!=typeof Zone?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,a.get(Ei),s),r.injector=a,null!==u&&(r.onDestroyFn=u.onDestroy(function(){return r.destroy()}));var c=new VD(r);if(ngDevMode){var d;r.debugName=null!==(d=null==n?void 0:n.debugName)&&void 0!==d?d:"";var f=En({injector:a,token:null});try{!function(e){!ngDevMode&&gn("Injector profiler should never be called in production mode"),Nn({type:3,context:Tn(),effect:e})}(c)}finally{En(f)}}return c}var LD,HD,BD,zD=function(){return PD(AD({},pe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Ti,run:function(){var e=this;if(this.dirty=!1,ngDevMode,!this.hasRun||be(this)){this.hasRun=!0;var n=me(this),t=Po(!1);try{this.maybeCleanup(),this.fn(function(n){var t;return(null!==(t=e.cleanupFns)&&void 0!==t?t:e.cleanupFns=[]).push(n)})}finally{Po(t),we(this,n)}}},maybeCleanup:function(){var e;if(null===(e=this.cleanupFns)||void 0===e?void 0:e.length){var n=ve(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ve(n)}}}})}(),UD=function(){return PD(AD({},zD),{consumerMarkedDirty:function(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy:function(){Me(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}})}(),WD=function(){return PD(AD({},zD),{consumerMarkedDirty:function(){this.view[2]|=8192,oo(this.view),this.notifier.notify(13)},destroy:function(){var e;Me(this),this.onDestroyFn(),this.maybeCleanup(),null===(e=this.view[23])||void 0===e||e.delete(this)}})}();function ZD(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function qD(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $D(e,n,t){return n&&qD(e.prototype,n),t&&qD(e,t),e}function GD(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function QD(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function YD(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){GD(e,n,t[n])})}return e}function JD(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(LD||(LD={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(HD||(HD={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(BD||(BD={})),new Cn(ngDevMode?"HOST_TAG_NAME":"").__NG_ELEMENT_ID__=function(e){var n=ko();if(null===n)throw new We(204,ngDevMode&&"HOST_TAG_NAME can only be injected in directives and components during construction time (in a class constructor or as a class field initializer)");if(2&n.type)return n.value;if(8&e)return null;throw new We(204,ngDevMode&&"HOST_TAG_NAME was used on ".concat(function(e){return 8&e.type?"an <ng-container>":4&e.type?"an <ng-template>":128&e.type?"an @let declaration":"a node"}(n)," which doesn't have an underlying element in the DOM. ")+"This is invalid, and so the dependency should be marked as optional.")};var XD=!0,KD=function e(){ZD(this,e)};va("ContentChildren",function(e){return YD({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:XD},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},KD),va("ContentChild",function(e){return YD({selector:e,first:!0,isViewQuery:!1,descendants:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},KD),va("ViewChildren",function(e){return YD({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:XD},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},KD),va("ViewChild",function(e,n){return YD({selector:e,first:!0,isViewQuery:!0,descendants:!0},n)},KD);function ek(e,n,t){ngDevMode&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Type passed in is not NgModuleType, it does not have 'ɵmod' property.";Pt(e)||gn(n)}(t);var r=new _h(t);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);var o=e.get(wD,[]).concat(n);if(function(e){if(null!==LM){if(e.defaultEncapsulation!==LM.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==LM.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}LM=e}({defaultEncapsulation:nk(o.map(function(e){return e.defaultEncapsulation})),preserveWhitespaces:nk(o.map(function(e){return e.preserveWhitespaces}))}),0===fh.size)return Promise.resolve(r);var i=o.flatMap(function(e){var n;return null!==(n=e.providers)&&void 0!==n?n:[]});if(0===i.length)return Promise.resolve(r);var a=wa({usage:0,kind:"NgModule",type:t}),u=di.create({providers:i}).get(a.ResourceLoader);return dh(function(e){return Promise.resolve(u.get(e))}).then(function(){return r})}function nk(e){for(var n=e.length-1;n>=0;n--)if(void 0!==e[n])return e[n]}new function e(n){ZD(this,e),GD(this,"full",void 0),GD(this,"major",void 0),GD(this,"minor",void 0),GD(this,"patch",void 0),this.full=n;var t=n.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}("20.0.0");var tk=function(){function e(){ZD(this,e),GD(this,"window",null),GD(this,"observer",null),GD(this,"options",dt(bl)),GD(this,"lcpImageUrl",void 0)}return $D(e,[{key:"start",value:function(){var e,n,t=this;if(!("undefined"!=typeof ngServerMode&&ngServerMode||"undefined"==typeof PerformanceObserver||(null===(e=this.options)||void 0===e?void 0:e.disableImageSizeWarning)&&(null===(n=this.options)||void 0===n?void 0:n.disableImageLazyLoadWarning))){this.observer=this.initPerformanceObserver();var r=gl(),o=r.defaultView;if(o){this.window=o;var i=function(){setTimeout(t.scanImages.bind(t),200)},a=function(){var e;"complete"===r.readyState?i():null===(e=t.window)||void 0===e||e.addEventListener("load",i,{once:!0})};"undefined"!=typeof Zone?Zone.root.run(function(){return a()}):a()}}}},{key:"ngOnDestroy",value:function(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}},{key:"initPerformanceObserver",value:function(){var e=this;if("undefined"==typeof PerformanceObserver)return null;var n=new PerformanceObserver(function(n){var t,r=n.getEntries();if(0!==r.length){var o,i=null!==(o=null===(t=r[r.length-1].element)||void 0===t?void 0:t.src)&&void 0!==o?o:"";i.startsWith("data:")||i.startsWith("blob:")||(e.lcpImageUrl=i)}});return n.observe({type:"largest-contentful-paint",buffered:!0}),n}},{key:"scanImages",value:function(){var e,n,t,r=this,o=gl().querySelectorAll("img"),i=!1;o.forEach(function(e){var t,o,a;(null===(t=r.options)||void 0===t?void 0:t.disableImageSizeWarning)||!e.getAttribute("ng-img")&&r.isOversized(e)&&(a=e.src,console.warn(Ze(-913,"An image with src ".concat(a," has intrinsic file dimensions much larger than its ")+"rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913"))),!(null===(o=r.options)||void 0===o?void 0:o.disableImageLazyLoadWarning)&&r.lcpImageUrl&&e.src===r.lcpImageUrl&&(n=!0,("lazy"!==e.loading||e.getAttribute("ng-img"))&&(i=!0))}),n&&!i&&this.lcpImageUrl&&!(null===(e=this.options)||void 0===e?void 0:e.disableImageLazyLoadWarning)&&(t=this.lcpImageUrl,console.warn(Ze(-913,"An image with src ".concat(t," is the Largest Contentful Paint (LCP) element ")+'but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive\'s prioritization utilities. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913')))}},{key:"isOversized",value:function(e){if(!this.window)return!1;var n=(e.src||"").toLowerCase();if([".svg"].some(function(e){return n.endsWith(e)}))return!1;var t=this.window.getComputedStyle(e),r=parseFloat(t.getPropertyValue("width")),o=parseFloat(t.getPropertyValue("height")),i=t.getPropertyValue("box-sizing");if("cover"===t.getPropertyValue("object-fit"))return!1;if("border-box"===i){var a=t.getPropertyValue("padding-top"),u=t.getPropertyValue("padding-right"),l=t.getPropertyValue("padding-bottom"),s=t.getPropertyValue("padding-left");r-=parseFloat(u)+parseFloat(s),o-=parseFloat(a)+parseFloat(l)}var c=e.naturalWidth,d=e.naturalHeight,f=this.window.devicePixelRatio*r,v=this.window.devicePixelRatio*o;return c-f>=1200||d-v>=1200}}]),e}();GD(tk,"ɵfac",function(e){return new(e||tk)}),GD(tk,"ɵprov",Mn({token:tk,factory:tk.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(tk,[{type:Fu,args:[{providedIn:"root"}]}],null);var rk,ok=new Cn(ngDevMode?"PlatformDestroyListeners":""),ik=new Cn(ngDevMode?"ENABLE_ROOT_COMPONENT_BOOTSTRAP":"");function ak(e){return!e.moduleRef}function uk(e){var n=ak(e)?e.r3Injector:e.moduleRef.injector,t=n.get(xp);return t.run(function(){ak(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();var r,o=n.get(gi);if(("undefined"==typeof ngDevMode||ngDevMode)&&n.get(Di)&&n.get(MD))throw new We(408,"Invalid change detection configuration: provideZoneChangeDetection and provideZonelessChangeDetection cannot be used together.");if(t.runOutsideAngular(function(){r=t.onError.subscribe({next:o})}),ak(e)){var i=function(){return n.destroy()},a=e.platformInjector.get(ok);a.add(i),n.onDestroy(function(){r.unsubscribe(),a.delete(i)})}else{var u=function(){return e.moduleRef.destroy()},l=e.platformInjector.get(ok);l.add(u),e.moduleRef.onDestroy(function(){Eg(e.allPlatformModules,e.moduleRef),r.unsubscribe(),l.delete(u)})}return function(e,n,t){try{var r=t();return kg(r)?r.catch(function(t){throw n.runOutsideAngular(function(){return e(t)}),t}):r}catch(t){throw n.runOutsideAngular(function(){return e(t)}),t}}(o,t,function(){var t=n.get(xg);return t.runInitializers(),t.donePromise.then(function(){if(function(e){ngDevMode&&pn(e,"Expected localeId to be defined"),"string"==typeof e&&(fm=e.toLowerCase().replace(/_/g,"-"))}(n.get(TD,sm)||sm),!n.get(ik,!0))return ak(e)?n.get(Cg):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);("undefined"==typeof ngDevMode||ngDevMode)&&n.get(tk).start();if(ak(e)){var t=n.get(Cg);return void 0!==e.rootComponent&&t.bootstrap(e.rootComponent),t}return null==rk||rk(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function lk(){rk=sk}function sk(e,n){var t=e.injector.get(Cg);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new We(-403,ngDevMode&&"The module ".concat(Ye(e.instance.constructor)," was bootstrapped, ")+'but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}n.push(e)}var ck=function(){function e(n){ZD(this,e),GD(this,"_injector",void 0),GD(this,"_modules",[]),GD(this,"_destroyListeners",[]),GD(this,"_destroyed",!1),this._injector=n}return $D(e,[{key:"bootstrapModuleFactory",value:function(e,n){var t,r,o=null==n?void 0:n.scheduleInRootZone,i=[DD({ngZoneFactory:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"zone.js",n=arguments.length>1?arguments[1]:void 0;return"noop"===e?new Op:"zone.js"===e?new xp(n):e}(null==n?void 0:n.ngZone,JD(YD({},kD({eventCoalescing:null==n?void 0:n.ngZoneEventCoalescing,runCoalescing:null==n?void 0:n.ngZoneRunCoalescing})),{scheduleInRootZone:o}))},ignoreChangesOutsideZone:null==n?void 0:n.ignoreChangesOutsideZone}),{provide:bi,useExisting:SD},yi],a=(t=e.moduleType,r=this.injector,new kh(t,r,i,!1));return lk(),uk({moduleRef:a,allPlatformModules:this._modules,platformInjector:this.injector})}},{key:"bootstrapModule",value:function(e){var n=this,t=Sg({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return lk(),ek(this.injector,t,e).then(function(e){return n.bootstrapModuleFactory(e,t)})}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new We(404,ngDevMode&&"The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()});var e=this._injector.get(ok,null);e&&(e.forEach(function(e){return e()}),e.clear()),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();GD(ck,"ɵfac",function(e){return new(e||ck)(st(di))}),GD(ck,"ɵprov",Mn({token:ck,factory:ck.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(ck,[{type:Fu,args:[{providedIn:"platform"}]}],function(){return[{type:di}]});new Cn(ngDevMode?"AllowMultipleToken":"");GD(function e(){ZD(this,e)},"__NG_ELEMENT_ID__",function(e){return function(e,n,t){if(Dr(e)&&!t){var r=Qr(e.index,n);return new hf(r,r)}if(175&e.type){var o=n[15];return new hf(o,n)}return null}(ko(),wo(),!(16&~e))});var dk=function(){function e(){ZD(this,e)}return $D(e,[{key:"supports",value:function(e){return Dv(e)}},{key:"create",value:function(e){return new vk(e)}}]),e}(),fk=function(e,n){return n},vk=function(){function e(n){ZD(this,e),GD(this,"length",0),GD(this,"collection",void 0),GD(this,"_linkedRecords",null),GD(this,"_unlinkedRecords",null),GD(this,"_previousItHead",null),GD(this,"_itHead",null),GD(this,"_itTail",null),GD(this,"_additionsHead",null),GD(this,"_additionsTail",null),GD(this,"_movesHead",null),GD(this,"_movesTail",null),GD(this,"_removalsHead",null),GD(this,"_removalsTail",null),GD(this,"_identityChangesHead",null),GD(this,"_identityChangesTail",null),GD(this,"_trackByFn",void 0),this._trackByFn=n||fk}return $D(e,[{key:"forEachItem",value:function(e){var n;for(n=this._itHead;null!==n;n=n._next)e(n)}},{key:"forEachOperation",value:function(e){for(var n=this._itHead,t=this._removalsHead,r=0,o=null;n||t;){var i=!t||n&&n.currentIndex<yk(t,r,o)?n:t,a=yk(i,r,o),u=i.currentIndex;if(i===t)r--,t=t._nextRemoved;else if(n=n._next,null==i.previousIndex)r++;else{o||(o=[]);var l=a-r,s=u-r;if(l!=s){for(var c=0;c<l;c++){var d=c<o.length?o[c]:o[c]=0,f=d+c;s<=f&&f<l&&(o[c]=d+1)}o[i.previousIndex]=s-l}}a!==u&&e(i,a,u)}}},{key:"forEachPreviousItem",value:function(e){var n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}},{key:"forEachAddedItem",value:function(e){var n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}},{key:"forEachMovedItem",value:function(e){var n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}},{key:"forEachRemovedItem",value:function(e){var n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}},{key:"forEachIdentityChange",value:function(e){var n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Dv(e))throw new We(900,ngDevMode&&"Error trying to diff '".concat(Ye(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var n=this;this._reset();var t,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)r=e[u],o=this._trackByFn(u,r),null!==i&&Object.is(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Object.is(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else t=0,function(e,n){if(Array.isArray(e))for(var t=0;t<e.length;t++)n(e[t]);else for(var r,o=e[Symbol.iterator]();!(r=o.next()).done;)n(r.value)}(e,function(e){o=n._trackByFn(t,e),null!==i&&Object.is(i.trackById,o)?(a&&(i=n._verifyReinsertion(i,e,o,t)),Object.is(i.item,e)||n._addIdentityChange(i,e)):(i=n._mismatch(i,e,o,t),a=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,n,t,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(t,r))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,r)):e=this._addAfter(new hk(n,t),o,r),e}},{key:"_verifyReinsertion",value:function(e,n,t,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,n,t){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,n,t),this._addToMoves(e,t),e}},{key:"_moveAfter",value:function(e,n,t){return this._unlink(e),this._insertAfter(e,n,t),this._addToMoves(e,t),e}},{key:"_addAfter",value:function(e,n,t){return this._insertAfter(e,n,t),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,n,t){var r=null===n?this._itHead:n._next;return e._next=r,e._prev=n,null===r?this._itTail=e:r._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new gk),this._linkedRecords.put(e),e.currentIndex=t,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var n=e._prev,t=e._next;return null===n?this._itHead=t:n._next=t,null===t?this._itTail=n:t._prev=n,e}},{key:"_addToMoves",value:function(e,n){return e.previousIndex===n||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gk),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,n){return e.item=n,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}]),e}(),hk=function e(n,t){ZD(this,e),GD(this,"item",void 0),GD(this,"trackById",void 0),GD(this,"currentIndex",null),GD(this,"previousIndex",null),GD(this,"_nextPrevious",null),GD(this,"_prev",null),GD(this,"_next",null),GD(this,"_prevDup",null),GD(this,"_nextDup",null),GD(this,"_prevRemoved",null),GD(this,"_nextRemoved",null),GD(this,"_nextAdded",null),GD(this,"_nextMoved",null),GD(this,"_nextIdentityChange",null),this.item=n,this.trackById=t},pk=function(){function e(){ZD(this,e),GD(this,"_head",null),GD(this,"_tail",null)}return $D(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,n){var t;for(t=this._head;null!==t;t=t._nextDup)if((null===n||n<=t.currentIndex)&&Object.is(t.trackById,e))return t;return null}},{key:"remove",value:function(e){var n=e._prevDup,t=e._nextDup;return null===n?this._head=t:n._nextDup=t,null===t?this._tail=n:t._prevDup=n,null===this._head}}]),e}(),gk=function(){function e(){ZD(this,e),GD(this,"map",new Map)}return $D(e,[{key:"put",value:function(e){var n=e.trackById,t=this.map.get(n);t||(t=new pk,this.map.set(n,t)),t.add(e)}},{key:"get",value:function(e,n){var t=e,r=this.map.get(t);return r?r.get(e,n):null}},{key:"remove",value:function(e){var n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function yk(e,n,t){var r=e.previousIndex;if(null===r)return r;var o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var mk=function(){function e(){ZD(this,e)}return $D(e,[{key:"supports",value:function(e){return QD(e,Map)||kv(e)}},{key:"create",value:function(){return new wk}}]),e}(),wk=function(){function e(){ZD(this,e),GD(this,"_records",new Map),GD(this,"_mapHead",null),GD(this,"_appendAfter",null),GD(this,"_previousMapHead",null),GD(this,"_changesHead",null),GD(this,"_changesTail",null),GD(this,"_additionsHead",null),GD(this,"_additionsTail",null),GD(this,"_removalsHead",null),GD(this,"_removalsTail",null)}return $D(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var n;for(n=this._mapHead;null!==n;n=n._next)e(n)}},{key:"forEachPreviousItem",value:function(e){var n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}},{key:"forEachChangedItem",value:function(e){var n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}},{key:"forEachAddedItem",value:function(e){var n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}},{key:"forEachRemovedItem",value:function(e){var n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}},{key:"diff",value:function(e){if(e){if(!QD(e,Map)&&!kv(e))throw new We(900,ngDevMode&&"Error trying to diff '".concat(Ye(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var n=this;this._reset();var t=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(t&&t.key===r)n._maybeAddToChanges(t,e),n._appendAfter=t,t=t._next;else{var o=n._getOrCreateRecordForKey(r,e);t=n._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(var r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,n){if(e){var t=e._prev;return n._next=e,n._prev=t,e._prev=n,t&&(t._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}},{key:"_getOrCreateRecordForKey",value:function(e,n){if(this._records.has(e)){var t=this._records.get(e);this._maybeAddToChanges(t,n);var r=t._prev,o=t._next;return r&&(r._next=o),o&&(o._prev=r),t._next=null,t._prev=null,t}var i=new bk(e);return this._records.set(e,i),i.currentValue=n,this._addToAdditions(i),i}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,n){QD(e,Map)?e.forEach(n):Object.keys(e).forEach(function(t){return n(e[t],t)})}}]),e}(),bk=function e(n){ZD(this,e),GD(this,"key",void 0),GD(this,"previousValue",null),GD(this,"currentValue",null),GD(this,"_nextPrevious",null),GD(this,"_next",null),GD(this,"_prev",null),GD(this,"_nextAdded",null),GD(this,"_nextRemoved",null),GD(this,"_nextChanged",null),this.key=n};function Mk(){return new Dk([new dk])}var Dk=function(){function e(n){ZD(this,e),GD(this,"factories",void 0),this.factories=n}return $D(e,[{key:"find",value:function(e){var n,t,r=this.factories.find(function(n){return n.supports(e)});if(null!=r)return r;throw new We(901,ngDevMode&&"Cannot find a differ supporting object '".concat(e,"' of type '").concat((n=e).name||(void 0===n?"undefined":(t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t),"'"))}}],[{key:"create",value:function(n,t){if(null!=t){var r=t.factories.slice();n=n.concat(r)}return new e(n)}},{key:"extend",value:function(n){return{provide:e,useFactory:function(t){return e.create(n,t||Mk())},deps:[[e,new ya,new pa]]}}}]),e}();function kk(){return new _k([new mk])}GD(Dk,"ɵprov",Mn({token:Dk,providedIn:"root",factory:Mk}));var _k=function(){function e(n){ZD(this,e),GD(this,"factories",void 0),this.factories=n}return $D(e,[{key:"find",value:function(e){var n=this.factories.find(function(n){return n.supports(e)});if(n)return n;throw new We(901,ngDevMode&&"Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(n,t){if(t){var r=t.factories.slice();n=n.concat(r)}return new e(n)}},{key:"extend",value:function(n){return{provide:e,useFactory:function(t){return e.create(n,t||kk())},deps:[[e,new ya,new pa]]}}}]),e}();GD(_k,"ɵprov",Mn({token:_k,providedIn:"root",factory:kk}));var xk=[new mk],Ik=[new dk];new Dk(Ik),new _k(xk),function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(n),o=new Cn(r)}(null,"core",[]);var Sk=function e(n){ZD(this,e)};function Ck(e,n){var t;ngDevMode&&!(null==n?void 0:n.injector)&&fr(Ck);const r=null!=(t=null==n?void 0:n.injector)?t:dt(di);return new Promise((n,t)=>{const o=FD(()=>{let r;try{r=e()}catch(e){return void jD(()=>t(e))}jD(()=>n(r))},{injector:r,manualCleanup:!0});r.get(vi).onDestroy(()=>{o.destroy()})})}GD(Sk,"ɵfac",function(e){return new(e||Sk)(st(Cg))}),GD(Sk,"ɵmod",Oh({type:Sk})),GD(Sk,"ɵinj",Dn({})),("undefined"==typeof ngDevMode||ngDevMode)&&gg(Sk,[{type:gD}],function(){return[{type:Cg}]}),new Cn("undefined"==typeof ngDevMode||ngDevMode?"REQUEST":"",{providedIn:"platform",factory:function(){return null}}),new Cn("undefined"==typeof ngDevMode||ngDevMode?"RESPONSE_INIT":"",{providedIn:"platform",factory:function(){return null}}),new Cn("undefined"==typeof ngDevMode||ngDevMode?"REQUEST_CONTEXT":"",{providedIn:"platform",factory:function(){return null}});export{g as ALPHABET_KB_KEYS,v as ARROW,b as EXTENSION_BY_MIME_TYPE,y as KB_ALPHABET_CODES,p as KB_CODE,h as KB_KEY,M as MIME_TYPE_BY_EXTENSION,x as Month,T as PRIMENG_DATE_FORMAT_META,V as RDT_DEFAULT_MIME_TYPE,F as RDT_DEFAULT_MS_OFFICE_ACTION,D as RdtArrayUtils,w as RdtCombinedMimeType,k as RdtCssUtils,R as RdtDateParser,_ as RdtDateUtils,d as RdtEncoding,L as RdtFileSizeUnit,B as RdtFileUtils,S as RdtHTMLUtils,E as RdtInsertMode,A as RdtLeadingZeroInputMode,m as RdtMimeType,$ as RdtModelUtils,P as RdtMsOfficeAction,j as RdtMsOfficeApp,G as RdtObjectUtils,O as RdtPasteMode,Y as RdtRandomUtils,J as RdtRxUtils,C as RdtStringUtils,N as RdtYearInputMode,Ck as signalToPromise};
|