@inntechcorp/it-design 2.0.243 → 2.0.245

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,3 +13,4 @@ export { default as useComponentSize } from './useComponentSize';
13
13
  export { default as useCoreFetch } from './useCoreFetch';
14
14
  export { default as useContextBridge } from './useContextBridge';
15
15
  export { default as useKeyboardShortcut } from './useKeyboardShortcut';
16
+ export { default as useOrientation } from './useOrientation';
@@ -0,0 +1,3 @@
1
+ type OrientationType = "portrait" | "landscape";
2
+ declare const useOrientation: () => OrientationType;
3
+ export default useOrientation;
package/dist/index.cjs.js CHANGED
@@ -537,4 +537,4 @@ function vf(n,e){if(Pf(n))for(let t=0;t<n.length&&!1!==e(n[t],t,n);t++);else n&&
537
537
  position: relative;
538
538
  width: max-content;
539
539
 
540
- `,xy=({label:n="",value:t=[],children:o=null,single:p=!1,minWidth:r=0,className:b="",onChange:i=null})=>{const c=e.useRef(null),[M,z]=e.useState(!1),[a,s]=e.useState([]),[O,d]=e.useState("");e.useEffect((()=>{t&&t.length>0&&o.length>0&&(s(t),e.Children.map(o,(n=>{n.props.value===t[0]&&d(n.props.children)})))}),[t,o]),ki(c,(()=>{z(!1)}));const l=(n,e)=>{if(i?i(n,e):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),p)s(n),d(e);else{const e=n[n.length-1];s(e||[])}};return e.createElement(yy,{className:(()=>{let n="itd-inline-select";return M&&(n+=" itd-inline-select-open"),""!==b&&(n+=" "+b),n})(),ref:c},e.createElement(Ly,{onChange:n=>{z(n)},isOpen:M,count:a.length,single:p,label:(()=>{let e=p||!p&&1===a.length?O:n;return""===e?"··········":e})()}),e.createElement(Wy,{onChange:l,value:a,isOpen:M,single:p,minWidth:r},e.Children.map(o,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===qy?e.cloneElement(n,{...n.props,onChange:l,single:p}):void 0}))))};xy.Option=qy;var Ny,wy,By,ky,Sy,Xy,Ty,Ey,_y,Cy=gz.div(Sy||(Sy=A(["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"],["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"])),(function(){return qz(Ny||(Ny=A(["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "],["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "])))}),(function(){return qz(By||(By=A(["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "],["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "])))}),(function(){return qz(ky||(ky=A(["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "],["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "])))}),(function(){return qz(wy||(wy=A(["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "],["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "])))})),Py=gz.span(Xy||(Xy=A(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"],["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"]))),Dy=gz.span(Ty||(Ty=A(["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"],["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"]))),jy=gz.span(Ey||(Ey=A(["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"],["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"])),(function(n){return n.$noTitle?0:"5px"})),Iy=gz.div(_y||(_y=A(["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"],["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"]))),Fy=function(e){var t=e.type,o=void 0===t?"info":t,r=e.size,b=void 0===r?"small":r,i=e.title,c=void 0===i?"":i,M=e.className,z=void 0===M?"":M,a=e.children,s=void 0===a?"":a,O=function(){var n="itd-alert";return n+=" itd-alert-"+o,n+=" itd-alert-"+("x-small"===b?"xs":"small"===b?"sm":"medium"===b?"md":"default"===b?"df":"large"===b?"lg":"x-large"===b?"xlg":"df"),""!==z&&(n+=" "+z),n};return n.jsxs(Cy,{className:O(),children:[n.jsx(Iy,{children:n.jsx(p.ReactSVG,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"})}),n.jsxs(jy,{$noTitle:!c,children:[""!==c?n.jsx(Py,{children:c}):null,""!==s?n.jsx(Dy,{children:s}):null]})]})};Fy.displayName="ITD-Alert";var Uy,Vy,Hy,$y,Yy,Gy,Ky,Qy,Jy,Zy,nx,ex=gz.section(Uy||(Uy=A(["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"]))),tx=mz(Vy||(Vy=A(["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"],["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"]))),ox=gz.div(Hy||(Hy=A(["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"],["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"]))),px=gz.div(Yy||(Yy=A(["\n\n opacity: 1;\n\n padding : 50px 20px 40px;\n border-radius : 6px;\n width : 100%;\n height : ",";\n max-width : ",";\n background-color : ",";\n\n display : flex;\n justify-content : center;\n align-items : center;\n flex-direction : column;\n gap : 20px;\n\n ","\n \n"],["\n\n opacity: 1;\n\n padding : 50px 20px 40px;\n border-radius : 6px;\n width : 100%;\n height : ",";\n max-width : ",";\n background-color : ",";\n\n display : flex;\n justify-content : center;\n align-items : center;\n flex-direction : column;\n gap : 20px;\n\n ","\n \n"])),(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return!0===n.$background?"default"===n.$type?"#10233b":"#0E153180":"transparent"}),(function(n){if(n.$animation)return qz($y||($y=A(["\n animation : "," 0.5s ease-out;\n transition : all 0.5s ease-out;\n transform-origin : 50% 50%;\n "],["\n animation : "," 0.5s ease-out;\n transition : all 0.5s ease-out;\n transform-origin : 50% 50%;\n "])),tx)})),rx=gz.div(Gy||(Gy=A(['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n'],['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n']))),bx=gz.div(Ky||(Ky=A(["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"],["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"]))),ix=gz.div(Qy||(Qy=A(["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"],["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"]))),cx=gz.div(Jy||(Jy=A(["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"],["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"]))),Mx=gz.div(Zy||(Zy=A(["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"],["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"]))),zx=gz.div(nx||(nx=A(["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"],["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"]))),ax=function(t){var o=t.image,p=void 0===o?"":o,r=t.title,b=void 0===r?"":r,i=t.description,c=void 0===i?"":i,M=t.extra,z=void 0===M?null:M,a=t.footer,s=void 0===a?null:a,O=t.type,d=void 0===O?"default":O,l=t.fill,A=void 0!==l&&l,u=t.autoCenter,f=void 0===u||u,q=t.background,h=void 0===q||q,W=t.animation,g=void 0===W||W,m=e.useState(""),v=m[0],R=m[1];e.useEffect((function(){""!==p&&R(p)}),[p]);var L,y=function(){if(z)return n.jsx(bx,{className:"itd-result-extras",children:z})},x=function(){if(s)return n.jsx(ix,{className:"itd-result-footer",children:s})};return n.jsx(ex,{className:(L="itd-result",L+=" itd-result-"+d,f&&(L+=" itd-result-auto-center"),A&&(L+=" itd-result-fill"),L),children:n.jsx(ox,{className:"itd-result-content-wrapper",children:n.jsxs(px,{className:"itd-result-content",$autoCenter:f,$type:d,$background:h,$animation:g,$fill:A.toString(),children:[n.jsxs(cx,{className:"itd-result-body",children:[n.jsx(rx,{className:"itd-image-wrapper",children:n.jsx(Ju,{src:v})}),n.jsx(Mx,{className:"itd-result-title",children:b}),n.jsx(zx,{className:"itd-result-sub-title",children:c})]}),y(),x()]})})})};ax.displayName="ITD-Result";var sx,Ox,dx,lx=gz.div(sx||(sx=A(["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "],["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "]))),Ax=gz.a(Ox||(Ox=A(["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "],["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "])),(function(n){return n.$show?"visible":"hidden"}),(function(n){return n.$show?ux:"none"})),ux=mz(dx||(dx=A(["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"],["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"])));var fx,qx,hx={"gray-1":{background:"#F9F9F9",text:"#0714374D"},"gray-2":{background:"#F9F9F9",text:"#585455"},"gray-3":{background:"#F5F5F5",text:"#071437"},green:{background:"#DFFFEA",text:"#17C653"},yellow:{background:"#FFF8DD",text:"#F6C000"},red:{background:"#FFEEF3",text:"#F8285A"},brown:{background:"#FFF3F1",text:"#CB6F5B"},lavender:{background:"#FCF3FF",text:"#AB60C0"},blue:{background:"#F1F4FF",text:"#3256D9"},pink:{background:"#FFEEF6",text:"#E25698"},violet:{background:"#F5F1FF",text:"#7239EA"},"filled-red":{background:"#F8285A",text:"#F7EFF1"},"filled-yellow":{background:"#F6C000",text:"#FBFAF4"},"filled-pink":{background:"#CC79E3",text:"#F7F3F9"},"filled-blue":{background:"#1B84FF",text:"#EDF0F4"},"filled-green":{background:"#17C653",text:"#F5FAF6"},"filled-purple":{background:"#C417C6",text:"#F6F0F6"},"filled-black":{background:"#071437",text:"#F1F3F7"}},Wx=gz.div(qx||(qx=A(["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"],["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"])),(function(n){var e,t=n.$status;return e=t,qz(fx||(fx=A(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),hx[e].background,hx[e].text)}));var gx,mx,vx={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},Rx=gz.div(mx||(mx=A(["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"],["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"])),(function(n){return n.$percent+"%"}),(function(n){var e,t=n.$status;return e=t,qz(gx||(gx=A(["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "],["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "])),vx[e].remaining,vx[e].background,vx[e].background)}));var Lx,yx,xx,Nx,wx,Bx,kx,Sx,Xx,Tx,Ex,_x,Cx,Px,Dx,jx,Ix,Fx,Ux,Vx,Hx,$x,Yx,Gx,Kx,Qx,Jx,Zx,nN,eN,tN,oN,pN,rN,bN,iN,cN,MN,zN,aN,sN,ON,dN,lN=gz.div(Lx||(Lx=A(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),AN=gz.div(kx||(kx=A(["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"],["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"])),(function(n){if(n.$isBold)return qz(yx||(yx=A(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?qz(xx||(xx=A(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):qz(Nx||(Nx=A(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?qz(wx||(wx=A(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):qz(Bx||(Bx=A(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),uN=gz.div(Sx||(Sx=A(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),fN=function(t){var o=t.tabs,p=void 0===o?[]:o,r=t.activeTabKey,b=void 0===r?"":r,c=t.variant,M=void 0===c?"default":c,z=t.height,a=t.onTabChange,s=e.useState(b),O=s[0],d=s[1];e.useEffect((function(){O!==b&&d(b)}),[b]);var l=function(n,e){return t=!1,p.map((function(n){n.link&&(t=!0)})),t?"":O?O===n?"active":"":b&&0===e?"active":"";var t},A=function(n){d(n),a&&a(n)},u=function(e,t){return n.jsx("a",{className:l(e.key,t),onClick:function(){return A(e.key)},children:n.jsx("span",{children:e.tab})})},f=function(e,t){return n.jsx(i.NavLink,{className:l(e.key,t),onClick:function(){return A(e.key)},to:e.link?e.link:"",children:n.jsx("span",{children:e.tab})})};return n.jsxs(lN,{$height:z,className:"itd-tabs",children:[n.jsx(AN,{$isBold:"bold"===M,children:n.jsx("ul",{children:p.map((function(e,t){return n.jsx("li",{children:e.link?f(e,t):u(e,t)},e.key)}))})}),function(){var e=p.filter((function(n){return n.key===O}))[0];if(e&&e.children)return n.jsx(uN,{className:"itd-content-body",children:e.children})}()]})},qN=gz.div(Xx||(Xx=A(["\n\n position: relative;\n width: 100%;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"],["\n\n position: relative;\n width: 100%;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"]))),hN=gz.div(Tx||(Tx=A(["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"],["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"])),(function(n){return n.$minWidth?n.$minWidth+"px":"200px"}),(function(n){return n.$minHeight?n.$minHeight+"px":"100px"}),(function(n){return n.$hasHeader?"75px 1fr":"1fr"})),WN=gz.div(_x||(_x=A(["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"],["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"])),(function(n){if(void 0===n.$showSeparator||!0===n.$showSeparator)return qz(Ex||(Ex=A(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),gN=gz.div(Cx||(Cx=A(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),mN=gz.div(Px||(Px=A(["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"],["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"])),(function(n){return n.$padding?n.$padding:"30px"})),vN=gz.div(Dx||(Dx=A(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"],["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"]))),RN=gz.div(Zx||(Zx=A(["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"],["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"])),(function(n){return"x-small"===n.$size?qz(jx||(jx=A(["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"small"===n.$size?qz(Ix||(Ix=A(["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"medium"===n.$size?qz(Fx||(Fx=A(["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"default"===n.$size?qz(Ux||(Ux=A(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"large"===n.$size?qz(Vx||(Vx=A(["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):"x-large"===n.$size?qz(Hx||(Hx=A(["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):qz($x||($x=A(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "])))}),(function(n){return n.$noGaps?qz(Yx||(Yx=A(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?qz(Gx||(Gx=A(["\n padding-left: 10px;\n padding-right: 10px;\n "],["\n padding-left: 10px;\n padding-right: 10px;\n "]))):"small"===n.$size||"medium"===n.$size||"default"===n.$size?qz(Kx||(Kx=A(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "]))):"large"===n.$size||"x-large"===n.$size?qz(Qx||(Qx=A(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):qz(Jx||(Jx=A(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),LN=gz.div(nN||(nN=A(["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"],["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"]))),yN=gz.span(tN||(tN=A(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return qz(eN||(eN=A(["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "],["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "])))})),xN=gz.span(pN||(pN=A(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return qz(oN||(oN=A(["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "],["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "])))})),NN=e.forwardRef((function(t,o){var p=t.columns,r=t.data,b=t.cellHeight,i=t.size,c=void 0===i?"default":i,M=t.headless,z=void 0!==M&&M,a=t.bordered,O=void 0!==a&&a,d=t.dashed,l=void 0!==d&&d,A=t.noGaps,u=void 0!==A&&A,f=t.hideGroupButtons,q=void 0!==f&&f,h=t.getTRProps,W=Rn().t,g=e.useState(new Set),m=g[0],v=g[1],R=function(n){v((function(e){var t=new Set(e);return t.has(n)?t.delete(n):t.add(n),t}))};e.useImperativeHandle(o,(function(){return{toggleRow:R,expandedRows:m}}));var L,y=function(n,e){var t={};return"string"==typeof n.width?t.width=n.width:"number"==typeof n.width?t.minWidth=n.width+"px":t.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?t.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(t.maxWidth=n.maxWidth+"px")),"td"===e&&("string"==typeof b?t.height=b:"number"==typeof b?t.minHeight=b+"px":t.height="auto"),t},x=function(){var n=!1;return null==r||r.map((function(e){e.hasOwnProperty("children")&&(n=!0)})),!q&&n},N=function(n,e,t){return h?h(n,e,t):{}},w=function(n,e,t){var o,p=((o={})["data-index"]=e+"_"+n,o["data-level"]=e,o);return e>0&&(0===n&&(p["data-first"]="true"),n===t-1&&(p["data-last"]="true")),p},B=function(t,o){return void 0===o&&(o=0),t.map((function(r,b){return n.jsxs(e.Fragment,{children:[n.jsxs("tr",s({},w(b,o,null==t?void 0:t.length),N(r,b,o),{children:[x()?r.children?n.jsx("td",{style:{width:"40px"},children:n.jsx("div",{className:"expand-button",children:n.jsx(ps,{variant:"filled",size:"x-small",onClick:function(){return R(r.key)},circle:!0,children:n.jsx("span",{children:m.has(r.key)?"-":"+"})})})}):n.jsx("td",{}):null,p.map((function(e){return n.jsx("td",{style:y(e,"td"),children:n.jsx(xN,{$overflow:e.overflow,title:String(r[e.dataIndex]),children:e.render?e.render(r[e.dataIndex],r,o):e.dataIndex?String(r[e.dataIndex]):null})},String(e.key)+"_"+b+"_"+o)}))]})),r.children&&m.has(r.key)&&B(r.children,o+1)]},String(o+"_"+b+"_"+r.key))}))};return n.jsx(RN,{$size:c,$noGaps:u,children:n.jsxs("table",{className:(L="itd-table",L+=" itd-table-"+ka(c),z&&(L+=" itd-table-headless"),O&&(L+=" itd-table-bordered"),u&&(L+=" itd-table-no-gaps"),r||(L+=" itd-table-empty"),0===(null==r?void 0:r.length)&&(L+=" itd-table-no-data"),L+=l?" itd-table-dashed":" itd-table-solid",L+=" itd-table-main-table"),children:[function(){if(!z)return n.jsx("thead",{children:n.jsxs("tr",{children:[x()&&n.jsx("th",{style:{maxWidth:"40px"}}),p.map((function(e){return n.jsx("th",{style:y(e,"th"),children:n.jsx(yN,{$overflow:e.overflow,title:e.title,children:e.title})},String(e.key))}))]})})}(),r?0===r.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(LN,{children:n.jsxs("div",{children:[n.jsx(bu,{height:30}),n.jsx("span",{children:W("table.noData")})]})})})})}):n.jsx("tbody",{children:B(r)}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(LN,{})})})})]})})})),wN=gz.div(dN||(dN=A(["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"],["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"])),(function(n){if(n.$stretch&&!0===n.$stretch)return n.$vertical&&!0===n.$vertical?qz(rN||(rN=A(["\n height : 100%;\n "],["\n height : 100%;\n "]))):qz(bN||(bN=A(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&qz(iN||(iN=A(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&qz(cN||(cN=A(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):qz(MN||(MN=A(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return qz(zN||(zN=A(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?qz(aN||(aN=A(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):qz(sN||(sN=A(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var e=0,t="";return"small"===n.$gap?e=10:"medium"===n.$gap?e=16:"large"===n.$gap?e=24:"string"==typeof n.$gap?t=n.$gap:e=n.$gap,""===t&&(t=e+"px"),qz(ON||(ON=A(["\n gap : ",";\n "],["\n gap : ",";\n "])),t)}})),BN=function(e){var t=e.gap,o=e.justify,p=e.align,r=e.vertical,b=e.wrap,i=e.stretch,c=e.style,M=e.className,z=e.children;return n.jsx(wN,{$gap:t,$justify:o,$align:p,$vertical:r,$wrap:b,$stretch:i,style:c,className:M,children:z})};bn.use(Wn).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),bn.addResourceBundle("en","translation",{success:"Success",error:"Error",table:{noData:"No Data"},placeholders:{username:"Username",email:"E-Mail",password:"Password",confirmPassword:"Confirm password",typeYourNoteHere:"Type your note here",selectGender:"Select Gender",selectLanguage:"Select Language",selectCountry:"Select Country",birthday:"Birthday",multipleSelection:"Selected ({{- count}})"},options:{all:"All",male:"Male",female:"Female",languages:{turkish:"Turkish",english:"English"}},buttons:{submit:"Submit",reset:"Reset"},errors:{required:"This field is required!",minLength:"Should contain at least {{- length}} characters",maxLength:"Is too long. Max size is {{- length}}",passwordRule:"Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",invalidEmailAddress:"Invalid email address",passwordsDontMatch:"The two passwords that you entered do not match!",usernameRule:"Your password must be at least 6 characters long. only English letters, digits and symbols (-_.). No space is allowed",wrongTCIdentity:"Wrong TC Identity Number",fieldMustBeTheSame:"This field must be the same as: {{- fields}}"},uploader:{header:"Drag and drop an file",hint:"or Browse to choose a file",fileUploading:"File uploading...",info:"Total: {{- total}} - {{- estimated}} s remaining.",delete:"Delete",preview:"Preview",error:"Error",fileFormatError:"You can only upload {{fileFormat}} file",fileSizeError:"File must smaller than {{fileSize}}",fileUploadSuccess:"File successfully uploaded.",fileUploadFailed:"File upload failed!",removeFileSuccess:"File successfully delete!",browserDoesntSupportDND:"Browser doesn't support drag and drop!",calculating:"Calculating...",removeFile:"Remove File",areYouSureToDeleteThisFile:"Are you sure to delete this file?",yes:"Yes",no:"No"},results:{authentication:{title:"You Need To Sign In",subtitle:"You need to login to access this page. Please login by clicking the button below.",button:"LOGIN"}},countries:s({},kn)}),bn.addResourceBundle("tr","translation",{success:"Başarılı",error:"Hata",table:{noData:"Veri Yok"},placeholders:{username:"Kullanıcı adı",email:"E-Posta",password:"Şifre",confirmPassword:"Şifre tekrar",typeYourNoteHere:"Notunuzu buraya yazınız",selectGender:"Cinsiyet Seçin",selectLanguage:"Dil Seçin",selectCountry:"Ülke Seçin",birthday:"Doğum Tarihi",multipleSelection:"Seçili ({{- count}})"},options:{all:"Hepsi",male:"Erkek",female:"Kadın",languages:{turkish:"Türkçe",english:"İngilizce"}},buttons:{submit:"Gönder",reset:"Temizle"},errors:{required:"Bu alan zorunludur!",minLength:"En az {{- length}} karakter olmalıdır",maxLength:"Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",exactLength:"This field must be {{- length}} characters long.",passwordRule:"Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",invalidEmailAddress:"Geçersiz e-posta adresi",passwordsDontMatch:"Girdiğiniz şifreler birbirleriyle uyuşmuyor!",usernameRule:"Şifreniz en az 6 karakter uzunluğunda olmalıdır. Sadece İngilizce harfler, rakamlar ve semboller (-_.) kullanılabilir. Boşluk karakterine izin verilmez.",wrongTCIdentity:"TC Kimlik Numarası Yanlış",fieldMustBeTheSame:"Bu alan şunlarla aynı olmalıdır: {{- fields}}"},uploader:{header:"Bir resmi sürükleyip bırakın",hint:"ya da bir dosya seçmek için tıklayın.",fileUploading:"Dosya yükleniyor...",info:"Toplam: {{- total}} - {{- estimated}} sn kaldı.",delete:"Sil",preview:"Önizleme",error:"Hata",fileFormatError:"Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",fileSizeError:"Dosya boyutu {{fileSize}}'den küçük olmalıdır.",fileUploadSuccess:"Dosya başarıyla yüklendi.",fileUploadFailed:"Dosya yüklenemedi!",removeFileSuccess:"Dosya başarıyla silindi!",browserDoesntSupportDND:"Tarayıcı taşı&bırak özelliğini desteklemiyor!",calculating:"Hesaplanıyor...",removeFile:"Dosya Silme",areYouSureToDeleteThisFile:"Bu dosyayı silmek istediğinize emin misiniz?",yes:"Evet",no:"Hayır"},results:{authentication:{title:"Üye Girişi Gerekiyor",subtitle:"Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",button:"GİRİŞ YAP"}},countries:s({},Bn)}),exports.ALink=wL,exports.Accordion=lm,exports.AddDefaultThemeStyle=function(){var n=document.createElement("style");document.head.appendChild(n),n.textContent=":root{color: #ffffff}"},exports.AddDefaultUnit=CA,exports.AddZero=function(n){var e=Number(n),t=n.toString().split(".");return(-1===n.toString().indexOf(".")||t[1].length<3||t[1].length>2)&&(n=(e=e.toFixed(2)).toString()),parseFloat(n).toFixed(2)},exports.Alert=Fy,exports.ArrowIcon=JA,exports.BackToTop=nu,exports.BackTop=function(t){var o=t.children,p=void 0===o?null:o,r=e.useState(!1),b=r[0],i=r[1];e.useEffect((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){i(document.body.scrollTop>window.innerHeight)},M=function(){window.scrollTo({top:0,behavior:"smooth"})};return n.jsx(lx,{className:"itd-back-to-top",children:n.jsx(Ax,{onClick:M,$show:b,children:p||n.jsx(nu,{width:30,height:30})})})},exports.Base64Decode=function(n){return decodeURIComponent(atob(n).split("").map((function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)})).join(""))},exports.Base64Encode=function(n){return btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g,(function(n,e){return String.fromCharCode(Number("0x"+e))})))},exports.Button=ps,exports.Calendar=nv,exports.Card=function(t){var o=t.title,p=t.titleSeparator,r=t.extra,b=t.tabs,i=t.onTabChange,c=t.minWidth,M=t.minHeight,z=t.children,a=t.activeTabKey,s=void 0===a?"":a,O=t.updating,d=void 0!==O&&O,l=t.contentPadding,A=void 0===l?"30px":l;e.useEffect((function(){}));var u=function(){if(r)return n.jsx(vN,{className:"itd-card-extra",children:r})},f=function(){if(b)return n.jsx(fN,{tabs:b,activeTabKey:s,onTabChange:function(n){return i&&i(n)}})},q=function(){if(o)return n.jsx(gN,{className:"itd-card-title",children:n.jsx(GA,{children:o})})},h=function(){return!!(o||r||b)};return n.jsx(qN,{children:n.jsx(ha,{updating:d,children:n.jsxs(hN,{className:"itd-card",$minWidth:c,$minHeight:M,$hasHeader:h(),children:[function(){if(h())return n.jsxs(WN,{$showSeparator:p,className:"itd-card-header",children:[q(),f(),u()]})}(),function(){if(z)return n.jsx(mN,{className:"itd-card-body",$padding:A,children:z})}()]})})})},exports.CheckFileURL=qA,exports.Checkbox=vu,exports.Checkmark=eu,exports.ChunkArray=function(n,e){var t=0,o=[];for(t=0;t<n.length;t+=e){var p=n.slice(t,t+e);"object"!=typeof p&&o.push(p)}return o},exports.Collapse=PL,exports.ConsoleLog=Fn,exports.ConvertCurrency=function(n,e){return n||(n=0),uA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=cv,exports.DetermineNewHeight=function(n,e,t){return n/e*t},exports.DetermineNewWidth=function(n,e,t){return e/n*t},exports.FileChecker=function(n,e){void 0===n&&(n="config"),void 0===e&&(e="resource");var t=void 0!==performance.getEntries().filter((function(n){return n.entryType===e})).filter((function(e){return e.name.indexOf(n)>-1}))[0];return t?console.log("script already loaded"):console.log("script was not loaded"),t},exports.FindSelector=wi,exports.Flex=BN,exports.Form=Zg,exports.FormatBytes=hA,exports.FormatDate=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY dddd"),wA(new Date(n)).locale(e).format(t)},exports.FormatDateTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY dddd - HH:mm"),wA(new Date(n)).locale(e).format(t)},exports.FormatSimpleDate=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY"),wA(new Date(n)).locale(e).format(t)},exports.FormatSimpleDateTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="MM/DD/YYYY - HH:mm"),wA(new Date(n)).locale(e).format(t)},exports.FormatTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="HH:mm"),wA(n).locale(e).format(t)},exports.GetByCurrency=function(n,e,t){if(void 0===e&&(e=!0),void 0===t&&(t=""),""===t)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");isNaN(n)&&(n=0);var o=AA(t);return e?new Intl.NumberFormat(o,{style:"currency",currency:t}).format(n):n},exports.GetCountryCodeByCurrencyCode=AA,exports.GetCountryCodeByLanguage=function(n){return"tr"===n?"tur":"en"===n?"usa":"language_not_found"},exports.GetCurrencyFormat=function(n,e){if(void 0===e&&(e=""),""===e)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return""===n?"":n="".concat(fA(e)).concat(n).replace(/\B(?=(\d{3})+(?!\d))/g,".")},exports.GetCurrencySymbol=fA,exports.GetDecimalByCurrency=function(n){if(void 0===n&&(n=""),""===n)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return"TRY"===n?",":"EUR"===n||"USD"===n?".":","},exports.GetTypeByFileType=WA,exports.H1=function(e){var t=e.children;return n.jsx(VA,{children:n.jsx("span",{children:t})})},exports.H2=GA,exports.H3=function(e){var t=e.children;return n.jsx($A,{children:n.jsx("span",{children:t})})},exports.H4=KA,exports.ITDContext=lA,exports.ITDProvider=function(t){var o=e.useState(t.theme?t.theme:"dark"),p=o[0],r=o[1],b=e.useState(t.dateFormat?t.dateFormat:"MM/DD/YYYY"),i=b[0],c=b[1],M=e.useState(t.language?t.language:"en"),z=M[0],a=M[1],s=e.useState("en-US"),O=s[0],d=s[1],l=e.useState(""),A=l[0],u=l[1];e.useEffect((function(){t.theme&&f(t.theme),t.language&&h(t.language),t.dateFormat&&q(t.dateFormat)}),[t.theme,t.language,t.dateFormat]);var f=function(n){r(n)},q=function(n){c(n)},h=function(n){a(n),bn.changeLanguage(n)},W={theme:p,brokenImage:A,dateFormat:i,language:z,locale:O,changeTheme:f,changeBrokenImage:function(n){u(n)},changeDateFormat:q,changeLanguage:h,changeLocale:function(n){d(n)}};return n.jsx(dA,{className:"itd-provider","data-theme":p,"data-lang":z,children:n.jsx(lA.Provider,{value:W,children:n.jsx(tA,{children:n.jsx(aA,{children:n.jsx(Ls,{children:t.children})})})})})},exports.Image=Ju,exports.InlineSelect=xy,exports.InlineSelectArrow=tu,exports.Input=NR,exports.IsValidJSON=function(n){n="string"!=typeof n?JSON.stringify(n):n;try{n=JSON.parse(String(n))}catch(n){return!1}return"object"==typeof n&&null!==n},exports.LockIcon=QA,exports.ModalManager=ys,exports.NoData=bu,exports.Notification=oA,exports.Picture=ru,exports.Progress=function(e){var t,o=e.status,p=e.percent,r=void 0===p?0:p,b=e.alwaysShowPercent,i=void 0!==b&&b,c=e.showInfo,M=void 0===c||c,z=e.className,a=void 0===z?"":z,s=n.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"})}),O=n.jsx("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),d=function(){return o||(r<100?"normal":"success")},l=function(){if(M)return n.jsx("span",{className:"itd-progress-status",children:A()})},A=function(){var e=d();return"active"===e||"normal"===e||i?n.jsx("span",{className:"itd-progress-status-text",children:r+"%"}):"success"===e?s:"exception"===e?O:void 0};return n.jsx(Rx,{$status:d(),$percent:r,className:(t="itd-progress",t+=" itd-progress-"+o,t+=" itd-progress-percent-"+r,""!==a&&null!==a&&(t+=" "+a),t),children:n.jsxs("div",{className:"itd-progress-outer",children:[n.jsx("div",{className:"itd-progress-inner",children:n.jsx("div",{className:"itd-progress-bg"})}),l()]})})},exports.Radio=My,exports.RemoveUnits=function(n){return n?(n=n.replaceAll("%","").replaceAll("px","").replaceAll("em","").replaceAll("ex","").replaceAll("ch","").replaceAll("rem","").replaceAll("vw","").replaceAll("vh","").replaceAll("vmin","").replaceAll("vmax","").replaceAll("pt","").replaceAll("pc","").replaceAll("in","").replaceAll("mm","").replaceAll("cm",""),parseInt(n)):0},exports.Result=ax,exports.SVGLoader=function(e,t,o){return n.jsx(LA,{$width:t,$height:o,children:n.jsx(p.ReactSVG,{src:e})})},exports.Select=Bg,exports.Spin=ha,exports.Status=function(e){var t,o=e.variant,p=void 0===o?"gray-1":o,r=e.size,b=void 0===r?"default":r,i=e.stretch,c=void 0!==i&&i,M=e.children,z=void 0===M?"":M,a=e.className,s=void 0===a?"":a;return n.jsx(Wx,{$status:p,className:(t="itd-status",t+=" itd-status-"+p,t+=" itd-status-"+ka(b),c&&(t+=" itd-status-stretch"),""!==s&&null!==s&&(t+=" "+s),t),children:n.jsx("span",{children:z})})},exports.Switch=QR,exports.Table=NN,exports.Tabs=fN,exports.TextArea=IR,exports.TinyScrollbar=eg,exports.Tooltip=sA,exports.TranslateCell=_A,exports.Trash=ou,exports.UniUpperCase=function(n,e){void 0===n&&(n=""),void 0===e&&(e="tr");var t={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};return"tr"===e&&(n=n.replace(/(([iışğüçö]))/g,(function(n){return t[n]}))),n.toUpperCase()},exports.UpdateThemeStyle=function(n){var e="",t=document.styleSheets[0];Object.keys(n).forEach((function(t){e+="".concat(t,":").concat(n[t],";")})),t.hasOwnProperty("cssRules")&&(t.cssRules[0].style.cssText=e)},exports.Upload=xL,exports.UploadIcon=ZA,exports.Wait=gA,exports.ZoomIn=pu,exports.ZoomOut=function(e){var t=e.className,o=void 0===t?"":t,p=e.height,r=void 0===p?24:p,b=e.width,i=void 0===b?24:b;return n.jsx("svg",{className:o,height:r,width:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:n.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[n.jsx("rect",{x:"0",y:"0",width:"24",height:"24"}),n.jsx("path",{d:"M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z",fill:"#000000",fillRule:"nonzero",opacity:"0.3"}),n.jsx("path",{d:"M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z",fill:"#000000",fillRule:"nonzero"}),n.jsx("rect",{fill:"#000000",opacity:"0.3",x:"9",y:"10.5",width:"4",height:"1",rx:"0.5"})]})})},exports.toKebabCase=function(n,e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var o=["the","is","in","at","on","and","a","an","ve","bir","bu","için","gibi"],p={"ğ":"g","ü":"u","ş":"s","ı":"i","ö":"o","ç":"c","Ğ":"g","Ü":"u","Ş":"s","İ":"i","Ö":"o","Ç":"c"};return n=n.replace(/[ğüşiöçıĞÜŞİÖÇ]/g,(function(n){return p[n]||n})),e&&(n=n.split(" ").filter((function(n){return!o.includes(n.toLowerCase())})).join(" ")),t&&(n=n.replace(/\d+/g,"")),(n=(n=n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")).toLowerCase().replace(/[^a-z0-9\s-]/g,"")).trim().replace(/\s+/g,"-")},exports.useAddExternalCSS=function(n,t){void 0===t&&(t=!1),e.useEffect((function(){var e=!1,p=document.head,r=o();return document.querySelectorAll("head > link").forEach((function(t){-1!==t.href.indexOf(n)&&(e=!0)})),e||p.appendChild(r),function(){t&&document.querySelectorAll("head > link").forEach((function(e){-1!==e.href.indexOf(n)&&document.head.removeChild(e)}))}}),[n]);var o=function(){var e=document.createElement("link");return e.type="text/css",e.rel="stylesheet",e.href=n,e}},exports.useComponentSize=function(n){var t=e.useState({width:0,height:0}),o=t[0],p=t[1];return e.useEffect((function(){if(n.current){var e=new ResizeObserver((function(n){n.forEach((function(n){var e=n.target;p({width:e.clientWidth,height:e.clientHeight})}))}));return e.observe(n.current),function(){return e.disconnect()}}}),[n]),[o]},exports.useConnectionStatus=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("online",e),function(){window.removeEventListener("online",e)}}),[n])},exports.useConstructor=function(n){void 0===n&&(n=function(){});var t=e.useState(!1),o=t[0],p=t[1];o||(n(),p(!0))},exports.useContextBridge=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];if(0===t.length)return function(e){var t=e.children;return n.jsx(n.Fragment,{children:t})};var p=t.map(e.useContext),r=e.useRef(p);return r.current=p,e.useMemo((function(){return function(e){var o=e.children;return t.reduceRight((function(e,t,o){return n.jsx(t.Provider,{value:r.current[o],children:e})}),o)}}),[])},exports.useCoreFetch=Ei,exports.useCreateDynamicStyle=function(n,t,o){void 0===o&&(o=be("itd-dynamic-style")),e.useEffect((function(){return i()||p(),function(){var n=c();"string"!=typeof n&&n.parentNode&&n.parentNode.removeChild(n)}}),[]);var p=function(){M(),t("cs-"+o)},i=function(){return 0===Object.keys(n).length},c=function(){var n="";return document.querySelectorAll("head > style").forEach((function(e){e.id===o&&(n=e)})),n},M=function(){var e=z(n),t=document.createElement("style");t.setAttribute("type","text/css"),t.setAttribute("id",o),t.innerHTML=e.join(""),document.head.appendChild(t)},z=function(n){var e=[];for(var t in n){var p=JSON.stringify(n[t]).split('","').join(";").replace(/"/g,"");p=b().use(r).use(Ni).use(gr({})).process(p).css;var i=".cs-".concat(o," ").concat(t," ");i+=p,i+=" ",e.push(i)}return e}},exports.useCreateStyledStyle=Bi,exports.useKeyboardShortcut=function(n){var t=n.key,o=n.onKeyPressed;e.useEffect((function(){function n(n){n.key===t&&(n.preventDefault(),o())}return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[t,o])},exports.useMultiQuery=Ti,exports.useOnClickOutside=ki,exports.useOnESCKeyDown=Si,exports.useOnResize=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[n])},exports.useReCaptcha=function(n){var t,o=e.useState(""),p=o[0],r=o[1];e.useEffect((function(){return function(){document.body.removeChild(t)}}),[]);return{loadReCaptcha:function(n){(t=document.createElement("script")).src="https://www.google.com/recaptcha/api.js?render="+n,t.onload=function(){r(n)},document.body.appendChild(t)},executeReCaptcha:function(){if(""===p)return Fn.double("useReCaptcha","Not yet initialized! reCaptcha can't execute right now.","error"),void(n&&n(null));window.grecaptcha.ready((function(e){try{window.grecaptcha.execute(p,{action:"login"}).then((function(e){Fn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Fn.double("ReCaptcha V3","Token is invalid","error")}}))}}},exports.useSingleQuery=Xi;
540
+ `,xy=({label:n="",value:t=[],children:o=null,single:p=!1,minWidth:r=0,className:b="",onChange:i=null})=>{const c=e.useRef(null),[M,z]=e.useState(!1),[a,s]=e.useState([]),[O,d]=e.useState("");e.useEffect((()=>{t&&t.length>0&&o.length>0&&(s(t),e.Children.map(o,(n=>{n.props.value===t[0]&&d(n.props.children)})))}),[t,o]),ki(c,(()=>{z(!1)}));const l=(n,e)=>{if(i?i(n,e):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),p)s(n),d(e);else{const e=n[n.length-1];s(e||[])}};return e.createElement(yy,{className:(()=>{let n="itd-inline-select";return M&&(n+=" itd-inline-select-open"),""!==b&&(n+=" "+b),n})(),ref:c},e.createElement(Ly,{onChange:n=>{z(n)},isOpen:M,count:a.length,single:p,label:(()=>{let e=p||!p&&1===a.length?O:n;return""===e?"··········":e})()}),e.createElement(Wy,{onChange:l,value:a,isOpen:M,single:p,minWidth:r},e.Children.map(o,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===qy?e.cloneElement(n,{...n.props,onChange:l,single:p}):void 0}))))};xy.Option=qy;var Ny,wy,By,ky,Sy,Xy,Ty,Ey,_y,Cy=gz.div(Sy||(Sy=A(["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"],["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"])),(function(){return qz(Ny||(Ny=A(["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "],["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "])))}),(function(){return qz(By||(By=A(["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "],["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "])))}),(function(){return qz(ky||(ky=A(["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "],["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "])))}),(function(){return qz(wy||(wy=A(["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "],["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "])))})),Py=gz.span(Xy||(Xy=A(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"],["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"]))),Dy=gz.span(Ty||(Ty=A(["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"],["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"]))),jy=gz.span(Ey||(Ey=A(["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"],["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"])),(function(n){return n.$noTitle?0:"5px"})),Iy=gz.div(_y||(_y=A(["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"],["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"]))),Fy=function(e){var t=e.type,o=void 0===t?"info":t,r=e.size,b=void 0===r?"small":r,i=e.title,c=void 0===i?"":i,M=e.className,z=void 0===M?"":M,a=e.children,s=void 0===a?"":a,O=function(){var n="itd-alert";return n+=" itd-alert-"+o,n+=" itd-alert-"+("x-small"===b?"xs":"small"===b?"sm":"medium"===b?"md":"default"===b?"df":"large"===b?"lg":"x-large"===b?"xlg":"df"),""!==z&&(n+=" "+z),n};return n.jsxs(Cy,{className:O(),children:[n.jsx(Iy,{children:n.jsx(p.ReactSVG,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"})}),n.jsxs(jy,{$noTitle:!c,children:[""!==c?n.jsx(Py,{children:c}):null,""!==s?n.jsx(Dy,{children:s}):null]})]})};Fy.displayName="ITD-Alert";var Uy,Vy,Hy,$y,Yy,Gy,Ky,Qy,Jy,Zy,nx,ex=gz.section(Uy||(Uy=A(["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"]))),tx=mz(Vy||(Vy=A(["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"],["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"]))),ox=gz.div(Hy||(Hy=A(["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"],["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"]))),px=gz.div(Yy||(Yy=A(["\n\n opacity: 1;\n\n padding : 50px 20px 40px;\n border-radius : 6px;\n width : 100%;\n height : ",";\n max-width : ",";\n background-color : ",";\n\n display : flex;\n justify-content : center;\n align-items : center;\n flex-direction : column;\n gap : 20px;\n\n ","\n \n"],["\n\n opacity: 1;\n\n padding : 50px 20px 40px;\n border-radius : 6px;\n width : 100%;\n height : ",";\n max-width : ",";\n background-color : ",";\n\n display : flex;\n justify-content : center;\n align-items : center;\n flex-direction : column;\n gap : 20px;\n\n ","\n \n"])),(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return!0===n.$background?"default"===n.$type?"#10233b":"#0E153180":"transparent"}),(function(n){if(n.$animation)return qz($y||($y=A(["\n animation : "," 0.5s ease-out;\n transition : all 0.5s ease-out;\n transform-origin : 50% 50%;\n "],["\n animation : "," 0.5s ease-out;\n transition : all 0.5s ease-out;\n transform-origin : 50% 50%;\n "])),tx)})),rx=gz.div(Gy||(Gy=A(['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n'],['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n']))),bx=gz.div(Ky||(Ky=A(["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"],["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"]))),ix=gz.div(Qy||(Qy=A(["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"],["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"]))),cx=gz.div(Jy||(Jy=A(["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"],["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"]))),Mx=gz.div(Zy||(Zy=A(["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"],["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"]))),zx=gz.div(nx||(nx=A(["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"],["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"]))),ax=function(t){var o=t.image,p=void 0===o?"":o,r=t.title,b=void 0===r?"":r,i=t.description,c=void 0===i?"":i,M=t.extra,z=void 0===M?null:M,a=t.footer,s=void 0===a?null:a,O=t.type,d=void 0===O?"default":O,l=t.fill,A=void 0!==l&&l,u=t.autoCenter,f=void 0===u||u,q=t.background,h=void 0===q||q,W=t.animation,g=void 0===W||W,m=e.useState(""),v=m[0],R=m[1];e.useEffect((function(){""!==p&&R(p)}),[p]);var L,y=function(){if(z)return n.jsx(bx,{className:"itd-result-extras",children:z})},x=function(){if(s)return n.jsx(ix,{className:"itd-result-footer",children:s})};return n.jsx(ex,{className:(L="itd-result",L+=" itd-result-"+d,f&&(L+=" itd-result-auto-center"),A&&(L+=" itd-result-fill"),L),children:n.jsx(ox,{className:"itd-result-content-wrapper",children:n.jsxs(px,{className:"itd-result-content",$autoCenter:f,$type:d,$background:h,$animation:g,$fill:A.toString(),children:[n.jsxs(cx,{className:"itd-result-body",children:[n.jsx(rx,{className:"itd-image-wrapper",children:n.jsx(Ju,{src:v})}),n.jsx(Mx,{className:"itd-result-title",children:b}),n.jsx(zx,{className:"itd-result-sub-title",children:c})]}),y(),x()]})})})};ax.displayName="ITD-Result";var sx,Ox,dx,lx=gz.div(sx||(sx=A(["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "],["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "]))),Ax=gz.a(Ox||(Ox=A(["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "],["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "])),(function(n){return n.$show?"visible":"hidden"}),(function(n){return n.$show?ux:"none"})),ux=mz(dx||(dx=A(["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"],["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"])));var fx,qx,hx={"gray-1":{background:"#F9F9F9",text:"#0714374D"},"gray-2":{background:"#F9F9F9",text:"#585455"},"gray-3":{background:"#F5F5F5",text:"#071437"},green:{background:"#DFFFEA",text:"#17C653"},yellow:{background:"#FFF8DD",text:"#F6C000"},red:{background:"#FFEEF3",text:"#F8285A"},brown:{background:"#FFF3F1",text:"#CB6F5B"},lavender:{background:"#FCF3FF",text:"#AB60C0"},blue:{background:"#F1F4FF",text:"#3256D9"},pink:{background:"#FFEEF6",text:"#E25698"},violet:{background:"#F5F1FF",text:"#7239EA"},"filled-red":{background:"#F8285A",text:"#F7EFF1"},"filled-yellow":{background:"#F6C000",text:"#FBFAF4"},"filled-pink":{background:"#CC79E3",text:"#F7F3F9"},"filled-blue":{background:"#1B84FF",text:"#EDF0F4"},"filled-green":{background:"#17C653",text:"#F5FAF6"},"filled-purple":{background:"#C417C6",text:"#F6F0F6"},"filled-black":{background:"#071437",text:"#F1F3F7"}},Wx=gz.div(qx||(qx=A(["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"],["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"])),(function(n){var e,t=n.$status;return e=t,qz(fx||(fx=A(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),hx[e].background,hx[e].text)}));var gx,mx,vx={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},Rx=gz.div(mx||(mx=A(["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"],["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"])),(function(n){return n.$percent+"%"}),(function(n){var e,t=n.$status;return e=t,qz(gx||(gx=A(["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "],["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "])),vx[e].remaining,vx[e].background,vx[e].background)}));var Lx,yx,xx,Nx,wx,Bx,kx,Sx,Xx,Tx,Ex,_x,Cx,Px,Dx,jx,Ix,Fx,Ux,Vx,Hx,$x,Yx,Gx,Kx,Qx,Jx,Zx,nN,eN,tN,oN,pN,rN,bN,iN,cN,MN,zN,aN,sN,ON,dN,lN=gz.div(Lx||(Lx=A(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),AN=gz.div(kx||(kx=A(["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"],["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"])),(function(n){if(n.$isBold)return qz(yx||(yx=A(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?qz(xx||(xx=A(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):qz(Nx||(Nx=A(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?qz(wx||(wx=A(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):qz(Bx||(Bx=A(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),uN=gz.div(Sx||(Sx=A(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),fN=function(t){var o=t.tabs,p=void 0===o?[]:o,r=t.activeTabKey,b=void 0===r?"":r,c=t.variant,M=void 0===c?"default":c,z=t.height,a=t.onTabChange,s=e.useState(b),O=s[0],d=s[1];e.useEffect((function(){O!==b&&d(b)}),[b]);var l=function(n,e){return t=!1,p.map((function(n){n.link&&(t=!0)})),t?"":O?O===n?"active":"":b&&0===e?"active":"";var t},A=function(n){d(n),a&&a(n)},u=function(e,t){return n.jsx("a",{className:l(e.key,t),onClick:function(){return A(e.key)},children:n.jsx("span",{children:e.tab})})},f=function(e,t){return n.jsx(i.NavLink,{className:l(e.key,t),onClick:function(){return A(e.key)},to:e.link?e.link:"",children:n.jsx("span",{children:e.tab})})};return n.jsxs(lN,{$height:z,className:"itd-tabs",children:[n.jsx(AN,{$isBold:"bold"===M,children:n.jsx("ul",{children:p.map((function(e,t){return n.jsx("li",{children:e.link?f(e,t):u(e,t)},e.key)}))})}),function(){var e=p.filter((function(n){return n.key===O}))[0];if(e&&e.children)return n.jsx(uN,{className:"itd-content-body",children:e.children})}()]})},qN=gz.div(Xx||(Xx=A(["\n\n position: relative;\n width: 100%;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"],["\n\n position: relative;\n width: 100%;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"]))),hN=gz.div(Tx||(Tx=A(["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"],["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"])),(function(n){return n.$minWidth?n.$minWidth+"px":"200px"}),(function(n){return n.$minHeight?n.$minHeight+"px":"100px"}),(function(n){return n.$hasHeader?"75px 1fr":"1fr"})),WN=gz.div(_x||(_x=A(["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"],["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"])),(function(n){if(void 0===n.$showSeparator||!0===n.$showSeparator)return qz(Ex||(Ex=A(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),gN=gz.div(Cx||(Cx=A(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),mN=gz.div(Px||(Px=A(["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"],["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"])),(function(n){return n.$padding?n.$padding:"30px"})),vN=gz.div(Dx||(Dx=A(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"],["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"]))),RN=gz.div(Zx||(Zx=A(["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"],["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"])),(function(n){return"x-small"===n.$size?qz(jx||(jx=A(["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"small"===n.$size?qz(Ix||(Ix=A(["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"medium"===n.$size?qz(Fx||(Fx=A(["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"default"===n.$size?qz(Ux||(Ux=A(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"large"===n.$size?qz(Vx||(Vx=A(["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):"x-large"===n.$size?qz(Hx||(Hx=A(["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):qz($x||($x=A(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "])))}),(function(n){return n.$noGaps?qz(Yx||(Yx=A(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?qz(Gx||(Gx=A(["\n padding-left: 10px;\n padding-right: 10px;\n "],["\n padding-left: 10px;\n padding-right: 10px;\n "]))):"small"===n.$size||"medium"===n.$size||"default"===n.$size?qz(Kx||(Kx=A(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "]))):"large"===n.$size||"x-large"===n.$size?qz(Qx||(Qx=A(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):qz(Jx||(Jx=A(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),LN=gz.div(nN||(nN=A(["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"],["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"]))),yN=gz.span(tN||(tN=A(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return qz(eN||(eN=A(["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "],["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "])))})),xN=gz.span(pN||(pN=A(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return qz(oN||(oN=A(["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "],["\n overflow : hidden;\n white-space : nowrap;\n text-overflow : ellipsis;\n position : relative;\n display : block;\n "])))})),NN=e.forwardRef((function(t,o){var p=t.columns,r=t.data,b=t.cellHeight,i=t.size,c=void 0===i?"default":i,M=t.headless,z=void 0!==M&&M,a=t.bordered,O=void 0!==a&&a,d=t.dashed,l=void 0!==d&&d,A=t.noGaps,u=void 0!==A&&A,f=t.hideGroupButtons,q=void 0!==f&&f,h=t.getTRProps,W=Rn().t,g=e.useState(new Set),m=g[0],v=g[1],R=function(n){v((function(e){var t=new Set(e);return t.has(n)?t.delete(n):t.add(n),t}))};e.useImperativeHandle(o,(function(){return{toggleRow:R,expandedRows:m}}));var L,y=function(n,e){var t={};return"string"==typeof n.width?t.width=n.width:"number"==typeof n.width?t.minWidth=n.width+"px":t.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?t.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(t.maxWidth=n.maxWidth+"px")),"td"===e&&("string"==typeof b?t.height=b:"number"==typeof b?t.minHeight=b+"px":t.height="auto"),t},x=function(){var n=!1;return null==r||r.map((function(e){e.hasOwnProperty("children")&&(n=!0)})),!q&&n},N=function(n,e,t){return h?h(n,e,t):{}},w=function(n,e,t){var o,p=((o={})["data-index"]=e+"_"+n,o["data-level"]=e,o);return e>0&&(0===n&&(p["data-first"]="true"),n===t-1&&(p["data-last"]="true")),p},B=function(t,o){return void 0===o&&(o=0),t.map((function(r,b){return n.jsxs(e.Fragment,{children:[n.jsxs("tr",s({},w(b,o,null==t?void 0:t.length),N(r,b,o),{children:[x()?r.children?n.jsx("td",{style:{width:"40px"},children:n.jsx("div",{className:"expand-button",children:n.jsx(ps,{variant:"filled",size:"x-small",onClick:function(){return R(r.key)},circle:!0,children:n.jsx("span",{children:m.has(r.key)?"-":"+"})})})}):n.jsx("td",{}):null,p.map((function(e){return n.jsx("td",{style:y(e,"td"),children:n.jsx(xN,{$overflow:e.overflow,title:String(r[e.dataIndex]),children:e.render?e.render(r[e.dataIndex],r,o):e.dataIndex?String(r[e.dataIndex]):null})},String(e.key)+"_"+b+"_"+o)}))]})),r.children&&m.has(r.key)&&B(r.children,o+1)]},String(o+"_"+b+"_"+r.key))}))};return n.jsx(RN,{$size:c,$noGaps:u,children:n.jsxs("table",{className:(L="itd-table",L+=" itd-table-"+ka(c),z&&(L+=" itd-table-headless"),O&&(L+=" itd-table-bordered"),u&&(L+=" itd-table-no-gaps"),r||(L+=" itd-table-empty"),0===(null==r?void 0:r.length)&&(L+=" itd-table-no-data"),L+=l?" itd-table-dashed":" itd-table-solid",L+=" itd-table-main-table"),children:[function(){if(!z)return n.jsx("thead",{children:n.jsxs("tr",{children:[x()&&n.jsx("th",{style:{maxWidth:"40px"}}),p.map((function(e){return n.jsx("th",{style:y(e,"th"),children:n.jsx(yN,{$overflow:e.overflow,title:e.title,children:e.title})},String(e.key))}))]})})}(),r?0===r.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(LN,{children:n.jsxs("div",{children:[n.jsx(bu,{height:30}),n.jsx("span",{children:W("table.noData")})]})})})})}):n.jsx("tbody",{children:B(r)}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(LN,{})})})})]})})})),wN=gz.div(dN||(dN=A(["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"],["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"])),(function(n){if(n.$stretch&&!0===n.$stretch)return n.$vertical&&!0===n.$vertical?qz(rN||(rN=A(["\n height : 100%;\n "],["\n height : 100%;\n "]))):qz(bN||(bN=A(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&qz(iN||(iN=A(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&qz(cN||(cN=A(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):qz(MN||(MN=A(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return qz(zN||(zN=A(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?qz(aN||(aN=A(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):qz(sN||(sN=A(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var e=0,t="";return"small"===n.$gap?e=10:"medium"===n.$gap?e=16:"large"===n.$gap?e=24:"string"==typeof n.$gap?t=n.$gap:e=n.$gap,""===t&&(t=e+"px"),qz(ON||(ON=A(["\n gap : ",";\n "],["\n gap : ",";\n "])),t)}})),BN=function(e){var t=e.gap,o=e.justify,p=e.align,r=e.vertical,b=e.wrap,i=e.stretch,c=e.style,M=e.className,z=e.children;return n.jsx(wN,{$gap:t,$justify:o,$align:p,$vertical:r,$wrap:b,$stretch:i,style:c,className:M,children:z})};bn.use(Wn).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),bn.addResourceBundle("en","translation",{success:"Success",error:"Error",table:{noData:"No Data"},placeholders:{username:"Username",email:"E-Mail",password:"Password",confirmPassword:"Confirm password",typeYourNoteHere:"Type your note here",selectGender:"Select Gender",selectLanguage:"Select Language",selectCountry:"Select Country",birthday:"Birthday",multipleSelection:"Selected ({{- count}})"},options:{all:"All",male:"Male",female:"Female",languages:{turkish:"Turkish",english:"English"}},buttons:{submit:"Submit",reset:"Reset"},errors:{required:"This field is required!",minLength:"Should contain at least {{- length}} characters",maxLength:"Is too long. Max size is {{- length}}",passwordRule:"Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",invalidEmailAddress:"Invalid email address",passwordsDontMatch:"The two passwords that you entered do not match!",usernameRule:"Your password must be at least 6 characters long. only English letters, digits and symbols (-_.). No space is allowed",wrongTCIdentity:"Wrong TC Identity Number",fieldMustBeTheSame:"This field must be the same as: {{- fields}}"},uploader:{header:"Drag and drop an file",hint:"or Browse to choose a file",fileUploading:"File uploading...",info:"Total: {{- total}} - {{- estimated}} s remaining.",delete:"Delete",preview:"Preview",error:"Error",fileFormatError:"You can only upload {{fileFormat}} file",fileSizeError:"File must smaller than {{fileSize}}",fileUploadSuccess:"File successfully uploaded.",fileUploadFailed:"File upload failed!",removeFileSuccess:"File successfully delete!",browserDoesntSupportDND:"Browser doesn't support drag and drop!",calculating:"Calculating...",removeFile:"Remove File",areYouSureToDeleteThisFile:"Are you sure to delete this file?",yes:"Yes",no:"No"},results:{authentication:{title:"You Need To Sign In",subtitle:"You need to login to access this page. Please login by clicking the button below.",button:"LOGIN"}},countries:s({},kn)}),bn.addResourceBundle("tr","translation",{success:"Başarılı",error:"Hata",table:{noData:"Veri Yok"},placeholders:{username:"Kullanıcı adı",email:"E-Posta",password:"Şifre",confirmPassword:"Şifre tekrar",typeYourNoteHere:"Notunuzu buraya yazınız",selectGender:"Cinsiyet Seçin",selectLanguage:"Dil Seçin",selectCountry:"Ülke Seçin",birthday:"Doğum Tarihi",multipleSelection:"Seçili ({{- count}})"},options:{all:"Hepsi",male:"Erkek",female:"Kadın",languages:{turkish:"Türkçe",english:"İngilizce"}},buttons:{submit:"Gönder",reset:"Temizle"},errors:{required:"Bu alan zorunludur!",minLength:"En az {{- length}} karakter olmalıdır",maxLength:"Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",exactLength:"This field must be {{- length}} characters long.",passwordRule:"Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",invalidEmailAddress:"Geçersiz e-posta adresi",passwordsDontMatch:"Girdiğiniz şifreler birbirleriyle uyuşmuyor!",usernameRule:"Şifreniz en az 6 karakter uzunluğunda olmalıdır. Sadece İngilizce harfler, rakamlar ve semboller (-_.) kullanılabilir. Boşluk karakterine izin verilmez.",wrongTCIdentity:"TC Kimlik Numarası Yanlış",fieldMustBeTheSame:"Bu alan şunlarla aynı olmalıdır: {{- fields}}"},uploader:{header:"Bir resmi sürükleyip bırakın",hint:"ya da bir dosya seçmek için tıklayın.",fileUploading:"Dosya yükleniyor...",info:"Toplam: {{- total}} - {{- estimated}} sn kaldı.",delete:"Sil",preview:"Önizleme",error:"Hata",fileFormatError:"Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",fileSizeError:"Dosya boyutu {{fileSize}}'den küçük olmalıdır.",fileUploadSuccess:"Dosya başarıyla yüklendi.",fileUploadFailed:"Dosya yüklenemedi!",removeFileSuccess:"Dosya başarıyla silindi!",browserDoesntSupportDND:"Tarayıcı taşı&bırak özelliğini desteklemiyor!",calculating:"Hesaplanıyor...",removeFile:"Dosya Silme",areYouSureToDeleteThisFile:"Bu dosyayı silmek istediğinize emin misiniz?",yes:"Evet",no:"Hayır"},results:{authentication:{title:"Üye Girişi Gerekiyor",subtitle:"Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",button:"GİRİŞ YAP"}},countries:s({},Bn)}),exports.ALink=wL,exports.Accordion=lm,exports.AddDefaultThemeStyle=function(){var n=document.createElement("style");document.head.appendChild(n),n.textContent=":root{color: #ffffff}"},exports.AddDefaultUnit=CA,exports.AddZero=function(n){var e=Number(n),t=n.toString().split(".");return(-1===n.toString().indexOf(".")||t[1].length<3||t[1].length>2)&&(n=(e=e.toFixed(2)).toString()),parseFloat(n).toFixed(2)},exports.Alert=Fy,exports.ArrowIcon=JA,exports.BackToTop=nu,exports.BackTop=function(t){var o=t.children,p=void 0===o?null:o,r=e.useState(!1),b=r[0],i=r[1];e.useEffect((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){i(document.body.scrollTop>window.innerHeight)},M=function(){window.scrollTo({top:0,behavior:"smooth"})};return n.jsx(lx,{className:"itd-back-to-top",children:n.jsx(Ax,{onClick:M,$show:b,children:p||n.jsx(nu,{width:30,height:30})})})},exports.Base64Decode=function(n){return decodeURIComponent(atob(n).split("").map((function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)})).join(""))},exports.Base64Encode=function(n){return btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g,(function(n,e){return String.fromCharCode(Number("0x"+e))})))},exports.Button=ps,exports.Calendar=nv,exports.Card=function(t){var o=t.title,p=t.titleSeparator,r=t.extra,b=t.tabs,i=t.onTabChange,c=t.minWidth,M=t.minHeight,z=t.children,a=t.activeTabKey,s=void 0===a?"":a,O=t.updating,d=void 0!==O&&O,l=t.contentPadding,A=void 0===l?"30px":l;e.useEffect((function(){}));var u=function(){if(r)return n.jsx(vN,{className:"itd-card-extra",children:r})},f=function(){if(b)return n.jsx(fN,{tabs:b,activeTabKey:s,onTabChange:function(n){return i&&i(n)}})},q=function(){if(o)return n.jsx(gN,{className:"itd-card-title",children:n.jsx(GA,{children:o})})},h=function(){return!!(o||r||b)};return n.jsx(qN,{children:n.jsx(ha,{updating:d,children:n.jsxs(hN,{className:"itd-card",$minWidth:c,$minHeight:M,$hasHeader:h(),children:[function(){if(h())return n.jsxs(WN,{$showSeparator:p,className:"itd-card-header",children:[q(),f(),u()]})}(),function(){if(z)return n.jsx(mN,{className:"itd-card-body",$padding:A,children:z})}()]})})})},exports.CheckFileURL=qA,exports.Checkbox=vu,exports.Checkmark=eu,exports.ChunkArray=function(n,e){var t=0,o=[];for(t=0;t<n.length;t+=e){var p=n.slice(t,t+e);"object"!=typeof p&&o.push(p)}return o},exports.Collapse=PL,exports.ConsoleLog=Fn,exports.ConvertCurrency=function(n,e){return n||(n=0),uA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=cv,exports.DetermineNewHeight=function(n,e,t){return n/e*t},exports.DetermineNewWidth=function(n,e,t){return e/n*t},exports.FileChecker=function(n,e){void 0===n&&(n="config"),void 0===e&&(e="resource");var t=void 0!==performance.getEntries().filter((function(n){return n.entryType===e})).filter((function(e){return e.name.indexOf(n)>-1}))[0];return t?console.log("script already loaded"):console.log("script was not loaded"),t},exports.FindSelector=wi,exports.Flex=BN,exports.Form=Zg,exports.FormatBytes=hA,exports.FormatDate=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY dddd"),wA(new Date(n)).locale(e).format(t)},exports.FormatDateTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY dddd - HH:mm"),wA(new Date(n)).locale(e).format(t)},exports.FormatSimpleDate=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="D MMMM YYYY"),wA(new Date(n)).locale(e).format(t)},exports.FormatSimpleDateTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="MM/DD/YYYY - HH:mm"),wA(new Date(n)).locale(e).format(t)},exports.FormatTime=function(n,e,t){return void 0===e&&(e="tr"),void 0===t&&(t="HH:mm"),wA(n).locale(e).format(t)},exports.GetByCurrency=function(n,e,t){if(void 0===e&&(e=!0),void 0===t&&(t=""),""===t)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");isNaN(n)&&(n=0);var o=AA(t);return e?new Intl.NumberFormat(o,{style:"currency",currency:t}).format(n):n},exports.GetCountryCodeByCurrencyCode=AA,exports.GetCountryCodeByLanguage=function(n){return"tr"===n?"tur":"en"===n?"usa":"language_not_found"},exports.GetCurrencyFormat=function(n,e){if(void 0===e&&(e=""),""===e)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return""===n?"":n="".concat(fA(e)).concat(n).replace(/\B(?=(\d{3})+(?!\d))/g,".")},exports.GetCurrencySymbol=fA,exports.GetDecimalByCurrency=function(n){if(void 0===n&&(n=""),""===n)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return"TRY"===n?",":"EUR"===n||"USD"===n?".":","},exports.GetTypeByFileType=WA,exports.H1=function(e){var t=e.children;return n.jsx(VA,{children:n.jsx("span",{children:t})})},exports.H2=GA,exports.H3=function(e){var t=e.children;return n.jsx($A,{children:n.jsx("span",{children:t})})},exports.H4=KA,exports.ITDContext=lA,exports.ITDProvider=function(t){var o=e.useState(t.theme?t.theme:"dark"),p=o[0],r=o[1],b=e.useState(t.dateFormat?t.dateFormat:"MM/DD/YYYY"),i=b[0],c=b[1],M=e.useState(t.language?t.language:"en"),z=M[0],a=M[1],s=e.useState("en-US"),O=s[0],d=s[1],l=e.useState(""),A=l[0],u=l[1];e.useEffect((function(){t.theme&&f(t.theme),t.language&&h(t.language),t.dateFormat&&q(t.dateFormat)}),[t.theme,t.language,t.dateFormat]);var f=function(n){r(n)},q=function(n){c(n)},h=function(n){a(n),bn.changeLanguage(n)},W={theme:p,brokenImage:A,dateFormat:i,language:z,locale:O,changeTheme:f,changeBrokenImage:function(n){u(n)},changeDateFormat:q,changeLanguage:h,changeLocale:function(n){d(n)}};return n.jsx(dA,{className:"itd-provider","data-theme":p,"data-lang":z,children:n.jsx(lA.Provider,{value:W,children:n.jsx(tA,{children:n.jsx(aA,{children:n.jsx(Ls,{children:t.children})})})})})},exports.Image=Ju,exports.InlineSelect=xy,exports.InlineSelectArrow=tu,exports.Input=NR,exports.IsValidJSON=function(n){n="string"!=typeof n?JSON.stringify(n):n;try{n=JSON.parse(String(n))}catch(n){return!1}return"object"==typeof n&&null!==n},exports.LockIcon=QA,exports.ModalManager=ys,exports.NoData=bu,exports.Notification=oA,exports.Picture=ru,exports.Progress=function(e){var t,o=e.status,p=e.percent,r=void 0===p?0:p,b=e.alwaysShowPercent,i=void 0!==b&&b,c=e.showInfo,M=void 0===c||c,z=e.className,a=void 0===z?"":z,s=n.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"})}),O=n.jsx("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),d=function(){return o||(r<100?"normal":"success")},l=function(){if(M)return n.jsx("span",{className:"itd-progress-status",children:A()})},A=function(){var e=d();return"active"===e||"normal"===e||i?n.jsx("span",{className:"itd-progress-status-text",children:r+"%"}):"success"===e?s:"exception"===e?O:void 0};return n.jsx(Rx,{$status:d(),$percent:r,className:(t="itd-progress",t+=" itd-progress-"+o,t+=" itd-progress-percent-"+r,""!==a&&null!==a&&(t+=" "+a),t),children:n.jsxs("div",{className:"itd-progress-outer",children:[n.jsx("div",{className:"itd-progress-inner",children:n.jsx("div",{className:"itd-progress-bg"})}),l()]})})},exports.Radio=My,exports.RemoveUnits=function(n){return n?(n=n.replaceAll("%","").replaceAll("px","").replaceAll("em","").replaceAll("ex","").replaceAll("ch","").replaceAll("rem","").replaceAll("vw","").replaceAll("vh","").replaceAll("vmin","").replaceAll("vmax","").replaceAll("pt","").replaceAll("pc","").replaceAll("in","").replaceAll("mm","").replaceAll("cm",""),parseInt(n)):0},exports.Result=ax,exports.SVGLoader=function(e,t,o){return n.jsx(LA,{$width:t,$height:o,children:n.jsx(p.ReactSVG,{src:e})})},exports.Select=Bg,exports.Spin=ha,exports.Status=function(e){var t,o=e.variant,p=void 0===o?"gray-1":o,r=e.size,b=void 0===r?"default":r,i=e.stretch,c=void 0!==i&&i,M=e.children,z=void 0===M?"":M,a=e.className,s=void 0===a?"":a;return n.jsx(Wx,{$status:p,className:(t="itd-status",t+=" itd-status-"+p,t+=" itd-status-"+ka(b),c&&(t+=" itd-status-stretch"),""!==s&&null!==s&&(t+=" "+s),t),children:n.jsx("span",{children:z})})},exports.Switch=QR,exports.Table=NN,exports.Tabs=fN,exports.TextArea=IR,exports.TinyScrollbar=eg,exports.Tooltip=sA,exports.TranslateCell=_A,exports.Trash=ou,exports.UniUpperCase=function(n,e){void 0===n&&(n=""),void 0===e&&(e="tr");var t={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};return"tr"===e&&(n=n.replace(/(([iışğüçö]))/g,(function(n){return t[n]}))),n.toUpperCase()},exports.UpdateThemeStyle=function(n){var e="",t=document.styleSheets[0];Object.keys(n).forEach((function(t){e+="".concat(t,":").concat(n[t],";")})),t.hasOwnProperty("cssRules")&&(t.cssRules[0].style.cssText=e)},exports.Upload=xL,exports.UploadIcon=ZA,exports.Wait=gA,exports.ZoomIn=pu,exports.ZoomOut=function(e){var t=e.className,o=void 0===t?"":t,p=e.height,r=void 0===p?24:p,b=e.width,i=void 0===b?24:b;return n.jsx("svg",{className:o,height:r,width:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:n.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[n.jsx("rect",{x:"0",y:"0",width:"24",height:"24"}),n.jsx("path",{d:"M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z",fill:"#000000",fillRule:"nonzero",opacity:"0.3"}),n.jsx("path",{d:"M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z",fill:"#000000",fillRule:"nonzero"}),n.jsx("rect",{fill:"#000000",opacity:"0.3",x:"9",y:"10.5",width:"4",height:"1",rx:"0.5"})]})})},exports.toKebabCase=function(n,e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var o=["the","is","in","at","on","and","a","an","ve","bir","bu","için","gibi"],p={"ğ":"g","ü":"u","ş":"s","ı":"i","ö":"o","ç":"c","Ğ":"g","Ü":"u","Ş":"s","İ":"i","Ö":"o","Ç":"c"};return n=n.replace(/[ğüşiöçıĞÜŞİÖÇ]/g,(function(n){return p[n]||n})),e&&(n=n.split(" ").filter((function(n){return!o.includes(n.toLowerCase())})).join(" ")),t&&(n=n.replace(/\d+/g,"")),(n=(n=n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")).toLowerCase().replace(/[^a-z0-9\s-]/g,"")).trim().replace(/\s+/g,"-")},exports.useAddExternalCSS=function(n,t){void 0===t&&(t=!1),e.useEffect((function(){var e=!1,p=document.head,r=o();return document.querySelectorAll("head > link").forEach((function(t){-1!==t.href.indexOf(n)&&(e=!0)})),e||p.appendChild(r),function(){t&&document.querySelectorAll("head > link").forEach((function(e){-1!==e.href.indexOf(n)&&document.head.removeChild(e)}))}}),[n]);var o=function(){var e=document.createElement("link");return e.type="text/css",e.rel="stylesheet",e.href=n,e}},exports.useComponentSize=function(n){var t=e.useState({width:0,height:0}),o=t[0],p=t[1];return e.useEffect((function(){if(n.current){var e=new ResizeObserver((function(n){n.forEach((function(n){var e=n.target;p({width:e.clientWidth,height:e.clientHeight})}))}));return e.observe(n.current),function(){return e.disconnect()}}}),[n]),[o]},exports.useConnectionStatus=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("online",e),function(){window.removeEventListener("online",e)}}),[n])},exports.useConstructor=function(n){void 0===n&&(n=function(){});var t=e.useState(!1),o=t[0],p=t[1];o||(n(),p(!0))},exports.useContextBridge=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];if(0===t.length)return function(e){var t=e.children;return n.jsx(n.Fragment,{children:t})};var p=t.map(e.useContext),r=e.useRef(p);return r.current=p,e.useMemo((function(){return function(e){var o=e.children;return t.reduceRight((function(e,t,o){return n.jsx(t.Provider,{value:r.current[o],children:e})}),o)}}),[])},exports.useCoreFetch=Ei,exports.useCreateDynamicStyle=function(n,t,o){void 0===o&&(o=be("itd-dynamic-style")),e.useEffect((function(){return i()||p(),function(){var n=c();"string"!=typeof n&&n.parentNode&&n.parentNode.removeChild(n)}}),[]);var p=function(){M(),t("cs-"+o)},i=function(){return 0===Object.keys(n).length},c=function(){var n="";return document.querySelectorAll("head > style").forEach((function(e){e.id===o&&(n=e)})),n},M=function(){var e=z(n),t=document.createElement("style");t.setAttribute("type","text/css"),t.setAttribute("id",o),t.innerHTML=e.join(""),document.head.appendChild(t)},z=function(n){var e=[];for(var t in n){var p=JSON.stringify(n[t]).split('","').join(";").replace(/"/g,"");p=b().use(r).use(Ni).use(gr({})).process(p).css;var i=".cs-".concat(o," ").concat(t," ");i+=p,i+=" ",e.push(i)}return e}},exports.useCreateStyledStyle=Bi,exports.useKeyboardShortcut=function(n){var t=n.key,o=n.onKeyPressed;e.useEffect((function(){function n(n){n.key===t&&(n.preventDefault(),o())}return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[t,o])},exports.useMultiQuery=Ti,exports.useOnClickOutside=ki,exports.useOnESCKeyDown=Si,exports.useOnResize=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[n])},exports.useOrientation=function(){var n=e.useState("portrait-primary"===window.screen.orientation.type?"portrait":"landscape"),t=n[0],o=n[1];return e.useEffect((function(){var n=function(n){var e=n.currentTarget.type;"landscape-primary"===e?o("landscape"):"portrait-primary"===e&&o("portrait")};return screen.orientation.addEventListener("change",n),function(){screen.orientation.removeEventListener("change",n)}}),[]),t},exports.useReCaptcha=function(n){var t,o=e.useState(""),p=o[0],r=o[1];e.useEffect((function(){return function(){document.body.removeChild(t)}}),[]);return{loadReCaptcha:function(n){(t=document.createElement("script")).src="https://www.google.com/recaptcha/api.js?render="+n,t.onload=function(){r(n)},document.body.appendChild(t)},executeReCaptcha:function(){if(""===p)return Fn.double("useReCaptcha","Not yet initialized! reCaptcha can't execute right now.","error"),void(n&&n(null));window.grecaptcha.ready((function(e){try{window.grecaptcha.execute(p,{action:"login"}).then((function(e){Fn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Fn.double("ReCaptcha V3","Token is invalid","error")}}))}}},exports.useSingleQuery=Xi;
package/dist/index.d.ts CHANGED
@@ -321,6 +321,9 @@ interface UseKeyboardShortcutProps {
321
321
  }
322
322
  declare const useKeyboardShortcut: ({ key, onKeyPressed }: UseKeyboardShortcutProps) => void;
323
323
 
324
+ type OrientationType = "portrait" | "landscape";
325
+ declare const useOrientation: () => OrientationType;
326
+
324
327
  declare const H1: ({ children }: {
325
328
  children: ChildrenProps$1;
326
329
  }) => react_jsx_runtime.JSX.Element;
@@ -1522,4 +1525,4 @@ declare enum FormValidationTypes {
1522
1525
  USERNAME = "username"
1523
1526
  }
1524
1527
 
1525
- export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, type CalendarDayProps, type CalendarProps, type CalendarValueProps, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, type DatePickerProps, DetermineNewHeight, DetermineNewWidth, type FieldUpdateProps, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, type FlexAlignProps, type FlexGapProps, type FlexJustifyProps, type FlexProps, Form, type FormContextType, type FormItemProps, type FormProps, type FormRuleProps, type FormSubComponentProps, FormValidationTypes, type FormValueProps, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, type GroupCheckboxOptionType, H1, H2, H3, H4, ITDContext, type ITDContextType, type ITDImperativeFuncProps, ITDProvider, type ITDProviderProps, type ITDSize, type ITDSizeSlug, _default as Image, InlineSelect, InlineSelectArrow, Input, type InputProps, type InputVariant, IsValidJSON, Lock as LockIcon, type ModalContentProps, ModalManager, type ModalProps, type ModalRefProps, ModalState, NoData, Notification, type NotificationContextType, type NotificationsProps, Picture, Progress, type ProgressProps, type ProgressStatus, type QueryValueProps, Radio, RemoveUnits, Result, type ResultProps, SVGLoader, Select, type SelectDirection, type SelectOptionProps, type SelectPosition, type SelectProps, type SelectToggleProps, type SelectValue, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, type TableRefProps, type TableRow, type TableTRProps, Tabs, type TabsItemProps, type TabsProps, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, TinyScrollbar, Tooltip, TranslateCell, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useReCaptcha, useSingleQuery };
1528
+ export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, type CalendarDayProps, type CalendarProps, type CalendarValueProps, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, type DatePickerProps, DetermineNewHeight, DetermineNewWidth, type FieldUpdateProps, FileChecker, FileExtensions, FileTypes, FindSelector, Flex, type FlexAlignProps, type FlexGapProps, type FlexJustifyProps, type FlexProps, Form, type FormContextType, type FormItemProps, type FormProps, type FormRuleProps, type FormSubComponentProps, FormValidationTypes, type FormValueProps, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, type GroupCheckboxOptionType, H1, H2, H3, H4, ITDContext, type ITDContextType, type ITDImperativeFuncProps, ITDProvider, type ITDProviderProps, type ITDSize, type ITDSizeSlug, _default as Image, InlineSelect, InlineSelectArrow, Input, type InputProps, type InputVariant, IsValidJSON, Lock as LockIcon, type ModalContentProps, ModalManager, type ModalProps, type ModalRefProps, ModalState, NoData, Notification, type NotificationContextType, type NotificationsProps, Picture, Progress, type ProgressProps, type ProgressStatus, type QueryValueProps, Radio, RemoveUnits, Result, type ResultProps, SVGLoader, Select, type SelectDirection, type SelectOptionProps, type SelectPosition, type SelectProps, type SelectToggleProps, type SelectValue, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, type TableRefProps, type TableRow, type TableTRProps, Tabs, type TabsItemProps, type TabsProps, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, TinyScrollbar, Tooltip, TranslateCell, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };