import e,{useState as t,useEffect as n,useRef as r}from"react";import a from"prop-types";function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t.indexOf(n=s[r])>=0||(a[n]=e[n]);return a}function o(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M19 12H5",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 19L5 12L12 5",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function l(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M6 9L12 15L18 9",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function c(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M15 6L9 12L15 18",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function m(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M9 18L15 12L9 6",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function d(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M18 6L6 18",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 6L18 18",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function h(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M21 15V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V15",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M7 10L12 15L17 10",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 15V3",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function u(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M11 4H4C3.46957 4 2.96086 4.21071 2.58579 4.58579C2.21071 4.96086 2 5.46957 2 6V20C2 20.5304 2.21071 21.0391 2.58579 21.4142C2.96086 21.7893 3.46957 22 4 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V13",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18.5 2.5C18.8978 2.10217 19.4374 1.87868 20 1.87868C20.5626 1.87868 21.1022 2.10217 21.5 2.5C21.8978 2.89782 22.1213 3.43739 22.1213 4C22.1213 4.56261 21.8978 5.10217 21.5 5.5L12 15L8 16L9 12L18.5 2.5Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function k(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M14 18C18.4183 18 22 14.4183 22 10C22 5.58172 18.4183 2 14 2C9.58172 2 6 5.58172 6 10C6 14.4183 9.58172 18 14 18Z",stroke:"#333333",strokeWidth:"2"}),e.createElement("path",{d:"M2 22L8 16",stroke:"#333333",strokeWidth:"2"}),e.createElement("path",{d:"M2 16L8 22",stroke:"#333333",strokeWidth:"2"}))}function p(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M22 3H2L10 12.46V19L14 21V12.46L22 3Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function C(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M19.4 15C19.2669 15.3016 19.2272 15.6362 19.286 15.9606C19.3448 16.285 19.4995 16.5843 19.73 16.82L19.79 16.88C19.976 17.0657 20.1235 17.2863 20.2241 17.5291C20.3248 17.7719 20.3766 18.0322 20.3766 18.295C20.3766 18.5578 20.3248 18.8181 20.2241 19.0609C20.1235 19.3037 19.976 19.5243 19.79 19.71C19.6043 19.896 19.3837 20.0435 19.1409 20.1441C18.8981 20.2448 18.6378 20.2966 18.375 20.2966C18.1122 20.2966 17.8519 20.2448 17.6091 20.1441C17.3663 20.0435 17.1457 19.896 16.96 19.71L16.9 19.65C16.6643 19.4195 16.365 19.2648 16.0406 19.206C15.7162 19.1472 15.3816 19.1869 15.08 19.32C14.7842 19.4468 14.532 19.6572 14.3543 19.9255C14.1766 20.1938 14.0813 20.5082 14.08 20.83V21C14.08 21.5304 13.8693 22.0391 13.4942 22.4142C13.1191 22.7893 12.6104 23 12.08 23C11.5496 23 11.0409 22.7893 10.6658 22.4142C10.2907 22.0391 10.08 21.5304 10.08 21V20.91C10.0723 20.579 9.96512 20.258 9.77251 19.9887C9.5799 19.7194 9.31074 19.5143 9 19.4C8.69838 19.2669 8.36381 19.2272 8.03941 19.286C7.71502 19.3448 7.41568 19.4995 7.18 19.73L7.12 19.79C6.93425 19.976 6.71368 20.1235 6.47088 20.2241C6.22808 20.3248 5.96783 20.3766 5.705 20.3766C5.44217 20.3766 5.18192 20.3248 4.93912 20.2241C4.69632 20.1235 4.47575 19.976 4.29 19.79C4.10405 19.6043 3.95653 19.3837 3.85588 19.1409C3.75523 18.8981 3.70343 18.6378 3.70343 18.375C3.70343 18.1122 3.75523 17.8519 3.85588 17.6091C3.95653 17.3663 4.10405 17.1457 4.29 16.96L4.35 16.9C4.58054 16.6643 4.73519 16.365 4.794 16.0406C4.85282 15.7162 4.81312 15.3816 4.68 15.08C4.55324 14.7842 4.34276 14.532 4.07447 14.3543C3.80618 14.1766 3.49179 14.0813 3.17 14.08H3C2.46957 14.08 1.96086 13.8693 1.58579 13.4942C1.21071 13.1191 1 12.6104 1 12.08C1 11.5496 1.21071 11.0409 1.58579 10.6658C1.96086 10.2907 2.46957 10.08 3 10.08H3.09C3.42099 10.0723 3.742 9.96512 4.0113 9.77251C4.28059 9.5799 4.48572 9.31074 4.6 9C4.73312 8.69838 4.77282 8.36381 4.714 8.03941C4.65519 7.71502 4.50054 7.41568 4.27 7.18L4.21 7.12C4.02405 6.93425 3.87653 6.71368 3.77588 6.47088C3.67523 6.22808 3.62343 5.96783 3.62343 5.705C3.62343 5.44217 3.67523 5.18192 3.77588 4.93912C3.87653 4.69632 4.02405 4.47575 4.21 4.29C4.39575 4.10405 4.61632 3.95653 4.85912 3.85588C5.10192 3.75523 5.36217 3.70343 5.625 3.70343C5.88783 3.70343 6.14808 3.75523 6.39088 3.85588C6.63368 3.95653 6.85425 4.10405 7.04 4.29L7.1 4.35C7.33568 4.58054 7.63502 4.73519 7.95941 4.794C8.28381 4.85282 8.61838 4.81312 8.92 4.68H9C9.29577 4.55324 9.54802 4.34276 9.72569 4.07447C9.90337 3.80618 9.99872 3.49179 10 3.17V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.09C14.0013 3.41179 14.0966 3.72618 14.2743 3.99447C14.452 4.26276 14.7042 4.47324 15 4.6C15.3016 4.73312 15.6362 4.77282 15.9606 4.714C16.285 4.65519 16.5843 4.50054 16.82 4.27L16.88 4.21C17.0657 4.02405 17.2863 3.87653 17.5291 3.77588C17.7719 3.67523 18.0322 3.62343 18.295 3.62343C18.5578 3.62343 18.8181 3.67523 19.0609 3.77588C19.3037 3.87653 19.5243 4.02405 19.71 4.21C19.896 4.39575 20.0435 4.61632 20.1441 4.85912C20.2448 5.10192 20.2966 5.36217 20.2966 5.625C20.2966 5.88783 20.2448 6.14808 20.1441 6.39088C20.0435 6.63368 19.896 6.85425 19.71 7.04L19.65 7.1C19.4195 7.33568 19.2648 7.63502 19.206 7.95941C19.1472 8.28381 19.1869 8.61838 19.32 8.92V9C19.4468 9.29577 19.6572 9.54802 19.9255 9.72569C20.1938 9.90337 20.5082 9.99872 20.83 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.91C20.5882 14.0013 20.2738 14.0966 20.0055 14.2743C19.7372 14.452 19.5268 14.7042 19.4 15V15Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function N(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M14 18C18.4183 18 22 14.4183 22 10C22 5.58172 18.4183 2 14 2C9.58172 2 6 5.58172 6 10C6 14.4183 9.58172 18 14 18Z",stroke:"#333333",strokeWidth:"2"}),e.createElement("path",{d:"M2 22L8 16",stroke:"#333333",strokeWidth:"2"}),e.createElement("path",{d:"M2 15V22H9",stroke:"#333333",strokeWidth:"2"}))}function f(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function E(t){return e.createElement("svg",{className:t.className,width:t.height,height:t.width,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M12 5V19",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M5 12H19",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function v(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M18.36 6.64C19.6184 7.89879 20.4753 9.50244 20.8223 11.2482C21.1693 12.9939 20.9909 14.8034 20.3096 16.4478C19.6284 18.0921 18.4748 19.4976 16.9948 20.4864C15.5148 21.4752 13.7749 22.0029 11.995 22.0029C10.2151 22.0029 8.47515 21.4752 6.99517 20.4864C5.51519 19.4976 4.36164 18.0921 3.68036 16.4478C2.99909 14.8034 2.82069 12.9939 3.16772 11.2482C3.51475 9.50244 4.37162 7.89879 5.63 6.64",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 2V12",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function g(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M23 4V10H17",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1 20V14H7",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M3.51 9C4.01717 7.56678 4.87913 6.2854 6.01547 5.27542C7.1518 4.26543 8.52547 3.55976 10.0083 3.22426C11.4911 2.88875 13.0348 2.93434 14.4952 3.35677C15.9556 3.77921 17.2853 4.56471 18.36 5.64L23 10M1 14L5.64 18.36C6.71475 19.4353 8.04437 20.2208 9.50481 20.6432C10.9652 21.0657 12.5089 21.1112 13.9917 20.7757C15.4745 20.4402 16.8482 19.7346 17.9845 18.7246C19.1209 17.7146 19.9828 16.4332 20.49 15",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function L(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V5C3 4.46957 3.21071 3.96086 3.58579 3.58579C3.96086 3.21071 4.46957 3 5 3H16L21 8V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17 21V13H7V21",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M7 3V8H15",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function w(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 6H5H21",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M10 11V17",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M14 11V17",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function b(t){return e.createElement("svg",{className:t.className,width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z",stroke:"#333333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function j(t){return e.createElement({"arrow-left":o,"chevron-down":l,"chevron-left":c,"chevron-right":m,close:d,download:h,edit:u,female:k,filter:p,gear:C,male:N,"more-vertical":f,plus:E,power:v,refresh:g,save:L,trash:w,user:b}[t.icon],{className:t.className,height:t.iconSize,width:t.iconSize})}function y(t){var n,r=t.className,a=t.children,o=t.icon,l=t.iconSize,c=t.transparent,m=t.variant,d=i(t,["className","children","icon","iconSize","transparent","variant"]),h=["sk-button","sk-button-"+m,c&&"sk-button-transparent",r];return h=h.filter(Boolean).join(" ").trim(),n=o&&e.createElement(j,{icon:o,iconSize:l}),e.createElement("button",s({className:h},d),n,a)}function M(t){var n=t.className,r=i(t,["className","children"]),a=["sk-checkbox",n].join(" ").trim();return e.createElement("label",{className:a},e.createElement("input",s({className:"sk-checkbox-input",type:"checkbox"},r)),e.createElement("p",{className:"sk-checkbox-label"},t.children),e.createElement("span",{className:"sk-checkbox-mark"}))}function W(t){var n=t.className,r=i(t,["children","className"]),a=["sk-container",n].join(" ").trim();return e.createElement("div",s({className:a},r),t.children)}function T(a){var s=t(!1),i=s[0],o=s[1],l={openDropdownMenu:function(){o(!0)},closeDropdownMenu:function(){o(!1)},toggleDropdownMenu:function(){i?l.closeDropdownMenu():l.openDropdownMenu()},handleClickOutside:function(e){c.current.contains(e.target)||l.closeDropdownMenu()}};n(function(){return document.body.addEventListener("click",l.handleClickOutside),function(){return document.body.removeEventListener("click",l.handleClickOutside)}});var c=r(),m=e.createElement("div",{ref:c,onClick:l.toggleDropdownMenu},e.createElement(y,{variant:"icon",icon:a.icon,iconSize:a.iconSize,transparent:!0})),d=["sk-dropdown-menu",i?"sk-dropdown-menu-show":""].join(" ").trim();return e.createElement("div",{className:"dropdown"},m,e.createElement("dl",{className:d},a.children))}function x(t){var n=t.children,r=t.className,a=t.label,o=t.message,l=t.required,c=i(t,["children","className","label","message","required"]),m=["sk-field",r].join(" ").trim();return e.createElement("div",s({className:m},c),e.createElement("label",{className:"sk-field-label"},a,e.createElement("span",{className:"sk-field-required"},l?"*":"")),n,e.createElement("label",{className:"sk-field-message"},o))}function V(t){var n=t.children,r=["sk-flex",t.column&&"sk-flex-column",t.fullwidth&&"sk-flex-fullwidth",t.className];return r=r.join(" ").trim(),e.createElement("div",{className:r},n)}function H(t){var n=t.children,r=t.className,a=t.desc,o=t.title,l=i(t,["children","className","desc","title"]),c=["sk-form",r].join(" ").trim();return e.createElement("form",s({className:c},l),e.createElement("h2",{className:"sk-form-title"},o),e.createElement("p",{className:"sk-form-desc"},a),n)}function S(t){var n=t.className,r=t.rounded,a=i(t,["className","rounded"]),o=["sk-image",r&&"sk-image-rounded",n].join(" ").trim();return e.createElement("img",s({className:o},a))}function z(t){var n=t.className,r=t.number,a=i(t,["className","number"]),o=["sk-input",r&&"sk-input-number",n].join(" ").trim();return e.createElement("input",s({className:o},a))}function B(){return e.createElement("svg",{className:"sk-loader"})}function O(t){var n=["sk-masonry",t.className].join(" ").trim();return e.createElement("section",{className:n},t.children)}function P(n){var r=t(!1),a=r[0],s=r[1],i=e.createElement(y,{variant:"icon",icon:n.icon,onClick:function(){return s(!0)}});return a?e.createElement("div",null,i,e.createElement("div",{className:"sk-modal"},e.createElement("div",{className:"sk-modal-container"},e.createElement(y,{onClick:function(){return s(!1)},className:"sk-modal-close-button",variant:"icon",icon:"close",iconSize:18}),n.children))):e.createElement(e.Fragment,null,i)}function Z(t){var n=t.activePage,r=t.totalPages,a=r-n,s=e.createElement("a",{className:"sk-pagination-item active"},n),i=e.createElement("div",{className:"sk-pagination-hidden"}),o=e.createElement("a",{className:"sk-pagination-ellipsis"},"...");function l(n){return e.createElement("a",{className:"sk-pagination-item",onClick:function(){return t.onClick(n)}},n)}return e.createElement("div",{className:"sk-pagination"},n>2?l(1):n<=2?i:void 0,function(){if(n>3){if(n-2<=2)return l(n-2);if(n-2>=3)return o}if(n<=3)return i}(),n>=2?l(n-1):n<2?i:void 0,s,a>=1?l(n+1):a<1?i:void 0,function(){if(a>2){var e=r-(n+1);if(e<=2)return l(n+2);if(e>=3)return o}if(a<=2)return i}(),a>1?l(r):a<=1?i:void 0)}function R(t){var n=["sk-section",t.className].join(" ").trim();return e.createElement("section",{className:n},e.createElement("h1",{className:"sk-section-title"},t.title),t.children)}function D(t){var n=t.className,r=t.children,a=i(t,["className","children"]),o=["sk-select",n].join(" ").trim();return e.createElement("div",{className:o},e.createElement("select",s({className:"sk-select-input"},a),r))}function q(n){var r=t(""),a=r[0],s=r[1],i=function(){return s("")},o=a?e.createElement(y,{onClick:i,variant:"text"},"Close"):e.createElement(y,{onClick:function(){return s("sk-sidebar-show")},variant:"text"},"Menu"),l=["sk-sidebar",n.className].join(" ").trim();return e.createElement("aside",{className:l},e.createElement("div",{onClick:i,className:("sk-sidebar-content "+a).trim()},n.children,e.createElement("div",{className:"sk-sidebar-content-spacer"})),e.createElement("div",{className:"sk-sidebar-mobile-menu"},o))}function I(t){var n=t.headerCells.map(function(t,n){var r=["sk-table-header-cell",t.capitalize&&"sk-table-th-capitalize",t.minWidth&&"sk-table-th-min-width",t.textRight&&"sk-table-th-right"];return r=r.join(" ").trim(),e.createElement("th",{key:n,className:r,title:t.title},t.name)});return e.createElement("div",{className:"sk-table-container"},e.createElement("table",{className:"sk-table"},e.createElement("thead",{className:"sk-table-header"},e.createElement("tr",{className:"sk-table-row"},n)),e.createElement("tbody",{className:"sk-table-body"},t.children)))}function F(t){var n=t.className,r=t.children,a=i(t,["className","children"]),o=["sk-textarea",n].join(" ").trim();return e.createElement("textarea",s({className:o},a),r)}function A(t){var n=t.desc;return e.createElement("div",{className:"sk-title-container"},e.createElement("h1",{className:"sk-title"},t.title),e.createElement("p",{className:"sk-title-desc"},n))}function G(t){var n=["sk-toast","sk-toast-"+t.type,t.active&&"sk-toast-active",t.className];return n=n.join(" ").trim(),e.createElement("div",{className:n},t.children)}function J(t){var n=["sk-toolbar",t.className].join(" ").trim();return e.createElement("div",{className:n},t.children)}o.propTypes={className:a.string},l.propTypes={className:a.string},c.propTypes={className:a.string},m.propTypes={className:a.string},d.propTypes={className:a.string},h.propTypes={className:a.string},u.propTypes={className:a.string},k.propTypes={className:a.string},p.propTypes={className:a.string},C.propTypes={className:a.string},N.propTypes={className:a.string},f.propTypes={className:a.string},E.propTypes={className:a.string},v.propTypes={className:a.string},g.propTypes={className:a.string},L.propTypes={className:a.string},w.propTypes={className:a.string},b.propTypes={className:a.string},j.propTypes={className:a.string,icon:a.oneOf(["arrow-left","chevron-down","chevron-left","chevron-right","close","download","edit","female","filter","gear","male","more-vertical","plus","power","refresh","save","trash","user"]).isRequired,iconSize:a.number},j.defaultProps={iconSize:24},y.propTypes={icon:a.string,iconSize:a.number,transparent:a.bool,variant:a.oneOf(["solid","outline","text","icon"])},y.defaultProps={iconSize:24,variant:"solid"},y.displayName="Shirakami Button",T.Item=function(t){var n=t.children,r=t.className,a=i(t,["children","className"]),o=["sk-dropdown-item",r].join(" ").trim();return e.createElement("dt",s({className:o},a),n)},T.propTypes={icon:a.string,iconSize:a.number},T.Item.propTypes={onClick:a.func},T.defaultProps={icon:"more-vertical",iconSize:18},x.propTypes={label:a.string,message:a.string},V.propTypes={column:a.bool,fullwidth:a.bool},H.Section=function(t){var n=["sk-form-section",t.className].join(" ").trim();return e.createElement("section",{className:n},e.createElement("h3",null,t.title),t.children)},H.Row=function(t){var n=["sk-form-row",t.className].join(" ").trim();return e.createElement("div",{className:n},t.children)},H.Footer=function(t){var n=["sk-form-footer",t.className].join(" ").trim();return e.createElement("section",{className:n},t.children)},H.propTypes={desc:a.string,title:a.string},H.Section.propTypes={title:a.string},z.defaultProps={size:30},P.propTypes={icon:a.string.isRequired},Z.propTypes={activePage:a.number,totalPages:a.number},Z.defaultProps={activePage:1,totalPages:1},R.Row=function(t){var n=["sk-section-row",t.className].join(" ").trim();return e.createElement("div",{className:n},t.children)},R.Item=function(t){var n=["sk-section-item",t.className].join(" ").trim();return e.createElement("div",{className:n},e.createElement("label",{className:"sk-section-label"},t.label),t.children)},D.Option=function(t){var n=t.className,r=t.children,a=i(t,["className","children"]);return e.createElement("option",s({className:n},a),r)},(q.Menu=function(t){var n=["sk-sidebar-menu",t.className].join(" ").trim();return e.createElement("dl",{className:n},t.label&&e.createElement("label",{className:"sk-sidebar-label"},t.label),t.children)}).propTypes={label:a.string},q.displayName="Shirakami Sidebar",q.Menu.displayName="Shirakami Sidebar Menu",I.Row=function(t){var n=["sk-table-row",t.className].join(" ").trim();return e.createElement("tr",s({},t,{className:n}),t.children)},I.Cell=function(t){var n=["sk-table-cell",t.minWidth&&"sk-table-th-min-width",t.textRight&&"sk-table-th-right",t.capitalize&&"sk-table-th-capitalize",t.className];return n=n.join(" ").trim(),e.createElement("td",{className:n},t.children)},I.propTypes={children:a.node,headerCell:a.array},I.Row.propTypes={children:a.node,className:a.string},I.Cell.propTypes={capitalize:a.bool,children:a.node,className:a.string,minWidth:a.bool,textRight:a.bool},I.displayName="Shirakami Table",I.Row.displayName="Shirakami Table Row",I.Cell.displayName="Shirakami Table Cell",A.propTypes={title:a.string,desc:a.string},A.displayName="Title",G.propTypes={active:a.bool,type:a.oneOf(["success","error","warning","info"])};export{y as Button,M as Checkbox,W as Container,T as Dropdown,x as Field,V as Flex,H as Form,j as Icon,S as Image,z as Input,B as Loader,O as Masonry,P as Modal,Z as Pagination,R as Section,D as Select,q as Sidebar,I as Table,F as Textarea,A as Title,G as Toast,J as Toolbar};
//# sourceMappingURL=shirakami.esm.js.map
