@ngrdt/utils 0.0.55 → 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.cjs.js
CHANGED
|
@@ -1 +1,88 @@
|
|
|
1
|
-
"use strict";var t=require("rxjs");function e(t){return{name:t,className:(s=t,e=a(s),e.charAt(0).toUpperCase()+e.slice(1)),propertyName:a(t),constantName:n(t),fileName:r(t)};var e,s}function a(t){return t.replace(/([^a-zA-Z0-9])+(.)?/g,(t,e,a)=>a?a.toUpperCase():"").replace(/[^a-zA-Z\d]/g,"").replace(/^([A-Z])/,t=>t.toLowerCase())}function n(t){return r(a(t.toUpperCase()===t?t.toLowerCase():t)).replace(/([^a-zA-Z0-9])/g,"_").toUpperCase()}function r(t){return t.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase().replace(/(?!^_)[ _]/g,"-")}const s=["je","lze"];function i(t){const e=parseInt(t);return isNaN(e)?{obj:{},key:t}:{obj:[],key:e}}class o{static tokenize(t){return t?t.split(/\W+/).filter(t=>!!t):[]}static joinPaths(t,e){const a=t.endsWith("/"),n=e.startsWith("/");return a&&n?t.slice(0,-1)+e:a||n?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=o.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(/#|\?|$/),a=e&&e.index||t.length,n=a-("/"===t[a-1]?1:0);return t.slice(0,n)+t.slice(a)}static createAbsoluteUrl(t,e){return o.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,a="asc"){const n="asc"===a?1:-1;return t==e?0:null==t?-n:null==e?n:t.localeCompare(e)*n}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,a){return e<0||a<0||e>=t.length||a>=t.length?t:(a<e&&([e,a]=[a,e]),t.slice(0,e)+t[a]+t.slice(e+1,a)+t[e]+t.slice(a+1))}static insertAt(t,e,a){return t.slice(0,e)+a+t.slice(e)}static getDataTestId(t,e,a){var n;let r=null==(n=t.toLowerCase())?void 0:n.replace(/ /g,"-");return e&&(r=`${e}__${r}`),a&&(r=`${r}--${a}`),o.removeAccents(r)}static stripQueryParams(t){const e=t.match(/#|\?|$/),a=e&&e.index||t.length;return t.slice(0,a)}}function l(){return l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},l.apply(this,arguments)}const p={UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight"},c={SPACEBAR:" ",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",END:"End",TAB:"Tab",ARROW:p},u=l({},c,{SPACEBAR:"Space"}),d=Array.from(Array(26)).map((t,e)=>e+65).map(t=>String.fromCharCode(t)),g=d.map(t=>`Key${t.toUpperCase()}`);class m{static scrollIntoViewHorizontallyWithinParent(t){const e=t.parentElement;if(!e)return;const a=t.offsetLeft,n=t.offsetWidth,r=e.offsetWidth,s=e.scrollLeft,i=a,o=a-r+n;s>i?e.scrollLeft=i:s<o&&(e.scrollLeft=o)}static setCaretPosition(t,e){t.focus(),t.setSelectionRange(e,e)}}class h{static getDays(t,e){return h.getDayOffset(new Date(t))-h.getDayOffset(new Date(e))}static checkDate(t,e,a){const n=new Date(t,e-1,a);return n.getFullYear()===t&&n.getMonth()+1===e&&n.getDate()===a}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()-h.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(h.isValidDate(e)){const t=e.getFullYear(),a=`${e.getMonth()+1}`.padStart(2,"0");return`${`${e.getDate()}`.padStart(2,"0")}.${a}.${t}`}return""}static timeToDate(t){const e=new Date(0);if(h.hhMmSsMsRegex.test(t)){const a=t.match(h.hhMmSsMsRegex);if(a){const t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),s=parseInt(a[4]);return e.setHours(t,n,r,s),e}}else if(h.hhMmSsRegex.test(t)){const a=t.match(h.hhMmSsRegex);if(a){const t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]);return e.setHours(t,n,r),e}}else if(h.hhMmRegex.test(t)){const a=t.match(h.hhMmRegex);if(a){const t=parseInt(a[1]),n=parseInt(a[2]);return e.setHours(t,n),e}}return null}static setTime(t,e){const a=new Date(t),n=h.timeToDate(e);return n&&a.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),a}static getTime(t,e=!0){const a=t.getHours().toString().padStart(2,"0"),n=t.getMinutes().toString().padStart(2,"0");if(e){return`${a}:${n}:${t.getSeconds().toString().padStart(2,"0")}`}return`${a}:${n}`}static parseToDate(t){if(t instanceof Date)return h.isValidDate(t)?t:null;if("string"==typeof t){const e=new Date(t);if(h.isValidDate(e))return e}return null}static parse(t){if(t instanceof Date)return h.isValidDate(t)?t.getTime():null;if("string"==typeof t){const e=new Date(t);if(h.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 h.isLeapYear(t)?366:365}static getDayOffset(t){const e=t.getFullYear()-1,a=t.getMonth()+1,n=t.getDate(),r=Math.trunc(e/4)-Math.trunc(e/100)+Math.trunc(e/400);return h.isLeapYear(e+1)?365*e+r+h.daysUpToMonthLeapYear[a-1]+n-1:365*e+r+h.daysUpToMonth[a-1]+n-1}static doubleDigitYearToPast(t){const e=h.getCurrentYear(),a=e%100;return t<=a?t+e-a:t+e-a-100}static doubleDigitYearToFuture(t){const e=h.getCurrentYear(),a=e%100;return t>=a?t+e-a:t+e-a+100}static getCurrentYear(){return(new Date).getFullYear()}static calculateAge(t,e){const a=new Date(t),n=new Date(e);let r=n.getFullYear()-a.getFullYear();const s=n.getMonth()-a.getMonth(),i=n.getDate()-a.getDate();return(s<0||0===s&&i<0)&&r--,r}}var f,x,M;h.MS=1,h.SECOND=1e3*h.MS,h.MINUTE=60*h.SECOND,h.HOUR=60*h.MINUTE,h.DAY=24*h.HOUR,h.hhMmRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*$/,h.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*$/,h.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*$/,h.daysUpToMonth=[0,31,59,90,120,151,181,212,243,273,304,334],h.daysUpToMonthLeapYear=[0,31,60,91,121,152,182,213,244,274,305,335],exports.Month=void 0,(f=exports.Month||(exports.Month={}))[f.January=0]="January",f[f.February=1]="February",f[f.March=2]="March",f[f.April=3]="April",f[f.May=4]="May",f[f.June=5]="June",f[f.July=6]="July",f[f.August=7]="August",f[f.September=8]="September",f[f.October=9]="October",f[f.November=10]="November",f[f.December=11]="December",exports.RdtMimeType=void 0,(x=exports.RdtMimeType||(exports.RdtMimeType={})).DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",x.XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",x.PDF="application/pdf",x.TXT="text/plain",x.CSV="text/csv",x.ZIP="application/zip",x.JPG="image/jpeg",x.PNG="image/png",x.GIF="image/gif",x.SVG="image/svg+xml",x.HTML="text/html",x.XML="application/xml",x.JSON="application/json",x.MP3="audio/mpeg",x.MP4="video/mp4",x.OGG="audio/ogg",x.WEBM="video/webm",x.WAV="audio/wav",x.AVI="video/x-msvideo",x.MPEG="video/mpeg",x.WEBP="image/webp",x.ICO="image/x-icon",x.TTF="font/ttf",x.WOFF="font/woff",x.WOFF2="font/woff2",x.EOT="application/vnd.ms-fontobject",x.OTF="font/otf",x.PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",x.PPT="application/vnd.ms-powerpoint",x.XLS="application/vnd.ms-excel",x.DOC="application/msword",x.ODT="application/vnd.oasis.opendocument.text",x.ODS="application/vnd.oasis.opendocument.spreadsheet",x.ODP="application/vnd.oasis.opendocument.presentation",x.ODF="application/vnd.oasis.opendocument.formula",x.RAR="application/vnd.rar",x.TAR="application/x-tar",x.GZIP="application/gzip",x.BZIP2="application/x-bzip2",x.XZ="application/x-xz",x.SEVENZ="application/x-7z-compressed",x.RAR5="application/x-rar-compressed",x.WMA="audio/x-ms-wma",x.WMV="video/x-ms-wmv",x.FLV="video/x-flv",x.OGV="video/ogg",x.BIN="application/octet-stream",x.UNKNOWN="unknown",exports.RdtCombinedMimeType=void 0,(M=exports.RdtCombinedMimeType||(exports.RdtCombinedMimeType={})).IMAGE="image/*",M.AUDIO="audio/*",M.VIDEO="video/*",M.FONT="font/*",M.DOCUMENT="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/pdf,text/plain,text/csv",M.SPREADSHEET="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet",M.PRESENTATION="application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.presentation",M.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 y={"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"},w={};for(const[t,e]of Object.entries(y))w[e]=t;var v,D;exports.RdtMsOfficeAction=void 0,(v=exports.RdtMsOfficeAction||(exports.RdtMsOfficeAction={})).Edit="ofe|u|",v.View="ofv|u|",exports.RdtMsOfficeApp=void 0,(D=exports.RdtMsOfficeApp||(exports.RdtMsOfficeApp={})).Word="ms-word",D.Excel="ms-excel",D.PowerPoint="ms-powerpoint";const b=exports.RdtMimeType.UNKNOWN,O="ofv|u|";var R;exports.RdtFileSizeUnit=void 0,(R=exports.RdtFileSizeUnit||(exports.RdtFileSizeUnit={})).B="B",R.KB="KB",R.MB="MB",R.GB="GB",R.TB="TB",R.PB="PB",R.EB="EB",R.ZB="ZB",R.YB="YB";const I=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];class T{static getMsOfficeLink(t,e){var a;const n=null!=(a=e.app)?a:T.getMsOfficeAppByMimeType(e.mimeType);if(n){var r;return`${n}:${null!=(r=e.action)?r:O}${t}`}return t}static openFileFromRemoteUrl(t,e){window.open(T.getMsOfficeLink(t,e))}static openFileInBrowser(t,e){const a=T.getBase64Link(t,e);window.open(a,"_blank")}static fileAsArrayBuffer(t){return new Promise((e,a)=>{t||a(null);const n=new FileReader;n.onload=()=>e(n.result),n.onerror=a,n.readAsArrayBuffer(t)})}static fileAsText(t,e){return new Promise((a,n)=>{t||n(null);const r=new FileReader;r.onload=()=>a(r.result),r.onerror=n,r.readAsText(t,e)})}static downloadFileFromData(t,e,a){var n;a=null!=(n=null!=a?a:T.getMimeTypeFromFileName(e))?n:T.getMimeTypeFromBase64(t);const r=T.getBase64Link(t,a);this.downloadFileFromRemoteUrl(r,e,a)}static downloadFileFromRemoteUrl(t,e,a){a=null!=a?a:T.getMimeTypeFromFileName(e);const n=document.createElement("a");n.href=t,n.download=T.getFileName(e,a),n.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 w[e]}static getFileName(t,e){if(e&&e!==exports.RdtMimeType.UNKNOWN){const a=y[e];return t.endsWith(`.${a}`)?t:`${t}.${a}`}return t}static getBase64Link(t,e){return t.startsWith("data:")?t:e?e===exports.RdtMimeType.UNKNOWN?`data:${exports.RdtMimeType.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,a,n,r,s;return null!=(s=null==(r=t.headers.get("content-disposition"))||null==(n=r.split("filename="))||null==(a=n[1])||null==(e=a.split(";"))?void 0:e[0])?s:""}static async blobToDataUrl(t){return new Promise((e,a)=>{t||a(null);const n=new FileReader;n.onload=()=>e(n.result),n.onerror=a,n.readAsDataURL(t)})}static convertFromBytes(t,e=2){if(0===t)return"0 B";const a=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,a)).toFixed(e))+" "+I[a]}static convertToBytes(t,e){const a=I.indexOf(e);return t*Math.pow(1024,a)}static fileSizeToBytes(t){const[e,a]=t.split(" "),n=parseFloat(e),r=a;return isNaN(n)||-1===I.indexOf(r)?null:T.convertToBytes(n,r)}static getMsOfficeAppByMimeType(t){switch(t){case exports.RdtMimeType.DOC:case exports.RdtMimeType.DOCX:case exports.RdtMimeType.ODT:return"ms-word";case exports.RdtMimeType.XLS:case exports.RdtMimeType.XLSX:case exports.RdtMimeType.ODS:return"ms-excel";case exports.RdtMimeType.PPT:case exports.RdtMimeType.PPTX:case exports.RdtMimeType.ODP:return"ms-powerpoint";default:return null}}}class S{static normalizeColor(t){const e=t.trim();return this.isHexColor(e)?S.normalizeHex(e):this.isRgbColor(e)?S.normalizeRgb(e):this.isRgbaColor(e)?S.normalizeRgba(e):null}static normalizeHex(t){const e=t.match(S.hexRegex);return e?`#${e[2]}`:null}static normalizeRgb(t){const e=t.match(S.rgbRegex);return e?`rgb(${e[2]},${e[3]},${e[4]})`:null}static normalizeRgba(t){const e=t.match(S.rgbaRegex);return e?`rgba(${e[2]},${e[3]},${e[4]},${e[5]})`:null}static isRgbColor(t){return S.rgbRegex.test(t)}static isHexColor(t){return S.hexRegex.test(t)}static isRgbaColor(t){return S.rgbaRegex.test(t)}}var _;S.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*\)?$/,S.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*\)?$/,S.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"}(_||(_={}));var N,F,A,C,E;exports.RdtInsertMode=void 0,(N=exports.RdtInsertMode||(exports.RdtInsertMode={}))[N.Overwrite=0]="Overwrite",N[N.Shift=1]="Shift",exports.RdtPasteMode=void 0,(F=exports.RdtPasteMode||(exports.RdtPasteMode={}))[F.Replace=0]="Replace",F[F.Insert=1]="Insert",exports.RdtYearInputMode=void 0,(A=exports.RdtYearInputMode||(exports.RdtYearInputMode={}))[A.FourDigit=1]="FourDigit",A[A.TwoDigit=2]="TwoDigit",A[A.Both=3]="Both",exports.RdtLeadingZeroInputMode=void 0,(C=exports.RdtLeadingZeroInputMode||(exports.RdtLeadingZeroInputMode={}))[C.NoLeadingZero=1]="NoLeadingZero",C[C.LeadingZero=2]="LeadingZero",C[C.Both=3]="Both";exports.RdtEncoding=void 0,(E=exports.RdtEncoding||(exports.RdtEncoding={})).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",exports.ALPHABET_KB_KEYS=d,exports.ARROW=p,exports.EXTENSION_BY_MIME_TYPE=y,exports.KB_ALPHABET_CODES=g,exports.KB_CODE=u,exports.KB_KEY=c,exports.MIME_TYPE_BY_EXTENSION=w,exports.PRIMENG_DATE_FORMAT_META={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}},exports.RDT_DEFAULT_MIME_TYPE=b,exports.RDT_DEFAULT_MS_OFFICE_ACTION=O,exports.RdtArrayUtils=class{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,a){if(e<0||e>t.length)throw new Error(`Out of bounds! Array length: ${t.length}, index: ${e}`);return[...t.slice(0,e),a,...t.slice(e)]}static isEqual(t,e){return t&&e?t.length===e.length&&t.every(t=>e.indexOf(t)>-1):!t==!e}},exports.RdtCssUtils=S,exports.RdtDateParser=class{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 a;this.caretPosition=null!=(a=e.selectionStart)?a:e.value.length-1}onKeyUp(t){"Backspace"===t.key&&(this.deleting=!1)}onInput(t){const e=t.target,a=e.value;var n;const r=null!=(n=e.selectionStart)?n:a.length-1,s=this.parse(a,r);e.value=s.prettyInput,m.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(a=>{switch(a.type){case"constant":e+=a.value;break;case"day":e+=`${t.getDate()}`.padStart(a.minLength,"0");break;case"month":e+=`${t.getMonth()+1}`.padStart(a.minLength,"0");break;case"year":e+=(""+t.getFullYear()%10**a.maxLength).padStart(a.minLength,"0")}}),this._value=t,this._inputValue=e}set inputValue(t){this._inputValue=t}get inputValue(){return this._inputValue}parse(t,e=this.caretPosition,a=this.deleting){let n=t,r=null,s=null,i=null,l="",p=e,c=!0,u=!1;for(let d=0;d<this._parsedFormat.length&&0!==n.length;d++){const g=this._parsedFormat[d],m=n.search(/\d/);if("constant"===g.type){if(m>0){const e=a?n.substring(0,g.value.length):n.substring(0,m);if(a&&e!==g.value){if(n.length===t.length)continue;p-=g.value.length-e.length}n=n.substring(m)}l+=g.value}else{if(m<0)break;if(p>l.length&&(c=!0),"year"===g.type)if(1&this.cfg.yearInputMode&&(n.match(/^\d{3,4}/)||n.match(/^\d{2}$/)&&d!==this._parsedFormat.length-1))if(!a&&0===this.cfg.insertMode&&n.match(/^\d{5}/)&&e<n.length&&e-l.length<=5&&o.isNumericCharacter(n[e])&&(n=n.substring(0,e)+n.substring(e+1)),n.match(/^\d{4}/)){const t=n.substring(0,4);i=parseInt(t),n=n.substring(4),l+=t,a||({rest:n,targetCaret:p}=this.useUpNumbersUntilNextSeparator(n,p,!0,a))}else n.match(/^\d{3}/)?(l+=n.substring(0,3),n=n.substring(3),l.length<=p&&(c=!1)):(l=n.substring(0,2),n=n.substring(2),l.length<=p&&(c=!1));else if(2&this.cfg.yearInputMode&&n.match(/^\d{2}/)&&(this.containsNonNumericCharacters(n.substring(2))||d===this._parsedFormat.length-1)){const t=n.substring(0,2),e=parseInt(t);i="past"===this.cfg.twoDigitYearInputStrategy?h.doubleDigitYearToPast(e):h.doubleDigitYearToFuture(e),n=n.substring(2),a||({rest:n,targetCaret:p}=this.useUpNumbersUntilNextSeparator(n,p,!0,a)),l+=t,1&this.cfg.yearInputMode&&d===this._parsedFormat.length-1&&(u=!0)}else n.match(/^\d/)&&(l+=n[0],n=n.substring(1),l.length<=p&&(c=!1));else if("month"===g.type){const t=this.readNumber(1,12,l,n,p,a);l=t.output,n=t.rest,p=t.targetCaret,null!==t.value&&(s=t.value,t.complete&&!a&&({rest:n,targetCaret:p}=this.useUpNumbersUntilNextSeparator(n,p,!0,a)),!t.complete&&l.length<=p&&(c=!1))}else if("day"===g.type){const t=this.readNumber(1,31,l,n,p,a);l=t.output,n=t.rest,p=t.targetCaret,null!==t.value&&(r=t.value,t.complete&&!a&&({rest:n,targetCaret:p}=this.useUpNumbersUntilNextSeparator(n,p,!0,a)),!t.complete&&l.length<=p&&(c=!1))}}}let d=null;if(null!==i&&null!==s&&null!==r&&(d=new Date(i,s-1,r),d.getMonth()!==s-1&&(d=null)),p=Math.min(p,l.length+1),a)d||(l=t,p=e);else if(e===t.length)p=l.length;else if(c)for(;p>0&&l.length>p&&!o.isNumericCharacter(l[p]);)p++;return{prettyInput:l,date:d,complete:null!==d,caret:p,ambiguous:u||null===d}}readNumber(t,e,a,n,r,s){const i=function(t){return Math.log10(t)+1|0}(e);let o=null,l="",p=!1;if(1&this.cfg.leadingZeroMode){var c,u;let r=null!=(u=null==(c=n.match(/^\d+/))?void 0:c[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="")}a+=r,n=n.substring(r.length),l=r}else{const t=new RegExp(`^\\d{${i}}`);n.match(t)&&(l=n.substring(0,i),a+=l,n=n.substring(i),o=parseInt(l))}return null!==o&&o>=t&&o<=e?(p=l.length===i||10*o>e,({rest:n,targetCaret:r}=this.useUpNumbersUntilNextSeparator(n,r,p&&!s,s)),{value:o,complete:p,output:a,rest:n,targetCaret:r}):{value:null,complete:!1,output:a,rest:n,targetCaret:r}}parseFormat(t){const e=Object.keys(t.symbolMeta);e.sort((t,e)=>e.length-t.length);let a=t.format;const n=[];for(;a.length>0;){const r=e.map(t=>a.indexOf(t)),s=r.indexOf(Math.min(...r.filter(t=>t>=0))),i=r[s],o=e[s];i>0?(n.push({type:"constant",value:a.substring(0,i)}),a=a.substring(i)):i<0?(n.push({type:"constant",value:a}),a=""):(n.push(t.symbolMeta[o]),a=a.substring(i+o.length))}return n}useUpNumbersUntilNextSeparator(t,e,a,n){let r=0;for(;r<t.length&&o.isNumericCharacter(t[r]);)r++;return r!==t.length?{rest:t.substring(r),targetCaret:e-(n?r:0)}:a?{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}},exports.RdtDateUtils=h,exports.RdtFileUtils=T,exports.RdtHTMLUtils=m,exports.RdtModelUtils=class{static inferPropertyInfo(t,a){const n=e(a).fileName.split("-"),r={};n.forEach(t=>r[t]=1);let i=0,o="";t.forEach(({key:t})=>{const a=e(t).fileName.split("-");let n=0;a.forEach(t=>{var e;return n+=null!=(e=r[t])?e:0});const s=a.includes("id");n>i&&s?(i=n,o=t):n===i&&s&&t.length<o.length&&(o=t)});return t.map(t=>{const a=e(t.key).fileName.split("-"),n=a.includes("id");return{key:t.key,type:t.type,required:!0,formControlType:"date"===t.type?"string":t.type,primaryKey:t.key===o,foreignKey:n&&t.key!==o,probablyBoolean:s.includes(a[0])&&"number"===t.type}})}static names(t){return e(t)}},exports.RdtObjectUtils=class{static pluck(t,e){if(!t)return;const a=Array.isArray(e)?e:e.split(".");let n=t;for(const t of a){if(null==n)return;n=Array.isArray(n)&&"string"==typeof t?n[parseInt(t)]:n[t]}return n}static notNullGuard(t){return null!=t}static expandKey(t,e){const a=t.split(".");if(0===a.length)return e;const n=i(a[0]);let r=n;for(let t=1;t<a.length;t++){const e=i(a[t]);r.obj[r.key]=e.obj,r=e}return r.obj[r.key]=e,n.obj}static someValuesTrue(t){return Object.getOwnPropertySymbols(t).some(e=>t[e])}},exports.RdtRandomUtils=class{static randomId(){return Math.random().toString(36).substring(2)}static trueFalse(){return Math.random()<.5}},exports.RdtRxUtils=class{static repeatLatestWhen(e){return a=>t.combineLatest([a,e.pipe(t.startWith(null))]).pipe(t.map(([t])=>t))}static completeIfNull(e){return e.pipe(t.switchMap(e=>null==e?t.EMPTY:t.of(e)))}static makeObservable(e){return e instanceof t.Observable?e:t.of(e)}},exports.RdtStringUtils=o;
|
|
1
|
+
"use strict";var e,n=require("rxjs"),t=require("rxjs/operators");function r(){return r=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},r.apply(this,arguments)}exports.RdtEncoding=void 0,(e=exports.RdtEncoding||(exports.RdtEncoding={})).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";const o={UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight"},i={SPACEBAR:" ",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",END:"End",TAB:"Tab",ARROW:o},a=r({},i,{SPACEBAR:"Space"}),u=Array.from(Array(26)).map((e,n)=>n+65).map(e=>String.fromCharCode(e)),l=u.map(e=>`Key${e.toUpperCase()}`);var s,c;exports.RdtMimeType=void 0,(s=exports.RdtMimeType||(exports.RdtMimeType={})).DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",s.XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",s.PDF="application/pdf",s.TXT="text/plain",s.CSV="text/csv",s.ZIP="application/zip",s.JPG="image/jpeg",s.PNG="image/png",s.GIF="image/gif",s.SVG="image/svg+xml",s.HTML="text/html",s.XML="application/xml",s.JSON="application/json",s.MP3="audio/mpeg",s.MP4="video/mp4",s.OGG="audio/ogg",s.WEBM="video/webm",s.WAV="audio/wav",s.AVI="video/x-msvideo",s.MPEG="video/mpeg",s.WEBP="image/webp",s.ICO="image/x-icon",s.TTF="font/ttf",s.WOFF="font/woff",s.WOFF2="font/woff2",s.EOT="application/vnd.ms-fontobject",s.OTF="font/otf",s.PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",s.PPT="application/vnd.ms-powerpoint",s.XLS="application/vnd.ms-excel",s.DOC="application/msword",s.ODT="application/vnd.oasis.opendocument.text",s.ODS="application/vnd.oasis.opendocument.spreadsheet",s.ODP="application/vnd.oasis.opendocument.presentation",s.ODF="application/vnd.oasis.opendocument.formula",s.RAR="application/vnd.rar",s.TAR="application/x-tar",s.GZIP="application/gzip",s.BZIP2="application/x-bzip2",s.XZ="application/x-xz",s.SEVENZ="application/x-7z-compressed",s.RAR5="application/x-rar-compressed",s.WMA="audio/x-ms-wma",s.WMV="video/x-ms-wmv",s.FLV="video/x-flv",s.OGV="video/ogg",s.BIN="application/octet-stream",s.UNKNOWN="unknown",exports.RdtCombinedMimeType=void 0,(c=exports.RdtCombinedMimeType||(exports.RdtCombinedMimeType={})).IMAGE="image/*",c.AUDIO="audio/*",c.VIDEO="video/*",c.FONT="font/*",c.DOCUMENT="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/pdf,text/plain,text/csv",c.SPREADSHEET="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet",c.PRESENTATION="application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.presentation",c.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 d={"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"},f={};for(const[e,n]of Object.entries(d))f[n]=e;class v{static normalizeColor(e){const n=e.trim();return this.isHexColor(n)?v.normalizeHex(n):this.isRgbColor(n)?v.normalizeRgb(n):this.isRgbaColor(n)?v.normalizeRgba(n):null}static normalizeHex(e){const n=e.match(v.hexRegex);return n?`#${n[2]}`:null}static normalizeRgb(e){const n=e.match(v.rgbRegex);return n?`rgb(${n[2]},${n[3]},${n[4]})`:null}static normalizeRgba(e){const n=e.match(v.rgbaRegex);return n?`rgba(${n[2]},${n[3]},${n[4]},${n[5]})`:null}static isRgbColor(e){return v.rgbRegex.test(e)}static isHexColor(e){return v.hexRegex.test(e)}static isRgbaColor(e){return v.rgbaRegex.test(e)}}v.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*\)?$/,v.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*\)?$/,v.hexRegex=/^(#?)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;class h{static getDays(e,n){return h.getDayOffset(new Date(e))-h.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()-h.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(h.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(h.hhMmSsMsRegex.test(e)){const t=e.match(h.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(h.hhMmSsRegex.test(e)){const t=e.match(h.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(h.hhMmRegex.test(e)){const t=e.match(h.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=h.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 h.isValidDate(e)?e:null;if("string"==typeof e){const n=new Date(e);if(h.isValidDate(n))return n}return null}static parse(e){if(e instanceof Date)return h.isValidDate(e)?e.getTime():null;if("string"==typeof e){const n=new Date(e);if(h.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 h.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 h.isLeapYear(n+1)?365*n+o+h.daysUpToMonthLeapYear[t-1]+r-1:365*n+o+h.daysUpToMonth[t-1]+r-1}static doubleDigitYearToPast(e){const n=h.getCurrentYear(),t=n%100;return e<=t?e+n-t:e+n-t-100}static doubleDigitYearToFuture(e){const n=h.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 p,g;h.MS=1,h.SECOND=1e3*h.MS,h.MINUTE=60*h.SECOND,h.HOUR=60*h.MINUTE,h.DAY=24*h.HOUR,h.hhMmRegex=/^\s*([0-9]|0[0-9]|1[0-9]|2[0-3])\s*\W+\s*([0-5]?[0-9])\s*$/,h.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*$/,h.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*$/,h.daysUpToMonth=[0,31,59,90,120,151,181,212,243,273,304,334],h.daysUpToMonthLeapYear=[0,31,60,91,121,152,182,213,244,274,305,335],exports.Month=void 0,(p=exports.Month||(exports.Month={}))[p.January=0]="January",p[p.February=1]="February",p[p.March=2]="March",p[p.April=3]="April",p[p.May=4]="May",p[p.June=5]="June",p[p.July=6]="July",p[p.August=7]="August",p[p.September=8]="September",p[p.October=9]="October",p[p.November=10]="November",p[p.December=11]="December";class y{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 m{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=m.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 m.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}`),m.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"}(g||(g={}));var w,b,M,D,k,_;exports.RdtInsertMode=void 0,(w=exports.RdtInsertMode||(exports.RdtInsertMode={}))[w.Overwrite=0]="Overwrite",w[w.Shift=1]="Shift",exports.RdtPasteMode=void 0,(b=exports.RdtPasteMode||(exports.RdtPasteMode={}))[b.Replace=0]="Replace",b[b.Insert=1]="Insert",exports.RdtYearInputMode=void 0,(M=exports.RdtYearInputMode||(exports.RdtYearInputMode={}))[M.FourDigit=1]="FourDigit",M[M.TwoDigit=2]="TwoDigit",M[M.Both=3]="Both",exports.RdtLeadingZeroInputMode=void 0,(D=exports.RdtLeadingZeroInputMode||(exports.RdtLeadingZeroInputMode={}))[D.NoLeadingZero=1]="NoLeadingZero",D[D.LeadingZero=2]="LeadingZero",D[D.Both=3]="Both";exports.RdtMsOfficeAction=void 0,(k=exports.RdtMsOfficeAction||(exports.RdtMsOfficeAction={})).Edit="ofe|u|",k.View="ofv|u|",exports.RdtMsOfficeApp=void 0,(_=exports.RdtMsOfficeApp||(exports.RdtMsOfficeApp={})).Word="ms-word",_.Excel="ms-excel",_.PowerPoint="ms-powerpoint";const x=exports.RdtMimeType.UNKNOWN,I="ofv|u|";var S;exports.RdtFileSizeUnit=void 0,(S=exports.RdtFileSizeUnit||(exports.RdtFileSizeUnit={})).B="B",S.KB="KB",S.MB="MB",S.GB="GB",S.TB="TB",S.PB="PB",S.EB="EB",S.ZB="ZB",S.YB="YB";const T=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];class C{static getMsOfficeLink(e,n){var t;const r=null!=(t=n.app)?t:C.getMsOfficeAppByMimeType(n.mimeType);if(r){var o;return`${r}:${null!=(o=n.action)?o:I}${e}`}return e}static openFileFromRemoteUrl(e,n){window.open(C.getMsOfficeLink(e,n))}static openFileInBrowser(e,n){const t=C.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:C.getMimeTypeFromFileName(n))?r:C.getMimeTypeFromBase64(e);const o=C.getBase64Link(e,t);this.downloadFileFromRemoteUrl(o,n,t)}static downloadFileFromRemoteUrl(e,n,t){t=null!=t?t:C.getMimeTypeFromFileName(n);const r=document.createElement("a");r.href=e,r.download=C.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 f[n]}static getFileName(e,n){if(n&&n!==exports.RdtMimeType.UNKNOWN){const t=d[n];return e.endsWith(`.${t}`)?e:`${e}.${t}`}return e}static getBase64Link(e,n){return e.startsWith("data:")?e:n?n===exports.RdtMimeType.UNKNOWN?`data:${exports.RdtMimeType.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))+" "+T[t]}static convertToBytes(e,n){const t=T.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===T.indexOf(o)?null:C.convertToBytes(r,o)}static getMsOfficeAppByMimeType(e){switch(e){case exports.RdtMimeType.DOC:case exports.RdtMimeType.DOCX:case exports.RdtMimeType.ODT:return"ms-word";case exports.RdtMimeType.XLS:case exports.RdtMimeType.XLSX:case exports.RdtMimeType.ODS:return"ms-excel";case exports.RdtMimeType.PPT:case exports.RdtMimeType.PPTX:case exports.RdtMimeType.ODP:return"ms-powerpoint";default:return null}}}function E(e){return{name:e,className:(t=e,n=O(t),n.charAt(0).toUpperCase()+n.slice(1)),propertyName:O(e),constantName:N(e),fileName:A(e)};var n,t}function O(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 N(e){return A(O(e.toUpperCase()===e?e.toLowerCase():e)).replace(/([^a-zA-Z0-9])/g,"_").toUpperCase()}function A(e){return e.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase().replace(/(?!^_)[ _]/g,"-")}const R=["je","lze"];function P(e){const n=parseInt(e);return isNaN(n)?{obj:{},key:e}:{obj:[],key:n}}
|
|
2
|
+
/**
|
|
3
|
+
* @license Angular v20.0.0
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
|
+
* License: MIT
|
|
6
|
+
*/
|
|
7
|
+
function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,n,t){return V=U()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&H(o,t.prototype),o},V.apply(null,arguments)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function L(e,n){return!n||"object"!=((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"function"!=typeof n?j(e):n;var t}function H(e,n){return H=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},H(e,n)}function B(e){var n="function"==typeof Map?new Map:void 0;return B=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 V(e,arguments,F(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),H(r,e)},B(e)}function U(){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 z=void 0;function W(){return z}function Z(e){var n=z;return z=e,n}var q=Symbol("NotFound"),$=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&&H(e,n)}(r,B(Error));var e,n,t=(e=r,n=U(),function(){var t,r=F(e);if(n){var o=F(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return L(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=j(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 Y(e){return e===q||"ɵNotFound"===(null==e?void 0:e.name)}var G=null,Q=Symbol("SIGNAL");function J(e){var n=G;return G=e,n}function K(){return G}var X={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 ee(e){ue(e)&&!e.dirty||(e.dirty||1!==e.lastCleanEpoch)&&(e.producerMustRecompute(e)||oe(e)?(e.producerRecomputeValue(e),ne(e)):ne(e))}function ne(e){e.dirty=!1,e.lastCleanEpoch=1}function te(e){return e&&(e.nextProducerIndex=0),J(e)}function re(e,n){if(J(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ue(e))for(var t=e.nextProducerIndex;t<e.producerNode.length;t++)ae(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function oe(e){le(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(ee(t),r!==t.version)return!0}return!1}function ie(e){if(le(e),ue(e))for(var n=0;n<e.producerNode.length;n++)ae(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 ae(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++)ae(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];le(i),i.producerIndexOfThis[o]=n}}function ue(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 le(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=[])}
|
|
8
|
+
/**
|
|
9
|
+
* @license Angular v20.0.0
|
|
10
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
11
|
+
* License: MIT
|
|
12
|
+
*/
|
|
13
|
+
function se(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 ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function de(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function fe(e,n,t){return fe=xe()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&we(o,t.prototype),o},fe.apply(null,arguments)}function ve(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 he(e,n,t){return n&&ve(e.prototype,n),t&&ve(e,t),e}function pe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ge(e)}function ye(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&&we(e,n)}function me(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function we(e,n){return we=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},we(e,n)}function be(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)||ke(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 Me(e){return function(e){if(Array.isArray(e))return se(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ke(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 De(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ke(e,n){if(e){if("string"==typeof e)return se(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)?se(e,n):void 0}}function _e(e){var n="function"==typeof Map?new Map:void 0;return _e=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 fe(e,arguments,ge(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),we(r,e)},_e(e)}function xe(){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 Ie(e){var n=xe();return function(){var t,r,o,i=ge(e);if(n){var a=ge(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return r=this,!(o=t)||"object"!==De(o)&&"function"!=typeof o?ce(r):o}}var Se="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Te=function(){ye(n,_e(Error));var e=Ie(n);function n(t,r){var o;return de(this,n),pe(ce(o=e.call(this,Ce(t,r))),"code",void 0),o.code=t,o}return n}();function Ce(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 Ee=globalThis;function Oe(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"===("undefined"==typeof ngDevMode?"undefined":De(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"!==De(Ee.ngDevMode)&&(Ee.ngDevMode={}),Object.assign(Ee.ngDevMode,e)):Ee.ngDevMode=!1),"undefined"!=typeof ngDevMode&&!!ngDevMode);var e}function Ne(e){for(var n in e)if(e[n]===Ne)return n;throw Error("undefined"!=typeof ngDevMode&&ngDevMode?"Could not find renamed property on target object.":"")}function Ae(e,n){for(var t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"[".concat(e.map(Re).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 Pe(e,n){return e?n?"".concat(e," ").concat(n):e:n||""}var je=Ne({__forward_ref__:Ne});function Ve(e){return e.__forward_ref__=Ve,e.toString=function(){return Re(this())},e}function Fe(e){return Le(e)?e():e}function Le(e){return"function"==typeof e&&e.hasOwnProperty(je)&&e.__forward_ref__===Ve}function He(e,n){"number"!=typeof e&&Xe(n,void 0===e?"undefined":De(e),"number","===")}function Be(e,n,t){He(e,"Expected a number"),Ge(e,t,"Expected number to be less than or equal to"),Je(e,n,"Expected number to be greater than or equal to")}function Ue(e,n){"string"!=typeof e&&Xe(n,null===e?"null":void 0===e?"undefined":De(e),"string","===")}function ze(e,n){"function"!=typeof e&&Xe(n,null===e?"null":void 0===e?"undefined":De(e),"function","===")}function We(e,n,t){e!=n&&Xe(t,e,n,"==")}function Ze(e,n,t){e==n&&Xe(t,e,n,"!=")}function qe(e,n,t){e!==n&&Xe(t,e,n,"===")}function $e(e,n,t){e===n&&Xe(t,e,n,"!==")}function Ye(e,n,t){e<n||Xe(t,e,n,"<")}function Ge(e,n,t){e<=n||Xe(t,e,n,"<=")}function Qe(e,n,t){e>n||Xe(t,e,n,">")}function Je(e,n,t){e>=n||Xe(t,e,n,">=")}function Ke(e,n){null==e&&Xe(n,e,null,"!=")}function Xe(e,n,t,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(t," ").concat(r," ").concat(n," <=Actual]")))}function en(e){me(e,Node)||Xe("The provided value must be an instance of a DOM Node but got ".concat(Re(e)))}function nn(e,n){Ke(e,"Array must be defined.");var t=e.length;(n<0||n>=t)&&Xe("Index expected to be less than ".concat(t," but got ").concat(n))}function tn(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;Xe("Expected value to be one of ".concat(JSON.stringify(t)," but was ").concat(JSON.stringify(e),"."))}function rn(e){null!==K()&&Xe("".concat(e,"() should never be called in a reactive context."))}function on(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function an(e){return{providers:e.providers||[],imports:e.imports||[]}}function un(e){return function(e,n){return e.hasOwnProperty(n)&&e[n]||null}(e,cn)}function ln(e){return e&&e.hasOwnProperty(dn)?e[dn]:null}var sn,cn=Ne({"ɵprov":Ne}),dn=Ne({"ɵinj":Ne}),fn=function(){function e(n,t){de(this,e),pe(this,"_desc",void 0),pe(this,"ngMetadataName","InjectionToken"),pe(this,"ɵprov",void 0),this._desc=n,this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&Ye(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=on({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return he(e,[{key:"multi",get:function(){return this}},{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}();function vn(){return!ngDevMode&&Xe("getInjectorProfilerContext should never be called in production mode"),sn}function hn(e){!ngDevMode&&Xe("setInjectorProfilerContext should never be called in production mode");var n=sn;return sn=e,n}var pn=[];function gn(e){!ngDevMode&&Xe("Injector profiler should never be called in production mode");for(var n=0;n<pn.length;n++){(0,pn[n])(e)}}function yn(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!ngDevMode&&Xe("Injector profiler should never be called in production mode"),n="function"==typeof e||me(e,fn)?e:Fe(e.provide);var r=e;me(e,fn)&&(r=e.ɵprov||e),gn({type:2,context:vn(),providerRecord:{token:n,provider:r,isViewProvider:t}})}function mn(e){!ngDevMode&&Xe("Injector profiler should never be called in production mode"),gn({type:4,context:vn(),token:e})}function wn(e){!ngDevMode&&Xe("Injector profiler should never be called in production mode"),gn({type:1,context:vn(),instance:{value:e}})}function bn(e,n,t){!ngDevMode&&Xe("Injector profiler should never be called in production mode"),gn({type:0,context:vn(),service:{token:e,value:n,flags:t}})}function Mn(e,n,t){!ngDevMode&&Xe("runInInjectorProfilerContext should never be called in production mode");var r=hn({injector:e,token:n});try{t()}finally{hn(r)}}function Dn(e){return e&&!!e.ɵproviders}var kn,_n=Ne({"ɵcmp":Ne}),xn=Ne({"ɵdir":Ne}),In=Ne({"ɵpipe":Ne}),Sn=Ne({"ɵmod":Ne}),Tn=Ne({"ɵfac":Ne}),Cn=Ne({__NG_ELEMENT_ID__:Ne}),En=Ne({__NG_ENV_ID__:Ne});function On(e){return"string"==typeof e?e:null==e?"":String(e)}function Nn(e){return"function"==typeof e?e.name||e.toString():"object"===(void 0===e?"undefined":De(e))&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():On(e)}function An(e,n){throw new Te(-200,ngDevMode?"Circular dependency in DI detected for ".concat(e).concat(n?". Dependency path: ".concat(n.join(" > ")," > ").concat(e):""):e)}function Rn(){throw new Error("Cannot mix multi providers and regular providers")}function Pn(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(Re(e),"' - only instances of Provider and Type are allowed, got: [").concat(r.join(", "),"]"))}throw Dn(t)?t.ɵfromNgModule?new Te(207,"Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers."):new Te(207,"Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers."):new Error("Invalid provider")}function jn(e,n){var t=ngDevMode&&"No provider for ".concat(Nn(e)," found").concat(n?" in ".concat(n):"");throw new Te(-201,t)}function Vn(){return kn}function Fn(e){var n=kn;return kn=e,n}function Ln(e,n,t){var r=un(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&t?null:void 0!==n?n:void jn(e,"Injector")}var Hn={},Bn="__NG_DI_FLAG__",Un=function(){function e(n){de(this,e),pe(this,"injector",void 0),this.injector=n}return he(e,[{key:"retrieve",value:function(e,n){var t=Qn(n)||0;try{return this.injector.get(e,8&t?null:Hn,t)}catch(e){if(Y(e))return e;throw e}}}]),e}(),zn="ngTempTokenPath",Wn=/\n/gm,Zn="__source";function qn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=W();if(void 0===t)throw new Te(-203,ngDevMode&&"The `".concat(Re(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 Ln(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&&bn(e,o,n),Y(o)){if(r.optional)return null;throw o}return o}function $n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(Vn()||qn)(Fe(e),n)}function Yn(e){throw new Te(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 Gn(e,n){return $n(e,Qn(n))}function Qn(e){return void 0===e||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jn(e){for(var n=[],t=0;t<e.length;t++){var r=Fe(e[t]);if(Array.isArray(r)){if(0===r.length)throw new Te(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=Xn(u);"number"==typeof l?-1===l?o=u.token:i|=l:o=u}n.push($n(o,i))}else n.push($n(r))}return n}function Kn(e,n){return e[Bn]=n,e.prototype[Bn]=n,e}function Xn(e){return e[Bn]}function et(e,n,t,r){var o=e[zn];throw n[Zn]&&o.unshift(n[Zn]),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=Re(n);if(Array.isArray(n))o=n.map(Re).join(" -> ");else if("object"===(void 0===n?"undefined":De(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):Re(u)))}o="{".concat(i.join(", "),"}")}return"".concat(t).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(Wn,"\n "))}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[zn]=null,e}function nt(e,n){var t=e.hasOwnProperty(Tn);if(!t&&!0===n&&ngDevMode)throw new Error("Type ".concat(Re(e)," does not have 'ɵfac' property."));return t?e[Tn]:null}function tt(e){return e.flat(Number.POSITIVE_INFINITY)}function rt(e,n){e.forEach(function(e){return Array.isArray(e)?rt(e,n):n(e)})}function ot(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function it(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function at(e,n){for(var t=[],r=0;r<e;r++)t.push(n);return t}function ut(e,n,t){for(var r=e.length-t;n<r;)e[n]=e[n+t],n++;for(;t--;)e.pop()}function lt(e,n,t,r){ngDevMode&&Ge(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 st(e,n,t){var r=dt(e,n);return r>=0?e[1|r]=t:lt(e,r=~r,n,t),r}function ct(e,n){var t=dt(e,n);if(t>=0)return e[1|t]}function dt(e,n){return function(e,n,t){ngDevMode&&We(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 ft={},vt=[];("undefined"==typeof ngDevMode||ngDevMode)&&Oe()&&(Object.freeze(ft),Object.freeze(vt));var ht=new fn(ngDevMode?"ENVIRONMENT_INITIALIZER":""),pt=new fn(ngDevMode?"INJECTOR":"",-1),gt=new fn(ngDevMode?"INJECTOR_DEF_TYPES":""),yt=function(){function e(){de(this,e)}return he(e,[{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hn;if(n===Hn)throw new $("NullInjectorError: No provider for ".concat(Re(e),"!"));return n}}]),e}();function mt(e){return e[Sn]||null}function wt(e){var n=mt(e);if(!n)throw new Te(915,("undefined"==typeof ngDevMode||ngDevMode)&&"Type ".concat(Re(e)," does not have 'ɵmod' property."));return n}function bt(e){return e[_n]||null}function Mt(e){var n=Dt(e);if(!n)throw new Te(916,("undefined"==typeof ngDevMode||ngDevMode)&&"Type ".concat(Re(e)," does not have 'ɵdir' property."));return n}function Dt(e){return e[xn]||null}function kt(e){return e[In]||null}function _t(e){var n=bt(e)||Dt(e)||kt(e);return null!==n&&n.standalone}function xt(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return{"ɵproviders":It(!0,n),"ɵfromNgModule":!0}}function It(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 rt(t,function(n){if(("undefined"==typeof ngDevMode||ngDevMode)&&e){var t=bt(n);if(null==t?void 0:t.standalone)throw new Te(800,'Importing providers supports NgModule or ModuleWithProviders but got a standalone component "'.concat(Nn(n),'"'))}var r=n;Tt(r,u,[],a)&&(o||(o=[]),o.push(r))}),void 0!==o&&St(o,u),i}function St(e,n){for(var t=function(t){var r=e[t],o=r.ngModule,i=r.providers;Et(i,function(e){ngDevMode&&Ct(e,i||vt,o),n(e,o)})},r=0;r<e.length;r++)t(r)}function Tt(e,n,t,r){if(!(e=Fe(e)))return!1;var o=null,i=ln(e),a=!i&&bt(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{var u=e.ngModule;if(!(i=ln(u)))return!1;o=u}ngDevMode&&-1!==t.indexOf(o)&&An(Re(o),t.map(Re));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){Tt(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{rt(i.imports,function(e){Tt(e,n,t,r)&&(p||(p=[]),p.push(e))})}finally{ngDevMode&&t.pop()}void 0!==p&&St(p,n)}if(!l){var g=nt(o)||function(){return new o};n({provide:o,useFactory:g,deps:vt},o),n({provide:gt,useValue:o,multi:!0},o),n({provide:ht,useValue:function(){return $n(o)},multi:!0},o)}var y=i.providers;if(null!=y&&!l){var m=e;Et(y,function(e){ngDevMode&&Ct(e,y,m),n(e,m)})}}return o!==e&&void 0!==e.providers}function Ct(e,n,t){Pt(e)||Nt(e)||Rt(e)||At(e)||(Fe(e&&(e.useClass||e.provide))||Pn(t,n,e))}function Et(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;Dn(u)&&(u=u.ɵproviders),Array.isArray(u)?Et(u,n):n(u)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}var Ot=Ne({provide:String,useValue:Ne});function Nt(e){return null!==e&&"object"==(void 0===e?"undefined":De(e))&&Ot in e}function At(e){return!(!e||!e.useExisting)}function Rt(e){return!(!e||!e.useFactory)}function Pt(e){return"function"==typeof e}var jt=new fn(ngDevMode?"Set Injector scope.":""),Vt={},Ft={},Lt=void 0;function Ht(){return void 0===Lt&&(Lt=new yt),Lt}var Bt=function e(){de(this,e)},Ut=function(){ye(n,Bt);var e=Ie(n);function n(t,r,o,i){var a;de(this,n),pe(ce(a=e.call(this)),"parent",void 0),pe(ce(a),"source",void 0),pe(ce(a),"scopes",void 0),pe(ce(a),"records",new Map),pe(ce(a),"_ngOnDestroyHooks",new Set),pe(ce(a),"_onDestroyHooks",[]),pe(ce(a),"_destroyed",!1),pe(ce(a),"injectorDefTypes",void 0),a.parent=r,a.source=o,a.scopes=i,$t(t,function(e){return a.processProvider(e)}),a.records.set(pt,qt(void 0,ce(a))),i.has("environment")&&a.records.set(Bt,qt(void 0,ce(a)));var u=a.records.get(jt);return null!=u&&"string"==typeof u.value&&a.scopes.add(u.value),a.injectorDefTypes=new Set(a.get(gt,vt,{self:!0})),a}return he(n,[{key:"destroyed",get:function(){return this._destroyed}},{key:"retrieve",value:function(e,n){var t=Qn(n)||0;try{return this.get(e,Hn,t)}catch(e){if(Y(e))return e;throw e}}},{key:"destroy",value:function(){Zt(this),this._destroyed=!0;var e=J(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(),J(e)}}},{key:"onDestroy",value:function(e){var n=this;return Zt(this),this._onDestroyHooks.push(e),function(){return n.removeOnDestroy(e)}}},{key:"runInContext",value:function(e){Zt(this);var n,t=Z(this),r=Fn(void 0);ngDevMode&&(n=hn({injector:this,token:null}));try{return e()}finally{Z(t),Fn(r),ngDevMode&&hn(n)}}},{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hn,t=arguments.length>2?arguments[2]:void 0;if(Zt(this),e.hasOwnProperty(En))return e[En](this);var r,o=Qn(t);ngDevMode&&(r=hn({injector:this,token:e}));var i,a=Z(this),u=Fn(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":De(i))&&"InjectionToken"===i.ngMetadataName)&&un(e);s&&this.injectableDefInScope(s)?(ngDevMode&&Mn(this,e,function(){yn(e)}),l=qt(zt(e),Vt)):l=null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}var c=2&o?Ht():this.parent;return n=8&o&&n===Hn?null:n,c.get(e,n)}catch(n){if(Y(n)){if((n[zn]=n[zn]||[]).unshift(Re(e)),a)throw n;return et(n,e,"R3InjectorError",this.source)}throw n}finally{Fn(u),Z(a),ngDevMode&&hn(r)}}},{key:"resolveInjectorInitializers",value:function(){var e,n=J(null),t=Z(this),r=Fn(void 0);ngDevMode&&(e=hn({injector:this,token:null}));try{var o=this.get(ht,vt,{self:!0});if(ngDevMode&&!Array.isArray(o))throw new Te(-209,"Unexpected type of the `ENVIRONMENT_INITIALIZER` token value "+"(expected an array, but got ".concat(void 0===o?"undefined":De(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{Z(t),Fn(r),ngDevMode&&hn(e),J(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(Re(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=Pt(e=Fe(e))?e:Fe(e&&e.provide),t=function(e){return Nt(e)?qt(void 0,e.useValue):qt(Wt(e),Vt)}(e);if(ngDevMode&&Mn(this,n,function(){Nt(e)&&(mn(n),wn(e.useValue)),yn(e)}),Pt(e)||!0!==e.multi){if(ngDevMode){var r=this.records.get(n);r&&void 0!==r.multi&&Rn()}}else{var o=this.records.get(n);o?ngDevMode&&void 0===o.multi&&Rn():((o=qt(void 0,Vt,!0)).factory=function(){return Jn(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=J(null);try{return n.value===Ft?An(Re(e)):n.value===Vt&&(n.value=Ft,ngDevMode?Mn(this,e,function(){mn(e),n.value=n.factory(),wn(n.value)}):n.value=n.factory()),"object"===De(n.value)&&n.value&&(null!==(t=n.value)&&"object"===(void 0===t?"undefined":De(t))&&"function"==typeof t.ngOnDestroy)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{J(r)}}},{key:"injectableDefInScope",value:function(e){if(!e.providedIn)return!1;var n=Fe(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 zt(e){var n=un(e),t=null!==n?n.factory:nt(e);if(null!==t)return t;if(me(e,fn))throw new Te(204,ngDevMode&&"Token ".concat(Re(e)," is missing a ɵprov definition."));if(me(e,Function))return function(e){var n=e.length;if(n>0)throw new Te(204,ngDevMode&&"Can't resolve all parameters for ".concat(Re(e),": (").concat(at(n,"?").join(", "),")."));var t=(r=e,i=null!==(o=null==r?void 0:r[cn])&&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 Te(204,ngDevMode&&"unreachable")}function Wt(e,n,t){var r=void 0;if(ngDevMode&&Dn(e)&&Pn(void 0,t,e),Pt(e)){var o=Fe(e);return nt(o)||zt(o)}if(Nt(e))r=function(){return Fe(e.useValue)};else if(Rt(e)){var i;r=function(){return(i=e).useFactory.apply(i,Me(Jn(e.deps||[])))}}else if(At(e))r=function(){return $n(Fe(e.useExisting))};else{var a=Fe(e&&(e.useClass||e.provide));if(ngDevMode&&!a&&Pn(n,t,e),!e.deps)return nt(a)||zt(a);r=function(){return fe(a,Me(Jn(e.deps)))}}return r}function Zt(e){if(e.destroyed)throw new Te(205,ngDevMode&&"Injector has already been destroyed.")}function qt(e,n){return{factory:e,value:n,multi:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?[]:void 0}}function $t(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)?$t(u,n):u&&Dn(u)?$t(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 Yt(e,n){var t,r;me(e,Ut)?(Zt(e),t=e):t=new Un(e),ngDevMode&&(r=hn({injector:e,token:null}));var o=Z(t),i=Fn(void 0);try{return n()}finally{Z(o),ngDevMode&&hn(r),Fn(i)}}function Gt(){return void 0!==Vn()||null!=W()}function Qt(e){if(!Gt())throw new Te(-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 Jt=18,Kt=19,Xt=23,er=25,nr=26,tr=10;function rr(e){return Array.isArray(e)&&"object"===De(e[1])}function or(e){return Array.isArray(e)&&!0===e[1]}function ir(e){return!!(4&e.flags)}function ar(e){return e.componentOffset>-1}function ur(e){return!(1&~e.flags)}function lr(e){return!!e.template}function sr(e){return!!(512&e[2])}function cr(e){return!(256&~e[2])}function dr(e,n){fr(e,n[1])}function fr(e,n){vr(e);for(var t=n.data,r=nr;r<t.length;r++)if(t[r]===e)return;Xe("This TNode does not belong to this TView.")}function vr(e){Ke(e,"TNode must be defined"),e&&"object"===(void 0===e?"undefined":De(e))&&e.hasOwnProperty("directiveStylingLast")||Xe("Not of type TNode, got: "+e)}function hr(e){Ke(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&Xe("Object is not of TIcu type.")}function pr(e){Ke(e,"currentTNode should exist!"),Ke(e.parent,"currentTNode should have a parent")}function gr(e){Ke(e,"LContainer must be defined"),We(or(e),!0,"Expecting LContainer")}function yr(e){e&&We(rr(e),!0,"Expecting LView or undefined or null")}function mr(e){Ke(e,"LView must be defined"),We(rr(e),!0,"Expecting LView")}function wr(e,n){We(e.firstCreatePass,!0,n||"Should only be called in first create pass.")}function br(e,n){We(e.firstUpdatePass,!0,"Should only be called in first update pass.")}function Mr(e,n){kr(nr,e.bindingStartIndex,n)}function Dr(e,n){kr(e[1].expandoStartIndex,e.length,n)}function kr(e,n,t){e<=t&&t<n||Xe("Index out of range (expecting ".concat(e," <= ").concat(t," < ").concat(n,")"))}function _r(e,n){Ke(e,"Component views should always have a parent view (component's host view)")}function xr(e,n){Dr(e,n),Dr(e,n+8),He(e[n+0],"injectorIndex should point to a bloom filter"),He(e[n+1],"injectorIndex should point to a bloom filter"),He(e[n+2],"injectorIndex should point to a bloom filter"),He(e[n+3],"injectorIndex should point to a bloom filter"),He(e[n+4],"injectorIndex should point to a bloom filter"),He(e[n+5],"injectorIndex should point to a bloom filter"),He(e[n+6],"injectorIndex should point to a bloom filter"),He(e[n+7],"injectorIndex should point to a bloom filter"),He(e[n+8],"injectorIndex should point to parent injector")}var Ir="math";function Sr(e){for(;Array.isArray(e);)e=e[0];return e}function Tr(e,n){return ngDevMode&&nn(n,e),ngDevMode&&Je(e,nr,"Expected to be past HEADER_OFFSET"),Sr(n[e])}function Cr(e,n){return ngDevMode&&dr(e,n),ngDevMode&&nn(n,e.index),Sr(n[e.index])}function Er(e,n){ngDevMode&&Qe(n,-1,"wrong index for TNode"),ngDevMode&&Ye(n,e.data.length,"wrong index for TNode");var t=e.data[n];return ngDevMode&&null!==t&&vr(t),t}function Or(e,n){return ngDevMode&&nn(e,n),e[n]}function Nr(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ar(e,n){ngDevMode&&nn(n,e);var t=n[e];return rr(t)?t:t[0]}function Rr(e){return!(4&~e[2])}function Pr(e){return!(128&~e[2])}function jr(e,n){return null==n?null:(ngDevMode&&nn(e,n),e[n])}function Vr(e){e[17]=0}function Fr(e){1024&e[2]||(e[2]|=1024,Pr(e)&&Ur(e))}function Lr(e,n){for(;e>0;)ngDevMode&&Ke(n[14],"Declaration view should be defined if nesting level is greater than 0."),n=n[14],e--;return n}function Hr(e){var n;return!!(9216&e[2]||(null===(n=e[24])||void 0===n?void 0:n.dirty))}function Br(e){var n;null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(8),64&e[2]&&(e[2]|=1024),Hr(e)&&Ur(e)}function Ur(e){var n;null===(n=e[10].changeDetectionScheduler)||void 0===n||n.notify(0);for(var t=Zr(e);null!==t&&!(8192&t[2])&&(t[2]|=8192,Pr(t));)t=Zr(t)}function zr(e,n){if(cr(e))throw new Te(911,ngDevMode&&"View has already been destroyed.");null===e[21]&&(e[21]=[]),e[21].push(n)}function Wr(e,n){if(null!==e[21]){var t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}}function Zr(e){ngDevMode&&mr(e);var n=e[3];return or(n)?n[3]:n}function qr(e){var n,t;return null!==(t=(n=e)[7])&&void 0!==t?t:n[7]=[]}function $r(e){var n,t;return null!==(t=(n=e).cleanup)&&void 0!==t?t:n.cleanup=[]}var Yr,Gr={lFrame:Ro(null),bindingsEnabled:!0,skipHydrationRootTNode:null};!function(e){e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews"}(Yr||(Yr={}));var Qr=0,Jr=!1;function Kr(){return Gr.bindingsEnabled}function Xr(){return null!==Gr.skipHydrationRootTNode}function eo(){Gr.bindingsEnabled=!0}function no(){Gr.bindingsEnabled=!1}function to(){return Gr.lFrame.lView}function ro(){return Gr.lFrame.tView}function oo(e){return Gr.lFrame.contextLView=e,e[8]}function io(e){return Gr.lFrame.contextLView=null,e}function ao(){for(var e=uo();null!==e&&64===e.type;)e=e.parent;return e}function uo(){return Gr.lFrame.currentTNode}function lo(){var e=Gr.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function so(e,n){ngDevMode&&e&&fr(e,Gr.lFrame.tView);var t=Gr.lFrame;t.currentTNode=e,t.isParent=n}function co(){return Gr.lFrame.isParent}function fo(){Gr.lFrame.isParent=!1}function vo(){var e=Gr.lFrame.contextLView;return ngDevMode&&Ke(e,"contextLView must be defined."),e}function ho(){return!ngDevMode&&Xe("Must never be called in production mode"),Qr!==Yr.Off}function po(){return!ngDevMode&&Xe("Must never be called in production mode"),Qr===Yr.Exhaustive}function go(e){!ngDevMode&&Xe("Must never be called in production mode"),Qr=e}function yo(){return Jr}function mo(e){var n=Jr;return Jr=e,n}function wo(){var e=Gr.lFrame,n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function bo(){return Gr.lFrame.bindingIndex}function Mo(e){return Gr.lFrame.bindingIndex=e}function Do(){return Gr.lFrame.bindingIndex++}function ko(e){var n=Gr.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function _o(e){Gr.lFrame.inI18n=e}function xo(e,n){var t=Gr.lFrame;t.bindingIndex=t.bindingRootIndex=e,Io(n)}function Io(e){Gr.lFrame.currentDirectiveIndex=e}function So(e){var n=Gr.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function To(){return Gr.lFrame.currentQueryIndex}function Co(e){Gr.lFrame.currentQueryIndex=e}function Eo(e){var n=e[1];return 2===n.type?(ngDevMode&&Ke(n.declTNode,"Embedded TNodes should have declaration parents."),n.declTNode):1===n.type?e[5]:null}function Oo(e,n,t){if(ngDevMode&&yr(e),4&t){ngDevMode&&fr(n,e[1]);for(var r=n,o=e;!(ngDevMode&&Ke(r,"Parent TNode should be defined"),null!==(r=r.parent)||1&t||null===(r=Eo(o))||(ngDevMode&&Ke(o,"Parent LView should be defined"),o=o[14],10&r.type)););if(null===r)return!1;n=r,e=o}ngDevMode&&dr(n,e);var i=Gr.lFrame=Ao();return i.currentTNode=n,i.lView=e,!0}function No(e){ngDevMode&&Ze(e[0],e[1],"????"),ngDevMode&&yr(e);var n=Ao();ngDevMode&&(We(n.isParent,!0,"Expected clean LFrame"),We(n.lView,null,"Expected clean LFrame"),We(n.tView,null,"Expected clean LFrame"),We(n.selectedIndex,-1,"Expected clean LFrame"),We(n.elementDepthCount,0,"Expected clean LFrame"),We(n.currentDirectiveIndex,-1,"Expected clean LFrame"),We(n.currentNamespace,null,"Expected clean LFrame"),We(n.bindingRootIndex,-1,"Expected clean LFrame"),We(n.currentQueryIndex,0,"Expected clean LFrame"));var t=e[1];Gr.lFrame=n,ngDevMode&&t.firstChild&&fr(t.firstChild,t),n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Ao(){var e=Gr.lFrame,n=null===e?null:e.child;return null===n?Ro(e):n}function Ro(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 Po(){var e=Gr.lFrame;return Gr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var jo=Po;function Vo(){var e=Po();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 Fo(){return Gr.lFrame.selectedIndex}function Lo(e){ngDevMode&&-1!==e&&Je(e,nr,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&Ye(e,Gr.lFrame.lView.length,"Can't set index passed end of LView"),Gr.lFrame.selectedIndex=e}function Ho(){var e=Gr.lFrame;return Er(e.tView,e.selectedIndex)}function Bo(){Gr.lFrame.currentNamespace="svg"}function Uo(){Gr.lFrame.currentNamespace=Ir}function zo(){Gr.lFrame.currentNamespace=null}var Wo=!0;function Zo(){return Wo}function qo(e){Wo=e}function $o(e){var n=Yo(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 Yo(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||vt,xt(e)];return r=r||("object"===(void 0===e?"undefined":De(e))?void 0:Re(e)),new Ut(i,n||Ht(),r||null,o)}var Go=function(){function e(){de(this,e)}return he(e,null,[{key:"create",value:function(e,n){if(Array.isArray(e))return $o({name:""},n,e,"");var t,r=null!==(t=e.name)&&void 0!==t?t:"";return $o({name:r},e.parent,e.providers,r)}}]),e}();pe(Go,"THROW_IF_NOT_FOUND",Hn),pe(Go,"NULL",new yt),pe(Go,"ɵprov",on({token:Go,providedIn:"any",factory:function(){return $n(pt)}})),pe(Go,"__NG_ELEMENT_ID__",-1);var Qo=new fn(ngDevMode?"DocumentToken":""),Jo=function e(){de(this,e)};pe(Jo,"__NG_ELEMENT_ID__",function(){return new Ko(to())}),pe(Jo,"__NG_ENV_ID__",function(e){return e});var Ko=function(e){ye(t,e);var n=Ie(t);function t(e){var r;return de(this,t),pe(ce(r=n.call(this)),"_lView",void 0),r._lView=e,r}return he(t,[{key:"onDestroy",value:function(e){var n=this._lView;return zr(n,e),function(){return Wr(n,e)}}}]),t}(Jo);var Xo=function(){function e(){de(this,e),pe(this,"_console",console)}return he(e,[{key:"handleError",value:function(e){this._console.error("ERROR",e)}}]),e}(),ei=new fn("undefined"==typeof ngDevMode||ngDevMode?"internal error handler":"",{providedIn:"root",factory:function(){var e,n=Gn(Bt);return function(t){null!=e||(e=n.get(Xo)),e.handleError(t)}}}),ni={provide:ht,useValue:function(){Gn(Xo)},multi:!0};function ti(e){return"function"==typeof e&&void 0!==e[Q]}function ri(e){return ti(e)&&"function"==typeof e.set}new fn(ngDevMode?"GlobalErrorListeners":"",{providedIn:"root",factory:function(){if("undefined"==typeof ngServerMode||!ngServerMode){var e=Gn(Qo).defaultView;if(e){var n=Gn(ei),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(),Gn(Jo).onDestroy(function(){e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}}}});var oi=function e(){de(this,e)},ii=new fn("undefined"==typeof ngDevMode||ngDevMode?"Zoneless enabled":"",{providedIn:"root",factory:function(){return!1}}),ai=new fn("undefined"==typeof ngDevMode||ngDevMode?"Zoneless provided":"",{providedIn:"root",factory:function(){return!1}}),ui=new fn("undefined"==typeof ngDevMode||ngDevMode?"scheduler disabled":""),li=new fn("undefined"==typeof ngDevMode||ngDevMode?"run changes outside zone in root":"");function si(e,n){if(null!==K())throw new Te(-602,ngDevMode&&"".concat(e.name,"() cannot be called from within a reactive context.").concat(n?" ".concat(n):""))}var ci=function e(n,t){de(this,e),pe(this,"view",void 0),pe(this,"node",void 0),this.view=n,this.node=t};pe(ci,"__NG_ELEMENT_ID__",function(){return new ci(to(),ao())});var di=function(){function e(){de(this,e),pe(this,"taskId",0),pe(this,"pendingTasks",new Set),pe(this,"destroyed",!1),pe(this,"pendingTask",new n.BehaviorSubject(!1))}return he(e,[{key:"hasPendingTasks",get:function(){return!this.destroyed&&this.pendingTask.value}},{key:"hasPendingTasksObservable",get:function(){return this.destroyed?new n.Observable(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}();pe(di,"ɵprov",on({token:di,providedIn:"root",factory:function(){return new di}}));var fi=function(){function e(){de(this,e),pe(this,"internalPendingTasks",Gn(di)),pe(this,"scheduler",Gn(oi)),pe(this,"errorHandler",Gn(ei))}return he(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 vi(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t]}pe(fi,"ɵprov",on({token:fi,providedIn:"root",factory:function(){return new fi}}));var hi=function e(){de(this,e)};pe(hi,"ɵprov",on({token:hi,providedIn:"root",factory:function(){return new gi}}));var pi,gi=function(){function e(){de(this,e),pe(this,"dirtyEffectCount",0),pe(this,"queues",new Map)}return he(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=be(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}(),yi="jsaction";
|
|
14
|
+
/**
|
|
15
|
+
* @license Angular v20.0.0
|
|
16
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
17
|
+
* License: MIT
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @license Angular v20.0.0
|
|
21
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
22
|
+
* License: MIT
|
|
23
|
+
*/
|
|
24
|
+
function mi(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 wi(e){if(Array.isArray(e))return e}function bi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mi(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 Di(e){return function(){var n=this,t=arguments;return new Promise(function(r,o){var i=e.apply(n,t);function a(e){Mi(i,r,o,a,u,"next",e)}function u(e){Mi(i,r,o,a,u,"throw",e)}a(void 0)})}}function ki(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _i(e,n,t){return _i=Bi()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&ji(o,t.prototype),o},_i.apply(null,arguments)}function xi(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 Ii(e,n,t){return n&&xi(e.prototype,n),t&&xi(e,t),e}function Si(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ti(e,n,t){return Ti="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=Ci(e)););return e}(e,n);if(r){var o=Object.getOwnPropertyDescriptor(r,n);return o.get?o.get.call(t||e):o.value}},Ti(e,n,t||e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ci(e)}function Ei(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&&ji(e,n)}function Oi(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function Ni(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ai(){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 Ri(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){Si(e,n,t[n])})}return e}function Pi(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 ji(e,n){return ji=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},ji(e,n)}function Vi(e,n){return wi(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)||Hi(e,n)||Ai()}function Fi(e){return function(e){if(Array.isArray(e))return mi(e)}(e)||Ni(e)||Hi(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 Li(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Hi(e,n){if(e){if("string"==typeof e)return mi(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)?mi(e,n):void 0}}function Bi(){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 Ui(e){var n=Bi();return function(){var t,r,o,i=Ci(e);if(n){var a=Ci(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return r=this,!(o=t)||"object"!==Li(o)&&"function"!=typeof o?bi(r):o}}function zi(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 Wi(e){return{toString:e}.toString()}var Zi="__annotations__",qi="__parameters__",$i="__prop__metadata__";function Yi(e,n,t,r,o){return Wi(function(){var r=Gi(n);function i(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var a;if(Oi(this,i))return(a=r).call.apply(a,[this].concat(Fi(n))),this;var u=_i(i,Fi(n));return function(e){return o&&o.apply(void 0,[e].concat(Fi(n))),(e.hasOwnProperty(Zi)?e[Zi]:Object.defineProperty(e,Zi,{value:[]})[Zi]).push(u),e}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Gi(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,Fi(t));for(var i in o)this[i]=o[i]}}}function Qi(e,n,t){return Wi(function(){var t=Gi(n);function r(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(Oi(this,r))return t.apply(this,n),this;var i=_i(r,Fi(n));return a.annotation=i,a;function a(e,n,t){for(var r=e.hasOwnProperty(qi)?e[qi]:Object.defineProperty(e,qi,{value:[]})[qi];r.length<=t;)r.push(null);return(r[t]=r[t]||[]).push(i),e}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Ji(e,n,t,r){return Wi(function(){var r=Gi(n);function o(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];if(Oi(this,o))return r.apply(this,n),this;var i=_i(o,Fi(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($i)?t[$i]:Object.defineProperty(t,$i,{value:{}})[$i];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 Ki=Kn(Qi("Inject",function(e){return{token:e}}),-1),Xi=Kn(Qi("Optional"),8),ea=Kn(Qi("Self"),2),na=Kn(Qi("SkipSelf"),4),ta=Kn(Qi("Host"),1);function ra(e){var n=Ee.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 oa={"ɵɵdefineInjectable":on,"ɵɵdefineInjector":an,"ɵɵinject":$n,"ɵɵinvalidFactoryDep":Yn,resolveForwardRef:Fe},ia=Function;function aa(e){return"function"==typeof e}var ua=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,la=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,sa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ca=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;var da=function(){function e(n){ki(this,e),Si(this,"_reflect",void 0),this._reflect=n||Ee.Reflect}return Ii(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 _i(e,Fi(t))}}},{key:"_zipTypesAndAnnotations",value:function(e,n){var t;t=at(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 ua.test(e)||ca.test(e)||la.test(e)&&!sa.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&&fa(e.decorators)});return this._zipTypesAndAnnotations(o,i)}var a=e.hasOwnProperty(qi)&&e[qi],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||a?this._zipTypesAndAnnotations(u,a):at(e.length)}},{key:"parameters",value:function(e){if(!aa(e))return[];var n=va(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?fa(e.decorators):e.hasOwnProperty(Zi)?e[Zi]:null}},{key:"annotations",value:function(e){if(!aa(e))return[];var n=va(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]=fa(r[e])}),o}return e.hasOwnProperty($i)?e[$i]:null}},{key:"propMetadata",value:function(e){if(!aa(e))return{};var n=va(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,Fi(t[e]));(n=i).push.apply(n,Fi(o[e])),t[e]=i}),t}},{key:"ownPropMetadata",value:function(e){return aa(e)&&this._ownPropMetadata(e,va(e))||{}}},{key:"hasLifecycleHook",value:function(e,n){return Oi(e,ia)&&n in e.prototype}}]),e}();function fa(e){return e?e.map(function(e){return _i(e.type.annotationCls,Fi(e.args?e.args:[]))}):[]}function va(e){var n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}var ha=function(){function e(n,t,r){ki(this,e),Si(this,"previousValue",void 0),Si(this,"currentValue",void 0),Si(this,"firstChange",void 0),this.previousValue=n,this.currentValue=t,this.firstChange=r}return Ii(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function pa(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}var ga=function(){var e=function(){return ya};return e.ngInherit=!0,e}();function ya(e){return e.type.prototype.ngOnChanges&&(e.setInput=wa),ma}function ma(){var e=Ma(this),n=null==e?void 0:e.current;if(n){var t=e.previous;if(t===ft)e.previous=n;else for(var r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function wa(e,n,t,r,o){var i=this.declaredInputs[r];ngDevMode&&Ue(i,"Name of input in ngOnChanges has to be a string");var a=Ma(e)||function(e,n){return e[ba]=n}(e,{previous:ft,current:null}),u=a.current||(a.current={}),l=a.previous,s=l[i];u[i]=new ha(s&&s.currentValue,t,l===ft),pa(e,n,o,t)}var ba="__ngSimpleChanges__";function Ma(e){return e[ba]||null}var Da=[];var ka=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<Da.length;r++){(0,Da[r])(e,n,t)}};function _a(e,n){ngDevMode&&wr(e);for(var t=n.directiveStart,r=n.directiveEnd;t<r;t++){var o=e.data[t];ngDevMode&&Ke(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 xa(e,n,t){Ta(e,n,3,t)}function Ia(e,n,t,r){ngDevMode&&Ze(t,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===t&&Ta(e,n,t,r)}function Sa(e,n){ngDevMode&&Ze(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 Ta(e,n,t,r){ngDevMode&&We(ho(),!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)&&(Ea(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}}function Ca(e,n){ka(4,e,n);var t=J(null);try{n.call(e)}finally{J(t),ka(5,e,n)}}function Ea(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,Ca(a,i)):Ca(a,i)}var Oa=-1,Na=function e(n,t,r){ki(this,e),Si(this,"factory",void 0),Si(this,"injectImpl",void 0),Si(this,"resolving",!1),Si(this,"canSeeViewProviders",void 0),Si(this,"multi",void 0),Si(this,"componentProviders",void 0),Si(this,"index",void 0),Si(this,"providerFactory",void 0),this.factory=n,ngDevMode&&Ke(n,"Factory not specified"),ngDevMode&&We(void 0===n?"undefined":Li(n),"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=r};function Aa(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 Ra(e){return null!=e&&"object"===(void 0===e?"undefined":Li(e))&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Pa(e,n,t){Ke(e,"should be called with a TNode"),0===(e.type&n)&&Xe(t||"Expected [".concat(Aa(n),"] but got ").concat(Aa(e.type),"."))}function ja(e){return 3===e||4===e||6===e}function Va(e){return 64===e.charCodeAt(0)}function Fa(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||La(e,t,o,null,-1===t||2===t?n[++r]:null)}return e}function La(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 Ha(e){return e!==Oa}function Ba(e){ngDevMode&&(He(e,"Number expected"),Ze(e,-1,"Not a valid state."),Qe(32767&e,nr,"Parent injector must be pointing past HEADER_OFFSET."));return 32767&e}function Ua(e,n){for(var t=e>>16,r=n;t>0;)r=r[14],t--;return r}var za=!0;function Wa(e){var n=za;return za=e,n}var Za=0,qa={};function $a(e,n){var t=Ga(e,n);if(-1!==t)return t;var r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,Ya(r.data,e),Ya(n,null),Ya(r.blueprint,null));var o=Qa(e,n),i=e.injectorIndex;if(Ha(o))for(var a=Ba(o),u=Ua(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 Ya(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Ga(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:(ngDevMode&&nn(n,e.injectorIndex),e.injectorIndex)}function Qa(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=du(o)))return Oa;if(ngDevMode&&r&&dr(r,o[14]),t++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Oa}function Ja(e,n,t){!function(e,n,t){var r;ngDevMode&&We(n.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Cn)&&(r=t[Cn]),null==r&&(r=t[Cn]=Za++);var o=255&r,i=1<<o;n.data[e+(o>>5)]|=i}(e,n,t)}function Ka(e,n,t){if(8&t||void 0!==e)return e;jn(n,"NodeInjector")}function Xa(e,n,t,r){if(8&t&&void 0===r&&(r=null),!(3&t)){var o=e[9],i=Fn(void 0);try{return o?o.get(n,r,8&t):Ln(n,r,8&t)}finally{Fn(i)}}return Ka(r,n,t)}function eu(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]&&!sr(a);){ngDevMode&&dr(i,a);var u=nu(i,a,t,2|r,qa);if(u!==qa)return u;var l=i.parent;if(!l){var s=a[20];if(s){var c=s.get(t,qa,r);if(c!==qa)return c}l=du(a),a=a[14]}i=l}return o}(e,n,t,r,qa);if(i!==qa)return i}var a=nu(e,n,t,r,qa);if(a!==qa)return a}return Xa(n,t,r,o)}function nu(e,n,t,r,o){var i=function(e){if(ngDevMode&&Ke(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;var n=e.hasOwnProperty(Cn)?e[Cn]:void 0;return"number"==typeof n?n>=0?255&n:(ngDevMode&&We(n,-1,"Expecting to get Special Injector Id"),lu):n}(t);if("function"==typeof i){if(!Oo(n,e,r))return 1&r?Ka(o,t,r):Xa(n,t,r,o);try{var a;if(ngDevMode?Mn(new uu(ao(),to()),t,function(){mn(t),wn(a=i(r))}):a=i(r),null!=a||8&r)return a;jn(t)}finally{jo()}}else if("number"==typeof i){var u=null,l=Ga(e,n),s=Oa,c=1&r?n[15][5]:null;for((-1===l||4&r)&&((s=-1===l?Qa(e,n):n[l+8])!==Oa&&au(r,!1)?(u=n[1],l=Ba(s),n=Ua(s,n)):l=-1);-1!==l;){ngDevMode&&xr(n,l);var d=n[1];if(ngDevMode&&dr(d.data[l+8],n),iu(i,l,d.data)){var f=tu(l,n,t,u,r,c);if(f!==qa)return f}(s=n[l+8])!==Oa&&au(r,n[1].data[l+8]===c)&&iu(i,l,n)?(u=d,l=Ba(s),n=Ua(s,n)):l=-1}}return o}function tu(e,n,t,r,o,i){var a=n[1],u=a.data[e+8],l=ru(u,a,t,null==r?ar(u)&&za:r!=a&&!!(3&u.type),1&o&&i===u);return null!==l?ou(n,a,l,u):qa}function ru(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&&lr(h)&&h.type===t)return l}return null}function ou(e,n,t,r){var o,i=e[t],a=n.data;if(Oi(i,Na)){var u=i;u.resolving&&An(Nn(a[t]));var l=Wa(u.canSeeViewProviders);u.resolving=!0;var s,c=a[t].type||a[t];if(ngDevMode)s=hn({injector:new uu(r,e),token:c});var d=u.injectImpl?Fn(u.injectImpl):null,f=Oo(e,r,0);ngDevMode&&We(f,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{ngDevMode&&mn(c),i=e[t]=u.factory(void 0,a,e,r),ngDevMode&&wn(i),n.firstCreatePass&&t>=r.directiveStart&&(ngDevMode&&(void 0!==(o=a[t]).type&&null!=o.selectors&&void 0!==o.inputs||Xe("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")),function(e,n,t){ngDevMode&&wr(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=ya(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&&hn(s),null!==d&&Fn(d),Wa(l),u.resolving=!1,jo()}}return i}function iu(e,n,t){var r=1<<e;return!!(t[n+(e>>5)]&r)}function au(e,n){return!(2&e||1&e&&n)}var uu=function(){function e(n,t){ki(this,e),Si(this,"_tNode",void 0),Si(this,"_lView",void 0),this._tNode=n,this._lView=t}return Ii(e,[{key:"get",value:function(e,n,t){return eu(this._tNode,this._lView,e,Qn(t),n)}}]),e}();function lu(){return new uu(ao(),to())}function su(e){return Wi(function(){for(var n=e.prototype.constructor,t=n[Tn]||cu(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;o&&o!==r;){var i=o[Tn]||cu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return function(e){return new e}})}function cu(e){return Le(e)?function(){var n=cu(Fe(e));return n&&n()}:nt(e)}function du(e){var n=e[1],t=n.type;return 2===t?(ngDevMode&&Ke(n.declTNode,"Embedded TNodes should have declaration parents."),n.declTNode):1===t?e[5]:null}function fu(e){return function(e,n){if(ngDevMode&&Pa(e,15),ngDevMode&&Ke(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(ja(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}(ao(),e)}var vu=Qi("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return fu(e)}}}),hu=null;function pu(){return hu=hu||new da}function gu(e){return yu(pu().parameters(e))}function yu(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(Oi(r,Xi)||"Optional"===o.ngMetadataName)n.optional=!0;else if(Oi(r,na)||"SkipSelf"===o.ngMetadataName)n.skipSelf=!0;else if(Oi(r,ea)||"Self"===o.ngMetadataName)n.self=!0;else if(Oi(r,ta)||"Host"===o.ngMetadataName)n.host=!0;else if(Oi(r,Ki))n.token=r.token;else if(Oi(r,vu)){if(void 0===r.attributeName)throw new Te(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 mu(e,n){var t=null,r=null;e.hasOwnProperty(cn)||Object.defineProperty(e,cn,{get:function(){if(null===t){var r=ra({usage:0,kind:"injectable",type:e});t=r.compileInjectable(oa,"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};(bu(t)||Mu(t))&&void 0!==t.deps&&(r.deps=yu(t.deps));bu(t)?r.useClass=t.useClass:!function(e){return wu in e}(t)?Mu(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(Tn)||Object.defineProperty(e,Tn,{get:function(){if(null===r){var n=ra({usage:0,kind:"injectable",type:e});r=n.compileFactory(oa,"ng:///".concat(e.name,"/ɵfac.js"),{name:e.name,type:e,typeArgumentCount:0,deps:gu(e),target:n.FactoryTarget.Injectable})}return r},configurable:!0})}var wu=Ne({provide:String,useValue:Ne});function bu(e){return void 0!==e.useClass}function Mu(e){return void 0!==e.useFactory}var Du=Yi("Injectable",void 0,void 0,0,function(e,n){return mu(e,n)});function ku(e,n){return new _u(Cr(e,n))}var _u=function e(n){ki(this,e),Si(this,"nativeElement",void 0),this.nativeElement=n};function xu(e){return Oi(e,_u)?e.nativeElement:e}function Iu(){return this._results[Symbol.iterator]()}Si(_u,"__NG_ELEMENT_ID__",function(){return ku(ao(),to())});var Su,Tu=Symbol.iterator,Cu=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ki(this,e),Si(this,"_emitDistinctChangesOnly",void 0),Si(this,"dirty",!0),Si(this,"_onDirty",void 0),Si(this,"_results",[]),Si(this,"_changesDetected",!1),Si(this,"_changes",void 0),Si(this,"length",0),Si(this,"first",void 0),Si(this,"last",void 0),Si(this,Tu,Iu),this._emitDistinctChangesOnly=n}return Ii(e,[{key:"changes",get:function(){var e;return null!==(e=this._changes)&&void 0!==e?e:this._changes=new n.Subject}},{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=tt(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 Eu(e){return!(128&~e.flags)}!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Su||(Su={}));var Ou=new Map,Nu=0;function Au(e){return ngDevMode&&He(e,"ID used for LView lookup must be a number"),Ou.get(e)||null}function Ru(e){ngDevMode&&He(e[Kt],"Cannot stop tracking an LView that does not have an ID"),Ou.delete(e[Kt])}var Pu=function(){function e(n,t,r){ki(this,e),Si(this,"lViewId",void 0),Si(this,"nodeIndex",void 0),Si(this,"native",void 0),Si(this,"component",void 0),Si(this,"directives",void 0),Si(this,"localRefs",void 0),this.lViewId=n,this.nodeIndex=t,this.native=r}return Ii(e,[{key:"lView",get:function(){return Au(this.lViewId)}}]),e}();function ju(e){var n,t=zu(e);if(t){if(rr(t)){var r,o=t,i=void 0,a=void 0;if(Wu(e)){if(-1==(r=$u(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=qu(t)}return-1}(o,e),-1==r)throw new Error("The provided directive was not found in the application");a=Yu(r,o)}else if(-1==(r=Zu(o,e)))return null;var u=Sr(o[r]),l=zu(u),s=l&&!Array.isArray(l)?l:Vu(o,r,u);if(i&&void 0===s.component&&(s.component=i,Uu(s.component,s)),a&&void 0===s.directives){s.directives=a;for(var c=0;c<a.length;c++)Uu(a[c],s)}Uu(s.native,s),t=s}}else{var d=e;ngDevMode&&en(d);for(var f=d;f=f.parentNode;){var v=zu(f);if(v){var h=Array.isArray(v)?v:v.lView;if(!h)return null;var p=Zu(h,d);if(p>=0){var g=Sr(h[p]),y=Vu(h,p,g);Uu(g,y),t=y;break}}}}return t||null}function Vu(e,n,t){return new Pu(e[Kt],n,t)}var Fu,Lu,Hu,Bu="__ngContext__";function Uu(e,n){var t;ngDevMode&&Ke(e,"Target expected"),rr(n)?(e[Bu]=n[Kt],t=n,ngDevMode&&He(t[Kt],"LView must have an ID in order to be registered"),Ou.set(t[Kt],t)):e[Bu]=n}function zu(e){ngDevMode&&Ke(e,"Target expected");var n=e[Bu];return"number"==typeof n?Au(n):n||null}function Wu(e){return e&&e.constructor&&e.constructor.ɵcmp}function Zu(e,n){for(var t=e[1],r=nr;r<t.bindingStartIndex;r++)if(Sr(e[r])===n)return r;return-1}function qu(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 $u(e,n){var t=e[1].components;if(t)for(var r=0;r<t.length;r++){var o=t[r];if(Ar(o,e)[8]===n)return o}else if(Ar(nr,e)[8]===n)return nr;return-1}function Yu(e,n){var t=n[1].data[e];if(0===t.directiveStart)return vt;for(var r=[],o=t.directiveStart;o<t.directiveEnd;o++){var i=n[o];Wu(i)||r.push(i)}return r}function Gu(e){return Ju(e[12])}function Qu(e){return Ju(e[4])}function Ju(e){for(;null!==e&&!or(e);)e=e[4];return e}function Ku(e){ngDevMode&&Xu(e);var n=ju(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 ar(t)?n[t.directiveStart+t.componentOffset]:null}(n.nodeIndex,t)}return n.component}function Xu(e){if("undefined"!=typeof Element&&!Oi(e,Element))throw new Error("Expecting instance of DOM Element")}function el(){if("undefined"!=typeof document)return document;throw new Te(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"}(Fu||(Fu={})),function(e){e[e.Default=0]="Default",e[e.OnPush=1]="OnPush"}(Lu||(Lu={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=1]="None"}(Hu||(Hu={}));var nl=new fn(ngDevMode?"AppId":"",{providedIn:"root",factory:function(){return tl}}),tl="ng";new fn(ngDevMode?"Platform Initializer":"");new fn(ngDevMode?"Platform ID":"",{providedIn:"platform",factory:function(){return"unknown"}}),new fn(ngDevMode?"Application Packages Root URL":""),new fn(ngDevMode?"AnimationModuleType":""),new fn(ngDevMode?"CSP nonce":"",{providedIn:"root",factory:function(){var e,n;return(null===(n=el().body)||void 0===n||null===(e=n.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});var rl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ol=new fn(ngDevMode?"ImageConfig":"",{providedIn:"root",factory:function(){return rl}});var il=function(){function e(){ki(this,e),Si(this,"store",{}),Si(this,"onSerializeCallbacks",{})}return Ii(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}();Si(il,"ɵprov",on({token:il,providedIn:"root",factory:function(){var e=new il;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{}}(el(),Gn(nl))),e}}));new fn("undefined"==typeof ngDevMode||ngDevMode?"IS_HYDRATION_DOM_REUSE_ENABLED":"");var al=!1,ul=new fn("undefined"==typeof ngDevMode||ngDevMode?"PRESERVE_HOST_CONTENT":"",{providedIn:"root",factory:function(){return al}});new fn("undefined"==typeof ngDevMode||ngDevMode?"IS_I18N_HYDRATION_ENABLED":""),new fn("undefined"==typeof ngDevMode||ngDevMode?"IS_EVENT_REPLAY_ENABLED":"");var ll=new fn("undefined"==typeof ngDevMode||ngDevMode?"IS_INCREMENTAL_HYDRATION_ENABLED":""),sl=new fn(ngDevMode?"JSACTION_BLOCK_ELEMENT_MAP":"",{providedIn:"root",factory:function(){return new Map}}),cl={passive:!0,capture:!0},dl=new WeakMap,fl=new WeakMap,vl=new WeakMap,hl=["click","keydown"],pl=["mouseenter","mouseover","focusin"],gl=null,yl=0,ml=function e(){var n=this;ki(this,e),Si(this,"callbacks",new Set),Si(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 wl(e,n){var t=fl.get(e);if(!t){t=new ml,fl.set(e,t);var r=!0,o=!1,i=void 0;try{for(var a,u=hl[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;e.addEventListener(l,t.listener,cl)}}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){fl.delete(e);var i=!0,a=!1,u=void 0;try{for(var l,s=hl[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;e.removeEventListener(c,o,cl)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}}}}function bl(e,n){var t=dl.get(e);if(!t){t=new ml,dl.set(e,t);var r=!0,o=!1,i=void 0;try{for(var a,u=pl[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;e.addEventListener(l,t.listener,cl)}}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=pl[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;e.removeEventListener(c,o,cl)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}dl.delete(e)}}}var Ml=function(e){e.removeAttribute(yi),e.removeAttribute("ngb"),e.__jsaction_fns=void 0},Dl=new fn(ngDevMode?"EVENT_CONTRACT_DETAILS":"",{providedIn:"root",factory:function(){return{}}}),kl=new fn(ngDevMode?"DEHYDRATED_BLOCK_REGISTRY":""),_l=function(){function e(){ki(this,e),Si(this,"registry",new Map),Si(this,"cleanupFns",new Map),Si(this,"jsActionMap",Gn(sl)),Si(this,"contract",Gn(Dl)),Si(this,"hydrating",new Map),Si(this,"awaitingCallbacks",new Map)}return Ii(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=Fi(t).concat(Fi(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(Ml)}}(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}();Si(_l,"ɵprov",on({token:_l,providedIn:null,factory:function(){return new _l}}));var xl,Il="__nghDeferData__";function Sl(e){var n=e._lView;return 2===n[1].type?null:(sr(n)&&(n=n[26]),n)}!function(e){e.Hydrated="hydrated",e.Skipped="skipped",e.Mismatched="mismatched"}(xl||(xl={}));var Tl,Cl,El;function Ol(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&&!Ku(e);)e=null==e?void 0:e.parentNode;e&&function(e,n){e.__ngDebugHydrationInfo__=n}(e,{status:xl.Mismatched,expectedNodeDetails:n,actualNodeDetails:t})}function Nl(e){return e.get(ll,!1,{optional:!0})}function Al(e){Ke(e,"Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present")}function Rl(e,n){var t=e.contentQueries;if(null!==t){var r=J(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&&Ke(u,"DirectiveDef not found."),ngDevMode&&Ke(u.contentQueries,"contentQueries function should be defined"),Co(i),u.contentQueries(2,n[a],a)}}}finally{J(r)}}}function Pl(e,n,t){ngDevMode&&Ke(n,"View queries function to execute must be defined."),Co(0);var r=J(null);try{n(e,t)}finally{J(r)}}function jl(e,n,t){if(ir(n)){var r=J(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&&Ke(a,"Incorrect reference to a directive defining a content query"),u.contentQueries(1,l,a)}}}finally{J(r)}}}function Vl(){if(void 0===Cl&&(Cl=null,Ee.trustedTypes))try{Cl=Ee.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return Cl}function Fl(e){var n;return(null===(n=Vl())||void 0===n?void 0:n.createHTML(e))||e}function Ll(){if(void 0===El&&(El=null,Ee.trustedTypes))try{El=Ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return El}function Hl(e){var n;return(null===(n=Ll())||void 0===n?void 0:n.createHTML(e))||e}function Bl(e){var n;return(null===(n=Ll())||void 0===n?void 0:n.createScript(e))||e}function Ul(e){var n;return(null===(n=Ll())||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"}(Tl||(Tl={}));var zl=function(){function e(n){ki(this,e),Si(this,"changingThisBreaksApplicationSecurity",void 0),this.changingThisBreaksApplicationSecurity=n}return Ii(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Se,")")}}]),e}();function Wl(e){return Oi(e,zl)?e.changingThisBreaksApplicationSecurity:e}function Zl(e,n){var t=function(e){return Oi(e,zl)&&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(Se,")"))}return t===n}function ql(e){var n=new Yl(e);return function(){try{return!!(new window.DOMParser).parseFromString(Fl(""),"text/html")}catch(e){return!1}}()?new $l(n):n}var $l=function(){function e(n){ki(this,e),Si(this,"inertDocumentHelper",void 0),this.inertDocumentHelper=n}return Ii(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var n,t=(new window.DOMParser).parseFromString(Fl(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}(),Yl=function(){function e(n){ki(this,e),Si(this,"defaultDoc",void 0),Si(this,"inertDocument",void 0),this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}return Ii(e,[{key:"getInertBodyElement",value:function(e){var n=this.inertDocument.createElement("template");return n.innerHTML=Fl(e),n}}]),e}();var Gl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ql(e){return(e=String(e)).match(Gl)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see ").concat(Se,")")),"unsafe:"+e)}function Jl(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 Kl(){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 Xl=Jl("area,br,col,hr,img,wbr"),es=Jl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ns=Jl("rp,rt"),ts=Kl(ns,es),rs=Kl(es,Jl("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")),os=Kl(ns,Jl("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")),is=Kl(Xl,rs,os,ts),as=Jl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),us=Jl("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"),ls=Jl("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"),ss=Kl(as,us,ls),cs=Jl("script,style,template"),ds=function(){function e(){ki(this,e),Si(this,"sanitizedSomething",!1),Si(this,"buf",[])}return Ii(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=vs(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);var o=fs(n);if(o){n=o;break}n=r.pop()}return this.buf.join("")}},{key:"startElement",value:function(e){var n=hs(e).toLowerCase();if(!is.hasOwnProperty(n))return this.sanitizedSomething=!0,!cs.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(ss.hasOwnProperty(a)){var u=o.value;as[a]&&(u=Ql(u)),this.buf.push(" ",i,'="',bs(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var n=hs(e).toLowerCase();is.hasOwnProperty(n)&&!Xl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(bs(e))}}]),e}();function fs(e){var n=e.nextSibling;if(n&&e!==n.previousSibling)throw ps(n);return n}function vs(e){var n,t=e.firstChild;if(t&&(n=t,(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY))throw ps(t);return t}function hs(e){var n=e.nodeName;return"string"==typeof n?n:"FORM"}function ps(e){return new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML))}var gs,ys,ms=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ws=/([^\#-~ |!])/g;function bs(e){return e.replace(/&/g,"&").replace(ms,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ws,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Ms(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}function Ds(e){var n=Es();return n?Hl(n.sanitize(ys.HTML,e)||""):Zl(e,"HTML")?Hl(Wl(e)):function(e,n){var t=null;try{gs=gs||ql(e);var r=n?String(n):"";t=gs.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=gs.getInertBodyElement(r)}while(r!==i);var a=new ds,u=a.sanitizeChildren(Ms(t)||t);return("undefined"==typeof ngDevMode||ngDevMode)&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see ".concat(Se)),Fl(u)}finally{if(t)for(var l=Ms(t)||t;l.firstChild;)l.firstChild.remove()}}(el(),On(e))}function ks(e){var n=Es();return n?n.sanitize(ys.STYLE,e)||"":Zl(e,"Style")?Wl(e):On(e)}function _s(e){var n=Es();return n?n.sanitize(ys.URL,e)||"":Zl(e,"URL")?Wl(e):Ql(On(e))}function xs(e){var n=Es();if(n)return Ul(n.sanitize(ys.RESOURCE_URL,e)||"");if(Zl(e,"ResourceURL"))return Ul(Wl(e));throw new Te(904,ngDevMode&&"unsafe value used in a resource URL context (see ".concat(Se,")"))}function Is(e){var n=Es();if(n)return Bl(n.sanitize(ys.SCRIPT,e)||"");if(Zl(e,"Script"))return Bl(Wl(e));throw new Te(905,ngDevMode&&"unsafe value used in a script context")}function Ss(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 Fl(e[0])}function Ts(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=Vl())||void 0===n?void 0:n.createScriptURL(e))||e}(e[0])}function Cs(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)?xs:_s}(n,t)(e)}function Es(){var e=to();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"}(ys||(ys={}));var Os=/^>|^->|<!--|-->|--!>|<!-$/g,Ns=/(<|>)/g;function As(e){return e.replace(Os,function(e){return e.replace(Ns,"$1")})}var Rs=!1,Ps=new fn("undefined"==typeof ngDevMode||ngDevMode?"NG_REFLECT_FLAG":"",{providedIn:"root",factory:function(){return Rs}});function js(e){var n;return n=e.replace(/[$@]/g,"_"),e=n.replace(Vs,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 Vs=/([A-Z])/g;var Fs={},Ls={};function Hs(e,n,t,r){n||4!==t||(n="ng-template");var o=zs(r),i=Ws(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(Zs.has(e)){var s=Zs.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.");Bs(a)}function Bs(e){console.error(Ce(303,e))}function Us(e){!ngDevMode&&Xe("Must never be called in production mode");var n=e[15][8];return n&&n.constructor?bt(n.constructor):null}function zs(e){!ngDevMode&&Xe("Must never be called in production mode");var n=Us(e);return!!(null==n?void 0:n.standalone)}function Ws(e){var n;!ngDevMode&&Xe("Must never be called in production mode");var t=Us(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 Zs=new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function qs(e,n){if(null!==e)for(var t=0;t<e.length;t++){var r=e[t];if(r===Ls||r===Fs&&n&&n.indexOf("-")>-1)return!0}return!1}function $s(e){return e.ownerDocument.defaultView}function Ys(e){return e.ownerDocument}function Gs(e){return e.ownerDocument.body}var Qs="�";function Js(e){return Oi(e,Function)?e():e}function Ks(e){if(!bt(e))throw new Te(906,"The ".concat(Nn(e)," is not an Angular component, ")+"make sure it has the `@Component` decorator.")}function Xs(e,n,t){throw new Te(-300,"Multiple components match node with tagname ".concat(e.value,": ")+"".concat(Nn(n)," and ")+"".concat(Nn(t)))}function ec(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 nc(e,n,t,r,o){for(var i,a=wi(i=r.split(Qs))||Ni(i)||Hi(i)||Ai(),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 tc(e,n,t){ngDevMode&&Ze(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 rc="ng-template";function oc(e,n,t,r){ngDevMode&&We(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!==tc(n[o+1].toLowerCase(),t,0))return!0}else if(ic(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 ic(e){return 4===e.type&&e.value!==rc}function ac(e,n,t){return n===(4!==e.type||t?e.value:rc)}function uc(e,n,t){ngDevMode&&Ke(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(ja(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&&!ac(e,l,t)||""===l&&1===n.length){if(lc(r))return!1;a=!0}}else if(8&r){if(null===o||!oc(e,o,l,t)){if(lc(r))return!1;a=!0}}else{var s=n[++u],c=sc(l,o,ic(e),t);if(-1===c){if(lc(r))return!1;a=!0;continue}if(""!==s){var d=void 0;if(c>i?d="":(ngDevMode&&Ze(o[c],0,"We do not match directives on namespaced attributes"),d=o[c+1].toLowerCase()),2&r&&s!==d){if(lc(r))return!1;a=!0}}}}else{if(!a&&!lc(r)&&!lc(l))return!1;if(a&&lc(l))continue;a=!1,r=l|1&r}}return lc(r)||a}function lc(e){return!(1&e)}function sc(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 cc(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<n.length;r++)if(uc(e,n[r],t))return!0;return!1}function dc(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 fc(e,n){return e?":not("+n.trim()+")":n}function vc(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||lc(a)||(n+=fc(i,o),o=""),r=a,i=i||!lc(r);t++}return""!==o&&(n+=fc(i,o)),n}function hc(e){return e.map(vc).join(",")}var pc,gc="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function yc(e,n){return e.createText(n)}function mc(e,n,t){e.setValue(n,t)}function wc(e,n){return e.createComment(As(n))}function bc(e,n,t){return e.createElement(n,t)}function Mc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Dc(e,n,t){ngDevMode&&Ke(n,"parent node must be defined"),e.appendChild(n,t)}function kc(e,n,t,r,o){null!==r?Mc(e,n,t,r,o):Dc(e,n,t)}function _c(e,n,t){e.removeChild(null,n,t)}function xc(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];Va(l)?e.setProperty(n,l,s):e.setAttribute(n,l,s),r++}}}(e,n,r),null!==o&&function(e,n,t){ngDevMode&&Ue(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&&Ue(t,"'newValue' should be a string"),e.setAttribute(n,"style",t)}(e,n,i)}function Ic(e,n,t,r,o,i,a,u,l,s,c){var d=nr+r,f=d+o,v=function(e,n){for(var t=[],r=0;r<n;r++)t.push(r<e?null:gc);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 Sc(e){var n=e.tView;if(null===n||n.incompleteFirstPass){return e.tView=Ic(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id)}return n}function Tc(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),Vr(d),ngDevMode&&n.declTNode&&e&&dr(n.declTNode,e),d[3]=d[14]=e,d[8]=t,d[10]=a||e&&e[10],ngDevMode&&Ke(d[10],"LViewEnvironment is required"),d[11]=u||e&&e[11],ngDevMode&&Ke(d[11],"Renderer is required"),d[9]=l||e&&e[9]||null,d[5]=i,d[Kt]=Nu++,d[6]=c,d[20]=s,ngDevMode&&We(2!=n.type||null!==e,!0,"Embedded views must have parentLView"),d[15]=2==n.type?e[15]:d,d}function Cc(e){var n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Ec(e,n,t,r){if(0===t)return-1;ngDevMode&&(wr(e),qe(e,n[1],"`LView` must be associated with `TView`!"),We(e.data.length,n.length,"Expecting LView to be same size as TView"),We(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),br(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 Oc(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function Nc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;ngDevMode&&Qe(e,0,"Can only advance forward"),Ac(ro(),to(),Fo()+e,!!ngDevMode&&ho())}function Ac(e,n,t,r){if(ngDevMode&&Mr(n[1],t),!r)if(!(3&~n[2])){var o=e.preOrderCheckHooks;null!==o&&xa(n,o,t)}else{var i=e.preOrderHooks;null!==i&&Ia(n,i,0,t)}Lo(t)}function Rc(e,n,t,r){var o=J(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(Oi(n,Na))throw new Error("ASSERTION ERROR: Cannot write input to factory for type ".concat(e.type.name,". Directive has not been created yet."))}var i=Vi(e.inputs[t],3),a=i[0],u=i[1],l=i[2],s=null;if(0!==(u&pc.SignalBased))s=n[a][Q];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):pa(n,s,a,r)}finally{J(o)}}function Pc(e,n,t,r,o){var i=Fo(),a=2&r;try{Lo(-1),a&&n.length>nr&&Ac(e,n,nr,!!ngDevMode&&ho()),ka(a?2:0,o,t),t(r,o)}finally{Lo(i),ka(a?3:1,o,t)}}function jc(e,n,t){!function(e,n,t){var r=t.directiveStart,o=t.directiveEnd;ar(t)&&(ngDevMode&&Pa(t,3),function(e,n,t){var r=Cr(n,e),o=Sc(t),i=e[10].rendererFactory,a=Oc(e,Tc(e,o,null,Cc(t),r,n,null,i.createRenderer(r,t),null,null,null));e[n.index]=a}(n,t,e.data[r+t.componentOffset]));e.firstCreatePass||$a(t,n);for(var i=t.initialInputs,a=r;a<o;a++){var u=e.data[a],l=ou(n,e,a,t);if(Uu(l,n),null!==i&&Zc(n,a-r,l,u,t,i),lr(u))Ar(t.index,n)[8]=ou(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=Gr.lFrame.currentDirectiveIndex;try{Lo(i);for(var u=r;u<o;u++){var l=e.data[u],s=n[u];Io(u),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||Bc(l,s)}}finally{Lo(-1),Io(a)}}(e,n,t)}function Vc(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cr,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 Fc(e,n,t,r,o,i){ngDevMode&&$e(r,gc,"Incoming value should never be NO_CHANGE.");var a=n[1];if(Gc(e,a,n,t,r))return ar(e)&&function(e,n){ngDevMode&&mr(e);var t=Ar(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];Hc(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;Hc(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));Lc(e,n,t,r,o,i)}function Lc(e,n,t,r,o,i){if(3&e.type){var a=Cr(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 Te(306,n)}}(t),function(e,n,t,r){return null===r||!!(qs(r,t)||n in e||Va(n))||"undefined"==typeof Node||null===Node||!Oi(e,Node)}(a,t,e.value,n[1].schemas)||Hs(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&&!qs(n[1].schemas,e.value)&&Hs(t,e.value,e.type,n);var u}function Hc(e,n,t,r){if(e[10].ngReflect){var o=Cr(n,e),i=e[11];t=js(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=As("bindings=".concat(JSON.stringify(Si({},t,a),null,2)));i.setValue(o,u)}}}function Bc(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Uc(e,n){ngDevMode&&wr(e),ngDevMode&&Pa(n,15);var t=e.directiveRegistry,r=null;if(t)for(var o=0;o<t.length;o++){var i=t[o];cc(n,i.selectors,!1)&&(null!=r||(r=[]),lr(i)?(ngDevMode&&(Pa(n,2,'"'.concat(n.value,'" tags cannot be used as component hosts. ')+"Please use a different tag to activate the ".concat(Re(i.type)," component.")),r.length&&lr(r[0])&&Xs(n,r.find(lr).type,i.type)),r.unshift(i)):r.push(i))}return r}function zc(e,n,t,r,o,i){ngDevMode&&($e(r,gc,"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 Te(306,n)}}(t),Pa(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=Cr(e,n);Wc(n[11],a,i,e.value,t,r,o)}function Wc(e,n,t,r,o,i,a){if(null==i)e.removeAttribute(n,o,t);else{var u=null==a?On(i):a(i,r||"",o);e.setAttribute(n,o,u,t)}}function Zc(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];Rc(r,t,l,s),ngDevMode&&Hc(e,o,r.inputs[l][0],s)}}function qc(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+=Qs+i.join(Qs)),e[r]=s}}function $c(e,n,t){return(null===e||lr(e))&&(t=function(e){for(;Array.isArray(e);){if("object"===De(e[1]))return e;e=e[0]}return null}(t[n.index])),t[11]}function Yc(e,n){var t=e[9];if(t){var r=t.get(ei,null);null==r||r(n)}}function Gc(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&&nn(t,d);var f=l[c+1];Rc(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&&nn(t,m);var w=t[m];Rc(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 Qc(e,n){ngDevMode&&We(Rr(e),!0,"Should be run in creation mode");var t=Ar(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)),ka(18),Jc(r,t,t[8]),ka(19,t[8])}function Jc(e,n,t){ngDevMode&&We(Rr(n),!0,"Should be run in creation mode"),ngDevMode&&rn(Jc.name),No(n);try{var r,o=e.viewQuery;null!==o&&Pl(1,o,t);var i=e.template;null!==i&&Pc(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),null===(r=n[18])||void 0===r||r.finishViewCreation(e),e.staticContentQueries&&Rl(e,n),e.staticViewQueries&&Pl(2,e.viewQuery,t);var a=e.components;null!==a&&function(e,n){for(var t=0;t<n.length;t++)Qc(e,n[t])}(n,a)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{n[2]&=-5,Vo()}}function Kc(e,n,t,r){var o=J(null);try{var i=n.tView;ngDevMode&&Ke(i,"TView must be defined for a template node."),ngDevMode&&dr(n,e);var a,u,l,s=Tc(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&&gr(c),s[16]=c;var d=e[18];return null!==d&&(s[18]=d.createEmbeddedView(i)),Jc(i,s,t),s}finally{J(o)}}function Xc(e,n){return!n||null===n.firstChild||Eu(e)}!function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(pc||(pc={}));var ed,nd,td=!1,rd=new fn(ngDevMode?"exhaustive checkNoChanges":"");function od(e,n){return ed(e,n)}function id(e){return!(32&~e.flags)}function ad(e,n,t,r,o){if(null!=r){var i,a=!1;or(r)?i=r:rr(r)&&(a=!0,ngDevMode&&Ke(r[0],"HOST must be defined for a component LView"),r=r[0]);var u=Sr(r);0===e&&null!==t?null==o?Dc(n,t,u):Mc(n,t,u,o||null,!0):1===e&&null!==t?Mc(n,t,u,o||null,!0):2===e?_c(n,u,a):3===e&&n.destroyNode(u),null!=i&&function(e,n,t,r,o){ngDevMode&&gr(t);var i=t[7],a=Sr(t);i!==a&&ad(n,e,r,i,o);for(var u=tr;u<t.length;u++){var l=t[u];Id(l[1],l,e,n,r,i)}}(n,e,i,t,o)}}function ud(e,n){ld(e,n),n[0]=null,n[5]=null}function ld(e,n){var t;null===(t=n[10].changeDetectionScheduler)||void 0===t||t.notify(9),Id(e,n,n[11],2,null,null)}function sd(e,n){ngDevMode&&gr(e),ngDevMode&&Ke(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 cd(e,n){if(!cr(n)){var t=n[11];t.destroyNode&&Id(e,n,t,3,null,null),function(e){var n=e[12];if(!n)return dd(e[1],e);for(;n;){var t=null;if(rr(n))t=n[12];else{ngDevMode&&gr(n);var r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)rr(n)&&dd(n[1],n),n=n[3];null===n&&(n=e),rr(n)&&dd(n[1],n),t=n&&n[4]}n=t}}(n)}}function dd(e,n){if(!cr(n)){var t=J(null);try{n[2]&=-129,n[2]|=256,n[24]&&ie(n[24]),vd(e,n),fd(e,n),1===n[1].type&&n[11].destroy();var r=n[16];if(null!==r&&or(n[3])){r!==n[3]&&sd(r,n);var o=n[18];null!==o&&o.detachView(e)}Ru(n)}finally{J(t)}}}function fd(e,n){ngDevMode&&rn(fd.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&&He(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&&ze(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 vd(e,n){var t;if(ngDevMode&&rn(vd.name),null!=e&&null!=(t=e.destroyHooks))for(var r=0;r<t.length;r+=2){var o=n[t[r]];if(!Oi(o,Na)){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];ka(4,u,l);try{l.call(u)}finally{ka(5,u,l)}}else{ka(4,o,i);try{i.call(o)}finally{ka(5,o,i)}}}}}function hd(e,n,t){return pd(e,n.parent,t)}function pd(e,n,t){for(var r=n;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[0];if(ngDevMode&&Pa(r,7),ar(r)){ngDevMode&&dr(r,t);var o=e.data[r.directiveStart+r.componentOffset].encapsulation;if(o===Tl.None||o===Tl.Emulated)return null}return Cr(r,t)}function gd(e,n,t){return wd(e,n,t)}function yd(e,n,t){return 40&e.type?Cr(e,t):null}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(nd||(nd={}));var md,wd=yd;function bd(e,n){wd=e,md=n}function Md(e,n,t,r){var o=hd(e,r,n),i=n[11],a=gd(r.parent||n[5],r,n);if(null!=o)if(Array.isArray(t))for(var u=0;u<t.length;u++)kc(i,o,t[u],a,!1);else kc(i,o,t,a,!1);void 0!==md&&md(i,r,n,t,o)}function Dd(e,n){if(null!==n){ngDevMode&&Pa(n,191);var t=n.type;if(3&t)return Cr(n,e);if(4&t)return _d(-1,e[n.index]);if(8&t){var r=n.child;if(null!==r)return Dd(e,r);var o=e[n.index];return or(o)?_d(-1,o):Sr(o)}if(128&t)return Dd(e,n.next);if(32&t)return od(n,e)()||Sr(e[n.index]);var i=kd(e,n);if(null!==i){if(Array.isArray(i))return i[0];var a=Zr(e[15]);return ngDevMode&&_r(a),Dd(a,i)}return Dd(e,n.next)}return null}function kd(e,n){if(null!==n){var t=e[15][5],r=n.projection;return ngDevMode&&function(e){Ke(e[15],"Component views should exist."),Ke(e[15][5].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),t.projection[r]}return null}function _d(e,n){var t=tr+e+1;if(t<n.length){var r=n[t],o=r[1].firstChild;if(null!==o)return Dd(r,o)}return n[7]}function xd(e,n,t,r,o,i,a){for(;null!=t;)if(ngDevMode&&dr(t,r),128!==t.type){ngDevMode&&Pa(t,63);var u=r[t.index],l=t.type;if(a&&0===n&&(u&&Uu(Sr(u),r),t.flags|=2),!id(t))if(8&l)xd(e,n,t.child,r,o,i,!1),ad(n,e,o,u,i);else if(32&l){for(var s=od(t,r),c=void 0;c=s();)ad(n,e,o,c,i);ad(n,e,o,u,i)}else 16&l?Sd(e,n,r,t,o,i):(ngDevMode&&Pa(t,7),ad(n,e,o,u,i));t=a?t.projectionNext:t.next}else t=t.next}function Id(e,n,t,r,o,i){xd(t,r,e.firstChild,n,o,i,!1)}function Sd(e,n,t,r,o,i){var a=t[15],u=a[5];ngDevMode&&We(Li(r.projection),"number","expecting projection index");var l=u.projection[r.projection];if(Array.isArray(l))for(var s=0;s<l.length;s++){ad(n,e,o,l[s],i)}else{var c=l,d=a[3];Eu(r)&&(c.flags|=128),xd(e,n,c,d,o,i,!0)}}function Td(e,n,t,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==t;)if(128!==t.type){ngDevMode&&Pa(t,63);var i=n[t.index];null!==i&&r.push(Sr(i)),or(i)&&Cd(i,r);var a=t.type;if(8&a)Td(e,n,t.child,r);else if(32&a)for(var u=od(t,n),l=void 0;l=u();)r.push(l);else if(16&a){var s=kd(n,t);if(Array.isArray(s)){var c;(c=r).push.apply(c,Fi(s))}else{var d=Zr(n[15]);ngDevMode&&_r(d),Td(d[1],d,s,r,!0)}}t=o?t.projectionNext:t.next}else t=o?t.projectionNext:t.next;return r}function Cd(e,n){for(var t=tr;t<e.length;t++){var r=e[t],o=r[1].firstChild;null!==o&&Td(r[1],r,o,n)}e[7]!==e[0]&&n.push(e[7])}function Ed(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 Od=[];function Nd(e){var n;return null!==(n=e[24])&&void 0!==n?n:function(e){var n,t=null!==(n=Od.pop())&&void 0!==n?n:Object.create(Ad);return t.lView=e,t}(e)}var Ad=Pi(Ri({},X),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(e){Ur(e.lView)},consumerOnSignalRead:function(){this.lView[24]=this}});var Rd=Pi(Ri({},X),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(e){for(var n=Zr(e.lView);n&&!Pd(n[1]);)n=Zr(n);n&&Fr(n)},consumerOnSignalRead:function(){this.lView[24]=this}});function Pd(e){return 2!==e.type}function jd(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 Vd(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e[10].rendererFactory,o=!!ngDevMode&&ho();o||(null===(n=r.begin)||void 0===n||n.call(r));try{!function(e,n){var t=yo();try{if(mo(!0),Ud(e,n),ngDevMode&&po())return;for(var r=0;Hr(e);){if(100===r)throw new Te(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++,Ud(e,1)}}finally{mo(t)}}(e,t)}finally{var i;if(!o)null===(i=r.end)||void 0===i||i.call(r)}}function Fd(e,n,t,r){if(ngDevMode&&We(Rr(n),!1,"Should be run in update mode"),!cr(n)){var o=n[2],i=ngDevMode&&ho(),a=ngDevMode&&po();No(n);var u,l=!0,s=null,c=null;i||(Pd(e)?s=te(c=Nd(n)):null===K()?(l=!1,c=function(e){var n,t=null!==(n=e[24])&&void 0!==n?n:Object.create(Rd);return t.lView=e,t}(n),s=te(c)):n[24]&&(ie(n[24]),n[24]=null));try{Vr(n),Mo(e.bindingStartIndex),null!==t&&Pc(e,n,t,2,r);var d=!(3&~o);if(!i)if(d){var f=e.preOrderCheckHooks;null!==f&&xa(n,f,null)}else{var v=e.preOrderHooks;null!==v&&Ia(n,v,0,null),Sa(n,0)}if(a||function(e){for(var n=Gu(e);null!==n;n=Qu(n))if(2&n[2]){var t=n[9];ngDevMode&&Ke(t,"Transplanted View flags set but missing MOVED_VIEWS");for(var r=0;r<t.length;r++){Fr(t[r])}}}(n),jd(n),Ld(n,0),null!==e.contentQueries&&Rl(e,n),!i)if(d){var h=e.contentCheckHooks;null!==h&&xa(n,h)}else{var p=e.contentHooks;null!==p&&Ia(n,p,1),Sa(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)Lo(~o);else{var i=o,a=t[++r],u=t[++r];xo(a,i);var l=n[i];ka(24,l),u(2,l),ka(25,l)}}}finally{Lo(-1)}}(e,n);var g=e.components;null!==g&&zd(n,g,0);var y=e.viewQuery;if(null!==y&&Pl(2,y,r),!i)if(d){var m=e.viewCheckHooks;null!==m&&xa(n,m)}else{var w=e.viewHooks;null!==w&&Ia(n,w,2),Sa(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||(Ed(n),n[2]&=-73)}catch(e){throw i||Ur(n),e}finally{null!==c&&(re(c,s),l&&(u=c).lView[24]!==u&&(u.lView=null,Od.push(u))),Vo()}}}function Ld(e,n){for(var t=Gu(e);null!==t;t=Qu(t))for(var r=tr;r<t.length;r++){Bd(t[r],n)}}function Hd(e,n,t){ngDevMode&&We(Rr(e),!1,"Should be run in update mode"),ka(18);var r=Ar(n,e);Bd(r,t),ka(19,r[8])}function Bd(e,n){Pr(e)&&Ud(e,n)}function Ud(e,n){var t=ngDevMode&&ho(),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)||!oe(i))),a||(a=!(!ngDevMode||!po())),i&&(i.dirty=!1),e[2]&=-9217,a)Fd(r,e,r.template,e[8]);else if(8192&o){t||jd(e),Ld(e,1);var u=r.components;null!==u&&zd(e,u,1),t||Ed(e)}}function zd(e,n,t){for(var r=0;r<n.length;r++)Hd(e,n[r],t)}function Wd(e,n){var t,r=yo()?64:1088;for(null===(t=e[10].changeDetectionScheduler)||void 0===t||t.notify(n);e;){e[2]|=r;var o=Zr(e);if(sr(e)&&!o)return e;e=o}return null}function Zd(e,n,t,r){ngDevMode&&mr(n);var o=[e,!0,0,n,null,r,null,t,null,null];return ngDevMode&&We(o.length,tr,"Should allocate correct number of slots for LContainer header."),o}function qd(e,n){var t=tr+n;if(t<e.length){var r=e[t];return ngDevMode&&mr(r),r}}function $d(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=n[1];if(function(e,n,t,r){ngDevMode&&mr(n),ngDevMode&&gr(t);var o=tr+r,i=t.length;r>0&&(t[o-1][4]=n);r<i-tr?(n[4]=t[o],ot(t,tr+r,n)):(t.push(n),n[4]=null);n[3]=t;var a=n[16];null!==a&&t!==a&&Qd(a,n);var u=n[18];null!==u&&u.insertView(e);Br(n),n[2]|=128}(o,n,e,t),r){var i=_d(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,Id(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 Yd(e,n){var t=Gd(e,n);return void 0!==t&&cd(t[1],t),t}function Gd(e,n){if(!(e.length<=tr)){var t=tr+n,r=e[t];if(r){var o=r[16];null!==o&&o!==e&&sd(o,r),n>0&&(e[t-1][4]=r[4]);var i=it(e,tr+n);ud(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 Qd(e,n){ngDevMode&&Ke(n,"LView required"),ngDevMode&&gr(e);var t=e[9],r=n[3];if(ngDevMode&&Ke(r,"missing parent"),rr(r))e[2]|=2;else{var o=r[3][15];ngDevMode&&Ke(o,"Missing insertedComponentLView");var i=n[15];ngDevMode&&Ke(i,"Missing declaredComponentLView"),i!==o&&(e[2]|=2)}null===t?e[9]=[n]:t.push(n)}var Jd=function(){function e(n,t){ki(this,e),Si(this,"_lView",void 0),Si(this,"_cdRefInjectingView",void 0),Si(this,"_appRef",null),Si(this,"_attachedToViewContainer",!1),Si(this,"exhaustive",void 0),this._lView=n,this._cdRefInjectingView=t}return Ii(e,[{key:"rootNodes",get:function(){var e=this._lView,n=e[1];return Td(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 cr(this._lView)}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(or(e)){var n=e[8],t=n?n.indexOf(this):-1;t>-1&&(ngDevMode&&We(t,e.indexOf(this._lView)-tr,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),Gd(e,t),it(n,t))}this._attachedToViewContainer=!1}cd(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){zr(this._lView,e)}},{key:"markForCheck",value:function(){Wd(this._cdRefInjectingView||this._lView,4)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){Br(this._lView),this._lView[2]|=128}},{key:"detectChanges",value:function(){this._lView[2]|=1024,Vd(this._lView)}},{key:"checkNoChanges",value:function(){if(ngDevMode){try{var e;null!==(e=this.exhaustive)&&void 0!==e||(this.exhaustive=this._lView[9].get(rd,td))}catch(e){this.exhaustive=td}!function(e,n){go(n?Yr.Exhaustive:Yr.OnlyDirtyViews);try{Vd(e)}finally{go(Yr.Off)}}(this._lView,this.exhaustive)}}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Te(902,ngDevMode&&"This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null;var e=sr(this._lView),n=this._lView[16];null===n||e||sd(n,this._lView),ld(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Te(902,ngDevMode&&"This view is already attached to a ViewContainer!");this._appRef=e;var n=sr(this._lView),t=this._lView[16];null===t||n||Qd(t,this._lView),Br(this._lView)}}]),e}(),Kd=function(){function e(n,t,r){ki(this,e),Si(this,"_declarationLView",void 0),Si(this,"_declarationTContainer",void 0),Si(this,"elementRef",void 0),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}return Ii(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=Kc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:t});return new Jd(r)}}]),e}();function Xd(e,n){return 4&e.type?(ngDevMode&&Ke(e.tView,"TView must be allocated"),new Kd(n,e,ku(e,n))):null}Si(Kd,"__NG_ELEMENT_ID__",function(){return Xd(ao(),to())});var ef="<-- AT THIS LOCATION";function nf(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+rf(n.prev)+"\n"):n.type&&12&n.type&&(r+=t+"…\n");r+=t+rf(n)+" ".concat(ef,"\n"),r+=t+"…\n";var o=n.type?hd(e[1],n,e):null;o&&(r=of(o,"\n"+r));return r}(n,t),i=af(),Ol(Sr(n[0]),o,"")),new Te(-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+of(r.previousSibling)+"\n");t+=n+of(r)+" ".concat(ef,"\n"),e.nextSibling&&(t+=n+"…\n");e.parentNode&&(t=of(r.parentNode,"\n"+t));return t}(e),"\n\n"),t="During hydration Angular expected more sibling nodes to be present.\n\n"+n+af();throw Ol(e,"",n),new Te(-501,t)}}var tf=new Set(["ngh","ng-version","ng-server-context"]);function rf(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(uf(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 of(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];tf.has(r.name)||n.push("".concat(r.name,'="').concat(uf(r.value),'"'))}return n.join(" ")}(t);return"<".concat(r).concat(o?" "+o:"",">").concat(n,"</").concat(r,">");case Node.TEXT_NODE:var i=t.textContent?uf(t.textContent):"";return"#text".concat(i?"(".concat(i,")"):"");case Node.COMMENT_NODE:var a;return"\x3c!-- ".concat(uf(null!==(a=t.textContent)&&void 0!==a?a:"")," --\x3e");default:return"#node(".concat(t.nodeType,")")}}function af(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 uf(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 lf(e,n,t){var r=n.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?yd(e,0,t):(ngDevMode&&nn(t,o),Sr(t[o]))}function sf(e,n,t,r,o){var i=n.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&en(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++){Mc(e,a,t[i[l]],u,!1)}}}function cf(e,n,t,r,o){ngDevMode&&0!==n&&Je(n,nr,"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&&Xe("Expected TNodeType to have only a single type selected, but got ".concat(Aa(e),"."))}(t);var i=e.data[n];if(null===i)i=df(e,n,t,r,o),Gr.lFrame.inI18n&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;var a=lo();i.injectorIndex=null===a?-1:a.injectorIndex,ngDevMode&&fr(i,e),ngDevMode&&We(n,i.index,"Expecting same index")}return so(i,!0),i}function df(e,n,t,r,o){var i=uo(),a=co(),u=a?i:i&&i.parent,l=e.data[n]=function(e,n,t,r,o,i){ngDevMode&&0!==r&&Je(r,nr,"TNodes can't be in the LView header."),ngDevMode&&$e(i,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&n&&fr(n,e);var a=n?n.injectorIndex:-1,u=0;Xr()&&(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 ff(e,n){if(ngDevMode&&We(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];vf(r)||hf(r,n)&&null===pf(r)&&gf(r,n.index)}}function vf(e){return!(64&e.type)}function hf(e,n){return vf(n)||e.index>n.index}function pf(e){var n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function gf(e,n){var t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(bd(lf,sf),e.insertBeforeIndex=n)}function yf(e,n){var t=e.data[n];if(null===t||"string"==typeof t)return null;!ngDevMode||t.hasOwnProperty("tView")||t.hasOwnProperty("currentCaseLViewIndex")||Xe("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+t);var r=t.hasOwnProperty("currentCaseLViewIndex")?t:t.value;return ngDevMode&&hr(r),r}function mf(e,n,t){var r=df(e,t,64,null,null);return ff(n,r),r}function wf(e,n){var t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function bf(e){return e>>>17}function Mf(e){return(131070&e)>>>1}function Df(e){return 1&e}function kf(e,n,t){e.index=0;var r=wf(n,t);null!==r?(ngDevMode&&Be(r,0,n.cases.length-1),e.removes=n.remove[r]):e.removes=vt}function _f(e){if(e.index<e.removes.length){var n=e.removes[e.index++];if(ngDevMode&&He(n,"Expecting OpCode number"),n>0){var t=e.lView[n];return ngDevMode&&en(t),t}e.stack.push(e.index,e.removes);var r=~n,o=e.lView[1].data[r];return ngDevMode&&hr(o),kf(e,o,e.lView),_f(e)}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),_f(e))}function xf(){var e={stack:[],index:-1};return function(n,t){for(e.lView=t;e.stack.length;)e.stack.pop();return ngDevMode&&dr(n,t),kf(e,n.value,t),_f.bind(null,e)}}function If(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-nr);s&&_c(e,s,!1)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}function Sf(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):(Tf(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 Tf(e,n){var t=0,r=e.firstChild;if(r)for(var o=e.data.r;t<o;){ngDevMode&&nf(r);var i=r.nextSibling;_c(n,r,!1),r=i,t++}}function Cf(e){Sf(e);var n=e[0];rr(n)&&Ef(n);for(var t=tr;t<e.length;t++)Ef(e[t])}function Ef(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)If(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=nr;t<n.bindingStartIndex;t++){if(or(e[t]))Cf(e[t]);else rr(e[t])&&Ef(e[t])}}function Of(e,n,t,r){null!==e&&(t.cleanup(n),Cf(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=Sl(i.value);null!==u&&null!==u[0]&&(rr(u)?Ef(u):Cf(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 Nf=function e(){ki(this,e)},Af=function e(){ki(this,e)},Rf=(pi=function e(){ki(this,e)},Si(pi,"NULL",new(function(){function e(){ki(this,e)}return Ii(e,[{key:"resolveComponentFactory",value:function(e){throw new Te(917,"undefined"!=typeof ngDevMode&&ngDevMode&&"No component factory found for ".concat(Re(e),"."))}}]),e}())),pi),Pf=function e(){ki(this,e)};Si(function e(){ki(this,e),Si(this,"destroyNode",null)},"__NG_ELEMENT_ID__",function(){return e=to(),(rr(n=Ar(ao().index,e))?n:e)[11];var e,n});var jf=function e(){ki(this,e)};function Vf(e){return void 0!==e.ngModule}function Ff(e){return!!mt(e)}function Lf(e){return!!kt(e)}function Hf(e){return!!Dt(e)}function Bf(e){return!!bt(e)}function Uf(e,n){if(Le(e)&&!(e=Fe(e)))throw new Error('Expected forwardRef function, imported from "'.concat(Nn(n),'", to return a standalone entity or NgModule but got "').concat(Nn(e)||e,'".'));if(null==mt(e)){var t=bt(e)||Dt(e)||kt(e);if(null==t)throw Vf(e)?new Error('A module with providers was imported from "'.concat(Nn(n),'". Modules with providers are not supported in standalone components imports.')):new Error('The "'.concat(Nn(e),'" type, imported from "').concat(Nn(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(Nn(e),'" ').concat((r=e,bt(r)?"component":Dt(r)?"directive":kt(r)?"pipe":"type"),', imported from "').concat(Nn(n),'", is not standalone. Did you forget to add the standalone: true flag?'))}var r}function zf(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}}}Si(jf,"ɵprov",on({token:jf,providedIn:"root",factory:function(){return null}}));var Wf=new(function(){function e(){ki(this,e),Si(this,"ownerNgModule",new Map),Si(this,"ngModulesWithSomeUnresolvedDecls",new Set),Si(this,"ngModulesScopeCache",new Map),Si(this,"standaloneComponentsScopeCache",new Map)}return Ii(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=mt(i);if(null==a?void 0:a.declarations){var u=!0,l=!1,s=void 0;try{for(var c,d=Js(a.declarations)[Symbol.iterator]();!(u=(c=d.next()).done);u=!0){var f=c.value;Bf(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=bt(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:Fi(r.compilation.directives).concat(Fi(r.compilation.pipes),Fi(r.compilation.ngModules))}}if(!this.ownerNgModule.has(e))return{dependencies:[]};var o=this.getNgModuleScope(this.ownerNgModule.get(e));return o.compilation.isPoisoned?{dependencies:[]}:{dependencies:Fi(o.compilation.directives).concat(Fi(o.compilation.pipes))}}},{key:"registerNgModule",value:function(e,n){if(!Ff(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=wt(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=Js(n.imports)[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;if(Ff(l)){var s=this.getNgModuleScope(l);zf(s.exported.directives,t.compilation.directives),zf(s.exported.pipes,t.compilation.pipes)}else{if(!_t(l)){t.compilation.isPoisoned=!0;break}if(Hf(l)||Bf(l))t.compilation.directives.add(l);else{if(!Lf(l))throw new Te(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=Js(n.declarations)[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var p=v.value;if(Ff(p)||_t(p)){t.compilation.isPoisoned=!0;break}Lf(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=Js(n.exports)[Symbol.iterator]();!(g=(w=b.next()).done);g=!0){var M=w.value;if(Ff(M)){var D=this.getNgModuleScope(M);zf(D.exported.directives,t.exported.directives),zf(D.exported.pipes,t.exported.pipes),zf(D.exported.directives,t.compilation.directives),zf(D.exported.pipes,t.compilation.pipes)}else Lf(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=tt(null!=n?n:[])[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=Fe(a.value);try{Uf(l,e)}catch(e){return t.compilation.isPoisoned=!0,t}if(Ff(l)){t.compilation.ngModules.add(l);var s=this.getNgModuleScope(l);if(s.exported.isPoisoned)return t.compilation.isPoisoned=!0,t;zf(s.exported.directives,t.compilation.directives),zf(s.exported.pipes,t.compilation.pipes)}else if(Lf(l))t.compilation.pipes.add(l);else{if(!Hf(l)&&!Bf(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=bt(e);return!(!n||n.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}}]),e}()),Zf={},qf=function(){function e(n,t){ki(this,e),Si(this,"injector",void 0),Si(this,"parentInjector",void 0),this.injector=n,this.parentInjector=t}return Ii(e,[{key:"get",value:function(e,n,t){var r=this.injector.get(e,Zf,t);return r!==Zf||n===Zf?r:this.parentInjector.get(e,n,t)}}]),e}();function $f(e,n,t){ngDevMode&&wr(ro(),"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=Pe(o,u);else if(2==i){r=Pe(r,u+": "+n[++a]+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Yf(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=to();if(null===r)return ngDevMode&&(n=Yf,ngDevMode&&Ze(kn,n,"Calling ɵɵinject would cause infinite recursion")),$n(e,t);var o=eu(ao(),r,Fe(e),t);return ngDevMode&&bn(e,o,t),o}function Gf(){var e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function Qf(e,n,t,r,o){ngDevMode&&wr(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=Vi(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 Te(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&&wr(e);for(var u=r.length,l=!1,s=0;s<u;s++){var c=r[s];!l&&lr(c)&&(l=!0,Jf(e,t,s)),Ja($a(t,n),e,c.type)}!function(e,n,t){ngDevMode&&Ze(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=Ec(e,n,u,null);ngDevMode&&qe(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=Fa(t.mergedAttrs,y.hostAttrs),tv(e,t,n,p,y),rv(p,y,o),null!==a&&a.has(y)){var m=Vi(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&&wr(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);Xf(0,n,i,r),Xf(1,n,i,r),nv(n,r,!0)}else Kf(0,n,o,r),Kf(1,n,o,r),nv(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 Te(-301,ngDevMode&&"Export of name '".concat(n[o+1],"' not found!"));r.push(n[o],i)}}(t,r,i)}function Jf(e,n,t){var r,o;ngDevMode&&wr(e),ngDevMode&&Qe(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 Kf(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),ev(n,i)}}function Xf(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),ev(n,v)}}function ev(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function nv(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||ic(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 tv(e,n,t,r,o){ngDevMode&&Je(r,nr,"Must be in Expando section"),e.data[r]=o;var i=o.factory||(o.factory=nt(o.type,!0)),a=new Na(i,lr(o),Yf);e.blueprint[r]=a,t[r]=a,function(e,n,t,r,o){ngDevMode&&wr(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,Ec(e,t,o.hostVars,gc),o)}function rv(e,n,t){if(t){if(n.exportAs)for(var r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;lr(n)&&(t[""]=e)}}function ov(e,n,t,r,o,i,a,u){ngDevMode&&wr(n);var l=n.consts,s=cf(n,e,2,r,jr(l,a));return i&&Qf(n,t,s,jr(l,u),o),s.mergedAttrs=Fa(s.mergedAttrs,s.attrs),null!==s.attrs&&$f(s,s.attrs,!1),null!==s.mergedAttrs&&$f(s,s.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,s),s}function iv(e,n){ngDevMode&&wr(e),_a(e,n),ir(n)&&e.queries.elementEnd(n)}function av(e){return!!uv(e)&&(Array.isArray(e)||!Oi(e,Map)&&Symbol.iterator in e)}function uv(e){return null!==e&&("function"==typeof e||"object"===(void 0===e?"undefined":Li(e)))}function lv(e,n){var t=av(e),r=av(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,lv);var o=e&&("object"===(void 0===e?"undefined":Li(e))||"function"==typeof e),i=n&&("object"===(void 0===n?"undefined":Li(n))||"function"==typeof n);return!(t||!o||r||!i)||Object.is(e,n)}function sv(e,n,t){return e[n]=t}function cv(e,n){return ngDevMode&&nn(e,n),ngDevMode&&$e(e[n],gc,"Stored value should never be NO_CHANGE."),e[n]}function dv(e,n,t){if(ngDevMode&&Ye(n,e.length,"Slot should have been initialized to NO_CHANGE"),t===gc)return!1;var r=e[n];if(Object.is(r,t))return!1;if(ngDevMode&&ho()){var o=r!==gc?r:void 0;if(!lv(o,t)){var i=function(e,n,t,r){var o=e[1].data,i=o[n];if("string"==typeof i)return i.indexOf(Qs)>-1?nc(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(Qs,"g"));if(l&&l.length-1>n-a)return nc(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=Us(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(ec(n),"'. Current value: '").concat(ec(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 Te(-100,s)}(r===gc,i.oldValue,i.newValue,i.propName,e)}return!1}return e[n]=t,!0}function fv(e,n,t,r){var o=dv(e,n,t);return dv(e,n+1,r)||o}function vv(e,n,t,r,o){var i=fv(e,n,t,r);return dv(e,n+2,o)||i}function hv(e,n,t,r,o,i){var a=fv(e,n,t,r);return fv(e,n+2,o,i)||a}function pv(e,n,t){return function r(o){Wd(ar(e)?Ar(e.index,n):n,5);for(var i=n[8],a=gv(n,i,t,o),u=r.__ngNextListenerFn__;u;)a=gv(n,i,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function gv(e,n,t,r){var o=J(null);try{return ka(6,n,t),!1!==t(r)}catch(n){return Yc(e,n),!1}finally{ka(7,n,t),J(o)}}function yv(e,n,t,r,o,i,a,u){ngDevMode&&$e(u,a,"Expected wrapped and original listeners to be different.");var l=ur(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=Cr(e,t),f=r?r(d):d,v=o.listen(f,i,u);mv(r?function(n){return r(Sr(n[e.index]))}:e.index,n,t,i,u,v,!1)}return s}function mv(e,n,t,r,o,i,a){var u=n.firstCreatePass?$r(n):null,l=qr(t),s=l.length;l.push(o,i),u&&u.push(r,e,s,(s+1)*(a?-1:1))}function wv(e,n,t,r,o,i){ngDevMode&&nn(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);mv(e.index,l,n,o,i,d,!0)}
|
|
25
|
+
/*!
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright Google LLC All Rights Reserved.
|
|
28
|
+
*
|
|
29
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
30
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
31
|
+
*/var bv=Symbol("BINDING"),Mv=function(e){Ei(t,e);var n=Ui(t);function t(e){var r;return ki(this,t),Si(bi(r=n.call(this)),"ngModule",void 0),r.ngModule=e,r}return Ii(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.";bt(e)||Xe(n)}(e);var n=bt(e);return new kv(n,this.ngModule)}}]),t}(Rf);function Dv(e){var n;if(("undefined"==typeof ngJitMode||ngJitMode)&&(null===(n=e.debugInfo)||void 0===n?void 0:n.forbidOrphanRendering)&&Wf.isOrphanComponent(e.type))throw new Te(981,"Orphan component found! Trying to render the component ".concat(function(e){var n,t=e[_n]||null;return null!==t&&t.debugInfo?(n=t.debugInfo).filePath&&n.lineNumber?"".concat(n.className," (at ").concat(n.filePath,":").concat(n.lineNumber,")"):n.className:Nn(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 kv=function(e){Ei(t,e);var n=Ui(t);function t(e,r){var o,i;return ki(this,t),Si(bi(o=n.call(this)),"componentDef",void 0),Si(bi(o),"ngModule",void 0),Si(bi(o),"selector",void 0),Si(bi(o),"componentType",void 0),Si(bi(o),"ngContentSelectors",void 0),Si(bi(o),"isBoundToModule",void 0),Si(bi(o),"cachedInputs",null),Si(bi(o),"cachedOutputs",null),o.componentDef=e,o.ngModule=r,o.componentType=e.type,o.selector=hc(e.selectors),o.ngContentSelectors=null!==(i=e.ngContentSelectors)&&void 0!==i?i:[],o.isBoundToModule=!!r,o}return Ii(t,[{key:"inputs",get:function(){var e,n;return null!==(e=this.cachedInputs)&&void 0!==e||(this.cachedInputs=(n=this.componentDef.inputs,Object.keys(n).map(function(e){var t=Vi(n[e],3),r=t[0],o=t[1],i=t[2],a={propName:r,templateName:e,isSignal:0!==(o&pc.SignalBased)};return i&&(a.transform=i),a}))),this.cachedInputs}},{key:"outputs",get:function(){var e,n;return null!==(e=this.cachedOutputs)&&void 0!==e||(this.cachedOutputs=(n=this.componentDef.outputs,Object.keys(n).map(function(e){return{propName:n[e],templateName:e}}))),this.cachedOutputs}},{key:"create",value:function(e,n,t,r,o,i){ka(22);var a,u,l=J(null);try{var s=this.componentDef;ngDevMode&&Dv(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(!lc(i))break;i=a}o++}return r.length&&(n=t).push.apply(n,[1].concat(Fi(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[bv].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[bv].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,T=r[Symbol.iterator]();!(_=(S=T.next()).done);_=!0){var C=S.value,E="function"==typeof C?C:C.type,O=ngDevMode?Mt(E):Dt(E);if(ngDevMode&&!O.standalone)throw new Te(907,"The ".concat(Nn(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==T.return||T.return()}finally{if(x)throw I}}}var N=Ic(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=Oi(n,Bt)?n:null==n?void 0:n.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new qf(t,r):t}(s,r||this.ngModule,e),f=function(e){var n=e.get(Pf,null);if(null===n)throw new Te(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(jf,null),r=e.get(oi,null),o=!1;return("undefined"==typeof ngDevMode||ngDevMode)&&(o=e.get(Ps,Rs)),{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(ul,al)||t===Tl.ShadowDom;return e.selectRootElement(n,o)}(v,t,s.encapsulation,d):(a=v,u=(s.selectors[0][0]||"div").toLowerCase(),bc(a,u,"svg"===u?"svg":"math"===u?Ir:null)),p=(null==i?void 0:i.some(_v))||(null==o?void 0:o.some(function(e){return"function"!=typeof e&&e.bindings.some(_v)})),g=Tc(null,c,null,512|Cc(s),null,null,f,v,d,null,null);g[26]=h,No(g);var y=null;try{var m=ov(nr,c,g,"#host",function(){return c.directiveRegistry},!0,0);h&&(xc(v,h,m),Uu(h,g)),jc(c,g,m),jl(c,m,g),iv(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=Ar(m.index,g),g[8]=y[8],Jc(c,g,null)}catch(e){throw null!==y&&Ru(y),Ru(g),e}finally{ka(23),Vo()}return new xv(this.componentType,g,!!p)}finally{J(l)}}}]),t}(Af);function _v(e){var n=e[bv].kind;return"input"===n||"twoWay"===n}var xv=function(e){Ei(t,e);var n=Ui(t);function t(e,r,o){var i;return ki(this,t),Si(bi(i=n.call(this)),"_rootLView",void 0),Si(bi(i),"_hasInputBindings",void 0),Si(bi(i),"instance",void 0),Si(bi(i),"hostView",void 0),Si(bi(i),"changeDetectorRef",void 0),Si(bi(i),"componentType",void 0),Si(bi(i),"location",void 0),Si(bi(i),"previousInputValues",null),Si(bi(i),"_tNode",void 0),i._rootLView=r,i._hasInputBindings=o,i._tNode=Er(r[1],nr),i.location=ku(i._tNode,r),i.instance=Ar(i._tNode.index,r)[8],i.hostView=i.changeDetectorRef=new Jd(r,void 0),i.componentType=e,i}return Ii(t,[{key:"setInput",value:function(e,n){if(this._hasInputBindings&&ngDevMode)throw new Te(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=Gc(r,o[1],o,e,n);if(this.previousInputValues.set(e,n),Wd(Ar(r.index,o),1),ngDevMode&&!i){var a=Nn(this.componentType),u="Can't set value of the '".concat(e,"' input on the '").concat(a,"' component. ");Bs(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 uu(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),t}(Nf);var Iv=function e(){ki(this,e)};Si(Iv,"__NG_ELEMENT_ID__",function(){return Ev(ao(),to())});var Sv=function(e){Ei(t,e);var n=Ui(t);function t(e,r,o){var i;return ki(this,t),Si(bi(i=n.call(this)),"_lContainer",void 0),Si(bi(i),"_hostTNode",void 0),Si(bi(i),"_hostLView",void 0),i._lContainer=e,i._hostTNode=r,i._hostLView=o,i}return Ii(t,[{key:"element",get:function(){return ku(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new uu(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Qa(this._hostTNode,this._hostLView);if(Ha(e)){var n=Ua(e,this._hostLView),t=Ba(e);ngDevMode&&xr(n,t);var r=n[1].data[t+8];return new uu(r,n)}return new uu(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var n=Tv(this._lContainer);return null!==n&&n[e]||null}},{key:"length",get:function(){return this._lContainer.length-tr}},{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,Xc(this._hostTNode,i)),a}},{key:"createComponent",value:function(e,n,t,r,o,i,a){var u,l=e&&!aa(e);if(l)ngDevMode&&We("object"!==(void 0===n?"undefined":Li(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&&(Ke(bt(e),"Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator."),We("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&&Xe("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 kv(bt(e)),f=t||this.parentInjector;if(!o&&null==d.ngModule){var v=(l?f:this.parentInjector).get(Bt,null);v&&(o=v)}var h=bt(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,Xc(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(or(r[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var i=r[3];ngDevMode&&We(or(i),!0,"An attached view should have its PARENT point to a container.");var a=new Sv(i,i[5],i[3]);a.detach(a.indexOf(e))}}var u=this._adjustIndex(n),l=this._lContainer;return $d(l,r,u,t),e.attachToViewContainerRef(),ot(Cv(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=Tv(this._lContainer);return null!==n?n.indexOf(e):-1}},{key:"remove",value:function(e){var n=this._adjustIndex(e,-1),t=Gd(this._lContainer,n);t&&(it(Cv(this._lContainer),n),cd(t[1],t))}},{key:"detach",value:function(e){var n=this._adjustIndex(e,-1),t=Gd(this._lContainer,n);return t&&null!=it(Cv(this._lContainer),n)?new Jd(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&&(Qe(e,-1,"ViewRef index must be positive, got ".concat(e)),Ye(e,this.length+1+n,"index")),e)}}]),t}(Iv);function Tv(e){return e[8]}function Cv(e){return e[8]||(e[8]=[])}function Ev(e,n){var t;ngDevMode&&Pa(e,15);var r=n[e.index];return or(r)?t=r:(t=Zd(r,n,null,e),n[e.index]=t,Oc(n,t)),Ov(t,n,e,r),new Sv(t,e,n)}var Ov=function(e,n,t,r){if(e[7])return;var o;o=8&t.type?Sr(r):function(e,n){var t=e[11],r=t.createComment(ngDevMode?"container":""),o=Cr(n,e),i=t.parentNode(o);return Mc(t,i,r,t.nextSibling(o),!1),r}(n,t);e[7]=o};var Nv=function(){function e(n){ki(this,e),Si(this,"queryList",void 0),Si(this,"matches",null),this.queryList=n}return Ii(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Av=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ki(this,e),Si(this,"queries",void 0),this.queries=n}return Ii(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!==qv(e,n).matches&&this.queries[n].setDirty()}}]),e}(),Rv=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;ki(this,e),Si(this,"flags",void 0),Si(this,"read",void 0),Si(this,"predicate",void 0),this.flags=t,this.read=r,this.predicate="string"==typeof n?n.split(",").map(function(e){return e.trim()}):n},Pv=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];ki(this,e),Si(this,"queries",void 0),this.queries=n}return Ii(e,[{key:"elementStart",value:function(e,n){ngDevMode&&wr(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&&wr(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&&nn(this.queries,e),this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),jv=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;ki(this,e),Si(this,"metadata",void 0),Si(this,"matches",null),Si(this,"indexInDeclarationView",-1),Si(this,"crossesNgTemplate",!1),Si(this,"_declarationNodeIndex",void 0),Si(this,"_appliesToNextNode",!0),this.metadata=n,this._declarationNodeIndex=t}return Ii(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,Vv(n,o)),this.matchTNodeWithReadOption(e,n,ru(n,e,o,!1,!1))}else t===Kd?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,ru(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===_u||r===Iv||r===Kd&&4&n.type)this.addMatch(n.index,-2);else{var o=ru(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 Vv(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 Fv(e,n,t,r){return-1===t?function(e,n){return 11&e.type?ku(e,n):4&e.type?Xd(e,n):null}(n,e):-2===t?function(e,n,t){if(t===_u)return ku(n,e);if(t===Kd)return Xd(n,e);if(t===Iv)return ngDevMode&&Pa(n,15),Ev(n,e);ngDevMode&&Xe("Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ".concat(Re(t),"."))}(e,n,r):ou(e,e[1],t,n)}function Lv(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&&nn(i,s);var c=i[s];u.push(Fv(n,c,a[l+1],t.metadata.read))}}o.matches=u}return o.matches}function Hv(e,n,t,r){var o=e.queries.getByIndex(t),i=o.matches;if(null!==i)for(var a=Lv(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&&gr(c);for(var d=tr;d<c.length;d++){var f=c[d];f[16]===f[3]&&Hv(f[1],f,s,r)}if(null!==c[9])for(var v=c[9],h=0;h<v.length;h++){var p=v[h];Hv(p[1],p,s,r)}}}return r}function Bv(e,n){return ngDevMode&&Ke(e[18],"LQueries should be defined when trying to load a query"),ngDevMode&&nn(e[18].queries,n),e[18].queries[n].queryList}function Uv(e,n,t){var r,o,i=new Cu(!(4&~t));return function(e,n,t,r){var o=qr(n);ngDevMode&&Ke(t,"Cleanup context is mandatory when registering framework-level destroy hooks"),o.push(t),e.firstCreatePass?$r(e).push(r,o.length-1):ngDevMode&&Object.freeze($r(e))}(e,n,i,i.destroy),(null!==(o=(r=n)[Jt])&&void 0!==o?o:r[18]=new Av).queries.push(new Nv(i))-1}function zv(e,n,t){ngDevMode&&He(n,"Expecting flags");var r=ro();return r.firstCreatePass&&(Zv(r,new Rv(e,n,t),-1),2&~n||(r.staticViewQueries=!0)),Uv(r,to(),n)}function Wv(e,n,t,r){ngDevMode&&He(t,"Expecting flags");var o=ro();if(o.firstCreatePass){var i=ao();Zv(o,new Rv(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 Uv(o,to(),t)}function Zv(e,n,t){null===e.queries&&(e.queries=new Pv),e.queries.track(new jv(n,t))}function qv(e,n){return ngDevMode&&Ke(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(n)}function $v(e,n){var t=e[1],r=qv(t,n);return r.crossesNgTemplate?Hv(t,e,n,[]):Lv(t,e,r,n)}function Yv(e,n){var t=e[Q];t._lView=to(),t._queryIndex=n,t._queryList=Bv(t._lView,n),t._queryList.onDirty(function(){return t._dirtyCounter.update(function(e){return e+1})})}function Gv(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(Xv))}return r}return Qv.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){Jv.delete(e)}(t)});n.push(c)}),Qv=new Map,Promise.all(n).then(function(){})}var Qv=new Map,Jv=new Set;function Kv(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function Xv(e){return"string"==typeof e?e:e.text()}var eh=new Map;function nh(e,n){!function(e,n,t){if(n&&n!==t)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Re(n)," vs ").concat(Re(n.name)))}(n,eh.get(n)||null,e),eh.set(n,e)}function th(e,n,t){var r=to(),o=Ho(),i=Cr(o,r);if(2===o.type&&"iframe"===n.toLowerCase()){var a=i;a.src="",a.srcdoc=Fl(""),_c(r[11],a);var u=ngDevMode&&"Angular has detected that the `".concat(t,"` was applied ")+"as a binding to an <iframe>".concat(Ws(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 Te(-910,u)}return e}var rh=new Set;function oh(e){var n,t;rh.has(e)||(rh.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 ih=function e(){ki(this,e)},ah=function e(){ki(this,e)},uh=function(){Ei(n,ih);var e=Ui(n);function n(t,r,o){var i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];ki(this,n),Si(bi(i=e.call(this)),"ngModuleType",void 0),Si(bi(i),"_parent",void 0),Si(bi(i),"_bootstrapComponents",[]),Si(bi(i),"_r3Injector",void 0),Si(bi(i),"instance",void 0),Si(bi(i),"destroyCbs",[]),Si(bi(i),"componentFactoryResolver",new Mv(bi(i))),i.ngModuleType=t,i._parent=r;var u=mt(t);return ngDevMode&&Ke(u,"NgModule '".concat(Re(t),"' is not a subtype of 'NgModuleType'.")),i._bootstrapComponents=Js(u.bootstrap),i._r3Injector=Yo(t,r,[{provide:ih,useValue:bi(i)},{provide:Rf,useValue:i.componentFactoryResolver}].concat(Fi(o)),Re(t),new Set(["environment"])),a&&i.resolveInjectorInitializers(),i}return Ii(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&&Ke(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&&Ke(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}]),n}(),lh=function(e){Ei(t,e);var n=Ui(t);function t(e){var r;return ki(this,t),Si(bi(r=n.call(this)),"moduleType",void 0),r.moduleType=e,r}return Ii(t,[{key:"create",value:function(e){return new uh(this.moduleType,e,[])}}]),t}(ah);var sh=function(){Ei(n,ih);var e=Ui(n);function n(t){var r;ki(this,n),Si(bi(r=e.call(this)),"injector",void 0),Si(bi(r),"componentFactoryResolver",new Mv(bi(r))),Si(bi(r),"instance",null);var o=new Ut(Fi(t.providers).concat([{provide:ih,useValue:bi(r)},{provide:Rf,useValue:r.componentFactoryResolver}]),t.parent||Ht(),t.debugName,new Set(["environment"]));return r.injector=o,t.runEnvironmentInitializers&&o.resolveInjectorInitializers(),r}return Ii(n,[{key:"destroy",value:function(){this.injector.destroy()}},{key:"onDestroy",value:function(e){this.injector.onDestroy(e)}}]),n}();function ch(e,n){return new sh({providers:e,parent:n,debugName:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,runEnvironmentInitializers:!0}).injector}var dh=function(){function e(n){ki(this,e),Si(this,"_injector",void 0),Si(this,"cachedInjectors",new Map),this._injector=n}return Ii(e,[{key:"getOrCreateStandaloneInjector",value:function(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){var n=It(!1,e.type),t=n.length>0?ch([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 fh(e){return Wi(function(){("undefined"==typeof ngDevMode||ngDevMode)&&Oe();var n,t=bh(e),r=Pi(Ri({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Su.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?function(e){return e.get(dh).getOrCreateStandaloneInjector(r)}:null,getExternalStyles:null,signals:null!==(n=e.signals)&&void 0!==n&&n,data:e.data||{},encapsulation:e.encapsulation||Tl.Emulated,styles:e.styles||vt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&oh("NgStandalone"),Mh(r);var o=e.dependencies;return r.directiveDefs=Dh(o,!1),r.pipeDefs=Dh(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;Ze(void 0===s?"undefined":Li(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(kh.has(g)){var y=kh.get(g);y!==e.type&&console.warn(Ce(-912,"Component ID generation collision detected. Components '".concat(y.name,"' and '").concat(e.type.name,"' with selector '").concat(hc(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 kh.set(g,e.type);return g}(r),r})}function vh(e){return bt(e)||Dt(e)}function hh(e){return null!==e}function ph(e){return Wi(function(){return{type:e.type,bootstrap:e.bootstrap||vt,declarations:e.declarations||vt,imports:e.imports||vt,exports:e.exports||vt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}})}function gh(e,n){if(null==e)return ft;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=pc.None,s=null;t[a]=[r,l,s],n[a]=u}return t}function yh(e){if(null==e)return ft;var n={};for(var t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function mh(e){return Wi(function(){var n=bh(e);return Mh(n),n})}function wh(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 bh(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||ft,exportAs:e.exportAs||null,standalone:null===(n=e.standalone)||void 0===n||n,signals:!0===e.signals,selectors:e.selectors||vt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:gh(e.inputs,t),outputs:yh(e.outputs),debugInfo:null}}function Mh(e){var n;null===(n=e.features)||void 0===n||n.forEach(function(n){return n(e)})}function Dh(e,n){if(!e)return null;var t=n?kt:vh;return function(){return("function"==typeof e?e():e).map(function(e){return t(e)}).filter(hh)}}Si(dh,"ɵprov",on({token:dh,providedIn:"environment",factory:function(){return new dh($n(Bt))}}));var kh=new Map;function _h(e){return Object.getPrototypeOf(e.prototype).constructor}function xh(e){for(var n=_h(e.type),t=!0,r=[e];n;){var o=void 0;if(lr(e))o=n.ɵcmp||n.ɵdir;else{if(n.ɵcmp)throw new Te(903,ngDevMode&&"Directives cannot inherit Components. Directive ".concat(Nn(e.type)," is attempting to extend component ").concat(Nn(n)));o=n.ɵdir}if(o){if(t){r.push(o);var i=e;i.inputs=Sh(e.inputs),i.declaredInputs=Sh(e.declaredInputs),i.outputs=Sh(e.outputs);var a=o.hostBindings;a&&Eh(e,a);var u=o.viewQuery,l=o.contentQueries;if(u&&Th(e,u),l&&Ch(e,l),Ih(e,o),Ae(e.outputs,o.outputs),lr(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===xh&&(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=Fa(o.hostAttrs,t=Fa(t,o.hostAttrs))}}(r)}function Ih(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 Sh(e){return e===ft?{}:e===vt?[]:e}function Th(e,n){var t=e.viewQuery;e.viewQuery=t?function(e,r){n(e,r),t(e,r)}:n}function Ch(e,n){var t=e.contentQueries;e.contentQueries=t?function(e,r,o){n(e,r,o),t(e,r,o)}:n}function Eh(e,n){var t=e.hostBindings;e.hostBindings=t?function(e,r){n(e,r),t(e,r)}:n}var Oh=["providersResolver"],Nh=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Ah(e){var n=_h(e.type),t=void 0;t=lr(e)?n.ɵcmp:n.ɵdir;var r=e,o=!0,i=!1,a=void 0;try{for(var u,l=Oh[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(lr(t)){var c=!0,d=!1,f=void 0;try{for(var v,h=Nh[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 Rh(e){var n=function(n){var t=Array.isArray(e);if(null===n.hostDirectives)n.resolveHostDirectives=Ph,n.hostDirectives=t?e.map(Fh):[e];else if(t){var r;(r=n.hostDirectives).unshift.apply(r,Fi(e.map(Fh)))}else n.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function Ph(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),jh(a,n,r),o.set(a,[u,n.length-1])}0===i&&lr(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 jh(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){Vh(Fh(v.value),n,t)}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}else Vh(l,n,t)}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}}function Vh(e,n,t){var r=Dt(e.directive);("undefined"==typeof ngDevMode||ngDevMode)&&function(e,n){var t=e.directive;if(null===n){if(null!==bt(t))throw new Te(310,"Host directive ".concat(t.name," cannot be a component."));throw new Te(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 Te(308,"Host directive ".concat(n.type.name," must be standalone."));Hh("input",n,e.inputs),Hh("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)&&We(e[r],e[t],"Conflicting host directive input alias ".concat(t,".")),e[r]=o}}(r.declaredInputs,e.inputs),jh(r,n,t),t.set(r,e),n.push(r)}function Fh(e){return"function"==typeof e?{directive:Fe(e),inputs:ft,outputs:ft}:{directive:Fe(e.directive),inputs:Lh(e.inputs),outputs:Lh(e.outputs)}}function Lh(e){if(void 0===e||0===e.length)return ft;for(var n={},t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function Hh(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 Te(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 Te(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 Bh(e,n,t,r,o,i,a,u,l,s,c){var d=t+nr,f=n.firstCreatePass?function(e,n,t,r,o,i,a,u,l){ngDevMode&&wr(n);var s=n.consts,c=cf(n,e,4,a||null,u||null);Kr()&&Qf(n,t,c,jr(s,l),Uc),c.mergedAttrs=Fa(c.mergedAttrs,c.attrs),_a(n,c);var d=c.tView=Ic(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),so(f,!1);var v=Wh(n,e);Zo()&&Md(n,e,v,f),Uu(v,e);var h=Zd(v,e,v,f);return e[d]=h,Oc(e,h),ur(f)&&jc(n,e,f),null!=s&&Vc(e,f,c),f}function Uh(e,n,t,r,o,i,a,u){var l=to(),s=ro();return Bh(l,s,e,n,t,r,o,jr(s.consts,i),void 0,a,u),Uh}var zh,Wh=function(e,n,t,r){return qo(!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"}(zh||(zh={}));var Zh,qh;!function(e){e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error"}(Zh||(Zh={})),function(e){e[e.Initial=-1]="Initial"}(qh||(qh={}));var $h,Yh;
|
|
32
|
+
/*!
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright Google LLC All Rights Reserved.
|
|
35
|
+
*
|
|
36
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
37
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
38
|
+
*/
|
|
39
|
+
function Gh(e,n,t){var r=Kh(e);null===n[r]&&(n[r]=[]),n[r].push(t)}function Qh(e,n){var t=Kh(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 Jh(e){Qh(1,e),Qh(0,e),Qh(2,e)}function Kh(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"}($h||($h={})),function(e){e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(Yh||(Yh={}));var Xh=new fn(ngDevMode?"TracingService":""),ep=!1,np=function(){Ei(t,n.Subject);var e=Ui(t);function t(){var n,r,o,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(ki(this,t),Si(bi(n=e.call(this)),"__isAsync",void 0),Si(bi(n),"destroyRef",void 0),Si(bi(n),"pendingTasks",void 0),n.__isAsync=i,Gt())&&(n.destroyRef=null!==(r=Gn(Jo,{optional:!0}))&&void 0!==r?r:void 0,n.pendingTasks=null!==(o=Gn(di,{optional:!0}))&&void 0!==o?o:void 0);return n}return Ii(t,[{key:"emit",value:function(e){var n=J(null);try{Ti(Ci(t.prototype),"next",this).call(this,e)}finally{J(n)}}},{key:"subscribe",value:function(e,r,o){var i=e,a=r||function(){return null},u=o;if(e&&"object"===(void 0===e?"undefined":Li(e))){var l,s,c,d=e;i=null===(l=d.next)||void 0===l?void 0:l.bind(d),a=null===(s=d.error)||void 0===s?void 0:s.bind(d),u=null===(c=d.complete)||void 0===c?void 0:c.bind(d)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),u&&(u=this.wrapInTimeout(u)));var f=Ti(Ci(t.prototype),"subscribe",this).call(this,{next:i,error:a,complete:u});return Oi(e,n.Subscription)&&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}();function tp(e){var n,t;function r(){e=vi;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 rp(e){return queueMicrotask(function(){return e()}),function(){e=vi}}var op=function(){function e(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:console;ki(this,e),Si(this,"createTask",void 0),Si(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 Ii(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}(),ip="isAngularZone",ap=ip+"_ID",up=0,lp=function(){function e(n){ki(this,e),Si(this,"hasPendingMacrotasks",!1),Si(this,"hasPendingMicrotasks",!1),Si(this,"isStable",!0),Si(this,"onUnstable",new np(!1)),Si(this,"onMicrotaskEmpty",new np(!1)),Si(this,"onStable",new np(!1)),Si(this,"onError",new np(!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?ep:l;if("undefined"==typeof Zone)throw new Te(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 op("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(){tp(function(){e.callbackScheduled=!1,dp(e),e.isCheckStableRunning=!0,cp(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(function(){n()}):e._outer.run(function(){n()}),dp(e))}(c)},v=up++,(c=h)._inner=c._inner.fork({name:"angular",properties:(d={},Si(d,ip,!0),Si(d,ap,v),Si(d,ap+v,!0),d),onInvokeTask:function(e,n,t,r,o,i){if(function(e){return pp(e,"__ignore_ng_zone__")}(i))return e.invokeTask(t,r,o,i);try{return fp(c),e.invokeTask(t,r,o,i)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||c.shouldCoalesceRunChangeDetection)&&f(),vp(c)}},onInvoke:function(e,n,t,r,o,i,a){try{return fp(c),e.invoke(t,r,o,i,a)}finally{!c.shouldCoalesceRunChangeDetection||c.callbackScheduled||function(e){return pp(e,"__scheduler_tick__")}(i)||f(),vp(c)}},onHasTask:function(e,n,t,r){e.hasTask(t,r),n===t&&("microTask"==r.change?(c._hasPendingMicrotasks=r.microTask,dp(c),cp(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 Ii(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,sp,vi,vi);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(ip)}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Te(909,ngDevMode&&"Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Te(909,ngDevMode&&"Expected to not be in Angular Zone, but it is!")}}]),e}(),sp={};function cp(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 dp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vp(e){e._nesting--,cp(e)}var hp=function(){function e(){ki(this,e),Si(this,"hasPendingMicrotasks",!1),Si(this,"hasPendingMacrotasks",!1),Si(this,"isStable",!0),Si(this,"onUnstable",new np),Si(this,"onMicrotaskEmpty",new np),Si(this,"onStable",new np),Si(this,"onError",new np)}return Ii(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 pp(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 gp=function(){function e(){ki(this,e),Si(this,"impl",null)}return Ii(e,[{key:"execute",value:function(){var e;null===(e=this.impl)||void 0===e||e.execute()}}]),e}();Si(gp,"ɵprov",on({token:gp,providedIn:"root",factory:function(){return new gp}}));var yp=function(){return[0,1,2,3]}(),mp=function(){function e(){ki(this,e),Si(this,"ngZone",Gn(lp)),Si(this,"scheduler",Gn(oi)),Si(this,"errorHandler",Gn(Xo,{optional:!0})),Si(this,"sequences",new Set),Si(this,"deferredRegistrations",new Set),Si(this,"executing",!1),Gn(Xh,{optional:!0})}return Ii(e,[{key:"execute",value:function(){var e=this,n=this.sequences.size>0;n&&ka(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=yp[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&&ka(17)}},{key:"register",value:function(e){var n,t,r=e.view;void 0!==r?((null!==(t=(n=r)[er])&&void 0!==t?t:n[25]=[]).push(e),Ur(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(Yh.AFTER_NEXT_RENDER,e):e()}}]),e}();Si(mp,"ɵprov",on({token:mp,providedIn:"root",factory:function(){return new mp}}));var wp=function(){function e(n,t,r,o,i){var a=this,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;ki(this,e),Si(this,"impl",void 0),Si(this,"hooks",void 0),Si(this,"view",void 0),Si(this,"once",void 0),Si(this,"snapshot",void 0),Si(this,"erroredOrDestroyed",!1),Si(this,"pipelinedValue",void 0),Si(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 Ii(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 bp(e,n){var t;ngDevMode&&si(bp,"Call `afterEveryRender` outside of a reactive context. For example, schedule the render callback inside the component constructor`."),ngDevMode&&!(null==n?void 0:n.injector)&&Qt(bp);var r=null!==(t=null==n?void 0:n.injector)&&void 0!==t?t:Gn(Go);return"undefined"!=typeof ngServerMode&&ngServerMode?kp:(oh("NgAfterRender"),Dp(e,r,n,!1))}function Mp(e,n){var t;!(null==n?void 0:n.injector)&&Qt(Mp);var r=null!==(t=null==n?void 0:n.injector)&&void 0!==t?t:Gn(Go);return"undefined"!=typeof ngServerMode&&ngServerMode?kp:(oh("NgAfterNextRender"),Dp(e,r,n,!0))}function Dp(e,n,t,r){var o,i,a=n.get(gp);null!==(i=(o=a).impl)&&void 0!==i||(o.impl=n.get(mp));var u=n.get(Xh,null,{optional:!0}),l=!0!==(null==t?void 0:t.manualCleanup)?n.get(Jo):null,s=n.get(ci,null,{optional:!0}),c=new wp(a.impl,function(e){return Oi(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 kp={destroy:function(){}};function _p(e){return e+1}function xp(e,n){var t=e[1],r=_p(n.index);return ngDevMode&&Mr(t,r),e[r]}function Ip(e,n){var t=_p(n.index);return ngDevMode&&Mr(e,t),e.data[t]}function Sp(e,n){var t,r,o,i;return n===Zh.Placeholder?null!==(r=null===(t=e.placeholderBlockConfig)||void 0===t?void 0:t[0])&&void 0!==r?r:null:n===Zh.Loading&&null!==(i=null===(o=e.loadingBlockConfig)||void 0===o?void 0:o[0])&&void 0!==i?i:null}function Tp(e){var n,t;return null!==(t=null===(n=e.loadingBlockConfig)||void 0===n?void 0:n[1])&&void 0!==t?t:null}function Cp(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 Ep(e){We(e.loadingState,zh.COMPLETE,"Expecting all deferred dependencies to be loaded.")}function Op(e,n,t){var r,o,i,a,u=Ip(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)}
|
|
40
|
+
/*!
|
|
41
|
+
* @license
|
|
42
|
+
* Copyright Google LLC All Rights Reserved.
|
|
43
|
+
*
|
|
44
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
45
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
46
|
+
*/function Np(e,n,t){var r=t.get(lp);return function(e,n,t){var r=vl.get(e);return gl=gl||t(),r||(r=new ml,gl.observe(e),vl.set(e,r),yl++),r.callbacks.add(n),function(){vl.has(e)&&(r.callbacks.delete(n),0===r.callbacks.size&&(null==gl||gl.unobserve(e),vl.delete(e),yl--),0===yl&&(null==gl||gl.disconnect(),gl=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&&vl.has(a.target)&&vl.get(a.target).listener()}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}})})})}function Ap(e,n){var t,r=Tr(nr+n,e);return ngDevMode&&(me(t=r,Element)||Xe("The provided value must be an element but got ".concat(Re(t)))),r}function Rp(e,n,t,r,o,i,a){var u,l=e[9],s=l.get(lp);u=bp({read:function(){if(cr(e))u.destroy();else{var c=xp(e,n),d=c[1];if(d===qh.Initial||d===Zh.Placeholder){var f=function(e,n,t){if(null==t)return e;if(t>=0)return Lr(t,e);var r,o=e[n.index];ngDevMode&&gr(o);var i=null!==(r=o[10])&&void 0!==r?r:null;return ngDevMode&&null!==i&&(We(xp(e,n)[1],Zh.Placeholder,"Expected a placeholder to be rendered in this defer block."),mr(i)),i}(e,n,r);if(f&&(u.destroy(),!cr(f))){var v=Ap(f,t),h=o(v,function(){s.run(function(){e!==f&&Wr(f,h),i()})},l);e!==f&&zr(f,h),Gh(a,c,h)}}else u.destroy()}}},{injector:l})}function Pp(e,n){var t=n.get(jp);return t.add(e),function(){return t.remove(e)}}var jp=function(){function e(){ki(this,e),Si(this,"executingCallbacks",!1),Si(this,"idleId",null),Si(this,"current",new Set),Si(this,"deferred",new Set),Si(this,"ngZone",Gn(lp)),Si(this,"requestIdleCallbackFn",("undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout).bind(globalThis)),Si(this,"cancelIdleCallbackFn",("undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout).bind(globalThis))}return Ii(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 Vp(e){return function(n,t){return Fp(e,n,t)}}function Fp(e,n,t){var r=t.get(Lp),o=t.get(lp);return r.add(e,n,o),function(){return r.remove(n)}}Si(jp,"ɵprov",on({token:jp,providedIn:"root",factory:function(){return new jp}}));var Lp=function(){function e(){ki(this,e),Si(this,"executingCallbacks",!1),Si(this,"timeoutId",null),Si(this,"invokeTimerAt",null),Si(this,"current",[]),Si(this,"deferred",[])}return Ii(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}}lt(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&&ut(e,t,2),t}},{key:"scheduleTimer",value:function(e){var n=this,t=function(){n.clearTimeout(),n.executingCallbacks=!0;for(var t=Fi(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&&ut(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}();Si(Lp,"ɵprov",on({token:Lp,providedIn:"root",factory:function(){return new Lp}}));var Hp=function(){function e(){ki(this,e),Si(this,"cachedInjectors",new Map)}return Ii(e,[{key:"getOrCreateInjector",value:function(e,n,t,r){if(!this.cachedInjectors.has(e)){var o=t.length>0?ch(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}();Si(Hp,"ɵprov",on({token:Hp,providedIn:"environment",factory:function(){return new Hp}}));var Bp=new fn("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),Up=new fn(ngDevMode?"DEFER_BLOCK_CONFIG":"");function zp(e,n,t){return e.get(Hp).getOrCreateInjector(n,e,t,ngDevMode?"DeferBlock Injector":"")}function Wp(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t[3],i=o[1];if(!cr(o)){ngDevMode&&dr(n,o);var a=xp(o,n);ngDevMode&&Ke(a,"Expected a defer block state defined");var u,l=a[1],s=a[7];if(!(null!==s&&e<s))if(Yp(l,e)&&Yp(null!==(u=a[0])&&void 0!==u?u:-1,e)){var c=Ip(i,n),d=!r&&("undefined"==typeof ngServerMode||!ngServerMode)&&(null!==Tp(c)||null!==Sp(c,Zh.Loading)||Sp(c,Zh.Placeholder));ngDevMode&&d&&Ke(Jp,"Expected scheduling function to be defined");var f=d?Jp:Zp;try{f(e,a,t,n,o)}catch(e){Yc(o,e)}}}}function Zp(e,n,t,r,o){ka(20);var i=function(e,n,t){var r=Ip(n[1],t);switch(e){case Zh.Complete:return r.primaryTmplIndex;case Zh.Loading:return r.loadingTmplIndex;case Zh.Error:return r.errorTmplIndex;case Zh.Placeholder:return r.placeholderTmplIndex;default:return ngDevMode&&Xe("Unexpected defer block state: ".concat(e)),null}}(e,o,r);if(null!==i){n[1]=e;var a,u=o[1],l=Er(u,i+nr);if(Yd(t,0),e===Zh.Complete){var s=Ip(u,r),c=s.providers;c&&c.length>0&&(a=function(e,n,t){if(Oi(e,qf)){var r=e.injector,o=zp(e.parentInjector,n,t);return new qf(r,o)}var i=e.get(Bt);if(i!==e){var a=zp(i,n,t);return new qf(e,a)}return zp(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=Kc(o,l,null,{injector:a,dehydratedView:v});if($d(t,p,0,Xc(l,v)),Wd(p,2),h>-1)null===(d=t[6])||void 0===d||d.splice(h,1);if((e===Zh.Complete||e===Zh.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}}ka(21)}function qp(e,n,t,r,o){var i=Date.now(),a=Ip(o[1],r);if(null===n[2]||n[2]<=i){n[2]=null;var u=Tp(a),l=null!==n[3];if(e!==Zh.Loading||null===u||l){e>Zh.Loading&&l&&(n[3](),n[3]=null,n[0]=null),Zp(e,n,t,r,o);var s=Sp(a,e);null!==s&&(n[2]=i+s,$p(s,n,r,t,o))}else{n[0]=e;var c=$p(u,n,r,t,o);n[3]=c}}else n[0]=e}function $p(e,n,t,r,o){return Fp(e,function(){var e=n[0];n[2]=null,n[0]=null,null!==e&&Wp(e,t,r)},o[9])}function Yp(e,n){return e<n}function Gp(e,n){var t=e[n.index];ngDevMode&&gr(t),Wp(Zh.Placeholder,n,t)}function Qp(e,n,t){ngDevMode&&Ke(e.loadingPromise,"Expected loading Promise to exist on this defer block"),e.loadingPromise.then(function(){e.loadingState===zh.COMPLETE?(ngDevMode&&Ep(e),Wp(Zh.Complete,n,t)):e.loadingState===zh.FAILED&&Wp(Zh.Error,n,t)})}var Jp=null;function Kp(e,n,t,r){var o=e.consts;null!=t&&(n.placeholderBlockConfig=jr(o,t)),null!=r&&(n.loadingBlockConfig=jr(o,r)),null===Jp&&(Jp=qp)}function Xp(e,n,t,r){return Wi(function(){var r,o=e;null!==n&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?(r=o.decorators).push.apply(r,Fi(n)):o.decorators=n);null!==t&&(o.ctorParameters=t)})}var eg=function(){function e(){ki(this,e)}return Ii(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();Si(eg,"ɵfac",function(e){return new(e||eg)}),Si(eg,"ɵprov",on({token:eg,factory:eg.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(eg,[{type:Du,args:[{providedIn:"platform"}]}],null);new(function(){function e(){ki(this,e),Si(this,"resolverToTokenToDependencies",new WeakMap),Si(this,"resolverToProviders",new WeakMap),Si(this,"resolverToEffects",new WeakMap),Si(this,"standaloneInjectorToComponent",new WeakMap)}return Ii(e,[{key:"reset",value:function(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}]),e}());var ng=new fn(""),tg=new fn(""),rg=function(){function e(n,t,r){var o,i=this;(ki(this,e),Si(this,"_ngZone",void 0),Si(this,"registry",void 0),Si(this,"_isZoneStable",!0),Si(this,"_callbacks",[]),Si(this,"_taskTrackingZone",null),Si(this,"_destroyRef",void 0),this._ngZone=n,this.registry=t,Gt())&&(this._destroyRef=null!==(o=Gn(Jo,{optional:!0}))&&void 0!==o?o:void 0);og||(og=r,r.addToWindow(t)),this._watchAngularEvents(),n.run(function(){i._taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return Ii(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(){lp.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}();Si(rg,"ɵfac",function(e){return new(e||rg)($n(lp),$n(ig),$n(tg))}),Si(rg,"ɵprov",on({token:rg,factory:rg.ɵfac})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(rg,[{type:Du}],function(){return[{type:lp},{type:ig},{type:void 0,decorators:[{type:Ki,args:[tg]}]}]});var og,ig=function(){function e(){ki(this,e),Si(this,"_applications",new Map)}return Ii(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==og?void 0:og.findTestabilityInTree(this,e,t))&&void 0!==n?n:null}}]),e}();function ag(e){return!!e&&"function"==typeof e.then}Si(ig,"ɵfac",function(e){return new(e||ig)}),Si(ig,"ɵprov",on({token:ig,factory:ig.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(ig,[{type:Du,args:[{providedIn:"platform"}]}],null);var ug=new fn(ngDevMode?"Application Initializer":""),lg=function(){function e(){var n,t=this;if(ki(this,e),Si(this,"resolve",void 0),Si(this,"reject",void 0),Si(this,"initialized",!1),Si(this,"done",!1),Si(this,"donePromise",new Promise(function(e,n){t.resolve=e,t.reject=n})),Si(this,"appInits",null!==(n=Gn(ug,{optional:!0}))&&void 0!==n?n:[]),Si(this,"injector",Gn(Go)),("undefined"==typeof ngDevMode||ngDevMode)&&!Array.isArray(this.appInits))throw new Te(-209,"Unexpected type of the `APP_INITIALIZER` token value "+"(expected an array, but got ".concat(Li(this.appInits),"). ")+"Please check that the `APP_INITIALIZER` token is configured as a `multi: true` provider.")}return Ii(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=Yt(i.injector,t);if(ag(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}();Si(lg,"ɵfac",function(e){return new(e||lg)}),Si(lg,"ɵprov",on({token:lg,factory:lg.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(lg,[{type:Du,args:[{providedIn:"root"}]}],function(){return[]});var sg=new fn(ngDevMode?"appBootstrapListener":"");function cg(e,n){return Array.isArray(n)?n.reduce(cg,e):Ri({},e,n)}var dg=function(){function e(){var t=this;ki(this,e),Si(this,"_runningTick",!1),Si(this,"_destroyed",!1),Si(this,"_destroyListeners",[]),Si(this,"_views",[]),Si(this,"internalErrorHandler",Gn(ei)),Si(this,"afterRenderManager",Gn(gp)),Si(this,"zonelessEnabled",Gn(ii)),Si(this,"rootEffectScheduler",Gn(hi)),Si(this,"dirtyFlags",0),Si(this,"tracingSnapshot",null),Si(this,"allTestViews",new Set),Si(this,"autoDetectTestViews",new Set),Si(this,"includeAllTestViews",!1),Si(this,"afterTick",new n.Subject),Si(this,"componentTypes",[]),Si(this,"components",[]),Si(this,"internalPendingTask",Gn(di)),Si(this,"_injector",Gn(Bt)),Si(this,"_rendererFactory",null),Si(this,"tickImpl",function(){if(("undefined"==typeof ngDevMode||ngDevMode)&&fg(t._destroyed),t._runningTick)throw new Te(101,ngDevMode&&"ApplicationRef.tick is called recursively");var e=J(null);try{if(t._runningTick=!0,t.synchronize(),"undefined"==typeof ngDevMode||ngDevMode){var n=!0,r=!1,o=void 0;try{for(var i,a=t.allViews[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){i.value.checkNoChanges()}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}}finally{var u;t._runningTick=!1,null===(u=t.tracingSnapshot)||void 0===u||u.dispose(),t.tracingSnapshot=null,J(e),t.afterTick.next(),ka(13)}}),Gn(Xh,{optional:!0})}return Ii(e,[{key:"allViews",get:function(){return Fi((this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys()).concat(Fi(this._views))}},{key:"destroyed",get:function(){return this._destroyed}},{key:"isStable",get:function(){return this.internalPendingTask.hasPendingTasksObservable.pipe(t.map(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]:Go.NULL;return this._injector.get(lp).run(function(){ka(10),("undefined"==typeof ngDevMode||ngDevMode)&&fg(t._destroyed);var o,i=Oi(e,Af);if(!t._injector.get(lg).done){var a="";if("undefined"==typeof ngDevMode||ngDevMode)a="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&_t(e)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new Te(405,a)}i?o=e:o=t._injector.get(Rf).resolveComponentFactory(e);t.componentTypes.push(o.componentType);var u=o.isBoundToModule?void 0:t._injector.get(ih),l=n||o.selector,s=o.create(r,[],l,u),c=s.location.nativeElement,d=s.injector.get(ng,null);(null==d||d.registerApplication(c),s.onDestroy(function(){t.detachView(s.hostView),vg(t.components,s),null==d||d.unregisterApplication(c)}),t._loadComponent(s),"undefined"==typeof ngDevMode||ngDevMode)&&t._injector.get(eg).log("Angular is running in development mode.");return ka(11,s),s})}},{key:"tick",value:function(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}},{key:"_tick",value:function(){ka(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Yh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}},{key:"synchronize",value:function(){null!==this._rendererFactory||this._injector.destroyed||(this._rendererFactory=this._injector.get(Pf,null,{optional:!0}));for(var e=0;0!==this.dirtyFlags&&e++<10;)ka(14),this.synchronizeOnce(),ka(15);if(("undefined"==typeof ngDevMode||ngDevMode)&&e>=10)throw new Te(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||Hr(d))Vd(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 Hr(e._lView)})?this.dirtyFlags|=2:this.dirtyFlags&=-8}},{key:"attachView",value:function(e){("undefined"==typeof ngDevMode||ngDevMode)&&fg(this._destroyed);var n=e;this._views.push(n),n.attachToAppRef(this)}},{key:"detachView",value:function(e){("undefined"==typeof ngDevMode||ngDevMode)&&fg(this._destroyed);var n=e;vg(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(sg,[]);if(ngDevMode&&!Array.isArray(n))throw new Te(-209,"Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value "+"(expected an array, but got ".concat(void 0===n?"undefined":Li(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)&&fg(this._destroyed),this._destroyListeners.push(e),function(){return vg(n._destroyListeners,e)}}},{key:"destroy",value:function(){if(this._destroyed)throw new Te(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 fg(e){e&&console.warn(Ce(406,"This instance of the `ApplicationRef` has already been destroyed."))}function vg(e,n){var t=e.indexOf(n);t>-1&&e.splice(t,1)}function hg(e){var n=to(),t=ao();if(Gp(n,t),wg(0,n)){var r=n[9];Gh(0,xp(n,t),e(function(){return bg(0,n,t)},r))}}function pg(e,n){if("undefined"==typeof ngServerMode||!ngServerMode){var t=to(),r=t[9],o=ao(),i=Ip(t[1],o);if(i.loadingState===zh.NOT_STARTED){Gh(1,xp(t,o),e(function(){return yg(i,t,o)},r))}}}function gg(e,n,t){if("undefined"==typeof ngServerMode||!ngServerMode){var r=n[9],o=xp(n,t),i=o[6];ngDevMode&&Al(i),Gh(2,o,e(function(){return Mg(r,i)},r))}}function yg(e,n,t){mg(e,n,t)}function mg(e,n,t){var r,o=n[9],i=n[1];if(e.loadingState!==zh.NOT_STARTED)return null!==(r=e.loadingPromise)&&void 0!==r?r:Promise.resolve();var a=xp(n,t),u=function(e,n){return Er(e,n.primaryTmplIndex+nr)}(i,e);e.loadingState=zh.IN_PROGRESS,Qh(1,a);var l=e.dependencyResolverFn;if(ngDevMode){var s=o.get(Bp,null,{optional:!0});s&&(l=s.intercept(l))}var c=o.get(fi).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=bt(v)||Dt(v);if(h)o.push(h);else{var p=kt(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=zh.FAILED,null===e.errorTmplIndex){var g=ngDevMode?Ws(n):"",y=new Te(-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.");Yc(n,y)}}else{e.loadingState=zh.COMPLETE;var m=u.tView;if(o.length>0){m.directiveRegistry=Cp(m.directiveRegistry,o);var w=o.map(function(e){return e.type}),b=It.apply(void 0,[!1].concat(Fi(w)));e.providers=b}i.length>0&&(m.pipeRegistry=Cp(m.pipeRegistry,i))}}),e.loadingPromise.finally(function(){e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(function(){e.loadingPromise=null,e.loadingState=zh.COMPLETE,c()}),e.loadingPromise)}function wg(e,n){if(0===e&&"undefined"!=typeof ngServerMode&&ngServerMode)return!1;var t=n[9].get(Up,null,{optional:!0});return(null==t?void 0:t.behavior)!==$h.Manual}function bg(e,n,t){var r=n[1],o=n[t.index];if(ngDevMode&&gr(o),wg(e,n)){var i=xp(n,t),a=Ip(r,t);switch(Jh(i),a.loadingState){case zh.NOT_STARTED:Wp(Zh.Loading,t,o),mg(a,n,t),a.loadingState===zh.IN_PROGRESS&&Qp(a,t,o);break;case zh.IN_PROGRESS:Wp(Zh.Loading,t,o),Qp(a,t,o);break;case zh.COMPLETE:ngDevMode&&Ep(a),Wp(Zh.Complete,t,o);break;case zh.FAILED:Wp(Zh.Error,t,o);break;default:ngDevMode&&Xe("Unknown defer block state")}}}function Mg(e,n,t){return Dg.apply(this,arguments)}function Dg(){return(Dg=Di(function(e,n,t){var r,o,i,a,u;return zi(this,function(l){switch(l.label){case 0:return r=e.get(kl),r.hydrating.has(n)?[2]:(o=function(e,n){for(var t=n.get(kl),r=n.get(il).get(Il,{}),o=!1,i=e,a=null,u=[];!o&&i;){ngDevMode&&We(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,kg(e,a,t)]:[3,4];case 3:return l.sent(),[3,5];case 4:r.awaitParentBlock(u,Di(function(){return zi(this,function(n){switch(n.label){case 0:return[4,kg(e,a,t)];case 1:return[2,n.sent()]}})})),l.label=5;case 5:return[2]}})})).apply(this,arguments)}function kg(e,n,t){return _g.apply(this,arguments)}function _g(){return(_g=Di(function(e,n,t){var r,o,i,a,u,l,s,c,d;return zi(this,function(f){switch(f.label){case 0:o=e.get(kl),i=o.hydrating,a=e.get(di),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,Sg(c)]):[3,6];case 2:return f.sent(),[4,Ig(e)];case 3:return f.sent(),xp((v=c).lView,v.tNode)[1]===Zh.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)Tf(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),xg(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&&Cf(o.lContainer)}(l,n,o),xg(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),Of(o.get(d),n,o,e.get(dg)),[2]}var v})})).apply(this,arguments)}function xg(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 Ig(e){return new Promise(function(n){return Mp(n,{injector:e})})}function Sg(e){return Tg.apply(this,arguments)}function Tg(){return(Tg=Di(function(e){var n,t,r;return zi(this,function(o){return n=e.tNode,t=e.lView,r=xp(t,n),[2,new Promise(function(e){!function(e,n){Array.isArray(e[8])||(e[8]=[]);e[8].push(n)}(r,e),bg(2,t,n)})]})})).apply(this,arguments)}function Cg(e,n,t){return 0===e?Eg(n,t):2===e?!Eg(n,t):!("undefined"!=typeof ngServerMode&&ngServerMode)}function Eg(e,n){var t=e[9],r=Ip(e[1],n),o=Nl(t),i=null!==r.flags&&!(1&~r.flags);if("undefined"!=typeof ngServerMode&&ngServerMode)return!o||!i;var a=null!==xp(e,n)[6];return!(i&&a&&o)}function Og(e,n){var t,r;return null!==(r=(t=Ip(e,n)).hydrateTriggers)&&void 0!==r?r:t.hydrateTriggers=new Map}Si(dg,"ɵfac",function(e){return new(e||dg)}),Si(dg,"ɵprov",on({token:dg,factory:dg.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(dg,[{type:Du,args:[{providedIn:"root"}]}],function(){return[]});var Ng=!1;function Ag(e,n,t,r,o,i,a,u,l,s){var c,d=to(),f=ro(),v=e+nr,h=Bh(d,f,e,null,0,0),p=d[9];if(f.firstCreatePass){oh("NgDefer"),ngDevMode&&"undefined"!=typeof ngHmrMode&&ngHmrMode&&function(e){Ng||(Ng=!0,e.get(eg).log(Ce(-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:zh.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=_p(n);ngDevMode&&Mr(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,qh.Initial,null,null,null,null,w,m,null,null];!function(e,n,t){var r=e[1],o=_p(n);ngDevMode&&Mr(r,o),e[o]=t}(d,v,D);var k=null;null!==w&&(ngDevMode&&function(e){if(!Nl(e))throw new Te(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(kl)).add(w,{lView:d,tNode:h,lContainer:y}));var _=function(){Jh(D),null!==w&&(null==k||k.cleanup([w]))};Gh(0,D,function(){return Wr(d,_)}),zr(d,_)}function Rg(e){var n=to(),t=Ho();if((ngDevMode&&Op(n[1],t,"when <expression>"),Cg(0,n,t))&&dv(n,Do(),e)){var r=J(null);try{var o=Boolean(e),i=xp(n,t)[1];!1===o&&i===qh.Initial?Gp(n,t):!0!==o||i!==qh.Initial&&i!==Zh.Placeholder||bg(0,n,t)}finally{J(r)}}}function Pg(e){var n=to(),t=Ho();if((ngDevMode&&Op(n[1],t,"prefetch when <expression>"),Cg(1,n,t))&&dv(n,Do(),e)){var r=J(null);try{var o=Boolean(e),i=n[1],a=Ho(),u=Ip(i,a);!0===o&&u.loadingState===zh.NOT_STARTED&&yg(u,n,a)}finally{J(r)}}}function jg(e){var n=to(),t=Ho();if(ngDevMode&&Op(n[1],t,"hydrate when <expression>"),Cg(2,n,t)){var r=Do();if(Og(ro(),t).set(6,null),dv(n,r,e))if("undefined"!=typeof ngServerMode&&ngServerMode)bg(2,n,t);else{var o=n[9],i=J(null);try{if(!0===Boolean(e)){var a=xp(n,t)[6];ngDevMode&&Al(a),Mg(o,a)}}finally{J(i)}}}}function Vg(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"hydrate never"),Cg(2,e,n))&&(Og(ro(),n).set(7,null),"undefined"!=typeof ngServerMode&&ngServerMode&&bg(2,e,n))}function Fg(){var e=to(),n=ao();ngDevMode&&Op(e[1],n,"on idle"),Cg(0,e,n)&&hg(Pp)}function Lg(){var e=to(),n=ao();ngDevMode&&Op(e[1],n,"prefetch on idle"),Cg(1,e,n)&&pg(Pp)}function Hg(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"hydrate on idle"),Cg(2,e,n))&&(Og(ro(),n).set(0,null),"undefined"!=typeof ngServerMode&&ngServerMode?bg(2,e,n):gg(Pp,e,n))}function Bg(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"on immediate"),Cg(0,e,n))&&(null===Ip(e[1],n).loadingTmplIndex&&Gp(e,n),bg(0,e,n))}function Ug(){var e=to(),n=ao();if(ngDevMode&&Op(e[1],n,"prefetch on immediate"),Cg(1,e,n)){var t=Ip(e[1],n);t.loadingState===zh.NOT_STARTED&&mg(t,e,n)}}function zg(){var e=to(),n=ao();if(ngDevMode&&Op(e[1],n,"hydrate on immediate"),Cg(2,e,n))if(Og(ro(),n).set(1,null),"undefined"!=typeof ngServerMode&&ngServerMode)bg(2,e,n);else{var t=e[9],r=xp(e,n)[6];ngDevMode&&Al(r),Mg(t,r)}}function Wg(e){var n=to(),t=ao();ngDevMode&&Op(n[1],t,"on timer(".concat(e,"ms)")),Cg(0,n,t)&&hg(Vp(e))}function Zg(e){var n=to(),t=ao();ngDevMode&&Op(n[1],t,"prefetch on timer(".concat(e,"ms)")),Cg(1,n,t)&&pg(Vp(e))}function qg(e){var n=to(),t=ao();(ngDevMode&&Op(n[1],t,"hydrate on timer(".concat(e,"ms)")),Cg(2,n,t))&&(Og(ro(),t).set(5,{delay:e}),"undefined"!=typeof ngServerMode&&ngServerMode?bg(2,n,t):gg(Vp(e),n,t))}function $g(e,n){var t=to(),r=ao();ngDevMode&&Op(t[1],r,"on hover".concat(-1===n?"":"(<target>)")),Cg(0,t,r)&&(Gp(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Rp(t,r,e,n,bl,function(){return bg(0,t,r)},0))}function Yg(e,n){var t=to(),r=ao();if(ngDevMode&&Op(t[1],r,"prefetch on hover".concat(-1===n?"":"(<target>)")),Cg(1,t,r)){var o=Ip(t[1],r);o.loadingState===zh.NOT_STARTED&&Rp(t,r,e,n,bl,function(){return yg(o,t,r)},1)}}function Gg(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"hydrate on hover"),Cg(2,e,n))&&(Og(ro(),n).set(4,null),"undefined"!=typeof ngServerMode&&ngServerMode&&bg(2,e,n))}function Qg(e,n){var t=to(),r=ao();ngDevMode&&Op(t[1],r,"on interaction".concat(-1===n?"":"(<target>)")),Cg(0,t,r)&&(Gp(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Rp(t,r,e,n,wl,function(){return bg(0,t,r)},0))}function Jg(e,n){var t=to(),r=ao();if(ngDevMode&&Op(t[1],r,"prefetch on interaction".concat(-1===n?"":"(<target>)")),Cg(1,t,r)){var o=Ip(t[1],r);o.loadingState===zh.NOT_STARTED&&Rp(t,r,e,n,wl,function(){return yg(o,t,r)},1)}}function Kg(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"hydrate on interaction"),Cg(2,e,n))&&(Og(ro(),n).set(3,null),"undefined"!=typeof ngServerMode&&ngServerMode&&bg(2,e,n))}function Xg(e,n){var t=to(),r=ao();ngDevMode&&Op(t[1],r,"on viewport".concat(-1===n?"":"(<target>)")),Cg(0,t,r)&&(Gp(t,r),"undefined"!=typeof ngServerMode&&ngServerMode||Rp(t,r,e,n,Np,function(){return bg(0,t,r)},0))}function ey(e,n){var t=to(),r=ao();if(ngDevMode&&Op(t[1],r,"prefetch on viewport".concat(-1===n?"":"(<target>)")),Cg(1,t,r)){var o=Ip(t[1],r);o.loadingState===zh.NOT_STARTED&&Rp(t,r,e,n,Np,function(){return yg(o,t,r)},1)}}function ny(){var e=to(),n=ao();(ngDevMode&&Op(e[1],n,"hydrate on viewport"),Cg(2,e,n))&&(Og(ro(),n).set(2,null),"undefined"!=typeof ngServerMode&&ngServerMode&&bg(2,e,n))}function ty(e,n,t,r){var o=to(),i=Do();if(dv(o,i,n)){var a=ro(),u=Ho();zc(u,o,e,n,t,r),ngDevMode&&qc(a.data,u,"attr."+e,i)}return ty}
|
|
47
|
+
/*!
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright Google LLC All Rights Reserved.
|
|
50
|
+
*
|
|
51
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
52
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
53
|
+
*/function ry(){var e=to()[15][8];return ngDevMode&&Ke(e,"Expected component instance to be defined"),e}var oy=function(){function e(){ki(this,e)}return Ii(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 iy(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function ay(e,n,t){var r=e.get(n);void 0!==r?r.add(t):e.set(n,new Set([t]))}function uy(e,n,t,r){return!(void 0===n||!n.has(r))&&(e.attach(t,n.get(r)),n.delete(r),!0)}function ly(e,n,t,r,o){if(uy(e,n,r,t(r,o)))e.updateValue(r,o);else{var i=e.create(r,o);e.attach(r,i)}}function sy(e,n,t,r){for(var o=new Set,i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var cy=function(){function e(){ki(this,e),Si(this,"kvMap",new Map),Si(this,"_vMap",void 0)}return Ii(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=Vi(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 dy(e,n,t,r,o,i,a,u){oh("NgControlFlow");var l=to(),s=ro();return Bh(l,s,e,n,t,r,o,jr(s.consts,i),256,a,u),fy}function fy(e,n,t,r,o,i,a,u){oh("NgControlFlow");var l=to(),s=ro();return Bh(l,s,e,n,t,r,o,jr(s.consts,i),512,a,u),fy}function vy(e,n){oh("NgControlFlow");var t=to(),r=Do(),o=t[r]!==gc?t[r]:-1,i=-1!==o?Dy(t,nr+o):void 0;if(dv(t,r,e)){var a=J(null);try{if(void 0!==i&&Yd(i,0),-1!==e){var u=nr+e,l=Dy(t,u),s=_y(t[1],u);$d(l,Kc(t,s,n,{dehydratedView:null}),0,Xc(s,null))}}finally{J(a)}}else if(void 0!==i){var c=qd(i,0);void 0!==c&&(c[8]=n)}}var hy=function(){function e(n,t,r){ki(this,e),Si(this,"lContainer",void 0),Si(this,"$implicit",void 0),Si(this,"$index",void 0),this.lContainer=n,this.$implicit=t,this.$index=r}return Ii(e,[{key:"$count",get:function(){return this.lContainer.length-tr}}]),e}();function py(e){return e}function gy(e,n){return n}var yy=function e(n,t,r){ki(this,e),Si(this,"hasEmptyBlock",void 0),Si(this,"trackByFn",void 0),Si(this,"liveCollection",void 0),this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r};function my(e,n,t,r,o,i,a,u,l,s,c,d,f){oh("NgControlFlow"),ngDevMode&&ze(a,"A track expression must be a function, was ".concat(void 0===a?"undefined":Li(a)," instead."));var v=to(),h=ro(),p=void 0!==l,g=to(),y=u?a.bind(g[15][8]):a,m=new yy(p,y);g[nr+e]=m,Bh(v,h,e+1,n,t,r,o,jr(h.consts,i),256),p&&(ngDevMode&&Ke(s,"Missing number of declarations for the empty repeater block."),ngDevMode&&Ke(c,"Missing number of bindings for the empty repeater block."),Bh(v,h,e+2,l,s,c,d,jr(h.consts,f),512))}var wy=function(){function e(){ki(this,e),Si(this,"created",0),Si(this,"destroyed",0)}return Ii(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}(),by=function(e){Ei(t,e);var n=Ui(t);function t(e,r,o){var i;return ki(this,t),Si(bi(i=n.call(this)),"lContainer",void 0),Si(bi(i),"hostLView",void 0),Si(bi(i),"templateTNode",void 0),Si(bi(i),"operationsCounter",ngDevMode?new wy:void 0),Si(bi(i),"needsIndexUpdate",!1),i.lContainer=e,i.hostLView=r,i.templateTNode=o,i}return Ii(t,[{key:"length",get:function(){return this.lContainer.length-tr}},{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),$d(this.lContainer,n,e,Xc(this.templateTNode,t))}},{key:"detach",value:function(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),function(e,n){var t=Gd(e,n);return ngDevMode&&mr(t),t}(this.lContainer,e)}},{key:"create",value:function(e,n){var t,r=(this.lContainer,this.templateTNode.tView.ssrId,null),o=Kc(this.hostLView,this.templateTNode,new hy(this.lContainer,n,e),{dehydratedView:r});return null===(t=this.operationsCounter)||void 0===t||t.recordCreate(),o}},{key:"destroy",value:function(e){var n;cd(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 ky(this.lContainer,e)}}]),t}(oy);function My(e){var n=J(null),t=Fo();try{var r,o=to(),i=o[1],a=o[t],u=t+1,l=Dy(o,u);if(void 0===a.liveCollection){var s=_y(i,u);a.liveCollection=new by(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&&ay(u,t(i,c),i);var d=iy(i,s,i,c,t);if(0===d){var f=e.at(a),v=n[l];ngDevMode&&ay(u,t(l,v),l);var h=iy(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 cy),null!=o||(o=sy(e,i,a,t)),uy(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;)ly(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&&ay(u,t(i,k),i);var _=iy(i,D,i,k,t);if(0!==_)_<0&&e.updateValue(i,k),i++,M=b.next();else{null!=r||(r=new cy),null!=o||(o=sy(e,i,a,t));var x=t(i,k);if(uy(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;)ly(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=[],T=!0,C=!1,E=void 0;try{for(var O,N=function(){var e=Vi(O.value,2),n=e[0],t=e[1];if(t.size>1)for(var r=Fi(t).sort(function(e,n){return e-n}),o=1;o<r.length;o++)S.push('key "'.concat(Nn(n),'" at index "').concat(r[o-1],'" and "').concat(r[o],'"'))},A=u[Symbol.iterator]();!(T=(O=A.next()).done);T=!0)N()}catch(e){C=!0,E=e}finally{try{T||null==A.return||A.return()}finally{if(C)throw E}}if(S.length>0){var R=Ce(-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(R)}}}(c,e,a.trackByFn),ngDevMode&&a.trackByFn===gy&&(null===(r=c.operationsCounter)||void 0===r?void 0:r.wasReCreated(c.length))&&ky(l,0).length-nr>2){var d=Ce(-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=Do(),v=0===c.length;if(dv(o,f,v)){var h=t+2,p=Dy(o,h);if(v){var g=_y(i,h);$d(p,Kc(o,g,void 0,{dehydratedView:null}),0,Xc(g,null))}else i.firstUpdatePass&&Sf(p),Yd(p,0)}}}finally{J(n)}}function Dy(e,n){var t=e[n];return ngDevMode&&gr(t),t}function ky(e,n){var t=qd(e,n);return ngDevMode&&mr(t),t}function _y(e,n){var t=Er(e,n);return ngDevMode&&vr(t),t}function xy(e,n,t){var r=to(),o=Do();if(dv(r,o,n)){var i=ro(),a=Ho();Fc(a,r,e,n,r[11],t),ngDevMode&&qc(i.data,a,e,o)}return xy}function Iy(e,n,t,r,o){Gc(n,e,t,o?"class":"style",r)}function Sy(e,n,t,r){var o=to(),i=ro(),a=nr+e;ngDevMode&&We(bo(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&nn(o,a);var u=o[11],l=i.firstCreatePass?ov(a,i,o,n,Uc,Kr(),t,r):i.data[a],s=Ey(i,o,l,u,n);o[a]=s;var c=ur(l);return ngDevMode&&i.firstCreatePass&&function(e,n,t,r,o){if(null!==r&&!o&&null!==t&&("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&Oi(e,HTMLUnknownElement)||"undefined"!=typeof customElements&&t.indexOf("-")>-1&&!customElements.get(t))&&!qs(r,t)){var i=zs(n),a=Ws(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(Ce(304,l))}}(s,o,l.value,i.schemas,c),so(l,!0),xc(u,s,l),!id(l)&&Zo()&&Md(i,o,s,l),(0===Gr.lFrame.elementDepthCount||c)&&Uu(s,o),Gr.lFrame.elementDepthCount++,c&&(jc(i,o,l),jl(i,l,o)),null!==r&&Vc(o,l),Sy}function Ty(){var e=ao();ngDevMode&&Ke(e,"No parent node to close."),co()?fo():(ngDevMode&&pr(ao()),so(e=e.parent,!1));var n=e;ngDevMode&&Pa(n,3),function(e){return Gr.skipHydrationRootTNode===e}(n)&&(Gr.skipHydrationRootTNode=null),Gr.lFrame.elementDepthCount--;var t=ro();return t.firstCreatePass&&iv(t,n),null!=n.classesWithoutHost&&function(e){return!!(8&e.flags)}(n)&&Iy(t,n,to(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function(e){return!!(16&e.flags)}(n)&&Iy(t,n,to(),n.stylesWithoutHost,!1),Ty}function Cy(e,n,t,r){return Sy(e,n,t,r),Ty(),Cy}var Ey=function(e,n,t,r,o,i){return qo(!0),bc(r,o,Gr.lFrame.currentNamespace)};function Oy(e,n,t){var r=to(),o=ro(),i=e+nr;ngDevMode&&nn(r,i),ngDevMode&&We(bo(),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=jr(i,r),u=cf(n,e,8,"ng-container",a);null!==a&&$f(u,a,!0);var l=jr(i,o);return Kr()&&Qf(n,t,u,l,Uc),u.mergedAttrs=Fa(u.mergedAttrs,u.attrs),null!==n.queries&&n.queries.elementStart(n,u),u}(i,o,r,n,t):o.data[i];so(a,!0);var u=Ry(o,r);return r[i]=u,Zo()&&Md(o,r,u,a),Uu(u,r),ur(a)&&(jc(o,r,a),jl(o,a,r)),null!=t&&Vc(r,a),Oy}function Ny(){var e=ao(),n=ro();return co()?fo():(ngDevMode&&pr(e),so(e=e.parent,!1)),ngDevMode&&Pa(e,8),n.firstCreatePass&&(_a(n,e),ir(e)&&n.queries.elementEnd(e)),Ny}function Ay(e,n,t){return Oy(e,n,t),Ny(),Ay}var Ry=function(e,n,t,r){return qo(!0),wc(n[11],ngDevMode?"ng-container":"")};function Py(){return to()}function jy(e,n,t){var r=to(),o=Do();if(dv(r,o,n)){var i=ro(),a=Ho();Lc(a,r,e,n,r[11],t),ngDevMode&&qc(i.data,a,e,o)}return jy}function Vy(e,n,t){var r=to(),o=Do();if(dv(r,o,n)){var i=ro(),a=Ho();Lc(a,r,e,n,$c(So(i.data),a,r),t),ngDevMode&&qc(i.data,a,e,o)}return Vy}var Fy=void 0;var Ly,Hy=["en",[["a","p"],["AM","PM"],Fy],[["AM","PM"],Fy,Fy],[["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"]],Fy,[["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"]],Fy,[["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}",Fy,"{1} 'at' {0}",Fy],[".",",",";","%","+","-","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}],By={};function Uy(e){var n=function(e){var n=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=zy(n);if(t)return t;var r=n.split("-")[0];if(t=zy(r))return t;if("en"===r)return Hy;throw new Te(701,ngDevMode&&'Missing locale data for the locale "'.concat(e,'".'))}(e);return n[Ly.PluralCase]}function zy(e){return e in By||(By[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),By[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"}(Ly||(Ly={}));var Wy=["zero","one","two","few","many"];var Zy,qy="en-US",$y={marker:"element"},Yy={marker:"ICU"};!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(Zy||(Zy={}));var Gy=qy;var Qy=0,Jy=0;var Ky=function(e,n,t,r){return qo(!0),function(e,n,t){var r=e[11];switch(t){case Node.COMMENT_NODE:return wc(r,n);case Node.TEXT_NODE:return yc(r,n);case Node.ELEMENT_NODE:return bc(r,n,null)}}(e,t,r)};function Xy(e,n,t,r){ngDevMode&&en(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&&nn(t,s),t[s]=Ky(t,s,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:var c=bf(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=Sr(t[c])),null!==f){ngDevMode&&en(f);var v=Mf(l);ngDevMode&&Qe(v,nr,"Missing ref");var h=t[v];ngDevMode&&en(h),Mc(i,f,h,d,!1);var p=yf(e,v);if(null!==p&&"object"===(void 0===p?"undefined":Li(p))){ngDevMode&&hr(p);var g=wf(p,t);null!==g&&Xy(e,p.create[g],t,t[p.anchorIdx])}}break;case 1:var y=l>>>1,m=n[++u],w=n[++u];Wc(i,Tr(y,t),null,null,m,w,null);break;default:if(ngDevMode)throw new Te(700,'Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Yy:var b=n[++u],M=n[++u];if(null===t[M])ngDevMode&&We(void 0===b?"undefined":Li(b),"string",'Expected "'.concat(b,'" to be a comment node value')),ngDevMode&&Dr(t,M),Uu(t[M]=Ky(t,M,b,Node.COMMENT_NODE),t);break;case $y:var D=n[++u],k=n[++u];if(null===t[k])ngDevMode&&We(void 0===D?"undefined":Li(D),"string",'Expected "'.concat(D,'" to be an element node tag name')),ngDevMode&&Dr(t,k),Uu(t[k]=Ky(t,k,D,Node.ELEMENT_NODE),t);break;default:ngDevMode&&Xe('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}}function em(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+=On(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&&Ke(h,"Experting TNode or string"),"string"==typeof h?Wc(n[11],n[d],null,h,f,l,v):Fc(h,n,f,l,n[11],v);break;case 0:var p=n[d];null!==p&&mc(n[11],p,l);break;case 2:tm(e,yf(e,d),n,l);break;case 3:nm(e,yf(e,d),r,n)}}}else{var g=t[i+1];if(g>0&&!(3&~g)){var y=yf(e,g>>>2);n[y.currentCaseLViewIndex]<0&&nm(e,y,r,n)}}i+=u}}function nm(e,n,t,r){ngDevMode&&nn(r,n.currentCaseLViewIndex);var o=r[n.currentCaseLViewIndex];if(null!==o){var i=Qy;o<0&&(o=r[n.currentCaseLViewIndex]=~o,i=-1),em(e,r,n.update[o],t,i)}}function tm(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=Uy(n)(parseInt(e,10)),r=Wy[t];return void 0!==r?r:"other"}(n,Gy);-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(wf(n,t)!==o&&(rm(e,n,t),t[n.currentCaseLViewIndex]=null===o?null:~o,null!==o)){var i=t[n.anchorIdx];i&&(ngDevMode&&en(i),Xy(e,n.create[o],t,i)),n.anchorIdx}}function rm(e,n,t){var r=wf(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=Tr(a,t);null!==u&&_c(t[11],u)}else rm(e,yf(e,~a),t)}}function om(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&Zy.COMMENT)===Zy.COMMENT,u=(o&Zy.APPEND_EAGERLY)===Zy.APPEND_EAGERLY,l=o>>>Zy.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 im(e){var n=new lm(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 am(e){var n=new lm(e||(Array.isArray(this)?this:[])),t=[];function r(e){var t=bf(e),r=Mf(e);switch(Df(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: "+Df(e))}for(var o=-1;n.hasMore();){var i=n.consumeNumberStringOrMarker();if(i===Yy){var a=n.consumeString();o=n.consumeNumber(),t.push("lView[".concat(o,'] = document.createComment("').concat(a,'")'))}else if(i===$y){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 um(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 lm=function(){function e(n){ki(this,e),Si(this,"i",0),Si(this,"codes",void 0),this.codes=n}return Ii(e,[{key:"hasMore",value:function(){return this.i<this.codes.length}},{key:"consumeNumber",value:function(){var e=this.codes[this.i++];return He(e,"expecting number in OpCode"),e}},{key:"consumeString",value:function(){var e=this.codes[this.i++];return Ue(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||He(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==Yy||e==$y||He(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}]),e}(),sm=/�(\d+):?\d*�/gi,cm=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,dm=/�(\d+)�/,fm=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,vm="�",hm=/�\/?\*(\d+:\d+)�/gi,pm=/�(\/?[#*]\d+):?\d*�/gi,gm=/\uE500/g;function ym(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 mm(e,n,t,r,o,i){var a=lo(),u=[],l=[],s=[[]],c=[[]];ngDevMode&&(ym(u,om),ym(l,im)),o=function(e,n){if(function(e){return-1===e}(n))return _m(e);var t=e.indexOf(":".concat(n).concat(vm))+2+n.toString().length,r=e.search(new RegExp("".concat(vm,"\\/\\*\\d+:").concat(n).concat(vm)));return _m(e.substring(t,r))}(o,i);for(var d=function(e){return e.replace(gm," ")}(o).split(pm),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&&tn(p,42,35);var g=nr+Number.parseInt(v.substring(h?2:1));if(h)s.shift(),c.shift(),so(lo(),!1);else{var y=mf(e,s[0],g);s.unshift([]),so(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=Sm(v),b=0;b<w.length;b++){var M=w[b];if(1&b){var D=M;if("object"!==(void 0===D?"undefined":Li(D)))throw new Error('Unable to parse ICU expression in "'.concat(o,'" message.'));var k=wm(e,a,s[0],t,u,ngDevMode?"ICU ".concat(r,":").concat(D.mainBinding):"",!0).index;ngDevMode&&Je(k,nr,"Index must be in absolute LView offset"),xm(c[0],e,t,l,n,D,k)}else{var _=M;ngDevMode&&Ue(_,"Parsed ICU part should be string"),""!==_&&bm(c[0],e,a,s[0],u,l,t,_)}}}e.data[r]={create:u,update:l,ast:c[0],parentTNodeIndex:n}}function wm(e,n,t,r,o,i,a){var u,l=Ec(e,r,1,null),s=l<<Zy.SHIFT,c=lo();n===c&&(c=null),null===c&&(s|=Zy.APPEND_EAGERLY),a&&(s|=Zy.COMMENT,u=xf,void 0===ed&&(ed=u())),o.push(s,null===i?"":i);var d=df(e,l,a?32:1,null===i?ngDevMode?"{{?}}":"":i,null);ff(t,d);var f=d.index;return so(d,!1),null!==c&&n!==c&&function(e,n){ngDevMode&&vr(e);var t=e.insertBeforeIndex;null===t?(bd(lf,sf),t=e.insertBeforeIndex=[null,n]):(We(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(c,f),d}function bm(e,n,t,r,o,i,a,u){var l=u.match(sm),s=wm(n,t,r,a,o,l?null:u,!1).index;l&&Mm(i,u,s,null,0,null),e.push({kind:0,index:s})}function Mm(e,n,t,r,o,i){ngDevMode&&Je(t,nr,"Index must be in absolute LView offset");var a=e.length,u=a+1;e.push(null,null);var l=a+2;ngDevMode&&ym(e,im);for(var s=n.split(sm),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|=km(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 Dm(e){for(var n=0,t=0;t<e.length;t++){var r=e[t];"number"==typeof r&&r<0&&n++}return n}function km(e){return 1<<Math.min(e,31)}function _m(e){for(var n,t,r="",o=0,i=!1;null!==(n=hm.exec(e));)i?n[0]==="".concat(vm,"/*").concat(t).concat(vm)&&(o=n.index,i=!1):(r+=e.substring(o,n.index+n[0].length),t=n[1],i=!0);return ngDevMode&&We(i,!1,'Tag mismatch: unable to find the end of the sub-template in the translation "'.concat(e,'"')),r+=e.slice(o)}function xm(e,n,t,r,o,i,a){ngDevMode&&Ke(i,"ICU expression must be defined");var u=0,l={type:i.type,currentCaseLViewIndex:Ec(n,t,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};!function(e,n,t){e.push(km(n.mainBinding),2,-1-n.mainBinding,t<<2|2)}(r,i,a),function(e,n,t){var r=e.data[n];ngDevMode&&We(null===r||r.hasOwnProperty("tView"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[n]=t:(ngDevMode&&Pa(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=Tm(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 Im(e){for(var n=[],t=[],r=1,o=0,i=Sm(e=e.replace(fm,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=Sm(i[a++]);n.length>t.length&&t.push(l)}return{type:r,mainBinding:o,cases:n,values:t}}function Sm(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);fm.test(u)?o.push(Im(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 Tm(e,n,t,r,o,i,a,u,l){var s=[],c=[],d=[];ngDevMode&&(ym(s,am),ym(c,um),ym(d,im)),t.cases.push(a),t.create.push(s),t.remove.push(c),t.update.push(d);var f=ql(el()).getInertBodyElement(u);ngDevMode&&Ke(f,"Unable to generate inert body element");var v=Ms(f)||f;return v?Cm(e,n,t,r,o,s,c,d,v,i,l,0):0}function Cm(e,n,t,r,o,i,a,u,l,s,c,d){for(var f=0,v=l.firstChild;v;){var h=Ec(n,r,1,null);switch(v.nodeType){case Node.ELEMENT_NODE:var p=v,g=p.tagName.toLowerCase();if(is.hasOwnProperty(g)){Nm(i,$y,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(sm)?ss.hasOwnProperty(b)?as[b]?Mm(u,w.value,h,w.name,0,Ql):Mm(u,w.value,h,w.name,0,null):ngDevMode&&console.warn("WARNING: ignoring unsafe attribute value "+"".concat(b," on element ").concat(g," ")+"(see ".concat(Se,")")):Am(i,h,w)}var M={kind:1,index:h,children:[]};e.push(M),f=Cm(M.children,n,t,r,o,i,a,u,v,h,c,d+1)|f,Em(a,h,d)}break;case Node.TEXT_NODE:var D=v.textContent||"",k=D.match(sm);Nm(i,null,k?"":D,s,h),Em(a,h,d),k&&(f=Mm(u,D,h,null,0,null)|f),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:var _=dm.exec(v.textContent||"");if(_){var x=parseInt(_[1],10),I=c[x];Nm(i,Yy,ngDevMode?"nested ICU ".concat(x):"",s,h),xm(e,n,r,o,s,I,h),Om(a,h,d)}}v=v.nextSibling}return f}function Em(e,n,t){0===t&&e.push(n)}function Om(e,n,t){0===t&&(e.push(~n),e.push(n))}function Nm(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&&Je(a,0,"Missing parent index"),ngDevMode&&Qe(u,0,"Missing ref index"),i|a<<17|u<<1))}function Am(e,n,t){e.push(n<<1|1,t.name,t.value)}var Rm=/\[(�.+?�?)\]/,Pm=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,jm=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Vm=/{([A-Z0-9_]+)}/g,Fm=/�I18N_EXP_(ICU(_\d+)?)�/g,Lm=/\/\*/,Hm=/\d+\:(\d+)/;function Bm(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=ro(),o=to(),i=nr+e;ngDevMode&&Ke(r,"tView should be defined");var a=jr(r.consts,n),u=lo();(r.firstCreatePass&&mm(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=pd(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&Zy.COMMENT)===Zy.COMMENT,s=(a&Zy.APPEND_EAGERLY)===Zy.APPEND_EAGERLY,c=a>>>Zy.SHIFT,d=e[c],f=!1;null===d&&(d=e[c]=Ky(e,c,u,l?Node.COMMENT_NODE:Node.TEXT_NODE),f=Zo()),s&&null!==t&&f&&Mc(o,t,d,r,!1)}}(o,l.create,s,c),_o(!0)}function Um(){_o(!1)}function zm(e,n,t){Bm(e,n,t),Um()}function Wm(e,n){var t=ro();ngDevMode&&Ke(t,"tView should be defined");var r=jr(t.consts,n);!function(e,n,t){var r=ao().index,o=[];if(ngDevMode&&ym(o,im),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(cm.test(u))throw new Error('ICU expressions are not supported in attributes. Message: "'.concat(u,'".'));Mm(o,u,r,a,Dm(o),null)}}e.data[n]=o}}(t,e+nr,r)}function Zm(e){var n=to();return dv(n,Do(),e)&&(Qy|=1<<Math.min(Jy,31)),Jy++,Zm}function qm(e){!function(e,n,t){if(Jy>0){ngDevMode&&Ke(e,"tView should be defined");var r=e.data[t];em(e,n,Array.isArray(r)?r:r.update,bo()-Jy-1,Qy)}Qy=0,Jy=0}(ro(),to(),e+nr)}function $m(e){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e;if(Rm.test(e)){var r={},o=[0];t=t.replace(Pm,function(e,n,t){var i=n||t,a=r[i]||[];if(a.length||(i.split("|").forEach(function(e){var n=e.match(Hm),t=n?parseInt(n[1],10):0,r=Lm.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=Vi(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(jm,function(e,t,r,o,i,a){return n.hasOwnProperty(r)?"".concat(t).concat(n[r]).concat(a):e})).replace(Vm,function(e,t){return n.hasOwnProperty(t)?n[t]:e})).replace(Fm,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 Ym(e,n,t){var r=to(),o=ro(),i=ao();return Qm(o,r,r[11],i,e,n,t),Ym}function Gm(e,n){var t=ao(),r=to(),o=ro();return Qm(o,r,$c(So(o.data),t,r),t,e,n),Gm}function Qm(e,n,t,r,o,i,a){ngDevMode&&Pa(r,15);var u=!0,l=null;(3&r.type||a)&&(null!=l||(l=pv(r,n,i)),yv(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=pv(r,n,i)),wv(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=pv(r,n,i)),wv(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 Jm(){return function(e){return(Gr.lFrame.contextLView=Lr(e,Gr.lFrame.contextLView))[8]}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)}function Km(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?cc(e,i,!0):dc(r,i))return o}else t=o}return t}function Xm(e){var n=to()[15][5];if(!n.projection)for(var t=e?e.length:1,r=n.projection=at(t,null),o=r.slice(),i=n.child;null!==i;){if(128!==i.type){var a=e?Km(i,e):0;null!==a&&(o[a]?o[a].projectionNext=i:r[a]=i,o[a]=i)}i=i.next}}function ew(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=to(),u=ro(),l=r?e+1:null;null!==l&&Bh(a,u,l,r,o,i,null,t);var s=cf(u,nr+e,16,null,t||null);null===s.projection&&(s.projection=n),fo();var c=!a[6]||Xr();null===a[15][5].projection[s.projection]&&null!==l?function(e,n,t){var r=nr+t,o=n.data[r],i=e[r];ngDevMode&&vr(o),ngDevMode&&gr(i);var a=(o.tView.ssrId,null),u=Kc(e,o,void 0,{dehydratedView:a});$d(i,u,0,Xc(o,a))}(a,u,l):c&&!id(s)&&function(e,n,t){Sd(n[11],0,n,t,hd(e,t,n),gd(t.parent||n[5],t,n))}(u,a,s)}function nw(e,n,t,r){Wv(e,n,t,r)}function tw(e,n,t){zv(e,n,t)}function rw(e){var n=to(),t=ro(),r=To();Co(r+1);var o=qv(t,r);if(e.dirty&&Rr(n)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{var i=$v(n,r);e.reset(i,xu),e.notifyOnChanges()}return!0}return!1}function ow(){return Bv(to(),To())}function iw(e,n,t,r,o){Yv(n,Wv(e,t,r,o))}function aw(e,n,t,r){Yv(e,zv(n,t,r))}function uw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;Co(To()+e)}function lw(e){return Or(vo(),nr+e)}function sw(e,n){return ngDevMode&&Be(e,0,32767),ngDevMode&&Be(n,0,32767),e<<17|n<<2}function cw(e){return ngDevMode&&He(e,"expected number"),e>>17&32767}function dw(e){return ngDevMode&&He(e,"expected number"),2|e}function fw(e){return ngDevMode&&He(e,"expected number"),(131068&e)>>2}function vw(e,n){return ngDevMode&&He(e,"expected number"),ngDevMode&&Be(n,0,32767),-131069&e|n<<2}function hw(e){return ngDevMode&&He(e,"expected number"),1|e}function pw(e,n,t,r,o,i){ngDevMode&&br(ro());var a=i?n.classBindings:n.styleBindings,u=cw(a),l=fw(a);e[r]=t;var s,c,d,f=!1;if(Array.isArray(t)){var v=t;(null===(s=v[1])||dt(v,s)>0)&&(f=!0)}else s=t;if(o)if(0!==l){var h=cw(e[u+1]);e[r+1]=sw(h,u),0!==h&&(e[h+1]=vw(e[h+1],r)),e[u+1]=(c=e[u+1],d=r,ngDevMode&&He(c,"expected number"),ngDevMode&&Be(d,0,32767),131071&c|d<<17)}else e[r+1]=sw(u,0),0!==u&&(e[u+1]=vw(e[u+1],r)),u=r;else e[r+1]=sw(l,0),ngDevMode&&We(0!==u&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===u?u=r:e[l+1]=vw(e[l+1],r),l=r;f&&(e[r+1]=dw(e[r+1])),gw(e,s,r,!0),gw(e,s,r,!1),function(e,n,t,r,o){var i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&dt(i,n)>=0&&(t[r+1]=hw(t[r+1]))}(n,s,e,r,i),a=sw(u,l),i?n.classBindings=a:n.styleBindings=a}function gw(e,n,t,r){for(var o=e[t+1],i=null===n,a=r?cw(o):fw(o),u=!1;0!==a&&(!1===u||i);){ngDevMode&&nn(e,a);var l=e[a],s=e[a+1];yw(l,n)&&(u=!0,e[a+1]=r?hw(s):dw(s)),a=r?cw(s):fw(s)}u&&(e[t+1]=r?dw(o):hw(o))}function yw(e,n){return ngDevMode&&Ze(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)&&dt(e,n)>=0}var mw={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ww(e){return e.substring(mw.key,mw.keyEnd)}function bw(e){return e.substring(mw.value,mw.valueEnd)}function Mw(e,n){var t=mw.textEnd;return t===n?-1:(n=mw.keyEnd=function(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,mw.key=n,t),_w(e,n,t))}function Dw(e,n){var t=mw.textEnd,r=mw.key=_w(e,n,t);return t===r?-1:(r=mw.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=xw(e,r,t,58),r=mw.value=_w(e,r,t),r=mw.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=Iw(e,l,a,t):n===a-4&&85===i&&82===o&&76===r&&40===l?u=a=Iw(e,41,a,t):l>32&&(u=a),i=o,o=r,r=-33&l}return u}(e,r,t),xw(e,r,t,59))}function kw(e){mw.key=0,mw.keyEnd=0,mw.value=0,mw.valueEnd=0,mw.textEnd=e.length}function _w(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function xw(e,n,t,r){return(n=_w(e,n,t))<t&&(ngDevMode&&e.charCodeAt(n)!==r&&Sw(e,String.fromCharCode(r),n),n++),n}function Iw(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?Sw(e,String.fromCharCode(n),r):new Error}function Sw(e,n,t){throw ngDevMode&&We("string"==typeof e,!0,"String expected here"),Xe("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 Tw(e,n,t){return Rw(e,n,t,!1),Tw}function Cw(e,n){return Rw(e,n,null,!0),Cw}function Ew(e){Pw(Hw,Ow,e,!1)}function Ow(e,n){for(var t=function(e){return kw(e),Dw(e,_w(e,0,mw.textEnd))}(n);t>=0;t=Dw(n,t))Hw(e,ww(n),bw(n))}function Nw(e){Pw(Bw,Aw,e,!0)}function Aw(e,n){for(var t=function(e){return kw(e),Mw(e,_w(e,0,mw.textEnd))}(n);t>=0;t=Mw(n,t))st(e,ww(n),!0)}function Rw(e,n,t,r){var o=to(),i=ro(),a=ko(2);(i.firstUpdatePass&&Vw(i,e,a,r),n!==gc&&dv(o,a,n))&&Uw(i,i.data[Fo()],o,o[11],e,o[a+1]=function(e,n){null==e||""===e||("string"==typeof n?e+=n:"object"===(void 0===e?"undefined":Li(e))&&(e=Re(Wl(e))));return e}(n,t),r,a)}function Pw(e,n,t,r){var o=ro(),i=ko(2);o.firstUpdatePass&&Vw(o,null,i,r);var a=to();if(t!==gc&&dv(a,i,t)){var u=o.data[Fo()];if(Zw(u,r)&&!jw(o,i)){if(ngDevMode){var l=o.data[i];We(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&&We(s.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==s&&(t=Pe(s,t||"")),Iy(o,u,a,t,r)}else!function(e,n,t,r,o,i,a,u){o===gc&&(o=vt);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&&Ye(l,999,"Are we stuck in infinite loop?"),ngDevMode&&Ye(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&&Ke(d,"Expecting to have a valid key"),s+=2,h=d,p=v),null!==h&&Uw(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 vt;var r=[],o=Wl(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":Li(o)))for(var a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o?n(r,o):ngDevMode&&Xe("Unsupported styling type: "+(void 0===o?"undefined":Li(o))+" ("+o+")");return r}(e,n,t),r,i)}}function jw(e,n){return n>=e.expandoStartIndex}function Vw(e,n,t,r){ngDevMode&&br(e);var o=e.data;if(null===o[t+1]){var i=o[Fo()];ngDevMode&&Ke(i,"TNode expected");var a=jw(e,t);Zw(i,r)&&null===n&&!a&&(n=!1),n=function(e,n,t,r){var o=So(e),i=r?n.residualClasses:n.residualStyles;if(null===o){0===(r?n.classBindings:n.styleBindings)&&(t=Lw(t=Fw(null,e,n,t,r),n.attrs,r),i=null)}else{var a=n.directiveStylingLast;if(-1===a||e[a]!==o)if(t=Fw(o,e,n,t,r),null===i){var u=function(e,n,t){var r=t?n.classBindings:n.styleBindings;if(0===fw(r))return;return e[cw(r)]}(e,n,r);void 0!==u&&Array.isArray(u)&&function(e,n,t,r){var o=t?n.classBindings:n.styleBindings;ngDevMode&&Ze(fw(o),0,"Expecting to have at least one template styling binding."),e[cw(o)]=r}(e,n,r,u=Lw(u=Fw(null,e,n,u[1],r),n.attrs,r))}else i=function(e,n,t){var r=void 0,o=n.directiveEnd;ngDevMode&&Ze(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=Lw(r,e[i].hostAttrs,t)}return Lw(r,n.attrs,t)}(e,n,r)}void 0!==i&&(r?n.residualClasses=i:n.residualStyles=i);return t}(o,i,n,r),pw(o,i,n,t,a,r)}}function Fw(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&&Ke(i,"expected to be defined"),r=Lw(r,i.hostAttrs,o),i!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function Lw(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]),st(e,a,!!t||n[++i]))}return void 0===e?null:e}function Hw(e,n,t){st(e,n,Wl(t))}function Bw(e,n,t){var r=String(n);""===r||r.includes(" ")||st(e,r,t)}function Uw(e,n,t,r,o,i,a,u){if(3&n.type){var l,s=e.data,c=s[u+1];if(!Ww((l=c,ngDevMode&&He(l,"expected number"),1&~l?void 0:zw(s,n,t,o,fw(c),a))))Ww(i)||function(e){return ngDevMode&&He(e,"expected number"),!(2&~e)}(c)&&(i=zw(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:nd.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=nd.Important),e.setStyle(t,r,o,i))}}(r,a,Tr(Fo(),t),o,i)}}function zw(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===gc&&(f=d?vt:void 0);var v=d?ct(f,r):c===r?f:void 0;if(s&&!Ww(v)&&(v=ct(l,r)),Ww(v)&&(u=v,a))return u;var h=e[o+1];o=a?cw(h):fw(h)}if(null!==n){var p=i?n.residualClasses:n.residualStyles;null!=p&&(u=ct(p,r))}return u}function Ww(e){return void 0!==e}function Zw(e,n){return!!(e.flags&(n?8:16))}function qw(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=to(),r=ro(),o=e+nr;ngDevMode&&We(bo(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&nn(t,o);var i=r.firstCreatePass?cf(r,o,1,n,null):r.data[o],a=$w(r,t,i,n);t[o]=a,Zo()&&Md(r,t,a,i),so(i,!1)}var $w=function(e,n,t,r,o){return qo(!0),yc(n[11],r)};function Yw(e,n){ngDevMode&&Ye(2,n.length,"should have at least 3 values");for(var t=!1,r=bo(),o=1;o<n.length;o+=2)t=dv(e,r++,n[o])||t;if(Mo(r),!t)return gc;for(var i=n[0],a=1;a<n.length;a+=2)i+=On(n[a])+(a+1!==n.length?n[a+1]:"");return i}function Gw(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return dv(e,Do(),t)?n+On(t)+r:gc}function Qw(e,n,t,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",a=fv(e,bo(),t,o);return ko(2),a?n+On(t)+r+On(o)+i:gc}function Jw(e,n,t,r,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",l=vv(e,bo(),t,o,a);return ko(3),l?n+On(t)+r+On(o)+i+On(a)+u:gc}function Kw(e,n,t,r,o,i,a,u,l){var s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"",c=hv(e,bo(),t,o,a,l);return ko(4),c?n+On(t)+r+On(o)+i+On(a)+u+On(l)+s:gc}function Xw(e,n,t,r,o,i,a,u,l,s,c){var d=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"",f=bo(),v=hv(e,f,t,o,a,l);return v=dv(e,f+4,c)||v,ko(5),v?n+On(t)+r+On(o)+i+On(a)+u+On(l)+s+On(c)+d:gc}function eb(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=bo(),p=hv(e,h,t,o,a,l);return p=fv(e,h+4,c,f)||p,ko(6),p?n+On(t)+r+On(o)+i+On(a)+u+On(l)+s+On(c)+d+On(f)+v:gc}function nb(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=bo(),y=hv(e,g,t,o,a,l);return y=vv(e,g+4,c,f,h)||y,ko(7),y?n+On(t)+r+On(o)+i+On(a)+u+On(l)+s+On(c)+d+On(f)+v+On(h)+p:gc}function tb(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=bo(),w=hv(e,m,t,o,a,l);return w=hv(e,m+4,c,f,h,g)||w,ko(8),w?n+On(t)+r+On(o)+i+On(a)+u+On(l)+s+On(c)+d+On(f)+v+On(h)+p+On(g)+y:gc}function rb(e){return ob("",e),rb}function ob(e,n,t){var r=to(),o=Gw(r,e,n,t);return o!==gc&&vb(r,Fo(),o),ob}function ib(e,n,t,r,o){var i=to(),a=Qw(i,e,n,t,r,o);return a!==gc&&vb(i,Fo(),a),ib}function ab(e,n,t,r,o,i,a){var u=to(),l=Jw(u,e,n,t,r,o,i,a);return l!==gc&&vb(u,Fo(),l),ab}function ub(e,n,t,r,o,i,a,u,l){var s=to(),c=Kw(s,e,n,t,r,o,i,a,u,l);return c!==gc&&vb(s,Fo(),c),ub}function lb(e,n,t,r,o,i,a,u,l,s,c){var d=to(),f=Xw(d,e,n,t,r,o,i,a,u,l,s,c);return f!==gc&&vb(d,Fo(),f),lb}function sb(e,n,t,r,o,i,a,u,l,s,c,d,f){var v=to(),h=eb(v,e,n,t,r,o,i,a,u,l,s,c,d,f);return h!==gc&&vb(v,Fo(),h),sb}function cb(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h){var p=to(),g=nb(p,e,n,t,r,o,i,a,u,l,s,c,d,f,v,h);return g!==gc&&vb(p,Fo(),g),cb}function db(e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g){var y=to(),m=tb(y,e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g);return m!==gc&&vb(y,Fo(),m),db}function fb(e){var n=to(),t=Yw(n,e);return t!==gc&&vb(n,Fo(),t),fb}function vb(e,n,t){ngDevMode&&Ue(t,"Value should be a string"),ngDevMode&&$e(t,gc,"value should not be NO_CHANGE"),ngDevMode&&nn(e,n);var r=Tr(n,e);ngDevMode&&Ke(r,"native element should exist"),mc(e[11],r,t)}
|
|
54
|
+
/*!
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright Google LLC All Rights Reserved.
|
|
57
|
+
*
|
|
58
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
59
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
60
|
+
*/function hb(e,n,t){ri(n)&&(n=n());var r=to(),o=Do();if(dv(r,o,n)){var i=ro(),a=Ho();Fc(a,r,e,n,r[11],t),ngDevMode&&qc(i.data,a,e,o)}return hb}function pb(e,n){var t=ri(e);return t&&e.set(n),t}function gb(e,n){var t=to(),r=ro(),o=ao();return Qm(r,t,t[11],o,e,n),gb}
|
|
61
|
+
/*!
|
|
62
|
+
* @license
|
|
63
|
+
* Copyright Google LLC All Rights Reserved.
|
|
64
|
+
*
|
|
65
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
66
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
67
|
+
*/var yb={};function mb(e){var n=ro(),t=to(),r=e+nr;return so(cf(n,r,128,null,null),!1),Nr(n,t,r,yb),mb}function wb(e){return oh("NgLet"),Nr(ro(),to(),Fo(),e),e}function bb(e){var n=Or(vo(),nr+e);if(n===yb)throw new Te(314,ngDevMode&&"Attempting to access a @let declaration whose value is not available yet");return n}
|
|
68
|
+
/*!
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright Google LLC All Rights Reserved.
|
|
71
|
+
*
|
|
72
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
73
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
74
|
+
*/function Mb(e,n){var t=ro(),r=to(),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=Vi(s.value,4),f=d[0],v=d[1],h=d[2],p=d[3],g=Er(t,f+nr);ngDevMode&&Pa(g,2);var y=Tr(f+nr,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}}}
|
|
75
|
+
/*!
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright Google LLC All Rights Reserved.
|
|
78
|
+
*
|
|
79
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
80
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
81
|
+
*/function Db(e){return dv(to(),Do(),e)?On(e):gc}function kb(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Gw(to(),e,n,t)}function _b(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return Qw(to(),e,n,t,r,o)}function xb(e,n,t,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return Jw(to(),e,n,t,r,o,i,a)}function Ib(e,n,t,r,o,i,a,u){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"";return Kw(to(),e,n,t,r,o,i,a,u,l)}function Sb(e,n,t,r,o,i,a,u,l,s){var c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:"";return Xw(to(),e,n,t,r,o,i,a,u,l,s,c)}function Tb(e,n,t,r,o,i,a,u,l,s,c,d){var f=arguments.length>12&&void 0!==arguments[12]?arguments[12]:"";return eb(to(),e,n,t,r,o,i,a,u,l,s,c,d,f)}function Cb(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 nb(to(),e,n,t,r,o,i,a,u,l,s,c,d,f,v,h)}function Eb(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 tb(to(),e,n,t,r,o,i,a,u,l,s,c,d,f,v,h,p,g)}function Ob(e){return Yw(to(),e)}function Nb(e,n,t,r,o){if(e=Fe(e),Array.isArray(e))for(var i=0;i<e.length;i++)Nb(e[i],n,t,r,o);else{var a=ro(),u=to(),l=ao(),s=Pt(e)?e:Fe(e.provide),c=Wt(e);if(ngDevMode)Mn(new uu(l,u),s,function(){yn(e,o)});var d=1048575&l.providerIndexes,f=l.directiveStart,v=l.providerIndexes>>20;if(Pt(e)||!e.multi){var h=new Na(c,o,Yf),p=Pb(s,n,o?d:d+v,f);-1===p?(Ja($a(l,u),a,s),Ab(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=Pb(s,n,d+v,f),y=Pb(s,n,d,d+v),m=g>=0&&t[g],w=y>=0&&t[y];if(o&&!w||!o&&!m){Ja($a(l,u),a,s);var b=function(e,n,t,r,o){var i=new Na(e,t,Yf);return i.multi=[],i.index=n,i.componentProviders=0,Rb(i,o,r&&!t),i}(o?Vb:jb,t.length,o,r,c);!o&&w&&(t[y].providerFactory=b),Ab(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=Rb(t[o?y:g],c,!o&&r);Ab(a,e,g>-1?g:y,M)}!o&&r&&w&&t[y].componentProviders++}}}function Ab(e,n,t,r){var o=Pt(n),i=!!n.useClass;if(o||i){var a=(i?Fe(n.useClass):n).prototype.ngOnDestroy;if(a){var u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){ngDevMode&&Ke(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 Rb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Pb(e,n,t,r){for(var o=t;o<r;o++)if(n[o]===e)return o;return-1}function jb(e,n,t,r){return Fb(this.multi,[])}function Vb(e,n,t,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,u=ou(t,t[1],this.providerFactory.index,r);Fb(i,o=u.slice(0,a));for(var l=a;l<u.length;l++)o.push(u[l])}else Fb(i,o=[]);return o}function Fb(e,n){for(var t=0;t<e.length;t++){var r=e[t];n.push(r())}return n}function Lb(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=ro();if(r.firstCreatePass){var o=lr(e);Nb(t,r.data,r.blueprint,o,!0),Nb(n,r.data,r.blueprint,o,!1)}}(t,r?r(e):e,n)}}}function Hb(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 Bb(e,n,t){var r=e.ɵcmp;r.directiveDefs=Dh(n,!1),r.pipeDefs=Dh(t,!0)}function Ub(e,n){return Wi(function(){var t=wt(e);t.declarations=zb(n.declarations||vt),t.imports=zb(n.imports||vt),t.exports=zb(n.exports||vt),n.bootstrap&&(t.bootstrap=zb(n.bootstrap)),Wf.registerNgModule(e,n)})}function zb(e){if("function"==typeof e)return e;var n=tt(e);return n.some(Le)?function(){return n.map(Fe).map(Wb)}:n.map(Wb)}function Wb(e){return Vf(e)?e.ngModule:e}function Zb(e,n,t){var r=wo()+e,o=to();return o[r]===gc?sv(o,r,t?n.call(t):n()):cv(o,r)}function qb(e,n,t,r){return tM(to(),wo(),e,n,t,r)}function $b(e,n,t,r,o){return rM(to(),wo(),e,n,t,r,o)}function Yb(e,n,t,r,o,i){return oM(to(),wo(),e,n,t,r,o,i)}function Gb(e,n,t,r,o,i,a){return iM(to(),wo(),e,n,t,r,o,i,a)}function Qb(e,n,t,r,o,i,a,u){var l=wo()+e,s=to(),c=hv(s,l,t,r,o,i);return dv(s,l+4,a)||c?sv(s,l+5,u?n.call(u,t,r,o,i,a):n(t,r,o,i,a)):cv(s,l+5)}function Jb(e,n,t,r,o,i,a,u,l){var s=wo()+e,c=to(),d=hv(c,s,t,r,o,i);return fv(c,s+4,a,u)||d?sv(c,s+6,l?n.call(l,t,r,o,i,a,u):n(t,r,o,i,a,u)):cv(c,s+6)}function Kb(e,n,t,r,o,i,a,u,l,s){var c=wo()+e,d=to(),f=hv(d,c,t,r,o,i);return vv(d,c+4,a,u,l)||f?sv(d,c+7,s?n.call(s,t,r,o,i,a,u,l):n(t,r,o,i,a,u,l)):cv(d,c+7)}function Xb(e,n,t,r,o,i,a,u,l,s,c){var d=wo()+e,f=to(),v=hv(f,d,t,r,o,i);return hv(f,d+4,a,u,l,s)||v?sv(f,d+8,c?n.call(c,t,r,o,i,a,u,l,s):n(t,r,o,i,a,u,l,s)):cv(f,d+8)}function eM(e,n,t,r){return aM(to(),wo(),e,n,t,r)}function nM(e,n){ngDevMode&&nn(e,n);var t=e[n];return t===gc?void 0:t}function tM(e,n,t,r,o,i){var a=n+t;return dv(e,a,o)?sv(e,a+1,i?r.call(i,o):r(o)):nM(e,a+1)}function rM(e,n,t,r,o,i,a){var u=n+t;return fv(e,u,o,i)?sv(e,u+2,a?r.call(a,o,i):r(o,i)):nM(e,u+2)}function oM(e,n,t,r,o,i,a,u){var l=n+t;return vv(e,l,o,i,a)?sv(e,l+3,u?r.call(u,o,i,a):r(o,i,a)):nM(e,l+3)}function iM(e,n,t,r,o,i,a,u,l){var s=n+t;return hv(e,s,o,i,a,u)?sv(e,s+4,l?r.call(l,o,i,a,u):r(o,i,a,u)):nM(e,s+4)}function aM(e,n,t,r,o,i){for(var a=n+t,u=!1,l=0;l<o.length;l++)dv(e,a++,o[l])&&(u=!0);return u?sv(e,a,r.apply(i,o)):nM(e,a)}function uM(e,n){var t,r,o,i=ro(),a=e+nr;i.firstCreatePass?(t=function(e,n){if(n){if(ngDevMode)n.filter(function(n){return n.name===e}).length>1&&console.warn(Ce(313,function(e){var n=to(),t=n[15][8],r=zs(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 Te(-302,function(e){var n=to(),t=n[15][8],r=zs(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=nt(t.type,!0));ngDevMode&&(u=hn({injector:new uu(ao(),to()),token:t.type}));var s=Fn(Yf);try{var c=Wa(!1),d=l();return Wa(c),Nr(i,to(),a,d),d}finally{Fn(s),ngDevMode&&hn(u)}}function lM(e,n,t){var r=e+nr,o=to(),i=Or(o,r);return vM(o,r)?tM(o,wo(),n,i.transform,t,i):i.transform(t)}function sM(e,n,t,r){var o=e+nr,i=to(),a=Or(i,o);return vM(i,o)?rM(i,wo(),n,a.transform,t,r,a):a.transform(t,r)}function cM(e,n,t,r,o){var i=e+nr,a=to(),u=Or(a,i);return vM(a,i)?oM(a,wo(),n,u.transform,t,r,o,u):u.transform(t,r,o)}function dM(e,n,t,r,o,i){var a=e+nr,u=to(),l=Or(u,a);return vM(u,a)?iM(u,wo(),n,l.transform,t,r,o,i,l):l.transform(t,r,o,i)}function fM(e,n,t){var r=e+nr,o=to(),i=Or(o,r);return vM(o,r)?aM(o,wo(),n,i.transform,t,i):i.transform.apply(i,t)}function vM(e,n){return e[1].data[n].pure}function hM(e,n){return Xd(e,n)}function pM(e,n){return function(){try{return Wf.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 gM(e,n){var t=bt(e);null!==t&&(t.debugInfo=n)}
|
|
82
|
+
/*!
|
|
83
|
+
* @license
|
|
84
|
+
* Copyright Google LLC All Rights Reserved.
|
|
85
|
+
*
|
|
86
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
87
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
88
|
+
*/function yM(e,n,t){var r="./@ng/component?c=".concat(e,"&t=").concat(encodeURIComponent(n));return new URL(r,t).href}function mM(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&&Ks(e);var a=bt(e);n.apply(null,[e,t].concat(Fi(r)));var u=function(e,n){var t=Ri({},e),r=Object.assign(e,n,{directiveDefs:t.directiveDefs,pipeDefs:t.pipeDefs,setInput:t.setInput,type:t.type});return ngDevMode&&We(r,e,"Expected definition to be merged in place"),{newDef:r,oldDef:t}}(a,bt(e)),l=u.newDef,s=u.oldDef;if(e[_n]=l,s.tView){var c=Ou.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;sr(g)&&null===g[3]&&wM(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 wM(e,n,t,r,o){ngDevMode&&Ke(r.tView,"Expected a component definition that has been instantiated at least once");var i=o[1];if(i===r.tView)return ngDevMode&&Ks(r.type),void function(e,n,t,r,o){var i=o[8],a=o[0],u=o[3];ngDevMode&&mr(u);var l=o[5];ngDevMode&&Pa(l,2),ngDevMode&&Ze(t,r,"Expected different component definition");var s=o[9].get(lp,null),c=function(){if(r.encapsulation===Tl.ShadowDom){var e=a.cloneNode(!1);a.replaceWith(e),a=e}var n=Sc(t),s=Tc(u,n,i,Cc(t),a,l,null,null,null,null,null);!function(e,n,t,r){for(var o=nr;o<e[1].bindingStartIndex;o++){var i=e[o];if((rr(i)||or(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),cd(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),ud(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;Ra(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),Jc(n,s,i),Fd(n,s,n.template,i)};null===s?bM(e,n,c):s.run(function(){return bM(e,n,c)})}(e,n,t,r,o);for(var a=nr;a<i.bindingStartIndex;a++){var u=o[a];if(or(u)){rr(u[0])&&wM(e,n,t,r,u[0]);for(var l=tr;l<u.length;l++)wM(e,n,t,r,u[l])}else rr(u)&&wM(e,n,t,r,u)}}function bM(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 MM={"ɵɵattribute":ty,"ɵɵdefineComponent":fh,"ɵɵdefineDirective":mh,"ɵɵdefineInjectable":on,"ɵɵdefineInjector":an,"ɵɵdefineNgModule":ph,"ɵɵdefinePipe":wh,"ɵɵdirectiveInject":Yf,"ɵɵgetInheritedFactory":su,"ɵɵinject":$n,"ɵɵinjectAttribute":fu,"ɵɵinvalidFactory":Gf,"ɵɵinvalidFactoryDep":Yn,"ɵɵtemplateRefExtractor":hM,"ɵɵresetView":io,"ɵɵHostDirectivesFeature":Rh,"ɵɵNgOnChangesFeature":ga,"ɵɵProvidersFeature":Lb,"ɵɵCopyDefinitionFeature":Ah,"ɵɵInheritDefinitionFeature":xh,"ɵɵExternalStylesFeature":Hb,"ɵɵnextContext":Jm,"ɵɵnamespaceHTML":zo,"ɵɵnamespaceMathML":Uo,"ɵɵnamespaceSVG":Bo,"ɵɵenableBindings":eo,"ɵɵdisableBindings":no,"ɵɵelementStart":Sy,"ɵɵelementEnd":Ty,"ɵɵelement":Cy,"ɵɵelementContainerStart":Oy,"ɵɵelementContainerEnd":Ny,"ɵɵelementContainer":Ay,"ɵɵpureFunction0":Zb,"ɵɵpureFunction1":qb,"ɵɵpureFunction2":$b,"ɵɵpureFunction3":Yb,"ɵɵpureFunction4":Gb,"ɵɵpureFunction5":Qb,"ɵɵpureFunction6":Jb,"ɵɵpureFunction7":Kb,"ɵɵpureFunction8":Xb,"ɵɵpureFunctionV":eM,"ɵɵgetCurrentView":Py,"ɵɵrestoreView":oo,"ɵɵlistener":Ym,"ɵɵprojection":ew,"ɵɵsyntheticHostProperty":Vy,"ɵɵsyntheticHostListener":Gm,"ɵɵpipeBind1":lM,"ɵɵpipeBind2":sM,"ɵɵpipeBind3":cM,"ɵɵpipeBind4":dM,"ɵɵpipeBindV":fM,"ɵɵprojectionDef":Xm,"ɵɵdomProperty":jy,"ɵɵproperty":xy,"ɵɵpipe":uM,"ɵɵqueryRefresh":rw,"ɵɵqueryAdvance":uw,"ɵɵviewQuery":tw,"ɵɵviewQuerySignal":aw,"ɵɵloadQuery":ow,"ɵɵcontentQuery":nw,"ɵɵcontentQuerySignal":iw,"ɵɵreference":lw,"ɵɵclassMap":Nw,"ɵɵstyleMap":Ew,"ɵɵstyleProp":Tw,"ɵɵclassProp":Cw,"ɵɵadvance":Nc,"ɵɵtemplate":Uh,"ɵɵconditional":vy,"ɵɵconditionalCreate":dy,"ɵɵconditionalBranchCreate":fy,"ɵɵdefer":Ag,"ɵɵdeferWhen":Rg,"ɵɵdeferOnIdle":Fg,"ɵɵdeferOnImmediate":Bg,"ɵɵdeferOnTimer":Wg,"ɵɵdeferOnHover":$g,"ɵɵdeferOnInteraction":Qg,"ɵɵdeferOnViewport":Xg,"ɵɵdeferPrefetchWhen":Pg,"ɵɵdeferPrefetchOnIdle":Lg,"ɵɵdeferPrefetchOnImmediate":Ug,"ɵɵdeferPrefetchOnTimer":Zg,"ɵɵdeferPrefetchOnHover":Yg,"ɵɵdeferPrefetchOnInteraction":Jg,"ɵɵdeferPrefetchOnViewport":ey,"ɵɵdeferHydrateWhen":jg,"ɵɵdeferHydrateNever":Vg,"ɵɵdeferHydrateOnIdle":Hg,"ɵɵdeferHydrateOnImmediate":zg,"ɵɵdeferHydrateOnTimer":qg,"ɵɵdeferHydrateOnHover":Gg,"ɵɵdeferHydrateOnInteraction":Kg,"ɵɵdeferHydrateOnViewport":ny,"ɵɵdeferEnableTimerScheduling":Kp,"ɵɵrepeater":My,"ɵɵrepeaterCreate":my,"ɵɵrepeaterTrackByIndex":py,"ɵɵrepeaterTrackByIdentity":gy,"ɵɵcomponentInstance":ry,"ɵɵtext":qw,"ɵɵtextInterpolate":rb,"ɵɵtextInterpolate1":ob,"ɵɵtextInterpolate2":ib,"ɵɵtextInterpolate3":ab,"ɵɵtextInterpolate4":ub,"ɵɵtextInterpolate5":lb,"ɵɵtextInterpolate6":sb,"ɵɵtextInterpolate7":cb,"ɵɵtextInterpolate8":db,"ɵɵtextInterpolateV":fb,"ɵɵi18n":zm,"ɵɵi18nAttributes":Wm,"ɵɵi18nExp":Zm,"ɵɵi18nStart":Bm,"ɵɵi18nEnd":Um,"ɵɵi18nApply":qm,"ɵɵi18nPostprocess":$m,"ɵɵresolveWindow":$s,"ɵɵresolveDocument":Ys,"ɵɵresolveBody":Gs,"ɵɵsetComponentScope":Bb,"ɵɵsetNgModuleScope":Ub,"ɵɵregisterNgModuleType":nh,"ɵɵgetComponentDepsFactory":pM,"ɵsetClassDebugInfo":gM,"ɵɵdeclareLet":mb,"ɵɵstoreLet":wb,"ɵɵreadContextLet":bb,"ɵɵattachSourceLocations":Mb,"ɵɵinterpolate":Db,"ɵɵinterpolate1":kb,"ɵɵinterpolate2":_b,"ɵɵinterpolate3":xb,"ɵɵinterpolate4":Ib,"ɵɵinterpolate5":Sb,"ɵɵinterpolate6":Tb,"ɵɵinterpolate7":Cb,"ɵɵinterpolate8":Eb,"ɵɵinterpolateV":Ob,"ɵɵsanitizeHtml":Ds,"ɵɵsanitizeStyle":ks,"ɵɵsanitizeResourceUrl":xs,"ɵɵsanitizeScript":Is,"ɵɵsanitizeUrl":_s,"ɵɵsanitizeUrlOrResourceUrl":Cs,"ɵɵtrustConstantHtml":Ss,"ɵɵtrustConstantResourceUrl":Ts,"ɵɵvalidateIframeAttribute":th,forwardRef:Ve,resolveForwardRef:Fe,"ɵɵtwoWayProperty":hb,"ɵɵtwoWayBindingSet":pb,"ɵɵtwoWayListener":gb,"ɵɵreplaceMetadata":mM,"ɵɵgetReplaceMetadataURL":yM},DM=null;var kM=[];var _M=!1;function xM(e){return Array.isArray(e)?e.every(xM):!!Fe(e)}function IM(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&&Ke(e,"Required value moduleType"),ngDevMode&&Ke(n,"Required value ngModule");var r=tt(n.declarations||vt),o=null;Object.defineProperty(e,Sn,{configurable:!0,get:function(){if(null===o){if(ngDevMode&&n.imports&&n.imports.indexOf(e)>-1)throw new Error("'".concat(Nn(e),"' module can't import itself"));var t=ra({usage:0,kind:"NgModule",type:e});(o=t.compileNgModule(MM,"ng:///".concat(e.name,"/ɵmod.js"),{type:e,bootstrap:tt(n.bootstrap||vt).map(Fe),declarations:r.map(Fe),imports:tt(n.imports||vt).map(Fe).map(PM),exports:tt(n.exports||vt).map(Fe).map(PM),schemas:n.schemas?tt(n.schemas):null,id:n.id||null})).schemas||(o.schemas=[])}return o}});var i=null;Object.defineProperty(e,Tn,{get:function(){if(null===i){var n=ra({usage:0,kind:"NgModule",type:e});i=n.compileFactory(MM,"ng:///".concat(e.name,"/ɵfac.js"),{name:e.name,type:e,deps:gu(e),target:n.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});var a=null;Object.defineProperty(e,dn,{get:function(){if(null===a){ngDevMode&&SM(e,t);var r={name:e.name,type:e,providers:n.providers||vt,imports:[(n.imports||vt).map(Fe),(n.exports||vt).map(Fe)]},o=ra({usage:0,kind:"NgModule",type:e});a=o.compileInjector(MM,"ng:///".concat(e.name,"/ɵinj.js"),r)}return a},configurable:!!ngDevMode})}(e,n),void 0!==n.id&&nh(e,n.id),function(e,n){kM.push({moduleType:e,ngModule:n})}(e,n)}function SM(e,n,t){if(!EM.get(e)&&!_t(e)){var r;if(EM.set(e,!0),e=Fe(e),t){if(!(r=mt(e)))throw new Error("Unexpected value '".concat(e.name,"' imported by the module '").concat(t.name,"'. Please add an @NgModule annotation."))}else r=wt(e);var o=[],i=Js(r.declarations),a=Js(r.imports);tt(a).map(TM).forEach(function(n){c(n,e),SM(n,!1,e)});var u=Js(r.exports);i.forEach(function(n){bt(n=Fe(n))||Dt(n)||kt(n)||o.push("Unexpected value '".concat(Nn(n),"' declared by the module '").concat(Nn(e),"'. Please add a @Pipe/@Directive/@Component annotation."))}),i.forEach(function(e){var n=Dt(e=Fe(e));!bt(e)&&n&&0==n.selectors.length&&o.push("Directive ".concat(Nn(e)," has no selector, please add it!"))}),i.forEach(function(n){return function(e,n){var t=bt(e=Fe(e))||Dt(e)||kt(e);if(null==t?void 0:t.standalone){var r='"'.concat(Nn(n),'" NgModule');o.push(function(e,n){var t='Unexpected "'.concat(Nn(e),'" found in the "declarations" array of the'),r='"'.concat(Nn(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=Fi(i.map(Fe)).concat(Fi(tt(a.map(OM)).map(Fe)));u.forEach(function(n){var t=(bt(n=Fe(n))?"component":Dt(n)&&"directive")||kt(n)&&"pipe";t&&-1===l.lastIndexOf(n)&&o.push("Can't export ".concat(t," ").concat(Nn(n)," from ").concat(Nn(e)," as it was neither declared nor imported!"))}),i.forEach(function(t){return function(n,t){n=Fe(n);var r=CM.get(n);if(r&&r!==e){if(!t){var i=[r,e].map(Nn).sort();o.push("Type ".concat(Nn(n)," is part of the declarations of 2 modules: ").concat(i[0]," and ").concat(i[1],"! ")+"Please consider moving ".concat(Nn(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(Nn(n)," then import that NgModule in ").concat(i[0]," and ").concat(i[1],"."))}}else CM.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&&tt(s.imports).map(TM).forEach(function(n){c(n,e),SM(n,!1,e)}),s.bootstrap&&rt(s.bootstrap,function(e){bt(e=Fe(e))||o.push("".concat(Nn(e)," cannot be used as an entry component."));_t(e)&&o.push("The `".concat(Nn(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&&rt(s.bootstrap,function(e){e=Fe(e),CM.get(e)||_t(e)||o.push("Component ".concat(Nn(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=bt(e=Fe(e))||Dt(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=kt(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 TM(e){return(e=Fe(e)).ngModule||e}var CM=new WeakMap,EM=new WeakMap;function OM(e){var n=mt(e=Fe(e));return null===n?[e]:tt(Js(n.exports).map(function(e){return mt(e)?(SM(e,!1),OM(e)):e}))}function NM(e,n){var t=tt(n.declarations||vt),r=RM(e);t.forEach(function(n){(n=Fe(n)).hasOwnProperty(_n)?AM(bt(n),r):n.hasOwnProperty(xn)||n.hasOwnProperty(In)||(n.ngSelectorScope=e)})}function AM(e,n){e.directiveDefs=function(){return Array.from(n.compilation.directives).map(function(e){return e.hasOwnProperty(_n)?bt(e):Dt(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(n.compilation.pipes).map(function(e){return kt(e)})},e.schemas=n.schemas,e.tView=null}function RM(e){if(Ff(e)){var n=Wf.getNgModuleScope(e);return Ri({schemas:wt(e).schemas||null},n)}if(_t(e)){if(null!==(bt(e)||Dt(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==kt(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 PM(e){return Vf(e)?e.ngModule:e}var jM=0;function VM(e,n){("undefined"==typeof ngDevMode||ngDevMode)&&Oe();var t=null;!function(e,n){Kv(n)&&(Qv.set(e,n),Jv.add(e))}(e,n),HM(e,n),Object.defineProperty(e,_n,{get:function(){if(null===t){var r=ra({usage:0,kind:"component",type:e});if(Kv(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=DM,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:Tl.Emulated);var l=n.templateUrl||"ng:///".concat(e.name,"/template.html"),s=Pi(Ri({},UM(e,n)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,l),template:n.template||"",preserveWhitespaces:a,styles:"string"==typeof n.styles?[n.styles]:n.styles||vt,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:u,interpolation:n.interpolation,viewProviders:n.viewProviders||null});jM++;try{if(s.usesInheritance&&zM(e),t=r.compileComponent(MM,l,s),s.isStandalone){var c=tt(n.imports||vt),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){Uf(i.value,e)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}return Bf(e)?Fi(Wf.getStandaloneComponentScope(e,n).compilation.directives).map(function(e){return bt(e)||Dt(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){Uf(i.value,e)}}catch(e){r=!0,o=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}return Bf(e)?Fi(Wf.getStandaloneComponentScope(e,n).compilation.pipes).map(function(e){return kt(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(Fe)}}}finally{jM--}if(0===jM&&function(){if(!_M){_M=!0;try{for(var e=kM.length-1;e>=0;e--){var n=kM[e],t=n.moduleType,r=n.ngModule;r.declarations&&r.declarations.every(xM)&&(kM.splice(e,1),NM(t,r))}}finally{_M=!1}}}(),void 0!==e.ngSelectorScope){var h=RM(e.ngSelectorScope);AM(t,h)}if(n.schemas){if(!s.isStandalone)throw new Error("The 'schemas' was specified for the ".concat(Nn(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 FM(e,n){var t=null;HM(e,n||{}),Object.defineProperty(e,xn,{get:function(){if(null===t){var r=LM(e,n||{}),o=ra({usage:0,kind:"directive",type:e});t=o.compileDirective(MM,r.sourceMapUrl,r.metadata)}return t},configurable:!!ngDevMode})}function LM(e,n){var t=e&&e.name,r="ng:///".concat(t,"/ɵdir.js"),o=ra({usage:0,kind:"directive",type:e}),i=UM(e,n);return i.typeSourceSpan=o.createParseSourceSpan("Directive",t,r),i.usesInheritance&&zM(e),{metadata:i,sourceMapUrl:r}}function HM(e,n){var t=null;Object.defineProperty(e,Tn,{get:function(){if(null===t){var r=LM(e,n),o=ra({usage:0,kind:"directive",type:e});t=o.compileFactory(MM,"ng:///".concat(e.name,"/ɵfac.js"),{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:gu(e),target:o.FactoryTarget.Directive})}return t},configurable:!!ngDevMode})}function BM(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function UM(e,n){var t,r,o=pu(),i=o.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||ft,propMetadata:i,inputs:n.inputs||vt,outputs:n.outputs||vt,queries:WM(e,i,ZM),lifecycle:{usesOnChanges:o.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!BM(e),exportAs:(r=n.exportAs,void 0===r?null:YM(r)),providers:n.providers||null,viewQueries:WM(e,i,qM),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 zM(e){for(var n=Object.prototype,t=Object.getPrototypeOf(e.prototype).constructor;t&&t!==n;)Dt(t)||bt(t)||!QM(t)||FM(t,null),t=Object.getPrototypeOf(t)}function WM(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(Nn(e),"\" since the query selector wasn't defined."));if(i.some($M))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?YM(t):Fe(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 ZM(e){var n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function qM(e){var n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function $M(e){return"Input"===e.ngMetadataName}function YM(e){return e.split(",").map(function(e){return e.trim()})}var GM=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function QM(e){var n=pu();if(GM.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($M(a)||ZM(a)||qM(a)||"Output"===u||"HostBinding"===u||"HostListener"===u)return!0}return!1}function JM(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 KM=Yi("Directive",function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},void 0,0,function(e,n){return FM(e,n)});Yi("Component",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ri({changeDetection:Su.Default},e)},KM,0,function(e,n){return VM(e,n)}),Yi("Pipe",function(e){return Ri({pure:!0},e)},void 0,0,function(e,n){return function(e,n){var t=null,r=null;Object.defineProperty(e,Tn,{get:function(){if(null===r){var t=JM(e,n),o=ra({usage:0,kind:"pipe",type:t.type});r=o.compileFactory(MM,"ng:///".concat(t.name,"/ɵfac.js"),{name:t.name,type:t.type,typeArgumentCount:0,deps:gu(e),target:o.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,In,{get:function(){if(null===t){var r=JM(e,n),o=ra({usage:0,kind:"pipe",type:r.type});t=o.compilePipe(MM,"ng:///".concat(r.name,"/ɵpipe.js"),r)}return t},configurable:!!ngDevMode})}(e,n)}),Ji("Input",function(e){return e?"string"==typeof e?{alias:e}:e:{}}),Ji("Output",function(e){return{alias:e}}),Ji("HostBinding",function(e){return{hostPropertyName:e}}),Ji("HostListener",function(e,n){return{eventName:e,args:n}});var XM=Yi("NgModule",function(e){return e},void 0,0,function(e,n){return IM(e,n)}),eD=function e(n,t){ki(this,e),Si(this,"ngModuleFactory",void 0),Si(this,"componentFactories",void 0),this.ngModuleFactory=n,this.componentFactories=t},nD=function(){function e(){ki(this,e)}return Ii(e,[{key:"compileModuleSync",value:function(e){return new lh(e)}},{key:"compileModuleAsync",value:function(e){return Promise.resolve(this.compileModuleSync(e))}},{key:"compileModuleAndAllComponentsSync",value:function(e){var n=this.compileModuleSync(e),t=Js(mt(e).declarations).reduce(function(e,n){var t=bt(n);return t&&e.push(new kv(t)),e},[]);return new eD(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}();Si(nD,"ɵfac",function(e){return new(e||nD)}),Si(nD,"ɵprov",on({token:nD,factory:nD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(nD,[{type:Du,args:[{providedIn:"root"}]}],null);var tD=new fn(ngDevMode?"compilerOptions":""),rD=function(){function e(){ki(this,e),Si(this,"zone",Gn(lp)),Si(this,"changeDetectionScheduler",Gn(oi)),Si(this,"applicationRef",Gn(dg)),Si(this,"applicationErrorHandler",Gn(ei)),Si(this,"_onMicrotaskEmptySubscription",void 0)}return Ii(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}();Si(rD,"ɵfac",function(e){return new(e||rD)}),Si(rD,"ɵprov",on({token:rD,factory:rD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(rD,[{type:Du,args:[{providedIn:"root"}]}],null);var oD=new fn("undefined"==typeof ngDevMode||ngDevMode?"provideZoneChangeDetection token":"",{factory:function(){return!1}});function iD(e){var n=e.ngZoneFactory,t=e.ignoreChangesOutsideZone,r=e.scheduleInRootZone;return null!=n||(n=function(){return new lp(Pi(Ri({},aD()),{scheduleInRootZone:r}))}),[{provide:lp,useFactory:n},{provide:ht,multi:!0,useFactory:function(){var e=Gn(rD,{optional:!0});if(("undefined"==typeof ngDevMode||ngDevMode)&&null===e)throw new Te(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:ht,multi:!0,useFactory:function(){var e=Gn(uD);return function(){e.initialize()}}},!0===t?{provide:ui,useValue:!0}:[],{provide:li,useValue:null!=r?r:ep},{provide:ei,useFactory:function(){var e,n=Gn(lp),t=Gn(Bt);return function(r){null!=e||(e=t.get(Xo)),n.runOutsideAngular(function(){return e.handleError(r)})}}}]}function aD(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 uD=function(){function e(){ki(this,e),Si(this,"subscription",new n.Subscription),Si(this,"initialized",!1),Si(this,"zone",Gn(lp)),Si(this,"pendingTasks",Gn(di))}return Ii(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(){lp.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(){lp.assertInAngularZone(),null!=n||(n=e.pendingTasks.add())}))}}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),e}();Si(uD,"ɵfac",function(e){return new(e||uD)}),Si(uD,"ɵprov",on({token:uD,factory:uD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(uD,[{type:Du,args:[{providedIn:"root"}]}],null);var lD=0,sD=[];var cD=function(){function e(){var t,r,o,i=this;ki(this,e),Si(this,"applicationErrorHandler",Gn(ei)),Si(this,"appRef",Gn(dg)),Si(this,"taskService",Gn(di)),Si(this,"ngZone",Gn(lp)),Si(this,"zonelessEnabled",Gn(ii)),Si(this,"tracing",Gn(Xh,{optional:!0})),Si(this,"disableScheduling",null!==(r=Gn(ui,{optional:!0}))&&void 0!==r&&r),Si(this,"zoneIsDefined","undefined"!=typeof Zone&&!!Zone.root.run),Si(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]),Si(this,"subscriptions",new n.Subscription),Si(this,"angularZoneId",this.zoneIsDefined?null===(t=this.ngZone._inner)||void 0===t?void 0:t.get(ap):null),Si(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&null!==(o=Gn(li,{optional:!0}))&&void 0!==o&&o),Si(this,"cancelScheduledCallback",null),Si(this,"useMicrotaskScheduler",!1),Si(this,"runningTick",!1),Si(this,"pendingRenderTaskId",null),this.subscriptions.add(this.appRef.afterTick.subscribe(function(){i.runningTick||i.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){i.runningTick||i.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(Oi(this.ngZone,hp)||!this.zoneIsDefined))}return Ii(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-++lD<5){var e=(new Error).stack;e&&sD.push(e)}if(100===lD)throw new Te(103,"Angular could not stabilize because there were endless change notifications within the browser event loop. The stack from the last several notifications: \n"+sD.join("\n"))}():(lD=0,sD.length=0));var i=this.useMicrotaskScheduler?rp:tp;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(ap+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,rp(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}();Si(cD,"ɵfac",function(e){return new(e||cD)}),Si(cD,"ɵprov",on({token:cD,factory:cD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(cD,[{type:Du,args:[{providedIn:"root"}]}],function(){return[]});var dD,fD=new fn(ngDevMode?"LocaleId":"",{providedIn:"root",factory:function(){return Gn(fD,{optional:!0,skipSelf:!0})||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||qy)}});function vD(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function hD(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 pD(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function gD(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){pD(e,n,t[n])})}return e}function yD(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 mD(e){return function(e){var n=J(null);try{return e()}finally{J(n)}}(e)}new fn(ngDevMode?"DefaultCurrencyCode":"",{providedIn:"root",factory:function(){return"USD"}}),new fn(ngDevMode?"Translations":""),new fn(ngDevMode?"TranslationsFormat":""),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(dD||(dD={}));var wD=Q,bD=function(){function e(n){vD(this,e),pD(this,wD,void 0),this[Q]=n}return hD(e,[{key:"destroy",value:function(){this[Q].destroy()}}]),e}();function MD(e,n){var t;ngDevMode&&si(MD,"Call `effect` outside of a reactive context. For example, schedule the effect inside the component constructor."),ngDevMode&&!(null==n?void 0:n.injector)&&Qt(MD),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:Gn(Go),u=!0!==(null==n?void 0:n.manualCleanup)?a.get(Jo):null,l=a.get(ci,null,{optional:!0}),s=a.get(oi);null!==l?(r=function(e,n,t){var r,o,i,a=Object.create(SD);return a.view=e,a.zone="undefined"!=typeof Zone?Zone.current:null,a.notifier=n,a.fn=t,null!==(i=(r=e)[o=Xt])&&void 0!==i||(r[o]=new Set),e[23].add(a),a.consumerMarkedDirty(a),a}(l.view,s,e),o=u,(null!=(i=Ko)&&"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(ID);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(hi),s),r.injector=a,null!==u&&(r.onDestroyFn=u.onDestroy(function(){return r.destroy()}));var c=new bD(r);if(ngDevMode){var d;r.debugName=null!==(d=null==n?void 0:n.debugName)&&void 0!==d?d:"";var f=hn({injector:a,token:null});try{!function(e){!ngDevMode&&Xe("Injector profiler should never be called in production mode"),gn({type:3,context:vn(),effect:e})}(c)}finally{hn(f)}}return c}var DD,kD,_D,xD=function(){return yD(gD({},X),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:vi,run:function(){var e=this;if(this.dirty=!1,ngDevMode,!this.hasRun||oe(this)){this.hasRun=!0;var n=te(this),t=mo(!1);try{this.maybeCleanup(),this.fn(function(n){var t;return(null!==(t=e.cleanupFns)&&void 0!==t?t:e.cleanupFns=[]).push(n)})}finally{mo(t),re(this,n)}}},maybeCleanup:function(){var e;if(null===(e=this.cleanupFns)||void 0===e?void 0:e.length){var n=J(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],J(n)}}}})}(),ID=function(){return yD(gD({},xD),{consumerMarkedDirty:function(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy:function(){ie(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}})}(),SD=function(){return yD(gD({},xD),{consumerMarkedDirty:function(){this.view[2]|=8192,Ur(this.view),this.notifier.notify(13)},destroy:function(){var e;ie(this),this.onDestroyFn(),this.maybeCleanup(),null===(e=this.view[23])||void 0===e||e.delete(this)}})}();function TD(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function CD(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 ED(e,n,t){return n&&CD(e.prototype,n),t&&CD(e,t),e}function OD(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ND(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}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){OD(e,n,t[n])})}return e}function RD(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"}(DD||(DD={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(kD||(kD={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(_D||(_D={})),new fn(ngDevMode?"HOST_TAG_NAME":"").__NG_ELEMENT_ID__=function(e){var n=ao();if(null===n)throw new Te(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 Te(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 PD=!0,jD=function e(){TD(this,e)};Ji("ContentChildren",function(e){return AD({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:PD},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},jD),Ji("ContentChild",function(e){return AD({selector:e,first:!0,isViewQuery:!1,descendants:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},jD),Ji("ViewChildren",function(e){return AD({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:PD},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},jD),Ji("ViewChild",function(e,n){return AD({selector:e,first:!0,isViewQuery:!0,descendants:!0},n)},jD);function VD(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.";mt(e)||Xe(n)}(t);var r=new lh(t);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);var o=e.get(tD,[]).concat(n);if(function(e){if(null!==DM){if(e.defaultEncapsulation!==DM.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==DM.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}DM=e}({defaultEncapsulation:FD(o.map(function(e){return e.defaultEncapsulation})),preserveWhitespaces:FD(o.map(function(e){return e.preserveWhitespaces}))}),0===Qv.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=ra({usage:0,kind:"NgModule",type:t}),u=Go.create({providers:i}).get(a.ResourceLoader);return Gv(function(e){return Promise.resolve(u.get(e))}).then(function(){return r})}function FD(e){for(var n=e.length-1;n>=0;n--)if(void 0!==e[n])return e[n]}new function e(n){TD(this,e),OD(this,"full",void 0),OD(this,"major",void 0),OD(this,"minor",void 0),OD(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 LD=function(){function e(){TD(this,e),OD(this,"window",null),OD(this,"observer",null),OD(this,"options",Gn(ol)),OD(this,"lcpImageUrl",void 0)}return ED(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=el(),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=el().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(Ce(-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(Ce(-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}();OD(LD,"ɵfac",function(e){return new(e||LD)}),OD(LD,"ɵprov",on({token:LD,factory:LD.ɵfac,providedIn:"root"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(LD,[{type:Du,args:[{providedIn:"root"}]}],null);var HD,BD=new fn(ngDevMode?"PlatformDestroyListeners":""),UD=new fn(ngDevMode?"ENABLE_ROOT_COMPONENT_BOOTSTRAP":"");function zD(e){return!e.moduleRef}function WD(e){var n=zD(e)?e.r3Injector:e.moduleRef.injector,t=n.get(lp);return t.run(function(){zD(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();var r,o=n.get(ei);if(("undefined"==typeof ngDevMode||ngDevMode)&&n.get(ai)&&n.get(oD))throw new Te(408,"Invalid change detection configuration: provideZoneChangeDetection and provideZonelessChangeDetection cannot be used together.");if(t.runOutsideAngular(function(){r=t.onError.subscribe({next:o})}),zD(e)){var i=function(){return n.destroy()},a=e.platformInjector.get(BD);a.add(i),n.onDestroy(function(){r.unsubscribe(),a.delete(i)})}else{var u=function(){return e.moduleRef.destroy()},l=e.platformInjector.get(BD);l.add(u),e.moduleRef.onDestroy(function(){vg(e.allPlatformModules,e.moduleRef),r.unsubscribe(),l.delete(u)})}return function(e,n,t){try{var r=t();return ag(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(lg);return t.runInitializers(),t.donePromise.then(function(){if(function(e){ngDevMode&&Ke(e,"Expected localeId to be defined"),"string"==typeof e&&(Gy=e.toLowerCase().replace(/_/g,"-"))}(n.get(fD,qy)||qy),!n.get(UD,!0))return zD(e)?n.get(dg):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);("undefined"==typeof ngDevMode||ngDevMode)&&n.get(LD).start();if(zD(e)){var t=n.get(dg);return void 0!==e.rootComponent&&t.bootstrap(e.rootComponent),t}return null==HD||HD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ZD(){HD=qD}function qD(e,n){var t=e.injector.get(dg);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Te(-403,ngDevMode&&"The module ".concat(Re(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 $D=function(){function e(n){TD(this,e),OD(this,"_injector",void 0),OD(this,"_modules",[]),OD(this,"_destroyListeners",[]),OD(this,"_destroyed",!1),this._injector=n}return ED(e,[{key:"bootstrapModuleFactory",value:function(e,n){var t,r,o=null==n?void 0:n.scheduleInRootZone,i=[iD({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 hp:"zone.js"===e?new lp(n):e}(null==n?void 0:n.ngZone,RD(AD({},aD({eventCoalescing:null==n?void 0:n.ngZoneEventCoalescing,runCoalescing:null==n?void 0:n.ngZoneRunCoalescing})),{scheduleInRootZone:o}))},ignoreChangesOutsideZone:null==n?void 0:n.ignoreChangesOutsideZone}),{provide:oi,useExisting:cD},ni],a=(t=e.moduleType,r=this.injector,new uh(t,r,i,!1));return ZD(),WD({moduleRef:a,allPlatformModules:this._modules,platformInjector:this.injector})}},{key:"bootstrapModule",value:function(e){var n=this,t=cg({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return ZD(),VD(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 Te(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(BD,null);e&&(e.forEach(function(e){return e()}),e.clear()),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();OD($D,"ɵfac",function(e){return new(e||$D)($n(Go))}),OD($D,"ɵprov",on({token:$D,factory:$D.ɵfac,providedIn:"platform"})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp($D,[{type:Du,args:[{providedIn:"platform"}]}],function(){return[{type:Go}]});new fn(ngDevMode?"AllowMultipleToken":"");OD(function e(){TD(this,e)},"__NG_ELEMENT_ID__",function(e){return function(e,n,t){if(ar(e)&&!t){var r=Ar(e.index,n);return new Jd(r,r)}if(175&e.type){var o=n[15];return new Jd(o,n)}return null}(ao(),to(),!(16&~e))});var YD=function(){function e(){TD(this,e)}return ED(e,[{key:"supports",value:function(e){return av(e)}},{key:"create",value:function(e){return new QD(e)}}]),e}(),GD=function(e,n){return n},QD=function(){function e(n){TD(this,e),OD(this,"length",0),OD(this,"collection",void 0),OD(this,"_linkedRecords",null),OD(this,"_unlinkedRecords",null),OD(this,"_previousItHead",null),OD(this,"_itHead",null),OD(this,"_itTail",null),OD(this,"_additionsHead",null),OD(this,"_additionsTail",null),OD(this,"_movesHead",null),OD(this,"_movesTail",null),OD(this,"_removalsHead",null),OD(this,"_removalsTail",null),OD(this,"_identityChangesHead",null),OD(this,"_identityChangesTail",null),OD(this,"_trackByFn",void 0),this._trackByFn=n||GD}return ED(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<ek(t,r,o)?n:t,a=ek(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=[]),!av(e))throw new Te(900,ngDevMode&&"Error trying to diff '".concat(Re(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 JD(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 XD),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 XD),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}(),JD=function e(n,t){TD(this,e),OD(this,"item",void 0),OD(this,"trackById",void 0),OD(this,"currentIndex",null),OD(this,"previousIndex",null),OD(this,"_nextPrevious",null),OD(this,"_prev",null),OD(this,"_next",null),OD(this,"_prevDup",null),OD(this,"_nextDup",null),OD(this,"_prevRemoved",null),OD(this,"_nextRemoved",null),OD(this,"_nextAdded",null),OD(this,"_nextMoved",null),OD(this,"_nextIdentityChange",null),this.item=n,this.trackById=t},KD=function(){function e(){TD(this,e),OD(this,"_head",null),OD(this,"_tail",null)}return ED(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}(),XD=function(){function e(){TD(this,e),OD(this,"map",new Map)}return ED(e,[{key:"put",value:function(e){var n=e.trackById,t=this.map.get(n);t||(t=new KD,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 ek(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 nk=function(){function e(){TD(this,e)}return ED(e,[{key:"supports",value:function(e){return ND(e,Map)||uv(e)}},{key:"create",value:function(){return new tk}}]),e}(),tk=function(){function e(){TD(this,e),OD(this,"_records",new Map),OD(this,"_mapHead",null),OD(this,"_appendAfter",null),OD(this,"_previousMapHead",null),OD(this,"_changesHead",null),OD(this,"_changesTail",null),OD(this,"_additionsHead",null),OD(this,"_additionsTail",null),OD(this,"_removalsHead",null),OD(this,"_removalsTail",null)}return ED(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(!ND(e,Map)&&!uv(e))throw new Te(900,ngDevMode&&"Error trying to diff '".concat(Re(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 rk(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){ND(e,Map)?e.forEach(n):Object.keys(e).forEach(function(t){return n(e[t],t)})}}]),e}(),rk=function e(n){TD(this,e),OD(this,"key",void 0),OD(this,"previousValue",null),OD(this,"currentValue",null),OD(this,"_nextPrevious",null),OD(this,"_next",null),OD(this,"_prev",null),OD(this,"_nextAdded",null),OD(this,"_nextRemoved",null),OD(this,"_nextChanged",null),this.key=n};function ok(){return new ik([new YD])}var ik=function(){function e(n){TD(this,e),OD(this,"factories",void 0),this.factories=n}return ED(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 Te(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||ok())},deps:[[e,new na,new Xi]]}}}]),e}();function ak(){return new uk([new nk])}OD(ik,"ɵprov",on({token:ik,providedIn:"root",factory:ok}));var uk=function(){function e(n){TD(this,e),OD(this,"factories",void 0),this.factories=n}return ED(e,[{key:"find",value:function(e){var n=this.factories.find(function(n){return n.supports(e)});if(n)return n;throw new Te(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||ak())},deps:[[e,new na,new Xi]]}}}]),e}();OD(uk,"ɵprov",on({token:uk,providedIn:"root",factory:ak}));var lk=[new nk],sk=[new YD];new ik(sk),new uk(lk),function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(n),o=new fn(r)}(null,"core",[]);var ck=function e(n){TD(this,e)};OD(ck,"ɵfac",function(e){return new(e||ck)($n(dg))}),OD(ck,"ɵmod",ph({type:ck})),OD(ck,"ɵinj",an({})),("undefined"==typeof ngDevMode||ngDevMode)&&Xp(ck,[{type:XM}],function(){return[{type:dg}]}),new fn("undefined"==typeof ngDevMode||ngDevMode?"REQUEST":"",{providedIn:"platform",factory:function(){return null}}),new fn("undefined"==typeof ngDevMode||ngDevMode?"RESPONSE_INIT":"",{providedIn:"platform",factory:function(){return null}}),new fn("undefined"==typeof ngDevMode||ngDevMode?"REQUEST_CONTEXT":"",{providedIn:"platform",factory:function(){return null}}),exports.ALPHABET_KB_KEYS=u,exports.ARROW=o,exports.EXTENSION_BY_MIME_TYPE=d,exports.KB_ALPHABET_CODES=l,exports.KB_CODE=a,exports.KB_KEY=i,exports.MIME_TYPE_BY_EXTENSION=f,exports.PRIMENG_DATE_FORMAT_META={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}},exports.RDT_DEFAULT_MIME_TYPE=x,exports.RDT_DEFAULT_MS_OFFICE_ACTION=I,exports.RdtArrayUtils=class{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}},exports.RdtCssUtils=v,exports.RdtDateParser=class{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,y.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&&m.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?h.doubleDigitYearToPast(n):h.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&&!m.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&&m.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}},exports.RdtDateUtils=h,exports.RdtFileUtils=C,exports.RdtHTMLUtils=y,exports.RdtModelUtils=class{static inferPropertyInfo(e,n){const t=E(n).fileName.split("-"),r={};t.forEach(e=>r[e]=1);let o=0,i="";e.forEach(({key:e})=>{const n=E(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=E(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:R.includes(n[0])&&"number"===e.type}})}static names(e){return E(e)}},exports.RdtObjectUtils=class{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=P(t[0]);let o=r;for(let e=1;e<t.length;e++){const n=P(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])}},exports.RdtRandomUtils=class{static randomId(){return Math.random().toString(36).substring(2)}static trueFalse(){return Math.random()<.5}},exports.RdtRxUtils=class{static repeatLatestWhen(e){return t=>n.combineLatest([t,e.pipe(n.startWith(null))]).pipe(n.map(([e])=>e))}static completeIfNull(e){return e.pipe(n.switchMap(e=>null==e?n.EMPTY:n.of(e)))}static makeObservable(e){return e instanceof n.Observable?e:n.of(e)}},exports.RdtStringUtils=m,exports.signalToPromise=function e(n,t){var r;ngDevMode&&!(null==t?void 0:t.injector)&&Qt(e);const o=null!=(r=null==t?void 0:t.injector)?r:Gn(Go);return new Promise((e,t)=>{const r=MD(()=>{let r;try{r=n()}catch(e){return void mD(()=>t(e))}mD(()=>e(r))},{injector:o,manualCleanup:!0});o.get(Jo).onDestroy(()=>{r.destroy()})})};
|