PageSourceSearch

https://deccoria.pl/_static/_next/static/chunks/87967-1e6b38a69d3421f2.js

js deccoria.pl collected 2026-09-24 22:42:04 UTC 25,370 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87967,43709,36414,97794],{97794:function(e,t,l){"use strict";l.r(t),l.d(t,{Avatar:function(){return s},AvatarGroups:function(){return c}});var n=l(53197),i=l(51050),r=l(91048),a=l(95593),o=l(42222);l(82628);let s=e=>{let{size:t="large",avatar:l,withLink:s,...d}=e,c=(0,i.DH)("avatar",d),u=l?"function"==typeof l?(0,n.jsx)(l,{}):(0,n.jsx)(a.ImageHolder,{...l,frameClass:t.includes("xlarge")?"C419":"C416"}):(0,n.jsx)("div",{});return s?(0,n.jsx)(r.UndecoratedLink,{className:(0,o.c)("avatar","ids-avatar","ids-avatar--".concat(t),"ids-avatar--link"),...c,...s,...d,children:u}):(0,n.jsx)("div",{className:(0,o.c)("avatar","ids-avatar","ids-avatar--".concat(t)),...c,...d,children:u})};var d=l(46155);l(22042);let c=e=>{let{size:t="large",items:l,displayUpTo:i=5,...r}=e,a=Array.from({length:Math.min(i,l.length)},(e,r)=>{let{id:a,avatar:o,...c}=l[r];return(0,n.jsx)(s,{avatar:o||d.PersonIcon,style:{zIndex:i-r},size:t,...c,children:"xd"},"avatar-".concat(a))});return(0,n.jsx)("div",{className:(0,o.c)("avatar-group","ids-avatar-group","ids-avatar-group--".concat(t)),...r,children:a})}},87967:function(e,t,l){"use strict";l.r(t),l.d(t,{DataTable:function(){return Q},dictionaries:function(){return N},formatters:function(){return D},getCellContent:function(){return F},getFormatterConfig:function(){return M},getHeaderText:function(){return I},getRawValue:function(){return j},interpolatePath:function(){return x},isHeadCellConfig:function(){return v},isIncrementalConfig:function(){return b},makeSlug:function(){return A}});var n=l(53197),i=l(59657),r=l(43709),a=l(84194),o=l(36414),s=l(25517),d=l(23466),c=l(90701),u=l(91048),m=l(46155),h=l(42222);let g=null,f=()=>{let[e,t]=(0,i.useState)(null!=g&&g);return(0,i.useEffect)(()=>{if(null!==g)return;let e=(0,h.ad)();g=e,t(e)},[]),e};var p=l(51050);let v=e=>"object"==typeof e&&null!==e&&"text"in e&&!(0,i.isValidElement)(e),b=e=>!!e&&"loadMoreEndpointTemplate"in e,x=function(e,t){let l=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return e.replace(/\{(.+?)}/g,(e,n)=>{let i=(0,h.i3)(t,n);if(null==i)return"";let r=String(i);return l?A(r):r})},j=(e,t)=>{if("accessorTemplate"in e&&null!=e.accessorTemplate)return x(e.accessorTemplate,t,!1);if("conditionalAccessor"in e&&e.conditionalAccessor){let{ifKey:l,isValue:n,thenKey:i,elseKey:r}=e.conditionalAccessor;if(t[l]===n)return t[i];if(r)return t[r]}if("accessorKey"in e&&null!=e.accessorKey)return t[e.accessorKey]},y=e=>{if("number"==typeof e)return isNaN(e)?null:e;if("string"==typeof e){let t=parseFloat(e);return isNaN(t)?null:t}return null},w=e=>({1:"I",2:"II",3:"III",4:"IV"})[e]||String(e),z=e=>{if(!e)return null;let t=e instanceof Date?e:new Date(e);if(isNaN(t.getTime()))return null;let l=t.getMonth(),n=String(t.getFullYear()).slice(-2);return"".concat(w(Math.floor(l/3)+1),"'").concat(n)},T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=y(e);if(null===l)return null;let{size:i="medium",...r}=t,o=new Intl.NumberFormat("pl-PL",{minimumFractionDigits:4,maximumFractionDigits:4,...r}).format(l);return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:o})},S=e=>e>0?"form-message ids-data-table-success-color":e<0?"form-message ids-data-table-danger-color":"form-message ids-data-table-default-color",k=e=>{let{change:t=0,size:l="medium"}=e,i=S(t);return t>0?(0,n.jsx)(m.ArrowFacedIcon,{className:i,size:l,direction:"up-right"}):t<0?(0,n.jsx)(m.ArrowFacedIcon,{className:i,size:l,direction:"down-right"}):null},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=y(e);if(null===l)return null;let{size:i="medium",iconSize:r="medium",...o}=t,s=new Intl.NumberFormat("pl-PL",{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2,...o}).format(Math.abs(l/100));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k,{change:l,size:r}),(0,n.jsx)(a.Text,{weight:"semibold",size:i,className:S(l),children:s})]})},D={dateTime:function(e){let t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||""===e)return null;let{size:i="medium",locale:r="pl-PL",pastDateOptions:o,formatAsQuarter:s=!1,...d}=l;if("string"==typeof e&&/^\d{2}\.\d{2}\.\d{4}$/.test(e)){let[l,n,i]=e.split(".").map(Number);t=new Date(i,n-1,l)}else t=e instanceof Date?e:new Date(e);if(isNaN(t.getTime()))return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:String(e)});if(s)return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:z(t)});let c=new Date;c.setHours(0,0,0,0);let u=t<c,m=(0,h.p6)(t,u&&o?o:d,r);return null===m?(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:String(e)}):(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:m})},currency:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=y(e);return null===l?null:new Intl.NumberFormat("pl-PL",{style:"currency",currency:"PLN",...t}).format(l)},bold:function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||""===e)return null;let i=null!==(t=null==l?void 0:l.size)&&void 0!==t?t:"medium";return(0,n.jsx)(a.Text,{weight:"bold",size:i,children:String(e)})},semibold:function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||""===e)return null;let i=null!==(t=null==l?void 0:l.size)&&void 0!==t?t:"medium";return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:String(e)})},capitalize:function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||""===e)return null;let i=null!==(t=null==l?void 0:l.size)&&void 0!==t?t:"medium";return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:(0,h.kC)(String(e).toLowerCase())})}
1,decimal:T,biznesTkoDecimal:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=y(e);if(null===l)return null;let{size:i="medium",tko:r=!1,...o}=t,s=new Intl.NumberFormat("pl-PL",{minimumFractionDigits:2,maximumFractionDigits:2,...o}).format(l);return(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:"".concat(r?"#":"").concat(s)})},percentage:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=y(e);return null===l?null:new Intl.NumberFormat("pl-PL",{style:"percent",minimumFractionDigits:1,maximumFractionDigits:1,...t}).format(l)},changePercentage:_,basedOnBiznesOperationType:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{biznesOperationType:l,...n}=t;switch(l){case"V":case"W":return T(e,{minimumFractionDigits:2,maximumFractionDigits:2,...n});default:return _(e,n)}},recordGroup:(e,t)=>{if(!e||"object"!=typeof e)return null;let{records:l=[],...i}=null!=t?t:{};if(!Array.isArray(l)||0===l.length)return null;let r=l.map((l,i)=>{var r;let a;let{accessorKey:s,accessorTemplate:d,formatter:c,...u}=l,m="string"==typeof c?c:null==c?void 0:c.name;if("recordGroup"===m)return null;let h=j(l,e);if(m&&D[m]){let e="object"==typeof c?c.options:"object"==typeof t?t:void 0;a=D[m](h,e)}else{let e=null!=h?h:"";if(!e&&0!==e)return null;a=String(e)}if(null==a)return null;let g=null!==(r=null!=s?s:d)&&void 0!==r?r:"record-".concat(i);return(0,n.jsx)(o.Record,{...u,children:a},g)}).filter(Boolean);return 0===r.length?null:(0,n.jsx)(o.RecordGroup,{...i,children:r})}},N={biznesOperationType:e=>{var t;return null!==(t=({V:"Widełki statyczne",W:"Widełki dynamiczne",O:"Kurs odniesienia",S:"Status",K:"TKO",T:"Transakcja"})[e])&&void 0!==t?t:e},biznesStatus:e=>{var t;return null!==(t=({C:"Poranny monitoring",P:"Przed otwarciem",A:"Przed zamknięciem",O:"Otwarcie",B:"Zamknięcie",S:"Sesja",R:"Dogrywka",N:"Podstawowy monitoring",F:"Monitoring wieczorny",I:"Zawieszenie obrotu",Z:"System zamknięty",1:"Po sesji",2:"R\xf3wnoważenie",3:"Zawieszony","3Z":"(O) Zawieszony",4:"Wznowienie obrotu"})[e])&&void 0!==t?t:e}},C=e=>(0,n.jsx)(a.Text,{weight:"semibold",size:e,children:"-"}),M=(e,t)=>"object"==typeof(null==e?void 0:e.formatter)?{...e.formatter,options:{size:t,...e.formatter.options}}:{name:null==e?void 0:e.formatter,options:{size:t}},F=(e,t,l)=>{let n;let{cell:i}=e,r=j(e,t);if("conditionalDictionary"in e&&e.conditionalDictionary){let{ifKey:l,isValue:i,thenDictionary:r,elseDictionary:a}=e.conditionalDictionary;n=t[l]===i?N[r]:N[a]}else(null==i?void 0:i.dictionary)&&(n=N[i.dictionary]);if(n&&(r=n(String(null!=r?r:""))),null==i?void 0:i.formatter){var a;let e=M(i,l);if(!e)return C(l);let n=e.name?D[e.name]:null;if(!n)return C(l);let o="recordGroup"===e.name?t:r,s={...e.options};return"basedOnBiznesOperationType"===e.name&&(s.biznesOperationType=t.operation_type),"biznesTkoDecimal"===e.name&&(s.tko=t.tko),null!==(a=n(o,s))&&void 0!==a?a:C(l)}return C(l)},I=e=>v(e)?e.text:e,A=e=>{if(!e)return"";let t={"&":"and","@":"","\xb0":"deg",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z"};return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(RegExp("[".concat("’","]"),"g"),"").split("").map(e=>t[e]||e).join("").replace(/[^\w\s-]/g," ").trim().replace(/\s+/g,"-").replace(/-{2,}/g,"-")};var P=l(76210),R=l(1753);let L=(e,t,l)=>{if(!t)return l?(0,h.i3)(e,l):e;if("path"===t.kind)return(0,h.i3)(e,t.path);if("byGroup"===t.kind){var n,i,r;let l=null!==(n=t.containerPath)&&void 0!==n?n:"data",a=null!==(i=t.groupField)&&void 0!==i?i:"group",o=null!==(r=t.itemsField)&&void 0!==r?r:"rates",s=(0,h.i3)(e,l);if(!Array.isArray(s))return;let d=s.find(e=>e&&"object"==typeof e&&e[a]===t.groupValue);return d?d[o]:void 0}},H=e=>null!==e&&"object"==typeof e&&"noFetch"in e&&"boolean"==typeof e.noFetch,O=e=>{let{initialData:t,fetchConfig:l,trackConfig:n,onDataLoaded:r}=e,[a,o]=(0,i.useState)(null!=t?t:[]),[s,d]=(0,i.useState)(!t&&!!l),[c,u]=(0,i.useState)(null),[m,g]=(0,i.useState)(!1),[f,p]=(0,i.useState)(1),v=(0,i.useCallback)(function(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!l||H(l))return;d(!0),u(null);let s=(0,P.bv)("business-api")||"/",c=(0,h.Qj)(null!==(n=l.baseUrl)&&void 0!==n?n:s),m="".concat(c).concat(e),f=b(l),v=f&&"replace"===l.loadMode,x=e===l.initialEndpoint,j=async()=>{try{let e=await (0,h.rd)(m),n=!x&&f&&l.loadMoreTransformDescriptor?l.loadMoreTransformDescriptor:l.transformDescriptor,i=L(e,n,t),s=[];if(Array.isArray(i))s=i;else if("object"==typeof i&&null!==i)s=[i];else if(i)throw Error("Oczekiwano tablicy lub obiektu, otrzymano ".concat(typeof i,". Użyj transformDescriptor."));o(e=>a?[...e,...s]:s),p(e=>e+1),r&&r(s);let d=l.pageSize?s.length===l.pageSize:s.length>0,c=!1;f&&(c=v?x&&d:d),g(c)}catch(e){u(e instanceof Error?e:Error("Wystąpił nieznany błąd")),g(!1)}finally{d(!1)}};(0,i.startTransition)(()=>{j()})},[l,r]);(0,i.useEffect)(()=>{t&&H(l)&&l.noFetch?o(t):t||!l||H(l)||v(l.initialEndpoint,l.responseDataPath)},[t,l,v]);let j=(0,i.useCallback)(()=>
1{if(!b(l)||!m||0===a.length)return;let e=a.at(-1);e&&("replace"===l.loadMode?v(x(l.loadMoreEndpointTemplate,{lastItem:e,page:f}),l.responseMoreDataPath,!1):v(x(l.loadMoreEndpointTemplate,{lastItem:e,page:f}),l.responseMoreDataPath,!0),(null==n?void 0:n.title)&&(0,R.dm)({ec0:"wczytaj_wiecej",ec1:n.title,ec2:"klik",ec3:"wczytaj"}))},[l,m,a,f,v,n]);return{items:a,isLoading:s,error:c,canLoadMore:m,handleLoadMore:j,handleMore:(0,i.useCallback)(()=>{(null==n?void 0:n.title)&&n.buttonUrl&&(0,R.dm)({ec0:"wczytaj_wiecej",ec1:n.title,ec2:"klik",ec3:"wiecej",ec4:n.buttonUrl})},[n])}};l(98259);let E=(0,n.jsx)(o.Record,{variant:"secondary",children:"Ładowanie..."}),W=(0,n.jsx)(o.Record,{variant:"secondary",children:"Wystąpił błąd podczas ładowania danych."}),B=(0,n.jsx)(o.Record,{variant:"secondary",children:"Brak danych do wyświetlenia."}),K=e=>{let{colSpan:t,children:l,isMobile:i}=e,a=i?"small":"medium";return(0,n.jsx)(r.TableRow,{children:(0,n.jsx)(r.TableCell,{colSpan:t,align:"center",width:"fill",height:a,children:(0,n.jsx)(o.Record,{variant:"secondary",size:a,children:l})})})},U=e=>{let{columns:t,isMobile:l}=e;if(!(null==t?void 0:t.some(e=>v(e.header)?e.header.text:e.header)))return null;let i=l?"small":"medium";return(0,n.jsx)(r.TableHead,{children:(0,n.jsx)(r.TableRow,{children:t.map(e=>{var t,l,o,s;let{accessorKey:d,header:c}=e,u=v(c)?c:{text:c};return(0,n.jsx)(r.TableCell,{align:null!==(t=null==u?void 0:u.align)&&void 0!==t?t:"right",border:!0,className:"form-message ids-data-table-default-color",width:null!==(l=null==u?void 0:u.width)&&void 0!==l?l:"hug",height:null!==(o=null==u?void 0:u.height)&&void 0!==o?o:i,contentSize:null!==(s=null==u?void 0:u.contentSize)&&void 0!==s?s:i,children:(0,n.jsx)(a.Text,{weight:"semibold",size:i,children:u.text})},String(d))})})})},G=e=>{let{item:t,columns:l,rowConfig:i,isMobile:a}=e,{props:o,link:s}=null!=i?i:{},d=(null==s?void 0:s.hrefTemplate)?x(s.hrefTemplate,t):void 0,c=a?"small":"medium";return(0,n.jsx)(r.TableRow,{...o,className:(0,h.c)(d&&"ids-data-table__row--link-container"),children:l.map((e,l)=>{var i,a,o,m,h;let{accessorKey:g,accessorTemplate:f,cell:p}=e,v=F(e,t,c);return(0,n.jsxs)(r.TableCell,{width:null!==(i=null==p?void 0:p.width)&&void 0!==i?i:"hug",align:null!==(a=null==p?void 0:p.align)&&void 0!==a?a:"right",height:null!==(o=null==p?void 0:p.height)&&void 0!==o?o:c,border:!0,contentSize:null!==(m=null==p?void 0:p.contentSize)&&void 0!==m?m:c,children:[(null==p?void 0:p.isRowLink)&&d&&(0,n.jsx)(u.UndecoratedLink,{href:d,target:null==s?void 0:s.target,className:"ids-data-table__row-link-overlay","aria-label":"Przejdź do szczeg\xf3ł\xf3w ".concat(String(null!==(h=j(e,t))&&void 0!==h?h:"")),children:v}),v]},null!=f?f:null!=g?String(g):"col-".concat(l))})})},V=e=>{var t,l,i,a,o;let{verticalColumnHeader:s,items:d,isMobile:c}=e;if(!s)return null;let{cell:u,label:m}=s,h=c?"small":"medium",g=u?M(u,h):null,f=(null==g?void 0:g.name)?D[g.name]:null,p=null!==(t=f?f(m,null==g?void 0:g.options):m)&&void 0!==t?t:null;return(0,n.jsx)(r.TableHead,{children:(0,n.jsxs)(r.TableRow,{children:[(0,n.jsx)(r.TableCell,{border:!0,className:"form-message ids-data-table-default-color",align:null!==(l=null==u?void 0:u.align)&&void 0!==l?l:"left",width:null!==(i=null==u?void 0:u.width)&&void 0!==i?i:"fill",height:null!==(a=null==u?void 0:u.height)&&void 0!==a?a:h,contentSize:null!==(o=null==u?void 0:u.contentSize)&&void 0!==o?o:h,children:p},"header-label-corner"),d.map((e,t)=>{var l,i,a,o,d;let c=F(s,e,h);return(0,n.jsx)(r.TableCell,{border:!0,className:"form-message ids-data-table-default-color",align:null!==(l=null==u?void 0:u.align)&&void 0!==l?l:"right",width:null!==(i=null==u?void 0:u.width)&&void 0!==i?i:"hug",height:null!==(a=null==u?void 0:u.height)&&void 0!==a?a:h,contentSize:null!==(o=null==u?void 0:u.contentSize)&&void 0!==o?o:h,children:c},null!==(d=e.id)&&void 0!==d?d:t)})]})})},Z=e=>{let{items:t,columns:l,rowConfig:i,isLoading:o,error:s,loaderComponent:d,errorComponent:c,noDataMessage:m,isMobile:h,layout:g="horizontal",isInitialLoading:f}=e,p=t.length>0,b=!o&&!s&&!p,y="horizontal"===g?l.length:t.length>0?t.length+1:2,w=h?"small":"medium",{props:z,link:T}=null!=i?i:{};return(0,n.jsxs)(r.TableBody,{children:["horizontal"===g&&p&&t.map(e=>(0,n.jsx)(G,{item:e,columns:l,rowConfig:i,isMobile:h},e.id)),"vertical"===g&&p&&l.map((e,l)=>
1{var i,o,s,d,c;let{header:m,cell:h}=e,g=v(m)?m:void 0,f=I(m);return f?(0,n.jsxs)(r.TableRow,{...z,children:[(0,n.jsx)(r.TableCell,{border:!0,className:"form-message ids-data-table-default-color",align:null!==(i=null==g?void 0:g.align)&&void 0!==i?i:"left",width:null!==(o=null==g?void 0:g.width)&&void 0!==o?o:"fill",height:null!==(s=null==g?void 0:g.height)&&void 0!==s?s:w,contentSize:null!==(d=null==g?void 0:g.contentSize)&&void 0!==d?d:w,children:(0,n.jsx)(a.Text,{weight:"semibold",size:w,children:f})},"header"),t.map((t,l)=>{var i,a,o,s,d,c;let m=F(e,t,w),g=(null==T?void 0:T.hrefTemplate)?x(T.hrefTemplate,t):void 0;return(0,n.jsxs)(r.TableCell,{width:null!==(i=null==h?void 0:h.width)&&void 0!==i?i:"hug",align:null!==(a=null==h?void 0:h.align)&&void 0!==a?a:"right",height:null!==(o=null==h?void 0:h.height)&&void 0!==o?o:w,border:!0,contentSize:null!==(s=null==h?void 0:h.contentSize)&&void 0!==s?s:w,children:[(null==h?void 0:h.isRowLink)&&g&&(0,n.jsx)(u.UndecoratedLink,{href:g,target:null==T?void 0:T.target,className:"ids-data-table__row-link-overlay","aria-label":"Przejdź do szczeg\xf3ł\xf3w ".concat(String(null!==(d=j(e,t))&&void 0!==d?d:"")),children:m}),m]},null!==(c=t.id)&&void 0!==c?c:l)})]},String(null!==(c=e.accessorKey)&&void 0!==c?c:l)):null}),f&&(0,n.jsx)(K,{colSpan:y,isMobile:h,children:d}),s&&(0,n.jsx)(K,{colSpan:y,isMobile:h,children:c}),b&&(0,n.jsx)(K,{colSpan:y,isMobile:h,children:m})]})},$=e=>{let{buttonUrl:t,buttonWidth:l,loadMoreButtonText:i,isMobile:r,loaderComponent:a,canLoadMore:o,isLoading:d,hasItems:u,handleLoadMore:h,handleMore:g}=e;return t?(0,n.jsx)(c.Link,{href:t,children:(0,n.jsx)(s.Button,{icon:m.ArrowFacedRightIcon,iconPosition:"trailing",style:{width:null!=l?l:r?"100%":"fit-content"},onClick:g,children:i})}):o?(0,n.jsx)(s.Button,{style:{width:null!=l?l:r?"100%":"fit-content"},icon:m.ArrowFacedDownIcon,iconPosition:"trailing",disabled:d,onClick:h,children:d&&u?a:i}):null},Q=e=>{let{columns:t,layout:l="horizontal",rowConfig:a,initialData:o,fetchConfig:s,loadMoreButtonText:c="Wczytaj więcej",buttonUrl:u,buttonWidth:m,trackConfig:g,isMobile:v=!1,noDataMessage:b=B,loaderComponent:x=E,errorComponent:j=W,onDataLoaded:y,minHeight:w=0,verticalColumnHeader:z,hideEmptyVerticalRows:T=!0,maxVerticalColumns:S,gapVertical:k="normal"}=e,_=(0,p.DH)("data-table"),{items:D,isLoading:N,error:C,canLoadMore:M,handleLoadMore:F,handleMore:I}=O({initialData:o,fetchConfig:s,trackConfig:{buttonUrl:u,...g},onDataLoaded:y}),[A,P]=(0,i.useState)(w),R=(0,i.useRef)(!1),L=N&&0===D.length;(0,i.useEffect)(()=>{N||R.current||(R.current=!0,D.length>0&&!C&&P(0))},[N,D.length,C]);let H=(0,i.useMemo)(()=>"vertical"===l&&T&&D&&0!==D.length?t.filter(e=>{if(!e.accessorKey||e.accessorTemplate)return!0;let t=e.accessorKey;return D.some(e=>Object.prototype.hasOwnProperty.call(e,t))}):t,[t,D,l,T]),K=(0,i.useMemo)(()=>"vertical"===l&&void 0!==S&&S>0?D.slice(0,S):D,[D,l,S]),G=f(),Q=A>0?{minHeight:"".concat(A,"px")}:void 0,Y=(0,n.jsxs)(r.Table,{margin:v?"small":"medium",align:"left",className:(0,h.c)(G&&"ids-data-table__is_ios"),...Q&&{style:Q},children:["horizontal"===l&&(0,n.jsx)(U,{columns:H,isMobile:v}),"vertical"===l&&(0,n.jsx)(V,{items:K,verticalColumnHeader:z,isMobile:v}),(0,n.jsx)(Z,{items:K,columns:H,rowConfig:a,isLoading:N,error:C,loaderComponent:x,errorComponent:j,noDataMessage:b,isMobile:v,layout:l,isInitialLoading:L})]}),q=v&&S&&S>1;return(0,n.jsxs)(d.WrapperLayout,{gapVertical:k,..._,children:[q?(0,n.jsx)("div",{className:"ids-data-table__scroll",children:Y}):Y,(0,n.jsx)($,{buttonUrl:u,buttonWidth:m,loadMoreButtonText:c,isMobile:v,loaderComponent:x,canLoadMore:M,isLoading:N,hasItems:K.length>0,handleLoadMore:F,handleMore:I})]})}},36414:function(e,t,l){"use strict";l.r(t),l.d(t,{Record:function(){return d},RecordGroup:function(){return c}});var n=l(53197),i=l(51050),r=l(42222),a=l(84194),o=l(48266),s=l.n(o);l(96948);let d=e=>{let{size:t="medium",variant:l="primary",strong:o,icon:d,className:c,children:u,...m}=e,h=(0,i.DH)("record",m);return(0,n.jsxs)(a.Text,{component:"div",preset:s()["".concat(t,"-").concat(o?"strong":"normal")],className:(0,r.c)("record","ids-record","ids-record--".concat(t),"ids-record--".concat(l),c),...h,...m,children:[d&&(0,n.jsx)(d,{size:"xsmall"===t?"small":t}),(0,n.jsx)("span",{children:u})]})},c=e=>{let{direction:t="vertical",density:l="normal",wrap:i="wrap",className:a,style:o,children:s}=e;return(0,n.jsx)("div",{className:(0,r.c)("record-group","ids-record-group","ids-record-group--".concat(t),"ids-record-group--".concat(l),"ids-record-group--".concat(i),a),style:o,children:s})}},43709:function(e,t,l){"use strict";l.r(t),l.d(t,{Table:function(){return n.iA},TableBody:function(){return n.RM},TableCell:function(){return n.pj},TableEmbed:function(){return i.i},TableFooter:function(){return n.yt},TableHead:function(){return n.ss},TableHeader:function(){return n.xD},TableRow:function(){return n.SC}});var n=l(16517),i=l(43510)},43510:function(e,t,l){"use strict";l.d(t,{i:function(){return g}});var n=l(53197),i=l(59657),r=l(42222),a=l(72375),o=l(84194),s=l(97794),d=l(51050),c=l(16517),u=l(52312),m=l.n(u);let h=e=>16===e.length&&/^\d{3}[A-Z\d]+$/.test(e),g=e=>{let{items:t,cols:l,headline:u,cellsHeight:g="medium",cellsContentSize:f="medium",align:p="left"}
1=e,v=(0,d.DH)("table-embed"),b="large"===f?"medium":f,x=(0,i.useMemo)(()=>l.map((e,t)=>{let{data:i,contentSize:a,height:s,align:d,hidden:u}=e;return u?null:(0,n.jsx)(c.SC,{align:d,children:Object.keys(l[0].data).map(e=>{let t={tag:"th",width:"fill",height:null!=s?s:g,contentSize:null!=a?a:b,scope:"col",border:!0};if(i[e]){var l,d,u,h,f,p,v;t=Object.assign(t,{width:null!==(p=null===(l=i[e])||void 0===l?void 0:l.width)&&void 0!==p?p:"fill",colSpan:null===(d=i[e])||void 0===d?void 0:d.colSpan,rowSpan:null===(u=i[e])||void 0===u?void 0:u.rowSpan,align:null===(h=i[e])||void 0===h?void 0:h.align,children:(0,n.jsx)(o.Text,{preset:t.contentSize?m()[t.contentSize]:void 0,dangerouslySetInnerHTML:{__html:null!==(v=null===(f=i[e])||void 0===f?void 0:f.title)&&void 0!==v?v:(0,r.kC)(e.toString())}})})}return(0,n.jsx)(c.pj,{...t},e.toString())})},"header-".concat(t))}).filter(Boolean),[l,b,g]),j=(0,i.useMemo)(()=>t.map((e,t)=>{let{data:i,contentSize:a,height:d,align:u}=e;return(0,n.jsx)(c.SC,{align:u,children:Object.keys(i).map(e=>{var u,f;let p=null==i?void 0:i[e],v="object"==typeof p?{...p}:{width:null!==(u=l[0].data[e].width)&&void 0!==u?u:"fill",colsHeader:l[0].data[e].colsHeader,title:p};return(0,n.jsxs)(c.pj,{height:null!=d?d:g,contentSize:null!=a?a:b,width:null!==(f=v.width)&&void 0!==f?f:"fill",...v.colsHeader&&{tag:"th",scope:"row"},border:!0,colSpan:v.colSpan,rowSpan:v.rowSpan,align:v.align,children:[!(0,r.kK)(v.image)&&(0,n.jsx)(s.Avatar,{size:b,avatar:v.image}),!(0,r.kK)(v.title)&&(0,r.kK)(v.image)&&(h(v.title)?(0,n.jsx)(s.Avatar,{size:b,avatar:{attachmentId:v.title,alt:v.title,loading:"lazy"}}):(0,n.jsx)(o.Text,{preset:m()[null!=a?a:b],dangerouslySetInnerHTML:{__html:v.title}}))]},"".concat(t,"-").concat(e.toString()))})},t)}),[t,l,b,g]);return(0,n.jsx)("div",{style:{maxWidth:"100%",overflow:"auto"},...v,children:(0,n.jsxs)(c.iA,{align:p,children:[u&&(0,n.jsx)(c.xD,{margin:u.size,children:(0,n.jsx)(a.BlockHeader,{headerTag:"h2",size:u.size,showDivider:!1,children:u.title})}),x.length?(0,n.jsx)(c.ss,{children:x}):null,(0,n.jsx)(c.RM,{children:j})]})})}},16517:function(e,t,l){"use strict";l.d(t,{RM:function(){return o},SC:function(){return s},iA:function(){return m},pj:function(){return d},ss:function(){return a},xD:function(){return c},yt:function(){return u}});var n=l(53197),i=l(51050),r=l(42222);l(37292);let a=e=>{let{children:t,...l}=e;return(0,n.jsx)("thead",{...l,children:t})},o=e=>{let{children:t,...l}=e;return(0,n.jsx)("tbody",{...l,children:t})},s=e=>{let{accented:t,align:l,children:i,hoverable:a,disabled:o,selected:s,className:d,...c}=e;return(0,n.jsx)("tr",{"data-selected":s||void 0,"data-disabled":o||void 0,"data-hoverable":a||void 0,className:(0,r.c)("ids-table__row",!0===t&&"ids-table__row--accented","all"===t&&"ids-table__row--accented-all",l&&"ids-table--".concat(l),d),...c,children:i})},d=e=>{let{tag:t="td",contentSize:l,disabledPaddings:i,height:a,width:o,border:s,align:d,children:c,hoverable:u,disabled:m,selected:h,className:g,...f}=e;return(0,n.jsx)(t,{"data-selected":h||void 0,"data-disabled":m||void 0,"data-hoverable":u||void 0,className:(0,r.c)("ids-table__cell","ids-table__cell--height-".concat(a),!!l&&"ids-table__cell--".concat(l),!!s&&"ids-table--border","string"==typeof s&&"ids-table--border--".concat(s),d&&"ids-table--".concat(d),"string"==typeof o&&"ids-table__cell--width-".concat(o),i&&Array.isArray(i)&&i.map(e=>"ids-table__cell--disable-padding-".concat(e)).join(" "),i&&!0===i&&"ids-table__cell--disable-padding-all",g),..."number"==typeof o&&{style:{minWidth:o,maxWidth:o,width:o}},...f,children:c&&(0,n.jsx)("div",{children:c})})},c=e=>{let{margin:t,children:l,className:i,...a}=e;return(0,n.jsx)("caption",{className:(0,r.c)("ids-table__header","ids-table__header--".concat(t),i),...a,children:l})},u=e=>{let{margin:t,children:l,className:i,...a}=e;return(0,n.jsx)("tfoot",{className:(0,r.c)("ids-table__footer","ids-table__footer--".concat(t),i),...a,children:l})},m=e=>{let{margin:t,align:l,border:a,children:o,className:s,...d}=e,c=(0,i.DH)("table",d);return(0,n.jsx)("table",{className:(0,r.c)("table","ids-table",a&&"ids-table--border",t&&"ids-table--".concat(t),"ids-table--".concat(l),s),...c,...d,children:o})}},48266:function(e){e.exports={"xsmall-normal":"ids-typeset-text--preset-xsmall","xsmall-strong":"ids-typeset-text--preset-xsmall ids-typeset-text--preset-xsmall-strong","small-normal":"ids-typeset-text--preset-small","small-strong":"ids-typeset-text--preset-small ids-typeset-text--preset-small-strong","medium-normal":"ids-typeset-text--preset-medium","medium-strong":"ids-typeset-text--preset-medium ids-typeset-text--preset-medium-strong","large-normal":"ids-typeset-text--preset-large","large-strong":"ids-typeset-text--preset-large ids-typeset-text--preset-large-strong"}},52312:function(e){e.exports={small:"ids-typeset-text--preset-small",medium:"ids-typeset-text--preset-medium",large:"ids-typeset-text--preset-large"}},22042:function(){},82628:function(){},98259:function(){},96948:function(){},37292:function(){}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.