1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9050],{3814:function(e,t,l){"use strict";l.r(t),l.d(t,{DataTablePicker:function(){return u}});var i=l(74512),n=l(32735),r=l(87915),s=l(568),a=l(41037),d=l(45480),o=l(57001);let u=e=>{var t,l;let{headerProps:u,tableOptions:c}=e,m=null!==(l=null==c?void 0:null===(t=c[0])||void 0===t?void 0:t.value)&&void 0!==l?l:"",[p,f]=(0,n.useState)(m),v=(0,n.useMemo)(()=>(null==c?void 0:c.map(e=>({label:e.label,value:e.value})))||[],[c]),b=(0,n.useMemo)(()=>{if(!c||0===c.length)return null;let e=c.find(e=>e.value===p);return null!=e?e:c[0]},[p,c]),{tableProps:h,label:x}=b||{},w=(0,n.useCallback)(e=>{let t=null==c?void 0:c.find(t=>t.label===e);t&&f(t.value)},[c]),g=(null==u?void 0:u.size)==="small"?"small":"medium",j=(0,n.useMemo)(()=>(null==c?void 0:c.length)>1?(0,i.jsx)(o.Mx,{style:{width:"medium"===g?"266px":"100%"},name:"table-picker-select",size:g,value:x,children:(0,i.jsx)(a.q,{forbidInput:!0,children:(0,i.jsx)(d.gI,{id:"table-picker-options",selected:String(x),options:v,size:g,onChange:w})})}):null,[c,g,x,v,w]);return b&&h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.BlockHeader,{...u,size:g,additionalContent:j,children:null==u?void 0:u.children}),(0,i.jsx)(s.DataTable,{...h},p)]}):null}},24457:function(e,t,l){"use strict";l.d(t,{L:function(){return c}});var i=l(74512),n=l(32735),r=l(45399),s=l(69811),a=l(15646),d=l(22723),o=l(70785),u=l(22467);l(25203);let c=e=>{var t;let{tagName:l="div",wrapperClassName:c,clickActivation:m,triggerComponent:p,initialState:f=!1,mode:v,dimension:b={width:void 0,height:void 0},rounded:h,withShadow:x,className:w,style:g,wide:j,align:y,controlsId:N,children:k,role:C,scrollbarConfig:z,onToggle:M,wrapperProps:I,...T}=e,D=(0,u.DH)("dropdown",T,{mode:v}),F=(0,n.useRef)(null),[H,L]=(0,n.useState)(f),P=(0,n.useCallback)(e=>{null==M||M(e),L(e)},[M]);(0,a.O)(F,()=>{m&&H&&P(!1)}),(0,d.e)(()=>{H&&P(!1)});let _=e=>{e.currentTarget.contains(e.relatedTarget)||P(!1)},q=(0,s.I)(()=>L(e=>(null==M||M(!e),!e)));return(0,i.jsxs)(l,{ref:F,"aria-haspopup":"menu","aria-expanded":H,"aria-controls":N,role:null!=C?C:"button",className:(0,r.c)("ids-dropdown-wrapper",c),...D,...!m&&{onMouseOver:()=>P(!0),onFocus:()=>P(!0),onMouseLeave:()=>P(!1),onBlur:e=>_(e)},...I,children:["function"==typeof p?p({active:H,toggle:q,setShow:L}):p,(0,i.jsx)("div",{className:(0,r.c)("dropdown",v&&"dropdown--".concat(v),"ids-dropdown",j&&"ids-dropdown--wide",y&&"ids-dropdown--".concat(y),h&&"ids-dropdown--rounded",x&&"ids-dropdown--with-shadow",w),...T,role:"presentation",hidden:!H,style:{...g,"--dropdown-width":b.width,"--dropdown-height":b.height},children:(0,i.jsx)(o.L,{as:"div",id:N,transparentTrack:null===(t=null==z?void 0:z.transparentTrack)||void 0===t||t,className:"ids-dropdown__content",scrollbarMode:null==z?void 0:z.scrollbarMode,children:"function"==typeof k?k({active:H,toggle:q,setShow:L}):k})})]})}},54137:function(e,t,l){"use strict";l.d(t,{l:function(){return c}});var i=l(74512),n=l(22467),r=l(45399),s=l(29200),a=l(57001),d=l(92987),o=l.n(d);l(40748);let u=e=>{let{size:t="medium",name:l,children:n,asteriskPosition:a="trailing",required:d,disabled:u,style:c,className:m,...p}=e,f=l?"".concat((0,r.Kk)(" ")(d&&"required"),"field ").concat(l):"";return(0,i.jsx)(s.Text,{component:"label",preset:o()[t],style:c,"aria-label":f,className:(0,r.c)("form-label","ids-form-label","ids-form-label--".concat(t),d&&"ids-form-label--required",a&&"ids-form-label--asterisk-".concat(a),u&&"ids-form-label--disabled",m),...p,children:n})},c=e=>{let{children:t,asteriskPosition:l,...r}=e,s=(0,n.DH)("form-label"),{labelId:d,inputId:o,size:c,name:m,required:p,disabled:f,label:v,labelClassName:b}=(0,a.Gc)();return(0,i.jsx)(u,{id:d,htmlFor:o,size:c,name:m,required:p,asteriskPosition:l,disabled:f,className:b,...s,...r,children:v||t})}},7629:function(e,t,l){"use strict";l.d(t,{z:function(){return m}});var i=l(74512),n=l(22467),r=l(45399),s=l(29200),a=l(10921),d=l(57001),o=l(58782),u=l.n(o);l(43254);let c=e=>{let{size:t="medium",hint:l,error:n,valid:d,disabled:o,style:c,className:m,...p}=e,f=n?(0,i.jsxs)(i.Fragment,{children:[l&&(0,i.jsx)(a.ActionInfoIcon,{size:"small"}),(0,i.jsx)("span",{children:n})]}):l;return(0,i.jsx)(s.Text,{component:"label",preset:u()[t],style:c,className:(0,r.c)("form-message","ids-form-message","ids-form-message--".concat(t),d&&"ids-form-message--vali
1d",!!n&&"ids-form-message--error",o&&"ids-form-message--disabled",m),tabIndex:o?void 0:0,...p,title:n&&"string"==typeof l?l:"",children:f})},m=()=>{let e=(0,n.DH)("form-message"),{inputId:t,hintId:l,size:r,disabled:s,hint:a,error:o,valid:u,hintClassName:m}=(0,d.Gc)();return(0,i.jsx)(c,{id:l,htmlFor:t,size:r,hint:a,error:o,valid:u,disabled:s,className:m,...e})}},90824:function(e,t,l){"use strict";l.d(t,{U:function(){return b},b:function(){return v}});var i=l(74512),n=l(32735),r=l(45399),s=l(29200),a=l(22467),d=l(10921);l(14738);let o=e=>{let{size:t="medium","aria-label":l="Clear content",className:n,...s}=e,o=(0,a.DH)("clear-action-button",s);return(0,i.jsx)("button",{className:(0,r.c)("clear-action-button","ids-clear-action-button","ids-clear-action-button--".concat(t),n),"aria-label":l,...o,...s,children:(0,i.jsx)(d.CloseIcon,{size:"large"===t?"medium":"small"})})};var u=l(57001),c=l(86455),m=l(63814),p=l.n(m);l(42883);let f=(e,t,l)=>{if(!e)return null;let n="string"==typeof e?e:(0,i.jsx)(e,{size:"medium"===l&&"before"===t?"large":"small"});return(0,i.jsx)("span",{className:"ids-pure-input-field--".concat(t),onMouseDown:e=>{var t;(0,c.s)(e);let l=null===(t=e.currentTarget.parentElement)||void 0===t?void 0:t.querySelector("input");window.document.activeElement!==l&&l.focus()},children:n})},v=e=>{let{valid:t,error:l,validationMode:a,prefix:d,suffix:u,clearMethod:c,selected:m,disabled:v,lang:b="pl-PL",size:h="medium",className:x,style:w,value:g,...j}=e,y=null;d&&(y=f(d,"before",h));let N=null;u&&(N=f(u,"after",h));let k=(0,n.useMemo)(()=>c&&(0,i.jsx)(o,{size:h,disabled:v,onClick:c}),[c,v,h]),C={"--icon-width-small":"".concat(p()["icon-width-small"]),"--icon-width-medium":"".concat(p()["icon-width-medium"])};return(0,i.jsxs)(s.Text,{component:"div",preset:p()[h],style:{...C,...w},className:(0,r.c)("input-field","ids-pure-input-field","ids-pure-input-field--".concat(h),k&&"ids-pure-input-field--clear-action-button",x),children:[y,(0,i.jsx)("input",{...("number"==typeof g?Number.isFinite(g):!(0,r.xb)(g)||j.onChange)&&{value:null!=g?g:""},"data-valid":t||void 0,"data-error":l||void 0,"data-validation":a||void 0,..."browser"!==a&&{"aria-invalid":l?"true":t?"false":void 0,"aria-errormessage":"string"==typeof l?l:void 0},"data-selected":m||void 0,disabled:v,lang:b,...j}),(g||j.defaultValue)&&k,N]})},b=()=>{let e=(0,a.DH)("input-field"),{inputId:t,labelId:l,hintId:n,inputClassName:r,error:s,...d}=(0,u.Gc)();return(0,i.jsx)(v,{...e,...d,error:s?n:void 0,id:t,className:r,"aria-labelledby":l,"aria-describedby":n})};b.displayName="InputField"},57001:function(e,t,l){"use strict";l.d(t,{Mx:function(){return d},Gc:function(){return a}});var i=l(74512),n=l(32735),r=l(45399);l(50688);let s=(0,n.createContext)(void 0),a=()=>{let e=(0,n.useContext)(s);if(!e)throw Error("useFormContext must be used within a LabeledInputWrapper");return e},d=e=>{let{id:t,name:l,size:a="medium",lang:d="pl-PL",required:o=!1,disabled:u=!1,className:c,style:m,hint:p,error:f,valid:v,children:b,...h}=e,x=(0,n.useId)(),w="".concat(x,"-label"),g="".concat(x,"-hint");return(0,i.jsx)("div",{id:t,lang:d,style:m,className:(0,r.c)("ids-labeled-input-wrapper",c),children:(0,i.jsx)(s.Provider,{value:{size:a,name:l,required:o,disabled:u,lang:d,inputId:x,labelId:w,hintId:g,hint:p,error:f,valid:v,...h},children:b})})}},92987:function(e){e.exports={small:"ids-typeset-text--preset-small",medium:"ids-typeset-text--preset-medium",large:"ids-typeset-text--preset-large"}},58782:function(e){e.exports={small:"ids-typeset-text--preset-xsmall",medium:"ids-typeset-text--preset-small"}},63814:function(e){e.exports={small:"ids-typeset-text--preset-small ids-typeset-text--preset-small-loose",medium:"ids-typeset-text--preset-medium ids-typeset-text--preset-medium-loose","icon-width-small":"1rem","icon-width-medium":"1.5rem"}},14738:function(){},25203:function(){},40748:function(){},43254:function(){},42883:function(){},50688: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.