bimplus-webcomponents 0.0.123 → 0.0.125
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/dist/assets/.gitignore +36 -36
- package/dist/assets/images/27_Center_Menu.svg +3 -3
- package/dist/assets/images/27_Center_Menu_active.svg +3 -3
- package/dist/assets/images/27_Center_Menu_opened.svg +14 -14
- package/dist/assets/images/3_dots.svg +10 -10
- package/dist/assets/images/3_dots_active.svg +10 -10
- package/dist/assets/images/6-dots-gray.svg +10 -10
- package/dist/assets/images/6_dots_gray.svg +8 -8
- package/dist/assets/images/Add_Issue_active.svg +12 -12
- package/dist/assets/images/Add_Issue_disabled.svg +12 -12
- package/dist/assets/images/Allplan-Cloud-Viewer-Logo.svg +17 -17
- package/dist/assets/images/Allplan-Cloud-Viewer-Logo_black.svg +16 -16
- package/dist/assets/images/Allplan-Connexis-Logo.svg +8 -8
- package/dist/assets/images/Allplan-Connexis-Logo_black.svg +11 -11
- package/dist/assets/images/Allplan_Bimplus_Logo.svg +14 -14
- package/dist/assets/images/Fullscreen_active.svg +6 -6
- package/dist/assets/images/Fullscreen_disabled.svg +8 -8
- package/dist/assets/images/Hide_active.svg +12 -12
- package/dist/assets/images/Hide_disabled.svg +12 -12
- package/dist/assets/images/IsolateMenuClipped.svg +19 -19
- package/dist/assets/images/IsolateMenuClipped_maincolor.svg +19 -19
- package/dist/assets/images/IsolateMenuHidden.svg +8 -8
- package/dist/assets/images/IsolateMenuHidden_maincolor.svg +5 -5
- package/dist/assets/images/IsolateMenuNormal.svg +29 -29
- package/dist/assets/images/IsolateMenuNormal_maincolor.svg +29 -29
- package/dist/assets/images/IsolationMenuParams.svg +5 -5
- package/dist/assets/images/IsolationMenuParamsmaincolor.svg +5 -5
- package/dist/assets/images/Isolation_active.svg +12 -12
- package/dist/assets/images/Isolation_disabled.svg +12 -12
- package/dist/assets/images/Markup_active.svg +11 -11
- package/dist/assets/images/Markup_disabled.svg +11 -11
- package/dist/assets/images/Navigation_Map_active.svg +3 -3
- package/dist/assets/images/Navigation_Map_disabled.svg +5 -5
- package/dist/assets/images/Pipette_18_maincolor.svg +3 -3
- package/dist/assets/images/ProjectNavigation_20_maincolor.svg +10 -10
- package/dist/assets/images/Project_Navigation_active.svg +10 -10
- package/dist/assets/images/Project_Navigation_disabled.svg +10 -10
- package/dist/assets/images/Properties_18_gray.svg +3 -3
- package/dist/assets/images/Properties_18_maincolor.svg +3 -3
- package/dist/assets/images/Quantity_active.svg +3 -3
- package/dist/assets/images/Quantity_disabled.svg +5 -5
- package/dist/assets/images/Reset_active.svg +10 -10
- package/dist/assets/images/Reset_disabled.svg +10 -10
- package/dist/assets/images/Section_active.svg +3 -3
- package/dist/assets/images/Section_disabled.svg +5 -5
- package/dist/assets/images/Spinner_18_disabled.svg +15 -15
- package/dist/assets/images/View_active.svg +4 -4
- package/dist/assets/images/View_disabled.svg +6 -6
- package/dist/assets/images/bimplus_Components_Account_Settings.svg +14 -14
- package/dist/assets/images/bimplus_Components_Add_Ins.svg +3 -3
- package/dist/assets/images/bimplus_Components_Autoconverter.svg +14 -14
- package/dist/assets/images/bimplus_Components_Autoconverter_Active.svg +14 -14
- package/dist/assets/images/bimplus_Components_Autoconverter_Disabled.svg +14 -14
- package/dist/assets/images/bimplus_Components_BIM_Explorer.svg +4 -4
- package/dist/assets/images/bimplus_Components_BIM_Explorer_Active.svg +4 -4
- package/dist/assets/images/bimplus_Components_BIM_Explorer_Disabled.svg +4 -4
- package/dist/assets/images/bimplus_Components_Clear_Cache.svg +16 -16
- package/dist/assets/images/bimplus_Components_Close.svg +3 -3
- package/dist/assets/images/bimplus_Components_Connexis.svg +4 -4
- package/dist/assets/images/bimplus_Components_Connexis_Active.svg +4 -4
- package/dist/assets/images/bimplus_Components_Connexis_Disabled.svg +4 -4
- package/dist/assets/images/bimplus_Components_Desktop_Mode.svg +15 -15
- package/dist/assets/images/bimplus_Components_Documents.svg +6 -6
- package/dist/assets/images/bimplus_Components_Documents_Active.svg +4 -4
- package/dist/assets/images/bimplus_Components_Documents_Disabled.svg +6 -6
- package/dist/assets/images/bimplus_Components_Edit_Profile.svg +8 -8
- package/dist/assets/images/bimplus_Components_Forum.svg +10 -10
- package/dist/assets/images/bimplus_Components_IFC_viewer.svg +9 -9
- package/dist/assets/images/bimplus_Components_IFC_viewer_Active.svg +16 -16
- package/dist/assets/images/bimplus_Components_IFC_viewer_Disabled.svg +9 -9
- package/dist/assets/images/bimplus_Components_ISO.svg +3 -3
- package/dist/assets/images/bimplus_Components_ISO_Active.svg +3 -3
- package/dist/assets/images/bimplus_Components_ISO_Disabled.svg +3 -3
- package/dist/assets/images/bimplus_Components_Info.svg +10 -10
- package/dist/assets/images/bimplus_Components_Info_Active.svg +10 -10
- package/dist/assets/images/bimplus_Components_Languages.svg +5 -5
- package/dist/assets/images/bimplus_Components_Logout.svg +12 -12
- package/dist/assets/images/bimplus_Components_Models.svg +10 -10
- package/dist/assets/images/bimplus_Components_Models_Active.svg +10 -10
- package/dist/assets/images/bimplus_Components_Models_Disabled.svg +10 -10
- package/dist/assets/images/bimplus_Components_Notify_Alert.svg +6 -6
- package/dist/assets/images/bimplus_Components_Notify_Close.svg +3 -3
- package/dist/assets/images/bimplus_Components_Notify_Empty.svg +5 -5
- package/dist/assets/images/bimplus_Components_Notify_Main.svg +5 -5
- package/dist/assets/images/bimplus_Components_Notify_Tick_Up.svg +3 -3
- package/dist/assets/images/bimplus_Components_Overlay_Dialog_Cross_White.svg +3 -3
- package/dist/assets/images/bimplus_Components_Overlay_Dialog_Error_Title.svg +4 -4
- package/dist/assets/images/bimplus_Components_Overlay_Dialog_Icon.svg +3 -3
- package/dist/assets/images/bimplus_Components_Projects_Folder.svg +10 -10
- package/dist/assets/images/bimplus_Components_Projects_Folder_Active.svg +10 -10
- package/dist/assets/images/bimplus_Components_Projects_Folder_Disabled.svg +10 -10
- package/dist/assets/images/bimplus_Components_Setting_Active.svg +10 -10
- package/dist/assets/images/bimplus_Components_Settings.svg +10 -10
- package/dist/assets/images/bimplus_Components_Settings_Disabled.svg +10 -10
- package/dist/assets/images/bimplus_Components_Shop.svg +13 -13
- package/dist/assets/images/bimplus_Components_Shop_Disabled.svg +13 -13
- package/dist/assets/images/bimplus_Components_Support.svg +21 -21
- package/dist/assets/images/bimplus_Components_Team_Members.svg +5 -5
- package/dist/assets/images/bimplus_Components_Team_Members_Active.svg +5 -5
- package/dist/assets/images/bimplus_Components_Touch_Mode.svg +16 -16
- package/dist/assets/images/bimplus_Components_User_Guide.svg +17 -17
- package/dist/assets/images/bimplus_Components_Users.svg +4 -4
- package/dist/assets/images/bimplus_Components_Users_Active.svg +4 -4
- package/dist/assets/images/bimplus_Components_Users_Disabled.svg +4 -4
- package/dist/assets/images/bimplus_Components_Zoom.svg +5 -5
- package/dist/assets/images/bimplus_Components_navbar_menu.svg +6 -6
- package/dist/assets/images/bimplus_Components_navbar_menu_active.svg +6 -6
- package/dist/assets/images/bimplus_Components_navbar_menu_disabled.svg +6 -6
- package/dist/assets/images/bimplus_Components_submenu_arrow.svg +4 -4
- package/dist/assets/images/bimplus_Remove_Conection.svg +15 -15
- package/dist/assets/images/bimplus_WebIcons_Cross.svg +1 -1
- package/dist/assets/images/checkbox_mixed.svg +4 -4
- package/dist/assets/images/checkbox_off.svg +3 -3
- package/dist/assets/images/checkbox_off_disabled.svg +3 -3
- package/dist/assets/images/checkbox_off_hovered.svg +3 -3
- package/dist/assets/images/checkbox_off_pressed.svg +3 -3
- package/dist/assets/images/checkbox_on.svg +4 -4
- package/dist/assets/images/checkbox_on_disabled.svg +4 -4
- package/dist/assets/images/checkbox_on_hovered.svg +4 -4
- package/dist/assets/images/checkbox_on_pressed.svg +4 -4
- package/dist/assets/images/cm_view_front_black.svg +4 -4
- package/dist/assets/images/cm_view_front_maincolor.svg +4 -4
- package/dist/assets/images/cm_view_perspective_black.svg +3 -3
- package/dist/assets/images/cm_view_perspective_maincolor.svg +3 -3
- package/dist/assets/images/cm_view_side_black.svg +4 -4
- package/dist/assets/images/cm_view_side_maincolor.svg +4 -4
- package/dist/assets/images/cm_view_top_black.svg +4 -4
- package/dist/assets/images/cm_view_top_maincolor.svg +4 -4
- package/dist/assets/images/collapsed_18.svg +3 -3
- package/dist/assets/images/collapsed_18_small.svg +3 -3
- package/dist/assets/images/expanded_18.svg +3 -3
- package/dist/assets/images/expanded_18_small.svg +3 -3
- package/dist/assets/images/eye_active.svg +4 -4
- package/dist/assets/images/eye_semiactive.svg +4 -4
- package/dist/assets/images/ic_drag.svg +8 -8
- package/dist/assets/images/ic_eye_black.svg +5 -5
- package/dist/assets/images/ic_eye_maincolor.svg +5 -5
- package/dist/assets/images/ic_make_transparent.svg +4 -4
- package/dist/assets/images/ic_make_transparent_active.svg +4 -4
- package/dist/assets/images/ic_property_manager.svg +10 -10
- package/dist/assets/images/ic_property_manager_active.svg +10 -10
- package/dist/assets/images/ic_property_manager_disabled.svg +10 -10
- package/dist/assets/images/ic_reset.svg +3 -3
- package/dist/assets/images/ic_thin_arrow_left.svg +3 -3
- package/dist/assets/images/ic_toggle_off_gray.svg +4 -4
- package/dist/assets/images/ic_toggle_on_green.svg +4 -4
- package/dist/assets/images/ic_toggle_on_light_green.svg +4 -4
- package/dist/assets/images/icon-hide-param-maincolor.svg +5 -5
- package/dist/assets/images/icon-hide-param-white.svg +5 -5
- package/dist/assets/images/resize_handle_ne.svg +4 -4
- package/dist/assets/images/resize_handle_se.svg +4 -4
- package/dist/assets/images/teal/bimplus_Components_Logo_Black.svg +17 -17
- package/dist/assets/images/teal/switcher_active.svg +4 -4
- package/dist/assets/images/teal/switcher_inactive.svg +4 -4
- package/dist/assets/images/teal/switcher_semiactive.svg +4 -4
- package/dist/assets/images/visibility_active.svg +4 -4
- package/dist/assets/images/visibility_inactive.svg +4 -4
- package/dist/assets/images/visibility_semiactive.svg +4 -4
- package/dist/assets/languages/.gitignore +36 -36
- package/dist/assets/languages/strings_cs.json +2310 -2310
- package/dist/assets/languages/strings_de.json +2348 -2348
- package/dist/assets/languages/strings_en.json +2385 -2385
- package/dist/assets/languages/strings_es.json +2310 -2310
- package/dist/assets/languages/strings_fr.json +2314 -2314
- package/dist/assets/languages/strings_it.json +2310 -2310
- package/dist/assets/languages/strings_nl.json +796 -796
- package/dist/assets/languages/strings_ro.json +2310 -2310
- package/dist/assets/languages/strings_ru.json +2310 -2310
- package/dist/assets/languages/strings_tr.json +2310 -2310
- package/dist/assets/languages/strings_us.json +2323 -2323
- package/dist/bimplus-webcomponents-main.js +1 -1
- package/package.json +22 -22
|
@@ -4,7 +4,7 @@ ${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
|
|
|
4
4
|
`);return e===-1?n:n.substring(0,e)}function hc(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var U_=Re({__forward_ref__:Re});function _i(t){return t.__forward_ref__=_i,t.toString=function(){return Dt(this())},t}function _t(t){return Xm(t)?t():t}function Xm(t){return typeof t=="function"&&t.hasOwnProperty(U_)&&t.__forward_ref__===_i}function H(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ne(t){return{providers:t.providers||[],imports:t.imports||[]}}function _d(t){return lm(t,Jm)||lm(t,ef)}function lm(t,n){return t.hasOwnProperty(n)?t[n]:null}function W_(t){let n=t&&(t[Jm]||t[ef]);return n||null}function cm(t){return t&&(t.hasOwnProperty(dm)||t.hasOwnProperty(G_))?t[dm]:null}var Jm=Re({\u0275prov:Re}),dm=Re({\u0275inj:Re}),ef=Re({ngInjectableDef:Re}),G_=Re({ngInjectorDef:Re}),G=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=H({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function tf(t){return t&&!!t.\u0275providers}var q_=Re({\u0275cmp:Re}),Z_=Re({\u0275dir:Re}),Y_=Re({\u0275pipe:Re});var Ls=Re({\u0275fac:Re}),Jo=Re({__NG_ELEMENT_ID__:Re}),um=Re({__NG_ENV_ID__:Re});function ci(t){return typeof t=="string"?t:t==null?"":String(t)}function K_(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ci(t)}function Q_(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new me(-200,t)}function yd(t,n){throw new me(-201,!1)}var _e=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(_e||{}),bc;function nf(){return bc}function At(t){let n=bc;return bc=t,n}function of(t,n,e){let i=_d(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&_e.Optional)return null;if(n!==void 0)return n;yd(t,"Injector")}var X_={},tr=X_,vc="__NG_DI_FLAG__",Vs="ngTempTokenPath",J_="ngTokenPath",e0=/\n/gm,t0="\u0275",pm="__source",qi;function n0(){return qi}function $i(t){let n=qi;return qi=t,n}function i0(t,n=_e.Default){if(qi===void 0)throw new me(-203,!1);return qi===null?of(t,void 0,n):qi.get(t,n&_e.Optional?null:void 0,n)}function z(t,n=_e.Default){return(nf()||i0)(_t(t),n)}function K(t,n=_e.Default){return z(t,pa(n))}function pa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function _c(t){let n=[];for(let e=0;e<t.length;e++){let i=_t(t[e]);if(Array.isArray(i)){if(i.length===0)throw new me(900,!1);let o,r=_e.Default;for(let s=0;s<i.length;s++){let a=i[s],l=o0(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}n.push(z(o,r))}else n.push(z(i))}return n}function rf(t,n){return t[vc]=n,t.prototype[vc]=n,t}function o0(t){return t[vc]}function r0(t,n,e,i){let o=t[Vs];throw n[pm]&&o.unshift(n[pm]),t.message=s0(`
|
|
5
5
|
`+t.message,o,e,i),t[J_]=o,t[Vs]=null,t}function s0(t,n,e,i=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==t0?t.slice(2):t;let o=Dt(n);if(Array.isArray(n))o=n.map(Dt).join(" -> ");else if(typeof n=="object"){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):Dt(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(e0,`
|
|
7
|
-
`)}`}var Cd=rf(Qm("Optional"),8);var sf=rf(Qm("SkipSelf"),4);function di(t,n){let e=t.hasOwnProperty(Ls);return e?t[Ls]:null}function a0(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function l0(t){return t.flat(Number.POSITIVE_INFINITY)}function wd(t,n){t.forEach(e=>Array.isArray(e)?wd(e,n):n(e))}function af(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Bs(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function c0(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function d0(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function xd(t,n,e){let i=ur(t,n);return i>=0?t[i|1]=e:(i=~i,d0(t,i,n,e)),i}function nc(t,n){let e=ur(t,n);if(e>=0)return t[e|1]}function ur(t,n){return u0(t,n,1)}function u0(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var Yi={},wt=[],nr=new G(""),lf=new G("",-1),cf=new G(""),zs=class{get(n,e=tr){if(e===tr){let i=new Error(`NullInjectorError: No provider for ${Dt(n)}!`);throw i.name="NullInjectorError",i}return e}},df=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(df||{}),nn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(nn||{}),jn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(jn||{});function p0(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function yc(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];m0(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function uf(t){return t===3||t===4||t===6}function m0(t){return t.charCodeAt(0)===64}function ir(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?mm(t,e,o,null,n[++i]):mm(t,e,o,null,null))}}return t}function mm(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var pf="ng-template";function f0(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&p0(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Md(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function Md(t){return t.type===4&&t.value!==pf}function g0(t,n,e){let i=t.type===4&&!e?pf:t.value;return n===i}function h0(t,n,e){let i=4,o=t.attrs,r=o!==null?_0(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Wt(i)&&!Wt(l))return!1;if(s&&Wt(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!g0(t,l,e)||l===""&&n.length===1){if(Wt(i))return!1;s=!0}}else if(i&8){if(o===null||!f0(t,o,l,e)){if(Wt(i))return!1;s=!0}}else{let c=n[++a],m=b0(l,o,Md(t),e);if(m===-1){if(Wt(i))return!1;s=!0;continue}if(c!==""){let h;if(m>r?h="":h=o[m+1].toLowerCase(),i&2&&c!==h){if(Wt(i))return!1;s=!0}}}}return Wt(i)||s}function Wt(t){return(t&1)===0}function b0(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return y0(n,t)}function mf(t,n,e=!1){for(let i=0;i<n.length;i++)if(h0(t,n[i],e))return!0;return!1}function v0(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function _0(t){for(let n=0;n<t.length;n++){let e=t[n];if(uf(e))return n}return t.length}function y0(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function C0(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function fm(t,n){return t?":not("+n.trim()+")":n}function w0(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Wt(s)&&(n+=fm(r,o),o=""),i=s,r=r||!Wt(i);e++}return o!==""&&(n+=fm(r,o)),n}function x0(t){return t.map(w0).join(",")}function M0(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Wt(o))break;o=r}i++}return{attrs:n,classes:e}}function E(t){return dr(()=>{let n=hf(t),e=Be(ae({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===df.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||nn.Emulated,styles:t.styles||wt,_:null,schemas:t.schemas||null,tView:null,id:""});bf(e);let i=t.dependencies;return e.directiveDefs=hm(i,!1),e.pipeDefs=hm(i,!0),e.id=E0(e),e})}function k0(t){return Ki(t)||ff(t)}function D0(t){return t!==null}function Fe(t){return dr(()=>({type:t.type,bootstrap:t.bootstrap||wt,declarations:t.declarations||wt,imports:t.imports||wt,exports:t.exports||wt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function gm(t,n){if(t==null)return Yi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=jn.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==jn.None?[i,a]:i,n[r]=s):e[r]=i}return e}function Z(t){return dr(()=>{let n=hf(t);return bf(n),n})}function pr(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ki(t){return t[q_]||null}function ff(t){return t[Z_]||null}function gf(t){return t[Y_]||null}function I0(t){let n=Ki(t)||ff(t)||gf(t);return n!==null?n.standalone:!1}function hf(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Yi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||wt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gm(t.inputs,n),outputs:gm(t.outputs),debugInfo:null}}function bf(t){t.features?.forEach(n=>n(t))}function hm(t,n){if(!t)return null;let e=n?gf:k0;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(D0)}function E0(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function kd(...t){return{\u0275providers:vf(!0,t),\u0275fromNgModule:!0}}function vf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return wd(n,s=>{let a=s;Cc(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&_f(o,r),e}function _f(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];Dd(o,r=>{n(r,i)})}}function Cc(t,n,e,i){if(t=_t(t),!t)return!1;let o=null,r=cm(t),s=!r&&Ki(t);if(!r&&!s){let l=t.ngModule;if(r=cm(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Cc(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{wd(r.imports,m=>{Cc(m,n,e,i)&&(c||=[],c.push(m))})}finally{}c!==void 0&&_f(c,n)}if(!a){let c=di(o)||(()=>new o);n({provide:o,useFactory:c,deps:wt},o),n({provide:cf,useValue:o,multi:!0},o),n({provide:nr,useValue:()=>z(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;Dd(l,m=>{n(m,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Dd(t,n){for(let e of t)tf(e)&&(e=e.\u0275providers),Array.isArray(e)?Dd(e,n):n(e)}var S0=Re({provide:String,useValue:Re});function yf(t){return t!==null&&typeof t=="object"&&S0 in t}function O0(t){return!!(t&&t.useExisting)}function T0(t){return!!(t&&t.useFactory)}function Qi(t){return typeof t=="function"}function P0(t){return!!t.useClass}var ma=new G(""),Ps={},A0={},ic;function Id(){return ic===void 0&&(ic=new zs),ic}var Rn=class{},Hs=class extends Rn{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xc(n,s=>this.processProvider(s)),this.records.set(lf,Ui(void 0,this)),o.has("environment")&&this.records.set(Rn,Ui(void 0,this));let r=this.records.get(ma);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(cf,wt,_e.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=ge(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ge(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=$i(this),i=At(void 0),o;try{return n()}finally{$i(e),At(i)}}get(n,e=tr,i=_e.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(um))return n[um](this);i=pa(i);let o,r=$i(this),s=At(void 0);try{if(!(i&_e.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=L0(n)&&_d(n);c&&this.injectableDefInScope(c)?l=Ui(wc(n),Ps):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&_e.Self?Id():this.parent;return e=i&_e.Optional&&e===tr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[Vs]=a[Vs]||[]).unshift(Dt(n)),r)throw a;return r0(a,n,"R3InjectorError",this.source)}else throw a}finally{At(s),$i(r)}}resolveInjectorInitializers(){let n=ge(null),e=$i(this),i=At(void 0),o;try{let r=this.get(nr,wt,_e.Self);for(let s of r)s()}finally{$i(e),At(i),ge(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Dt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(n){n=_t(n);let e=Qi(n)?n:_t(n&&n.provide),i=F0(n);if(!Qi(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Ui(void 0,Ps,!0),o.factory=()=>_c(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=ge(null);try{return e.value===Ps&&(e.value=A0,e.value=e.factory()),typeof e.value=="object"&&e.value&&R0(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ge(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=_t(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function wc(t){let n=_d(t),e=n!==null?n.factory:di(t);if(e!==null)return e;if(t instanceof G)throw new me(204,!1);if(t instanceof Function)return N0(t);throw new me(204,!1)}function N0(t){if(t.length>0)throw new me(204,!1);let e=W_(t);return e!==null?()=>e.factory(t):()=>new t}function F0(t){if(yf(t))return Ui(void 0,t.useValue);{let n=Cf(t);return Ui(n,Ps)}}function Cf(t,n,e){let i;if(Qi(t)){let o=_t(t);return di(o)||wc(o)}else if(yf(t))i=()=>_t(t.useValue);else if(T0(t))i=()=>t.useFactory(..._c(t.deps||[]));else if(O0(t))i=()=>z(_t(t.useExisting));else{let o=_t(t&&(t.useClass||t.provide));if(j0(t))i=()=>new o(..._c(t.deps));else return di(o)||wc(o)}return i}function Ui(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function j0(t){return!!t.deps}function R0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function L0(t){return typeof t=="function"||typeof t=="object"&&t instanceof G}function xc(t,n){for(let e of t)Array.isArray(e)?xc(e,n):e&&tf(e)?xc(e.\u0275providers,n):n(e)}function wf(){return nf()!==void 0||n0()!=null}function xf(t){if(!wf())throw new me(-203,!1)}function V0(t){return typeof t=="function"}var bn=0,le=1,oe=2,ht=3,qt=4,Mt=5,Xi=6,$s=7,ct=8,Ji=9,on=10,$e=11,or=12,bm=13,ao=14,xt=15,ui=16,Wi=17,hn=18,fa=19,Mf=20,Nn=21,oc=22,Nt=23,dt=25,kf=1;var pi=7,Us=8,eo=9,gt=10,Ws=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ws||{});function Fn(t){return Array.isArray(t)&&typeof t[kf]=="object"}function vn(t){return Array.isArray(t)&&t[kf]===!0}function Ed(t){return(t.flags&4)!==0}function ga(t){return t.componentOffset>-1}function ha(t){return(t.flags&1)===1}function Ln(t){return!!t.template}function Mc(t){return(t[oe]&512)!==0}var rr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Df(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Le(){return If}function If(t){return t.type.prototype.ngOnChanges&&(t.setInput=z0),B0}Le.ngInherit=!0;function B0(){let t=Sf(this),n=t?.current;if(n){let e=t.previous;if(e===Yi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function z0(t,n,e,i,o){let r=this.declaredInputs[i],s=Sf(t)||H0(t,{previous:Yi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new rr(c&&c.currentValue,e,l===Yi),Df(t,n,o,e)}var Ef="__ngSimpleChanges__";function Sf(t){return t[Ef]||null}function H0(t,n){return t[Ef]=n}var vm=null;var en=function(t,n,e){vm?.(t,n,e)},Of="svg",$0="math";function rn(t){for(;Array.isArray(t);)t=t[bn];return t}function Tf(t,n){return rn(n[t])}function Ft(t,n){return rn(n[t.index])}function Sd(t,n){return t.data[n]}function Pf(t,n){return t[n]}function Hn(t,n){let e=n[t];return Fn(e)?e:e[bn]}function U0(t){return(t[oe]&4)===4}function Od(t){return(t[oe]&128)===128}function W0(t){return vn(t[ht])}function Vn(t,n){return n==null?null:t[n]}function Af(t){t[Wi]=0}function Nf(t){t[oe]&1024||(t[oe]|=1024,Od(t)&&va(t))}function G0(t,n){for(;t>0;)n=n[ao],t--;return n}function ba(t){return!!(t[oe]&9216||t[Nt]?.dirty)}function kc(t){t[on].changeDetectionScheduler?.notify(8),t[oe]&64&&(t[oe]|=1024),ba(t)&&va(t)}function va(t){t[on].changeDetectionScheduler?.notify(0);let n=mi(t);for(;n!==null&&!(n[oe]&8192||(n[oe]|=8192,!Od(n)));)n=mi(n)}function Ff(t,n){if((t[oe]&256)===256)throw new me(911,!1);t[Nn]===null&&(t[Nn]=[]),t[Nn].push(n)}function q0(t,n){if(t[Nn]===null)return;let e=t[Nn].indexOf(n);e!==-1&&t[Nn].splice(e,1)}function mi(t){let n=t[ht];return vn(n)?n[ht]:n}var de={lFrame:Uf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var jf=!1;function Z0(){return de.lFrame.elementDepthCount}function Y0(){de.lFrame.elementDepthCount++}function K0(){de.lFrame.elementDepthCount--}function Rf(){return de.bindingsEnabled}function Lf(){return de.skipHydrationRootTNode!==null}function Q0(t){return de.skipHydrationRootTNode===t}function X0(){de.skipHydrationRootTNode=null}function ne(){return de.lFrame.lView}function Ue(){return de.lFrame.tView}function b(t){return de.lFrame.contextLView=t,t[ct]}function v(t){return de.lFrame.contextLView=null,t}function ut(){let t=Vf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vf(){return de.lFrame.currentTNode}function J0(){let t=de.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function yi(t,n){let e=de.lFrame;e.currentTNode=t,e.isParent=n}function Td(){return de.lFrame.isParent}function Pd(){de.lFrame.isParent=!1}function ey(){return de.lFrame.contextLView}function Bf(){return jf}function _m(t){jf=t}function mr(){let t=de.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ty(){return de.lFrame.bindingIndex}function ny(t){return de.lFrame.bindingIndex=t}function Ci(){return de.lFrame.bindingIndex++}function Ad(t){let n=de.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function iy(){return de.lFrame.inI18n}function oy(t,n){let e=de.lFrame;e.bindingIndex=e.bindingRootIndex=t,Dc(n)}function ry(){return de.lFrame.currentDirectiveIndex}function Dc(t){de.lFrame.currentDirectiveIndex=t}function sy(t){let n=de.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function zf(){return de.lFrame.currentQueryIndex}function Nd(t){de.lFrame.currentQueryIndex=t}function ay(t){let n=t[le];return n.type===2?n.declTNode:n.type===1?t[Mt]:null}function Hf(t,n,e){if(e&_e.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&_e.Host);)if(o=ay(r),o===null||(r=r[ao],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=de.lFrame=$f();return i.currentTNode=n,i.lView=t,!0}function Fd(t){let n=$f(),e=t[le];de.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function $f(){let t=de.lFrame,n=t===null?null:t.child;return n===null?Uf(t):n}function Uf(t){let 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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Wf(){let t=de.lFrame;return de.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Gf=Wf;function jd(){let t=Wf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ly(t){return(de.lFrame.contextLView=G0(t,de.lFrame.contextLView))[ct]}function _n(){return de.lFrame.selectedIndex}function fi(t){de.lFrame.selectedIndex=t}function fr(){let t=de.lFrame;return Sd(t.tView,t.selectedIndex)}function qf(){de.lFrame.currentNamespace=Of}function cy(){return de.lFrame.currentNamespace}var Zf=!0;function _a(){return Zf}function ya(t){Zf=t}function dy(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=If(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Ca(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:m}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),m!=null&&(t.destroyHooks??=[]).push(e,m)}}function As(t,n,e){Yf(t,n,3,e)}function Ns(t,n,e,i){(t[oe]&3)===e&&Yf(t,n,e,i)}function rc(t,n){let e=t[oe];(e&3)===n&&(e&=16383,e+=1,t[oe]=e)}function Yf(t,n,e,i){let o=i!==void 0?t[Wi]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Wi]+=65536),(a<r||r==-1)&&(uy(t,e,n,l),t[Wi]=(t[Wi]&4294901760)+l+2),l++}function ym(t,n){en(4,t,n);let e=ge(null);try{n.call(t)}finally{ge(e),en(5,t,n)}}function uy(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[oe]>>14<t[Wi]>>16&&(t[oe]&3)===n&&(t[oe]+=16384,ym(a,r)):ym(a,r)}var Zi=-1,gi=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function py(t){return t instanceof gi}function my(t){return(t.flags&8)!==0}function fy(t){return(t.flags&16)!==0}var sc={},Ic=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=pa(i);let o=this.injector.get(n,sc,i);return o!==sc||e===sc?o:this.parentInjector.get(n,e,i)}};function Kf(t){return t!==Zi}function Gs(t){return t&32767}function gy(t){return t>>16}function qs(t,n){let e=gy(t),i=n;for(;e>0;)i=i[ao],e--;return i}var Ec=!0;function Zs(t){let n=Ec;return Ec=t,n}var hy=256,Qf=hy-1,Xf=5,by=0,tn={};function vy(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Jo)&&(i=e[Jo]),i==null&&(i=e[Jo]=by++);let o=i&Qf,r=1<<o;n.data[t+(o>>Xf)]|=r}function Ys(t,n){let e=Jf(t,n);if(e!==-1)return e;let i=n[le];i.firstCreatePass&&(t.injectorIndex=n.length,ac(i.data,t),ac(n,null),ac(i.blueprint,null));let o=Rd(t,n),r=t.injectorIndex;if(Kf(o)){let s=Gs(o),a=qs(o,n),l=a[le].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function ac(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Jf(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Rd(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=og(o),i===null)return Zi;if(e++,o=o[ao],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Zi}function Sc(t,n,e){vy(t,n,e)}function _y(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(uf(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function eg(t,n,e){if(e&_e.Optional||t!==void 0)return t;yd(n,"NodeInjector")}function tg(t,n,e,i){if(e&_e.Optional&&i===void 0&&(i=null),!(e&(_e.Self|_e.Host))){let o=t[Ji],r=At(void 0);try{return o?o.get(n,i,e&_e.Optional):of(n,i,e&_e.Optional)}finally{At(r)}}return eg(i,n,e)}function ng(t,n,e,i=_e.Default,o){if(t!==null){if(n[oe]&2048&&!(i&_e.Self)){let s=xy(t,n,e,i,tn);if(s!==tn)return s}let r=ig(t,n,e,i,tn);if(r!==tn)return r}return tg(n,e,i,o)}function ig(t,n,e,i,o){let r=Cy(e);if(typeof r=="function"){if(!Hf(n,t,i))return i&_e.Host?eg(o,e,i):tg(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&_e.Optional))yd(e);else return s}finally{Gf()}}else if(typeof r=="number"){let s=null,a=Jf(t,n),l=Zi,c=i&_e.Host?n[xt][Mt]:null;for((a===-1||i&_e.SkipSelf)&&(l=a===-1?Rd(t,n):n[a+8],l===Zi||!wm(i,!1)?a=-1:(s=n[le],a=Gs(l),n=qs(l,n)));a!==-1;){let m=n[le];if(Cm(r,a,m.data)){let h=yy(a,n,e,s,i,c);if(h!==tn)return h}l=n[a+8],l!==Zi&&wm(i,n[le].data[a+8]===c)&&Cm(r,a,n)?(s=m,a=Gs(l),n=qs(l,n)):a=-1}}return o}function yy(t,n,e,i,o,r){let s=n[le],a=s.data[t+8],l=i==null?ga(a)&&Ec:i!=s&&(a.type&3)!==0,c=o&_e.Host&&r===a,m=Fs(a,s,e,l,c);return m!==null?hi(n,s,m,a):tn}function Fs(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,m=r>>20,h=i?a:a+m,M=o?a+m:c;for(let C=h;C<M;C++){let O=s[C];if(C<l&&e===O||C>=l&&O.type===e)return C}if(o){let C=s[l];if(C&&Ln(C)&&C.type===e)return l}return null}function hi(t,n,e,i){let o=t[e],r=n.data;if(py(o)){let s=o;s.resolving&&Q_(K_(r[e]));let a=Zs(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?At(s.injectImpl):null,m=Hf(t,i,_e.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&dy(e,r[e],n)}finally{c!==null&&At(c),Zs(a),s.resolving=!1,Gf()}}return o}function Cy(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Jo)?t[Jo]:void 0;return typeof n=="number"?n>=0?n&Qf:wy:n}function Cm(t,n,e){let i=1<<t;return!!(e[n+(t>>Xf)]&i)}function wm(t,n){return!(t&_e.Self)&&!(t&_e.Host&&n)}var li=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return ng(this._tNode,this._lView,n,pa(i),e)}};function wy(){return new li(ut(),ne())}function jt(t){return dr(()=>{let n=t.prototype.constructor,e=n[Ls]||Oc(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[Ls]||Oc(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Oc(t){return Xm(t)?()=>{let n=Oc(_t(t));return n&&n()}:di(t)}function xy(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[oe]&2048&&!(s[oe]&512);){let a=ig(r,s,e,i|_e.Self,tn);if(a!==tn)return a;let l=r.parent;if(!l){let c=s[Mf];if(c){let m=c.get(e,tn,i);if(m!==tn)return m}l=og(s),s=s[ao]}r=l}return o}function og(t){let n=t[le],e=n.type;return e===2?n.declTNode:e===1?t[Mt]:null}function lo(t){return _y(ut(),t)}function xm(t,n=null,e=null,i){let o=My(t,n,e,i);return o.resolveInjectorInitializers(),o}function My(t,n=null,e=null,i,o=new Set){let r=[e||wt,kd(t)];return i=i||(typeof t=="object"?void 0:Dt(t)),new Hs(r,n||Id(),i||null,o)}var sn=class t{static{this.THROW_IF_NOT_FOUND=tr}static{this.NULL=new zs}static create(n,e){if(Array.isArray(n))return xm({name:""},e,n,"");{let i=n.name??"";return xm({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=H({token:t,providedIn:"any",factory:()=>z(lf)})}static{this.__NG_ELEMENT_ID__=-1}};var ky=new G("");ky.__NG_ELEMENT_ID__=t=>{let n=ut();if(n===null)throw new me(204,!1);if(n.type&2)return n.value;if(t&_e.Optional)return null;throw new me(204,!1)};var Dy="ngOriginalError";function lc(t){return t[Dy]}var rg=!0,wa=(()=>{class t{static{this.__NG_ELEMENT_ID__=Iy}static{this.__NG_ENV_ID__=e=>e}}return t})(),Tc=class extends wa{constructor(n){super(),this._lView=n}onDestroy(n){return Ff(this._lView,n),()=>q0(this._lView,n)}};function Iy(){return new Tc(ne())}var xa=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new xe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Pc=class extends be{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,wf()&&(this.destroyRef=K(wa,{optional:!0})??void 0,this.pendingTasks=K(xa,{optional:!0})??void 0)}emit(n){let e=ge(null);try{super.next(n)}finally{ge(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof ze&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},x=Pc;function Ks(...t){}function sg(t){let n,e;function i(){t=Ks;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Mm(t){return queueMicrotask(()=>t()),()=>{t=Ks}}var Ld="isAngularZone",Qs=Ld+"_ID",Ey=0,ke=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new x(!1),this.onMicrotaskEmpty=new x(!1),this.onStable=new x(!1),this.onError=new x(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=rg}=n;if(typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,Ty(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ld)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new me(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,Sy,Ks,Ks);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},Sy={};function Vd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Oy(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){sg(()=>{t.callbackScheduled=!1,Ac(t),t.isCheckStableRunning=!0,Vd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Ac(t)}function Ty(t){let n=()=>{Oy(t)},e=Ey++;t._inner=t._inner.fork({name:"angular",properties:{[Ld]:!0,[Qs]:e,[Qs+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(Py(l))return i.invokeTask(r,s,a,l);try{return km(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Dm(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return km(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Ay(l)&&n(),Dm(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ac(t),Vd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ac(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function km(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Dm(t){t._nesting--,Vd(t)}var Nc=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new x,this.onMicrotaskEmpty=new x,this.onStable=new x,this.onError=new x}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function Py(t){return ag(t,"__ignore_ng_zone__")}function Ay(t){return ag(t,"__scheduler_tick__")}function ag(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var an=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&lc(n);for(;e&&lc(e);)e=lc(e);return e||null}},Ny=new G("",{providedIn:"root",factory:()=>{let t=K(ke),n=K(an);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function Fy(){return co(ut(),ne())}function co(t,n){return new U(Ft(t,n))}var U=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=Fy}}return t})();function jy(t){return t instanceof U?t.nativeElement:t}function Ry(){return this._results[Symbol.iterator]()}var sr=class t{get changes(){return this._changes??=new x}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=Ry)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=l0(n);(this._changesDetected=!a0(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function lg(t){return(t.flags&128)===128}var cg=new Map,Ly=0;function Vy(){return Ly++}function By(t){cg.set(t[fa],t)}function Fc(t){cg.delete(t[fa])}var Im="__ngContext__";function Bn(t,n){Fn(n)?(t[Im]=n[fa],By(n)):t[Im]=n}function dg(t){return pg(t[or])}function ug(t){return pg(t[qt])}function pg(t){for(;t!==null&&!vn(t);)t=t[qt];return t}var jc;function mg(t){jc=t}function fg(){if(jc!==void 0)return jc;if(typeof document<"u")return document;throw new me(210,!1)}var Ma=new G("",{providedIn:"root",factory:()=>zy}),zy="ng",Bd=new G(""),$n=new G("",{providedIn:"platform",factory:()=>"unknown"});var gr=new G(""),hr=new G("",{providedIn:"root",factory:()=>fg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Hy="h",$y="b";var Uy=()=>null;function zd(t,n,e=!1){return Uy(t,n,e)}var gg=!1,Wy=new G("",{providedIn:"root",factory:()=>gg});var Ds;function Gy(){if(Ds===void 0&&(Ds=null,er.trustedTypes))try{Ds=er.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ds}function ka(t){return Gy()?.createHTML(t)||t}var Is;function qy(){if(Is===void 0&&(Is=null,er.trustedTypes))try{Is=er.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Is}function Em(t){return qy()?.createHTML(t)||t}var Xs=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Km})`}};function uo(t){return t instanceof Xs?t.changingThisBreaksApplicationSecurity:t}function Hd(t,n){let e=Zy(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Km})`)}return e===n}function Zy(t){return t instanceof Xs&&t.getTypeName()||null}function Yy(t){let n=new Lc(t);return Ky()?new Rc(n):n}var Rc=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(ka(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Lc=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=ka(n),e}};function Ky(){try{return!!new window.DOMParser().parseFromString(ka(""),"text/html")}catch{return!1}}var Qy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $d(t){return t=String(t),t.match(Qy)?t:"unsafe:"+t}function yn(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function br(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var hg=yn("area,br,col,hr,img,wbr"),bg=yn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vg=yn("rp,rt"),Xy=br(vg,bg),Jy=br(bg,yn("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")),eC=br(vg,yn("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")),Sm=br(hg,Jy,eC,Xy),_g=yn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tC=yn("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"),nC=yn("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"),iC=br(_g,tC,nC),oC=yn("script,style,template"),Vc=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=aC(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=sC(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=Om(n).toLowerCase();if(!Sm.hasOwnProperty(e))return this.sanitizedSomething=!0,!oC.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!iC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;_g[a]&&(l=$d(l)),this.buf.push(" ",s,'="',Tm(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=Om(n).toLowerCase();Sm.hasOwnProperty(e)&&!hg.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Tm(n))}};function rC(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sC(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw yg(n);return n}function aC(t){let n=t.firstChild;if(n&&rC(t,n))throw yg(n);return n}function Om(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function yg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var lC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cC=/([^\#-~ |!])/g;function Tm(t){return t.replace(/&/g,"&").replace(lC,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(cC,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Es;function Cg(t,n){let e=null;try{Es=Es||Yy(t);let i=n?String(n):"";e=Es.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Es.getInertBodyElement(i)}while(i!==r);let a=new Vc().sanitizeChildren(Pm(e)||e);return ka(a)}finally{if(e){let i=Pm(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Pm(t){return"content"in t&&dC(t)?t.content:null}function dC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Da=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Da||{});function Ud(t){let n=wg();return n?Em(n.sanitize(Da.HTML,t)||""):Hd(t,"HTML")?Em(uo(t)):Cg(fg(),ci(t))}function vr(t){let n=wg();return n?n.sanitize(Da.URL,t)||"":Hd(t,"URL")?uo(t):$d(ci(t))}function wg(){let t=ne();return t&&t[on].sanitizer}var uC=/^>|^->|<!--|-->|--!>|<!-$/g,pC=/(<|>)/g,mC="\u200B$1\u200B";function fC(t){return t.replace(uC,n=>n.replace(pC,mC))}function Un(t){return t.ownerDocument}var ln=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ln||{}),gC;function Wd(t,n){return gC(t,n)}function Gi(t,n,e,i,o){if(i!=null){let r,s=!1;vn(i)?r=i:Fn(i)&&(s=!0,i=i[bn]);let a=rn(i);t===0&&e!==null?o==null?Ig(n,e,a):Js(n,e,a,o||null,!0):t===1&&e!==null?Js(n,e,a,o||null,!0):t===2?SC(n,a,s):t===3&&n.destroyNode(a),r!=null&&TC(n,t,r,e,o)}}function hC(t,n){return t.createText(n)}function bC(t,n,e){t.setValue(n,e)}function vC(t,n){return t.createComment(fC(n))}function xg(t,n,e){return t.createElement(n,e)}function _C(t,n){Mg(t,n),n[bn]=null,n[Mt]=null}function yC(t,n,e,i,o,r){i[bn]=o,i[Mt]=n,Sa(t,i,e,1,o,r)}function Mg(t,n){n[on].changeDetectionScheduler?.notify(9),Sa(t,n,n[$e],2,null,null)}function CC(t){let n=t[or];if(!n)return cc(t[le],t);for(;n;){let e=null;if(Fn(n))e=n[or];else{let i=n[gt];i&&(e=i)}if(!e){for(;n&&!n[qt]&&n!==t;)Fn(n)&&cc(n[le],n),n=n[ht];n===null&&(n=t),Fn(n)&&cc(n[le],n),e=n&&n[qt]}n=e}}function wC(t,n,e,i){let o=gt+i,r=e.length;i>0&&(e[o-1][qt]=n),i<r-gt?(n[qt]=e[o],af(e,gt+i,n)):(e.push(n),n[qt]=null),n[ht]=e;let s=n[ui];s!==null&&e!==s&&kg(s,n);let a=n[hn];a!==null&&a.insertView(t),kc(n),n[oe]|=128}function kg(t,n){let e=t[eo],i=n[ht];if(Fn(i))t[oe]|=Ws.HasTransplantedViews;else{let o=i[ht][xt];n[xt]!==o&&(t[oe]|=Ws.HasTransplantedViews)}e===null?t[eo]=[n]:e.push(n)}function Gd(t,n){let e=t[eo],i=e.indexOf(n);e.splice(i,1)}function ar(t,n){if(t.length<=gt)return;let e=gt+n,i=t[e];if(i){let o=i[ui];o!==null&&o!==t&&Gd(o,i),n>0&&(t[e-1][qt]=i[qt]);let r=Bs(t,gt+n);_C(i[le],i);let s=r[hn];s!==null&&s.detachView(r[le]),i[ht]=null,i[qt]=null,i[oe]&=-129}return i}function Ia(t,n){if(!(n[oe]&256)){let e=n[$e];e.destroyNode&&Sa(t,n,e,3,null,null),CC(n)}}function cc(t,n){if(n[oe]&256)return;let e=ge(null);try{n[oe]&=-129,n[oe]|=256,n[Nt]&&Bl(n[Nt]),MC(t,n),xC(t,n),n[le].type===1&&n[$e].destroy();let i=n[ui];if(i!==null&&vn(n[ht])){i!==n[ht]&&Gd(i,n);let o=n[hn];o!==null&&o.detachView(t)}Fc(n)}finally{ge(e)}}function xC(t,n){let e=t.cleanup,i=n[$s];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[$s]=null);let o=n[Nn];if(o!==null){n[Nn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function MC(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof gi)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];en(4,a,l);try{l.call(a)}finally{en(5,a,l)}}else{en(4,o,r);try{r.call(o)}finally{en(5,o,r)}}}}}function Dg(t,n,e){return kC(t,n.parent,e)}function kC(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[bn];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===nn.None||r===nn.Emulated)return null}return Ft(i,e)}}function Js(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Ig(t,n,e){t.appendChild(n,e)}function Am(t,n,e,i,o){i!==null?Js(t,n,e,i,o):Ig(t,n,e)}function Eg(t,n){return t.parentNode(n)}function DC(t,n){return t.nextSibling(n)}function Sg(t,n,e){return EC(t,n,e)}function IC(t,n,e){return t.type&40?Ft(t,e):null}var EC=IC,Nm;function Ea(t,n,e,i){let o=Dg(t,i,n),r=n[$e],s=i.parent||n[Mt],a=Sg(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Am(r,o,e[l],a,!1);else Am(r,o,e,a,!1);Nm!==void 0&&Nm(r,i,n,e,o)}function Qo(t,n){if(n!==null){let e=n.type;if(e&3)return Ft(n,t);if(e&4)return Bc(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Qo(t,i);{let o=t[n.index];return vn(o)?Bc(-1,o):rn(o)}}else{if(e&128)return Qo(t,n.next);if(e&32)return Wd(n,t)()||rn(t[n.index]);{let i=Og(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=mi(t[xt]);return Qo(o,i)}else return Qo(t,n.next)}}}return null}function Og(t,n){if(n!==null){let i=t[xt][Mt],o=n.projection;return i.projection[o]}return null}function Bc(t,n){let e=gt+t+1;if(e<n.length){let i=n[e],o=i[le].firstChild;if(o!==null)return Qo(i,o)}return n[pi]}function SC(t,n,e){t.removeChild(null,n,e)}function qd(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Bn(rn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)qd(t,n,e.child,i,o,r,!1),Gi(n,t,o,a,r);else if(l&32){let c=Wd(e,i),m;for(;m=c();)Gi(n,t,o,m,r);Gi(n,t,o,a,r)}else l&16?Tg(t,n,i,e,o,r):Gi(n,t,o,a,r);e=s?e.projectionNext:e.next}}function Sa(t,n,e,i,o,r){qd(e,i,t.firstChild,n,o,r,!1)}function OC(t,n,e){let i=n[$e],o=Dg(t,e,n),r=e.parent||n[Mt],s=Sg(r,e,n);Tg(i,0,n,e,o,s)}function Tg(t,n,e,i,o,r){let s=e[xt],l=s[Mt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let m=l[c];Gi(n,t,o,m,r)}else{let c=l,m=s[ht];lg(i)&&(c.flags|=128),qd(t,n,c,m,o,r,!0)}}function TC(t,n,e,i,o){let r=e[pi],s=rn(e);r!==s&&Gi(n,t,i,r,o);for(let a=gt;a<e.length;a++){let l=e[a];Sa(l[le],l,t,n,i,r)}}function PC(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:ln.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=ln.Important),t.setStyle(e,i,o,r))}}function AC(t,n,e){t.setAttribute(n,"style",e)}function Pg(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Ag(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&yc(t,n,i),o!==null&&Pg(t,n,o),r!==null&&AC(t,n,r)}var Et={};function d(t=1){Ng(Ue(),ne(),_n()+t,!1)}function Ng(t,n,e,i){if(!i)if((n[oe]&3)===3){let r=t.preOrderCheckHooks;r!==null&&As(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ns(n,r,0,e)}fi(e)}function y(t,n=_e.Default){let e=ne();if(e===null)return z(t,n);let i=ut();return ng(i,e,_t(t),n)}function Fg(){let t="invalid";throw new Error(t)}function jg(t,n,e,i,o,r){let s=ge(null);try{let a=null;o&jn.SignalBased&&(a=n[i][mn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&jn.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):Df(n,a,i,r)}finally{ge(s)}}function NC(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)fi(~o);else{let r=o,s=e[++i],a=e[++i];oy(s,r);let l=n[r];a(2,l)}}}finally{fi(-1)}}function Oa(t,n,e,i,o,r,s,a,l,c,m){let h=n.blueprint.slice();return h[bn]=o,h[oe]=i|4|128|8|64,(c!==null||t&&t[oe]&2048)&&(h[oe]|=2048),Af(h),h[ht]=h[ao]=t,h[ct]=e,h[on]=s||t&&t[on],h[$e]=a||t&&t[$e],h[Ji]=l||t&&t[Ji]||null,h[Mt]=r,h[fa]=Vy(),h[Xi]=m,h[Mf]=c,h[xt]=n.type==2?t[xt]:h,h}function po(t,n,e,i,o){let r=t.data[n];if(r===null)r=FC(t,n,e,i,o),iy()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=J0();r.injectorIndex=s===null?-1:s.injectorIndex}return yi(r,!0),r}function FC(t,n,e,i,o){let r=Vf(),s=Td(),a=s?r:r&&r.parent,l=t.data[n]=zC(t,a,e,n,i,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Rg(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Lg(t,n,e,i,o){let r=_n(),s=i&2;try{fi(-1),s&&n.length>dt&&Ng(t,n,dt,!1),en(s?2:0,o),e(i,o)}finally{fi(r),en(s?3:1,o)}}function Zd(t,n,e){if(Ed(n)){let i=ge(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ge(i)}}}function Yd(t,n,e){Rf()&&(qC(t,n,e,Ft(e,n)),(e.flags&64)===64&&zg(t,n,e))}function Kd(t,n,e=Ft){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function Vg(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Qd(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Qd(t,n,e,i,o,r,s,a,l,c,m){let h=dt+i,M=h+o,C=jC(h,M),O=typeof c=="function"?c():c;return C[le]={type:t,blueprint:C,template:e,queries:null,viewQuery:a,declTNode:n,data:C.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:M,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:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:O,incompleteFirstPass:!1,ssrId:m}}function jC(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Et);return e}function RC(t,n,e,i){let r=i.get(Wy,gg)||e===nn.ShadowDom,s=t.selectRootElement(n,r);return LC(s),s}function LC(t){VC(t)}var VC=()=>null;function BC(t,n,e,i){let o=Ug(n);o.push(e),t.firstCreatePass&&Wg(t).push(i,o.length-1)}function zC(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return Lf()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fm(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=jn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?jm(i,e,c,a,l):jm(i,e,c,a)}return i}function jm(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function HC(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let m=i;m<o;m++){let h=r[m],M=e?e.get(h):null,C=M?M.inputs:null,O=M?M.outputs:null;l=Fm(0,h.inputs,m,l,C),c=Fm(1,h.outputs,m,c,O);let j=l!==null&&s!==null&&!Md(n)?ow(l,m,s):null;a.push(j)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function $C(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ta(t,n,e,i,o,r,s,a){let l=Ft(n,e),c=n.inputs,m;!a&&c!=null&&(m=c[i])?(Jd(t,e,m,i,o),ga(n)&&UC(e,n.index)):n.type&3?(i=$C(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function UC(t,n){let e=Hn(n,t);e[oe]&16||(e[oe]|=64)}function Xd(t,n,e,i){if(Rf()){let o=i===null?null:{"":-1},r=YC(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Bg(t,n,e,s,o,a),o&&KC(e,i,o)}e.mergedAttrs=ir(e.mergedAttrs,e.attrs)}function Bg(t,n,e,i,o,r){for(let c=0;c<i.length;c++)Sc(Ys(e,n),t,i[c].type);XC(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let m=i[c];m.providersResolver&&m.providersResolver(m)}let s=!1,a=!1,l=Rg(t,n,i.length,null);for(let c=0;c<i.length;c++){let m=i[c];e.mergedAttrs=ir(e.mergedAttrs,m.hostAttrs),JC(t,e,n,l,m),QC(l,m,o),m.contentQueries!==null&&(e.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(e.flags|=64);let h=m.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}HC(t,e,r)}function WC(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;GC(s)!=a&&s.push(a),s.push(e,i,r)}}function GC(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function qC(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;ga(e)&&ew(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||Ys(e,n),Bn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=hi(n,t,a,e);if(Bn(c,n),s!==null&&iw(n,a-o,c,l,e,s),Ln(l)){let m=Hn(e.index,n);m[ct]=hi(n,t,a,e)}}}function zg(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=ry();try{fi(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];Dc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&ZC(l,c)}}finally{fi(-1),Dc(s)}}function ZC(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function YC(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(mf(n,s.selectors,!1))if(i||(i=[]),Ln(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;zc(t,n,l)}else i.unshift(s),zc(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function zc(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function KC(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new me(-301,!1);i.push(n[o],r)}}}function QC(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ln(n)&&(e[""]=t)}}function XC(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function JC(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=di(o.type,!0)),s=new gi(r,Ln(o),y);t.blueprint[i]=s,e[i]=s,WC(t,n,i,Rg(t,e,o.hostVars,Et),o)}function ew(t,n,e){let i=Ft(n,t),o=Vg(e),r=t[on].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Pa(t,Oa(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function tw(t,n,e,i,o,r){let s=Ft(t,n);nw(n[$e],s,r,t.value,e,i,o)}function nw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?ci(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function iw(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],m=s[a++],h=s[a++];jg(i,e,l,c,m,h)}}function ow(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function Hg(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function $g(t,n){let e=t.contentQueries;if(e!==null){let i=ge(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Nd(r),a.contentQueries(2,n[s],s)}}}finally{ge(i)}}}function Pa(t,n){return t[or]?t[bm][qt]=n:t[or]=n,t[bm]=n,n}function Hc(t,n,e){Nd(0);let i=ge(null);try{n(t,e)}finally{ge(i)}}function Ug(t){return t[$s]??=[]}function Wg(t){return t.cleanup??=[]}function Gg(t,n){let e=t[Ji],i=e?e.get(an,null):null;i&&i.handleError(n)}function Jd(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],m=t.data[s];jg(m,c,i,a,l,o)}}function qg(t,n,e){let i=Tf(n,t);bC(t[$e],i,e)}function rw(t,n){let e=Hn(n,t),i=e[le];sw(i,e);let o=e[bn];o!==null&&e[Xi]===null&&(e[Xi]=zd(o,e[Ji])),eu(i,e,e[ct])}function sw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function eu(t,n,e){Fd(n);try{let i=t.viewQuery;i!==null&&Hc(1,i,e);let o=t.template;o!==null&&Lg(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[hn]?.finishViewCreation(t),t.staticContentQueries&&$g(t,n),t.staticViewQueries&&Hc(2,t.viewQuery,e);let r=t.components;r!==null&&aw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[oe]&=-5,jd()}}function aw(t,n){for(let e=0;e<n.length;e++)rw(t,n[e])}function _r(t,n,e,i){let o=ge(null);try{let r=n.tView,a=t[oe]&4096?4096:16,l=Oa(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[ui]=c;let m=t[hn];return m!==null&&(l[hn]=m.createEmbeddedView(r)),eu(r,l,e),l}finally{ge(o)}}function Zg(t,n){let e=gt+n;if(e<t.length)return t[e]}function to(t,n){return!n||n.firstChild===null||lg(t)}function yr(t,n,e,i=!0){let o=n[le];if(wC(o,n,t,e),i){let s=Bc(e,t),a=n[$e],l=Eg(a,t[pi]);l!==null&&yC(o,t[Mt],a,n,l,s)}let r=n[Xi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Yg(t,n){let e=ar(t,n);return e!==void 0&&Ia(e[le],e),e}function ea(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(rn(r)),vn(r)&&lw(r,i);let s=e.type;if(s&8)ea(t,n,e.child,i);else if(s&32){let a=Wd(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=Og(n,e);if(Array.isArray(a))i.push(...a);else{let l=mi(n[xt]);ea(l[le],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function lw(t,n){for(let e=gt;e<t.length;e++){let i=t[e],o=i[le].firstChild;o!==null&&ea(i[le],i,o,n)}t[pi]!==t[bn]&&n.push(t[pi])}var Kg=[];function cw(t){return t[Nt]??dw(t)}function dw(t){let n=Kg.pop()??Object.create(pw);return n.lView=t,n}function uw(t){t.lView[Nt]!==t&&(t.lView=null,Kg.push(t))}var pw=Be(ae({},zo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{va(t.lView)},consumerOnSignalRead(){this.lView[Nt]=this}});function mw(t){let n=t[Nt]??Object.create(fw);return n.lView=t,n}var fw=Be(ae({},zo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=mi(t.lView);for(;n&&!Qg(n[le]);)n=mi(n);n&&Nf(n)},consumerOnSignalRead(){this.lView[Nt]=this}});function Qg(t){return t.type!==2}var gw=100;function Xg(t,n=!0,e=0){let i=t[on],o=i.rendererFactory,r=!1;r||o.begin?.();try{hw(t,e)}catch(s){throw n&&Gg(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function hw(t,n){let e=Bf();try{_m(!0),$c(t,n);let i=0;for(;ba(t);){if(i===gw)throw new me(103,!1);i++,$c(t,1)}}finally{_m(e)}}function bw(t,n,e,i){let o=n[oe];if((o&256)===256)return;let r=!1,s=!1;!r&&n[on].inlineEffectRunner?.flush(),Fd(n);let a=!0,l=null,c=null;r||(Qg(t)?(c=cw(n),l=Gr(c)):gp()===null?(a=!1,c=mw(n),l=Gr(c)):n[Nt]&&(Bl(n[Nt]),n[Nt]=null));try{Af(n),ny(t.bindingStartIndex),e!==null&&Lg(t,n,e,2,i);let m=(o&3)===3;if(!r)if(m){let C=t.preOrderCheckHooks;C!==null&&As(n,C,null)}else{let C=t.preOrderHooks;C!==null&&Ns(n,C,0,null),rc(n,0)}if(s||vw(n),Jg(n,0),t.contentQueries!==null&&$g(t,n),!r)if(m){let C=t.contentCheckHooks;C!==null&&As(n,C)}else{let C=t.contentHooks;C!==null&&Ns(n,C,1),rc(n,1)}NC(t,n);let h=t.components;h!==null&&th(n,h,0);let M=t.viewQuery;if(M!==null&&Hc(2,M,i),!r)if(m){let C=t.viewCheckHooks;C!==null&&As(n,C)}else{let C=t.viewHooks;C!==null&&Ns(n,C,2),rc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[oc]){for(let C of n[oc])C();n[oc]=null}r||(n[oe]&=-73)}catch(m){throw r||va(n),m}finally{c!==null&&(Ll(c,l),a&&uw(c)),jd()}}function Jg(t,n){for(let e=dg(t);e!==null;e=ug(e))for(let i=gt;i<e.length;i++){let o=e[i];eh(o,n)}}function vw(t){for(let n=dg(t);n!==null;n=ug(n)){if(!(n[oe]&Ws.HasTransplantedViews))continue;let e=n[eo];for(let i=0;i<e.length;i++){let o=e[i];Nf(o)}}}function _w(t,n,e){let i=Hn(n,t);eh(i,e)}function eh(t,n){Od(t)&&$c(t,n)}function $c(t,n){let i=t[le],o=t[oe],r=t[Nt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&Vl(r)),s||=!1,r&&(r.dirty=!1),t[oe]&=-9217,s)bw(i,t,i.template,t[ct]);else if(o&8192){Jg(t,1);let a=i.components;a!==null&&th(t,a,1)}}function th(t,n,e){for(let i=0;i<n.length;i++)_w(t,n[i],e)}function tu(t,n){let e=Bf()?64:1088;for(t[on].changeDetectionScheduler?.notify(n);t;){t[oe]|=e;let i=mi(t);if(Mc(t)&&!i)return t;t=i}return null}var bi=class{get rootNodes(){let n=this._lView,e=n[le];return ea(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return(this._lView[oe]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ht];if(vn(n)){let e=n[Us],i=e?e.indexOf(this):-1;i>-1&&(ar(n,i),Bs(e,i))}this._attachedToViewContainer=!1}Ia(this._lView[le],this._lView)}onDestroy(n){Ff(this._lView,n)}markForCheck(){tu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){kc(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,Xg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Mc(this._lView),e=this._lView[ui];e!==null&&!n&&Gd(e,this._lView),Mg(this._lView[le],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=n;let e=Mc(this._lView),i=this._lView[ui];i!==null&&!e&&kg(i,this._lView),kc(this._lView)}},we=(()=>{class t{static{this.__NG_ELEMENT_ID__=ww}}return t})(),yw=we,Cw=class extends yw{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=_r(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new bi(o)}};function ww(){return Aa(ut(),ne())}function Aa(t,n){return t.type&4?new Cw(n,t,co(t,n)):null}var vj=new RegExp(`^(\\d+)*(${$y}|${Hy})*(.*)`);var xw=()=>null;function no(t,n){return xw(t,n)}var io=class{},nu=new G("",{providedIn:"root",factory:()=>!1});var nh=new G(""),ih=new G(""),Uc=class{},ta=class{};function Mw(t){let n=Error(`No component factory found for ${Dt(t)}.`);return n[kw]=t,n}var kw="ngComponent";var Wc=class{resolveComponentFactory(n){throw Mw(n)}},zn=class{static{this.NULL=new Wc}},oo=class{},Cn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Dw()}}return t})();function Dw(){let t=ne(),n=ut(),e=Hn(n.index,t);return(Fn(e)?e:t)[$e]}var Iw=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>null})}}return t})();function na(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=hc(o,a);else if(r==2){let l=a,c=n[++s];i=hc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Gc=class extends zn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ki(n);return new ia(e,this.ngModule)}};function Rm(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:jn.None;n?e.push({propName:s,templateName:i,isSignal:(a&jn.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function Ew(t){let n=t.toLowerCase();return n==="svg"?Of:n==="math"?$0:null}var ia=class extends ta{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=Rm(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return Rm(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=x0(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=ge(null);try{o=o||this.ngModule;let s=o instanceof Rn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ic(n,s):n,l=a.get(oo,null);if(l===null)throw new me(407,!1);let c=a.get(Iw,null),m=a.get(io,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:m},M=l.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",O=i?RC(M,i,this.componentDef.encapsulation,a):xg(M,C,Ew(C)),j=512;this.componentDef.signals?j|=4096:this.componentDef.onPush||(j|=16);let q=null;O!==null&&(q=zd(O,a,!0));let V=Qd(0,null,null,1,0,null,null,null,null,null,null),Y=Oa(null,V,null,j,null,null,h,M,a,null,q);Fd(Y);let Ye,Xe,at=null;try{let ce=this.componentDef,Ke,lt=null;ce.findHostDirectiveDefs?(Ke=[],lt=new Map,ce.findHostDirectiveDefs(ce,Ke,lt),Ke.push(ce)):Ke=[ce];let Ni=Sw(Y,O);at=Ow(Ni,O,ce,Ke,Y,h,M),Xe=Sd(V,dt),O&&Aw(M,ce,O,i),e!==void 0&&Nw(Xe,this.ngContentSelectors,e),Ye=Pw(at,ce,Ke,lt,Y,[Fw]),eu(V,Y,null)}catch(ce){throw at!==null&&Fc(at),Fc(Y),ce}finally{jd()}return new qc(this.componentType,Ye,co(Xe,Y),Y,Xe)}finally{ge(r)}}},qc=class extends Uc{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new bi(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Jd(r[le],r,o,n,e),this.previousInputValues.set(n,e);let s=Hn(this._tNode.index,r);tu(s,1)}}get injector(){return new li(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Sw(t,n){let e=t[le],i=dt;return t[i]=n,po(e,i,2,"#host",null)}function Ow(t,n,e,i,o,r,s){let a=o[le];Tw(i,t,n,s);let l=null;n!==null&&(l=zd(n,o[Ji]));let c=r.rendererFactory.createRenderer(n,e),m=16;e.signals?m=4096:e.onPush&&(m=64);let h=Oa(o,Vg(e),null,m,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&zc(a,t,i.length-1),Pa(o,h),o[t.index]=h}function Tw(t,n,e,i){for(let o of t)n.mergedAttrs=ir(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(na(n,n.mergedAttrs,!0),e!==null&&Ag(i,e,n))}function Pw(t,n,e,i,o,r){let s=ut(),a=o[le],l=Ft(s,o);Bg(a,o,s,e,null,i);for(let m=0;m<e.length;m++){let h=s.directiveStart+m,M=hi(o,a,h,s);Bn(M,o)}zg(a,o,s),l&&Bn(l,o);let c=hi(o,a,s.directiveStart+s.componentOffset,s);if(t[ct]=o[ct]=c,r!==null)for(let m of r)m(c,n);return Zd(a,s,o),c}function Aw(t,n,e,i){if(i)yc(t,e,["ng-version","18.2.8"]);else{let{attrs:o,classes:r}=M0(n.selectors[0]);o&&yc(t,e,o),r&&r.length>0&&Pg(t,e,r.join(" "))}}function Nw(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function Fw(){let t=ut();Ca(ne()[le],t)}var cn=(()=>{class t{static{this.__NG_ELEMENT_ID__=jw}}return t})();function jw(){let t=ut();return rh(t,ne())}var Rw=cn,oh=class extends Rw{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return co(this._hostTNode,this._hostLView)}get injector(){return new li(this._hostTNode,this._hostLView)}get parentInjector(){let n=Rd(this._hostTNode,this._hostLView);if(Kf(n)){let e=qs(n,this._hostLView),i=Gs(n),o=e[le].data[i+8];return new li(o,e)}else return new li(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Lm(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=no(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!V0(n),a;if(s)a=e;else{let O=e||{};a=O.index,i=O.injector,o=O.projectableNodes,r=O.environmentInjector||O.ngModuleRef}let l=s?n:new ia(Ki(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let j=(s?c:this.parentInjector).get(Rn,null);j&&(r=j)}let m=Ki(l.componentType??{}),h=no(this._lContainer,m?.id??null),M=h?.firstChild??null,C=l.create(c,o,M,r);return this.insertImpl(C.hostView,a,to(this._hostTNode,h)),C}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(W0(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[ht],c=new oh(l,l[Mt],l[ht]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return yr(s,o,r,i),n.attachToViewContainerRef(),af(dc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Lm(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=ar(this._lContainer,e);i&&(Bs(dc(this._lContainer),e),Ia(i[le],i))}detach(n){let e=this._adjustIndex(n,-1),i=ar(this._lContainer,e);return i&&Bs(dc(this._lContainer),e)!=null?new bi(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Lm(t){return t[Us]}function dc(t){return t[Us]||(t[Us]=[])}function rh(t,n){let e,i=n[t.index];return vn(i)?e=i:(e=Hg(i,n,null,t),n[t.index]=e,Pa(n,e)),Vw(e,n,t,i),new oh(e,t,n)}function Lw(t,n){let e=t[$e],i=e.createComment(""),o=Ft(n,t),r=Eg(e,o);return Js(e,r,i,DC(e,o),!1),i}var Vw=Hw,Bw=()=>!1;function zw(t,n,e){return Bw(t,n,e)}function Hw(t,n,e,i){if(t[pi])return;let o;e.type&8?o=rn(i):o=Lw(n,e),t[pi]=o}var Zc=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Yc=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)iu(n,e).matches!==null&&this.queries[e].setDirty()}},oa=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=Kw(n):this.predicate=n}},Kc=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Qc=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,$w(e,r)),this.matchTNodeWithReadOption(n,e,Fs(e,n,r,!1,!1))}else i===we?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Fs(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===U||o===cn||o===we&&e.type&4)this.addMatch(e.index,-2);else{let r=Fs(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function $w(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Uw(t,n){return t.type&11?co(t,n):t.type&4?Aa(t,n):null}function Ww(t,n,e,i){return e===-1?Uw(n,t):e===-2?Gw(t,n,i):hi(t,t[le],e,n)}function Gw(t,n,e){if(e===U)return co(n,t);if(e===we)return Aa(n,t);if(e===cn)return rh(n,t)}function sh(t,n,e,i){let o=n[hn].queries[i];if(o.matches===null){let r=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let m=r[c];a.push(Ww(n,m,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function Xc(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=sh(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],m=n[-l];for(let h=gt;h<m.length;h++){let M=m[h];M[ui]===M[ht]&&Xc(M[le],M,c,i)}if(m[eo]!==null){let h=m[eo];for(let M=0;M<h.length;M++){let C=h[M];Xc(C[le],C,c,i)}}}}}return i}function qw(t,n){return t[hn].queries[n].queryList}function ah(t,n,e){let i=new sr((e&4)===4);return BC(t,n,i,i.destroy),(n[hn]??=new Yc).queries.push(new Zc(i))-1}function Zw(t,n,e){let i=Ue();return i.firstCreatePass&&(lh(i,new oa(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),ah(i,ne(),n)}function Yw(t,n,e,i){let o=Ue();if(o.firstCreatePass){let r=ut();lh(o,new oa(n,e,i),r.index),Qw(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return ah(o,ne(),e)}function Kw(t){return t.split(",").map(n=>n.trim())}function lh(t,n,e){t.queries===null&&(t.queries=new Kc),t.queries.track(new Qc(n,e))}function Qw(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function iu(t,n){return t.queries.getByIndex(n)}function Xw(t,n){let e=t[le],i=iu(e,n);return i.crossesNgTemplate?Xc(e,t,n,[]):sh(e,t,i,n)}var Vm=new Set;function mo(t){Vm.has(t)||(Vm.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function ch(t){return typeof t=="function"&&t[mn]!==void 0}function Cr(t,n){mo("NgSignals");let e=Dp(t),i=e[mn];return n?.equal&&(i.equal=n.equal),e.set=o=>zl(i,o),e.update=o=>Ip(i,o),e.asReadonly=Jw.bind(e),e}function Jw(){let t=this[mn];if(t.readonlyFn===void 0){let n=()=>this();n[mn]=t,t.readonlyFn=n}return t.readonlyFn}function dh(t){return ch(t)&&typeof t.set=="function"}function ex(t){return Object.getPrototypeOf(t.prototype).constructor}function $(t){let n=ex(t.type),e=!0,i=[t];for(;n;){let o;if(Ln(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new me(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Ss(t.inputs),s.inputTransforms=Ss(t.inputTransforms),s.declaredInputs=Ss(t.declaredInputs),s.outputs=Ss(t.outputs);let a=o.hostBindings;a&&rx(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&ix(t,l),c&&ox(t,c),tx(t,o),$_(t.outputs,o.outputs),Ln(o)&&o.data.animation){let m=t.data;m.animation=(m.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===$&&(e=!1)}}n=Object.getPrototypeOf(n)}nx(i)}function tx(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function nx(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=ir(o.hostAttrs,e=ir(e,o.hostAttrs))}}function Ss(t){return t===Yi?{}:t===wt?[]:t}function ix(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function ox(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function rx(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function ue(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var ro=class{};var ra=class extends ro{constructor(n){super(),this.componentFactoryResolver=new Gc(this),this.instance=null;let e=new Hs([...n.providers,{provide:ro,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],n.parent||Id(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function sx(t,n,e=null){return new ra({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function uh(t){return ou(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function ax(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function ou(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Na(t,n,e){return t[n]=e}function It(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function lr(t,n,e,i){let o=It(t,n,e);return It(t,n+1,i)||o}function lx(t,n,e,i,o){let r=lr(t,n,e,i);return It(t,n+2,o)||r}function cx(t,n,e,i,o,r){let s=lr(t,n,e,i);return lr(t,n+2,o,r)||s}function dx(t){return(t.flags&32)===32}function ux(t,n,e,i,o,r,s,a,l){let c=n.consts,m=po(n,t,4,s||null,a||null);Xd(n,e,m,Vn(c,l)),Ca(n,m);let h=m.tView=Qd(2,m,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,m),h.queries=n.queries.embeddedTView(m)),m}function sa(t,n,e,i,o,r,s,a,l,c){let m=e+dt,h=n.firstCreatePass?ux(m,n,t,i,o,r,s,a,l):n.data[m];yi(h,!1);let M=px(n,t,h,e);_a()&&Ea(n,t,M,h),Bn(M,t);let C=Hg(M,t,M,h);return t[m]=C,Pa(t,C),zw(C,h,t),ha(h)&&Yd(n,t,h),l!=null&&Kd(t,h,c),h}function w(t,n,e,i,o,r,s,a){let l=ne(),c=Ue(),m=Vn(c.consts,r);return sa(l,c,t,n,e,i,o,m,s,a),w}var px=mx;function mx(t,n,e,i){return ya(!0),n[$e].createComment("")}var Xo=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Xo||{}),fx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Bm=class t{constructor(){this.ngZone=K(ke),this.scheduler=K(io),this.errorHandler=K(an,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Xo.EarlyRead,Xo.Write,Xo.MixedReadWrite,Xo.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}};function Q(t,n,e,i){let o=ne(),r=Ci();if(It(o,r,n)){let s=Ue(),a=fr();tw(a,o,t,n,e,i)}return Q}function ph(t,n,e,i){return It(t,Ci(),e)?n+ci(e)+i:Et}function gx(t,n,e,i,o,r){let s=ty(),a=lr(t,s,e,o);return Ad(2),a?n+ci(e)+i+ci(o)+r:Et}function Os(t,n){return t<<17|n<<2}function vi(t){return t>>17&32767}function hx(t){return(t&2)==2}function bx(t,n){return t&131071|n<<17}function Jc(t){return t|2}function so(t){return(t&131068)>>2}function uc(t,n){return t&-131069|n<<2}function vx(t){return(t&1)===1}function ed(t){return t|1}function _x(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=vi(s),l=so(s);t[i]=e;let c=!1,m;if(Array.isArray(e)){let h=e;m=h[1],(m===null||ur(h,m)>0)&&(c=!0)}else m=e;if(o)if(l!==0){let M=vi(t[a+1]);t[i+1]=Os(M,a),M!==0&&(t[M+1]=uc(t[M+1],i)),t[a+1]=bx(t[a+1],i)}else t[i+1]=Os(a,0),a!==0&&(t[a+1]=uc(t[a+1],i)),a=i;else t[i+1]=Os(l,0),a===0?a=i:t[l+1]=uc(t[l+1],i),l=i;c&&(t[i+1]=Jc(t[i+1])),zm(t,m,i,!0),zm(t,m,i,!1),yx(n,m,t,i,r),s=Os(a,l),r?n.classBindings=s:n.styleBindings=s}function yx(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&ur(r,n)>=0&&(e[i+1]=ed(e[i+1]))}function zm(t,n,e,i){let o=t[e+1],r=n===null,s=i?vi(o):so(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];Cx(l,n)&&(a=!0,t[s+1]=i?ed(c):Jc(c)),s=i?vi(c):so(c)}a&&(t[e+1]=i?Jc(o):ed(o))}function Cx(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ur(t,n)>=0:!1}var Gt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wx(t){return t.substring(Gt.key,Gt.keyEnd)}function xx(t){return Mx(t),mh(t,fh(t,0,Gt.textEnd))}function mh(t,n){let e=Gt.textEnd;return e===n?-1:(n=Gt.keyEnd=kx(t,Gt.key=n,e),fh(t,n,e))}function Mx(t){Gt.key=0,Gt.keyEnd=0,Gt.value=0,Gt.valueEnd=0,Gt.textEnd=t.length}function fh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function kx(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function g(t,n,e){let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!1)}return g}function td(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Jd(t,e,r[s],s,i)}function Ge(t,n,e){return gh(t,n,e,!1),Ge}function W(t,n){return gh(t,n,null,!0),W}function wr(t){Ix(Ax,Dx,t,!0)}function Dx(t,n){for(let e=xx(n);e>=0;e=mh(n,e))xd(t,wx(n),!0)}function gh(t,n,e,i){let o=ne(),r=Ue(),s=Ad(2);if(r.firstUpdatePass&&bh(r,t,s,i),n!==Et&&It(o,s,n)){let a=r.data[_n()];vh(r,a,o,o[$e],t,o[s+1]=Fx(n,e),i,s)}}function Ix(t,n,e,i){let o=Ue(),r=Ad(2);o.firstUpdatePass&&bh(o,null,r,i);let s=ne();if(e!==Et&&It(s,r,e)){let a=o.data[_n()];if(_h(a,i)&&!hh(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=hc(l,e||"")),td(o,a,s,e,i)}else Nx(o,a,s,s[$e],s[r+1],s[r+1]=Px(t,n,e),i,r)}}function hh(t,n){return n>=t.expandoStartIndex}function bh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[_n()],s=hh(t,e);_h(r,i)&&n===null&&!s&&(n=!1),n=Ex(o,r,n,i),_x(o,r,n,e,s,i)}}function Ex(t,n,e,i){let o=sy(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=pc(null,t,n,e,i),e=cr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=pc(o,t,n,e,i),r===null){let l=Sx(t,n,i);l!==void 0&&Array.isArray(l)&&(l=pc(null,t,n,l[1],i),l=cr(l,n.attrs,i),Ox(t,n,i,l))}else r=Tx(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function Sx(t,n,e){let i=e?n.classBindings:n.styleBindings;if(so(i)!==0)return t[vi(i)]}function Ox(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[vi(o)]=i}function Tx(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=cr(i,s,e)}return cr(i,n.attrs,e)}function pc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=cr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function cr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),xd(t,s,e?!0:n[++r]))}return t===void 0?null:t}function Px(t,n,e){if(e==null||e==="")return wt;let i=[],o=uo(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function Ax(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&xd(t,i,e)}function Nx(t,n,e,i,o,r,s,a){o===Et&&(o=wt);let l=0,c=0,m=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;m!==null||h!==null;){let M=l<o.length?o[l+1]:void 0,C=c<r.length?r[c+1]:void 0,O=null,j;m===h?(l+=2,c+=2,M!==C&&(O=h,j=C)):h===null||m!==null&&m<h?(l+=2,O=m):(c+=2,O=h,j=C),O!==null&&vh(t,n,e,i,O,j,s,a),m=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function vh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],m=vx(c)?Hm(l,n,e,o,so(c),s):void 0;if(!aa(m)){aa(r)||hx(c)&&(r=Hm(l,null,e,o,a,s));let h=Tf(_n(),e);PC(i,s,h,o,r)}}function Hm(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),m=c?l[1]:l,h=m===null,M=e[o+1];M===Et&&(M=h?wt:void 0);let C=h?nc(M,i):m===i?M:void 0;if(c&&!aa(C)&&(C=nc(l,i)),aa(C)&&(a=C,s))return a;let O=t[o+1];o=s?vi(O):so(O)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=nc(l,i))}return a}function aa(t){return t!==void 0}function Fx(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Dt(uo(t)))),t}function _h(t,n){return(t.flags&(n?8:16))!==0}function ru(){return ne()[xt][ct]}var nd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function mc(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function jx(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),m=n[r],h=mc(r,c,r,m,e);if(h!==0){h<0&&t.updateValue(r,m),r++;continue}let M=t.at(s),C=n[l],O=mc(s,M,l,C,e);if(O!==0){O<0&&t.updateValue(s,C),s--,l--;continue}let j=e(r,c),q=e(s,M),V=e(r,m);if(Object.is(V,q)){let Y=e(l,C);Object.is(Y,j)?(t.swap(r,s),t.updateValue(s,C),l--,s--):t.move(s,r),t.updateValue(r,m),r++;continue}if(i??=new la,o??=Um(t,r,s,e),id(t,i,r,V))t.updateValue(r,m),r++,s++;else if(o.has(V))i.set(j,t.detach(r)),s--;else{let Y=t.create(r,n[r]);t.attach(r,Y),r++,s++}}for(;r<=l;)$m(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let m=t.at(r),h=c.value,M=mc(r,m,r,h,e);if(M!==0)M<0&&t.updateValue(r,h),r++,c=l.next();else{i??=new la,o??=Um(t,r,s,e);let C=e(r,h);if(id(t,i,r,C))t.updateValue(r,h),r++,s++,c=l.next();else if(!o.has(C))t.attach(r,t.create(r,h)),r++,s++,c=l.next();else{let O=e(r,m);i.set(O,t.detach(r)),s--}}}for(;!c.done;)$m(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function id(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function $m(t,n,e,i,o){if(id(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Um(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var la=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function A(t,n){mo("NgControlFlow");let e=ne(),i=Ci(),o=e[i]!==Et?e[i]:-1,r=o!==-1?ca(e,dt+o):void 0,s=0;if(It(e,i,t)){let a=ge(null);try{if(r!==void 0&&Yg(r,s),t!==-1){let l=dt+t,c=ca(e,l),m=ad(e[le],l),h=no(c,m.tView.ssrId),M=_r(e,m,n,{dehydratedView:h});yr(c,M,s,to(m,h))}}finally{ge(a)}}else if(r!==void 0){let a=Zg(r,s);a!==void 0&&(a[ct]=n)}}var od=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-gt}};function xr(t,n){return n}var rd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Zt(t,n,e,i,o,r,s,a,l,c,m,h,M){mo("NgControlFlow");let C=ne(),O=Ue(),j=l!==void 0,q=ne(),V=a?s.bind(q[xt][ct]):s,Y=new rd(j,V);q[dt+t]=Y,sa(C,O,t+1,n,e,i,o,Vn(O.consts,r)),j&&sa(C,O,t+2,l,c,m,h,Vn(O.consts,M))}var sd=class extends nd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-gt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[Xi];this.needsIndexUpdate||=n!==this.length,yr(this.lContainer,e,n,to(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Rx(this.lContainer,n)}create(n,e){let i=no(this.lContainer,this.templateTNode.tView.ssrId),o=_r(this.hostLView,this.templateTNode,new od(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){Ia(n[le],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return Lx(this.lContainer,n)}};function Yt(t){let n=ge(null),e=_n();try{let i=ne(),o=i[le],r=i[e],s=e+1,a=ca(i,s);if(r.liveCollection===void 0){let c=ad(o,s);r.liveCollection=new sd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(jx(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Ci(),m=l.length===0;if(It(i,c,m)){let h=e+2,M=ca(i,h);if(m){let C=ad(o,h),O=no(M,C.tView.ssrId),j=_r(i,C,void 0,{dehydratedView:O});yr(M,j,0,to(C,O))}else Yg(M,0)}}}finally{ge(n)}}function ca(t,n){return t[n]}function Rx(t,n){return ar(t,n)}function Lx(t,n){return Zg(t,n)}function ad(t,n){return Sd(t,n)}function Vx(t,n,e,i,o,r){let s=n.consts,a=Vn(s,o),l=po(n,t,2,i,a);return Xd(n,e,l,Vn(s,r)),l.attrs!==null&&na(l,l.attrs,!1),l.mergedAttrs!==null&&na(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=ne(),r=Ue(),s=dt+t,a=o[$e],l=r.firstCreatePass?Vx(s,r,o,n,e,i):r.data[s],c=Bx(r,o,l,a,n,t);o[s]=c;let m=ha(l);return yi(l,!0),Ag(a,c,l),!dx(l)&&_a()&&Ea(r,o,c,l),Z0()===0&&Bn(c,o),Y0(),m&&(Yd(r,o,l),Zd(r,l,o)),i!==null&&Kd(o,l),p}function f(){let t=ut();Td()?Pd():(t=t.parent,yi(t,!1));let n=t;Q0(n)&&X0(),K0();let e=Ue();return e.firstCreatePass&&(Ca(e,t),Ed(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&my(n)&&td(e,n,ne(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&fy(n)&&td(e,n,ne(),n.stylesWithoutHost,!1),f}function I(t,n,e,i){return p(t,n,e,i),f(),I}var Bx=(t,n,e,i,o,r)=>(ya(!0),xg(i,o,cy()));function zx(t,n,e,i,o){let r=n.consts,s=Vn(r,i),a=po(n,t,8,"ng-container",s);s!==null&&na(a,s,!0);let l=Vn(r,o);return Xd(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function nt(t,n,e){let i=ne(),o=Ue(),r=t+dt,s=o.firstCreatePass?zx(r,o,i,n,e):o.data[r];yi(s,!0);let a=Hx(o,i,s,t);return i[r]=a,_a()&&Ea(o,i,a,s),Bn(a,i),ha(s)&&(Yd(o,i,s),Zd(o,s,i)),e!=null&&Kd(i,s),nt}function it(){let t=ut(),n=Ue();return Td()?Pd():(t=t.parent,yi(t,!1)),n.firstCreatePass&&(Ca(n,t),Ed(t)&&n.queries.elementEnd(t)),it}function st(t,n,e){return nt(t,n,e),it(),st}var Hx=(t,n,e,i)=>(ya(!0),vC(n[$e],""));function P(){return ne()}function Mr(t,n,e){let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!0)}return Mr}var da="en-US";var $x=da;function Ux(t){typeof t=="string"&&($x=t.toLowerCase().replace(/_/g,"-"))}var Wx=(t,n,e)=>{};function _(t,n,e,i){let o=ne(),r=Ue(),s=ut();return yh(r,o,o[$e],s,t,n,i),_}function Gx(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[$s],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function yh(t,n,e,i,o,r,s){let a=ha(i),c=t.firstCreatePass&&Wg(t),m=n[ct],h=Ug(n),M=!0;if(i.type&3||s){let j=Ft(i,n),q=s?s(j):j,V=h.length,Y=s?Xe=>s(rn(Xe[i.index])):i.index,Ye=null;if(!s&&a&&(Ye=Gx(t,n,o,i.index)),Ye!==null){let Xe=Ye.__ngLastListenerFn__||Ye;Xe.__ngNextListenerFn__=r,Ye.__ngLastListenerFn__=r,M=!1}else{r=Gm(i,n,m,r),Wx(j,o,r);let Xe=e.listen(q,o,r);h.push(r,Xe),c&&c.push(o,Y,V,V+1)}}else r=Gm(i,n,m,r);let C=i.outputs,O;if(M&&C!==null&&(O=C[o])){let j=O.length;if(j)for(let q=0;q<j;q+=2){let V=O[q],Y=O[q+1],at=n[V][Y].subscribe(r),ce=h.length;h.push(r,at),c&&c.push(o,i.index,ce,-(ce+1))}}}function Wm(t,n,e,i){let o=ge(null);try{return en(6,n,e),e(i)!==!1}catch(r){return Gg(t,r),!1}finally{en(7,n,e),ge(o)}}function Gm(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Hn(t.index,n):n;tu(s,5);let a=Wm(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=Wm(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function u(t=1){return ly(t)}function qx(t,n){let e=null,i=v0(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?mf(t,r,!0):C0(i,r))return o}return e}function Ve(t){let n=ne()[xt][Mt];if(!n.projection){let e=t?t.length:1,i=n.projection=c0(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?qx(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=ne(),a=Ue(),l=i?t+1:null;l!==null&&sa(s,a,l,i,o,r,null,e);let c=po(a,dt+t,16,null,e||null);c.projection===null&&(c.projection=n),Pd();let h=!s[Xi]||Lf();s[xt][Mt].projection[c.projection]===null&&l!==null?Zx(s,a,l):h&&(c.flags&32)!==32&&OC(a,s,c)}function Zx(t,n,e){let i=dt+e,o=n.data[i],r=t[i],s=no(r,o.tView.ssrId),a=_r(t,o,void 0,{dehydratedView:s});yr(r,a,0,to(o,s))}function fe(t,n,e){return Ch(t,"",n,"",e),fe}function Ch(t,n,e,i,o){let r=ne(),s=ph(r,n,e,i);if(s!==Et){let a=Ue(),l=fr();Ta(a,l,r,t,s,r[$e],o,!1)}return Ch}function bt(t,n,e,i){Yw(t,n,e,i)}function pt(t,n,e){Zw(t,n,e)}function Se(t){let n=ne(),e=Ue(),i=zf();Nd(i+1);let o=iu(e,i);if(t.dirty&&U0(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Xw(n,i);t.reset(r,jy),t.notifyOnChanges()}return!0}return!1}function Oe(){return qw(ne(),zf())}function Yx(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Qe(t){let n=ey();return Pf(n,dt+t)}function D(t,n=""){let e=ne(),i=Ue(),o=t+dt,r=i.firstCreatePass?po(i,o,1,n,null):i.data[o],s=Kx(i,e,r,n,t);e[o]=s,_a()&&Ea(i,e,s,r),yi(r,!1)}var Kx=(t,n,e,i,o)=>(ya(!0),hC(n[$e],i));function ie(t){return B("",t,""),ie}function B(t,n,e){let i=ne(),o=ph(i,t,n,e);return o!==Et&&qg(i,_n(),o),B}function Kt(t,n,e,i,o){let r=ne(),s=gx(r,t,n,e,i,o);return s!==Et&&qg(r,_n(),s),Kt}function wn(t,n,e){dh(n)&&(n=n());let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!1)}return wn}function Wn(t,n){let e=dh(t);return e&&t.set(n),e}function xn(t,n){let e=ne(),i=Ue(),o=ut();return yh(i,e,e[$e],o,t,n),xn}function Qx(t,n,e){let i=Ue();if(i.firstCreatePass){let o=Ln(t);ld(e,i.data,i.blueprint,o,!0),ld(n,i.data,i.blueprint,o,!1)}}function ld(t,n,e,i,o){if(t=_t(t),Array.isArray(t))for(let r=0;r<t.length;r++)ld(t[r],n,e,i,o);else{let r=Ue(),s=ne(),a=ut(),l=Qi(t)?t:_t(t.provide),c=Cf(t),m=a.providerIndexes&1048575,h=a.directiveStart,M=a.providerIndexes>>20;if(Qi(t)||!t.multi){let C=new gi(c,o,y),O=gc(l,n,o?m:m+M,h);O===-1?(Sc(Ys(a,s),r,l),fc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)):(e[O]=C,s[O]=C)}else{let C=gc(l,n,m+M,h),O=gc(l,n,m,m+M),j=C>=0&&e[C],q=O>=0&&e[O];if(o&&!q||!o&&!j){Sc(Ys(a,s),r,l);let V=e1(o?Jx:Xx,e.length,o,i,c);!o&&q&&(e[O].providerFactory=V),fc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(V),s.push(V)}else{let V=wh(e[o?O:C],c,!o&&i);fc(r,t,C>-1?C:O,V)}!o&&i&&q&&e[O].componentProviders++}}}function fc(t,n,e,i){let o=Qi(n),r=P0(n);if(o||r){let l=(r?_t(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let m=c.indexOf(e);m===-1?c.push(e,[i,l]):c[m+1].push(i,l)}else c.push(e,l)}}}function wh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function gc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function Xx(t,n,e,i){return cd(this.multi,[])}function Jx(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=hi(e,e[le],this.providerFactory.index,i);r=a.slice(0,s),cd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],cd(o,r);return r}function cd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function e1(t,n,e,i,o){let r=new gi(t,e,y);return r.multi=[],r.index=n,r.componentProviders=0,wh(r,o,i&&!e),r}function re(t,n=[]){return e=>{e.providersResolver=(i,o)=>Qx(i,o?o(t):t,n)}}var t1=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=vf(!1,e.type),o=i.length>0?sx([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=H({token:t,providedIn:"environment",factory:()=>new t(z(Rn))})}}return t})();function S(t){mo("NgStandalone"),t.getStandaloneInjector=n=>n.get(t1).getOrCreateStandaloneInjector(t)}function De(t,n,e,i){return xh(ne(),mr(),t,n,e,i)}function mt(t,n,e,i,o){return n1(ne(),mr(),t,n,e,i,o)}function yt(t,n,e,i,o,r){return i1(ne(),mr(),t,n,e,i,o,r)}function Fa(t,n,e,i,o,r,s){return o1(ne(),mr(),t,n,e,i,o,r,s)}function ja(t,n){let e=t[n];return e===Et?void 0:e}function xh(t,n,e,i,o,r){let s=n+e;return It(t,s,o)?Na(t,s+1,r?i.call(r,o):i(o)):ja(t,s+1)}function n1(t,n,e,i,o,r,s){let a=n+e;return lr(t,a,o,r)?Na(t,a+2,s?i.call(s,o,r):i(o,r)):ja(t,a+2)}function i1(t,n,e,i,o,r,s,a){let l=n+e;return lx(t,l,o,r,s)?Na(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):ja(t,l+3)}function o1(t,n,e,i,o,r,s,a,l){let c=n+e;return cx(t,c,o,r,s,a)?Na(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):ja(t,c+4)}function N(t,n){let e=Ue(),i,o=t+dt;e.firstCreatePass?(i=r1(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=di(i.type,!0)),s,a=At(y);try{let l=Zs(!1),c=r();return Zs(l),Yx(e,ne(),o,c),c}finally{At(a)}}function r1(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function F(t,n,e){let i=t+dt,o=ne(),r=Pf(o,i);return s1(o,i)?xh(o,mr(),n,r.transform,e,r):r.transform(e)}function s1(t,n){return t[le].data[n].pure}function vt(t,n){return Aa(t,n)}var Mh=new G("");function kr(t){return!!t&&typeof t.then=="function"}function kh(t){return!!t&&typeof t.subscribe=="function"}var a1=new G(""),Dh=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=K(a1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(kr(r))e.push(r);else if(kh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),l1=new G("");function c1(){kp(()=>{throw new me(600,!1)})}function d1(t){return t.isBoundToModule}var u1=10;function p1(t,n,e){try{let i=e();return kr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var wi=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=K(Ny),this.afterRenderManager=K(fx),this.zonelessEnabled=K(nu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=K(xa).hasPendingTasks.pipe(ve(e=>!e)),this._injector=K(Rn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof ta;if(!this._injector.get(Dh).done){let M=!o&&I0(e),C=!1;throw new me(405,C)}let s;o?s=e:s=this._injector.get(zn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=d1(s)?void 0:this._injector.get(ro),l=i||s.selector,c=s.create(sn.NULL,[],l,a),m=c.location.nativeElement,h=c.injector.get(Mh,null);return h?.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),js(this.components,c),h?.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new me(101,!1);let e=ge(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ge(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(oo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<u1;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)m1(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ba(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;js(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(l1,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>js(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new me(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function js(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function m1(t,n,e,i){if(!e&&!ba(t))return;Xg(t,n,e&&!i?0:1)}var f1=(()=>{class t{constructor(){this.zone=K(ke),this.changeDetectionScheduler=K(io),this.applicationRef=K(wi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function g1({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new ke(Be(ae({},h1()),{scheduleInRootZone:e})),[{provide:ke,useFactory:t},{provide:nr,multi:!0,useFactory:()=>{let i=K(f1,{optional:!0});return()=>i.initialize()}},{provide:nr,multi:!0,useFactory:()=>{let i=K(b1);return()=>{i.initialize()}}},n===!0?{provide:nh,useValue:!0}:[],{provide:ih,useValue:e??rg}]}function h1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var b1=(()=>{class t{constructor(){this.subscription=new ze,this.initialized=!1,this.zone=K(ke),this.pendingTasks=K(xa)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ke.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ke.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v1=(()=>{class t{constructor(){this.appRef=K(wi),this.taskService=K(xa),this.ngZone=K(ke),this.zonelessEnabled=K(nu),this.disableScheduling=K(nh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ze,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qs):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(K(ih,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nc||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;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 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Mm:sg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function _1(){return typeof $localize<"u"&&$localize.locale||da}var Ra=new G("",{providedIn:"root",factory:()=>K(Ra,_e.Optional|_e.SkipSelf)||_1()});var dd=new G("");function Ts(t){return!t.moduleRef}function y1(t){let n=Ts(t)?t.r3Injector:t.moduleRef.injector,e=n.get(ke);return e.run(()=>{Ts(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(an,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),Ts(t)){let r=()=>n.destroy(),s=t.platformInjector.get(dd);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(dd);s.add(r),t.moduleRef.onDestroy(()=>{js(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return p1(i,e,()=>{let r=n.get(Dh);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Ra,da);if(Ux(s||da),Ts(t)){let a=n.get(wi);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return C1(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function C1(t,n){let e=t.injector.get(wi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new me(-403,!1);n.push(t)}var Rs=null;function w1(t=[],n){return sn.create({name:n,providers:[{provide:ma,useValue:"platform"},{provide:dd,useValue:new Set([()=>Rs=null])},...t]})}function x1(t=[]){if(Rs)return Rs;let n=w1(t);return Rs=n,c1(),M1(n),n}function M1(t){t.get(Bd,null)?.forEach(e=>e())}var qe=(()=>{class t{static{this.__NG_ELEMENT_ID__=k1}}return t})();function k1(t){return D1(ut(),ne(),(t&16)===16)}function D1(t,n,e){if(ga(t)&&!e){let i=Hn(t.index,n);return new bi(i,i)}else if(t.type&175){let i=n[xt];return new bi(i,n)}return null}var ud=class{constructor(){}supports(n){return uh(n)}create(n){return new pd(n)}},I1=(t,n)=>n,pd=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||I1}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<qm(i,o,r)?e:i,a=qm(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,m=l-o;if(c!=m){for(let M=0;M<c;M++){let C=M<r.length?r[M]:r[M]=0,O=C+M;m<=O&&O<c&&(r[M]=C+1)}let h=s.previousIndex;r[h]=m-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!uh(n))throw new me(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,ax(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new md(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new ua),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ua),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},md=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},ua=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new fd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function qm(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var gd=class{constructor(){}supports(n){return n instanceof Map||ou(n)}create(){return new hd}},hd=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||ou(n)))throw new me(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new bd(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},bd=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Zm(){return new fo([new ud])}var fo=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:Zm})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Zm()),deps:[[t,new sf,new Cd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new me(901,!1)}}return t})();function Ym(){return new su([new gd])}var su=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:Ym})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ym()),deps:[[t,new sf,new Cd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new me(901,!1)}}return t})();function Ih(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=x1(i),r=[g1({}),{provide:io,useExisting:v1},...e||[]],s=new ra({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return y1({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function k(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function St(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Dr(t,n){mo("NgSignals");let e=wp(t);return n?.equal&&(e[mn].equal=n.equal),e}function Mn(t){let n=ge(null);try{return t()}finally{ge(n)}}var La={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return La.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return La.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function E1(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function S1(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function O1(t){return typeof t=="function"}var au;function T1(t,n){if(!au){let e=Element.prototype;au=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?au.call(t,n):!1}function P1(t,n){return t===n||t!==t&&n!==n}function A1(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[E1(i)]=[e,o]}),n}function N1(t,n){return n.get(zn).resolveComponentFactory(t).inputs}function F1(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=j1(a,n,o);l!==-1&&i[l].push(a)}return i}function j1(t,n,e){let i=e;return S1(t)&&n.some((o,r)=>o!=="*"&&T1(t,o)?(i=r,!0):!1),i}var R1=10,lu=class{constructor(n,e){this.componentFactory=e.get(zn).resolveComponentFactory(n)}create(n){return new cu(this.componentFactory,n)}},cu=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new In(1),this.events=this.eventEmitters.pipe(Ut(i=>gn(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(ke),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=La.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},R1))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}P1(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=sn.create({providers:[],parent:this.injector}),i=F1(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(qe),this.implementsOnChanges=O1(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(wi).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ve(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=La.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new rr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},du=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Pe(t,n){let e=N1(t,n.injector),i=n.strategyFactory||new lu(t,n.injector),o=A1(e);class r extends du{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let m=this[l];delete this[l],a.setInputValue(l,m,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,m){let[h,M]=o[a];this.ngElementStrategy.setInputValue(h,c,M)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var Th=null;function go(){return Th}function Ph(t){Th??=t}var Ba=class{};var ot=new G("");function Ah(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var uu=/\s+/,Eh=[],ee=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Eh,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(uu):Eh}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(uu):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(uu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(y(U),y(Cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var pu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ye=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new pu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),Sh(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Sh(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(y(cn),y(we),y(fo))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Sh(t,n){t.context.$implicit=n.item}var We=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new mu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Oh("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Oh("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(y(cn),y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),mu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Oh(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Dt(n)}'.`)}var ho=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:ln.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(y(U),y(su),y(Cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),kn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(y(cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Le]})}}return t})();var R=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({})}}return t})(),fu="browser",L1="server";function Nh(t){return t===fu}function gu(t){return t===L1}var za=class{};var vu=class extends Ba{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_u=class t extends vu{static makeCurrent(){Ph(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=B1();return e==null?null:z1(e)}resetBaseElement(){Ir=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ah(document.cookie,n)}},Ir=null;function B1(){return Ir=Ir||document.querySelector("base"),Ir?Ir.getAttribute("href"):null}function z1(t){return new URL(t,document.baseURI).pathname}var H1=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),yu=new G(""),Lh=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new me(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(z(yu),z(ke))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Ha=class{constructor(n){this._doc=n}},hu="ng-app-id",Vh=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gu(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${hu}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(hu),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(hu,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(z(ot),z(Ma),z(hr,8),z($n))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},wu=/%COMP%/g,Bh="%COMP%",$1=`_nghost-${Bh}`,U1=`_ngcontent-${Bh}`,W1=!0,G1=new G("",{providedIn:"root",factory:()=>W1});function q1(t){return U1.replace(wu,t)}function Z1(t){return $1.replace(wu,t)}function zh(t,n){return n.map(e=>e.replace(wu,t))}var Fh=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=gu(a),this.defaultRenderer=new Er(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===nn.ShadowDom&&(i=Be(ae({},i),{encapsulation:nn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof $a?o.applyToHost(e):o instanceof Sr&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case nn.Emulated:r=new $a(l,c,i,this.appId,m,s,a,h);break;case nn.ShadowDom:return new Cu(l,c,e,i,s,a,this.nonce,h);default:r=new Sr(l,c,i,m,s,a,h);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(z(Lh),z(Vh),z(Ma),z(G1),z(ot),z($n),z(ke),z(hr))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Er=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(bu[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(jh(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(jh(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new me(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=bu[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=bu[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(ln.DashCase|ln.Important)?n.style.setProperty(e,i,o&ln.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ln.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=go().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function jh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Cu=class extends Er{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=zh(o.id,o.styles);for(let m of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Sr=class extends Er{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?zh(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$a=class extends Sr{constructor(n,e,i,o,r,s,a,l){let c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=q1(c),this.hostAttr=Z1(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},Y1=(()=>{class t extends Ha{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(z(ot))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Rh=["alt","control","meta","shift"],K1={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Q1={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},X1=(()=>{class t extends Ha{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>go().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Rh.forEach(c=>{let m=i.indexOf(c);m>-1&&(i.splice(m,1),s+=c+".")}),s+=r,i.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=K1[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Rh.forEach(s=>{if(s!==o){let a=Q1[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(z(ot))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})();function Hh(t){return Ih(J1(t))}function J1(t){return{appProviders:[...oM,...t?.providers??[]],platformProviders:iM}}function eM(){_u.makeCurrent()}function tM(){return new an}function nM(){return mg(document),document}var iM=[{provide:$n,useValue:fu},{provide:Bd,useValue:eM,multi:!0},{provide:ot,useFactory:nM,deps:[]}];var oM=[{provide:ma,useValue:"root"},{provide:an,useFactory:tM,deps:[]},{provide:yu,useClass:Y1,multi:!0,deps:[ot,ke,$n]},{provide:yu,useClass:X1,multi:!0,deps:[ot]},Fh,Vh,Lh,{provide:oo,useExisting:Fh},{provide:za,useClass:H1,deps:[]},[]];var Kh=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(U))}}static{this.\u0275dir=Z({type:t})}}return t})(),rM=(()=>{class t extends Kh{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})()}static{this.\u0275dir=Z({type:t,features:[$]})}}return t})(),Za=new G("");var sM={provide:Za,useExisting:_i(()=>Qh),multi:!0};function aM(){let t=go()?go().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var lM=new G(""),Qh=(()=>{class t extends Kh{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!aM())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(U),y(lM,8))}}static{this.\u0275dir=Z({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&_("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[re([sM]),$]})}}return t})();var cM=new G(""),dM=new G("");function Xh(t){return t!=null}function Jh(t){return kr(t)?He(t):t}function eb(t){let n={};return t.forEach(e=>{n=e!=null?ae(ae({},n),e):n}),Object.keys(n).length===0?null:n}function tb(t,n){return n.map(e=>e(t))}function uM(t){return!t.validate}function nb(t){return t.map(n=>uM(n)?n:e=>n.validate(e))}function pM(t){if(!t)return null;let n=t.filter(Xh);return n.length==0?null:function(e){return eb(tb(e,n))}}function ib(t){return t!=null?pM(nb(t)):null}function mM(t){if(!t)return null;let n=t.filter(Xh);return n.length==0?null:function(e){let i=tb(e,n).map(Jh);return Zo(i).pipe(ve(eb))}}function ob(t){return t!=null?mM(nb(t)):null}function $h(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function fM(t){return t._rawValidators}function gM(t){return t._rawAsyncValidators}function xu(t){return t?Array.isArray(t)?t:[t]:[]}function Wa(t,n){return Array.isArray(t)?t.includes(n):t===n}function Uh(t,n){let e=xu(n);return xu(t).forEach(o=>{Wa(e,o)||e.push(o)}),e}function Wh(t,n){return xu(n).filter(e=>!Wa(t,e))}var Ga=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=ib(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ob(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Mu=class extends Ga{get formDirective(){return null}get path(){return null}},Nr=class extends Ga{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ku=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},hM={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},AR=Be(ae({},hM),{"[class.ng-submitted]":"isSubmitted"}),yo=(()=>{class t extends ku{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(y(Nr,2))}}static{this.\u0275dir=Z({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&W("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[$]})}}return t})();var Or="VALID",Ua="INVALID",bo="PENDING",Tr="DISABLED",_o=class{},qa=class extends _o{constructor(n,e){super(),this.value=n,this.source=e}},Pr=class extends _o{constructor(n,e){super(),this.pristine=n,this.source=e}},Ar=class extends _o{constructor(n,e){super(),this.touched=n,this.source=e}},vo=class extends _o{constructor(n,e){super(),this.status=n,this.source=e}};function bM(t){return(Ya(t)?t.validators:t)||null}function vM(t){return Array.isArray(t)?ib(t):t||null}function _M(t,n){return(Ya(n)?n.asyncValidators:t)||null}function yM(t){return Array.isArray(t)?ob(t):t||null}function Ya(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Du=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Dr(()=>this.statusReactive()),this.statusReactive=Cr(void 0),this._pristine=Dr(()=>this.pristineReactive()),this.pristineReactive=Cr(!0),this._touched=Dr(()=>this.touchedReactive()),this.touchedReactive=Cr(!1),this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Mn(this.statusReactive)}set status(n){Mn(()=>this.statusReactive.set(n))}get valid(){return this.status===Or}get invalid(){return this.status===Ua}get pending(){return this.status==bo}get disabled(){return this.status===Tr}get enabled(){return this.status!==Tr}get pristine(){return Mn(this.pristineReactive)}set pristine(n){Mn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Mn(this.touchedReactive)}set touched(n){Mn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Uh(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Uh(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Wh(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Wh(n,this._rawAsyncValidators))}hasValidator(n){return Wa(this._rawValidators,n)}hasAsyncValidator(n){return Wa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Be(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Ar(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Ar(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Be(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Pr(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Pr(!0,i))}markAsPending(n={}){this.status=bo;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new vo(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Be(ae({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Tr,this.errors=null,this._forEachChild(o=>{o.disable(Be(ae({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qa(this.value,i)),this._events.next(new vo(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Or,this._forEachChild(i=>{i.enable(Be(ae({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Be(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Or||this.status===bo)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qa(this.value,e)),this._events.next(new vo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Be(ae({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Tr:Or}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=bo,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=Jh(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new vo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new x,this.statusChanges=new x}_calculateStatus(){return this._allControlsDisabled()?Tr:this.errors?Ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bo)?bo:this._anyControlsHaveStatus(Ua)?Ua:Or}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Pr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ar(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ya(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=vM(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=yM(this._rawAsyncValidators)}};var rb=new G("CallSetDisabledState",{providedIn:"root",factory:()=>Iu}),Iu="always";function CM(t,n){return[...n.path,t]}function wM(t,n,e=Iu){MM(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),kM(t,n),IM(t,n),DM(t,n),xM(t,n)}function Gh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function xM(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function MM(t,n){let e=fM(t);n.validator!==null?t.setValidators($h(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=gM(t);n.asyncValidator!==null?t.setAsyncValidators($h(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();Gh(n._rawValidators,o),Gh(n._rawAsyncValidators,o)}function kM(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&sb(t,n)})}function DM(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&sb(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function sb(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function IM(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function EM(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function SM(t){return Object.getPrototypeOf(t.constructor)===rM}function OM(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===Qh?e=r:SM(r)?i=r:o=r}),o||i||e||null}function qh(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Zh(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var TM=class extends Du{constructor(n=null,e,i){super(bM(e),_M(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ya(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Zh(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){qh(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){qh(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){Zh(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var PM={provide:Nr,useExisting:_i(()=>xi)},Yh=Promise.resolve(),xi=(()=>{class t extends Nr{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new TM,this._registered=!1,this.name="",this.update=new x,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=OM(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),EM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){wM(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Yh.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&k(i);Yh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?CM(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(y(Mu,9),y(cM,10),y(dM,10),y(Za,10),y(qe,8),y(rb,8))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[re([PM]),$,Le]})}}return t})();var AM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({})}}return t})();var Co=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rb,useValue:e.callSetDisabledState??Iu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({imports:[AM]})}}return t})();var NM=["content"],FM=["scroll"],jM=["padding"],cb=["*"],jr=t=>({searchTerm:t});function RM(t,n){if(t&1&&(p(0,"div",3),st(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",De(2,jr,e.filterValue))}}function LM(t,n){if(t&1&&(p(0,"div",5),st(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",De(2,jr,e.filterValue))}}var VM=["searchInput"],BM=["clearButton"],zM=(t,n,e)=>({item:t,clear:n,label:e}),HM=(t,n)=>({items:t,clear:n}),$M=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function UM(t,n){if(t&1&&(p(0,"div",20),D(1),f()),t&2){let e=u(2);d(),ie(e.placeholder)}}function WM(t,n){}function GM(t,n){if(t&1&&w(0,UM,2,1,"ng-template",null,1,vt)(2,WM,0,0,"ng-template",19),t&2){let e=Qe(1),i=u();d(2),g("ngTemplateOutlet",i.placeholderTemplate||e)}}function qM(t,n){if(t&1){let e=P();p(0,"span",23),_("click",function(){b(e);let o=u().$implicit,r=u(2);return v(r.unselect(o))}),D(1,"\xD7"),f(),I(2,"span",24)}if(t&2){let e=u().$implicit,i=u(2);d(2),g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ZM(t,n){}function YM(t,n){if(t&1&&(p(0,"div",22),w(1,qM,3,2,"ng-template",null,2,vt)(3,ZM,0,0,"ng-template",12),f()),t&2){let e=n.$implicit,i=Qe(2),o=u(2);W("ng-value-disabled",e.disabled),d(3),g("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",yt(4,zM,e.value,o.clearItem,e.label))}}function KM(t,n){if(t&1&&Zt(0,YM,4,8,"div",21,ru().trackByOption,!0),t&2){let e=u();Yt(e.selectedItems)}}function QM(t,n){}function XM(t,n){if(t&1&&w(0,QM,0,0,"ng-template",12),t&2){let e=u();g("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",mt(2,HM,e.selectedValues,e.clearItem))}}function JM(t,n){t&1&&I(0,"div",25)}function ek(t,n){}function tk(t,n){if(t&1&&w(0,JM,1,0,"ng-template",null,3,vt)(2,ek,0,0,"ng-template",19),t&2){let e=Qe(1),i=u();d(2),g("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function nk(t,n){if(t&1&&(p(0,"span",15,4)(2,"span",26),D(3,"\xD7"),f()()),t&2){let e=u();fe("title",e.clearAllText)}}function ik(t,n){if(t&1&&I(0,"span",31),t&2){let e=u().$implicit,i=u(2);g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ok(t,n){}function rk(t,n){if(t&1){let e=P();p(0,"div",30),_("click",function(){let o=b(e).$implicit,r=u(2);return v(r.toggleItem(o))})("mouseover",function(){let o=b(e).$implicit,r=u(2);return v(r.onItemHover(o))}),w(1,ik,1,2,"ng-template",null,5,vt)(3,ok,0,0,"ng-template",12),f()}if(t&2){let e=n.$implicit,i=Qe(2),o=u(2);W("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),Q("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),d(3),g("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",Fa(17,$M,e.value,e,e.index,o.searchTerm))}}function sk(t,n){if(t&1&&(p(0,"span")(1,"span",33),D(2),f(),D(3),f()),t&2){let e=u(3);d(2),ie(e.addTagText),d(),B('"',e.searchTerm,'"')}}function ak(t,n){}function lk(t,n){if(t&1){let e=P();p(0,"div",32),_("mouseover",function(){b(e);let o=u(2);return v(o.itemsList.unmarkItem())})("click",function(){b(e);let o=u(2);return v(o.selectTag())}),w(1,sk,4,2,"ng-template",null,6,vt)(3,ak,0,0,"ng-template",12),f()}if(t&2){let e=Qe(2),i=u(2);W("ng-option-marked",!i.itemsList.markedItem),d(3),g("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",De(4,jr,i.searchTerm))}}function ck(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.notFoundText)}}function dk(t,n){}function uk(t,n){if(t&1&&w(0,ck,2,1,"ng-template",null,7,vt)(2,dk,0,0,"ng-template",12),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",De(2,jr,i.searchTerm))}}function pk(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.typeToSearchText)}}function mk(t,n){}function fk(t,n){if(t&1&&w(0,pk,2,1,"ng-template",null,8,vt)(2,mk,0,0,"ng-template",19),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function gk(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.loadingText)}}function hk(t,n){}function bk(t,n){if(t&1&&w(0,gk,2,1,"ng-template",null,9,vt)(2,hk,0,0,"ng-template",12),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",De(2,jr,i.searchTerm))}}function vk(t,n){if(t&1){let e=P();p(0,"ng-dropdown-panel",27),_("update",function(o){b(e);let r=u();return v(r.viewPortItems=o)})("scroll",function(o){b(e);let r=u();return v(r.scroll.emit(o))})("scrollToEnd",function(o){b(e);let r=u();return v(r.scrollToEnd.emit(o))})("outsideClick",function(){b(e);let o=u();return v(o.close())}),nt(1),Zt(2,rk,4,22,"div",28,ru().trackByOption,!0),w(4,lk,4,6,"div",29),it(),w(5,uk,3,4)(6,fk,3,1)(7,bk,3,4),f()}if(t&2){let e=u();W("ng-select-multiple",e.multiple),g("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),d(2),Yt(e.viewPortItems),d(2),A(e.showAddTag?4:-1),d(),A(e.showNoItemsFound()?5:-1),d(),A(e.showTypeToSearch()?6:-1),d(),A(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var db=/[&<>"']/g,_k=RegExp(db.source),yk={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ck(t){return t&&_k.test(t)?t.replace(db,n=>yk[n]):t}function Ze(t){return t!=null}function Fr(t){return typeof t=="object"&&Ze(t)}function wk(t){return t instanceof Promise}function Qa(t){return t instanceof Function}var xk=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Ck(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(y(U))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[Le]})}}return t})(),Mk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),kk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),Dk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),Ik=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),Ek=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),Sk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),Ok=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),Tk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),Pk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),Ak=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),Nk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),Fk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function ub(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var jk={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Ka(t){let n=e=>jk[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var Su=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ze(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=Ka(n).toLocaleLowerCase(),this.filteredItems.find(e=>Ka(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:Ka(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;e(n,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!Fr(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Ze(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Ze(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Ze(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Ze(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return Ka(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let a=(s.value[e]||[]).map((l,c)=>this.mapItem(l,c));i.set(s,a)}return i}let o=Qa(this._ngSelect.groupBy),r=s=>{let a=o?e(s.value):s.value[e];return Ze(a)?a:void 0};for(let s of n){let a=r(s),l=i.get(a);l?l.push(s):i.set(a,[s])}return i}_flatten(n){let e=Qa(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let h=n.get(void 0)||[];i.push(...h.map(M=>(M.index=r++,M)));continue}let s=Fr(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:ub()},l=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),m=n.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=m,a.value=c(o,m.map(h=>h.value)),i.push(a),i.push(...m)}return i}},dn=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(dn||{}),pb=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,l=Math.max(0,e)/s*i,c=Math.min(i,Math.ceil(l)+(r.itemsPerViewport+1)),h=Math.max(0,c-r.itemsPerViewport),M=Math.min(h,Math.floor(l)),C=r.itemHeight*Math.ceil(M)-r.itemHeight*Math.min(M,o);return C=isNaN(C)?0:C,M=isNaN(M)?-1:M,c=isNaN(c)?-1:c,M-=o,M=Math.max(0,M),c+=o,c=Math.min(i,c),{topPadding:C,scrollHeight:s,start:M,end:c}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,a=o,l=a+r;return r>=s&&o===e?null:s>l?a+s-l:e<=a?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),ab=["top","right","bottom","left"],Rk=typeof requestAnimationFrame<"u"?Xl:Ql,lb=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new x,this.scroll=new x,this.scrollToEnd=new x,this.outsideClick=new x,this._destroy$=new be,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),a=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,a)}Ze(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),ab.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){ab.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Tn(this.scrollElementRef.nativeElement,"scroll").pipe(tt(this._destroy$),ec(0,Rk)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{gn(Tn(this._document,"touchstart",{capture:!0}),Tn(this._document,"click",{capture:!0})).pipe(tt(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Ze(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,a=e.getBoundingClientRect().height;return r+s+a>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Tn(this._dropdown,"mousedown").pipe(tt(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(ke),y(pb),y(U),y(ot,8))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(pt(NM,7,U),pt(FM,7,U),pt(jM,7,U)),i&2){let r;Se(r=Oe())&&(o.contentElementRef=r.first),Se(r=Oe())&&(o.scrollElementRef=r.first),Se(r=Oe())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",k],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[ue,Le,S],ngContentSelectors:cb,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(Ve(),w(0,RM,2,4,"div",3),p(1,"div",4,0),I(3,"div",null,1),p(5,"div",null,2),Ee(7),f()(),w(8,LM,2,4,"div",5)),i&2&&(A(o.headerTemplate?0:-1),d(3),W("total-padding",o.virtualScroll),d(2),W("scrollable-content",o.virtualScroll&&o.items.length),d(3),A(o.footerTemplate?8:-1))},dependencies:[kn],encapsulation:2,changeDetection:0})}}return t})(),Mi=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new be}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(i){return new(i||t)(y(U))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",k]},standalone:!0,features:[ue,Le,S],ngContentSelectors:cb,decls:1,vars:0,template:function(i,o){i&1&&(Ve(),Ee(0))},encapsulation:2,changeDetection:0})}}return t})();function mb(){return new Ou}var Ou=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},Lk=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Vk=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fb=new G("ng-select-selection-model"),wo=(()=>{class t{constructor(e,i,o,r,s,a,l){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=l,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new x,this.focusEvent=new x,this.changeEvent=new x,this.openEvent=new x,this.closeEvent=new x,this.searchEvent=new x,this.clearEvent=new x,this.addEvent=new x,this.removeEvent=new x,this.scroll=new x,this.scrollToEnd=new x,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=ub(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new be,this._keyPress$=new be,this._items=[],this.keyDownFn=c=>!0,this.clearItem=c=>{let m=this.selectedItems.find(h=>h.value===c);this.unselect(m)},this.trackByOption=(c,m)=>this.trackByFn?this.trackByFn(m.value):m,this._onChange=c=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new Su(this,r?r():mb()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!Qa(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Ze(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ze(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Ze(this._deselectOnClick)?this._deselectOnClick:Ze(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Ze(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ze(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(dn[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case dn.ArrowDown:this._handleArrowDown(e);break;case dn.ArrowUp:this._handleArrowUp(e);break;case dn.Space:this._handleSpace(e);break;case dn.Enter:this._handleEnter(e);break;case dn.Tab:this._handleTab(e);break;case dn.Esc:this.close(),e.preventDefault();break;case dn.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case dn.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;Qa(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);wk(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ze(i)?!Fr(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ze(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=gn(this.ngOptions.changes,this._destroy$);gn(...this.ngOptions.map(r=>r.stateChange$)).pipe(tt(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(An(this.ngOptions),tt(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Ze(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Ze(this.compareWith)&&Fr(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=Fr(o),a=!s&&!this.bindValue;s||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(tt(this._destroy$),Jt(e=>this._pressedKeys.push(e)),ai(200),Pn(()=>this._pressedKeys.length>0),ve(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=ae({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Ze(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Ze(this.virtualScroll)?this.virtualScroll:Ze(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Ze(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(lo("class"),lo("autofocus"),y(Lk),y(fb,8),y(U),y(qe),y(Vk))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(bt(r,Mk,5,we),bt(r,kk,5,we),bt(r,Dk,5,we),bt(r,Ik,5,we),bt(r,Ek,5,we),bt(r,Sk,5,we),bt(r,Ok,5,we),bt(r,Tk,5,we),bt(r,Pk,5,we),bt(r,Ak,5,we),bt(r,Nk,5,we),bt(r,Fk,5,we),bt(r,Mi,5)),i&2){let s;Se(s=Oe())&&(o.optionTemplate=s.first),Se(s=Oe())&&(o.optgroupTemplate=s.first),Se(s=Oe())&&(o.labelTemplate=s.first),Se(s=Oe())&&(o.multiLabelTemplate=s.first),Se(s=Oe())&&(o.headerTemplate=s.first),Se(s=Oe())&&(o.footerTemplate=s.first),Se(s=Oe())&&(o.notFoundTemplate=s.first),Se(s=Oe())&&(o.placeholderTemplate=s.first),Se(s=Oe())&&(o.typeToSearchTemplate=s.first),Se(s=Oe())&&(o.loadingTextTemplate=s.first),Se(s=Oe())&&(o.tagTemplate=s.first),Se(s=Oe())&&(o.loadingSpinnerTemplate=s.first),Se(s=Oe())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(pt(lb,5),pt(VM,7),pt(BM,5)),i&2){let r;Se(r=Oe())&&(o.dropdownPanel=r.first),Se(r=Oe())&&(o.searchInput=r.first),Se(r=Oe())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&_("keydown",function(s){return o.handleKeyDown(s)}),i&2&&W("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",k],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",k],closeOnSelect:[2,"closeOnSelect","closeOnSelect",k],hideSelected:[2,"hideSelected","hideSelected",k],selectOnTab:[2,"selectOnTab","selectOnTab",k],openOnEnter:[2,"openOnEnter","openOnEnter",k],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",St],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",St],virtualScroll:[2,"virtualScroll","virtualScroll",k],selectableGroup:[2,"selectableGroup","selectableGroup",k],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",k],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",k],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",St],readonly:[2,"readonly","readonly",k],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",k],minTermLength:[2,"minTermLength","minTermLength",St],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",k],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",k],addTag:"addTag",searchable:[2,"searchable","searchable",k],clearable:[2,"clearable","clearable",k],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[re([{provide:Za,useExisting:_i(()=>t),multi:!0},pb]),ue,Le,S],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,o){if(i&1){let r=P();p(0,"div",10),_("mousedown",function(a){return b(r),v(o.handleMousedown(a))}),p(1,"div",11),w(2,GM,3,1)(3,KM,2,0)(4,XM,1,5,null,12),p(5,"div",13)(6,"input",14,0),_("blur",function(a){return b(r),v(o.onInputBlur(a))})("change",function(a){return b(r),v(a.stopPropagation())})("compositionend",function(){b(r);let a=Qe(7);return v(o.onCompositionEnd(a.value))})("compositionstart",function(){return b(r),v(o.onCompositionStart())})("focus",function(a){return b(r),v(o.onInputFocus(a))})("input",function(){b(r);let a=Qe(7);return v(o.filter(a.value))}),f()()(),w(8,tk,3,1)(9,nk,4,1,"span",15),p(10,"span",16),I(11,"span",17),f()(),w(12,vk,8,17,"ng-dropdown-panel",18)}i&2&&(W("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),d(2),A(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),d(),A((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),d(),A(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),d(2),g("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),Q("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),d(2),A(o.loading?8:-1),d(),A(o.showClear()?9:-1),d(3),A(o.isOpen?12:-1))},dependencies:[kn,xk,lb,ee],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
7
|
+
`)}`}var Cd=rf(Qm("Optional"),8);var sf=rf(Qm("SkipSelf"),4);function di(t,n){let e=t.hasOwnProperty(Ls);return e?t[Ls]:null}function a0(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function l0(t){return t.flat(Number.POSITIVE_INFINITY)}function wd(t,n){t.forEach(e=>Array.isArray(e)?wd(e,n):n(e))}function af(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Bs(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function c0(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function d0(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function xd(t,n,e){let i=ur(t,n);return i>=0?t[i|1]=e:(i=~i,d0(t,i,n,e)),i}function nc(t,n){let e=ur(t,n);if(e>=0)return t[e|1]}function ur(t,n){return u0(t,n,1)}function u0(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var Yi={},wt=[],nr=new G(""),lf=new G("",-1),cf=new G(""),zs=class{get(n,e=tr){if(e===tr){let i=new Error(`NullInjectorError: No provider for ${Dt(n)}!`);throw i.name="NullInjectorError",i}return e}},df=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(df||{}),nn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(nn||{}),jn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(jn||{});function p0(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function yc(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];m0(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function uf(t){return t===3||t===4||t===6}function m0(t){return t.charCodeAt(0)===64}function ir(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?mm(t,e,o,null,n[++i]):mm(t,e,o,null,null))}}return t}function mm(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var pf="ng-template";function f0(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&p0(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Md(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function Md(t){return t.type===4&&t.value!==pf}function g0(t,n,e){let i=t.type===4&&!e?pf:t.value;return n===i}function h0(t,n,e){let i=4,o=t.attrs,r=o!==null?_0(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Wt(i)&&!Wt(l))return!1;if(s&&Wt(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!g0(t,l,e)||l===""&&n.length===1){if(Wt(i))return!1;s=!0}}else if(i&8){if(o===null||!f0(t,o,l,e)){if(Wt(i))return!1;s=!0}}else{let c=n[++a],m=b0(l,o,Md(t),e);if(m===-1){if(Wt(i))return!1;s=!0;continue}if(c!==""){let h;if(m>r?h="":h=o[m+1].toLowerCase(),i&2&&c!==h){if(Wt(i))return!1;s=!0}}}}return Wt(i)||s}function Wt(t){return(t&1)===0}function b0(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return y0(n,t)}function mf(t,n,e=!1){for(let i=0;i<n.length;i++)if(h0(t,n[i],e))return!0;return!1}function v0(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function _0(t){for(let n=0;n<t.length;n++){let e=t[n];if(uf(e))return n}return t.length}function y0(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function C0(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function fm(t,n){return t?":not("+n.trim()+")":n}function w0(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Wt(s)&&(n+=fm(r,o),o=""),i=s,r=r||!Wt(i);e++}return o!==""&&(n+=fm(r,o)),n}function x0(t){return t.map(w0).join(",")}function M0(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Wt(o))break;o=r}i++}return{attrs:n,classes:e}}function E(t){return dr(()=>{let n=hf(t),e=Be(ae({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===df.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||nn.Emulated,styles:t.styles||wt,_:null,schemas:t.schemas||null,tView:null,id:""});bf(e);let i=t.dependencies;return e.directiveDefs=hm(i,!1),e.pipeDefs=hm(i,!0),e.id=E0(e),e})}function k0(t){return Ki(t)||ff(t)}function D0(t){return t!==null}function Fe(t){return dr(()=>({type:t.type,bootstrap:t.bootstrap||wt,declarations:t.declarations||wt,imports:t.imports||wt,exports:t.exports||wt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function gm(t,n){if(t==null)return Yi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=jn.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==jn.None?[i,a]:i,n[r]=s):e[r]=i}return e}function Z(t){return dr(()=>{let n=hf(t);return bf(n),n})}function pr(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ki(t){return t[q_]||null}function ff(t){return t[Z_]||null}function gf(t){return t[Y_]||null}function I0(t){let n=Ki(t)||ff(t)||gf(t);return n!==null?n.standalone:!1}function hf(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Yi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||wt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gm(t.inputs,n),outputs:gm(t.outputs),debugInfo:null}}function bf(t){t.features?.forEach(n=>n(t))}function hm(t,n){if(!t)return null;let e=n?gf:k0;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(D0)}function E0(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function kd(...t){return{\u0275providers:vf(!0,t),\u0275fromNgModule:!0}}function vf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return wd(n,s=>{let a=s;Cc(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&_f(o,r),e}function _f(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];Dd(o,r=>{n(r,i)})}}function Cc(t,n,e,i){if(t=_t(t),!t)return!1;let o=null,r=cm(t),s=!r&&Ki(t);if(!r&&!s){let l=t.ngModule;if(r=cm(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Cc(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{wd(r.imports,m=>{Cc(m,n,e,i)&&(c||=[],c.push(m))})}finally{}c!==void 0&&_f(c,n)}if(!a){let c=di(o)||(()=>new o);n({provide:o,useFactory:c,deps:wt},o),n({provide:cf,useValue:o,multi:!0},o),n({provide:nr,useValue:()=>z(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;Dd(l,m=>{n(m,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Dd(t,n){for(let e of t)tf(e)&&(e=e.\u0275providers),Array.isArray(e)?Dd(e,n):n(e)}var S0=Re({provide:String,useValue:Re});function yf(t){return t!==null&&typeof t=="object"&&S0 in t}function O0(t){return!!(t&&t.useExisting)}function T0(t){return!!(t&&t.useFactory)}function Qi(t){return typeof t=="function"}function P0(t){return!!t.useClass}var ma=new G(""),Ps={},A0={},ic;function Id(){return ic===void 0&&(ic=new zs),ic}var Rn=class{},Hs=class extends Rn{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xc(n,s=>this.processProvider(s)),this.records.set(lf,Ui(void 0,this)),o.has("environment")&&this.records.set(Rn,Ui(void 0,this));let r=this.records.get(ma);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(cf,wt,_e.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=ge(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ge(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=$i(this),i=At(void 0),o;try{return n()}finally{$i(e),At(i)}}get(n,e=tr,i=_e.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(um))return n[um](this);i=pa(i);let o,r=$i(this),s=At(void 0);try{if(!(i&_e.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=L0(n)&&_d(n);c&&this.injectableDefInScope(c)?l=Ui(wc(n),Ps):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&_e.Self?Id():this.parent;return e=i&_e.Optional&&e===tr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[Vs]=a[Vs]||[]).unshift(Dt(n)),r)throw a;return r0(a,n,"R3InjectorError",this.source)}else throw a}finally{At(s),$i(r)}}resolveInjectorInitializers(){let n=ge(null),e=$i(this),i=At(void 0),o;try{let r=this.get(nr,wt,_e.Self);for(let s of r)s()}finally{$i(e),At(i),ge(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Dt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(n){n=_t(n);let e=Qi(n)?n:_t(n&&n.provide),i=F0(n);if(!Qi(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Ui(void 0,Ps,!0),o.factory=()=>_c(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=ge(null);try{return e.value===Ps&&(e.value=A0,e.value=e.factory()),typeof e.value=="object"&&e.value&&R0(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ge(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=_t(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function wc(t){let n=_d(t),e=n!==null?n.factory:di(t);if(e!==null)return e;if(t instanceof G)throw new me(204,!1);if(t instanceof Function)return N0(t);throw new me(204,!1)}function N0(t){if(t.length>0)throw new me(204,!1);let e=W_(t);return e!==null?()=>e.factory(t):()=>new t}function F0(t){if(yf(t))return Ui(void 0,t.useValue);{let n=Cf(t);return Ui(n,Ps)}}function Cf(t,n,e){let i;if(Qi(t)){let o=_t(t);return di(o)||wc(o)}else if(yf(t))i=()=>_t(t.useValue);else if(T0(t))i=()=>t.useFactory(..._c(t.deps||[]));else if(O0(t))i=()=>z(_t(t.useExisting));else{let o=_t(t&&(t.useClass||t.provide));if(j0(t))i=()=>new o(..._c(t.deps));else return di(o)||wc(o)}return i}function Ui(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function j0(t){return!!t.deps}function R0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function L0(t){return typeof t=="function"||typeof t=="object"&&t instanceof G}function xc(t,n){for(let e of t)Array.isArray(e)?xc(e,n):e&&tf(e)?xc(e.\u0275providers,n):n(e)}function wf(){return nf()!==void 0||n0()!=null}function xf(t){if(!wf())throw new me(-203,!1)}function V0(t){return typeof t=="function"}var bn=0,le=1,oe=2,ht=3,qt=4,Mt=5,Xi=6,$s=7,ct=8,Ji=9,on=10,$e=11,or=12,bm=13,ao=14,xt=15,ui=16,Wi=17,hn=18,fa=19,Mf=20,Nn=21,oc=22,Nt=23,dt=25,kf=1;var pi=7,Us=8,eo=9,gt=10,Ws=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ws||{});function Fn(t){return Array.isArray(t)&&typeof t[kf]=="object"}function vn(t){return Array.isArray(t)&&t[kf]===!0}function Ed(t){return(t.flags&4)!==0}function ga(t){return t.componentOffset>-1}function ha(t){return(t.flags&1)===1}function Ln(t){return!!t.template}function Mc(t){return(t[oe]&512)!==0}var rr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Df(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Le(){return If}function If(t){return t.type.prototype.ngOnChanges&&(t.setInput=z0),B0}Le.ngInherit=!0;function B0(){let t=Sf(this),n=t?.current;if(n){let e=t.previous;if(e===Yi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function z0(t,n,e,i,o){let r=this.declaredInputs[i],s=Sf(t)||H0(t,{previous:Yi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new rr(c&&c.currentValue,e,l===Yi),Df(t,n,o,e)}var Ef="__ngSimpleChanges__";function Sf(t){return t[Ef]||null}function H0(t,n){return t[Ef]=n}var vm=null;var en=function(t,n,e){vm?.(t,n,e)},Of="svg",$0="math";function rn(t){for(;Array.isArray(t);)t=t[bn];return t}function Tf(t,n){return rn(n[t])}function Ft(t,n){return rn(n[t.index])}function Sd(t,n){return t.data[n]}function Pf(t,n){return t[n]}function Hn(t,n){let e=n[t];return Fn(e)?e:e[bn]}function U0(t){return(t[oe]&4)===4}function Od(t){return(t[oe]&128)===128}function W0(t){return vn(t[ht])}function Vn(t,n){return n==null?null:t[n]}function Af(t){t[Wi]=0}function Nf(t){t[oe]&1024||(t[oe]|=1024,Od(t)&&va(t))}function G0(t,n){for(;t>0;)n=n[ao],t--;return n}function ba(t){return!!(t[oe]&9216||t[Nt]?.dirty)}function kc(t){t[on].changeDetectionScheduler?.notify(8),t[oe]&64&&(t[oe]|=1024),ba(t)&&va(t)}function va(t){t[on].changeDetectionScheduler?.notify(0);let n=mi(t);for(;n!==null&&!(n[oe]&8192||(n[oe]|=8192,!Od(n)));)n=mi(n)}function Ff(t,n){if((t[oe]&256)===256)throw new me(911,!1);t[Nn]===null&&(t[Nn]=[]),t[Nn].push(n)}function q0(t,n){if(t[Nn]===null)return;let e=t[Nn].indexOf(n);e!==-1&&t[Nn].splice(e,1)}function mi(t){let n=t[ht];return vn(n)?n[ht]:n}var de={lFrame:Uf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var jf=!1;function Z0(){return de.lFrame.elementDepthCount}function Y0(){de.lFrame.elementDepthCount++}function K0(){de.lFrame.elementDepthCount--}function Rf(){return de.bindingsEnabled}function Lf(){return de.skipHydrationRootTNode!==null}function Q0(t){return de.skipHydrationRootTNode===t}function X0(){de.skipHydrationRootTNode=null}function ne(){return de.lFrame.lView}function Ue(){return de.lFrame.tView}function b(t){return de.lFrame.contextLView=t,t[ct]}function v(t){return de.lFrame.contextLView=null,t}function ut(){let t=Vf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vf(){return de.lFrame.currentTNode}function J0(){let t=de.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function yi(t,n){let e=de.lFrame;e.currentTNode=t,e.isParent=n}function Td(){return de.lFrame.isParent}function Pd(){de.lFrame.isParent=!1}function ey(){return de.lFrame.contextLView}function Bf(){return jf}function _m(t){jf=t}function mr(){let t=de.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ty(){return de.lFrame.bindingIndex}function ny(t){return de.lFrame.bindingIndex=t}function Ci(){return de.lFrame.bindingIndex++}function Ad(t){let n=de.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function iy(){return de.lFrame.inI18n}function oy(t,n){let e=de.lFrame;e.bindingIndex=e.bindingRootIndex=t,Dc(n)}function ry(){return de.lFrame.currentDirectiveIndex}function Dc(t){de.lFrame.currentDirectiveIndex=t}function sy(t){let n=de.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function zf(){return de.lFrame.currentQueryIndex}function Nd(t){de.lFrame.currentQueryIndex=t}function ay(t){let n=t[le];return n.type===2?n.declTNode:n.type===1?t[Mt]:null}function Hf(t,n,e){if(e&_e.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&_e.Host);)if(o=ay(r),o===null||(r=r[ao],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=de.lFrame=$f();return i.currentTNode=n,i.lView=t,!0}function Fd(t){let n=$f(),e=t[le];de.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function $f(){let t=de.lFrame,n=t===null?null:t.child;return n===null?Uf(t):n}function Uf(t){let 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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Wf(){let t=de.lFrame;return de.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Gf=Wf;function jd(){let t=Wf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ly(t){return(de.lFrame.contextLView=G0(t,de.lFrame.contextLView))[ct]}function _n(){return de.lFrame.selectedIndex}function fi(t){de.lFrame.selectedIndex=t}function fr(){let t=de.lFrame;return Sd(t.tView,t.selectedIndex)}function qf(){de.lFrame.currentNamespace=Of}function cy(){return de.lFrame.currentNamespace}var Zf=!0;function _a(){return Zf}function ya(t){Zf=t}function dy(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=If(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Ca(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:m}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),m!=null&&(t.destroyHooks??=[]).push(e,m)}}function As(t,n,e){Yf(t,n,3,e)}function Ns(t,n,e,i){(t[oe]&3)===e&&Yf(t,n,e,i)}function rc(t,n){let e=t[oe];(e&3)===n&&(e&=16383,e+=1,t[oe]=e)}function Yf(t,n,e,i){let o=i!==void 0?t[Wi]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Wi]+=65536),(a<r||r==-1)&&(uy(t,e,n,l),t[Wi]=(t[Wi]&4294901760)+l+2),l++}function ym(t,n){en(4,t,n);let e=ge(null);try{n.call(t)}finally{ge(e),en(5,t,n)}}function uy(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[oe]>>14<t[Wi]>>16&&(t[oe]&3)===n&&(t[oe]+=16384,ym(a,r)):ym(a,r)}var Zi=-1,gi=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function py(t){return t instanceof gi}function my(t){return(t.flags&8)!==0}function fy(t){return(t.flags&16)!==0}var sc={},Ic=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=pa(i);let o=this.injector.get(n,sc,i);return o!==sc||e===sc?o:this.parentInjector.get(n,e,i)}};function Kf(t){return t!==Zi}function Gs(t){return t&32767}function gy(t){return t>>16}function qs(t,n){let e=gy(t),i=n;for(;e>0;)i=i[ao],e--;return i}var Ec=!0;function Zs(t){let n=Ec;return Ec=t,n}var hy=256,Qf=hy-1,Xf=5,by=0,tn={};function vy(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Jo)&&(i=e[Jo]),i==null&&(i=e[Jo]=by++);let o=i&Qf,r=1<<o;n.data[t+(o>>Xf)]|=r}function Ys(t,n){let e=Jf(t,n);if(e!==-1)return e;let i=n[le];i.firstCreatePass&&(t.injectorIndex=n.length,ac(i.data,t),ac(n,null),ac(i.blueprint,null));let o=Rd(t,n),r=t.injectorIndex;if(Kf(o)){let s=Gs(o),a=qs(o,n),l=a[le].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function ac(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Jf(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Rd(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=og(o),i===null)return Zi;if(e++,o=o[ao],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Zi}function Sc(t,n,e){vy(t,n,e)}function _y(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(uf(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function eg(t,n,e){if(e&_e.Optional||t!==void 0)return t;yd(n,"NodeInjector")}function tg(t,n,e,i){if(e&_e.Optional&&i===void 0&&(i=null),!(e&(_e.Self|_e.Host))){let o=t[Ji],r=At(void 0);try{return o?o.get(n,i,e&_e.Optional):of(n,i,e&_e.Optional)}finally{At(r)}}return eg(i,n,e)}function ng(t,n,e,i=_e.Default,o){if(t!==null){if(n[oe]&2048&&!(i&_e.Self)){let s=xy(t,n,e,i,tn);if(s!==tn)return s}let r=ig(t,n,e,i,tn);if(r!==tn)return r}return tg(n,e,i,o)}function ig(t,n,e,i,o){let r=Cy(e);if(typeof r=="function"){if(!Hf(n,t,i))return i&_e.Host?eg(o,e,i):tg(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&_e.Optional))yd(e);else return s}finally{Gf()}}else if(typeof r=="number"){let s=null,a=Jf(t,n),l=Zi,c=i&_e.Host?n[xt][Mt]:null;for((a===-1||i&_e.SkipSelf)&&(l=a===-1?Rd(t,n):n[a+8],l===Zi||!wm(i,!1)?a=-1:(s=n[le],a=Gs(l),n=qs(l,n)));a!==-1;){let m=n[le];if(Cm(r,a,m.data)){let h=yy(a,n,e,s,i,c);if(h!==tn)return h}l=n[a+8],l!==Zi&&wm(i,n[le].data[a+8]===c)&&Cm(r,a,n)?(s=m,a=Gs(l),n=qs(l,n)):a=-1}}return o}function yy(t,n,e,i,o,r){let s=n[le],a=s.data[t+8],l=i==null?ga(a)&&Ec:i!=s&&(a.type&3)!==0,c=o&_e.Host&&r===a,m=Fs(a,s,e,l,c);return m!==null?hi(n,s,m,a):tn}function Fs(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,m=r>>20,h=i?a:a+m,M=o?a+m:c;for(let C=h;C<M;C++){let O=s[C];if(C<l&&e===O||C>=l&&O.type===e)return C}if(o){let C=s[l];if(C&&Ln(C)&&C.type===e)return l}return null}function hi(t,n,e,i){let o=t[e],r=n.data;if(py(o)){let s=o;s.resolving&&Q_(K_(r[e]));let a=Zs(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?At(s.injectImpl):null,m=Hf(t,i,_e.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&dy(e,r[e],n)}finally{c!==null&&At(c),Zs(a),s.resolving=!1,Gf()}}return o}function Cy(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Jo)?t[Jo]:void 0;return typeof n=="number"?n>=0?n&Qf:wy:n}function Cm(t,n,e){let i=1<<t;return!!(e[n+(t>>Xf)]&i)}function wm(t,n){return!(t&_e.Self)&&!(t&_e.Host&&n)}var li=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return ng(this._tNode,this._lView,n,pa(i),e)}};function wy(){return new li(ut(),ne())}function jt(t){return dr(()=>{let n=t.prototype.constructor,e=n[Ls]||Oc(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[Ls]||Oc(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Oc(t){return Xm(t)?()=>{let n=Oc(_t(t));return n&&n()}:di(t)}function xy(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[oe]&2048&&!(s[oe]&512);){let a=ig(r,s,e,i|_e.Self,tn);if(a!==tn)return a;let l=r.parent;if(!l){let c=s[Mf];if(c){let m=c.get(e,tn,i);if(m!==tn)return m}l=og(s),s=s[ao]}r=l}return o}function og(t){let n=t[le],e=n.type;return e===2?n.declTNode:e===1?t[Mt]:null}function lo(t){return _y(ut(),t)}function xm(t,n=null,e=null,i){let o=My(t,n,e,i);return o.resolveInjectorInitializers(),o}function My(t,n=null,e=null,i,o=new Set){let r=[e||wt,kd(t)];return i=i||(typeof t=="object"?void 0:Dt(t)),new Hs(r,n||Id(),i||null,o)}var sn=class t{static{this.THROW_IF_NOT_FOUND=tr}static{this.NULL=new zs}static create(n,e){if(Array.isArray(n))return xm({name:""},e,n,"");{let i=n.name??"";return xm({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=H({token:t,providedIn:"any",factory:()=>z(lf)})}static{this.__NG_ELEMENT_ID__=-1}};var ky=new G("");ky.__NG_ELEMENT_ID__=t=>{let n=ut();if(n===null)throw new me(204,!1);if(n.type&2)return n.value;if(t&_e.Optional)return null;throw new me(204,!1)};var Dy="ngOriginalError";function lc(t){return t[Dy]}var rg=!0,wa=(()=>{class t{static{this.__NG_ELEMENT_ID__=Iy}static{this.__NG_ENV_ID__=e=>e}}return t})(),Tc=class extends wa{constructor(n){super(),this._lView=n}onDestroy(n){return Ff(this._lView,n),()=>q0(this._lView,n)}};function Iy(){return new Tc(ne())}var xa=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new xe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Pc=class extends be{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,wf()&&(this.destroyRef=K(wa,{optional:!0})??void 0,this.pendingTasks=K(xa,{optional:!0})??void 0)}emit(n){let e=ge(null);try{super.next(n)}finally{ge(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof ze&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},x=Pc;function Ks(...t){}function sg(t){let n,e;function i(){t=Ks;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Mm(t){return queueMicrotask(()=>t()),()=>{t=Ks}}var Ld="isAngularZone",Qs=Ld+"_ID",Ey=0,ke=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new x(!1),this.onMicrotaskEmpty=new x(!1),this.onStable=new x(!1),this.onError=new x(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=rg}=n;if(typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,Ty(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ld)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new me(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,Sy,Ks,Ks);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},Sy={};function Vd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Oy(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){sg(()=>{t.callbackScheduled=!1,Ac(t),t.isCheckStableRunning=!0,Vd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Ac(t)}function Ty(t){let n=()=>{Oy(t)},e=Ey++;t._inner=t._inner.fork({name:"angular",properties:{[Ld]:!0,[Qs]:e,[Qs+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(Py(l))return i.invokeTask(r,s,a,l);try{return km(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Dm(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return km(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Ay(l)&&n(),Dm(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ac(t),Vd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ac(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function km(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Dm(t){t._nesting--,Vd(t)}var Nc=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new x,this.onMicrotaskEmpty=new x,this.onStable=new x,this.onError=new x}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function Py(t){return ag(t,"__ignore_ng_zone__")}function Ay(t){return ag(t,"__scheduler_tick__")}function ag(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var an=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&lc(n);for(;e&&lc(e);)e=lc(e);return e||null}},Ny=new G("",{providedIn:"root",factory:()=>{let t=K(ke),n=K(an);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function Fy(){return co(ut(),ne())}function co(t,n){return new U(Ft(t,n))}var U=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=Fy}}return t})();function jy(t){return t instanceof U?t.nativeElement:t}function Ry(){return this._results[Symbol.iterator]()}var sr=class t{get changes(){return this._changes??=new x}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=Ry)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=l0(n);(this._changesDetected=!a0(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function lg(t){return(t.flags&128)===128}var cg=new Map,Ly=0;function Vy(){return Ly++}function By(t){cg.set(t[fa],t)}function Fc(t){cg.delete(t[fa])}var Im="__ngContext__";function Bn(t,n){Fn(n)?(t[Im]=n[fa],By(n)):t[Im]=n}function dg(t){return pg(t[or])}function ug(t){return pg(t[qt])}function pg(t){for(;t!==null&&!vn(t);)t=t[qt];return t}var jc;function mg(t){jc=t}function fg(){if(jc!==void 0)return jc;if(typeof document<"u")return document;throw new me(210,!1)}var Ma=new G("",{providedIn:"root",factory:()=>zy}),zy="ng",Bd=new G(""),$n=new G("",{providedIn:"platform",factory:()=>"unknown"});var gr=new G(""),hr=new G("",{providedIn:"root",factory:()=>fg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Hy="h",$y="b";var Uy=()=>null;function zd(t,n,e=!1){return Uy(t,n,e)}var gg=!1,Wy=new G("",{providedIn:"root",factory:()=>gg});var Ds;function Gy(){if(Ds===void 0&&(Ds=null,er.trustedTypes))try{Ds=er.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ds}function ka(t){return Gy()?.createHTML(t)||t}var Is;function qy(){if(Is===void 0&&(Is=null,er.trustedTypes))try{Is=er.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Is}function Em(t){return qy()?.createHTML(t)||t}var Xs=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Km})`}};function uo(t){return t instanceof Xs?t.changingThisBreaksApplicationSecurity:t}function Hd(t,n){let e=Zy(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Km})`)}return e===n}function Zy(t){return t instanceof Xs&&t.getTypeName()||null}function Yy(t){let n=new Lc(t);return Ky()?new Rc(n):n}var Rc=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(ka(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Lc=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=ka(n),e}};function Ky(){try{return!!new window.DOMParser().parseFromString(ka(""),"text/html")}catch{return!1}}var Qy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $d(t){return t=String(t),t.match(Qy)?t:"unsafe:"+t}function yn(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function br(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var hg=yn("area,br,col,hr,img,wbr"),bg=yn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vg=yn("rp,rt"),Xy=br(vg,bg),Jy=br(bg,yn("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")),eC=br(vg,yn("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")),Sm=br(hg,Jy,eC,Xy),_g=yn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tC=yn("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"),nC=yn("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"),iC=br(_g,tC,nC),oC=yn("script,style,template"),Vc=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=aC(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=sC(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=Om(n).toLowerCase();if(!Sm.hasOwnProperty(e))return this.sanitizedSomething=!0,!oC.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!iC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;_g[a]&&(l=$d(l)),this.buf.push(" ",s,'="',Tm(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=Om(n).toLowerCase();Sm.hasOwnProperty(e)&&!hg.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Tm(n))}};function rC(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sC(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw yg(n);return n}function aC(t){let n=t.firstChild;if(n&&rC(t,n))throw yg(n);return n}function Om(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function yg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var lC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cC=/([^\#-~ |!])/g;function Tm(t){return t.replace(/&/g,"&").replace(lC,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(cC,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Es;function Cg(t,n){let e=null;try{Es=Es||Yy(t);let i=n?String(n):"";e=Es.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Es.getInertBodyElement(i)}while(i!==r);let a=new Vc().sanitizeChildren(Pm(e)||e);return ka(a)}finally{if(e){let i=Pm(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Pm(t){return"content"in t&&dC(t)?t.content:null}function dC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Da=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Da||{});function Ud(t){let n=wg();return n?Em(n.sanitize(Da.HTML,t)||""):Hd(t,"HTML")?Em(uo(t)):Cg(fg(),ci(t))}function vr(t){let n=wg();return n?n.sanitize(Da.URL,t)||"":Hd(t,"URL")?uo(t):$d(ci(t))}function wg(){let t=ne();return t&&t[on].sanitizer}var uC=/^>|^->|<!--|-->|--!>|<!-$/g,pC=/(<|>)/g,mC="\u200B$1\u200B";function fC(t){return t.replace(uC,n=>n.replace(pC,mC))}function Un(t){return t.ownerDocument}var ln=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ln||{}),gC;function Wd(t,n){return gC(t,n)}function Gi(t,n,e,i,o){if(i!=null){let r,s=!1;vn(i)?r=i:Fn(i)&&(s=!0,i=i[bn]);let a=rn(i);t===0&&e!==null?o==null?Ig(n,e,a):Js(n,e,a,o||null,!0):t===1&&e!==null?Js(n,e,a,o||null,!0):t===2?SC(n,a,s):t===3&&n.destroyNode(a),r!=null&&TC(n,t,r,e,o)}}function hC(t,n){return t.createText(n)}function bC(t,n,e){t.setValue(n,e)}function vC(t,n){return t.createComment(fC(n))}function xg(t,n,e){return t.createElement(n,e)}function _C(t,n){Mg(t,n),n[bn]=null,n[Mt]=null}function yC(t,n,e,i,o,r){i[bn]=o,i[Mt]=n,Sa(t,i,e,1,o,r)}function Mg(t,n){n[on].changeDetectionScheduler?.notify(9),Sa(t,n,n[$e],2,null,null)}function CC(t){let n=t[or];if(!n)return cc(t[le],t);for(;n;){let e=null;if(Fn(n))e=n[or];else{let i=n[gt];i&&(e=i)}if(!e){for(;n&&!n[qt]&&n!==t;)Fn(n)&&cc(n[le],n),n=n[ht];n===null&&(n=t),Fn(n)&&cc(n[le],n),e=n&&n[qt]}n=e}}function wC(t,n,e,i){let o=gt+i,r=e.length;i>0&&(e[o-1][qt]=n),i<r-gt?(n[qt]=e[o],af(e,gt+i,n)):(e.push(n),n[qt]=null),n[ht]=e;let s=n[ui];s!==null&&e!==s&&kg(s,n);let a=n[hn];a!==null&&a.insertView(t),kc(n),n[oe]|=128}function kg(t,n){let e=t[eo],i=n[ht];if(Fn(i))t[oe]|=Ws.HasTransplantedViews;else{let o=i[ht][xt];n[xt]!==o&&(t[oe]|=Ws.HasTransplantedViews)}e===null?t[eo]=[n]:e.push(n)}function Gd(t,n){let e=t[eo],i=e.indexOf(n);e.splice(i,1)}function ar(t,n){if(t.length<=gt)return;let e=gt+n,i=t[e];if(i){let o=i[ui];o!==null&&o!==t&&Gd(o,i),n>0&&(t[e-1][qt]=i[qt]);let r=Bs(t,gt+n);_C(i[le],i);let s=r[hn];s!==null&&s.detachView(r[le]),i[ht]=null,i[qt]=null,i[oe]&=-129}return i}function Ia(t,n){if(!(n[oe]&256)){let e=n[$e];e.destroyNode&&Sa(t,n,e,3,null,null),CC(n)}}function cc(t,n){if(n[oe]&256)return;let e=ge(null);try{n[oe]&=-129,n[oe]|=256,n[Nt]&&Bl(n[Nt]),MC(t,n),xC(t,n),n[le].type===1&&n[$e].destroy();let i=n[ui];if(i!==null&&vn(n[ht])){i!==n[ht]&&Gd(i,n);let o=n[hn];o!==null&&o.detachView(t)}Fc(n)}finally{ge(e)}}function xC(t,n){let e=t.cleanup,i=n[$s];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[$s]=null);let o=n[Nn];if(o!==null){n[Nn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function MC(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof gi)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];en(4,a,l);try{l.call(a)}finally{en(5,a,l)}}else{en(4,o,r);try{r.call(o)}finally{en(5,o,r)}}}}}function Dg(t,n,e){return kC(t,n.parent,e)}function kC(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[bn];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===nn.None||r===nn.Emulated)return null}return Ft(i,e)}}function Js(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Ig(t,n,e){t.appendChild(n,e)}function Am(t,n,e,i,o){i!==null?Js(t,n,e,i,o):Ig(t,n,e)}function Eg(t,n){return t.parentNode(n)}function DC(t,n){return t.nextSibling(n)}function Sg(t,n,e){return EC(t,n,e)}function IC(t,n,e){return t.type&40?Ft(t,e):null}var EC=IC,Nm;function Ea(t,n,e,i){let o=Dg(t,i,n),r=n[$e],s=i.parent||n[Mt],a=Sg(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Am(r,o,e[l],a,!1);else Am(r,o,e,a,!1);Nm!==void 0&&Nm(r,i,n,e,o)}function Qo(t,n){if(n!==null){let e=n.type;if(e&3)return Ft(n,t);if(e&4)return Bc(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Qo(t,i);{let o=t[n.index];return vn(o)?Bc(-1,o):rn(o)}}else{if(e&128)return Qo(t,n.next);if(e&32)return Wd(n,t)()||rn(t[n.index]);{let i=Og(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=mi(t[xt]);return Qo(o,i)}else return Qo(t,n.next)}}}return null}function Og(t,n){if(n!==null){let i=t[xt][Mt],o=n.projection;return i.projection[o]}return null}function Bc(t,n){let e=gt+t+1;if(e<n.length){let i=n[e],o=i[le].firstChild;if(o!==null)return Qo(i,o)}return n[pi]}function SC(t,n,e){t.removeChild(null,n,e)}function qd(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Bn(rn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)qd(t,n,e.child,i,o,r,!1),Gi(n,t,o,a,r);else if(l&32){let c=Wd(e,i),m;for(;m=c();)Gi(n,t,o,m,r);Gi(n,t,o,a,r)}else l&16?Tg(t,n,i,e,o,r):Gi(n,t,o,a,r);e=s?e.projectionNext:e.next}}function Sa(t,n,e,i,o,r){qd(e,i,t.firstChild,n,o,r,!1)}function OC(t,n,e){let i=n[$e],o=Dg(t,e,n),r=e.parent||n[Mt],s=Sg(r,e,n);Tg(i,0,n,e,o,s)}function Tg(t,n,e,i,o,r){let s=e[xt],l=s[Mt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let m=l[c];Gi(n,t,o,m,r)}else{let c=l,m=s[ht];lg(i)&&(c.flags|=128),qd(t,n,c,m,o,r,!0)}}function TC(t,n,e,i,o){let r=e[pi],s=rn(e);r!==s&&Gi(n,t,i,r,o);for(let a=gt;a<e.length;a++){let l=e[a];Sa(l[le],l,t,n,i,r)}}function PC(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:ln.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=ln.Important),t.setStyle(e,i,o,r))}}function AC(t,n,e){t.setAttribute(n,"style",e)}function Pg(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Ag(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&yc(t,n,i),o!==null&&Pg(t,n,o),r!==null&&AC(t,n,r)}var Et={};function d(t=1){Ng(Ue(),ne(),_n()+t,!1)}function Ng(t,n,e,i){if(!i)if((n[oe]&3)===3){let r=t.preOrderCheckHooks;r!==null&&As(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ns(n,r,0,e)}fi(e)}function y(t,n=_e.Default){let e=ne();if(e===null)return z(t,n);let i=ut();return ng(i,e,_t(t),n)}function Fg(){let t="invalid";throw new Error(t)}function jg(t,n,e,i,o,r){let s=ge(null);try{let a=null;o&jn.SignalBased&&(a=n[i][mn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&jn.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):Df(n,a,i,r)}finally{ge(s)}}function NC(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)fi(~o);else{let r=o,s=e[++i],a=e[++i];oy(s,r);let l=n[r];a(2,l)}}}finally{fi(-1)}}function Oa(t,n,e,i,o,r,s,a,l,c,m){let h=n.blueprint.slice();return h[bn]=o,h[oe]=i|4|128|8|64,(c!==null||t&&t[oe]&2048)&&(h[oe]|=2048),Af(h),h[ht]=h[ao]=t,h[ct]=e,h[on]=s||t&&t[on],h[$e]=a||t&&t[$e],h[Ji]=l||t&&t[Ji]||null,h[Mt]=r,h[fa]=Vy(),h[Xi]=m,h[Mf]=c,h[xt]=n.type==2?t[xt]:h,h}function po(t,n,e,i,o){let r=t.data[n];if(r===null)r=FC(t,n,e,i,o),iy()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=J0();r.injectorIndex=s===null?-1:s.injectorIndex}return yi(r,!0),r}function FC(t,n,e,i,o){let r=Vf(),s=Td(),a=s?r:r&&r.parent,l=t.data[n]=zC(t,a,e,n,i,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Rg(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Lg(t,n,e,i,o){let r=_n(),s=i&2;try{fi(-1),s&&n.length>dt&&Ng(t,n,dt,!1),en(s?2:0,o),e(i,o)}finally{fi(r),en(s?3:1,o)}}function Zd(t,n,e){if(Ed(n)){let i=ge(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ge(i)}}}function Yd(t,n,e){Rf()&&(qC(t,n,e,Ft(e,n)),(e.flags&64)===64&&zg(t,n,e))}function Kd(t,n,e=Ft){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function Vg(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Qd(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Qd(t,n,e,i,o,r,s,a,l,c,m){let h=dt+i,M=h+o,C=jC(h,M),O=typeof c=="function"?c():c;return C[le]={type:t,blueprint:C,template:e,queries:null,viewQuery:a,declTNode:n,data:C.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:M,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:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:O,incompleteFirstPass:!1,ssrId:m}}function jC(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Et);return e}function RC(t,n,e,i){let r=i.get(Wy,gg)||e===nn.ShadowDom,s=t.selectRootElement(n,r);return LC(s),s}function LC(t){VC(t)}var VC=()=>null;function BC(t,n,e,i){let o=Ug(n);o.push(e),t.firstCreatePass&&Wg(t).push(i,o.length-1)}function zC(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return Lf()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fm(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=jn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?jm(i,e,c,a,l):jm(i,e,c,a)}return i}function jm(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function HC(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let m=i;m<o;m++){let h=r[m],M=e?e.get(h):null,C=M?M.inputs:null,O=M?M.outputs:null;l=Fm(0,h.inputs,m,l,C),c=Fm(1,h.outputs,m,c,O);let j=l!==null&&s!==null&&!Md(n)?ow(l,m,s):null;a.push(j)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function $C(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ta(t,n,e,i,o,r,s,a){let l=Ft(n,e),c=n.inputs,m;!a&&c!=null&&(m=c[i])?(Jd(t,e,m,i,o),ga(n)&&UC(e,n.index)):n.type&3?(i=$C(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function UC(t,n){let e=Hn(n,t);e[oe]&16||(e[oe]|=64)}function Xd(t,n,e,i){if(Rf()){let o=i===null?null:{"":-1},r=YC(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Bg(t,n,e,s,o,a),o&&KC(e,i,o)}e.mergedAttrs=ir(e.mergedAttrs,e.attrs)}function Bg(t,n,e,i,o,r){for(let c=0;c<i.length;c++)Sc(Ys(e,n),t,i[c].type);XC(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let m=i[c];m.providersResolver&&m.providersResolver(m)}let s=!1,a=!1,l=Rg(t,n,i.length,null);for(let c=0;c<i.length;c++){let m=i[c];e.mergedAttrs=ir(e.mergedAttrs,m.hostAttrs),JC(t,e,n,l,m),QC(l,m,o),m.contentQueries!==null&&(e.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(e.flags|=64);let h=m.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}HC(t,e,r)}function WC(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;GC(s)!=a&&s.push(a),s.push(e,i,r)}}function GC(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function qC(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;ga(e)&&ew(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||Ys(e,n),Bn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=hi(n,t,a,e);if(Bn(c,n),s!==null&&iw(n,a-o,c,l,e,s),Ln(l)){let m=Hn(e.index,n);m[ct]=hi(n,t,a,e)}}}function zg(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=ry();try{fi(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];Dc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&ZC(l,c)}}finally{fi(-1),Dc(s)}}function ZC(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function YC(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(mf(n,s.selectors,!1))if(i||(i=[]),Ln(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;zc(t,n,l)}else i.unshift(s),zc(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function zc(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function KC(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new me(-301,!1);i.push(n[o],r)}}}function QC(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ln(n)&&(e[""]=t)}}function XC(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function JC(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=di(o.type,!0)),s=new gi(r,Ln(o),y);t.blueprint[i]=s,e[i]=s,WC(t,n,i,Rg(t,e,o.hostVars,Et),o)}function ew(t,n,e){let i=Ft(n,t),o=Vg(e),r=t[on].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Pa(t,Oa(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function tw(t,n,e,i,o,r){let s=Ft(t,n);nw(n[$e],s,r,t.value,e,i,o)}function nw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?ci(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function iw(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],m=s[a++],h=s[a++];jg(i,e,l,c,m,h)}}function ow(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function Hg(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function $g(t,n){let e=t.contentQueries;if(e!==null){let i=ge(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Nd(r),a.contentQueries(2,n[s],s)}}}finally{ge(i)}}}function Pa(t,n){return t[or]?t[bm][qt]=n:t[or]=n,t[bm]=n,n}function Hc(t,n,e){Nd(0);let i=ge(null);try{n(t,e)}finally{ge(i)}}function Ug(t){return t[$s]??=[]}function Wg(t){return t.cleanup??=[]}function Gg(t,n){let e=t[Ji],i=e?e.get(an,null):null;i&&i.handleError(n)}function Jd(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],m=t.data[s];jg(m,c,i,a,l,o)}}function qg(t,n,e){let i=Tf(n,t);bC(t[$e],i,e)}function rw(t,n){let e=Hn(n,t),i=e[le];sw(i,e);let o=e[bn];o!==null&&e[Xi]===null&&(e[Xi]=zd(o,e[Ji])),eu(i,e,e[ct])}function sw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function eu(t,n,e){Fd(n);try{let i=t.viewQuery;i!==null&&Hc(1,i,e);let o=t.template;o!==null&&Lg(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[hn]?.finishViewCreation(t),t.staticContentQueries&&$g(t,n),t.staticViewQueries&&Hc(2,t.viewQuery,e);let r=t.components;r!==null&&aw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[oe]&=-5,jd()}}function aw(t,n){for(let e=0;e<n.length;e++)rw(t,n[e])}function _r(t,n,e,i){let o=ge(null);try{let r=n.tView,a=t[oe]&4096?4096:16,l=Oa(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[ui]=c;let m=t[hn];return m!==null&&(l[hn]=m.createEmbeddedView(r)),eu(r,l,e),l}finally{ge(o)}}function Zg(t,n){let e=gt+n;if(e<t.length)return t[e]}function to(t,n){return!n||n.firstChild===null||lg(t)}function yr(t,n,e,i=!0){let o=n[le];if(wC(o,n,t,e),i){let s=Bc(e,t),a=n[$e],l=Eg(a,t[pi]);l!==null&&yC(o,t[Mt],a,n,l,s)}let r=n[Xi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Yg(t,n){let e=ar(t,n);return e!==void 0&&Ia(e[le],e),e}function ea(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(rn(r)),vn(r)&&lw(r,i);let s=e.type;if(s&8)ea(t,n,e.child,i);else if(s&32){let a=Wd(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=Og(n,e);if(Array.isArray(a))i.push(...a);else{let l=mi(n[xt]);ea(l[le],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function lw(t,n){for(let e=gt;e<t.length;e++){let i=t[e],o=i[le].firstChild;o!==null&&ea(i[le],i,o,n)}t[pi]!==t[bn]&&n.push(t[pi])}var Kg=[];function cw(t){return t[Nt]??dw(t)}function dw(t){let n=Kg.pop()??Object.create(pw);return n.lView=t,n}function uw(t){t.lView[Nt]!==t&&(t.lView=null,Kg.push(t))}var pw=Be(ae({},zo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{va(t.lView)},consumerOnSignalRead(){this.lView[Nt]=this}});function mw(t){let n=t[Nt]??Object.create(fw);return n.lView=t,n}var fw=Be(ae({},zo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=mi(t.lView);for(;n&&!Qg(n[le]);)n=mi(n);n&&Nf(n)},consumerOnSignalRead(){this.lView[Nt]=this}});function Qg(t){return t.type!==2}var gw=100;function Xg(t,n=!0,e=0){let i=t[on],o=i.rendererFactory,r=!1;r||o.begin?.();try{hw(t,e)}catch(s){throw n&&Gg(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function hw(t,n){let e=Bf();try{_m(!0),$c(t,n);let i=0;for(;ba(t);){if(i===gw)throw new me(103,!1);i++,$c(t,1)}}finally{_m(e)}}function bw(t,n,e,i){let o=n[oe];if((o&256)===256)return;let r=!1,s=!1;!r&&n[on].inlineEffectRunner?.flush(),Fd(n);let a=!0,l=null,c=null;r||(Qg(t)?(c=cw(n),l=Gr(c)):gp()===null?(a=!1,c=mw(n),l=Gr(c)):n[Nt]&&(Bl(n[Nt]),n[Nt]=null));try{Af(n),ny(t.bindingStartIndex),e!==null&&Lg(t,n,e,2,i);let m=(o&3)===3;if(!r)if(m){let C=t.preOrderCheckHooks;C!==null&&As(n,C,null)}else{let C=t.preOrderHooks;C!==null&&Ns(n,C,0,null),rc(n,0)}if(s||vw(n),Jg(n,0),t.contentQueries!==null&&$g(t,n),!r)if(m){let C=t.contentCheckHooks;C!==null&&As(n,C)}else{let C=t.contentHooks;C!==null&&Ns(n,C,1),rc(n,1)}NC(t,n);let h=t.components;h!==null&&th(n,h,0);let M=t.viewQuery;if(M!==null&&Hc(2,M,i),!r)if(m){let C=t.viewCheckHooks;C!==null&&As(n,C)}else{let C=t.viewHooks;C!==null&&Ns(n,C,2),rc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[oc]){for(let C of n[oc])C();n[oc]=null}r||(n[oe]&=-73)}catch(m){throw r||va(n),m}finally{c!==null&&(Ll(c,l),a&&uw(c)),jd()}}function Jg(t,n){for(let e=dg(t);e!==null;e=ug(e))for(let i=gt;i<e.length;i++){let o=e[i];eh(o,n)}}function vw(t){for(let n=dg(t);n!==null;n=ug(n)){if(!(n[oe]&Ws.HasTransplantedViews))continue;let e=n[eo];for(let i=0;i<e.length;i++){let o=e[i];Nf(o)}}}function _w(t,n,e){let i=Hn(n,t);eh(i,e)}function eh(t,n){Od(t)&&$c(t,n)}function $c(t,n){let i=t[le],o=t[oe],r=t[Nt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&Vl(r)),s||=!1,r&&(r.dirty=!1),t[oe]&=-9217,s)bw(i,t,i.template,t[ct]);else if(o&8192){Jg(t,1);let a=i.components;a!==null&&th(t,a,1)}}function th(t,n,e){for(let i=0;i<n.length;i++)_w(t,n[i],e)}function tu(t,n){let e=Bf()?64:1088;for(t[on].changeDetectionScheduler?.notify(n);t;){t[oe]|=e;let i=mi(t);if(Mc(t)&&!i)return t;t=i}return null}var bi=class{get rootNodes(){let n=this._lView,e=n[le];return ea(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return(this._lView[oe]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ht];if(vn(n)){let e=n[Us],i=e?e.indexOf(this):-1;i>-1&&(ar(n,i),Bs(e,i))}this._attachedToViewContainer=!1}Ia(this._lView[le],this._lView)}onDestroy(n){Ff(this._lView,n)}markForCheck(){tu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){kc(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,Xg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Mc(this._lView),e=this._lView[ui];e!==null&&!n&&Gd(e,this._lView),Mg(this._lView[le],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=n;let e=Mc(this._lView),i=this._lView[ui];i!==null&&!e&&kg(i,this._lView),kc(this._lView)}},we=(()=>{class t{static{this.__NG_ELEMENT_ID__=ww}}return t})(),yw=we,Cw=class extends yw{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=_r(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new bi(o)}};function ww(){return Aa(ut(),ne())}function Aa(t,n){return t.type&4?new Cw(n,t,co(t,n)):null}var vj=new RegExp(`^(\\d+)*(${$y}|${Hy})*(.*)`);var xw=()=>null;function no(t,n){return xw(t,n)}var io=class{},nu=new G("",{providedIn:"root",factory:()=>!1});var nh=new G(""),ih=new G(""),Uc=class{},ta=class{};function Mw(t){let n=Error(`No component factory found for ${Dt(t)}.`);return n[kw]=t,n}var kw="ngComponent";var Wc=class{resolveComponentFactory(n){throw Mw(n)}},zn=class{static{this.NULL=new Wc}},oo=class{},Cn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Dw()}}return t})();function Dw(){let t=ne(),n=ut(),e=Hn(n.index,t);return(Fn(e)?e:t)[$e]}var Iw=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>null})}}return t})();function na(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=hc(o,a);else if(r==2){let l=a,c=n[++s];i=hc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Gc=class extends zn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ki(n);return new ia(e,this.ngModule)}};function Rm(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:jn.None;n?e.push({propName:s,templateName:i,isSignal:(a&jn.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function Ew(t){let n=t.toLowerCase();return n==="svg"?Of:n==="math"?$0:null}var ia=class extends ta{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=Rm(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return Rm(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=x0(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=ge(null);try{o=o||this.ngModule;let s=o instanceof Rn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ic(n,s):n,l=a.get(oo,null);if(l===null)throw new me(407,!1);let c=a.get(Iw,null),m=a.get(io,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:m},M=l.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",O=i?RC(M,i,this.componentDef.encapsulation,a):xg(M,C,Ew(C)),j=512;this.componentDef.signals?j|=4096:this.componentDef.onPush||(j|=16);let q=null;O!==null&&(q=zd(O,a,!0));let V=Qd(0,null,null,1,0,null,null,null,null,null,null),Y=Oa(null,V,null,j,null,null,h,M,a,null,q);Fd(Y);let Ye,Xe,at=null;try{let ce=this.componentDef,Ke,lt=null;ce.findHostDirectiveDefs?(Ke=[],lt=new Map,ce.findHostDirectiveDefs(ce,Ke,lt),Ke.push(ce)):Ke=[ce];let Ni=Sw(Y,O);at=Ow(Ni,O,ce,Ke,Y,h,M),Xe=Sd(V,dt),O&&Aw(M,ce,O,i),e!==void 0&&Nw(Xe,this.ngContentSelectors,e),Ye=Pw(at,ce,Ke,lt,Y,[Fw]),eu(V,Y,null)}catch(ce){throw at!==null&&Fc(at),Fc(Y),ce}finally{jd()}return new qc(this.componentType,Ye,co(Xe,Y),Y,Xe)}finally{ge(r)}}},qc=class extends Uc{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new bi(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Jd(r[le],r,o,n,e),this.previousInputValues.set(n,e);let s=Hn(this._tNode.index,r);tu(s,1)}}get injector(){return new li(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Sw(t,n){let e=t[le],i=dt;return t[i]=n,po(e,i,2,"#host",null)}function Ow(t,n,e,i,o,r,s){let a=o[le];Tw(i,t,n,s);let l=null;n!==null&&(l=zd(n,o[Ji]));let c=r.rendererFactory.createRenderer(n,e),m=16;e.signals?m=4096:e.onPush&&(m=64);let h=Oa(o,Vg(e),null,m,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&zc(a,t,i.length-1),Pa(o,h),o[t.index]=h}function Tw(t,n,e,i){for(let o of t)n.mergedAttrs=ir(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(na(n,n.mergedAttrs,!0),e!==null&&Ag(i,e,n))}function Pw(t,n,e,i,o,r){let s=ut(),a=o[le],l=Ft(s,o);Bg(a,o,s,e,null,i);for(let m=0;m<e.length;m++){let h=s.directiveStart+m,M=hi(o,a,h,s);Bn(M,o)}zg(a,o,s),l&&Bn(l,o);let c=hi(o,a,s.directiveStart+s.componentOffset,s);if(t[ct]=o[ct]=c,r!==null)for(let m of r)m(c,n);return Zd(a,s,o),c}function Aw(t,n,e,i){if(i)yc(t,e,["ng-version","18.2.9"]);else{let{attrs:o,classes:r}=M0(n.selectors[0]);o&&yc(t,e,o),r&&r.length>0&&Pg(t,e,r.join(" "))}}function Nw(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function Fw(){let t=ut();Ca(ne()[le],t)}var cn=(()=>{class t{static{this.__NG_ELEMENT_ID__=jw}}return t})();function jw(){let t=ut();return rh(t,ne())}var Rw=cn,oh=class extends Rw{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return co(this._hostTNode,this._hostLView)}get injector(){return new li(this._hostTNode,this._hostLView)}get parentInjector(){let n=Rd(this._hostTNode,this._hostLView);if(Kf(n)){let e=qs(n,this._hostLView),i=Gs(n),o=e[le].data[i+8];return new li(o,e)}else return new li(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Lm(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=no(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!V0(n),a;if(s)a=e;else{let O=e||{};a=O.index,i=O.injector,o=O.projectableNodes,r=O.environmentInjector||O.ngModuleRef}let l=s?n:new ia(Ki(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let j=(s?c:this.parentInjector).get(Rn,null);j&&(r=j)}let m=Ki(l.componentType??{}),h=no(this._lContainer,m?.id??null),M=h?.firstChild??null,C=l.create(c,o,M,r);return this.insertImpl(C.hostView,a,to(this._hostTNode,h)),C}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(W0(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[ht],c=new oh(l,l[Mt],l[ht]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return yr(s,o,r,i),n.attachToViewContainerRef(),af(dc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Lm(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=ar(this._lContainer,e);i&&(Bs(dc(this._lContainer),e),Ia(i[le],i))}detach(n){let e=this._adjustIndex(n,-1),i=ar(this._lContainer,e);return i&&Bs(dc(this._lContainer),e)!=null?new bi(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Lm(t){return t[Us]}function dc(t){return t[Us]||(t[Us]=[])}function rh(t,n){let e,i=n[t.index];return vn(i)?e=i:(e=Hg(i,n,null,t),n[t.index]=e,Pa(n,e)),Vw(e,n,t,i),new oh(e,t,n)}function Lw(t,n){let e=t[$e],i=e.createComment(""),o=Ft(n,t),r=Eg(e,o);return Js(e,r,i,DC(e,o),!1),i}var Vw=Hw,Bw=()=>!1;function zw(t,n,e){return Bw(t,n,e)}function Hw(t,n,e,i){if(t[pi])return;let o;e.type&8?o=rn(i):o=Lw(n,e),t[pi]=o}var Zc=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Yc=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)iu(n,e).matches!==null&&this.queries[e].setDirty()}},oa=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=Kw(n):this.predicate=n}},Kc=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Qc=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,$w(e,r)),this.matchTNodeWithReadOption(n,e,Fs(e,n,r,!1,!1))}else i===we?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Fs(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===U||o===cn||o===we&&e.type&4)this.addMatch(e.index,-2);else{let r=Fs(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function $w(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Uw(t,n){return t.type&11?co(t,n):t.type&4?Aa(t,n):null}function Ww(t,n,e,i){return e===-1?Uw(n,t):e===-2?Gw(t,n,i):hi(t,t[le],e,n)}function Gw(t,n,e){if(e===U)return co(n,t);if(e===we)return Aa(n,t);if(e===cn)return rh(n,t)}function sh(t,n,e,i){let o=n[hn].queries[i];if(o.matches===null){let r=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let m=r[c];a.push(Ww(n,m,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function Xc(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=sh(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],m=n[-l];for(let h=gt;h<m.length;h++){let M=m[h];M[ui]===M[ht]&&Xc(M[le],M,c,i)}if(m[eo]!==null){let h=m[eo];for(let M=0;M<h.length;M++){let C=h[M];Xc(C[le],C,c,i)}}}}}return i}function qw(t,n){return t[hn].queries[n].queryList}function ah(t,n,e){let i=new sr((e&4)===4);return BC(t,n,i,i.destroy),(n[hn]??=new Yc).queries.push(new Zc(i))-1}function Zw(t,n,e){let i=Ue();return i.firstCreatePass&&(lh(i,new oa(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),ah(i,ne(),n)}function Yw(t,n,e,i){let o=Ue();if(o.firstCreatePass){let r=ut();lh(o,new oa(n,e,i),r.index),Qw(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return ah(o,ne(),e)}function Kw(t){return t.split(",").map(n=>n.trim())}function lh(t,n,e){t.queries===null&&(t.queries=new Kc),t.queries.track(new Qc(n,e))}function Qw(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function iu(t,n){return t.queries.getByIndex(n)}function Xw(t,n){let e=t[le],i=iu(e,n);return i.crossesNgTemplate?Xc(e,t,n,[]):sh(e,t,i,n)}var Vm=new Set;function mo(t){Vm.has(t)||(Vm.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function ch(t){return typeof t=="function"&&t[mn]!==void 0}function Cr(t,n){mo("NgSignals");let e=Dp(t),i=e[mn];return n?.equal&&(i.equal=n.equal),e.set=o=>zl(i,o),e.update=o=>Ip(i,o),e.asReadonly=Jw.bind(e),e}function Jw(){let t=this[mn];if(t.readonlyFn===void 0){let n=()=>this();n[mn]=t,t.readonlyFn=n}return t.readonlyFn}function dh(t){return ch(t)&&typeof t.set=="function"}function ex(t){return Object.getPrototypeOf(t.prototype).constructor}function $(t){let n=ex(t.type),e=!0,i=[t];for(;n;){let o;if(Ln(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new me(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Ss(t.inputs),s.inputTransforms=Ss(t.inputTransforms),s.declaredInputs=Ss(t.declaredInputs),s.outputs=Ss(t.outputs);let a=o.hostBindings;a&&rx(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&ix(t,l),c&&ox(t,c),tx(t,o),$_(t.outputs,o.outputs),Ln(o)&&o.data.animation){let m=t.data;m.animation=(m.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===$&&(e=!1)}}n=Object.getPrototypeOf(n)}nx(i)}function tx(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function nx(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=ir(o.hostAttrs,e=ir(e,o.hostAttrs))}}function Ss(t){return t===Yi?{}:t===wt?[]:t}function ix(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function ox(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function rx(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function ue(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var ro=class{};var ra=class extends ro{constructor(n){super(),this.componentFactoryResolver=new Gc(this),this.instance=null;let e=new Hs([...n.providers,{provide:ro,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],n.parent||Id(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function sx(t,n,e=null){return new ra({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function uh(t){return ou(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function ax(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function ou(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Na(t,n,e){return t[n]=e}function It(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function lr(t,n,e,i){let o=It(t,n,e);return It(t,n+1,i)||o}function lx(t,n,e,i,o){let r=lr(t,n,e,i);return It(t,n+2,o)||r}function cx(t,n,e,i,o,r){let s=lr(t,n,e,i);return lr(t,n+2,o,r)||s}function dx(t){return(t.flags&32)===32}function ux(t,n,e,i,o,r,s,a,l){let c=n.consts,m=po(n,t,4,s||null,a||null);Xd(n,e,m,Vn(c,l)),Ca(n,m);let h=m.tView=Qd(2,m,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,m),h.queries=n.queries.embeddedTView(m)),m}function sa(t,n,e,i,o,r,s,a,l,c){let m=e+dt,h=n.firstCreatePass?ux(m,n,t,i,o,r,s,a,l):n.data[m];yi(h,!1);let M=px(n,t,h,e);_a()&&Ea(n,t,M,h),Bn(M,t);let C=Hg(M,t,M,h);return t[m]=C,Pa(t,C),zw(C,h,t),ha(h)&&Yd(n,t,h),l!=null&&Kd(t,h,c),h}function w(t,n,e,i,o,r,s,a){let l=ne(),c=Ue(),m=Vn(c.consts,r);return sa(l,c,t,n,e,i,o,m,s,a),w}var px=mx;function mx(t,n,e,i){return ya(!0),n[$e].createComment("")}var Xo=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Xo||{}),fx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Bm=class t{constructor(){this.ngZone=K(ke),this.scheduler=K(io),this.errorHandler=K(an,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Xo.EarlyRead,Xo.Write,Xo.MixedReadWrite,Xo.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=H({token:t,providedIn:"root",factory:()=>new t})}};function Q(t,n,e,i){let o=ne(),r=Ci();if(It(o,r,n)){let s=Ue(),a=fr();tw(a,o,t,n,e,i)}return Q}function ph(t,n,e,i){return It(t,Ci(),e)?n+ci(e)+i:Et}function gx(t,n,e,i,o,r){let s=ty(),a=lr(t,s,e,o);return Ad(2),a?n+ci(e)+i+ci(o)+r:Et}function Os(t,n){return t<<17|n<<2}function vi(t){return t>>17&32767}function hx(t){return(t&2)==2}function bx(t,n){return t&131071|n<<17}function Jc(t){return t|2}function so(t){return(t&131068)>>2}function uc(t,n){return t&-131069|n<<2}function vx(t){return(t&1)===1}function ed(t){return t|1}function _x(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=vi(s),l=so(s);t[i]=e;let c=!1,m;if(Array.isArray(e)){let h=e;m=h[1],(m===null||ur(h,m)>0)&&(c=!0)}else m=e;if(o)if(l!==0){let M=vi(t[a+1]);t[i+1]=Os(M,a),M!==0&&(t[M+1]=uc(t[M+1],i)),t[a+1]=bx(t[a+1],i)}else t[i+1]=Os(a,0),a!==0&&(t[a+1]=uc(t[a+1],i)),a=i;else t[i+1]=Os(l,0),a===0?a=i:t[l+1]=uc(t[l+1],i),l=i;c&&(t[i+1]=Jc(t[i+1])),zm(t,m,i,!0),zm(t,m,i,!1),yx(n,m,t,i,r),s=Os(a,l),r?n.classBindings=s:n.styleBindings=s}function yx(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&ur(r,n)>=0&&(e[i+1]=ed(e[i+1]))}function zm(t,n,e,i){let o=t[e+1],r=n===null,s=i?vi(o):so(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];Cx(l,n)&&(a=!0,t[s+1]=i?ed(c):Jc(c)),s=i?vi(c):so(c)}a&&(t[e+1]=i?Jc(o):ed(o))}function Cx(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ur(t,n)>=0:!1}var Gt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wx(t){return t.substring(Gt.key,Gt.keyEnd)}function xx(t){return Mx(t),mh(t,fh(t,0,Gt.textEnd))}function mh(t,n){let e=Gt.textEnd;return e===n?-1:(n=Gt.keyEnd=kx(t,Gt.key=n,e),fh(t,n,e))}function Mx(t){Gt.key=0,Gt.keyEnd=0,Gt.value=0,Gt.valueEnd=0,Gt.textEnd=t.length}function fh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function kx(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function g(t,n,e){let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!1)}return g}function td(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Jd(t,e,r[s],s,i)}function Ge(t,n,e){return gh(t,n,e,!1),Ge}function W(t,n){return gh(t,n,null,!0),W}function wr(t){Ix(Ax,Dx,t,!0)}function Dx(t,n){for(let e=xx(n);e>=0;e=mh(n,e))xd(t,wx(n),!0)}function gh(t,n,e,i){let o=ne(),r=Ue(),s=Ad(2);if(r.firstUpdatePass&&bh(r,t,s,i),n!==Et&&It(o,s,n)){let a=r.data[_n()];vh(r,a,o,o[$e],t,o[s+1]=Fx(n,e),i,s)}}function Ix(t,n,e,i){let o=Ue(),r=Ad(2);o.firstUpdatePass&&bh(o,null,r,i);let s=ne();if(e!==Et&&It(s,r,e)){let a=o.data[_n()];if(_h(a,i)&&!hh(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=hc(l,e||"")),td(o,a,s,e,i)}else Nx(o,a,s,s[$e],s[r+1],s[r+1]=Px(t,n,e),i,r)}}function hh(t,n){return n>=t.expandoStartIndex}function bh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[_n()],s=hh(t,e);_h(r,i)&&n===null&&!s&&(n=!1),n=Ex(o,r,n,i),_x(o,r,n,e,s,i)}}function Ex(t,n,e,i){let o=sy(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=pc(null,t,n,e,i),e=cr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=pc(o,t,n,e,i),r===null){let l=Sx(t,n,i);l!==void 0&&Array.isArray(l)&&(l=pc(null,t,n,l[1],i),l=cr(l,n.attrs,i),Ox(t,n,i,l))}else r=Tx(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function Sx(t,n,e){let i=e?n.classBindings:n.styleBindings;if(so(i)!==0)return t[vi(i)]}function Ox(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[vi(o)]=i}function Tx(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=cr(i,s,e)}return cr(i,n.attrs,e)}function pc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=cr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function cr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),xd(t,s,e?!0:n[++r]))}return t===void 0?null:t}function Px(t,n,e){if(e==null||e==="")return wt;let i=[],o=uo(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function Ax(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&xd(t,i,e)}function Nx(t,n,e,i,o,r,s,a){o===Et&&(o=wt);let l=0,c=0,m=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;m!==null||h!==null;){let M=l<o.length?o[l+1]:void 0,C=c<r.length?r[c+1]:void 0,O=null,j;m===h?(l+=2,c+=2,M!==C&&(O=h,j=C)):h===null||m!==null&&m<h?(l+=2,O=m):(c+=2,O=h,j=C),O!==null&&vh(t,n,e,i,O,j,s,a),m=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function vh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],m=vx(c)?Hm(l,n,e,o,so(c),s):void 0;if(!aa(m)){aa(r)||hx(c)&&(r=Hm(l,null,e,o,a,s));let h=Tf(_n(),e);PC(i,s,h,o,r)}}function Hm(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),m=c?l[1]:l,h=m===null,M=e[o+1];M===Et&&(M=h?wt:void 0);let C=h?nc(M,i):m===i?M:void 0;if(c&&!aa(C)&&(C=nc(l,i)),aa(C)&&(a=C,s))return a;let O=t[o+1];o=s?vi(O):so(O)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=nc(l,i))}return a}function aa(t){return t!==void 0}function Fx(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Dt(uo(t)))),t}function _h(t,n){return(t.flags&(n?8:16))!==0}function ru(){return ne()[xt][ct]}var nd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function mc(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function jx(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),m=n[r],h=mc(r,c,r,m,e);if(h!==0){h<0&&t.updateValue(r,m),r++;continue}let M=t.at(s),C=n[l],O=mc(s,M,l,C,e);if(O!==0){O<0&&t.updateValue(s,C),s--,l--;continue}let j=e(r,c),q=e(s,M),V=e(r,m);if(Object.is(V,q)){let Y=e(l,C);Object.is(Y,j)?(t.swap(r,s),t.updateValue(s,C),l--,s--):t.move(s,r),t.updateValue(r,m),r++;continue}if(i??=new la,o??=Um(t,r,s,e),id(t,i,r,V))t.updateValue(r,m),r++,s++;else if(o.has(V))i.set(j,t.detach(r)),s--;else{let Y=t.create(r,n[r]);t.attach(r,Y),r++,s++}}for(;r<=l;)$m(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let m=t.at(r),h=c.value,M=mc(r,m,r,h,e);if(M!==0)M<0&&t.updateValue(r,h),r++,c=l.next();else{i??=new la,o??=Um(t,r,s,e);let C=e(r,h);if(id(t,i,r,C))t.updateValue(r,h),r++,s++,c=l.next();else if(!o.has(C))t.attach(r,t.create(r,h)),r++,s++,c=l.next();else{let O=e(r,m);i.set(O,t.detach(r)),s--}}}for(;!c.done;)$m(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function id(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function $m(t,n,e,i,o){if(id(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Um(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var la=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function A(t,n){mo("NgControlFlow");let e=ne(),i=Ci(),o=e[i]!==Et?e[i]:-1,r=o!==-1?ca(e,dt+o):void 0,s=0;if(It(e,i,t)){let a=ge(null);try{if(r!==void 0&&Yg(r,s),t!==-1){let l=dt+t,c=ca(e,l),m=ad(e[le],l),h=no(c,m.tView.ssrId),M=_r(e,m,n,{dehydratedView:h});yr(c,M,s,to(m,h))}}finally{ge(a)}}else if(r!==void 0){let a=Zg(r,s);a!==void 0&&(a[ct]=n)}}var od=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-gt}};function xr(t,n){return n}var rd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Zt(t,n,e,i,o,r,s,a,l,c,m,h,M){mo("NgControlFlow");let C=ne(),O=Ue(),j=l!==void 0,q=ne(),V=a?s.bind(q[xt][ct]):s,Y=new rd(j,V);q[dt+t]=Y,sa(C,O,t+1,n,e,i,o,Vn(O.consts,r)),j&&sa(C,O,t+2,l,c,m,h,Vn(O.consts,M))}var sd=class extends nd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-gt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[Xi];this.needsIndexUpdate||=n!==this.length,yr(this.lContainer,e,n,to(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Rx(this.lContainer,n)}create(n,e){let i=no(this.lContainer,this.templateTNode.tView.ssrId),o=_r(this.hostLView,this.templateTNode,new od(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){Ia(n[le],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return Lx(this.lContainer,n)}};function Yt(t){let n=ge(null),e=_n();try{let i=ne(),o=i[le],r=i[e],s=e+1,a=ca(i,s);if(r.liveCollection===void 0){let c=ad(o,s);r.liveCollection=new sd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(jx(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Ci(),m=l.length===0;if(It(i,c,m)){let h=e+2,M=ca(i,h);if(m){let C=ad(o,h),O=no(M,C.tView.ssrId),j=_r(i,C,void 0,{dehydratedView:O});yr(M,j,0,to(C,O))}else Yg(M,0)}}}finally{ge(n)}}function ca(t,n){return t[n]}function Rx(t,n){return ar(t,n)}function Lx(t,n){return Zg(t,n)}function ad(t,n){return Sd(t,n)}function Vx(t,n,e,i,o,r){let s=n.consts,a=Vn(s,o),l=po(n,t,2,i,a);return Xd(n,e,l,Vn(s,r)),l.attrs!==null&&na(l,l.attrs,!1),l.mergedAttrs!==null&&na(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=ne(),r=Ue(),s=dt+t,a=o[$e],l=r.firstCreatePass?Vx(s,r,o,n,e,i):r.data[s],c=Bx(r,o,l,a,n,t);o[s]=c;let m=ha(l);return yi(l,!0),Ag(a,c,l),!dx(l)&&_a()&&Ea(r,o,c,l),Z0()===0&&Bn(c,o),Y0(),m&&(Yd(r,o,l),Zd(r,l,o)),i!==null&&Kd(o,l),p}function f(){let t=ut();Td()?Pd():(t=t.parent,yi(t,!1));let n=t;Q0(n)&&X0(),K0();let e=Ue();return e.firstCreatePass&&(Ca(e,t),Ed(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&my(n)&&td(e,n,ne(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&fy(n)&&td(e,n,ne(),n.stylesWithoutHost,!1),f}function I(t,n,e,i){return p(t,n,e,i),f(),I}var Bx=(t,n,e,i,o,r)=>(ya(!0),xg(i,o,cy()));function zx(t,n,e,i,o){let r=n.consts,s=Vn(r,i),a=po(n,t,8,"ng-container",s);s!==null&&na(a,s,!0);let l=Vn(r,o);return Xd(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function nt(t,n,e){let i=ne(),o=Ue(),r=t+dt,s=o.firstCreatePass?zx(r,o,i,n,e):o.data[r];yi(s,!0);let a=Hx(o,i,s,t);return i[r]=a,_a()&&Ea(o,i,a,s),Bn(a,i),ha(s)&&(Yd(o,i,s),Zd(o,s,i)),e!=null&&Kd(i,s),nt}function it(){let t=ut(),n=Ue();return Td()?Pd():(t=t.parent,yi(t,!1)),n.firstCreatePass&&(Ca(n,t),Ed(t)&&n.queries.elementEnd(t)),it}function st(t,n,e){return nt(t,n,e),it(),st}var Hx=(t,n,e,i)=>(ya(!0),vC(n[$e],""));function P(){return ne()}function Mr(t,n,e){let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!0)}return Mr}var da="en-US";var $x=da;function Ux(t){typeof t=="string"&&($x=t.toLowerCase().replace(/_/g,"-"))}var Wx=(t,n,e)=>{};function _(t,n,e,i){let o=ne(),r=Ue(),s=ut();return yh(r,o,o[$e],s,t,n,i),_}function Gx(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[$s],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function yh(t,n,e,i,o,r,s){let a=ha(i),c=t.firstCreatePass&&Wg(t),m=n[ct],h=Ug(n),M=!0;if(i.type&3||s){let j=Ft(i,n),q=s?s(j):j,V=h.length,Y=s?Xe=>s(rn(Xe[i.index])):i.index,Ye=null;if(!s&&a&&(Ye=Gx(t,n,o,i.index)),Ye!==null){let Xe=Ye.__ngLastListenerFn__||Ye;Xe.__ngNextListenerFn__=r,Ye.__ngLastListenerFn__=r,M=!1}else{r=Gm(i,n,m,r),Wx(j,o,r);let Xe=e.listen(q,o,r);h.push(r,Xe),c&&c.push(o,Y,V,V+1)}}else r=Gm(i,n,m,r);let C=i.outputs,O;if(M&&C!==null&&(O=C[o])){let j=O.length;if(j)for(let q=0;q<j;q+=2){let V=O[q],Y=O[q+1],at=n[V][Y].subscribe(r),ce=h.length;h.push(r,at),c&&c.push(o,i.index,ce,-(ce+1))}}}function Wm(t,n,e,i){let o=ge(null);try{return en(6,n,e),e(i)!==!1}catch(r){return Gg(t,r),!1}finally{en(7,n,e),ge(o)}}function Gm(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Hn(t.index,n):n;tu(s,5);let a=Wm(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=Wm(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function u(t=1){return ly(t)}function qx(t,n){let e=null,i=v0(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?mf(t,r,!0):C0(i,r))return o}return e}function Ve(t){let n=ne()[xt][Mt];if(!n.projection){let e=t?t.length:1,i=n.projection=c0(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?qx(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=ne(),a=Ue(),l=i?t+1:null;l!==null&&sa(s,a,l,i,o,r,null,e);let c=po(a,dt+t,16,null,e||null);c.projection===null&&(c.projection=n),Pd();let h=!s[Xi]||Lf();s[xt][Mt].projection[c.projection]===null&&l!==null?Zx(s,a,l):h&&(c.flags&32)!==32&&OC(a,s,c)}function Zx(t,n,e){let i=dt+e,o=n.data[i],r=t[i],s=no(r,o.tView.ssrId),a=_r(t,o,void 0,{dehydratedView:s});yr(r,a,0,to(o,s))}function fe(t,n,e){return Ch(t,"",n,"",e),fe}function Ch(t,n,e,i,o){let r=ne(),s=ph(r,n,e,i);if(s!==Et){let a=Ue(),l=fr();Ta(a,l,r,t,s,r[$e],o,!1)}return Ch}function bt(t,n,e,i){Yw(t,n,e,i)}function pt(t,n,e){Zw(t,n,e)}function Se(t){let n=ne(),e=Ue(),i=zf();Nd(i+1);let o=iu(e,i);if(t.dirty&&U0(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Xw(n,i);t.reset(r,jy),t.notifyOnChanges()}return!0}return!1}function Oe(){return qw(ne(),zf())}function Yx(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Qe(t){let n=ey();return Pf(n,dt+t)}function D(t,n=""){let e=ne(),i=Ue(),o=t+dt,r=i.firstCreatePass?po(i,o,1,n,null):i.data[o],s=Kx(i,e,r,n,t);e[o]=s,_a()&&Ea(i,e,s,r),yi(r,!1)}var Kx=(t,n,e,i,o)=>(ya(!0),hC(n[$e],i));function ie(t){return B("",t,""),ie}function B(t,n,e){let i=ne(),o=ph(i,t,n,e);return o!==Et&&qg(i,_n(),o),B}function Kt(t,n,e,i,o){let r=ne(),s=gx(r,t,n,e,i,o);return s!==Et&&qg(r,_n(),s),Kt}function wn(t,n,e){dh(n)&&(n=n());let i=ne(),o=Ci();if(It(i,o,n)){let r=Ue(),s=fr();Ta(r,s,i,t,n,i[$e],e,!1)}return wn}function Wn(t,n){let e=dh(t);return e&&t.set(n),e}function xn(t,n){let e=ne(),i=Ue(),o=ut();return yh(i,e,e[$e],o,t,n),xn}function Qx(t,n,e){let i=Ue();if(i.firstCreatePass){let o=Ln(t);ld(e,i.data,i.blueprint,o,!0),ld(n,i.data,i.blueprint,o,!1)}}function ld(t,n,e,i,o){if(t=_t(t),Array.isArray(t))for(let r=0;r<t.length;r++)ld(t[r],n,e,i,o);else{let r=Ue(),s=ne(),a=ut(),l=Qi(t)?t:_t(t.provide),c=Cf(t),m=a.providerIndexes&1048575,h=a.directiveStart,M=a.providerIndexes>>20;if(Qi(t)||!t.multi){let C=new gi(c,o,y),O=gc(l,n,o?m:m+M,h);O===-1?(Sc(Ys(a,s),r,l),fc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)):(e[O]=C,s[O]=C)}else{let C=gc(l,n,m+M,h),O=gc(l,n,m,m+M),j=C>=0&&e[C],q=O>=0&&e[O];if(o&&!q||!o&&!j){Sc(Ys(a,s),r,l);let V=e1(o?Jx:Xx,e.length,o,i,c);!o&&q&&(e[O].providerFactory=V),fc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(V),s.push(V)}else{let V=wh(e[o?O:C],c,!o&&i);fc(r,t,C>-1?C:O,V)}!o&&i&&q&&e[O].componentProviders++}}}function fc(t,n,e,i){let o=Qi(n),r=P0(n);if(o||r){let l=(r?_t(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let m=c.indexOf(e);m===-1?c.push(e,[i,l]):c[m+1].push(i,l)}else c.push(e,l)}}}function wh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function gc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function Xx(t,n,e,i){return cd(this.multi,[])}function Jx(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=hi(e,e[le],this.providerFactory.index,i);r=a.slice(0,s),cd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],cd(o,r);return r}function cd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function e1(t,n,e,i,o){let r=new gi(t,e,y);return r.multi=[],r.index=n,r.componentProviders=0,wh(r,o,i&&!e),r}function re(t,n=[]){return e=>{e.providersResolver=(i,o)=>Qx(i,o?o(t):t,n)}}var t1=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=vf(!1,e.type),o=i.length>0?sx([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=H({token:t,providedIn:"environment",factory:()=>new t(z(Rn))})}}return t})();function S(t){mo("NgStandalone"),t.getStandaloneInjector=n=>n.get(t1).getOrCreateStandaloneInjector(t)}function De(t,n,e,i){return xh(ne(),mr(),t,n,e,i)}function mt(t,n,e,i,o){return n1(ne(),mr(),t,n,e,i,o)}function yt(t,n,e,i,o,r){return i1(ne(),mr(),t,n,e,i,o,r)}function Fa(t,n,e,i,o,r,s){return o1(ne(),mr(),t,n,e,i,o,r,s)}function ja(t,n){let e=t[n];return e===Et?void 0:e}function xh(t,n,e,i,o,r){let s=n+e;return It(t,s,o)?Na(t,s+1,r?i.call(r,o):i(o)):ja(t,s+1)}function n1(t,n,e,i,o,r,s){let a=n+e;return lr(t,a,o,r)?Na(t,a+2,s?i.call(s,o,r):i(o,r)):ja(t,a+2)}function i1(t,n,e,i,o,r,s,a){let l=n+e;return lx(t,l,o,r,s)?Na(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):ja(t,l+3)}function o1(t,n,e,i,o,r,s,a,l){let c=n+e;return cx(t,c,o,r,s,a)?Na(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):ja(t,c+4)}function N(t,n){let e=Ue(),i,o=t+dt;e.firstCreatePass?(i=r1(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=di(i.type,!0)),s,a=At(y);try{let l=Zs(!1),c=r();return Zs(l),Yx(e,ne(),o,c),c}finally{At(a)}}function r1(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function F(t,n,e){let i=t+dt,o=ne(),r=Pf(o,i);return s1(o,i)?xh(o,mr(),n,r.transform,e,r):r.transform(e)}function s1(t,n){return t[le].data[n].pure}function vt(t,n){return Aa(t,n)}var Mh=new G("");function kr(t){return!!t&&typeof t.then=="function"}function kh(t){return!!t&&typeof t.subscribe=="function"}var a1=new G(""),Dh=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=K(a1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(kr(r))e.push(r);else if(kh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),l1=new G("");function c1(){kp(()=>{throw new me(600,!1)})}function d1(t){return t.isBoundToModule}var u1=10;function p1(t,n,e){try{let i=e();return kr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var wi=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=K(Ny),this.afterRenderManager=K(fx),this.zonelessEnabled=K(nu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=K(xa).hasPendingTasks.pipe(ve(e=>!e)),this._injector=K(Rn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof ta;if(!this._injector.get(Dh).done){let M=!o&&I0(e),C=!1;throw new me(405,C)}let s;o?s=e:s=this._injector.get(zn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=d1(s)?void 0:this._injector.get(ro),l=i||s.selector,c=s.create(sn.NULL,[],l,a),m=c.location.nativeElement,h=c.injector.get(Mh,null);return h?.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),js(this.components,c),h?.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new me(101,!1);let e=ge(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ge(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(oo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<u1;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)m1(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ba(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;js(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(l1,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>js(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new me(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function js(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function m1(t,n,e,i){if(!e&&!ba(t))return;Xg(t,n,e&&!i?0:1)}var f1=(()=>{class t{constructor(){this.zone=K(ke),this.changeDetectionScheduler=K(io),this.applicationRef=K(wi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function g1({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new ke(Be(ae({},h1()),{scheduleInRootZone:e})),[{provide:ke,useFactory:t},{provide:nr,multi:!0,useFactory:()=>{let i=K(f1,{optional:!0});return()=>i.initialize()}},{provide:nr,multi:!0,useFactory:()=>{let i=K(b1);return()=>{i.initialize()}}},n===!0?{provide:nh,useValue:!0}:[],{provide:ih,useValue:e??rg}]}function h1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var b1=(()=>{class t{constructor(){this.subscription=new ze,this.initialized=!1,this.zone=K(ke),this.pendingTasks=K(xa)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ke.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ke.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v1=(()=>{class t{constructor(){this.appRef=K(wi),this.taskService=K(xa),this.ngZone=K(ke),this.zonelessEnabled=K(nu),this.disableScheduling=K(nh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ze,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qs):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(K(ih,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nc||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;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 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Mm:sg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function _1(){return typeof $localize<"u"&&$localize.locale||da}var Ra=new G("",{providedIn:"root",factory:()=>K(Ra,_e.Optional|_e.SkipSelf)||_1()});var dd=new G("");function Ts(t){return!t.moduleRef}function y1(t){let n=Ts(t)?t.r3Injector:t.moduleRef.injector,e=n.get(ke);return e.run(()=>{Ts(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(an,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),Ts(t)){let r=()=>n.destroy(),s=t.platformInjector.get(dd);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(dd);s.add(r),t.moduleRef.onDestroy(()=>{js(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return p1(i,e,()=>{let r=n.get(Dh);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Ra,da);if(Ux(s||da),Ts(t)){let a=n.get(wi);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return C1(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function C1(t,n){let e=t.injector.get(wi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new me(-403,!1);n.push(t)}var Rs=null;function w1(t=[],n){return sn.create({name:n,providers:[{provide:ma,useValue:"platform"},{provide:dd,useValue:new Set([()=>Rs=null])},...t]})}function x1(t=[]){if(Rs)return Rs;let n=w1(t);return Rs=n,c1(),M1(n),n}function M1(t){t.get(Bd,null)?.forEach(e=>e())}var qe=(()=>{class t{static{this.__NG_ELEMENT_ID__=k1}}return t})();function k1(t){return D1(ut(),ne(),(t&16)===16)}function D1(t,n,e){if(ga(t)&&!e){let i=Hn(t.index,n);return new bi(i,i)}else if(t.type&175){let i=n[xt];return new bi(i,n)}return null}var ud=class{constructor(){}supports(n){return uh(n)}create(n){return new pd(n)}},I1=(t,n)=>n,pd=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||I1}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<qm(i,o,r)?e:i,a=qm(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,m=l-o;if(c!=m){for(let M=0;M<c;M++){let C=M<r.length?r[M]:r[M]=0,O=C+M;m<=O&&O<c&&(r[M]=C+1)}let h=s.previousIndex;r[h]=m-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!uh(n))throw new me(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,ax(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new md(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new ua),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ua),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},md=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},ua=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new fd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function qm(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var gd=class{constructor(){}supports(n){return n instanceof Map||ou(n)}create(){return new hd}},hd=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||ou(n)))throw new me(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new bd(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},bd=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Zm(){return new fo([new ud])}var fo=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:Zm})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Zm()),deps:[[t,new sf,new Cd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new me(901,!1)}}return t})();function Ym(){return new su([new gd])}var su=(()=>{class t{static{this.\u0275prov=H({token:t,providedIn:"root",factory:Ym})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ym()),deps:[[t,new sf,new Cd]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new me(901,!1)}}return t})();function Ih(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=x1(i),r=[g1({}),{provide:io,useExisting:v1},...e||[]],s=new ra({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return y1({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function k(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function St(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Dr(t,n){mo("NgSignals");let e=wp(t);return n?.equal&&(e[mn].equal=n.equal),e}function Mn(t){let n=ge(null);try{return t()}finally{ge(n)}}var La={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return La.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return La.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function E1(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function S1(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function O1(t){return typeof t=="function"}var au;function T1(t,n){if(!au){let e=Element.prototype;au=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?au.call(t,n):!1}function P1(t,n){return t===n||t!==t&&n!==n}function A1(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[E1(i)]=[e,o]}),n}function N1(t,n){return n.get(zn).resolveComponentFactory(t).inputs}function F1(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=j1(a,n,o);l!==-1&&i[l].push(a)}return i}function j1(t,n,e){let i=e;return S1(t)&&n.some((o,r)=>o!=="*"&&T1(t,o)?(i=r,!0):!1),i}var R1=10,lu=class{constructor(n,e){this.componentFactory=e.get(zn).resolveComponentFactory(n)}create(n){return new cu(this.componentFactory,n)}},cu=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new In(1),this.events=this.eventEmitters.pipe(Ut(i=>gn(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(ke),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=La.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},R1))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}P1(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=sn.create({providers:[],parent:this.injector}),i=F1(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(qe),this.implementsOnChanges=O1(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(wi).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ve(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=La.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new rr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},du=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Pe(t,n){let e=N1(t,n.injector),i=n.strategyFactory||new lu(t,n.injector),o=A1(e);class r extends du{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let m=this[l];delete this[l],a.setInputValue(l,m,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,m){let[h,M]=o[a];this.ngElementStrategy.setInputValue(h,c,M)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var Th=null;function go(){return Th}function Ph(t){Th??=t}var Ba=class{};var ot=new G("");function Ah(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var uu=/\s+/,Eh=[],ee=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Eh,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(uu):Eh}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(uu):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(uu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(y(U),y(Cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var pu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ye=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new pu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),Sh(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Sh(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(y(cn),y(we),y(fo))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Sh(t,n){t.context.$implicit=n.item}var We=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new mu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Oh("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Oh("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(y(cn),y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),mu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Oh(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Dt(n)}'.`)}var ho=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:ln.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(y(U),y(su),y(Cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),kn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(y(cn))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Le]})}}return t})();var R=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({})}}return t})(),fu="browser",L1="server";function Nh(t){return t===fu}function gu(t){return t===L1}var za=class{};var vu=class extends Ba{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_u=class t extends vu{static makeCurrent(){Ph(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=B1();return e==null?null:z1(e)}resetBaseElement(){Ir=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ah(document.cookie,n)}},Ir=null;function B1(){return Ir=Ir||document.querySelector("base"),Ir?Ir.getAttribute("href"):null}function z1(t){return new URL(t,document.baseURI).pathname}var H1=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),yu=new G(""),Lh=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new me(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(z(yu),z(ke))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Ha=class{constructor(n){this._doc=n}},hu="ng-app-id",Vh=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gu(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${hu}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(hu),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(hu,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(z(ot),z(Ma),z(hr,8),z($n))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},wu=/%COMP%/g,Bh="%COMP%",$1=`_nghost-${Bh}`,U1=`_ngcontent-${Bh}`,W1=!0,G1=new G("",{providedIn:"root",factory:()=>W1});function q1(t){return U1.replace(wu,t)}function Z1(t){return $1.replace(wu,t)}function zh(t,n){return n.map(e=>e.replace(wu,t))}var Fh=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=gu(a),this.defaultRenderer=new Er(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===nn.ShadowDom&&(i=Be(ae({},i),{encapsulation:nn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof $a?o.applyToHost(e):o instanceof Sr&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case nn.Emulated:r=new $a(l,c,i,this.appId,m,s,a,h);break;case nn.ShadowDom:return new Cu(l,c,e,i,s,a,this.nonce,h);default:r=new Sr(l,c,i,m,s,a,h);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(z(Lh),z(Vh),z(Ma),z(G1),z(ot),z($n),z(ke),z(hr))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Er=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(bu[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(jh(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(jh(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new me(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=bu[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=bu[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(ln.DashCase|ln.Important)?n.style.setProperty(e,i,o&ln.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&ln.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=go().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function jh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Cu=class extends Er{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=zh(o.id,o.styles);for(let m of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=m,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Sr=class extends Er{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?zh(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$a=class extends Sr{constructor(n,e,i,o,r,s,a,l){let c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=q1(c),this.hostAttr=Z1(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},Y1=(()=>{class t extends Ha{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(z(ot))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),Rh=["alt","control","meta","shift"],K1={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Q1={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},X1=(()=>{class t extends Ha{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>go().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Rh.forEach(c=>{let m=i.indexOf(c);m>-1&&(i.splice(m,1),s+=c+".")}),s+=r,i.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=K1[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Rh.forEach(s=>{if(s!==o){let a=Q1[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(z(ot))}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})();function Hh(t){return Ih(J1(t))}function J1(t){return{appProviders:[...oM,...t?.providers??[]],platformProviders:iM}}function eM(){_u.makeCurrent()}function tM(){return new an}function nM(){return mg(document),document}var iM=[{provide:$n,useValue:fu},{provide:Bd,useValue:eM,multi:!0},{provide:ot,useFactory:nM,deps:[]}];var oM=[{provide:ma,useValue:"root"},{provide:an,useFactory:tM,deps:[]},{provide:yu,useClass:Y1,multi:!0,deps:[ot,ke,$n]},{provide:yu,useClass:X1,multi:!0,deps:[ot]},Fh,Vh,Lh,{provide:oo,useExisting:Fh},{provide:za,useClass:H1,deps:[]},[]];var Kh=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(U))}}static{this.\u0275dir=Z({type:t})}}return t})(),rM=(()=>{class t extends Kh{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})()}static{this.\u0275dir=Z({type:t,features:[$]})}}return t})(),Za=new G("");var sM={provide:Za,useExisting:_i(()=>Qh),multi:!0};function aM(){let t=go()?go().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var lM=new G(""),Qh=(()=>{class t extends Kh{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!aM())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(U),y(lM,8))}}static{this.\u0275dir=Z({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&_("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[re([sM]),$]})}}return t})();var cM=new G(""),dM=new G("");function Xh(t){return t!=null}function Jh(t){return kr(t)?He(t):t}function eb(t){let n={};return t.forEach(e=>{n=e!=null?ae(ae({},n),e):n}),Object.keys(n).length===0?null:n}function tb(t,n){return n.map(e=>e(t))}function uM(t){return!t.validate}function nb(t){return t.map(n=>uM(n)?n:e=>n.validate(e))}function pM(t){if(!t)return null;let n=t.filter(Xh);return n.length==0?null:function(e){return eb(tb(e,n))}}function ib(t){return t!=null?pM(nb(t)):null}function mM(t){if(!t)return null;let n=t.filter(Xh);return n.length==0?null:function(e){let i=tb(e,n).map(Jh);return Zo(i).pipe(ve(eb))}}function ob(t){return t!=null?mM(nb(t)):null}function $h(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function fM(t){return t._rawValidators}function gM(t){return t._rawAsyncValidators}function xu(t){return t?Array.isArray(t)?t:[t]:[]}function Wa(t,n){return Array.isArray(t)?t.includes(n):t===n}function Uh(t,n){let e=xu(n);return xu(t).forEach(o=>{Wa(e,o)||e.push(o)}),e}function Wh(t,n){return xu(n).filter(e=>!Wa(t,e))}var Ga=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=ib(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ob(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Mu=class extends Ga{get formDirective(){return null}get path(){return null}},Nr=class extends Ga{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ku=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},hM={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},AR=Be(ae({},hM),{"[class.ng-submitted]":"isSubmitted"}),yo=(()=>{class t extends ku{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(y(Nr,2))}}static{this.\u0275dir=Z({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&W("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[$]})}}return t})();var Or="VALID",Ua="INVALID",bo="PENDING",Tr="DISABLED",_o=class{},qa=class extends _o{constructor(n,e){super(),this.value=n,this.source=e}},Pr=class extends _o{constructor(n,e){super(),this.pristine=n,this.source=e}},Ar=class extends _o{constructor(n,e){super(),this.touched=n,this.source=e}},vo=class extends _o{constructor(n,e){super(),this.status=n,this.source=e}};function bM(t){return(Ya(t)?t.validators:t)||null}function vM(t){return Array.isArray(t)?ib(t):t||null}function _M(t,n){return(Ya(n)?n.asyncValidators:t)||null}function yM(t){return Array.isArray(t)?ob(t):t||null}function Ya(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Du=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Dr(()=>this.statusReactive()),this.statusReactive=Cr(void 0),this._pristine=Dr(()=>this.pristineReactive()),this.pristineReactive=Cr(!0),this._touched=Dr(()=>this.touchedReactive()),this.touchedReactive=Cr(!1),this._events=new be,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Mn(this.statusReactive)}set status(n){Mn(()=>this.statusReactive.set(n))}get valid(){return this.status===Or}get invalid(){return this.status===Ua}get pending(){return this.status==bo}get disabled(){return this.status===Tr}get enabled(){return this.status!==Tr}get pristine(){return Mn(this.pristineReactive)}set pristine(n){Mn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Mn(this.touchedReactive)}set touched(n){Mn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Uh(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Uh(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Wh(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Wh(n,this._rawAsyncValidators))}hasValidator(n){return Wa(this._rawValidators,n)}hasAsyncValidator(n){return Wa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Be(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Ar(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Ar(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Be(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Pr(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Pr(!0,i))}markAsPending(n={}){this.status=bo;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new vo(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Be(ae({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Tr,this.errors=null,this._forEachChild(o=>{o.disable(Be(ae({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qa(this.value,i)),this._events.next(new vo(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Or,this._forEachChild(i=>{i.enable(Be(ae({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Be(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Or||this.status===bo)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qa(this.value,e)),this._events.next(new vo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Be(ae({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Tr:Or}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=bo,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=Jh(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new vo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new x,this.statusChanges=new x}_calculateStatus(){return this._allControlsDisabled()?Tr:this.errors?Ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bo)?bo:this._anyControlsHaveStatus(Ua)?Ua:Or}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Pr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ar(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ya(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=vM(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=yM(this._rawAsyncValidators)}};var rb=new G("CallSetDisabledState",{providedIn:"root",factory:()=>Iu}),Iu="always";function CM(t,n){return[...n.path,t]}function wM(t,n,e=Iu){MM(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),kM(t,n),IM(t,n),DM(t,n),xM(t,n)}function Gh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function xM(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function MM(t,n){let e=fM(t);n.validator!==null?t.setValidators($h(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=gM(t);n.asyncValidator!==null?t.setAsyncValidators($h(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();Gh(n._rawValidators,o),Gh(n._rawAsyncValidators,o)}function kM(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&sb(t,n)})}function DM(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&sb(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function sb(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function IM(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function EM(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function SM(t){return Object.getPrototypeOf(t.constructor)===rM}function OM(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===Qh?e=r:SM(r)?i=r:o=r}),o||i||e||null}function qh(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function Zh(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var TM=class extends Du{constructor(n=null,e,i){super(bM(e),_M(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ya(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Zh(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){qh(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){qh(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){Zh(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var PM={provide:Nr,useExisting:_i(()=>xi)},Yh=Promise.resolve(),xi=(()=>{class t extends Nr{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new TM,this._registered=!1,this.name="",this.update=new x,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=OM(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),EM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){wM(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Yh.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&k(i);Yh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?CM(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(y(Mu,9),y(cM,10),y(dM,10),y(Za,10),y(qe,8),y(rb,8))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[re([PM]),$,Le]})}}return t})();var AM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({})}}return t})();var Co=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rb,useValue:e.callSetDisabledState??Iu}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({imports:[AM]})}}return t})();var NM=["content"],FM=["scroll"],jM=["padding"],cb=["*"],jr=t=>({searchTerm:t});function RM(t,n){if(t&1&&(p(0,"div",3),st(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",De(2,jr,e.filterValue))}}function LM(t,n){if(t&1&&(p(0,"div",5),st(1,6),f()),t&2){let e=u();d(),g("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",De(2,jr,e.filterValue))}}var VM=["searchInput"],BM=["clearButton"],zM=(t,n,e)=>({item:t,clear:n,label:e}),HM=(t,n)=>({items:t,clear:n}),$M=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function UM(t,n){if(t&1&&(p(0,"div",20),D(1),f()),t&2){let e=u(2);d(),ie(e.placeholder)}}function WM(t,n){}function GM(t,n){if(t&1&&w(0,UM,2,1,"ng-template",null,1,vt)(2,WM,0,0,"ng-template",19),t&2){let e=Qe(1),i=u();d(2),g("ngTemplateOutlet",i.placeholderTemplate||e)}}function qM(t,n){if(t&1){let e=P();p(0,"span",23),_("click",function(){b(e);let o=u().$implicit,r=u(2);return v(r.unselect(o))}),D(1,"\xD7"),f(),I(2,"span",24)}if(t&2){let e=u().$implicit,i=u(2);d(2),g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ZM(t,n){}function YM(t,n){if(t&1&&(p(0,"div",22),w(1,qM,3,2,"ng-template",null,2,vt)(3,ZM,0,0,"ng-template",12),f()),t&2){let e=n.$implicit,i=Qe(2),o=u(2);W("ng-value-disabled",e.disabled),d(3),g("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",yt(4,zM,e.value,o.clearItem,e.label))}}function KM(t,n){if(t&1&&Zt(0,YM,4,8,"div",21,ru().trackByOption,!0),t&2){let e=u();Yt(e.selectedItems)}}function QM(t,n){}function XM(t,n){if(t&1&&w(0,QM,0,0,"ng-template",12),t&2){let e=u();g("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",mt(2,HM,e.selectedValues,e.clearItem))}}function JM(t,n){t&1&&I(0,"div",25)}function ek(t,n){}function tk(t,n){if(t&1&&w(0,JM,1,0,"ng-template",null,3,vt)(2,ek,0,0,"ng-template",19),t&2){let e=Qe(1),i=u();d(2),g("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function nk(t,n){if(t&1&&(p(0,"span",15,4)(2,"span",26),D(3,"\xD7"),f()()),t&2){let e=u();fe("title",e.clearAllText)}}function ik(t,n){if(t&1&&I(0,"span",31),t&2){let e=u().$implicit,i=u(2);g("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ok(t,n){}function rk(t,n){if(t&1){let e=P();p(0,"div",30),_("click",function(){let o=b(e).$implicit,r=u(2);return v(r.toggleItem(o))})("mouseover",function(){let o=b(e).$implicit,r=u(2);return v(r.onItemHover(o))}),w(1,ik,1,2,"ng-template",null,5,vt)(3,ok,0,0,"ng-template",12),f()}if(t&2){let e=n.$implicit,i=Qe(2),o=u(2);W("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),Q("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),d(3),g("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",Fa(17,$M,e.value,e,e.index,o.searchTerm))}}function sk(t,n){if(t&1&&(p(0,"span")(1,"span",33),D(2),f(),D(3),f()),t&2){let e=u(3);d(2),ie(e.addTagText),d(),B('"',e.searchTerm,'"')}}function ak(t,n){}function lk(t,n){if(t&1){let e=P();p(0,"div",32),_("mouseover",function(){b(e);let o=u(2);return v(o.itemsList.unmarkItem())})("click",function(){b(e);let o=u(2);return v(o.selectTag())}),w(1,sk,4,2,"ng-template",null,6,vt)(3,ak,0,0,"ng-template",12),f()}if(t&2){let e=Qe(2),i=u(2);W("ng-option-marked",!i.itemsList.markedItem),d(3),g("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",De(4,jr,i.searchTerm))}}function ck(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.notFoundText)}}function dk(t,n){}function uk(t,n){if(t&1&&w(0,ck,2,1,"ng-template",null,7,vt)(2,dk,0,0,"ng-template",12),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",De(2,jr,i.searchTerm))}}function pk(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.typeToSearchText)}}function mk(t,n){}function fk(t,n){if(t&1&&w(0,pk,2,1,"ng-template",null,8,vt)(2,mk,0,0,"ng-template",19),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function gk(t,n){if(t&1&&(p(0,"div",34),D(1),f()),t&2){let e=u(3);d(),ie(e.loadingText)}}function hk(t,n){}function bk(t,n){if(t&1&&w(0,gk,2,1,"ng-template",null,9,vt)(2,hk,0,0,"ng-template",12),t&2){let e=Qe(1),i=u(2);d(2),g("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",De(2,jr,i.searchTerm))}}function vk(t,n){if(t&1){let e=P();p(0,"ng-dropdown-panel",27),_("update",function(o){b(e);let r=u();return v(r.viewPortItems=o)})("scroll",function(o){b(e);let r=u();return v(r.scroll.emit(o))})("scrollToEnd",function(o){b(e);let r=u();return v(r.scrollToEnd.emit(o))})("outsideClick",function(){b(e);let o=u();return v(o.close())}),nt(1),Zt(2,rk,4,22,"div",28,ru().trackByOption,!0),w(4,lk,4,6,"div",29),it(),w(5,uk,3,4)(6,fk,3,1)(7,bk,3,4),f()}if(t&2){let e=u();W("ng-select-multiple",e.multiple),g("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),d(2),Yt(e.viewPortItems),d(2),A(e.showAddTag?4:-1),d(),A(e.showNoItemsFound()?5:-1),d(),A(e.showTypeToSearch()?6:-1),d(),A(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var db=/[&<>"']/g,_k=RegExp(db.source),yk={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ck(t){return t&&_k.test(t)?t.replace(db,n=>yk[n]):t}function Ze(t){return t!=null}function Fr(t){return typeof t=="object"&&Ze(t)}function wk(t){return t instanceof Promise}function Qa(t){return t instanceof Function}var xk=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Ck(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(y(U))}}static{this.\u0275dir=Z({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[Le]})}}return t})(),Mk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),kk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),Dk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),Ik=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),Ek=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),Sk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),Ok=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),Tk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),Pk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),Ak=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),Nk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),Fk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(y(we))}}static{this.\u0275dir=Z({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function ub(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var jk={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Ka(t){let n=e=>jk[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var Su=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ze(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=Ka(n).toLocaleLowerCase(),this.filteredItems.find(e=>Ka(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:Ka(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;e(n,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!Fr(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Ze(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Ze(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Ze(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Ze(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return Ka(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let a=(s.value[e]||[]).map((l,c)=>this.mapItem(l,c));i.set(s,a)}return i}let o=Qa(this._ngSelect.groupBy),r=s=>{let a=o?e(s.value):s.value[e];return Ze(a)?a:void 0};for(let s of n){let a=r(s),l=i.get(a);l?l.push(s):i.set(a,[s])}return i}_flatten(n){let e=Qa(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let h=n.get(void 0)||[];i.push(...h.map(M=>(M.index=r++,M)));continue}let s=Fr(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:ub()},l=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),m=n.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=m,a.value=c(o,m.map(h=>h.value)),i.push(a),i.push(...m)}return i}},dn=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(dn||{}),pb=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,l=Math.max(0,e)/s*i,c=Math.min(i,Math.ceil(l)+(r.itemsPerViewport+1)),h=Math.max(0,c-r.itemsPerViewport),M=Math.min(h,Math.floor(l)),C=r.itemHeight*Math.ceil(M)-r.itemHeight*Math.min(M,o);return C=isNaN(C)?0:C,M=isNaN(M)?-1:M,c=isNaN(c)?-1:c,M-=o,M=Math.max(0,M),c+=o,c=Math.min(i,c),{topPadding:C,scrollHeight:s,start:M,end:c}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,a=o,l=a+r;return r>=s&&o===e?null:s>l?a+s-l:e<=a?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac})}}return t})(),ab=["top","right","bottom","left"],Rk=typeof requestAnimationFrame<"u"?Xl:Ql,lb=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new x,this.scroll=new x,this.scrollToEnd=new x,this.outsideClick=new x,this._destroy$=new be,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),a=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,a)}Ze(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),ab.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){ab.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Tn(this.scrollElementRef.nativeElement,"scroll").pipe(tt(this._destroy$),ec(0,Rk)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{gn(Tn(this._document,"touchstart",{capture:!0}),Tn(this._document,"click",{capture:!0})).pipe(tt(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Ze(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,a=e.getBoundingClientRect().height;return r+s+a>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Tn(this._dropdown,"mousedown").pipe(tt(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(y(Cn),y(ke),y(pb),y(U),y(ot,8))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(pt(NM,7,U),pt(FM,7,U),pt(jM,7,U)),i&2){let r;Se(r=Oe())&&(o.contentElementRef=r.first),Se(r=Oe())&&(o.scrollElementRef=r.first),Se(r=Oe())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",k],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[ue,Le,S],ngContentSelectors:cb,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(Ve(),w(0,RM,2,4,"div",3),p(1,"div",4,0),I(3,"div",null,1),p(5,"div",null,2),Ee(7),f()(),w(8,LM,2,4,"div",5)),i&2&&(A(o.headerTemplate?0:-1),d(3),W("total-padding",o.virtualScroll),d(2),W("scrollable-content",o.virtualScroll&&o.items.length),d(3),A(o.footerTemplate?8:-1))},dependencies:[kn],encapsulation:2,changeDetection:0})}}return t})(),Mi=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new be}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(i){return new(i||t)(y(U))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",k]},standalone:!0,features:[ue,Le,S],ngContentSelectors:cb,decls:1,vars:0,template:function(i,o){i&1&&(Ve(),Ee(0))},encapsulation:2,changeDetection:0})}}return t})();function mb(){return new Ou}var Ou=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},Lk=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Vk=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fb=new G("ng-select-selection-model"),wo=(()=>{class t{constructor(e,i,o,r,s,a,l){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=l,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new x,this.focusEvent=new x,this.changeEvent=new x,this.openEvent=new x,this.closeEvent=new x,this.searchEvent=new x,this.clearEvent=new x,this.addEvent=new x,this.removeEvent=new x,this.scroll=new x,this.scrollToEnd=new x,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=ub(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new be,this._keyPress$=new be,this._items=[],this.keyDownFn=c=>!0,this.clearItem=c=>{let m=this.selectedItems.find(h=>h.value===c);this.unselect(m)},this.trackByOption=(c,m)=>this.trackByFn?this.trackByFn(m.value):m,this._onChange=c=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new Su(this,r?r():mb()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!Qa(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Ze(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ze(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Ze(this._deselectOnClick)?this._deselectOnClick:Ze(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Ze(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ze(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(dn[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case dn.ArrowDown:this._handleArrowDown(e);break;case dn.ArrowUp:this._handleArrowUp(e);break;case dn.Space:this._handleSpace(e);break;case dn.Enter:this._handleEnter(e);break;case dn.Tab:this._handleTab(e);break;case dn.Esc:this.close(),e.preventDefault();break;case dn.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case dn.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;Qa(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);wk(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ze(i)?!Fr(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ze(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=gn(this.ngOptions.changes,this._destroy$);gn(...this.ngOptions.map(r=>r.stateChange$)).pipe(tt(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(An(this.ngOptions),tt(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Ze(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Ze(this.compareWith)&&Fr(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=Fr(o),a=!s&&!this.bindValue;s||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(tt(this._destroy$),Jt(e=>this._pressedKeys.push(e)),ai(200),Pn(()=>this._pressedKeys.length>0),ve(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=ae({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Ze(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Ze(this.virtualScroll)?this.virtualScroll:Ze(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Ze(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(lo("class"),lo("autofocus"),y(Lk),y(fb,8),y(U),y(qe),y(Vk))}}static{this.\u0275cmp=E({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(bt(r,Mk,5,we),bt(r,kk,5,we),bt(r,Dk,5,we),bt(r,Ik,5,we),bt(r,Ek,5,we),bt(r,Sk,5,we),bt(r,Ok,5,we),bt(r,Tk,5,we),bt(r,Pk,5,we),bt(r,Ak,5,we),bt(r,Nk,5,we),bt(r,Fk,5,we),bt(r,Mi,5)),i&2){let s;Se(s=Oe())&&(o.optionTemplate=s.first),Se(s=Oe())&&(o.optgroupTemplate=s.first),Se(s=Oe())&&(o.labelTemplate=s.first),Se(s=Oe())&&(o.multiLabelTemplate=s.first),Se(s=Oe())&&(o.headerTemplate=s.first),Se(s=Oe())&&(o.footerTemplate=s.first),Se(s=Oe())&&(o.notFoundTemplate=s.first),Se(s=Oe())&&(o.placeholderTemplate=s.first),Se(s=Oe())&&(o.typeToSearchTemplate=s.first),Se(s=Oe())&&(o.loadingTextTemplate=s.first),Se(s=Oe())&&(o.tagTemplate=s.first),Se(s=Oe())&&(o.loadingSpinnerTemplate=s.first),Se(s=Oe())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(pt(lb,5),pt(VM,7),pt(BM,5)),i&2){let r;Se(r=Oe())&&(o.dropdownPanel=r.first),Se(r=Oe())&&(o.searchInput=r.first),Se(r=Oe())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&_("keydown",function(s){return o.handleKeyDown(s)}),i&2&&W("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",k],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",k],closeOnSelect:[2,"closeOnSelect","closeOnSelect",k],hideSelected:[2,"hideSelected","hideSelected",k],selectOnTab:[2,"selectOnTab","selectOnTab",k],openOnEnter:[2,"openOnEnter","openOnEnter",k],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",St],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",St],virtualScroll:[2,"virtualScroll","virtualScroll",k],selectableGroup:[2,"selectableGroup","selectableGroup",k],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",k],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",k],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",St],readonly:[2,"readonly","readonly",k],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",k],minTermLength:[2,"minTermLength","minTermLength",St],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",k],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",k],addTag:"addTag",searchable:[2,"searchable","searchable",k],clearable:[2,"clearable","clearable",k],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[re([{provide:Za,useExisting:_i(()=>t),multi:!0},pb]),ue,Le,S],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,o){if(i&1){let r=P();p(0,"div",10),_("mousedown",function(a){return b(r),v(o.handleMousedown(a))}),p(1,"div",11),w(2,GM,3,1)(3,KM,2,0)(4,XM,1,5,null,12),p(5,"div",13)(6,"input",14,0),_("blur",function(a){return b(r),v(o.onInputBlur(a))})("change",function(a){return b(r),v(a.stopPropagation())})("compositionend",function(){b(r);let a=Qe(7);return v(o.onCompositionEnd(a.value))})("compositionstart",function(){return b(r),v(o.onCompositionStart())})("focus",function(a){return b(r),v(o.onInputFocus(a))})("input",function(){b(r);let a=Qe(7);return v(o.filter(a.value))}),f()()(),w(8,tk,3,1)(9,nk,4,1,"span",15),p(10,"span",16),I(11,"span",17),f()(),w(12,vk,8,17,"ng-dropdown-panel",18)}i&2&&(W("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),d(2),A(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),d(),A((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),d(),A(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),d(2),g("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),Q("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),d(2),A(o.loading?8:-1),d(),A(o.showClear()?9:-1),d(3),A(o.isOpen?12:-1))},dependencies:[kn,xk,lb,ee],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
8
8
|
`],encapsulation:2,changeDetection:0})}}return t})(),xo=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Fe({type:t})}static{this.\u0275inj=Ne({providers:[{provide:fb,useValue:mb}]})}}return t})();var Mo=class{},gb=(()=>{class t extends Mo{getTranslation(e){return Me({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})();static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})(),ki=class{},hb=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})();function Xa(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!Xa(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!Xa(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function Gn(t){return typeof t<"u"&&t!==null}function Pu(t){return t&&typeof t=="object"&&!Array.isArray(t)}function _b(t,n){let e=Object.assign({},t);return Pu(t)&&Pu(n)&&Object.keys(n).forEach(i=>{Pu(n[i])?i in t?e[i]=_b(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}var ko=class{},bb=(()=>{class t extends ko{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let o;return typeof e=="string"?o=this.interpolateString(e,i):typeof e=="function"?o=this.interpolateFunction(e,i):o=e,o}getValue(e,i){let o=typeof i=="string"?i.split("."):[i];i="";do i+=o.shift(),Gn(e)&&Gn(e[i])&&(typeof e[i]=="object"||!o.length)?(e=e[i],i=""):o.length?i+=".":e=void 0;while(o.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(i,r);return Gn(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})();static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})(),Do=class{},vb=(()=>{class t extends Do{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})();static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})(),Ja=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new x;onLangChange=new x;onDefaultLangChange=new x},Au=new G("USE_STORE"),Nu=new G("USE_DEFAULT_LANG"),Fu=new G("DEFAULT_LANGUAGE"),ju=new G("USE_EXTEND"),T=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new x;_onLangChange=new x;_onDefaultLangChange=new x;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,a=!0,l=!1,c=!1,m){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,m&&this.setDefaultLang(m)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(rt(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Me(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(rt(1)).subscribe(o=>{this.changeLang(e)}),i):(this.changeLang(e),Me(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Ms(1),rt(1));return this.loadingTranslations=i.pipe(ve(o=>this.compiler.compileTranslations(o,e)),Ms(1),rt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?ae(ae({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){i=this.compiler.compileTranslations(i,e),(o||this.extend)&&this.translations[e]?this.translations[e]=_b(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,o){let r;if(i instanceof Array){let s={},a=!1;for(let l of i)s[l]=this.getParsedResult(e,l,o),ft(s[l])&&(a=!0);if(a){let l=i.map(c=>ft(s[c])?s[c]:Me(s[c]));return Zo(l).pipe(ve(c=>{let m={};return c.forEach((h,M)=>{m[i[M]]=h}),m}))}return s}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,i),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof r>"u"){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:i}get(e,i){if(!Gn(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe($t(o=>(o=this.getParsedResult(o,e,i),ft(o)?o:Me(o))));{let o=this.getParsedResult(this.translations[this.currentLang],e,i);return ft(o)?o:Me(o)}}getStreamOnTranslationChange(e,i){if(!Gn(e)||!e.length)throw new Error('Parameter "key" required');return Pt(ws(()=>this.get(e,i)),this.onTranslationChange.pipe(Ut(o=>{let r=this.getParsedResult(o.translations,e,i);return typeof r.subscribe=="function"?r:Me(r)})))}stream(e,i){if(!Gn(e)||!e.length)throw new Error('Parameter "key" required');return Pt(ws(()=>this.get(e,i)),this.onLangChange.pipe(Ut(o=>{let r=this.getParsedResult(o.translations,e,i);return ft(r)?r:Me(r)})))}instant(e,i){if(!Gn(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,i);if(ft(o)){if(e instanceof Array){let r={};return e.forEach((s,a)=>{r[e[a]]=e[a]}),r}return e}else return o}set(e,i,o=this.currentLang){this.translations[o][e]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||t)(z(Ja),z(Mo),z(Do),z(ko),z(ki),z(Nu),z(Au),z(ju),z(Fu))};static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})();var pe=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);ft(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(Xa(e,this.lastKey)&&Xa(i,this.lastParams))return this.value;let o;if(Gn(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let r=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(y(T,16),y(qe,16))};static \u0275pipe=pr({name:"translate",type:t,pure:!1});static \u0275prov=H({token:t,factory:t.\u0275fac})}return t})(),X=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Mo,useClass:gb},e.compiler||{provide:Do,useClass:vb},e.parser||{provide:ko,useClass:bb},e.missingTranslationHandler||{provide:ki,useClass:hb},Ja,{provide:Au,useValue:e.isolate},{provide:Nu,useValue:e.useDefaultLang},{provide:ju,useValue:e.extend},{provide:Fu,useValue:e.defaultLanguage},T]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Mo,useClass:gb},e.compiler||{provide:Do,useClass:vb},e.parser||{provide:ko,useClass:bb},e.missingTranslationHandler||{provide:ki,useClass:hb},{provide:Au,useValue:e.isolate},{provide:Nu,useValue:e.useDefaultLang},{provide:ju,useValue:e.extend},{provide:Fu,useValue:e.defaultLanguage},T]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Fe({type:t});static \u0275inj=Ne({})}return t})();var se=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(e){this._selectedLanguage=e,this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(e){this._localizedStrings=e,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(y(T))}}static{this.\u0275cmp=E({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[re([T]),S],decls:2,vars:0,template:function(i,o){i&1&&(p(0,"p"),D(1," localized widget works! "),f())},dependencies:[R,X],encapsulation:3})}}return t})();function Bk(t,n){if(t&1&&(p(0,"div",5),D(1),f()),t&2){let e=u();d(),B(" ",e.spinnerText," ")}}function zk(t,n){if(t&1&&(nt(0),p(1,"div",5),D(2),f(),it()),t&2){let e=n.$implicit;d(2),B(" ",e," ")}}function Hk(t,n){if(t&1&&(nt(0),p(1,"div",6),w(2,zk,3,1,"ng-container",7),f(),it()),t&2){let e=u();d(2),g("ngForOf",e.spinnerTexts)}}var el=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=null,this.spinnerTexts=null}isSpinnerTextsArray(){return!!(this.spinnerTexts&&typeof this.spinnerTexts=="object"&&Array.isArray(this.spinnerTexts)&&this.spinnerTexts.length>0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",k],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",k],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",k],spinnerText:"spinnerText",spinnerTexts:"spinnerTexts"},standalone:!0,features:[ue,S],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["class","spinner-text",4,"ngIf"],[4,"ngIf"],[1,"spinner-text"],[1,"spinner-texts"],[4,"ngFor","ngForOf"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),I(2,"div",2),w(3,Bk,2,1,"div",3)(4,Hk,3,1,"ng-container",4),f()()),i&2&&(d(2),W("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),d(),g("ngIf",o.spinnerText),d(),g("ngIf",o.isSpinnerTextsArray()))},dependencies:[R,ye,We],styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./media/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./media/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./media/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var $k=["*"];function Uk(t,n){if(t&1&&(p(0,"div",1)(1,"div",4)(2,"span"),D(3),f()()()),t&2){let e=u();d(3),ie(e.header)}}function Wk(t,n){if(t&1&&(p(0,"div",3),I(1,"lib-loading-spinner",5),f()),t&2){let e=u();d(),g("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var Io=(()=>{class t{constructor(){this.header="",this.isLoading=!1,this.loadingSpinnerText=""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header",isLoading:"isLoading",loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[S],ngContentSelectors:$k,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){i&1&&(Ve(),p(0,"div",0),w(1,Uk,4,1,"div",1),p(2,"div",2),Ee(3),f(),w(4,Wk,2,4,"div",3),f()),i&2&&(d(),A(o.header?1:-1),d(3),A(o.isLoading?4:-1))},dependencies:[el],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
9
9
|
`],encapsulation:2})}}return t})();function Gk(t,n){if(t&1){let e=P();nt(0),p(1,"button",2),_("click",function(){let o=b(e).$implicit,r=u();return v(r._buttonClicked(o))}),D(2),f(),it()}if(t&2){let e=n.$implicit,i=n.last,o=n.first;d(),W("last",i)("first",o)("primary-button",e.buttonStyle===void 0||e.buttonStyle==="primary")("secondary-button",e.buttonStyle==="secondary")("text-button",e.buttonType===void 0||e.buttonType==="text")("icon-button",e.buttonType==="icon")("combined-button",e.buttonType==="combined")("disabled",e.disabled===!0),fe("title",e.tooltip),d(),B(" ",e.title," ")}}var tl=(()=>{class t extends se{constructor(){super(...arguments),this._items=new Array,this.buttonClicked=new x}get items(){return this._items}set items(e){this._items=e}_buttonClicked(e){e.disabled||this.buttonClicked.emit({id:e.id})}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})()}static{this.\u0275cmp=E({type:t,selectors:[["lib-bimplus-buttons-row"]],inputs:{items:"items"},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[$,S],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],[3,"click","title"]],template:function(i,o){i&1&&(p(0,"div",0),w(1,Gk,3,18,"ng-container",1),f()),i&2&&(d(),g("ngForOf",o._items))},dependencies:[ye],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--primary-button-border-color-enabled);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.button-row>.primary-button:focus{border-color:var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.button-row>.primary-button.disabled,.button-row>.primary-button:disabled,.button-row>.primary-button:disabled:active{border-color:var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.button-row>.primary-button:active{border-color:var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}
|
|
10
10
|
`],encapsulation:3})}}return t})();var qk=[[["lib-expansion-panel-header"]],"*"],Zk=["lib-expansion-panel-header","*"],qn=(()=>{class t{constructor(){this.expanded=!0}toggleExpand(){this.expanded=!this.expanded}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["lib-expansion-panel"]],inputs:{expanded:"expanded"},standalone:!0,features:[S],ngContentSelectors:Zk,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],[1,"expansion-panel-expander-icon",3,"click","keypress","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(i,o){i&1&&(Ve(qk),p(0,"div",0)(1,"div",1)(2,"div",2),_("click",function(){return o.toggleExpand()})("keypress",function(){return o.toggleExpand()}),f(),p(3,"div",3),Ee(4),f()(),p(5,"div",4),Ee(6,1),f()()),i&2&&(d(2),g("ngClass",o.expanded?"open":"closed"),d(3),g("ngClass",o.expanded?"":"collapsed"))},dependencies:[R,ee],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./media/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./media/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']})}}return t})();var Yk=["*",[["lib-expansion-panel-header-actions"]]],Kk=["*","lib-expansion-panel-header-actions"],Zn=(()=>{class t{constructor(){this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(i,o){i&2&&W("expansion-panel-header-container",o.centerMenuButtonClass)},standalone:!0,features:[S],ngContentSelectors:Kk,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(i,o){i&1&&(Ve(Yk),p(0,"div",0),Ee(1),f(),p(2,"div"),Ee(3,1),f())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.expansion-panel-header-container{display:flex;width:100%}
|