import{a as It}from"./chunk-I6FSQTEP.js";import{Cb as Ge,n as it,o as Te,p as At,q as Bt,r as jt,s as yt,t as Ct,u as St,w as Je,x as bt,y as we}from"./chunk-YSQLW2JA.js";import{$ as c,Aa as n,B as Ie,Ba as x,Bf as Nt,C as Ue,Ea as We,F as Dt,Ff as U,G as ot,Gf as E,Hf as He,I as nt,If as te,J as Le,Je as je,Ka as F,Kf as ut,Lf as Lt,Ma as Q,Mf as Wt,N as Pt,Na as z,Nf as ft,O as Y,Oa as w,Oe as Qe,Of as ne,P as L,Pa as u,Q as r,Qa as pt,Ra as Ae,Sa as Be,Td as dt,Te as ee,Va as a,W as B,_ as g,_g as Ye,a as at,ab as le,ah as Qt,b as st,bb as v,be as X,bh as xt,ca as m,ce as Mt,ch as Xt,dh as Ht,ea as lt,ee as Oe,eh as vt,fb as ct,fe as Vt,ga as O,gb as S,ge as ht,ha as b,hb as qe,jf as Et,kf as gt,l as k,m as M,mf as Rt,n as V,na as rt,of as mt,pa as $,q as _e,qa as J,r as f,s as wt,sf as zt,ta as Ke,u as N,ua as Ft,uf as y,v as _,va as $t,vf as Xe,w as et,wa as Z,xa as j,y as tt,ya as T,z as kt}from"./chunk-SKPDQO4E.js";var ie=class s{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new b,this.gotoIndex=new b,this.title=null}clickItem(){this.disabled||(this.type==="page"?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(e){let{locale:t,index:i,type:o}=e;(t||i||o)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"17.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"li[nz-pagination-item]",inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},host:{listeners:{click:"clickItem()"},properties:{"class.ant-pagination-prev":"type === 'prev'","class.ant-pagination-next":"type === 'next'","class.ant-pagination-item":"type === 'page'","class.ant-pagination-jump-prev":"type === 'prev_5'","class.ant-pagination-jump-prev-custom-icon":"type === 'prev_5'","class.ant-pagination-jump-next":"type === 'next_5'","class.ant-pagination-jump-next-custom-icon":"type === 'next_5'","class.ant-pagination-disabled":"disabled","class.ant-pagination-item-active":"active","attr.title":"title"}},usesOnChanges:!0,ngImport:a,template:`
    <ng-template #renderItemTemplate let-type let-page="page">
      @switch (type) {
        @case ('page') {
          <a>{{ page }}</a>
        }
        @case ('prev') {
          <button type="button" [disabled]="disabled" [attr.title]="locale.prev_page" class="ant-pagination-item-link">
            @if (direction === 'rtl') {
              <span nz-icon nzType="right"></span>
            } @else {
              <span nz-icon nzType="left"></span>
            }
          </button>
        }
        @case ('next') {
          <button type="button" [disabled]="disabled" [attr.title]="locale.next_page" class="ant-pagination-item-link">
            @if (direction === 'rtl') {
              <span nz-icon nzType="left"></span>
            } @else {
              <span nz-icon nzType="right"></span>
            }
          </button>
        }
        @default {
          <a class="ant-pagination-item-link">
            <div class="ant-pagination-item-container">
              @switch (type) {
                @case ('prev_5') {
                  @if (direction === 'rtl') {
                    <span
                      nz-icon
                      nzType="double-right"
                      class="ant-pagination-item-link-icon"
                    ></span>
                  } @else {
                    <span nz-icon nzType="double-left" class="ant-pagination-item-link-icon"></span>
                  }
                }
                @case ('next_5') {
                  @if (direction === 'rtl') {
                    <span nz-icon nzType="double-left"
                          class="ant-pagination-item-link-icon"></span>
                  } @else {
                    <span nz-icon nzType="double-right" class="ant-pagination-item-link-icon"></span>
                  }
                }
              }
              <span class="ant-pagination-item-ellipsis">\u2022\u2022\u2022</span>
            </div>
          </a>
        }
      }
    </ng-template>
    <ng-template
      [ngTemplateOutlet]="itemRender || renderItemTemplate"
      [ngTemplateOutletContext]="{ $implicit: type, page: index }"
    />
  `,isInline:!0,dependencies:[{kind:"ngmodule",type:te},{kind:"directive",type:He,selector:"[nz-icon]",inputs:["nzSpin","nzRotate","nzType","nzTheme","nzTwotoneColor","nzIconfont"],exportAs:["nzIcon"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ie,decorators:[{type:T,args:[{selector:"li[nz-pagination-item]",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    <ng-template #renderItemTemplate let-type let-page="page">
      @switch (type) {
        @case ('page') {
          <a>{{ page }}</a>
        }
        @case ('prev') {
          <button type="button" [disabled]="disabled" [attr.title]="locale.prev_page" class="ant-pagination-item-link">
            @if (direction === 'rtl') {
              <span nz-icon nzType="right"></span>
            } @else {
              <span nz-icon nzType="left"></span>
            }
          </button>
        }
        @case ('next') {
          <button type="button" [disabled]="disabled" [attr.title]="locale.next_page" class="ant-pagination-item-link">
            @if (direction === 'rtl') {
              <span nz-icon nzType="left"></span>
            } @else {
              <span nz-icon nzType="right"></span>
            }
          </button>
        }
        @default {
          <a class="ant-pagination-item-link">
            <div class="ant-pagination-item-container">
              @switch (type) {
                @case ('prev_5') {
                  @if (direction === 'rtl') {
                    <span
                      nz-icon
                      nzType="double-right"
                      class="ant-pagination-item-link-icon"
                    ></span>
                  } @else {
                    <span nz-icon nzType="double-left" class="ant-pagination-item-link-icon"></span>
                  }
                }
                @case ('next_5') {
                  @if (direction === 'rtl') {
                    <span nz-icon nzType="double-left"
                          class="ant-pagination-item-link-icon"></span>
                  } @else {
                    <span nz-icon nzType="double-right" class="ant-pagination-item-link-icon"></span>
                  }
                }
              }
              <span class="ant-pagination-item-ellipsis">\u2022\u2022\u2022</span>
            </div>
          </a>
        }
      }
    </ng-template>
    <ng-template
      [ngTemplateOutlet]="itemRender || renderItemTemplate"
      [ngTemplateOutletContext]="{ $implicit: type, page: index }"
    />
  `,host:{"[class.ant-pagination-prev]":"type === 'prev'","[class.ant-pagination-next]":"type === 'next'","[class.ant-pagination-item]":"type === 'page'","[class.ant-pagination-jump-prev]":"type === 'prev_5'","[class.ant-pagination-jump-prev-custom-icon]":"type === 'prev_5'","[class.ant-pagination-jump-next]":"type === 'next_5'","[class.ant-pagination-jump-next-custom-icon]":"type === 'next_5'","[class.ant-pagination-disabled]":"disabled","[class.ant-pagination-item-active]":"active","[attr.title]":"title","(click)":"clickItem()"},imports:[te,S],standalone:!0}]}],propDecorators:{active:[{type:n}],locale:[{type:n}],index:[{type:n}],disabled:[{type:n}],direction:[{type:n}],type:[{type:n}],itemRender:[{type:n}],diffIndex:[{type:x}],gotoIndex:[{type:x}]}});var ze=class s{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new b,this.pageSizeChange=new b,this.listOfPageSizeOption=[]}onPageSizeChange(e){this.pageSize!==e&&this.pageSizeChange.next(e)}jumpToPageViaInput(e){let t=e.target,i=Math.floor(zt(t.value,this.pageIndex));this.pageIndexChange.next(i),t.value=""}ngOnChanges(e){let{pageSize:t,pageSizeOptions:i,locale:o}=e;(t||i||o)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(l=>({value:l,label:`${l} ${this.locale.items_per_page}`})))}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"17.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"li[nz-pagination-options]",inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},host:{classAttribute:"ant-pagination-options"},usesOnChanges:!0,ngImport:a,template:`
    @if (showSizeChanger) {
      <nz-select
        class="ant-pagination-options-size-changer"
        [nzDisabled]="disabled"
        [nzSize]="nzSize"
        [ngModel]="pageSize"
        (ngModelChange)="onPageSizeChange($event)"
      >
        @for (option of listOfPageSizeOption; track option.value) {
          <nz-option [nzLabel]="option.label" [nzValue]="option.value" />
        }
      </nz-select>
    }

    @if (showQuickJumper) {
      <div class="ant-pagination-options-quick-jumper">
        {{ locale.jump_to }}
        <input [disabled]="disabled" (keydown.enter)="jumpToPageViaInput($event)" />
        {{ locale.page }}
      </div>
    }
  `,isInline:!0,dependencies:[{kind:"ngmodule",type:vt},{kind:"component",type:Xt,selector:"nz-option",inputs:["nzTitle","nzLabel","nzValue","nzKey","nzDisabled","nzHide","nzCustomContent"],exportAs:["nzOption"]},{kind:"component",type:Ht,selector:"nz-select",inputs:["nzId","nzSize","nzStatus","nzOptionHeightPx","nzOptionOverflowSize","nzDropdownClassName","nzDropdownMatchSelectWidth","nzDropdownStyle","nzNotFoundContent","nzPlaceHolder","nzPlacement","nzMaxTagCount","nzDropdownRender","nzCustomTemplate","nzSuffixIcon","nzClearIcon","nzRemoveIcon","nzMenuItemSelectedIcon","nzTokenSeparators","nzMaxTagPlaceholder","nzMaxMultipleCount","nzMode","nzFilterOption","compareWith","nzAllowClear","nzBorderless","nzShowSearch","nzLoading","nzAutoFocus","nzAutoClearSearchValue","nzServerSearch","nzDisabled","nzOpen","nzSelectOnTab","nzBackdrop","nzOptions","nzShowArrow"],outputs:["nzOnSearch","nzScrollToBottom","nzOpenChange","nzBlur","nzFocus"],exportAs:["nzSelect"]},{kind:"ngmodule",type:ee},{kind:"directive",type:je,selector:"[formControlName],[ngModel],[formControl]"},{kind:"directive",type:Qe,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ze,decorators:[{type:T,args:[{selector:"li[nz-pagination-options]",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    @if (showSizeChanger) {
      <nz-select
        class="ant-pagination-options-size-changer"
        [nzDisabled]="disabled"
        [nzSize]="nzSize"
        [ngModel]="pageSize"
        (ngModelChange)="onPageSizeChange($event)"
      >
        @for (option of listOfPageSizeOption; track option.value) {
          <nz-option [nzLabel]="option.label" [nzValue]="option.value" />
        }
      </nz-select>
    }

    @if (showQuickJumper) {
      <div class="ant-pagination-options-quick-jumper">
        {{ locale.jump_to }}
        <input [disabled]="disabled" (keydown.enter)="jumpToPageViaInput($event)" />
        {{ locale.page }}
      </div>
    }
  `,host:{class:"ant-pagination-options"},imports:[vt,ee],standalone:!0}]}],ctorParameters:()=>[],propDecorators:{nzSize:[{type:n}],disabled:[{type:n}],showSizeChanger:[{type:n}],showQuickJumper:[{type:n}],locale:[{type:n}],total:[{type:n}],pageIndex:[{type:n}],pageSize:[{type:n}],pageSizeOptions:[{type:n}],pageIndexChange:[{type:x}],pageSizeChange:[{type:x}]}});var ue=class s{constructor(e,t,i,o){this.cdr=e,this.renderer=t,this.elementRef=i,this.directionality=o,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new b,this.pageSizeChange=new b,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new k,t.removeChild(t.parentNode(i.nativeElement),i.nativeElement)}ngOnInit(){this.directionality.change?.pipe(r(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){this.dir==="rtl"?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(e){this.onPageIndexChange(e)}jumpDiff(e){this.jumpPage(this.pageIndex+e)}trackByPageItem(e,t){return`${t.type}-${t.index}`}onPageIndexChange(e){this.pageIndexChange.next(e)}onPageSizeChange(e){this.pageSizeChange.next(e)}getLastIndex(e,t){return Math.ceil(e/t)}buildIndexes(){let e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e)}getListOfPageItem(e,t){let i=l=>{let d={type:"prev",disabled:e===1},h={type:"next",disabled:e===t};return[d,...l,h]},o=(l,d)=>{let h=[];for(let C=l;C<=d;C++)h.push({index:C,type:"page"});return h};return t<=9?i(o(1,t)):i(((d,h)=>{let C=[],I={type:"prev_5"},p={type:"next_5"},A=o(1,1),me=o(t,t);if(d<5)C=[...o(2,d===4?6:5),p];else if(d<h-3)C=[I,...o(d-2,d+2),p];else{let Ne=d===h-3?h-5:h-4;C=[I,...o(Ne,h-1)]}return[...A,...C,...me]})(e,t))}ngOnChanges(e){let{pageIndex:t,pageSize:i,total:o}=e;(t||i||o)&&(this.ranges=[(this.pageIndex-1)*this.pageSize+1,Math.min(this.pageIndex*this.pageSize,this.total)],this.buildIndexes())}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:F},{token:$},{token:O},{token:X,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"17.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-pagination-default",inputs:{nzSize:"nzSize",itemRender:"itemRender",showTotal:"showTotal",disabled:"disabled",locale:"locale",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},viewQueries:[{propertyName:"template",first:!0,predicate:["containerTemplate"],descendants:!0,static:!0}],usesOnChanges:!0,ngImport:a,template:`
    <ng-template #containerTemplate>
      <ul>
        @if (showTotal) {
          <li class="ant-pagination-total-text">
            <ng-template
              [ngTemplateOutlet]="showTotal"
              [ngTemplateOutletContext]="{ $implicit: total, range: ranges }"
            />
          </li>
        }

        @for (page of listOfPageItem; track trackByPageItem) {
          <li
            nz-pagination-item
            [locale]="locale"
            [type]="page.type"
            [index]="page.index"
            [disabled]="!!page.disabled"
            [itemRender]="itemRender"
            [active]="pageIndex === page.index"
            (gotoIndex)="jumpPage($event)"
            (diffIndex)="jumpDiff($event)"
            [direction]="dir"
          ></li>
        }

        @if (showQuickJumper || showSizeChanger) {
          <li
            nz-pagination-options
            [total]="total"
            [locale]="locale"
            [disabled]="disabled"
            [nzSize]="nzSize"
            [showSizeChanger]="showSizeChanger"
            [showQuickJumper]="showQuickJumper"
            [pageIndex]="pageIndex"
            [pageSize]="pageSize"
            [pageSizeOptions]="pageSizeOptions"
            (pageIndexChange)="onPageIndexChange($event)"
            (pageSizeChange)="onPageSizeChange($event)"
          ></li>
        }
      </ul>
    </ng-template>
  `,isInline:!0,dependencies:[{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"component",type:ie,selector:"li[nz-pagination-item]",inputs:["active","locale","index","disabled","direction","type","itemRender"],outputs:["diffIndex","gotoIndex"]},{kind:"component",type:ze,selector:"li[nz-pagination-options]",inputs:["nzSize","disabled","showSizeChanger","showQuickJumper","locale","total","pageIndex","pageSize","pageSizeOptions"],outputs:["pageIndexChange","pageSizeChange"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ue,decorators:[{type:T,args:[{selector:"nz-pagination-default",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    <ng-template #containerTemplate>
      <ul>
        @if (showTotal) {
          <li class="ant-pagination-total-text">
            <ng-template
              [ngTemplateOutlet]="showTotal"
              [ngTemplateOutletContext]="{ $implicit: total, range: ranges }"
            />
          </li>
        }

        @for (page of listOfPageItem; track trackByPageItem) {
          <li
            nz-pagination-item
            [locale]="locale"
            [type]="page.type"
            [index]="page.index"
            [disabled]="!!page.disabled"
            [itemRender]="itemRender"
            [active]="pageIndex === page.index"
            (gotoIndex)="jumpPage($event)"
            (diffIndex)="jumpDiff($event)"
            [direction]="dir"
          ></li>
        }

        @if (showQuickJumper || showSizeChanger) {
          <li
            nz-pagination-options
            [total]="total"
            [locale]="locale"
            [disabled]="disabled"
            [nzSize]="nzSize"
            [showSizeChanger]="showSizeChanger"
            [showQuickJumper]="showQuickJumper"
            [pageIndex]="pageIndex"
            [pageSize]="pageSize"
            [pageSizeOptions]="pageSizeOptions"
            (pageIndexChange)="onPageIndexChange($event)"
            (pageSizeChange)="onPageSizeChange($event)"
          ></li>
        }
      </ul>
    </ng-template>
  `,imports:[S,ie,ze],standalone:!0}]}],ctorParameters:()=>[{type:F},{type:$},{type:O},{type:X,decorators:[{type:B}]}],propDecorators:{template:[{type:Z,args:["containerTemplate",{static:!0}]}],nzSize:[{type:n}],itemRender:[{type:n}],showTotal:[{type:n}],disabled:[{type:n}],locale:[{type:n}],showSizeChanger:[{type:n}],showQuickJumper:[{type:n}],total:[{type:n}],pageIndex:[{type:n}],pageSize:[{type:n}],pageSizeOptions:[{type:n}],pageIndexChange:[{type:x}],pageSizeChange:[{type:x}]}});var fe=class s{constructor(e,t,i,o){this.cdr=e,this.renderer=t,this.elementRef=i,this.directionality=o,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new b,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new k,t.removeChild(t.parentNode(i.nativeElement),i.nativeElement)}ngOnInit(){this.directionality.change?.pipe(r(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){this.dir==="rtl"?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(e){let t=e.target,i=zt(t.value,this.pageIndex);this.onPageIndexChange(i),t.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(e){this.pageIndexChange.next(e)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=this.pageIndex===1,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(e){let{pageIndex:t,total:i,pageSize:o}=e;(t||i||o)&&this.updateBindingValue()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:F},{token:$},{token:O},{token:X,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-pagination-simple",inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},viewQueries:[{propertyName:"template",first:!0,predicate:["containerTemplate"],descendants:!0,static:!0}],usesOnChanges:!0,ngImport:a,template:`
    <ng-template #containerTemplate>
      <ul>
        <li
          nz-pagination-item
          [locale]="locale"
          [attr.title]="locale.prev_page"
          [disabled]="isFirstIndex"
          [direction]="dir"
          (click)="prePage()"
          type="prev"
          [itemRender]="itemRender"
        ></li>
        <li [attr.title]="pageIndex + '/' + lastIndex" class="ant-pagination-simple-pager">
          <input [disabled]="disabled" [value]="pageIndex" (keydown.enter)="jumpToPageViaInput($event)" size="3" />
          <span class="ant-pagination-slash">/</span>
          {{ lastIndex }}
        </li>
        <li
          nz-pagination-item
          [locale]="locale"
          [attr.title]="locale?.next_page"
          [disabled]="isLastIndex"
          [direction]="dir"
          (click)="nextPage()"
          type="next"
          [itemRender]="itemRender"
        ></li>
      </ul>
    </ng-template>
  `,isInline:!0,dependencies:[{kind:"component",type:ie,selector:"li[nz-pagination-item]",inputs:["active","locale","index","disabled","direction","type","itemRender"],outputs:["diffIndex","gotoIndex"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:fe,decorators:[{type:T,args:[{selector:"nz-pagination-simple",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    <ng-template #containerTemplate>
      <ul>
        <li
          nz-pagination-item
          [locale]="locale"
          [attr.title]="locale.prev_page"
          [disabled]="isFirstIndex"
          [direction]="dir"
          (click)="prePage()"
          type="prev"
          [itemRender]="itemRender"
        ></li>
        <li [attr.title]="pageIndex + '/' + lastIndex" class="ant-pagination-simple-pager">
          <input [disabled]="disabled" [value]="pageIndex" (keydown.enter)="jumpToPageViaInput($event)" size="3" />
          <span class="ant-pagination-slash">/</span>
          {{ lastIndex }}
        </li>
        <li
          nz-pagination-item
          [locale]="locale"
          [attr.title]="locale?.next_page"
          [disabled]="isLastIndex"
          [direction]="dir"
          (click)="nextPage()"
          type="next"
          [itemRender]="itemRender"
        ></li>
      </ul>
    </ng-template>
  `,imports:[ie],standalone:!0}]}],ctorParameters:()=>[{type:F},{type:$},{type:O},{type:X,decorators:[{type:B}]}],propDecorators:{template:[{type:Z,args:["containerTemplate",{static:!0}]}],itemRender:[{type:n}],disabled:[{type:n}],locale:[{type:n}],total:[{type:n}],pageIndex:[{type:n}],pageSize:[{type:n}],pageIndexChange:[{type:x}]}});var en="pagination",D=class s{validatePageIndex(e,t){return e>t?t:e<1?1:e}onPageIndexChange(e){let t=this.getLastIndex(this.nzTotal,this.nzPageSize),i=this.validatePageIndex(e,t);i!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=i,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(e){this.nzPageSize=e,this.nzPageSizeChange.emit(e);let t=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>t&&this.onPageIndexChange(t)}onTotalChange(e){let t=this.getLastIndex(e,this.nzPageSize);this.nzPageIndex>t&&Promise.resolve().then(()=>{this.onPageIndexChange(t),this.cdr.markForCheck()})}getLastIndex(e,t){return Math.ceil(e/t)}constructor(e,t,i,o,l){this.i18n=e,this.cdr=t,this.breakpointService=i,this.nzConfigService=o,this.directionality=l,this._nzModuleName=en,this.nzPageSizeChange=new b,this.nzPageIndexChange=new b,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new k,this.total$=new V(1)}ngOnInit(){this.i18n.localeChange.pipe(r(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe(r(this.destroy$)).subscribe(e=>{this.onTotalChange(e)}),this.breakpointService.subscribe(Wt).pipe(r(this.destroy$)).subscribe(e=>{this.nzResponsive&&(this.size=e===Lt.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe(r(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(e){let{nzHideOnSinglePage:t,nzTotal:i,nzPageSize:o,nzSize:l}=e;i&&this.total$.next(this.nzTotal),(t||i||o)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),l&&(this.size=l.currentValue)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:Ye},{token:F},{token:ft},{token:U},{token:X,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"17.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-pagination",inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},host:{properties:{"class.ant-pagination-simple":"nzSimple","class.ant-pagination-disabled":"nzDisabled","class.ant-pagination-mini":"!nzSimple && size === 'small'","class.ant-pagination-rtl":"dir === 'rtl'"},classAttribute:"ant-pagination"},exportAs:["nzPagination"],usesOnChanges:!0,ngImport:a,template:`
    @if (showPagination) {
      @if (nzSimple) {
        <ng-template [ngTemplateOutlet]="simplePagination.template" />
      } @else {
        <ng-template [ngTemplateOutlet]="defaultPagination.template" />
      }
    }

    <nz-pagination-simple
      #simplePagination
      [disabled]="nzDisabled"
      [itemRender]="nzItemRender"
      [locale]="locale"
      [pageSize]="nzPageSize"
      [total]="nzTotal"
      [pageIndex]="nzPageIndex"
      (pageIndexChange)="onPageIndexChange($event)"
    ></nz-pagination-simple>
    <nz-pagination-default
      #defaultPagination
      [nzSize]="size"
      [itemRender]="nzItemRender"
      [showTotal]="nzShowTotal"
      [disabled]="nzDisabled"
      [locale]="locale"
      [showSizeChanger]="nzShowSizeChanger"
      [showQuickJumper]="nzShowQuickJumper"
      [total]="nzTotal"
      [pageIndex]="nzPageIndex"
      [pageSize]="nzPageSize"
      [pageSizeOptions]="nzPageSizeOptions"
      (pageIndexChange)="onPageIndexChange($event)"
      (pageSizeChange)="onPageSizeChange($event)"
    ></nz-pagination-default>
  `,isInline:!0,dependencies:[{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"component",type:fe,selector:"nz-pagination-simple",inputs:["itemRender","disabled","locale","total","pageIndex","pageSize"],outputs:["pageIndexChange"]},{kind:"component",type:ue,selector:"nz-pagination-default",inputs:["nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions"],outputs:["pageIndexChange","pageSizeChange"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([E()],D.prototype,"nzSize",void 0);f([E()],D.prototype,"nzPageSizeOptions",void 0);f([E(),y()],D.prototype,"nzShowSizeChanger",void 0);f([E(),y()],D.prototype,"nzShowQuickJumper",void 0);f([E(),y()],D.prototype,"nzSimple",void 0);f([y()],D.prototype,"nzDisabled",void 0);f([y()],D.prototype,"nzResponsive",void 0);f([y()],D.prototype,"nzHideOnSinglePage",void 0);f([Xe()],D.prototype,"nzTotal",void 0);f([Xe()],D.prototype,"nzPageIndex",void 0);f([Xe()],D.prototype,"nzPageSize",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:D,decorators:[{type:T,args:[{selector:"nz-pagination",exportAs:"nzPagination",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    @if (showPagination) {
      @if (nzSimple) {
        <ng-template [ngTemplateOutlet]="simplePagination.template" />
      } @else {
        <ng-template [ngTemplateOutlet]="defaultPagination.template" />
      }
    }

    <nz-pagination-simple
      #simplePagination
      [disabled]="nzDisabled"
      [itemRender]="nzItemRender"
      [locale]="locale"
      [pageSize]="nzPageSize"
      [total]="nzTotal"
      [pageIndex]="nzPageIndex"
      (pageIndexChange)="onPageIndexChange($event)"
    ></nz-pagination-simple>
    <nz-pagination-default
      #defaultPagination
      [nzSize]="size"
      [itemRender]="nzItemRender"
      [showTotal]="nzShowTotal"
      [disabled]="nzDisabled"
      [locale]="locale"
      [showSizeChanger]="nzShowSizeChanger"
      [showQuickJumper]="nzShowQuickJumper"
      [total]="nzTotal"
      [pageIndex]="nzPageIndex"
      [pageSize]="nzPageSize"
      [pageSizeOptions]="nzPageSizeOptions"
      (pageIndexChange)="onPageIndexChange($event)"
      (pageSizeChange)="onPageSizeChange($event)"
    ></nz-pagination-default>
  `,host:{class:"ant-pagination","[class.ant-pagination-simple]":"nzSimple","[class.ant-pagination-disabled]":"nzDisabled","[class.ant-pagination-mini]":"!nzSimple && size === 'small'","[class.ant-pagination-rtl]":"dir === 'rtl'"},imports:[S,fe,ue],standalone:!0}]}],ctorParameters:()=>[{type:Ye},{type:F},{type:ft},{type:U},{type:X,decorators:[{type:B}]}],propDecorators:{nzPageSizeChange:[{type:x}],nzPageIndexChange:[{type:x}],nzShowTotal:[{type:n}],nzItemRender:[{type:n}],nzSize:[{type:n}],nzPageSizeOptions:[{type:n}],nzShowSizeChanger:[{type:n}],nzShowQuickJumper:[{type:n}],nzSimple:[{type:n}],nzDisabled:[{type:n}],nzResponsive:[{type:n}],nzHideOnSinglePage:[{type:n}],nzTotal:[{type:n}],nzPageIndex:[{type:n}],nzPageSize:[{type:n}]}});var Ze=class s{static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.NgModule})}static{this.\u0275mod=Be({minVersion:"14.0.0",version:"17.3.8",ngImport:a,type:s,imports:[D,fe,ze,ie,ue],exports:[D]})}static{this.\u0275inj=Ae({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,imports:[D,fe,ze,ie,ue]})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Ze,decorators:[{type:We,args:[{imports:[D,fe,ze,ie,ue],exports:[D]}]}]});var Zt="spin",W=class s{constructor(e,t,i){this.nzConfigService=e,this.cdr=t,this.directionality=i,this._nzModuleName=Zt,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new k,this.spinning$=new M(this.nzSpinning),this.delay$=new V(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe(Y(this.nzDelay),Le(),L(t=>t===0?this.spinning$:this.spinning$.pipe(Dt(i=>kt(i?t:0)))),r(this.destroy$)).subscribe(t=>{this.isLoading=t,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(Zt).pipe(r(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe(r(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){let{nzSpinning:t,nzDelay:i}=e;t&&this.spinning$.next(this.nzSpinning),i&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:U},{token:F},{token:X,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-spin",inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},host:{properties:{"class.ant-spin-nested-loading":"!nzSimple"}},exportAs:["nzSpin"],usesOnChanges:!0,ngImport:a,template:`
    <ng-template #defaultTemplate>
      <span class="ant-spin-dot ant-spin-dot-spin">
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
      </span>
    </ng-template>
    <div *ngIf="isLoading">
      <div
        class="ant-spin"
        [class.ant-spin-rtl]="dir === 'rtl'"
        [class.ant-spin-spinning]="isLoading"
        [class.ant-spin-lg]="nzSize === 'large'"
        [class.ant-spin-sm]="nzSize === 'small'"
        [class.ant-spin-show-text]="nzTip"
      >
        <ng-template [ngTemplateOutlet]="nzIndicator || defaultTemplate"></ng-template>
        <div class="ant-spin-text" *ngIf="nzTip">{{ nzTip }}</div>
      </div>
    </div>
    <div *ngIf="!nzSimple" class="ant-spin-container" [class.ant-spin-blur]="isLoading">
      <ng-content></ng-content>
    </div>
  `,isInline:!0,dependencies:[{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}],encapsulation:c.None})}};f([E()],W.prototype,"nzIndicator",void 0);f([Xe()],W.prototype,"nzDelay",void 0);f([y()],W.prototype,"nzSimple",void 0);f([y()],W.prototype,"nzSpinning",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:W,decorators:[{type:T,args:[{selector:"nz-spin",exportAs:"nzSpin",preserveWhitespaces:!1,encapsulation:c.None,template:`
    <ng-template #defaultTemplate>
      <span class="ant-spin-dot ant-spin-dot-spin">
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
        <i class="ant-spin-dot-item"></i>
      </span>
    </ng-template>
    <div *ngIf="isLoading">
      <div
        class="ant-spin"
        [class.ant-spin-rtl]="dir === 'rtl'"
        [class.ant-spin-spinning]="isLoading"
        [class.ant-spin-lg]="nzSize === 'large'"
        [class.ant-spin-sm]="nzSize === 'small'"
        [class.ant-spin-show-text]="nzTip"
      >
        <ng-template [ngTemplateOutlet]="nzIndicator || defaultTemplate"></ng-template>
        <div class="ant-spin-text" *ngIf="nzTip">{{ nzTip }}</div>
      </div>
    </div>
    <div *ngIf="!nzSimple" class="ant-spin-container" [class.ant-spin-blur]="isLoading">
      <ng-content></ng-content>
    </div>
  `,host:{"[class.ant-spin-nested-loading]":"!nzSimple"},imports:[v,S],standalone:!0}]}],ctorParameters:()=>[{type:U},{type:F},{type:X,decorators:[{type:B}]}],propDecorators:{nzIndicator:[{type:n}],nzSize:[{type:n}],nzTip:[{type:n}],nzDelay:[{type:n}],nzSimple:[{type:n}],nzSpinning:[{type:n}]}});var Ot=class s{static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.NgModule})}static{this.\u0275mod=Be({minVersion:"14.0.0",version:"17.3.8",ngImport:a,type:s,imports:[W],exports:[W]})}static{this.\u0275inj=Ae({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Ot,decorators:[{type:We,args:[{imports:[W],exports:[W]}]}]});var nn="filterTrigger",K=class s{onVisibleChange(e){this.nzVisible=e,this.nzVisibleChange.next(e)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}constructor(e,t,i,o){this.nzConfigService=e,this.ngZone=t,this.cdr=i,this.destroy$=o,this._nzModuleName=nn,this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new b}ngOnInit(){this.ngZone.runOutsideAngular(()=>{tt(this.nzDropdown.nativeElement,"click").pipe(r(this.destroy$)).subscribe(e=>{e.stopPropagation()})})}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:U},{token:J},{token:F},{token:ne}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-filter-trigger",inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},providers:[ne],viewQueries:[{propertyName:"nzDropdown",first:!0,predicate:Je,descendants:!0,read:O,static:!0}],exportAs:["nzFilterTrigger"],ngImport:a,template:`
    <span
      nz-dropdown
      class="ant-table-filter-trigger"
      nzTrigger="click"
      nzPlacement="bottomRight"
      [nzBackdrop]="nzBackdrop"
      [nzClickHide]="false"
      [nzDropdownMenu]="nzDropdownMenu"
      [class.active]="nzActive"
      [class.ant-table-filter-open]="nzVisible"
      [nzVisible]="nzVisible"
      (nzVisibleChange)="onVisibleChange($event)"
    >
      <ng-content></ng-content>
    </span>
  `,isInline:!0,dependencies:[{kind:"ngmodule",type:we},{kind:"directive",type:Je,selector:"[nz-dropdown]",inputs:["nzDropdownMenu","nzTrigger","nzMatchWidthElement","nzBackdrop","nzClickHide","nzDisabled","nzVisible","nzOverlayClassName","nzOverlayStyle","nzPlacement"],outputs:["nzVisibleChange"],exportAs:["nzDropdown"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([E(),y()],K.prototype,"nzBackdrop",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:K,decorators:[{type:T,args:[{selector:"nz-filter-trigger",exportAs:"nzFilterTrigger",changeDetection:g.OnPush,preserveWhitespaces:!1,encapsulation:c.None,template:`
    <span
      nz-dropdown
      class="ant-table-filter-trigger"
      nzTrigger="click"
      nzPlacement="bottomRight"
      [nzBackdrop]="nzBackdrop"
      [nzClickHide]="false"
      [nzDropdownMenu]="nzDropdownMenu"
      [class.active]="nzActive"
      [class.ant-table-filter-open]="nzVisible"
      [nzVisible]="nzVisible"
      (nzVisibleChange)="onVisibleChange($event)"
    >
      <ng-content></ng-content>
    </span>
  `,providers:[ne],imports:[we],standalone:!0}]}],ctorParameters:()=>[{type:U},{type:J},{type:F},{type:ne}],propDecorators:{nzActive:[{type:n}],nzDropdownMenu:[{type:n}],nzVisible:[{type:n}],nzBackdrop:[{type:n}],nzVisibleChange:[{type:x}],nzDropdown:[{type:Z,args:[Je,{static:!0,read:O}]}]}});var ye=class s{trackByValue(e,t){return t.value}check(e){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(t=>t===e?st(at({},t),{checked:!e.checked}):t),e.checked=!e.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(t=>st(at({},t),{checked:t===e})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(e){this.isVisible=e,e?this.listOfChecked=this.listOfParsedFilter.filter(t=>t.checked).map(t=>t.value):this.emitFilterData()}emitFilterData(){let e=this.listOfParsedFilter.filter(t=>t.checked).map(t=>t.value);Rt(this.listOfChecked,e)||(this.filterMultiple?this.filterChange.emit(e):this.filterChange.emit(e.length>0?e[0]:null))}parseListOfFilter(e,t){return e.map(i=>{let o=t?!1:!!i.byDefault;return{text:i.text,value:i.value,checked:o}})}getCheckedStatus(e){return e.some(t=>t.checked)}constructor(e,t){this.cdr=e,this.i18n=t,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new b,this.destroy$=new k,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}ngOnInit(){this.i18n.localeChange.pipe(r(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(e){let{listOfFilter:t}=e;t&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:F},{token:Ye}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-filter",inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},host:{classAttribute:"ant-table-filter-column"},usesOnChanges:!0,ngImport:a,template:`
    <span class="ant-table-column-title">
      <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    </span>
    <ng-container *ngIf="!customFilter; else extraTemplate">
      <nz-filter-trigger
        [nzVisible]="isVisible"
        [nzActive]="isChecked"
        [nzDropdownMenu]="filterMenu"
        (nzVisibleChange)="onVisibleChange($event)"
      >
        <span nz-icon nzType="filter" nzTheme="fill"></span>
      </nz-filter-trigger>
      <nz-dropdown-menu #filterMenu="nzDropdownMenu">
        <div class="ant-table-filter-dropdown">
          <ul nz-menu>
            <li
              nz-menu-item
              [nzSelected]="f.checked"
              *ngFor="let f of listOfParsedFilter; trackBy: trackByValue"
              (click)="check(f)"
            >
              <label nz-radio *ngIf="!filterMultiple" [ngModel]="f.checked" (ngModelChange)="check(f)"></label>
              <label nz-checkbox *ngIf="filterMultiple" [ngModel]="f.checked" (ngModelChange)="check(f)"></label>
              <span>{{ f.text }}</span>
            </li>
          </ul>
          <div class="ant-table-filter-dropdown-btns">
            <button nz-button nzType="link" nzSize="small" (click)="reset()" [disabled]="!isChecked">
              {{ locale.filterReset }}
            </button>
            <button nz-button nzType="primary" nzSize="small" (click)="confirm()">{{ locale.filterConfirm }}</button>
          </div>
        </div>
      </nz-dropdown-menu>
    </ng-container>
  `,isInline:!0,dependencies:[{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"component",type:K,selector:"nz-filter-trigger",inputs:["nzActive","nzDropdownMenu","nzVisible","nzBackdrop"],outputs:["nzVisibleChange"],exportAs:["nzFilterTrigger"]},{kind:"ngmodule",type:te},{kind:"directive",type:He,selector:"[nz-icon]",inputs:["nzSpin","nzRotate","nzType","nzTheme","nzTwotoneColor","nzIconfont"],exportAs:["nzIcon"]},{kind:"ngmodule",type:we},{kind:"directive",type:St,selector:"[nz-menu]",inputs:["nzInlineIndent","nzTheme","nzMode","nzInlineCollapsed","nzSelectable"],outputs:["nzClick"],exportAs:["nzMenu"]},{kind:"component",type:Ct,selector:"[nz-menu-item]",inputs:["nzPaddingLeft","nzDisabled","nzSelected","nzDanger","nzMatchRouterExact","nzMatchRouter"],exportAs:["nzMenuItem"]},{kind:"component",type:bt,selector:"nz-dropdown-menu",exportAs:["nzDropdownMenu"]},{kind:"directive",type:le,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{kind:"component",type:It,selector:"[nz-radio],[nz-radio-button]",inputs:["nzValue","nzDisabled","nzAutoFocus","nz-radio-button"],exportAs:["nzRadio"]},{kind:"ngmodule",type:Te},{kind:"component",type:it,selector:"[nz-checkbox]",inputs:["nzValue","nzAutoFocus","nzDisabled","nzIndeterminate","nzChecked","nzId"],outputs:["nzCheckedChange"],exportAs:["nzCheckbox"]},{kind:"ngmodule",type:ee},{kind:"directive",type:je,selector:"[formControlName],[ngModel],[formControl]"},{kind:"directive",type:Qe,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]},{kind:"ngmodule",type:yt},{kind:"component",type:jt,selector:"button[nz-button], a[nz-button]",inputs:["nzBlock","nzGhost","nzSearch","nzLoading","nzDanger","disabled","tabIndex","nzType","nzShape","nzSize"],exportAs:["nzButton"]},{kind:"directive",type:At,selector:"[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group",inputs:["hidden"]},{kind:"directive",type:Bt,selector:'[nz-wave],button[nz-button]:not([nzType="link"]):not([nzType="text"])',inputs:["nzWaveExtraNode"],exportAs:["nzWave"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ye,decorators:[{type:T,args:[{selector:"nz-table-filter",preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <span class="ant-table-column-title">
      <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    </span>
    <ng-container *ngIf="!customFilter; else extraTemplate">
      <nz-filter-trigger
        [nzVisible]="isVisible"
        [nzActive]="isChecked"
        [nzDropdownMenu]="filterMenu"
        (nzVisibleChange)="onVisibleChange($event)"
      >
        <span nz-icon nzType="filter" nzTheme="fill"></span>
      </nz-filter-trigger>
      <nz-dropdown-menu #filterMenu="nzDropdownMenu">
        <div class="ant-table-filter-dropdown">
          <ul nz-menu>
            <li
              nz-menu-item
              [nzSelected]="f.checked"
              *ngFor="let f of listOfParsedFilter; trackBy: trackByValue"
              (click)="check(f)"
            >
              <label nz-radio *ngIf="!filterMultiple" [ngModel]="f.checked" (ngModelChange)="check(f)"></label>
              <label nz-checkbox *ngIf="filterMultiple" [ngModel]="f.checked" (ngModelChange)="check(f)"></label>
              <span>{{ f.text }}</span>
            </li>
          </ul>
          <div class="ant-table-filter-dropdown-btns">
            <button nz-button nzType="link" nzSize="small" (click)="reset()" [disabled]="!isChecked">
              {{ locale.filterReset }}
            </button>
            <button nz-button nzType="primary" nzSize="small" (click)="confirm()">{{ locale.filterConfirm }}</button>
          </div>
        </div>
      </nz-dropdown-menu>
    </ng-container>
  `,host:{class:"ant-table-filter-column"},imports:[S,v,K,te,we,le,It,Te,ee,yt],standalone:!0}]}],ctorParameters:()=>[{type:F},{type:Ye}],propDecorators:{contentTemplate:[{type:n}],customFilter:[{type:n}],extraTemplate:[{type:n}],filterMultiple:[{type:n}],listOfFilter:[{type:n}],filterChange:[{type:x}]}});var ke=class s{constructor(){this.expand=!1,this.spaceMode=!1,this.expandChange=new b}onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"button[nz-row-expand-button]",inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"},host:{listeners:{click:"onHostClick()"},properties:{type:"'button'","class.ant-table-row-expand-icon-expanded":"!spaceMode && expand === true","class.ant-table-row-expand-icon-collapsed":"!spaceMode && expand === false","class.ant-table-row-expand-icon-spaced":"spaceMode"},classAttribute:"ant-table-row-expand-icon"},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ke,decorators:[{type:j,args:[{selector:"button[nz-row-expand-button]",host:{class:"ant-table-row-expand-icon","[type]":"'button'","[class.ant-table-row-expand-icon-expanded]":"!spaceMode && expand === true","[class.ant-table-row-expand-icon-collapsed]":"!spaceMode && expand === false","[class.ant-table-row-expand-icon-spaced]":"spaceMode","(click)":"onHostClick()"},standalone:!0}]}],ctorParameters:()=>[],propDecorators:{expand:[{type:n}],spaceMode:[{type:n}],expandChange:[{type:x}]}});var De=class s{constructor(){this.indentSize=0}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-row-indent",inputs:{indentSize:"indentSize"},host:{properties:{"style.padding-left.px":"indentSize"},classAttribute:"ant-table-row-indent"},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:De,decorators:[{type:j,args:[{selector:"nz-row-indent",host:{class:"ant-table-row-indent","[style.padding-left.px]":"indentSize"},standalone:!0}]}],ctorParameters:()=>[],propDecorators:{indentSize:[{type:n}]}});var Ce=class s{constructor(){this.listOfSelections=[],this.checked=!1,this.disabled=!1,this.indeterminate=!1,this.label=null,this.showCheckbox=!1,this.showRowSelection=!1,this.checkedChange=new b}onCheckedChange(e){this.checked=e,this.checkedChange.emit(e)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-selection",inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",label:"label",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},host:{classAttribute:"ant-table-selection"},ngImport:a,template:`
    <label
      *ngIf="showCheckbox"
      nz-checkbox
      [class.ant-table-selection-select-all-custom]="showRowSelection"
      [ngModel]="checked"
      [nzDisabled]="disabled"
      [nzIndeterminate]="indeterminate"
      [attr.aria-label]="label"
      (ngModelChange)="onCheckedChange($event)"
    ></label>
    <div class="ant-table-selection-extra" *ngIf="showRowSelection">
      <span nz-dropdown class="ant-table-selection-down" nzPlacement="bottomLeft" [nzDropdownMenu]="selectionMenu">
        <span nz-icon nzType="down"></span>
      </span>
      <nz-dropdown-menu #selectionMenu="nzDropdownMenu">
        <ul nz-menu class="ant-table-selection-menu">
          <li nz-menu-item *ngFor="let selection of listOfSelections" (click)="selection.onSelect()">
            {{ selection.text }}
          </li>
        </ul>
      </nz-dropdown-menu>
    </div>
  `,isInline:!0,dependencies:[{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"ngmodule",type:ee},{kind:"directive",type:je,selector:"[formControlName],[ngModel],[formControl]"},{kind:"directive",type:Qe,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]},{kind:"ngmodule",type:Te},{kind:"component",type:it,selector:"[nz-checkbox]",inputs:["nzValue","nzAutoFocus","nzDisabled","nzIndeterminate","nzChecked","nzId"],outputs:["nzCheckedChange"],exportAs:["nzCheckbox"]},{kind:"ngmodule",type:we},{kind:"directive",type:St,selector:"[nz-menu]",inputs:["nzInlineIndent","nzTheme","nzMode","nzInlineCollapsed","nzSelectable"],outputs:["nzClick"],exportAs:["nzMenu"]},{kind:"component",type:Ct,selector:"[nz-menu-item]",inputs:["nzPaddingLeft","nzDisabled","nzSelected","nzDanger","nzMatchRouterExact","nzMatchRouter"],exportAs:["nzMenuItem"]},{kind:"directive",type:Je,selector:"[nz-dropdown]",inputs:["nzDropdownMenu","nzTrigger","nzMatchWidthElement","nzBackdrop","nzClickHide","nzDisabled","nzVisible","nzOverlayClassName","nzOverlayStyle","nzPlacement"],outputs:["nzVisibleChange"],exportAs:["nzDropdown"]},{kind:"component",type:bt,selector:"nz-dropdown-menu",exportAs:["nzDropdownMenu"]},{kind:"ngmodule",type:te},{kind:"directive",type:He,selector:"[nz-icon]",inputs:["nzSpin","nzRotate","nzType","nzTheme","nzTwotoneColor","nzIconfont"],exportAs:["nzIcon"]},{kind:"directive",type:le,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Ce,decorators:[{type:T,args:[{selector:"nz-table-selection",preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <label
      *ngIf="showCheckbox"
      nz-checkbox
      [class.ant-table-selection-select-all-custom]="showRowSelection"
      [ngModel]="checked"
      [nzDisabled]="disabled"
      [nzIndeterminate]="indeterminate"
      [attr.aria-label]="label"
      (ngModelChange)="onCheckedChange($event)"
    ></label>
    <div class="ant-table-selection-extra" *ngIf="showRowSelection">
      <span nz-dropdown class="ant-table-selection-down" nzPlacement="bottomLeft" [nzDropdownMenu]="selectionMenu">
        <span nz-icon nzType="down"></span>
      </span>
      <nz-dropdown-menu #selectionMenu="nzDropdownMenu">
        <ul nz-menu class="ant-table-selection-menu">
          <li nz-menu-item *ngFor="let selection of listOfSelections" (click)="selection.onSelect()">
            {{ selection.text }}
          </li>
        </ul>
      </nz-dropdown-menu>
    </div>
  `,host:{class:"ant-table-selection"},imports:[v,ee,Te,we,te,le],standalone:!0}]}],ctorParameters:()=>[],propDecorators:{listOfSelections:[{type:n}],checked:[{type:n}],disabled:[{type:n}],indeterminate:[{type:n}],label:[{type:n}],showCheckbox:[{type:n}],showRowSelection:[{type:n}],checkedChange:[{type:x}]}});var Se=class s{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(e){let{sortDirections:t}=e;t&&(this.isUp=this.sortDirections.indexOf("ascend")!==-1,this.isDown=this.sortDirections.indexOf("descend")!==-1)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-sorters",inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},host:{classAttribute:"ant-table-column-sorters"},usesOnChanges:!0,ngImport:a,template:`
    <span class="ant-table-column-title"><ng-template [ngTemplateOutlet]="contentTemplate"></ng-template></span>
    <span class="ant-table-column-sorter" [class.ant-table-column-sorter-full]="isDown && isUp">
      <span class="ant-table-column-sorter-inner">
        <span
          nz-icon
          nzType="caret-up"
          *ngIf="isUp"
          class="ant-table-column-sorter-up"
          [class.active]="sortOrder === 'ascend'"
        ></span>
        <span
          nz-icon
          nzType="caret-down"
          *ngIf="isDown"
          class="ant-table-column-sorter-down"
          [class.active]="sortOrder === 'descend'"
        ></span>
      </span>
    </span>
  `,isInline:!0,dependencies:[{kind:"ngmodule",type:te},{kind:"directive",type:He,selector:"[nz-icon]",inputs:["nzSpin","nzRotate","nzType","nzTheme","nzTwotoneColor","nzIconfont"],exportAs:["nzIcon"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Se,decorators:[{type:T,args:[{selector:"nz-table-sorters",preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <span class="ant-table-column-title"><ng-template [ngTemplateOutlet]="contentTemplate"></ng-template></span>
    <span class="ant-table-column-sorter" [class.ant-table-column-sorter-full]="isDown && isUp">
      <span class="ant-table-column-sorter-inner">
        <span
          nz-icon
          nzType="caret-up"
          *ngIf="isUp"
          class="ant-table-column-sorter-up"
          [class.active]="sortOrder === 'ascend'"
        ></span>
        <span
          nz-icon
          nzType="caret-down"
          *ngIf="isDown"
          class="ant-table-column-sorter-down"
          [class.active]="sortOrder === 'descend'"
        ></span>
      </span>
    </span>
  `,host:{class:"ant-table-column-sorters"},imports:[te,S,v],standalone:!0}]}],ctorParameters:()=>[],propDecorators:{sortDirections:[{type:n}],sortOrder:[{type:n}],contentTemplate:[{type:n}]}});var re=class s{setAutoLeftWidth(e){this.renderer.setStyle(this.elementRef.nativeElement,"left",e)}setAutoRightWidth(e){this.renderer.setStyle(this.elementRef.nativeElement,"right",e)}setIsFirstRight(e){this.setFixClass(e,"ant-table-cell-fix-right-first")}setIsLastLeft(e){this.setFixClass(e,"ant-table-cell-fix-left-last")}setFixClass(e,t){this.renderer.removeClass(this.elementRef.nativeElement,t),e&&this.renderer.addClass(this.elementRef.nativeElement,t)}constructor(e,t){this.renderer=e,this.elementRef=t,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new k,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=this.nzLeft===""||this.nzLeft===!0,this.isAutoRight=this.nzRight===""||this.nzRight===!0,this.isFixedLeft=this.nzLeft!==!1,this.isFixedRight=this.nzRight!==!1,this.isFixed=this.isFixedLeft||this.isFixedRight;let e=t=>typeof t=="string"&&t!==""?t:null;this.setAutoLeftWidth(e(this.nzLeft)),this.setAutoRightWidth(e(this.nzRight)),this.changes$.next()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:$},{token:O}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"td[nzRight],th[nzRight],td[nzLeft],th[nzLeft]",inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},host:{properties:{"class.ant-table-cell-fix-right":"isFixedRight","class.ant-table-cell-fix-left":"isFixedLeft","style.position":"isFixed? 'sticky' : null"}},usesOnChanges:!0,ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:re,decorators:[{type:j,args:[{selector:"td[nzRight],th[nzRight],td[nzLeft],th[nzLeft]",host:{"[class.ant-table-cell-fix-right]":"isFixedRight","[class.ant-table-cell-fix-left]":"isFixedLeft","[style.position]":"isFixed? 'sticky' : null"},standalone:!0}]}],ctorParameters:()=>[{type:$},{type:O}],propDecorators:{nzRight:[{type:n}],nzLeft:[{type:n}],colspan:[{type:n}],colSpan:[{type:n}]}});var R=class s{setTheadTemplate(e){this.theadTemplate$.next(e)}setHasFixLeft(e){this.hasFixLeft$.next(e)}setHasFixRight(e){this.hasFixRight$.next(e)}setTableWidthConfig(e){this.tableWidthConfigPx$.next(e)}setListOfTh(e){let t=0;e.forEach(o=>{t+=o.colspan&&+o.colspan||o.colSpan&&+o.colSpan||1});let i=e.map(o=>o.nzWidth);this.columnCount$.next(t),this.listOfThWidthConfigPx$.next(i)}setListOfMeasureColumn(e){let t=[];e.forEach(i=>{let o=i.colspan&&+i.colspan||i.colSpan&&+i.colSpan||1;for(let l=0;l<o;l++)t.push(`measure_key_${l}`)}),this.listOfMeasureColumn$.next(t)}setListOfAutoWidth(e){this.listOfAutoWidthPx$.next(e.map(t=>`${t}px`))}setShowEmpty(e){this.showEmpty$.next(e)}setNoResult(e){this.noResult$.next(e)}setScroll(e,t){let i=!!(e||t);i||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(i)}constructor(){this.theadTemplate$=new V(1),this.hasFixLeft$=new V(1),this.hasFixRight$=new V(1),this.hostWidth$=new V(1),this.columnCount$=new V(1),this.showEmpty$=new V(1),this.noResult$=new V(1),this.listOfThWidthConfigPx$=new M([]),this.tableWidthConfigPx$=new M([]),this.manualWidthConfigPx$=_([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe(N(([e,t])=>e.length?e:t)),this.listOfAutoWidthPx$=new V(1),this.listOfListOfThWidthPx$=Ie(this.manualWidthConfigPx$,_([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe(N(([e,t])=>e.length===t.length?e.map((i,o)=>i==="0px"?t[o]||null:t[o]||i):t))),this.listOfMeasureColumn$=new V(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe(N(e=>e.map(t=>parseInt(t,10)))),this.enableAutoMeasure$=new V(1)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Injectable})}static{this.\u0275prov=pt({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:R,decorators:[{type:lt}],ctorParameters:()=>[]});var Pe=class s{constructor(e){this.isInsideTable=!1,this.isInsideTable=!!e}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:R,optional:!0}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])",host:{properties:{"class.ant-table-cell":"isInsideTable"}},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Pe,decorators:[{type:j,args:[{selector:"th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])",host:{"[class.ant-table-cell]":"isInsideTable"},standalone:!0}]}],ctorParameters:()=>[{type:R,decorators:[{type:B}]}]});var G=class s{updatePageSize(e){this.pageSize$.next(e)}updateFrontPagination(e){this.frontPagination$.next(e)}updatePageIndex(e){this.pageIndex$.next(e)}updateListOfData(e){this.listOfData$.next(e)}updateListOfCustomColumn(e){this.listOfCustomColumn$.next(e)}constructor(){this.destroy$=new k,this.pageIndex$=new M(1),this.frontPagination$=new M(!0),this.pageSize$=new M(10),this.listOfData$=new M([]),this.listOfCustomColumn$=new M([]),this.pageIndexDistinct$=this.pageIndex$.pipe(Le()),this.pageSizeDistinct$=this.pageSize$.pipe(Le()),this.listOfCalcOperator$=new M([]),this.queryParams$=_([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe(ot(0),Pt(1),N(([e,t,i])=>({pageIndex:e,pageSize:t,sort:i.filter(o=>o.sortFn).map(o=>({key:o.key,value:o.sortOrder})),filter:i.filter(o=>o.filterFn).map(o=>({key:o.key,value:o.filterValue}))}))),this.listOfDataAfterCalc$=_([this.listOfData$,this.listOfCalcOperator$]).pipe(N(([e,t])=>{let i=[...e],o=t.filter(d=>{let{filterValue:h,filterFn:C}=d;return!(h==null||Array.isArray(h)&&h.length===0)&&typeof C=="function"});for(let d of o){let{filterFn:h,filterValue:C}=d;i=i.filter(I=>h(C,I))}let l=t.filter(d=>d.sortOrder!==null&&typeof d.sortFn=="function").sort((d,h)=>+h.sortPriority-+d.sortPriority);return t.length&&i.sort((d,h)=>{for(let C of l){let{sortFn:I,sortOrder:p}=C;if(I&&p){let A=I(d,h,p);if(A!==0)return p==="ascend"?A:-A}}return 0}),i})),this.listOfFrontEndCurrentPageData$=_([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe(r(this.destroy$),Ue(e=>{let[t,i,o]=e,l=Math.ceil(o.length/i)||1;return t<=l}),N(([e,t,i])=>i.slice((e-1)*t,e*t))),this.listOfCurrentPageData$=this.frontPagination$.pipe(L(e=>e?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe(L(e=>e?this.listOfDataAfterCalc$:this.listOfData$),N(e=>e.length),Le())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Injectable})}static{this.\u0275prov=pt({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:G,decorators:[{type:lt}],ctorParameters:()=>[]});var Fe=class s{constructor(e,t,i){this.el=e,this.renderer=t,this.nzTableDataService=i,this.nzCellControl=null,this.destroy$=new k}ngOnInit(){this.nzTableDataService.listOfCustomColumn$.pipe(r(this.destroy$)).subscribe(e=>{e.length&&e.forEach((t,i)=>{t.value===this.nzCellControl&&(t.default?this.renderer.setStyle(this.el.nativeElement,"display","block"):this.renderer.setStyle(this.el.nativeElement,"display","none"),this.renderer.setStyle(this.el.nativeElement,"order",i),t?.fixWidth?this.renderer.setStyle(this.el.nativeElement,"flex",`1 0 ${t.width}px`):this.renderer.setStyle(this.el.nativeElement,"flex",`1 1 ${t.width}px`))})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:O},{token:$},{token:G}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"td[nzCellControl],th[nzCellControl]",inputs:{nzCellControl:"nzCellControl"},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Fe,decorators:[{type:j,args:[{selector:"td[nzCellControl],th[nzCellControl]",standalone:!0}]}],ctorParameters:()=>[{type:O},{type:$},{type:G}],propDecorators:{nzCellControl:[{type:n}]}});var q=class s{constructor(){this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzLabel=null,this.nzIndentSize=0,this.nzShowExpand=!1,this.nzShowCheckbox=!1,this.nzExpand=!1,this.nzExpandIcon=null,this.nzCheckedChange=new b,this.nzExpandChange=new b,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e)}onExpandChange(e){this.nzExpand=e,this.nzExpandChange.emit(e)}ngOnChanges(e){let t=h=>h&&h.firstChange&&h.currentValue!==void 0,{nzExpand:i,nzChecked:o,nzShowExpand:l,nzShowCheckbox:d}=e;l&&(this.isNzShowExpandChanged=!0),d&&(this.isNzShowCheckboxChanged=!0),t(i)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),t(o)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"td[nzChecked], td[nzDisabled], td[nzIndeterminate], td[nzIndentSize], td[nzExpand], td[nzShowExpand], td[nzShowCheckbox]",inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand",nzExpandIcon:"nzExpandIcon"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},host:{properties:{"class.ant-table-cell-with-append":"nzShowExpand || nzIndentSize > 0","class.ant-table-selection-column":"nzShowCheckbox"}},usesOnChanges:!0,ngImport:a,template:`
    <ng-container *ngIf="nzShowExpand || nzIndentSize > 0">
      <nz-row-indent [indentSize]="nzIndentSize"></nz-row-indent>
      <ng-template #rowExpand>
        <button
          nz-row-expand-button
          [expand]="nzExpand"
          (expandChange)="onExpandChange($event)"
          [spaceMode]="!nzShowExpand"
        ></button>
      </ng-template>
      <ng-container *ngIf="nzExpandIcon; else rowExpand">
        <ng-template [ngTemplateOutlet]="nzExpandIcon"></ng-template>
      </ng-container>
    </ng-container>
    <label
      nz-checkbox
      *ngIf="nzShowCheckbox"
      [nzDisabled]="nzDisabled"
      [ngModel]="nzChecked"
      [nzIndeterminate]="nzIndeterminate"
      [attr.aria-label]="nzLabel"
      (ngModelChange)="onCheckedChange($event)"
    ></label>
    <ng-content></ng-content>
  `,isInline:!0,dependencies:[{kind:"directive",type:De,selector:"nz-row-indent",inputs:["indentSize"]},{kind:"directive",type:ke,selector:"button[nz-row-expand-button]",inputs:["expand","spaceMode"],outputs:["expandChange"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"ngmodule",type:Te},{kind:"component",type:it,selector:"[nz-checkbox]",inputs:["nzValue","nzAutoFocus","nzDisabled","nzIndeterminate","nzChecked","nzId"],outputs:["nzCheckedChange"],exportAs:["nzCheckbox"]},{kind:"ngmodule",type:ee},{kind:"directive",type:je,selector:"[formControlName],[ngModel],[formControl]"},{kind:"directive",type:Qe,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([y()],q.prototype,"nzShowExpand",void 0);f([y()],q.prototype,"nzShowCheckbox",void 0);f([y()],q.prototype,"nzExpand",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:q,decorators:[{type:T,args:[{selector:"td[nzChecked], td[nzDisabled], td[nzIndeterminate], td[nzIndentSize], td[nzExpand], td[nzShowExpand], td[nzShowCheckbox]",changeDetection:g.OnPush,preserveWhitespaces:!1,encapsulation:c.None,template:`
    <ng-container *ngIf="nzShowExpand || nzIndentSize > 0">
      <nz-row-indent [indentSize]="nzIndentSize"></nz-row-indent>
      <ng-template #rowExpand>
        <button
          nz-row-expand-button
          [expand]="nzExpand"
          (expandChange)="onExpandChange($event)"
          [spaceMode]="!nzShowExpand"
        ></button>
      </ng-template>
      <ng-container *ngIf="nzExpandIcon; else rowExpand">
        <ng-template [ngTemplateOutlet]="nzExpandIcon"></ng-template>
      </ng-container>
    </ng-container>
    <label
      nz-checkbox
      *ngIf="nzShowCheckbox"
      [nzDisabled]="nzDisabled"
      [ngModel]="nzChecked"
      [nzIndeterminate]="nzIndeterminate"
      [attr.aria-label]="nzLabel"
      (ngModelChange)="onCheckedChange($event)"
    ></label>
    <ng-content></ng-content>
  `,host:{"[class.ant-table-cell-with-append]":"nzShowExpand || nzIndentSize > 0","[class.ant-table-selection-column]":"nzShowCheckbox"},imports:[De,ke,v,S,Te,ee],standalone:!0}]}],propDecorators:{nzChecked:[{type:n}],nzDisabled:[{type:n}],nzIndeterminate:[{type:n}],nzLabel:[{type:n}],nzIndentSize:[{type:n}],nzShowExpand:[{type:n}],nzShowCheckbox:[{type:n}],nzExpand:[{type:n}],nzExpandIcon:[{type:n}],nzCheckedChange:[{type:x}],nzExpandChange:[{type:x}]}});var H=class s{getNextSortDirection(e,t){let i=e.indexOf(t);return i===e.length-1?e[0]:e[i+1]}setSortOrder(e){this.sortOrderChange$.next(e)}clearSortOrder(){this.sortOrder!==null&&this.setSortOrder(null)}onFilterValueChange(e){this.nzFilterChange.emit(e),this.nzFilterValue=e,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}constructor(e,t,i,o){this.host=e,this.cdr=t,this.ngZone=i,this.destroy$=o,this.manualClickOrder$=new k,this.calcOperatorChange$=new k,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new k,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new b,this.nzSortOrderChange=new b,this.nzFilterChange=new b}ngOnInit(){this.ngZone.runOutsideAngular(()=>tt(this.host.nativeElement,"click").pipe(Ue(()=>this.nzShowSort),r(this.destroy$)).subscribe(()=>{let e=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(e),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe(r(this.destroy$)).subscribe(e=>{this.sortOrder!==e&&(this.sortOrder=e,this.nzSortOrderChange.emit(e)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(e){let{nzSortDirections:t,nzFilters:i,nzSortOrder:o,nzSortFn:l,nzFilterFn:d,nzSortPriority:h,nzFilterMultiple:C,nzShowSort:I,nzShowFilter:p}=e;t&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),o&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),I&&(this.isNzShowSortChanged=!0),p&&(this.isNzShowFilterChanged=!0);let A=me=>me&&me.firstChange&&me.currentValue!==void 0;if((A(o)||A(l))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),A(i)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(i||C)&&this.nzShowFilter){let me=this.nzFilters.filter(Ne=>Ne.byDefault).map(Ne=>Ne.value);this.nzFilterValue=this.nzFilterMultiple?me:me[0]||null}(l||d||h||i)&&this.updateCalcOperator()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:O},{token:F},{token:J},{token:ne}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th[nzColumnKey], th[nzSortFn], th[nzSortOrder], th[nzFilters], th[nzShowSort], th[nzShowFilter], th[nzCustomFilter]",inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},host:{properties:{"class.ant-table-column-has-sorters":"nzShowSort","class.ant-table-column-sort":"sortOrder === 'descend' || sortOrder === 'ascend'"}},providers:[ne],usesOnChanges:!0,ngImport:a,template:`
    <nz-table-filter
      *ngIf="nzShowFilter || nzCustomFilter; else notFilterTemplate"
      [contentTemplate]="notFilterTemplate"
      [extraTemplate]="extraTemplate"
      [customFilter]="nzCustomFilter"
      [filterMultiple]="nzFilterMultiple"
      [listOfFilter]="nzFilters"
      (filterChange)="onFilterValueChange($event)"
    ></nz-table-filter>
    <ng-template #notFilterTemplate>
      <ng-template [ngTemplateOutlet]="nzShowSort ? sortTemplate : contentTemplate"></ng-template>
    </ng-template>
    <ng-template #extraTemplate>
      <ng-content select="[nz-th-extra]"></ng-content>
      <ng-content select="nz-filter-trigger"></ng-content>
    </ng-template>
    <ng-template #sortTemplate>
      <nz-table-sorters
        [sortOrder]="sortOrder"
        [sortDirections]="sortDirections"
        [contentTemplate]="contentTemplate"
      ></nz-table-sorters>
    </ng-template>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,isInline:!0,dependencies:[{kind:"component",type:ye,selector:"nz-table-filter",inputs:["contentTemplate","customFilter","extraTemplate","filterMultiple","listOfFilter"],outputs:["filterChange"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"component",type:Se,selector:"nz-table-sorters",inputs:["sortDirections","sortOrder","contentTemplate"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([y()],H.prototype,"nzShowSort",void 0);f([y()],H.prototype,"nzShowFilter",void 0);f([y()],H.prototype,"nzCustomFilter",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:H,decorators:[{type:T,args:[{selector:"th[nzColumnKey], th[nzSortFn], th[nzSortOrder], th[nzFilters], th[nzShowSort], th[nzShowFilter], th[nzCustomFilter]",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    <nz-table-filter
      *ngIf="nzShowFilter || nzCustomFilter; else notFilterTemplate"
      [contentTemplate]="notFilterTemplate"
      [extraTemplate]="extraTemplate"
      [customFilter]="nzCustomFilter"
      [filterMultiple]="nzFilterMultiple"
      [listOfFilter]="nzFilters"
      (filterChange)="onFilterValueChange($event)"
    ></nz-table-filter>
    <ng-template #notFilterTemplate>
      <ng-template [ngTemplateOutlet]="nzShowSort ? sortTemplate : contentTemplate"></ng-template>
    </ng-template>
    <ng-template #extraTemplate>
      <ng-content select="[nz-th-extra]"></ng-content>
      <ng-content select="nz-filter-trigger"></ng-content>
    </ng-template>
    <ng-template #sortTemplate>
      <nz-table-sorters
        [sortOrder]="sortOrder"
        [sortDirections]="sortDirections"
        [contentTemplate]="contentTemplate"
      ></nz-table-sorters>
    </ng-template>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,host:{"[class.ant-table-column-has-sorters]":"nzShowSort","[class.ant-table-column-sort]":"sortOrder === 'descend' || sortOrder === 'ascend'"},providers:[ne],imports:[ye,v,S,Se],standalone:!0}]}],ctorParameters:()=>[{type:O},{type:F},{type:J},{type:ne}],propDecorators:{nzColumnKey:[{type:n}],nzFilterMultiple:[{type:n}],nzSortOrder:[{type:n}],nzSortPriority:[{type:n}],nzSortDirections:[{type:n}],nzFilters:[{type:n}],nzSortFn:[{type:n}],nzFilterFn:[{type:n}],nzShowSort:[{type:n}],nzShowFilter:[{type:n}],nzCustomFilter:[{type:n}],nzCheckedChange:[{type:x}],nzSortOrderChange:[{type:x}],nzFilterChange:[{type:x}]}});var pe=class s{constructor(e,t){this.renderer=e,this.elementRef=t,this.changes$=new k,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(e){let{nzWidth:t,colspan:i,rowspan:o,colSpan:l,rowSpan:d}=e;if(i||l){let h=this.colspan||this.colSpan;mt(h)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${h}`)}if(o||d){let h=this.rowspan||this.rowSpan;mt(h)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${h}`)}(t||i)&&this.changes$.next()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:$},{token:O}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th",inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},usesOnChanges:!0,ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:pe,decorators:[{type:j,args:[{selector:"th",standalone:!0}]}],ctorParameters:()=>[{type:$},{type:O}],propDecorators:{nzWidth:[{type:n}],colspan:[{type:n}],colSpan:[{type:n}],rowspan:[{type:n}],rowSpan:[{type:n}]}});var ae=class s{constructor(){this.nzSelections=[],this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzLabel=null,this.nzShowCheckbox=!1,this.nzShowRowSelection=!1,this.nzCheckedChange=new b,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e)}ngOnChanges(e){let t=h=>h&&h.firstChange&&h.currentValue!==void 0,{nzChecked:i,nzSelections:o,nzShowExpand:l,nzShowCheckbox:d}=e;l&&(this.isNzShowExpandChanged=!0),d&&(this.isNzShowCheckboxChanged=!0),t(o)&&!this.isNzShowExpandChanged&&(this.nzShowRowSelection=!0),t(i)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th[nzSelections],th[nzChecked],th[nzShowCheckbox],th[nzShowRowSelection]",inputs:{nzSelections:"nzSelections",nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzShowCheckbox:"nzShowCheckbox",nzShowRowSelection:"nzShowRowSelection"},outputs:{nzCheckedChange:"nzCheckedChange"},host:{classAttribute:"ant-table-selection-column"},usesOnChanges:!0,ngImport:a,template:`
    <nz-table-selection
      [checked]="nzChecked"
      [disabled]="nzDisabled"
      [indeterminate]="nzIndeterminate"
      [label]="nzLabel"
      [listOfSelections]="nzSelections"
      [showCheckbox]="nzShowCheckbox"
      [showRowSelection]="nzShowRowSelection"
      (checkedChange)="onCheckedChange($event)"
    ></nz-table-selection>
    <ng-content></ng-content>
  `,isInline:!0,dependencies:[{kind:"component",type:Ce,selector:"nz-table-selection",inputs:["listOfSelections","checked","disabled","indeterminate","label","showCheckbox","showRowSelection"],outputs:["checkedChange"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([y()],ae.prototype,"nzShowCheckbox",void 0);f([y()],ae.prototype,"nzShowRowSelection",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ae,decorators:[{type:T,args:[{selector:"th[nzSelections],th[nzChecked],th[nzShowCheckbox],th[nzShowRowSelection]",preserveWhitespaces:!1,encapsulation:c.None,changeDetection:g.OnPush,template:`
    <nz-table-selection
      [checked]="nzChecked"
      [disabled]="nzDisabled"
      [indeterminate]="nzIndeterminate"
      [label]="nzLabel"
      [listOfSelections]="nzSelections"
      [showCheckbox]="nzShowCheckbox"
      [showRowSelection]="nzShowRowSelection"
      (checkedChange)="onCheckedChange($event)"
    ></nz-table-selection>
    <ng-content></ng-content>
  `,host:{class:"ant-table-selection-column"},imports:[Ce],standalone:!0}]}],ctorParameters:()=>[],propDecorators:{nzSelections:[{type:n}],nzChecked:[{type:n}],nzDisabled:[{type:n}],nzIndeterminate:[{type:n}],nzLabel:[{type:n}],nzShowCheckbox:[{type:n}],nzShowRowSelection:[{type:n}],nzCheckedChange:[{type:x}]}});var $e=class s{constructor(){this.nzAlign=null}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th[nzAlign],td[nzAlign]",inputs:{nzAlign:"nzAlign"},host:{properties:{"style.text-align":"nzAlign"}},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:$e,decorators:[{type:j,args:[{selector:"th[nzAlign],td[nzAlign]",host:{"[style.text-align]":"nzAlign"},standalone:!0}]}],propDecorators:{nzAlign:[{type:n}]}});var be=class s{constructor(){this.nzEllipsis=!0}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th[nzEllipsis],td[nzEllipsis]",inputs:{nzEllipsis:"nzEllipsis"},host:{properties:{"class.ant-table-cell-ellipsis":"nzEllipsis"}},ngImport:a})}};f([y()],be.prototype,"nzEllipsis",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:be,decorators:[{type:j,args:[{selector:"th[nzEllipsis],td[nzEllipsis]",host:{"[class.ant-table-cell-ellipsis]":"nzEllipsis"},standalone:!0}]}],propDecorators:{nzEllipsis:[{type:n}]}});var xe=class s{constructor(){this.nzBreakWord=!0}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"th[nzBreakWord],td[nzBreakWord]",inputs:{nzBreakWord:"nzBreakWord"},host:{properties:{"style.word-break":"nzBreakWord ? 'break-all' : ''"}},ngImport:a})}};f([y()],xe.prototype,"nzBreakWord",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:xe,decorators:[{type:j,args:[{selector:"th[nzBreakWord],td[nzBreakWord]",host:{"[style.word-break]":"nzBreakWord ? 'break-all' : ''"},standalone:!0}]}],propDecorators:{nzBreakWord:[{type:n}]}});var ce=class s{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"table[nz-table-content]",inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},host:{properties:{"style.table-layout":"tableLayout","class.ant-table-fixed":"scrollX","style.width":"scrollX","style.min-width":"scrollX ? '100%' : null"}},ngImport:a,template:`
    <col [style.width]="width" [style.minWidth]="width" *ngFor="let width of listOfColWidth" />
    <thead class="ant-table-thead" *ngIf="theadTemplate">
      <ng-template [ngTemplateOutlet]="theadTemplate"></ng-template>
    </thead>
    <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    <ng-content></ng-content>
  `,isInline:!0,dependencies:[{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:le,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ce,decorators:[{type:T,args:[{selector:"table[nz-table-content]",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <col [style.width]="width" [style.minWidth]="width" *ngFor="let width of listOfColWidth" />
    <thead class="ant-table-thead" *ngIf="theadTemplate">
      <ng-template [ngTemplateOutlet]="theadTemplate"></ng-template>
    </thead>
    <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    <ng-content></ng-content>
  `,host:{"[style.table-layout]":"tableLayout","[class.ant-table-fixed]":"scrollX","[style.width]":"scrollX","[style.min-width]":"scrollX ? '100%' : null"},imports:[S,v,le],standalone:!0}]}],propDecorators:{tableLayout:[{type:n}],theadTemplate:[{type:n}],contentTemplate:[{type:n}],listOfColWidth:[{type:n}],scrollX:[{type:n}]}});var de=class s{constructor(e,t){this.nzTableStyleService=e,this.renderer=t,this.hostWidth$=new M(null),this.enableAutoMeasure$=new M(!1),this.destroy$=new k}ngOnInit(){if(this.nzTableStyleService){let{enableAutoMeasure$:e,hostWidth$:t}=this.nzTableStyleService;e.pipe(r(this.destroy$)).subscribe(this.enableAutoMeasure$),t.pipe(r(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe(r(this.destroy$)).subscribe(e=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${e}`)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:R},{token:$}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"tr[nz-table-fixed-row], tr[nzExpand]",viewQueries:[{propertyName:"tdElement",first:!0,predicate:["tdElement"],descendants:!0,static:!0}],ngImport:a,template:`
    <td class="nz-disable-td ant-table-cell" #tdElement>
      <div
        class="ant-table-expanded-row-fixed"
        *ngIf="enableAutoMeasure$ | async; else contentTemplate"
        style="position: sticky; left: 0px; overflow: hidden;"
        [style.width.px]="hostWidth$ | async"
      >
        <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
      </div>
    </td>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,isInline:!0,dependencies:[{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"pipe",type:qe,name:"async"},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:de,decorators:[{type:T,args:[{selector:"tr[nz-table-fixed-row], tr[nzExpand]",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <td class="nz-disable-td ant-table-cell" #tdElement>
      <div
        class="ant-table-expanded-row-fixed"
        *ngIf="enableAutoMeasure$ | async; else contentTemplate"
        style="position: sticky; left: 0px; overflow: hidden;"
        [style.width.px]="hostWidth$ | async"
      >
        <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
      </div>
    </td>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,imports:[v,qe,S],standalone:!0}]}],ctorParameters:()=>[{type:R},{type:$}],propDecorators:{tdElement:[{type:Z,args:["tdElement",{static:!0}]}]}});var Me=class s{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-inner-default",inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},host:{classAttribute:"ant-table-container"},ngImport:a,template:`
    <div class="ant-table-content">
      <table
        nz-table-content
        [contentTemplate]="contentTemplate"
        [tableLayout]="tableLayout"
        [listOfColWidth]="listOfColWidth"
        [theadTemplate]="theadTemplate"
      ></table>
    </div>
  `,isInline:!0,dependencies:[{kind:"component",type:ce,selector:"table[nz-table-content]",inputs:["tableLayout","theadTemplate","contentTemplate","listOfColWidth","scrollX"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Me,decorators:[{type:T,args:[{selector:"nz-table-inner-default",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <div class="ant-table-content">
      <table
        nz-table-content
        [contentTemplate]="contentTemplate"
        [tableLayout]="tableLayout"
        [listOfColWidth]="listOfColWidth"
        [theadTemplate]="theadTemplate"
      ></table>
    </div>
  `,host:{class:"ant-table-container"},imports:[ce],standalone:!0}]}],ctorParameters:()=>[],propDecorators:{tableLayout:[{type:n}],listOfColWidth:[{type:n}],theadTemplate:[{type:n}],contentTemplate:[{type:n}]}});var Ve=class s{constructor(e,t){this.nzResizeObserver=e,this.ngZone=t,this.listOfMeasureColumn=[],this.listOfAutoWidth=new b,this.destroy$=new k}trackByFunc(e,t){return t}ngAfterViewInit(){this.listOfTdElement.changes.pipe(Y(this.listOfTdElement)).pipe(L(e=>_(e.toArray().map(t=>this.nzResizeObserver.observe(t).pipe(N(([i])=>{let{width:o}=i.target.getBoundingClientRect();return Math.floor(o)}))))),ot(16),r(this.destroy$)).subscribe(e=>{this.ngZone instanceof J&&J.isInAngularZone()?this.listOfAutoWidth.next(e):this.ngZone.run(()=>this.listOfAutoWidth.next(e))})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:Ge},{token:J}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"tr[nz-table-measure-row]",inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},host:{classAttribute:"ant-table-measure-now"},viewQueries:[{propertyName:"listOfTdElement",predicate:["tdElement"],descendants:!0}],ngImport:a,template:`
    <td
      #tdElement
      class="nz-disable-td"
      style="padding: 0px; border: 0px; height: 0px;"
      *ngFor="let th of listOfMeasureColumn; trackBy: trackByFunc"
    ></td>
  `,isInline:!0,dependencies:[{kind:"directive",type:le,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Ve,decorators:[{type:T,args:[{selector:"tr[nz-table-measure-row]",preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <td
      #tdElement
      class="nz-disable-td"
      style="padding: 0px; border: 0px; height: 0px;"
      *ngFor="let th of listOfMeasureColumn; trackBy: trackByFunc"
    ></td>
  `,host:{class:"ant-table-measure-now"},imports:[le],standalone:!0}]}],ctorParameters:()=>[{type:Ge},{type:J}],propDecorators:{listOfMeasureColumn:[{type:n}],listOfAutoWidth:[{type:x}],listOfTdElement:[{type:$t,args:["tdElement"]}]}});var se=class s{constructor(e){if(this.nzTableStyleService=e,this.isInsideTable=!1,this.showEmpty$=new M(!1),this.noResult$=new M(void 0),this.listOfMeasureColumn$=new M([]),this.destroy$=new k,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){let{showEmpty$:t,noResult$:i,listOfMeasureColumn$:o}=this.nzTableStyleService;i.pipe(r(this.destroy$)).subscribe(this.noResult$),o.pipe(r(this.destroy$)).subscribe(this.listOfMeasureColumn$),t.pipe(r(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(e){this.nzTableStyleService.setListOfAutoWidth(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:R,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"tbody",host:{properties:{"class.ant-table-tbody":"isInsideTable"}},ngImport:a,template:`
    <ng-container *ngIf="listOfMeasureColumn$ | async as listOfMeasureColumn">
      <tr
        nz-table-measure-row
        *ngIf="isInsideTable && listOfMeasureColumn.length"
        [listOfMeasureColumn]="listOfMeasureColumn"
        (listOfAutoWidth)="onListOfAutoWidthChange($event)"
      ></tr>
    </ng-container>
    <ng-content></ng-content>
    <tr class="ant-table-placeholder" nz-table-fixed-row *ngIf="showEmpty$ | async">
      <nz-embed-empty nzComponentName="table" [specificContent]="(noResult$ | async)!"></nz-embed-empty>
    </tr>
  `,isInline:!0,dependencies:[{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"pipe",type:qe,name:"async"},{kind:"component",type:Ve,selector:"tr[nz-table-measure-row]",inputs:["listOfMeasureColumn"],outputs:["listOfAutoWidth"]},{kind:"component",type:de,selector:"tr[nz-table-fixed-row], tr[nzExpand]"},{kind:"ngmodule",type:xt},{kind:"component",type:Qt,selector:"nz-embed-empty",inputs:["nzComponentName","specificContent"],exportAs:["nzEmbedEmpty"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:se,decorators:[{type:T,args:[{selector:"tbody",preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <ng-container *ngIf="listOfMeasureColumn$ | async as listOfMeasureColumn">
      <tr
        nz-table-measure-row
        *ngIf="isInsideTable && listOfMeasureColumn.length"
        [listOfMeasureColumn]="listOfMeasureColumn"
        (listOfAutoWidth)="onListOfAutoWidthChange($event)"
      ></tr>
    </ng-container>
    <ng-content></ng-content>
    <tr class="ant-table-placeholder" nz-table-fixed-row *ngIf="showEmpty$ | async">
      <nz-embed-empty nzComponentName="table" [specificContent]="(noResult$ | async)!"></nz-embed-empty>
    </tr>
  `,host:{"[class.ant-table-tbody]":"isInsideTable"},imports:[v,qe,Ve,de,xt],standalone:!0}]}],ctorParameters:()=>[{type:R,decorators:[{type:B}]}]});var oe=class s{setScrollPositionClassName(e=!1){let{scrollWidth:t,scrollLeft:i,clientWidth:o}=this.tableBodyElement.nativeElement,l="ant-table-ping-left",d="ant-table-ping-right";t===o&&t!==0||e?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.removeClass(this.tableMainElement,d)):i===0?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,d)):t===i+o?(this.renderer.removeClass(this.tableMainElement,d),this.renderer.addClass(this.tableMainElement,l)):(this.renderer.addClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,d))}constructor(e,t,i,o){this.renderer=e,this.ngZone=t,this.platform=i,this.resizeService=o,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=l=>l,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new k,this.scroll$=new k,this.destroy$=new k}ngOnChanges(e){let{scrollX:t,scrollY:i,data:o}=e;if(t||i){let l=this.verticalScrollBarWidth!==0;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&l?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())}o&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{let e=this.scroll$.pipe(Y(null),nt(0),L(()=>tt(this.tableBodyElement.nativeElement,"scroll").pipe(Y(!0))),r(this.destroy$)),t=this.resizeService.subscribe().pipe(r(this.destroy$)),i=this.data$.pipe(r(this.destroy$));Ie(e,t,i,this.scroll$).pipe(Y(!0),nt(0),r(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),e.pipe(Ue(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:$},{token:J},{token:dt},{token:ut}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-inner-scroll",inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},host:{classAttribute:"ant-table-container"},viewQueries:[{propertyName:"tableHeaderElement",first:!0,predicate:["tableHeaderElement"],descendants:!0,read:O},{propertyName:"tableBodyElement",first:!0,predicate:["tableBodyElement"],descendants:!0,read:O},{propertyName:"cdkVirtualScrollViewport",first:!0,predicate:Oe,descendants:!0,read:Oe}],usesOnChanges:!0,ngImport:a,template:`
    <ng-container *ngIf="scrollY">
      <div #tableHeaderElement [ngStyle]="headerStyleMap" class="ant-table-header nz-table-hide-scrollbar">
        <table
          nz-table-content
          tableLayout="fixed"
          [scrollX]="scrollX"
          [listOfColWidth]="listOfColWidth"
          [theadTemplate]="theadTemplate"
        ></table>
      </div>
      <div #tableBodyElement *ngIf="!virtualTemplate" class="ant-table-body" [ngStyle]="bodyStyleMap">
        <table
          nz-table-content
          tableLayout="fixed"
          [scrollX]="scrollX"
          [listOfColWidth]="listOfColWidth"
          [contentTemplate]="contentTemplate"
        ></table>
      </div>
      <cdk-virtual-scroll-viewport
        #tableBodyElement
        *ngIf="virtualTemplate"
        [itemSize]="virtualItemSize"
        [maxBufferPx]="virtualMaxBufferPx"
        [minBufferPx]="virtualMinBufferPx"
        [style.height]="data.length ? scrollY : noDateVirtualHeight"
      >
        <table nz-table-content tableLayout="fixed" [scrollX]="scrollX" [listOfColWidth]="listOfColWidth">
          <tbody>
            <ng-container *cdkVirtualFor="let item of data; let i = index; trackBy: virtualForTrackBy">
              <ng-template
                [ngTemplateOutlet]="virtualTemplate"
                [ngTemplateOutletContext]="{ $implicit: item, index: i }"
              ></ng-template>
            </ng-container>
          </tbody>
        </table>
      </cdk-virtual-scroll-viewport>
    </ng-container>
    <div class="ant-table-content" #tableBodyElement *ngIf="!scrollY" [ngStyle]="bodyStyleMap">
      <table
        nz-table-content
        tableLayout="fixed"
        [scrollX]="scrollX"
        [listOfColWidth]="listOfColWidth"
        [theadTemplate]="theadTemplate"
        [contentTemplate]="contentTemplate"
      ></table>
    </div>
  `,isInline:!0,dependencies:[{kind:"component",type:ce,selector:"table[nz-table-content]",inputs:["tableLayout","theadTemplate","contentTemplate","listOfColWidth","scrollX"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:ct,selector:"[ngStyle]",inputs:["ngStyle"]},{kind:"ngmodule",type:ht},{kind:"directive",type:Mt,selector:"cdk-virtual-scroll-viewport[itemSize]",inputs:["itemSize","minBufferPx","maxBufferPx"]},{kind:"directive",type:Vt,selector:"[cdkVirtualFor][cdkVirtualForOf]",inputs:["cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplate","cdkVirtualForTemplateCacheSize"]},{kind:"component",type:Oe,selector:"cdk-virtual-scroll-viewport",inputs:["orientation","appendOnly"],outputs:["scrolledIndexChange"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"component",type:se,selector:"tbody"}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:oe,decorators:[{type:T,args:[{selector:"nz-table-inner-scroll",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <ng-container *ngIf="scrollY">
      <div #tableHeaderElement [ngStyle]="headerStyleMap" class="ant-table-header nz-table-hide-scrollbar">
        <table
          nz-table-content
          tableLayout="fixed"
          [scrollX]="scrollX"
          [listOfColWidth]="listOfColWidth"
          [theadTemplate]="theadTemplate"
        ></table>
      </div>
      <div #tableBodyElement *ngIf="!virtualTemplate" class="ant-table-body" [ngStyle]="bodyStyleMap">
        <table
          nz-table-content
          tableLayout="fixed"
          [scrollX]="scrollX"
          [listOfColWidth]="listOfColWidth"
          [contentTemplate]="contentTemplate"
        ></table>
      </div>
      <cdk-virtual-scroll-viewport
        #tableBodyElement
        *ngIf="virtualTemplate"
        [itemSize]="virtualItemSize"
        [maxBufferPx]="virtualMaxBufferPx"
        [minBufferPx]="virtualMinBufferPx"
        [style.height]="data.length ? scrollY : noDateVirtualHeight"
      >
        <table nz-table-content tableLayout="fixed" [scrollX]="scrollX" [listOfColWidth]="listOfColWidth">
          <tbody>
            <ng-container *cdkVirtualFor="let item of data; let i = index; trackBy: virtualForTrackBy">
              <ng-template
                [ngTemplateOutlet]="virtualTemplate"
                [ngTemplateOutletContext]="{ $implicit: item, index: i }"
              ></ng-template>
            </ng-container>
          </tbody>
        </table>
      </cdk-virtual-scroll-viewport>
    </ng-container>
    <div class="ant-table-content" #tableBodyElement *ngIf="!scrollY" [ngStyle]="bodyStyleMap">
      <table
        nz-table-content
        tableLayout="fixed"
        [scrollX]="scrollX"
        [listOfColWidth]="listOfColWidth"
        [theadTemplate]="theadTemplate"
        [contentTemplate]="contentTemplate"
      ></table>
    </div>
  `,host:{class:"ant-table-container"},imports:[ce,v,ct,ht,S,se],standalone:!0}]}],ctorParameters:()=>[{type:$},{type:J},{type:dt},{type:ut}],propDecorators:{data:[{type:n}],scrollX:[{type:n}],scrollY:[{type:n}],contentTemplate:[{type:n}],widthConfig:[{type:n}],listOfColWidth:[{type:n}],theadTemplate:[{type:n}],virtualTemplate:[{type:n}],virtualItemSize:[{type:n}],virtualMaxBufferPx:[{type:n}],virtualMinBufferPx:[{type:n}],tableMainElement:[{type:n}],virtualForTrackBy:[{type:n}],tableHeaderElement:[{type:Z,args:["tableHeaderElement",{read:O}]}],tableBodyElement:[{type:Z,args:["tableBodyElement",{read:O}]}],cdkVirtualScrollViewport:[{type:Z,args:[Oe,{read:Oe}]}],verticalScrollBarWidth:[{type:n}]}});var he=class s{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,t){return!0}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:rt}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"[nz-virtual-scroll]",exportAs:["nzVirtualScroll"],ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:he,decorators:[{type:j,args:[{selector:"[nz-virtual-scroll]",exportAs:"nzVirtualScroll",standalone:!0}]}],ctorParameters:()=>[{type:rt}]});var ve=class s{constructor(){this.title=null,this.footer=null}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table-title-footer",inputs:{title:"title",footer:"footer"},host:{properties:{"class.ant-table-title":"title !== null","class.ant-table-footer":"footer !== null"}},ngImport:a,template:`
    <ng-container *nzStringTemplateOutlet="title">{{ title }}</ng-container>
    <ng-container *nzStringTemplateOutlet="footer">{{ footer }}</ng-container>
  `,isInline:!0,dependencies:[{kind:"ngmodule",type:gt},{kind:"directive",type:Et,selector:"[nzStringTemplateOutlet]",inputs:["nzStringTemplateOutletContext","nzStringTemplateOutlet"],exportAs:["nzStringTemplateOutlet"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ve,decorators:[{type:T,args:[{selector:"nz-table-title-footer",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <ng-container *nzStringTemplateOutlet="title">{{ title }}</ng-container>
    <ng-container *nzStringTemplateOutlet="footer">{{ footer }}</ng-container>
  `,host:{"[class.ant-table-title]":"title !== null","[class.ant-table-footer]":"footer !== null"},imports:[gt],standalone:!0}]}],propDecorators:{title:[{type:n}],footer:[{type:n}]}});var Ut="table",P=class s{onPageSizeChange(e){this.nzTableDataService.updatePageSize(e)}onPageIndexChange(e){this.nzTableDataService.updatePageIndex(e)}constructor(e,t,i,o,l,d,h){this.elementRef=e,this.nzResizeObserver=t,this.nzConfigService=i,this.cdr=o,this.nzTableStyleService=l,this.nzTableDataService=d,this.directionality=h,this._nzModuleName=Ut,this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=C=>C,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzCustomColumn=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new b,this.nzPageIndexChange=new b,this.nzQueryParams=new b,this.nzCurrentPageDataChange=new b,this.nzCustomColumnChange=new b,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new k,this.templateMode$=new M(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent(Ut).pipe(r(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){let{pageIndexDistinct$:e,pageSizeDistinct$:t,listOfCurrentPageData$:i,total$:o,queryParams$:l,listOfCustomColumn$:d}=this.nzTableDataService,{theadTemplate$:h,hasFixLeft$:C,hasFixRight$:I}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe(r(this.destroy$)).subscribe(p=>{this.dir=p,this.cdr.detectChanges()}),l.pipe(r(this.destroy$)).subscribe(this.nzQueryParams),e.pipe(r(this.destroy$)).subscribe(p=>{p!==this.nzPageIndex&&(this.nzPageIndex=p,this.nzPageIndexChange.next(p))}),t.pipe(r(this.destroy$)).subscribe(p=>{p!==this.nzPageSize&&(this.nzPageSize=p,this.nzPageSizeChange.next(p))}),o.pipe(r(this.destroy$),Ue(()=>this.nzFrontPagination)).subscribe(p=>{p!==this.nzTotal&&(this.nzTotal=p,this.cdr.markForCheck())}),i.pipe(r(this.destroy$)).subscribe(p=>{this.data=p,this.nzCurrentPageDataChange.next(p),this.cdr.markForCheck()}),d.pipe(r(this.destroy$)).subscribe(p=>{this.nzCustomColumn=p,this.nzCustomColumnChange.next(p),this.cdr.markForCheck()}),h.pipe(r(this.destroy$)).subscribe(p=>{this.theadTemplate=p,this.cdr.markForCheck()}),C.pipe(r(this.destroy$)).subscribe(p=>{this.hasFixLeft=p,this.cdr.markForCheck()}),I.pipe(r(this.destroy$)).subscribe(p=>{this.hasFixRight=p,this.cdr.markForCheck()}),_([o,this.templateMode$]).pipe(N(([p,A])=>p===0&&!A),r(this.destroy$)).subscribe(p=>{this.nzTableStyleService.setShowEmpty(p)}),this.verticalScrollBarWidth=Nt("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe(r(this.destroy$)).subscribe(p=>{this.listOfAutoColWidth=p,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe(r(this.destroy$)).subscribe(p=>{this.listOfManualColWidth=p,this.cdr.markForCheck()})}ngOnChanges(e){let{nzScroll:t,nzPageIndex:i,nzPageSize:o,nzFrontPagination:l,nzData:d,nzCustomColumn:h,nzWidthConfig:C,nzNoResult:I,nzTemplateMode:p}=e;i&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),o&&this.nzTableDataService.updatePageSize(this.nzPageSize),d&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),h&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),l&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),t&&this.setScrollOnChanges(),C&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),p&&this.templateMode$.next(this.nzTemplateMode),I&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe(N(([e])=>{let{width:t}=e.target.getBoundingClientRect(),i=this.scrollY?this.verticalScrollBarWidth:0;return Math.floor(t-i)}),r(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:O},{token:Ge},{token:U},{token:F},{token:R},{token:G},{token:X,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"nz-table",inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},host:{properties:{"class.ant-table-wrapper-rtl":'dir === "rtl"',"class.ant-table-custom-column":"nzCustomColumn.length"},classAttribute:"ant-table-wrapper"},providers:[R,G],queries:[{propertyName:"nzVirtualScrollDirective",first:!0,predicate:he,descendants:!0}],viewQueries:[{propertyName:"nzTableInnerScrollComponent",first:!0,predicate:oe,descendants:!0}],exportAs:["nzTable"],usesOnChanges:!0,ngImport:a,template:`
    <nz-spin [nzDelay]="nzLoadingDelay" [nzSpinning]="nzLoading" [nzIndicator]="nzLoadingIndicator">
      <ng-container *ngIf="nzPaginationPosition === 'both' || nzPaginationPosition === 'top'">
        <ng-template [ngTemplateOutlet]="paginationTemplate"></ng-template>
      </ng-container>
      <div
        #tableMainElement
        class="ant-table"
        [class.ant-table-rtl]="dir === 'rtl'"
        [class.ant-table-fixed-header]="nzData.length && scrollY"
        [class.ant-table-fixed-column]="scrollX"
        [class.ant-table-has-fix-left]="hasFixLeft"
        [class.ant-table-has-fix-right]="hasFixRight"
        [class.ant-table-bordered]="nzBordered"
        [class.nz-table-out-bordered]="nzOuterBordered && !nzBordered"
        [class.ant-table-middle]="nzSize === 'middle'"
        [class.ant-table-small]="nzSize === 'small'"
      >
        <nz-table-title-footer [title]="nzTitle" *ngIf="nzTitle"></nz-table-title-footer>
        <nz-table-inner-scroll
          *ngIf="scrollY || scrollX; else defaultTemplate"
          [data]="data"
          [scrollX]="scrollX"
          [scrollY]="scrollY"
          [contentTemplate]="contentTemplate"
          [listOfColWidth]="listOfAutoColWidth"
          [theadTemplate]="theadTemplate"
          [verticalScrollBarWidth]="verticalScrollBarWidth"
          [virtualTemplate]="nzVirtualScrollDirective ? nzVirtualScrollDirective.templateRef : null"
          [virtualItemSize]="nzVirtualItemSize"
          [virtualMaxBufferPx]="nzVirtualMaxBufferPx"
          [virtualMinBufferPx]="nzVirtualMinBufferPx"
          [tableMainElement]="tableMainElement"
          [virtualForTrackBy]="nzVirtualForTrackBy"
        ></nz-table-inner-scroll>
        <ng-template #defaultTemplate>
          <nz-table-inner-default
            [tableLayout]="nzTableLayout"
            [listOfColWidth]="listOfManualColWidth"
            [theadTemplate]="theadTemplate"
            [contentTemplate]="contentTemplate"
          ></nz-table-inner-default>
        </ng-template>
        <nz-table-title-footer [footer]="nzFooter" *ngIf="nzFooter"></nz-table-title-footer>
      </div>
      <ng-container *ngIf="nzPaginationPosition === 'both' || nzPaginationPosition === 'bottom'">
        <ng-template [ngTemplateOutlet]="paginationTemplate"></ng-template>
      </ng-container>
    </nz-spin>
    <ng-template #paginationTemplate>
      <nz-pagination
        *ngIf="nzShowPagination && data.length"
        [hidden]="!showPagination"
        class="ant-table-pagination ant-table-pagination-right"
        [nzShowSizeChanger]="nzShowSizeChanger"
        [nzPageSizeOptions]="nzPageSizeOptions"
        [nzItemRender]="nzItemRender!"
        [nzShowQuickJumper]="nzShowQuickJumper"
        [nzHideOnSinglePage]="nzHideOnSinglePage"
        [nzShowTotal]="nzShowTotal"
        [nzSize]="nzPaginationType === 'small' ? 'small' : nzSize === 'default' ? 'default' : 'small'"
        [nzPageSize]="nzPageSize"
        [nzTotal]="nzTotal"
        [nzSimple]="nzSimple"
        [nzPageIndex]="nzPageIndex"
        (nzPageSizeChange)="onPageSizeChange($event)"
        (nzPageIndexChange)="onPageIndexChange($event)"
      ></nz-pagination>
    </ng-template>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,isInline:!0,dependencies:[{kind:"component",type:W,selector:"nz-spin",inputs:["nzIndicator","nzSize","nzTip","nzDelay","nzSimple","nzSpinning"],exportAs:["nzSpin"]},{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]},{kind:"component",type:ve,selector:"nz-table-title-footer",inputs:["title","footer"]},{kind:"component",type:oe,selector:"nz-table-inner-scroll",inputs:["data","scrollX","scrollY","contentTemplate","widthConfig","listOfColWidth","theadTemplate","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy","verticalScrollBarWidth"]},{kind:"component",type:Me,selector:"nz-table-inner-default",inputs:["tableLayout","listOfColWidth","theadTemplate","contentTemplate"]},{kind:"ngmodule",type:Ze},{kind:"component",type:D,selector:"nz-pagination",inputs:["nzShowTotal","nzItemRender","nzSize","nzPageSizeOptions","nzShowSizeChanger","nzShowQuickJumper","nzSimple","nzDisabled","nzResponsive","nzHideOnSinglePage","nzTotal","nzPageIndex","nzPageSize"],outputs:["nzPageSizeChange","nzPageIndexChange"],exportAs:["nzPagination"]}],changeDetection:g.OnPush,encapsulation:c.None})}};f([y()],P.prototype,"nzFrontPagination",void 0);f([y()],P.prototype,"nzTemplateMode",void 0);f([y()],P.prototype,"nzShowPagination",void 0);f([y()],P.prototype,"nzLoading",void 0);f([y()],P.prototype,"nzOuterBordered",void 0);f([E()],P.prototype,"nzLoadingIndicator",void 0);f([E(),y()],P.prototype,"nzBordered",void 0);f([E()],P.prototype,"nzSize",void 0);f([E(),y()],P.prototype,"nzShowSizeChanger",void 0);f([E(),y()],P.prototype,"nzHideOnSinglePage",void 0);f([E(),y()],P.prototype,"nzShowQuickJumper",void 0);f([E(),y()],P.prototype,"nzSimple",void 0);z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:P,decorators:[{type:T,args:[{selector:"nz-table",exportAs:"nzTable",providers:[R,G],preserveWhitespaces:!1,changeDetection:g.OnPush,encapsulation:c.None,template:`
    <nz-spin [nzDelay]="nzLoadingDelay" [nzSpinning]="nzLoading" [nzIndicator]="nzLoadingIndicator">
      <ng-container *ngIf="nzPaginationPosition === 'both' || nzPaginationPosition === 'top'">
        <ng-template [ngTemplateOutlet]="paginationTemplate"></ng-template>
      </ng-container>
      <div
        #tableMainElement
        class="ant-table"
        [class.ant-table-rtl]="dir === 'rtl'"
        [class.ant-table-fixed-header]="nzData.length && scrollY"
        [class.ant-table-fixed-column]="scrollX"
        [class.ant-table-has-fix-left]="hasFixLeft"
        [class.ant-table-has-fix-right]="hasFixRight"
        [class.ant-table-bordered]="nzBordered"
        [class.nz-table-out-bordered]="nzOuterBordered && !nzBordered"
        [class.ant-table-middle]="nzSize === 'middle'"
        [class.ant-table-small]="nzSize === 'small'"
      >
        <nz-table-title-footer [title]="nzTitle" *ngIf="nzTitle"></nz-table-title-footer>
        <nz-table-inner-scroll
          *ngIf="scrollY || scrollX; else defaultTemplate"
          [data]="data"
          [scrollX]="scrollX"
          [scrollY]="scrollY"
          [contentTemplate]="contentTemplate"
          [listOfColWidth]="listOfAutoColWidth"
          [theadTemplate]="theadTemplate"
          [verticalScrollBarWidth]="verticalScrollBarWidth"
          [virtualTemplate]="nzVirtualScrollDirective ? nzVirtualScrollDirective.templateRef : null"
          [virtualItemSize]="nzVirtualItemSize"
          [virtualMaxBufferPx]="nzVirtualMaxBufferPx"
          [virtualMinBufferPx]="nzVirtualMinBufferPx"
          [tableMainElement]="tableMainElement"
          [virtualForTrackBy]="nzVirtualForTrackBy"
        ></nz-table-inner-scroll>
        <ng-template #defaultTemplate>
          <nz-table-inner-default
            [tableLayout]="nzTableLayout"
            [listOfColWidth]="listOfManualColWidth"
            [theadTemplate]="theadTemplate"
            [contentTemplate]="contentTemplate"
          ></nz-table-inner-default>
        </ng-template>
        <nz-table-title-footer [footer]="nzFooter" *ngIf="nzFooter"></nz-table-title-footer>
      </div>
      <ng-container *ngIf="nzPaginationPosition === 'both' || nzPaginationPosition === 'bottom'">
        <ng-template [ngTemplateOutlet]="paginationTemplate"></ng-template>
      </ng-container>
    </nz-spin>
    <ng-template #paginationTemplate>
      <nz-pagination
        *ngIf="nzShowPagination && data.length"
        [hidden]="!showPagination"
        class="ant-table-pagination ant-table-pagination-right"
        [nzShowSizeChanger]="nzShowSizeChanger"
        [nzPageSizeOptions]="nzPageSizeOptions"
        [nzItemRender]="nzItemRender!"
        [nzShowQuickJumper]="nzShowQuickJumper"
        [nzHideOnSinglePage]="nzHideOnSinglePage"
        [nzShowTotal]="nzShowTotal"
        [nzSize]="nzPaginationType === 'small' ? 'small' : nzSize === 'default' ? 'default' : 'small'"
        [nzPageSize]="nzPageSize"
        [nzTotal]="nzTotal"
        [nzSimple]="nzSimple"
        [nzPageIndex]="nzPageIndex"
        (nzPageSizeChange)="onPageSizeChange($event)"
        (nzPageIndexChange)="onPageIndexChange($event)"
      ></nz-pagination>
    </ng-template>
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
  `,host:{class:"ant-table-wrapper","[class.ant-table-wrapper-rtl]":'dir === "rtl"',"[class.ant-table-custom-column]":"nzCustomColumn.length"},imports:[W,v,S,ve,oe,Me,Ze],standalone:!0}]}],ctorParameters:()=>[{type:O},{type:Ge},{type:U},{type:F},{type:R},{type:G},{type:X,decorators:[{type:B}]}],propDecorators:{nzTableLayout:[{type:n}],nzShowTotal:[{type:n}],nzItemRender:[{type:n}],nzTitle:[{type:n}],nzFooter:[{type:n}],nzNoResult:[{type:n}],nzPageSizeOptions:[{type:n}],nzVirtualItemSize:[{type:n}],nzVirtualMaxBufferPx:[{type:n}],nzVirtualMinBufferPx:[{type:n}],nzVirtualForTrackBy:[{type:n}],nzLoadingDelay:[{type:n}],nzPageIndex:[{type:n}],nzPageSize:[{type:n}],nzTotal:[{type:n}],nzWidthConfig:[{type:n}],nzData:[{type:n}],nzCustomColumn:[{type:n}],nzPaginationPosition:[{type:n}],nzScroll:[{type:n}],nzPaginationType:[{type:n}],nzFrontPagination:[{type:n}],nzTemplateMode:[{type:n}],nzShowPagination:[{type:n}],nzLoading:[{type:n}],nzOuterBordered:[{type:n}],nzLoadingIndicator:[{type:n}],nzBordered:[{type:n}],nzSize:[{type:n}],nzShowSizeChanger:[{type:n}],nzHideOnSinglePage:[{type:n}],nzShowQuickJumper:[{type:n}],nzSimple:[{type:n}],nzPageSizeChange:[{type:x}],nzPageIndexChange:[{type:x}],nzQueryParams:[{type:x}],nzCurrentPageDataChange:[{type:x}],nzCustomColumnChange:[{type:x}],nzVirtualScrollDirective:[{type:Ft,args:[he,{static:!1}]}],nzTableInnerScrollComponent:[{type:Z,args:[oe]}]}});var ge=class s{constructor(e){this.nzTableStyleService=e,this.destroy$=new k,this.listOfFixedColumns$=new V(1),this.listOfColumns$=new V(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe(L(t=>Ie(this.listOfFixedColumns$,...t.map(i=>i.changes$)).pipe(et(()=>this.listOfFixedColumns$))),r(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe(N(t=>t.filter(i=>i.nzLeft!==!1))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe(N(t=>t.filter(i=>i.nzRight!==!1))),this.listOfColumnsChanges$=this.listOfColumns$.pipe(L(t=>Ie(this.listOfColumns$,...t.map(i=>i.changes$)).pipe(et(()=>this.listOfColumns$))),r(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!e}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe(Y(this.listOfCellFixedDirective),r(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe(Y(this.listOfNzThDirective),r(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(e=>{e.forEach(t=>t.setIsLastLeft(t===e[e.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(e=>{e.forEach(t=>t.setIsFirstRight(t===e[0]))}),_([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe(r(this.destroy$)).subscribe(([e,t])=>{t.forEach((i,o)=>{if(i.isAutoLeft){let d=t.slice(0,o).reduce((C,I)=>C+(I.colspan||I.colSpan||1),0),h=e.slice(0,d).reduce((C,I)=>C+I,0);i.setAutoLeftWidth(`${h}px`)}})}),_([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe(r(this.destroy$)).subscribe(([e,t])=>{t.forEach((i,o)=>{let l=t[t.length-o-1];if(l.isAutoRight){let h=t.slice(t.length-o,t.length).reduce((I,p)=>I+(p.colspan||p.colSpan||1),0),C=e.slice(e.length-h,e.length).reduce((I,p)=>I+p,0);l.setAutoRightWidth(`${C}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:R,optional:!0}],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])",host:{properties:{"class.ant-table-row":"isInsideTable"}},queries:[{propertyName:"listOfNzThDirective",predicate:pe},{propertyName:"listOfCellFixedDirective",predicate:re}],ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:ge,decorators:[{type:j,args:[{selector:"tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])",host:{"[class.ant-table-row]":"isInsideTable"},standalone:!0}]}],ctorParameters:()=>[{type:R,decorators:[{type:B}]}],propDecorators:{listOfNzThDirective:[{type:Ke,args:[pe]}],listOfCellFixedDirective:[{type:Ke,args:[re]}]}});var Ee=class s{constructor(e,t,i,o){this.elementRef=e,this.renderer=t,this.nzTableStyleService=i,this.nzTableDataService=o,this.destroy$=new k,this.isInsideTable=!1,this.nzSortOrderChange=new b,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){let e=this.listOfNzTrDirective.changes.pipe(Y(this.listOfNzTrDirective),N(l=>l&&l.first)),t=e.pipe(L(l=>l?l.listOfColumnsChanges$:_e),r(this.destroy$));t.subscribe(l=>this.nzTableStyleService.setListOfTh(l)),this.nzTableStyleService.enableAutoMeasure$.pipe(L(l=>l?t:wt([]))).pipe(r(this.destroy$)).subscribe(l=>this.nzTableStyleService.setListOfMeasureColumn(l));let i=e.pipe(L(l=>l?l.listOfFixedLeftColumnChanges$:_e),r(this.destroy$)),o=e.pipe(L(l=>l?l.listOfFixedRightColumnChanges$:_e),r(this.destroy$));i.subscribe(l=>{this.nzTableStyleService.setHasFixLeft(l.length!==0)}),o.subscribe(l=>{this.nzTableStyleService.setHasFixRight(l.length!==0)})}if(this.nzTableDataService){let e=this.listOfNzThAddOnComponent.changes.pipe(Y(this.listOfNzThAddOnComponent));e.pipe(L(()=>Ie(...this.listOfNzThAddOnComponent.map(o=>o.manualClickOrder$))),r(this.destroy$)).subscribe(o=>{let l={key:o.nzColumnKey,value:o.sortOrder};this.nzSortOrderChange.emit(l),o.nzSortFn&&o.nzSortPriority===!1&&this.listOfNzThAddOnComponent.filter(d=>d!==o).forEach(d=>d.clearSortOrder())}),e.pipe(L(o=>Ie(e,...o.map(l=>l.calcOperatorChange$)).pipe(et(()=>e))),N(o=>o.filter(l=>!!l.nzSortFn||!!l.nzFilterFn).map(l=>{let{nzSortFn:d,sortOrder:h,nzFilterFn:C,nzFilterValue:I,nzSortPriority:p,nzColumnKey:A}=l;return{key:A,sortFn:d,sortPriority:p,sortOrder:h,filterFn:C,filterValue:I}})),nt(0),r(this.destroy$)).subscribe(o=>{this.nzTableDataService.listOfCalcOperator$.next(o)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[{token:O},{token:$},{token:R,optional:!0},{token:G,optional:!0}],target:m.Component})}static{this.\u0275cmp=w({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"thead:not(.ant-table-thead)",outputs:{nzSortOrderChange:"nzSortOrderChange"},queries:[{propertyName:"listOfNzTrDirective",predicate:ge,descendants:!0},{propertyName:"listOfNzThAddOnComponent",predicate:H,descendants:!0}],viewQueries:[{propertyName:"templateRef",first:!0,predicate:["contentTemplate"],descendants:!0,static:!0}],ngImport:a,template:`
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
    <ng-container *ngIf="!isInsideTable">
      <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    </ng-container>
  `,isInline:!0,dependencies:[{kind:"directive",type:v,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"directive",type:S,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}],changeDetection:g.OnPush,encapsulation:c.None})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Ee,decorators:[{type:T,args:[{selector:"thead:not(.ant-table-thead)",changeDetection:g.OnPush,encapsulation:c.None,template:`
    <ng-template #contentTemplate>
      <ng-content></ng-content>
    </ng-template>
    <ng-container *ngIf="!isInsideTable">
      <ng-template [ngTemplateOutlet]="contentTemplate"></ng-template>
    </ng-container>
  `,imports:[v,S],standalone:!0}]}],ctorParameters:()=>[{type:O},{type:$},{type:R,decorators:[{type:B}]},{type:G,decorators:[{type:B}]}],propDecorators:{templateRef:[{type:Z,args:["contentTemplate",{static:!0}]}],listOfNzTrDirective:[{type:Ke,args:[ge,{descendants:!0}]}],listOfNzThAddOnComponent:[{type:Ke,args:[H,{descendants:!0}]}],nzSortOrderChange:[{type:x}]}});var Re=class s{constructor(){this.nzExpand=!0}static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.Directive})}static{this.\u0275dir=Q({minVersion:"14.0.0",version:"17.3.8",type:s,isStandalone:!0,selector:"tr[nzExpand]",inputs:{nzExpand:"nzExpand"},host:{properties:{hidden:"!nzExpand"},classAttribute:"ant-table-expanded-row"},ngImport:a})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Re,decorators:[{type:j,args:[{selector:"tr[nzExpand]",host:{class:"ant-table-expanded-row","[hidden]":"!nzExpand"},standalone:!0}]}],ctorParameters:()=>[],propDecorators:{nzExpand:[{type:n}]}});var Tt=class s{static{this.\u0275fac=u({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,deps:[],target:m.NgModule})}static{this.\u0275mod=Be({minVersion:"14.0.0",version:"17.3.8",ngImport:a,type:s,imports:[P,H,Pe,pe,q,Ee,se,ge,Re,he,re,Fe,ce,ve,Me,oe,Ve,De,ke,xe,$e,Se,ye,Ce,be,K,de,ae],exports:[P,H,Pe,pe,q,Ee,se,ge,he,re,Fe,K,Re,xe,$e,be,de,ae]})}static{this.\u0275inj=Ae({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:s,imports:[P,H,q,se,ve,oe,Se,ye,Ce,K,ae]})}};z({minVersion:"12.0.0",version:"17.3.8",ngImport:a,type:Tt,decorators:[{type:We,args:[{imports:[P,H,Pe,pe,q,Ee,se,ge,Re,he,re,Fe,ce,ve,Me,oe,Ve,De,ke,xe,$e,Se,ye,Ce,be,K,de,ae],exports:[P,H,Pe,pe,q,Ee,se,ge,he,re,Fe,K,Re,xe,$e,be,de,ae]}]}]});export{Tt as a};
