=60&&Math.round(t.h)<=240?e?Math.round(t.h)-h4*n:Math.round(t.h)+h4*n:e?Math.round(t.h)+h4*n:Math.round(t.h)-h4*n,i<0?i+=360:i>=360&&(i-=360),i}function Py(t,n,e){if(0===t.h&&0===t.s)return t.s;let i;return i=e?t.s-Dy*n:n===Ey?t.s+Dy:t.s+VL*n,i>1&&(i=1),e&&n===Ty&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function Ay(t,n,e){let i;return i=e?t.v+NL*n:t.v-LL*n,i>1&&(i=1),Number(i.toFixed(2))}function Iy(t,n={}){const e=[],i=As(t);for(let o=Ty;o>0;o-=1){const r=ky(i),s=p4(As({h:xy(r,o,!0),s:Py(r,o,!0),v:Ay(r,o,!0)}));e.push(s)}e.push(p4(i));for(let o=1;o<=Ey;o+=1){const r=ky(i),s=p4(As({h:xy(r,o),s:Py(r,o),v:Ay(r,o)}));e.push(s)}return"dark"===n.theme?HL.map(({index:o,opacity:r})=>p4(function RL(t,n,e){const i=e/100;return{r:(n.r-t.r)*i+t.r,g:(n.g-t.g)*i+t.g,b:(n.b-t.b)*i+t.b}}(As(n.backgroundColor||"#141414"),As(e[o]),100*r))):e}const BL=new P("nz-config"),YL=`-ant-${Date.now()}-${Math.random()}`;function Oy(t,n){const e=function jL(t,n){const e={},i=(s,a)=>{let l=s.clone();return l=a?.(l)||l,l.toRgbString()},o=(s,a)=>{const l=new Po(s),c=Iy(l.toRgbString());e[`${a}-color`]=i(l),e[`${a}-color-disabled`]=c[1],e[`${a}-color-hover`]=c[4],e[`${a}-color-active`]=c[7],e[`${a}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),e[`${a}-color-deprecated-bg`]=c[1],e[`${a}-color-deprecated-border`]=c[3]};if(n.primaryColor){o(n.primaryColor,"primary");const s=new Po(n.primaryColor),a=Iy(s.toRgbString());a.forEach((c,u)=>{e[`primary-${u+1}`]=c}),e["primary-color-deprecated-l-35"]=i(s,c=>c.lighten(35)),e["primary-color-deprecated-l-20"]=i(s,c=>c.lighten(20)),e["primary-color-deprecated-t-20"]=i(s,c=>c.tint(20)),e["primary-color-deprecated-t-50"]=i(s,c=>c.tint(50)),e["primary-color-deprecated-f-12"]=i(s,c=>c.setAlpha(.12*c.getAlpha()));const l=new Po(a[0]);e["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),e["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&o(n.successColor,"success"),n.warningColor&&o(n.warningColor,"warning"),n.errorColor&&o(n.errorColor,"error"),n.infoColor&&o(n.infoColor,"info"),`\n :root {\n ${Object.keys(e).map(s=>`--${t}-${s}: ${e[s]};`).join("\n")}\n }\n `.trim()}(t,n);Qv()?function UN(t,n,e={}){const i=E6(e);if(!k6.has(i)){const s=ey("",e),{parentNode:a}=s;k6.set(i,a),a.removeChild(s)}const o=function ty(t,n={}){const e=E6(n);return Array.from(k6.get(e)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(Jv(n))===t)}(n,e);if(o)return e.csp?.nonce&&o.nonce!==e.csp?.nonce&&(o.nonce=e.csp?.nonce),o.innerHTML!==t&&(o.innerHTML=t),o;const r=ey(t,e);r?.setAttribute(Jv(e),n)}(e,`${YL}-dynamic-theme`):ks("NzConfigService: SSR do not support dynamic theme with css variables.")}const Fy=function(t){return void 0!==t};let fr=(()=>{class t{constructor(e){this.configUpdated$=new F,this.config=e||{},this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(bt(i=>i===e),iu(void 0))}set(e,i){this.config[e]={...this.config[e],...i},"theme"===e&&this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(v(BL,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function f4(){return function(n,e,i){const o=`$$__zorroConfigDecorator__${e}`;return Object.defineProperty(n,o,{configurable:!0,writable:!0,enumerable:!1}),{get(){const r=i?.get?i.get.bind(this)():this[o],s=(this.propertyAssignCounter?.[e]||0)>1,a=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[e];return s&&Fy(r)?r:Fy(a)?a:r},set(r){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[e]=(this.propertyAssignCounter[e]||0)+1,i?.set?i.set.bind(this)(r):this[o]=r},configurable:!0,enumerable:!0}}}var Ny={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
0-59Allowable range
",minuteError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
0-59Allowable range
",hourError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
0-23Allowable range
",dayError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
1-31Allowable range
",monthError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
1-12Allowable range
",weekError:"*Any value
,Separator between multiple values
-Connector for interval values
/Equally distributed
? Not specify0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)
"}},UL={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"*\u4efb\u610f\u503c
,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/\u5e73\u5747\u5206\u914d
0-59\u5141\u8bb8\u8303\u56f4
",minuteError:"*\u4efb\u610f\u503c
,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/\u5e73\u5747\u5206\u914d
0-59\u5141\u8bb8\u8303\u56f4
",hourError:"* \u4efb\u610f\u503c
, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/ \u5e73\u5747\u5206\u914d
0-23 \u5141\u8bb8\u8303\u56f4
",dayError:"* \u4efb\u610f\u503c
, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/ \u5e73\u5747\u5206\u914d
1-31 \u5141\u8bb8\u8303\u56f4
",monthError:"* \u4efb\u610f\u503c
, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/ \u5e73\u5747\u5206\u914d
1-12 \u5141\u8bb8\u8303\u56f4
",weekError:"* \u4efb\u610f\u503c
, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26
- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26
/ \u5e73\u5747\u5206\u914d
? \u4e0d\u6307\u5b9a
0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09
"}};const Ly=new P("nz-i18n"),$L=new P("nz-date-locale");let m4=(()=>{class t{constructor(e,i){this._change=new ue(this._locale),this.setLocale(e||UL),this.setDateLocale(i||null)}get localeChange(){return this._change.asObservable()}translate(e,i){let o=this._getObjectPath(this._locale,e);return"string"==typeof o?(i&&Object.keys(i).forEach(r=>o=o.replace(new RegExp(`%${r}%`,"g"),i[r])),o):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,i){const o=e?this._getObjectPath(this._locale,e):this._locale;return!o&&!i&&ks(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),o||i||this._getObjectPath(Ny,e)||{}}_getObjectPath(e,i){let o=e;const r=i.split("."),s=r.length;let a=0;for(;o&&a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();new P("date-config");let Oi=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i,this.embeddedViewRef=null,this.context=new KL,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,i){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof $e;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const i=this.nzStringTemplateOutlet instanceof $e?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(const r of Object.keys(i))o[r]=i[r]}ngOnChanges(e){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:o}=e;o&&(this.context.$implicit=o.currentValue),(()=>{let a=!1;return o&&(a=!!o.firstChange||(o.previousValue instanceof $e||o.currentValue instanceof $e)),i&&(u=>{const d=Object.keys(u.previousValue||{}),h=Object.keys(u.currentValue||{});if(d.length===h.length){for(const p of h)if(-1===d.indexOf(p))return!0;return!1}return!0})(i)||a})()?this.recreateView():this.updateContext()}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[$]}),t})();class KL{}let Is=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();var g4=2,Hy=.16,ZL=.05,XL=.05,QL=.15,Ry=5,By=4,JL=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Yy(t,n,e){var i;return(i=Math.round(t.h)>=60&&Math.round(t.h)<=240?e?Math.round(t.h)-g4*n:Math.round(t.h)+g4*n:e?Math.round(t.h)+g4*n:Math.round(t.h)-g4*n)<0?i+=360:i>=360&&(i-=360),i}function jy(t,n,e){return 0===t.h&&0===t.s?t.s:((i=e?t.s-Hy*n:n===By?t.s+Hy:t.s+ZL*n)>1&&(i=1),e&&n===Ry&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function Uy(t,n,e){var i;return(i=e?t.v+XL*n:t.v-QL*n)>1&&(i=1),Number(i.toFixed(2))}function Y6(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=[],i=new Po(t),o=Ry;o>0;o-=1){var r=i.toHsv(),s=new Po({h:Yy(r,o,!0),s:jy(r,o,!0),v:Uy(r,o,!0)}).toHexString();e.push(s)}e.push(i.toHexString());for(var a=1;a<=By;a+=1){var l=i.toHsv(),c=new Po({h:Yy(l,a),s:jy(l,a),v:Uy(l,a)}).toHexString();e.push(c)}return"dark"===n.theme?JL.map(function(u){var d=u.index,h=u.opacity;return new Po(n.backgroundColor||"#141414").mix(e[d],100*h).toHexString()}):e}var j6={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},tn={},U6={};Object.keys(j6).forEach(function(t){tn[t]=Y6(j6[t]),tn[t].primary=tn[t][5],U6[t]=Y6(j6[t],{theme:"dark",backgroundColor:"#141414"}),U6[t].primary=U6[t][5]});const oo="[@ant-design/icons-angular]:";function Wy(t){return Y6(t)[0]}function v4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${oo}Theme "${n}" is not a recognized theme!`)}}function Gy(t){return"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.theme||void 0===t.theme)&&"string"==typeof t.icon}function y4(t){const n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${oo}The icon type ${t} is not valid!`)}}function qy(t){return new Error(`${oo}the icon ${t} does not exist or is not registered.`)}function dH(){return new Error(`${oo}