@shlinkio/shlink-frontend-kit 0.1.0 → 0.1.2
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.
- package/dist/base.scss +27 -0
- package/dist/index.css +1 -1
- package/dist/index.umd.cjs +3 -3
- package/package.json +2 -2
package/dist/base.scss
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Breakpoints
|
|
2
|
+
$xsMax: 575px;
|
|
3
|
+
$smMin: 576px;
|
|
4
|
+
$smMax: 767px;
|
|
5
|
+
$mdMin: 768px;
|
|
6
|
+
$mdMax: 991px;
|
|
7
|
+
$lgMin: 992px;
|
|
8
|
+
$lgMax: 1199px;
|
|
9
|
+
$xlgMin: 1200px;
|
|
10
|
+
$responsiveTableBreakpoint: $mdMax;
|
|
11
|
+
|
|
12
|
+
// Colors
|
|
13
|
+
$mainColor: #4696e5;
|
|
14
|
+
$lightColor: #f5f6fe;
|
|
15
|
+
$lightGrey: #eeeeee;
|
|
16
|
+
$dangerColor: #dc3545;
|
|
17
|
+
$mediumGrey: #dee2e6;
|
|
18
|
+
$textPlaceholder: #6c757d;
|
|
19
|
+
|
|
20
|
+
// Misc
|
|
21
|
+
$headerHeight: 56px;
|
|
22
|
+
$asideMenuWidth: 260px;
|
|
23
|
+
$footer-height: 2.3rem;
|
|
24
|
+
$footer-margin: .8rem;
|
|
25
|
+
|
|
26
|
+
// Bootstrap overwrites
|
|
27
|
+
$primary: $mainColor;
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.search-field{position:relative}.search-field:focus-within{z-index:1}.search-field__input.search-field__input{padding-left:40px;padding-right:40px}.search-field__input--no-border.search-field__input--no-border{border:none;border-radius:0}.search-field__icon{position:absolute;top:50%;transform:translateY(-50%);left:15px;color:#6c757d}.search-field__close{position:absolute;top:50%;transform:translateY(-50%);right:10px;cursor:pointer}.dropdown-btn__toggle.dropdown-btn__toggle{text-align:left}.dropdown-btn__toggle.dropdown-btn__toggle--with-caret{padding-right:1.75rem}.dropdown-btn__toggle.dropdown-btn__toggle,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{color:var(--input-text-color);background-color:var(--primary-color);border-color:var(--input-border-color)}.card .dropdown-btn__toggle.dropdown-btn__toggle,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{background-color:var(--input-color)}.dropdown-btn__toggle.dropdown-btn__toggle.disabled,.dropdown-btn__toggle.dropdown-btn__toggle:disabled{background-color:var(--input-disabled-color)}.dropdown-btn__toggle.dropdown-btn__toggle:after{position:absolute;top:50%;transform:translateY(-50%);right:.75rem}.nav-pills__nav{position:sticky!important;top:55px;z-index:2}.nav-pills__nav-link.nav-pills__nav-link{border-radius:0!important;padding-bottom:calc(.5rem - 3px)!important;border-bottom:3px solid transparent!important;color:#5d6778;font-weight:700;cursor:pointer;text-decoration:none}@media (min-width: 576px) and (max-width: 991px){.nav-pills__nav-link.nav-pills__nav-link{font-size:89%}}.nav-pills__nav-link:hover{color:#4696e5!important}.nav-pills__nav-link.active{border-color:#4696e5!important;background-color:var(--primary-color)!important;color:#4696e5!important}.ordering-dropdown__menu--link.ordering-dropdown__menu--link{min-width:11rem}.ordering-dropdown__sort-icon{margin:3.5px 0 0;float:right}
|
|
1
|
+
@media (max-width: 991px){.responsive-table__header{display:none}}@media (max-width: 991px){.responsive-table.table>:not(:first-child){border:none}}@media (max-width: 991px){.responsive-table__row{display:block;border-bottom:1px solid var(--border-color);border-top:2px solid var(--border-color);position:relative}.responsive-table__row:not(:last-child){margin-bottom:10px}}.responsive-table__cell.responsive-table__cell{vertical-align:middle!important}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell{display:block;width:100%;position:relative;padding:.5rem;font-size:.9rem}.responsive-table__cell.responsive-table__cell[data-th]:before{content:attr(data-th) ": ";font-weight:700}.responsive-table__cell.responsive-table__cell:last-child{position:absolute;top:3.5px;right:.5rem;width:auto;padding:0;border:none}}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell .btn-sm{padding:.1rem .4rem;margin-top:.16rem}}html:not([data-theme=dark]){--color-scheme: initial;--primary-color: #ffffff;--primary-color-alfa: rgba(255, 255, 255, .5);--secondary-color: #f5f6fe;--text-color: #232323;--border-color: rgba(0, 0, 0, .125);--active-color: #eeeeee;--brand-color: #4696e5;--input-color: #ffffff;--input-disabled-color: #f5f6fe;--input-border-color: rgba(0, 0, 0, .19);--input-text-color: #495057;--table-border-color: #dee2e6;--table-highlight-color: rgba(0, 0, 0, .075);--btn-close-filter: initial}html[data-theme=dark]{--color-scheme: dark;--primary-color: #161b22;--primary-color-alfa: rgba(22, 27, 34, .8);--secondary-color: #0f131a;--text-color: rgb(201, 209, 217);--border-color: rgba(255, 255, 255, .15);--active-color: #0f131a;--brand-color: #0b2d4e;--input-color: #12161c;--input-disabled-color: #1a2028;--input-border-color: rgba(255, 255, 255, .15);--input-text-color: rgb(201, 209, 217);--table-border-color: #393d43;--table-highlight-color: rgba(255, 255, 255, .15);--btn-close-filter: invert(1)}a,.btn-link{text-decoration:none}a:not(.nav-link):not(.navbar-brand):not(.page-link):not(.highlight-card):not(.btn):not(.dropdown-item):hover,.btn-link:hover{text-decoration:underline}.bg-main{background-color:#4696e5!important}.bg-warning{color:#232323}.card-body,.card-header,.list-group-item{background-color:transparent}.card-footer{background-color:var(--primary-color-alfa)}.card{box-shadow:0 .125rem .25rem #00000013;background-color:var(--primary-color);border-color:var(--border-color)}.list-group,.modal-content,.page-link,.page-item.disabled .page-link,.dropdown-menu{background-color:var(--primary-color)}.modal-header,.modal-footer,.card-header,.card-footer,.table thead th,.table th,.table td,.page-link,.page-link:hover,.page-item.disabled .page-link,.dropdown-divider,.dropdown-menu,.list-group-item,.modal-content,hr{border-color:var(--border-color)}.table-bordered,.table-bordered thead th,.table-bordered thead td{border-color:var(--table-border-color)}.page-link:hover,.page-link:focus{background-color:var(--secondary-color)}.page-item.active .page-link{background-color:var(--brand-color);border-color:var(--brand-color)}.pagination .page-link{cursor:pointer}@media (min-width: 1200px){.container-xl{max-width:1320px}}@media (max-width: 767px){.container-xl{padding-right:0;padding-left:0}}.btn-block{display:block;width:100%}.btn-primary,.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-outline-primary:hover,.btn-outline-primary:active,.btn-outline-primary.active{color:#fff}.dropdown-item,.dropdown-item-text{color:var(--text-color)}.dropdown-item:not(:disabled){cursor:pointer}.dropdown-item:focus:not(:disabled),.dropdown-item:hover:not(:disabled),.dropdown-item.active:not(:disabled),.dropdown-item:active:not(:disabled){background-color:var(--active-color)!important;color:var(--text-color)!important}.dropdown-item--danger.dropdown-item--danger{color:#dc3545}.dropdown-item--danger.dropdown-item--danger:hover,.dropdown-item--danger.dropdown-item--danger:active,.dropdown-item--danger.dropdown-item--danger.active{color:#dc3545!important}.badge-main{color:#fff;background-color:var(--brand-color)}.close,.close:hover,.table,.table-hover>tbody>tr:hover>*,.table-hover>tbody>tr>*{color:var(--text-color)}.btn-close{filter:var(--btn-close-filter)}.table-hover tbody tr:hover{background-color:var(--secondary-color)}.form-control,.form-control:focus{background-color:var(--primary-color);border-color:var(--input-border-color);color:var(--input-text-color)}.form-control.disabled,.form-control:disabled{background-color:var(--input-disabled-color);cursor:not-allowed}.card .form-control:not(:disabled),.card .form-control:not(:disabled):hover{background-color:var(--input-color)}.table-active,.table-active>th,.table-active>td{background-color:var(--table-highlight-color)!important}@media (max-width: 767px){.navbar-brand{margin:0 auto!important}}.indivisible{white-space:nowrap}.pointer{cursor:pointer}.progress-bar{background-color:#4696e5}@media (max-width: 575px){.btn-xs-block{width:100%;display:block}}@media (max-width: 991px){.btn-md-block{width:100%;display:block}}.search-field{position:relative}.search-field:focus-within{z-index:1}.search-field__input.search-field__input{padding-left:40px;padding-right:40px}.search-field__input--no-border.search-field__input--no-border{border:none;border-radius:0}.search-field__icon{position:absolute;top:50%;transform:translateY(-50%);left:15px;color:#6c757d}.search-field__close{position:absolute;top:50%;transform:translateY(-50%);right:10px;cursor:pointer}.dropdown-btn__toggle.dropdown-btn__toggle{text-align:left}.dropdown-btn__toggle.dropdown-btn__toggle--with-caret{padding-right:1.75rem}.dropdown-btn__toggle.dropdown-btn__toggle,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{color:var(--input-text-color);background-color:var(--primary-color);border-color:var(--input-border-color)}.card .dropdown-btn__toggle.dropdown-btn__toggle,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{background-color:var(--input-color)}.dropdown-btn__toggle.dropdown-btn__toggle.disabled,.dropdown-btn__toggle.dropdown-btn__toggle:disabled{background-color:var(--input-disabled-color)}.dropdown-btn__toggle.dropdown-btn__toggle:after{position:absolute;top:50%;transform:translateY(-50%);right:.75rem}.nav-pills__nav{position:sticky!important;top:55px;z-index:2}.nav-pills__nav-link.nav-pills__nav-link{border-radius:0!important;padding-bottom:calc(.5rem - 3px)!important;border-bottom:3px solid transparent!important;color:#5d6778;font-weight:700;cursor:pointer;text-decoration:none}@media (min-width: 576px) and (max-width: 991px){.nav-pills__nav-link.nav-pills__nav-link{font-size:89%}}.nav-pills__nav-link:hover{color:#4696e5!important}.nav-pills__nav-link.active{border-color:#4696e5!important;background-color:var(--primary-color)!important;color:#4696e5!important}.ordering-dropdown__menu--link.ordering-dropdown__menu--link{min-width:11rem}.ordering-dropdown__sort-icon{margin:3.5px 0 0;float:right}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(p,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("react/jsx-runtime"),require("@fortawesome/free-solid-svg-icons"),require("@fortawesome/react-fontawesome"),require("reactstrap"),require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@fortawesome/free-solid-svg-icons","@fortawesome/react-fontawesome","reactstrap","react","react-router-dom"],u):(p=typeof globalThis<"u"?globalThis:p||self,u(p["shlink-frontend-kit"]={},p.jsxRuntime,p.freeSolidSvgIcons,p.reactFontawesome,p.reactstrap,p.react,p.reactRouterDom))})(this,function(p,u,te,ue,S,W,Ur){"use strict";function je(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Br(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return r[n]}})}),t}var Je={exports:{}};/*!
|
|
1
|
+
(function(p,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("react/jsx-runtime"),require("@fortawesome/free-solid-svg-icons"),require("@fortawesome/react-fontawesome"),require("reactstrap"),require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@fortawesome/free-solid-svg-icons","@fortawesome/react-fontawesome","reactstrap","react","react-router-dom"],u):(p=typeof globalThis<"u"?globalThis:p||self,u(p["shlink-frontend-kit"]={},p.jsxRuntime,p.freeSolidSvgIcons,p.reactFontawesome,p.reactstrap,p.react,p.reactRouterDom))})(this,function(p,u,te,ue,S,W,Ur){"use strict";const so="";function je(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Br(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return r[n]}})}),t}var Je={exports:{}};/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/(function(r){(function(){var e={}.hasOwnProperty;function t(){for(var n=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var l=typeof o;if(l==="string"||l==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&n.push(i)}}else if(l==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var c in o)e.call(o,c)&&o[c]&&n.push(c)}}}return n.join(" ")}r.exports?(t.default=t,r.exports=t):window.classNames=t})()})(Je);var kr=Je.exports;const I=je(kr),Gr=r=>({error:"border-danger",default:""})[r],Hr=r=>({error:"text-danger",default:"text-muted"})[r],Wr=({className:r,children:e,loading:t=!1,type:n="default",fullWidth:a=!1})=>{const o=I({"col-md-12":a,"col-md-10 offset-md-1":!a});return u.jsx(S.Row,{className:I("g-0",r),children:u.jsx("div",{className:o,children:u.jsx(S.Card,{className:Gr(n),body:!0,children:u.jsxs("h3",{className:I("text-center mb-0",Hr(n)),children:[t&&u.jsx(ue.FontAwesomeIcon,{icon:te.faCircleNotch,spin:!0}),t&&u.jsx("span",{className:"ms-2",children:e??"Loading..."}),!t&&e]})})})})},Ye=({title:r,children:e,bodyClassName:t,...n})=>u.jsxs(S.Card,{...n,children:[r&&u.jsx(S.CardHeader,{role:"heading",children:r}),u.jsx(S.CardBody,{className:t,children:e})]}),qr=({children:r,type:e,className:t,small:n=!1})=>u.jsx(S.Row,{className:t,children:u.jsx("div",{className:I({"col-md-10 offset-md-1":!n,"col-12":n}),children:u.jsx(Ye,{role:"document",className:I("text-center",{"bg-main":e==="success","bg-danger":e==="error","bg-warning":e==="warning","text-white":e!=="warning"}),bodyClassName:I({"p-2":n}),children:r})})});let se;const Vr=new Uint8Array(16);function zr(){if(!se&&(se=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!se))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return se(Vr)}const O=[];for(let r=0;r<256;++r)O.push((r+256).toString(16).slice(1));function Qr(r,e=0){return(O[r[e+0]]+O[r[e+1]]+O[r[e+2]]+O[r[e+3]]+"-"+O[r[e+4]]+O[r[e+5]]+"-"+O[r[e+6]]+O[r[e+7]]+"-"+O[r[e+8]]+O[r[e+9]]+"-"+O[r[e+10]]+O[r[e+11]]+O[r[e+12]]+O[r[e+13]]+O[r[e+14]]+O[r[e+15]]).toLowerCase()}const Ke={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function jr(r,e,t){if(Ke.randomUUID&&!e&&!r)return Ke.randomUUID();r=r||{};const n=r.random||(r.rng||zr)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let a=0;a<16;++a)e[t+a]=n[a];return e}return Qr(n)}const Xe=(r=!1)=>{const[e,t]=W.useState(r);return[e,()=>t(!e),()=>t(!0),()=>t(!1)]},Ae=()=>{const{current:r}=W.useRef(`dom-${jr()}`);return r},Jr=()=>W.useRef(null),Ze=({checked:r=!1,onChange:e,className:t,children:n,type:a,inline:o=!1})=>{const l=Ae(),i=s=>e==null?void 0:e(s.target.checked,s),c={"form-switch":a==="switch","form-checkbox":a==="checkbox"},f=o?{display:"inline-block"}:{};return u.jsxs("span",{className:I("form-check",c,t),style:f,children:[u.jsx("input",{type:"checkbox",className:"form-check-input",id:l,checked:r,onChange:i}),u.jsx("label",{className:"form-check-label",htmlFor:l,children:n})]})},Yr=r=>u.jsx(Ze,{type:"checkbox",...r}),Kr=r=>u.jsx(Ze,{type:"switch",...r}),er=({children:r,label:e,className:t="",labelClassName:n="",noMargin:a=!1,id:o})=>u.jsxs("div",{className:`${t} ${a?"":"mb-3"}`,children:[u.jsx("label",{className:`form-label ${n}`,htmlFor:o,children:e}),r]}),Xr=({children:r,value:e,onChange:t,type:n,required:a,placeholder:o,className:l,labelClassName:i})=>{const c=Ae();return u.jsx(er,{label:u.jsxs(u.Fragment,{children:[r,":"]}),className:l??"",labelClassName:i,id:c,children:u.jsx("input",{id:c,className:"form-control",type:n??"text",value:e,required:a??!0,placeholder:o,onChange:f=>t(f.target.value)})})},po="",Zr=500;let pe;const et=({onChange:r,className:e,large:t=!0,noBorder:n=!1,initialValue:a=""})=>{const[o,l]=W.useState(a),i=()=>{pe&&clearTimeout(pe),pe=null},c=(f,s=Zr)=>{l(f),i(),pe=setTimeout(()=>{r(f),i()},s)};return u.jsxs("div",{className:I("search-field",e),children:[u.jsx("input",{type:"text",className:I("form-control search-field__input",{"form-control-lg":t,"search-field__input--no-border":n}),placeholder:"Search...",value:o,onChange:f=>c(f.target.value)}),u.jsx(ue.FontAwesomeIcon,{icon:te.faSearch,className:"search-field__icon"}),u.jsx("button",{"aria-label":"Clear search",type:"button",className:"close search-field__close btn-close",hidden:o==="",id:"search-field__close",onClick:()=>c("",0)})]})},yo="",rr=({text:r,disabled:e=!1,className:t,children:n,dropdownClassName:a,noCaret:o,end:l=!1,minWidth:i,inline:c,size:f})=>{const[s,v]=Xe(),y=I("dropdown-btn__toggle",t,{"btn-block":!c,"dropdown-btn__toggle--with-caret":!o}),g={minWidth:i&&`${i}px`};return u.jsxs(S.Dropdown,{isOpen:s,toggle:v,disabled:e,className:a,children:[u.jsx(S.DropdownToggle,{size:f,caret:!o,className:y,color:"primary",children:r}),u.jsx(S.DropdownMenu,{className:"w-100",end:l,style:g,children:n})]})},rt=({children:r,minWidth:e})=>u.jsx(rr,{text:u.jsx(ue.FontAwesomeIcon,{className:"px-1",icon:te.faEllipsisV}),size:"sm",minWidth:e,end:!0,noCaret:!0,inline:!0,children:r}),vo="",tr=({children:r,...e})=>u.jsx(S.NavLink,{className:"nav-pills__nav-link",tag:Ur.NavLink,...e,children:r}),tt=({children:r,fill:e=!1,className:t=""})=>u.jsx(S.Card,{className:`nav-pills__nav p-0 overflow-hidden ${t}`,body:!0,children:u.jsx(S.Nav,{pills:!0,fill:e,children:W.Children.map(r,n=>{if(!W.isValidElement(n)||n.type!==tr)throw new Error("Only NavPillItem children are allowed inside NavPills.");return n})})}),nr=(r,e,t)=>r!==e?"ASC":t?{ASC:"DESC",DESC:void 0}[t]:"ASC",nt=(r,{field:e,dir:t})=>!e||!t?r:r.sort((n,a)=>{const o=t==="ASC"?1:-1,l=t==="ASC"?-1:1;return n[e]>a[e]?o:l}),ot=r=>r.dir?`${r.field}-${r.dir}`:void 0,at=r=>{const[e,t]=r.split("-");return{field:e,dir:t}},mo="";function it({items:r,order:e,onChange:t,isButton:n=!0,right:a=!1,prefixed:o=!0}){const l=i=>()=>{const c=nr(i,e.field,e.dir);t(c?i:void 0,c)};return u.jsxs(S.UncontrolledDropdown,{children:[u.jsxs(S.DropdownToggle,{caret:!0,color:n?"primary":"link",className:I({"dropdown-btn__toggle btn-block pe-4 overflow-hidden":n,"btn-sm p-0":!n}),children:[!n&&u.jsx(u.Fragment,{children:"Order by"}),n&&!e.field&&u.jsx("i",{children:"Order by..."}),n&&e.field&&u.jsxs(u.Fragment,{children:[o&&"Order by: ",r[e.field]," - ",u.jsx("small",{children:e.dir??"DESC"})]})]}),u.jsxs(S.DropdownMenu,{end:a,className:I("w-100",{"ordering-dropdown__menu--link":!n}),children:[Object.entries(r).map(([i,c])=>u.jsxs(S.DropdownItem,{active:e.field===i,onClick:l(i),children:[c,e.field===i&&u.jsx(ue.FontAwesomeIcon,{icon:e.dir==="ASC"?te.faSortAmountUp:te.faSortAmountDown,className:"ordering-dropdown__sort-icon"})]},i)),u.jsx(S.DropdownItem,{divider:!0}),u.jsx(S.DropdownItem,{disabled:!e.field,onClick:()=>t(),children:u.jsx("i",{children:"Clear selection"})})]})]})}const lt="#4696e5",ct="rgba(70, 150, 229, 0.4)",ft="#f77f28",ut="rgba(247, 127, 40, 0.4)",st="white",pt="#161b22",yt=r=>{var e;return(e=document.querySelector("html"))==null?void 0:e.setAttribute("data-theme",r)},dt=()=>{var r;return((r=document.querySelector("html"))==null?void 0:r.getAttribute("data-theme"))==="dark"};var vt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[t]=a;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==a||l.enumerable!==!0)return!1}return!0},or=typeof Symbol<"u"&&Symbol,mt=vt,ht=function(){return typeof or!="function"||typeof Symbol!="function"||typeof or("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:mt()},ar={foo:{}},gt=Object,St=function(){return{__proto__:ar}.foo===ar.foo&&!({__proto__:null}instanceof gt)},bt="Function.prototype.bind called on incompatible ",Pe=Array.prototype.slice,wt=Object.prototype.toString,Ot="[object Function]",At=function(e){var t=this;if(typeof t!="function"||wt.call(t)!==Ot)throw new TypeError(bt+t);for(var n=Pe.call(arguments,1),a,o=function(){if(this instanceof a){var s=t.apply(this,n.concat(Pe.call(arguments)));return Object(s)===s?s:this}else return t.apply(e,n.concat(Pe.call(arguments)))},l=Math.max(0,t.length-n.length),i=[],c=0;c<l;c++)i.push("$"+c);if(a=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var f=function(){};f.prototype=t.prototype,a.prototype=new f,f.prototype=null}return a},Pt=At,Ee=Function.prototype.bind||Pt,Et=Ee,It=Et.call(Function.call,Object.prototype.hasOwnProperty),d,q=SyntaxError,ir=Function,V=TypeError,Ie=function(r){try{return ir('"use strict"; return ('+r+").constructor;")()}catch{}},B=Object.getOwnPropertyDescriptor;if(B)try{B({},"")}catch{B=null}var Ne=function(){throw new V},Nt=B?function(){try{return arguments.callee,Ne}catch{try{return B(arguments,"callee").get}catch{return Ne}}}():Ne,z=ht(),_t=St(),b=Object.getPrototypeOf||(_t?function(r){return r.__proto__}:null),Q={},Ft=typeof Uint8Array>"u"||!b?d:b(Uint8Array),k={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":z&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":Q,"%AsyncGenerator%":Q,"%AsyncGeneratorFunction%":Q,"%AsyncIteratorPrototype%":Q,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":ir,"%GeneratorFunction%":Q,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&b?b(""[Symbol.iterator]()):d,"%Symbol%":z?Symbol:d,"%SyntaxError%":q,"%ThrowTypeError%":Nt,"%TypedArray%":Ft,"%TypeError%":V,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};if(b)try{null.error}catch(r){var $t=b(b(r));k["%Error.prototype%"]=$t}var Ct=function r(e){var t;if(e==="%AsyncFunction%")t=Ie("async function () {}");else if(e==="%GeneratorFunction%")t=Ie("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ie("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=r("%AsyncGenerator%");a&&b&&(t=b(a.prototype))}return k[e]=t,t},lr={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=Ee,ye=It,Dt=ne.call(Function.call,Array.prototype.concat),xt=ne.call(Function.apply,Array.prototype.splice),cr=ne.call(Function.call,String.prototype.replace),de=ne.call(Function.call,String.prototype.slice),Tt=ne.call(Function.call,RegExp.prototype.exec),Mt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rt=/\\(\\)?/g,Lt=function(e){var t=de(e,0,1),n=de(e,-1);if(t==="%"&&n!=="%")throw new q("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new q("invalid intrinsic syntax, expected opening `%`");var a=[];return cr(e,Mt,function(o,l,i,c){a[a.length]=i?cr(c,Rt,"$1"):l||o}),a},Ut=function(e,t){var n=e,a;if(ye(lr,n)&&(a=lr[n],n="%"+a[0]+"%"),ye(k,n)){var o=k[n];if(o===Q&&(o=Ct(n)),typeof o>"u"&&!t)throw new V("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new q("intrinsic "+e+" does not exist!")},_e=function(e,t){if(typeof e!="string"||e.length===0)throw new V("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new V('"allowMissing" argument must be a boolean');if(Tt(/^%?[^%]*%?$/,e)===null)throw new q("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Lt(e),a=n.length>0?n[0]:"",o=Ut("%"+a+"%",t),l=o.name,i=o.value,c=!1,f=o.alias;f&&(a=f[0],xt(n,Dt([0,1],f)));for(var s=1,v=!0;s<n.length;s+=1){var y=n[s],g=de(y,0,1),h=de(y,-1);if((g==='"'||g==="'"||g==="`"||h==='"'||h==="'"||h==="`")&&g!==h)throw new q("property names with quotes must have matching quotes");if((y==="constructor"||!v)&&(c=!0),a+="."+y,l="%"+a+"%",ye(k,l))i=k[l];else if(i!=null){if(!(y in i)){if(!t)throw new V("base intrinsic for "+e+" exists, but the property is not available.");return}if(B&&s+1>=n.length){var E=B(i,y);v=!!E,v&&"get"in E&&!("originalValue"in E.get)?i=E.get:i=i[y]}else v=ye(i,y),i=i[y];v&&!c&&(k[l]=i)}}return i},fr={exports:{}};(function(r){var e=Ee,t=_e,n=t("%Function.prototype.apply%"),a=t("%Function.prototype.call%"),o=t("%Reflect.apply%",!0)||e.call(a,n),l=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),c=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(v){var y=o(e,a,arguments);if(l&&i){var g=l(y,"length");g.configurable&&i(y,"length",{value:1+c(0,v.length-(arguments.length-1))})}return y};var f=function(){return o(e,n,arguments)};i?i(r.exports,"apply",{value:f}):r.exports.apply=f})(fr);var Bt=fr.exports,ur=_e,sr=Bt,kt=sr(ur("String.prototype.indexOf")),Gt=function(e,t){var n=ur(e,!!t);return typeof n=="function"&&kt(e,".prototype.")>-1?sr(n):n};const Ht=Br(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Fe=typeof Map=="function"&&Map.prototype,$e=Object.getOwnPropertyDescriptor&&Fe?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ve=Fe&&$e&&typeof $e.get=="function"?$e.get:null,pr=Fe&&Map.prototype.forEach,Ce=typeof Set=="function"&&Set.prototype,De=Object.getOwnPropertyDescriptor&&Ce?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,me=Ce&&De&&typeof De.get=="function"?De.get:null,yr=Ce&&Set.prototype.forEach,Wt=typeof WeakMap=="function"&&WeakMap.prototype,oe=Wt?WeakMap.prototype.has:null,qt=typeof WeakSet=="function"&&WeakSet.prototype,ae=qt?WeakSet.prototype.has:null,Vt=typeof WeakRef=="function"&&WeakRef.prototype,dr=Vt?WeakRef.prototype.deref:null,zt=Boolean.prototype.valueOf,Qt=Object.prototype.toString,jt=Function.prototype.toString,Jt=String.prototype.match,xe=String.prototype.slice,T=String.prototype.replace,Yt=String.prototype.toUpperCase,vr=String.prototype.toLowerCase,mr=RegExp.prototype.test,hr=Array.prototype.concat,_=Array.prototype.join,Kt=Array.prototype.slice,gr=Math.floor,Te=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,j=typeof Symbol=="function"&&typeof Symbol.iterator=="object",A=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j||"symbol")?Symbol.toStringTag:null,Sr=Object.prototype.propertyIsEnumerable,br=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function wr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||mr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-gr(-r):gr(r);if(n!==r){var a=String(n),o=xe.call(e,a.length+1);return T.call(a,t,"$&_")+"."+T.call(T.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(e,t,"$&_")}var Le=Ht,Or=Le.custom,Ar=Ir(Or)?Or:null,Xt=function r(e,t,n,a){var o=t||{};if(M(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(M(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=M(o,"customInspect")?o.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(M(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(M(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return _r(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return i?wr(e,c):c}if(typeof e=="bigint"){var f=String(e)+"n";return i?wr(e,f):f}var s=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=s&&s>0&&typeof e=="object")return Ue(e)?"[Array]":"[Object]";var v=hn(o,n);if(typeof a>"u")a=[];else if(Nr(a,e)>=0)return"[Circular]";function y(x,ee,Oe){if(ee&&(a=Kt.call(a),a.push(ee)),Oe){var re={depth:o.depth};return M(o,"quoteStyle")&&(re.quoteStyle=o.quoteStyle),r(x,re,n+1,a)}return r(x,o,n+1,a)}if(typeof e=="function"&&!Er(e)){var g=cn(e),h=he(e,y);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(h.length>0?" { "+_.call(h,", ")+" }":"")}if(Ir(e)){var E=j?T.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Re.call(e);return typeof e=="object"&&!j?ie(E):E}if(dn(e)){for(var C="<"+vr.call(String(e.nodeName)),m=e.attributes||[],D=0;D<m.length;D++)C+=" "+m[D].name+"="+Pr(Zt(m[D].value),"double",o);return C+=">",e.childNodes&&e.childNodes.length&&(C+="..."),C+="</"+vr.call(String(e.nodeName))+">",C}if(Ue(e)){if(e.length===0)return"[]";var L=he(e,y);return v&&!mn(L)?"["+ke(L,v)+"]":"[ "+_.call(L,", ")+" ]"}if(rn(e)){var K=he(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!Sr.call(e,"cause")?"{ ["+String(e)+"] "+_.call(hr.call("[cause]: "+y(e.cause),K),", ")+" }":K.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(K,", ")+" }"}if(typeof e=="object"&&l){if(Ar&&typeof e[Ar]=="function"&&Le)return Le(e,{depth:s-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(fn(e)){var ce=[];return pr&&pr.call(e,function(x,ee){ce.push(y(ee,e,!0)+" => "+y(x,e))}),Fr("Map",ve.call(e),ce,v)}if(pn(e)){var we=[];return yr&&yr.call(e,function(x){we.push(y(x,e))}),Fr("Set",me.call(e),we,v)}if(un(e))return Be("WeakMap");if(yn(e))return Be("WeakSet");if(sn(e))return Be("WeakRef");if(nn(e))return ie(y(Number(e)));if(an(e))return ie(y(Te.call(e)));if(on(e))return ie(zt.call(e));if(tn(e))return ie(y(String(e)));if(!en(e)&&!Er(e)){var H=he(e,y),U=br?br(e)===Object.prototype:e instanceof Object||e.constructor===Object,X=e instanceof Object?"":"null prototype",Z=!U&&A&&Object(e)===e&&A in e?xe.call(R(e),8,-1):X?"Object":"",fe=U||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",N=fe+(Z||X?"["+_.call(hr.call([],Z||[],X||[]),": ")+"] ":"");return H.length===0?N+"{}":v?N+"{"+ke(H,v)+"}":N+"{ "+_.call(H,", ")+" }"}return String(e)};function Pr(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function Zt(r){return T.call(String(r),/"/g,""")}function Ue(r){return R(r)==="[object Array]"&&(!A||!(typeof r=="object"&&A in r))}function en(r){return R(r)==="[object Date]"&&(!A||!(typeof r=="object"&&A in r))}function Er(r){return R(r)==="[object RegExp]"&&(!A||!(typeof r=="object"&&A in r))}function rn(r){return R(r)==="[object Error]"&&(!A||!(typeof r=="object"&&A in r))}function tn(r){return R(r)==="[object String]"&&(!A||!(typeof r=="object"&&A in r))}function nn(r){return R(r)==="[object Number]"&&(!A||!(typeof r=="object"&&A in r))}function on(r){return R(r)==="[object Boolean]"&&(!A||!(typeof r=="object"&&A in r))}function Ir(r){if(j)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Re)return!1;try{return Re.call(r),!0}catch{}return!1}function an(r){if(!r||typeof r!="object"||!Te)return!1;try{return Te.call(r),!0}catch{}return!1}var ln=Object.prototype.hasOwnProperty||function(r){return r in this};function M(r,e){return ln.call(r,e)}function R(r){return Qt.call(r)}function cn(r){if(r.name)return r.name;var e=Jt.call(jt.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Nr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function fn(r){if(!ve||!r||typeof r!="object")return!1;try{ve.call(r);try{me.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function un(r){if(!oe||!r||typeof r!="object")return!1;try{oe.call(r,oe);try{ae.call(r,ae)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function sn(r){if(!dr||!r||typeof r!="object")return!1;try{return dr.call(r),!0}catch{}return!1}function pn(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r);try{ve.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function yn(r){if(!ae||!r||typeof r!="object")return!1;try{ae.call(r,ae);try{oe.call(r,oe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function dn(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function _r(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return _r(xe.call(r,0,e.maxStringLength),e)+n}var a=T.call(T.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,vn);return Pr(a,"single",e)}function vn(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Yt.call(e.toString(16))}function ie(r){return"Object("+r+")"}function Be(r){return r+" { ? }"}function Fr(r,e,t,n){var a=n?ke(t,n):_.call(t,", ");return r+" ("+e+") {"+a+"}"}function mn(r){for(var e=0;e<r.length;e++)if(Nr(r[e],`
|
|
5
|
+
*/(function(r){(function(){var e={}.hasOwnProperty;function t(){for(var n=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var l=typeof o;if(l==="string"||l==="number")n.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&n.push(i)}}else if(l==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var c in o)e.call(o,c)&&o[c]&&n.push(c)}}}return n.join(" ")}r.exports?(t.default=t,r.exports=t):window.classNames=t})()})(Je);var kr=Je.exports;const I=je(kr),Gr=r=>({error:"border-danger",default:""})[r],Hr=r=>({error:"text-danger",default:"text-muted"})[r],Wr=({className:r,children:e,loading:t=!1,type:n="default",fullWidth:a=!1})=>{const o=I({"col-md-12":a,"col-md-10 offset-md-1":!a});return u.jsx(S.Row,{className:I("g-0",r),children:u.jsx("div",{className:o,children:u.jsx(S.Card,{className:Gr(n),body:!0,children:u.jsxs("h3",{className:I("text-center mb-0",Hr(n)),children:[t&&u.jsx(ue.FontAwesomeIcon,{icon:te.faCircleNotch,spin:!0}),t&&u.jsx("span",{className:"ms-2",children:e??"Loading..."}),!t&&e]})})})})},Ye=({title:r,children:e,bodyClassName:t,...n})=>u.jsxs(S.Card,{...n,children:[r&&u.jsx(S.CardHeader,{role:"heading",children:r}),u.jsx(S.CardBody,{className:t,children:e})]}),qr=({children:r,type:e,className:t,small:n=!1})=>u.jsx(S.Row,{className:t,children:u.jsx("div",{className:I({"col-md-10 offset-md-1":!n,"col-12":n}),children:u.jsx(Ye,{role:"document",className:I("text-center",{"bg-main":e==="success","bg-danger":e==="error","bg-warning":e==="warning","text-white":e!=="warning"}),bodyClassName:I({"p-2":n}),children:r})})});let se;const Vr=new Uint8Array(16);function zr(){if(!se&&(se=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!se))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return se(Vr)}const O=[];for(let r=0;r<256;++r)O.push((r+256).toString(16).slice(1));function Qr(r,e=0){return(O[r[e+0]]+O[r[e+1]]+O[r[e+2]]+O[r[e+3]]+"-"+O[r[e+4]]+O[r[e+5]]+"-"+O[r[e+6]]+O[r[e+7]]+"-"+O[r[e+8]]+O[r[e+9]]+"-"+O[r[e+10]]+O[r[e+11]]+O[r[e+12]]+O[r[e+13]]+O[r[e+14]]+O[r[e+15]]).toLowerCase()}const Ke={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function jr(r,e,t){if(Ke.randomUUID&&!e&&!r)return Ke.randomUUID();r=r||{};const n=r.random||(r.rng||zr)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let a=0;a<16;++a)e[t+a]=n[a];return e}return Qr(n)}const Xe=(r=!1)=>{const[e,t]=W.useState(r);return[e,()=>t(!e),()=>t(!0),()=>t(!1)]},Ae=()=>{const{current:r}=W.useRef(`dom-${jr()}`);return r},Jr=()=>W.useRef(null),Ze=({checked:r=!1,onChange:e,className:t,children:n,type:a,inline:o=!1})=>{const l=Ae(),i=s=>e==null?void 0:e(s.target.checked,s),c={"form-switch":a==="switch","form-checkbox":a==="checkbox"},f=o?{display:"inline-block"}:{};return u.jsxs("span",{className:I("form-check",c,t),style:f,children:[u.jsx("input",{type:"checkbox",className:"form-check-input",id:l,checked:r,onChange:i}),u.jsx("label",{className:"form-check-label",htmlFor:l,children:n})]})},Yr=r=>u.jsx(Ze,{type:"checkbox",...r}),Kr=r=>u.jsx(Ze,{type:"switch",...r}),er=({children:r,label:e,className:t="",labelClassName:n="",noMargin:a=!1,id:o})=>u.jsxs("div",{className:`${t} ${a?"":"mb-3"}`,children:[u.jsx("label",{className:`form-label ${n}`,htmlFor:o,children:e}),r]}),Xr=({children:r,value:e,onChange:t,type:n,required:a,placeholder:o,className:l,labelClassName:i})=>{const c=Ae();return u.jsx(er,{label:u.jsxs(u.Fragment,{children:[r,":"]}),className:l??"",labelClassName:i,id:c,children:u.jsx("input",{id:c,className:"form-control",type:n??"text",value:e,required:a??!0,placeholder:o,onChange:f=>t(f.target.value)})})},yo="",Zr=500;let pe;const et=({onChange:r,className:e,large:t=!0,noBorder:n=!1,initialValue:a=""})=>{const[o,l]=W.useState(a),i=()=>{pe&&clearTimeout(pe),pe=null},c=(f,s=Zr)=>{l(f),i(),pe=setTimeout(()=>{r(f),i()},s)};return u.jsxs("div",{className:I("search-field",e),children:[u.jsx("input",{type:"text",className:I("form-control search-field__input",{"form-control-lg":t,"search-field__input--no-border":n}),placeholder:"Search...",value:o,onChange:f=>c(f.target.value)}),u.jsx(ue.FontAwesomeIcon,{icon:te.faSearch,className:"search-field__icon"}),u.jsx("button",{"aria-label":"Clear search",type:"button",className:"close search-field__close btn-close",hidden:o==="",id:"search-field__close",onClick:()=>c("",0)})]})},vo="",rr=({text:r,disabled:e=!1,className:t,children:n,dropdownClassName:a,noCaret:o,end:l=!1,minWidth:i,inline:c,size:f})=>{const[s,v]=Xe(),y=I("dropdown-btn__toggle",t,{"btn-block":!c,"dropdown-btn__toggle--with-caret":!o}),g={minWidth:i&&`${i}px`};return u.jsxs(S.Dropdown,{isOpen:s,toggle:v,disabled:e,className:a,children:[u.jsx(S.DropdownToggle,{size:f,caret:!o,className:y,color:"primary",children:r}),u.jsx(S.DropdownMenu,{className:"w-100",end:l,style:g,children:n})]})},rt=({children:r,minWidth:e})=>u.jsx(rr,{text:u.jsx(ue.FontAwesomeIcon,{className:"px-1",icon:te.faEllipsisV}),size:"sm",minWidth:e,end:!0,noCaret:!0,inline:!0,children:r}),mo="",tr=({children:r,...e})=>u.jsx(S.NavLink,{className:"nav-pills__nav-link",tag:Ur.NavLink,...e,children:r}),tt=({children:r,fill:e=!1,className:t=""})=>u.jsx(S.Card,{className:`nav-pills__nav p-0 overflow-hidden ${t}`,body:!0,children:u.jsx(S.Nav,{pills:!0,fill:e,children:W.Children.map(r,n=>{if(!W.isValidElement(n)||n.type!==tr)throw new Error("Only NavPillItem children are allowed inside NavPills.");return n})})}),nr=(r,e,t)=>r!==e?"ASC":t?{ASC:"DESC",DESC:void 0}[t]:"ASC",nt=(r,{field:e,dir:t})=>!e||!t?r:r.sort((n,a)=>{const o=t==="ASC"?1:-1,l=t==="ASC"?-1:1;return n[e]>a[e]?o:l}),ot=r=>r.dir?`${r.field}-${r.dir}`:void 0,at=r=>{const[e,t]=r.split("-");return{field:e,dir:t}},ho="";function it({items:r,order:e,onChange:t,isButton:n=!0,right:a=!1,prefixed:o=!0}){const l=i=>()=>{const c=nr(i,e.field,e.dir);t(c?i:void 0,c)};return u.jsxs(S.UncontrolledDropdown,{children:[u.jsxs(S.DropdownToggle,{caret:!0,color:n?"primary":"link",className:I({"dropdown-btn__toggle btn-block pe-4 overflow-hidden":n,"btn-sm p-0":!n}),children:[!n&&u.jsx(u.Fragment,{children:"Order by"}),n&&!e.field&&u.jsx("i",{children:"Order by..."}),n&&e.field&&u.jsxs(u.Fragment,{children:[o&&"Order by: ",r[e.field]," - ",u.jsx("small",{children:e.dir??"DESC"})]})]}),u.jsxs(S.DropdownMenu,{end:a,className:I("w-100",{"ordering-dropdown__menu--link":!n}),children:[Object.entries(r).map(([i,c])=>u.jsxs(S.DropdownItem,{active:e.field===i,onClick:l(i),children:[c,e.field===i&&u.jsx(ue.FontAwesomeIcon,{icon:e.dir==="ASC"?te.faSortAmountUp:te.faSortAmountDown,className:"ordering-dropdown__sort-icon"})]},i)),u.jsx(S.DropdownItem,{divider:!0}),u.jsx(S.DropdownItem,{disabled:!e.field,onClick:()=>t(),children:u.jsx("i",{children:"Clear selection"})})]})]})}const lt="#4696e5",ct="rgba(70, 150, 229, 0.4)",ft="#f77f28",ut="rgba(247, 127, 40, 0.4)",st="white",pt="#161b22",yt=r=>{var e;return(e=document.querySelector("html"))==null?void 0:e.setAttribute("data-theme",r)},dt=()=>{var r;return((r=document.querySelector("html"))==null?void 0:r.getAttribute("data-theme"))==="dark"};var vt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[t]=a;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==a||l.enumerable!==!0)return!1}return!0},or=typeof Symbol<"u"&&Symbol,mt=vt,ht=function(){return typeof or!="function"||typeof Symbol!="function"||typeof or("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:mt()},ar={foo:{}},gt=Object,St=function(){return{__proto__:ar}.foo===ar.foo&&!({__proto__:null}instanceof gt)},bt="Function.prototype.bind called on incompatible ",Pe=Array.prototype.slice,wt=Object.prototype.toString,Ot="[object Function]",At=function(e){var t=this;if(typeof t!="function"||wt.call(t)!==Ot)throw new TypeError(bt+t);for(var n=Pe.call(arguments,1),a,o=function(){if(this instanceof a){var s=t.apply(this,n.concat(Pe.call(arguments)));return Object(s)===s?s:this}else return t.apply(e,n.concat(Pe.call(arguments)))},l=Math.max(0,t.length-n.length),i=[],c=0;c<l;c++)i.push("$"+c);if(a=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var f=function(){};f.prototype=t.prototype,a.prototype=new f,f.prototype=null}return a},Pt=At,Ee=Function.prototype.bind||Pt,Et=Ee,It=Et.call(Function.call,Object.prototype.hasOwnProperty),d,q=SyntaxError,ir=Function,V=TypeError,Ie=function(r){try{return ir('"use strict"; return ('+r+").constructor;")()}catch{}},B=Object.getOwnPropertyDescriptor;if(B)try{B({},"")}catch{B=null}var Ne=function(){throw new V},Nt=B?function(){try{return arguments.callee,Ne}catch{try{return B(arguments,"callee").get}catch{return Ne}}}():Ne,z=ht(),_t=St(),b=Object.getPrototypeOf||(_t?function(r){return r.__proto__}:null),Q={},Ft=typeof Uint8Array>"u"||!b?d:b(Uint8Array),k={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":z&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":Q,"%AsyncGenerator%":Q,"%AsyncGeneratorFunction%":Q,"%AsyncIteratorPrototype%":Q,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":ir,"%GeneratorFunction%":Q,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&b?b(""[Symbol.iterator]()):d,"%Symbol%":z?Symbol:d,"%SyntaxError%":q,"%ThrowTypeError%":Nt,"%TypedArray%":Ft,"%TypeError%":V,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};if(b)try{null.error}catch(r){var $t=b(b(r));k["%Error.prototype%"]=$t}var Ct=function r(e){var t;if(e==="%AsyncFunction%")t=Ie("async function () {}");else if(e==="%GeneratorFunction%")t=Ie("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ie("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=r("%AsyncGenerator%");a&&b&&(t=b(a.prototype))}return k[e]=t,t},lr={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=Ee,ye=It,xt=ne.call(Function.call,Array.prototype.concat),Dt=ne.call(Function.apply,Array.prototype.splice),cr=ne.call(Function.call,String.prototype.replace),de=ne.call(Function.call,String.prototype.slice),Tt=ne.call(Function.call,RegExp.prototype.exec),Mt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rt=/\\(\\)?/g,Lt=function(e){var t=de(e,0,1),n=de(e,-1);if(t==="%"&&n!=="%")throw new q("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new q("invalid intrinsic syntax, expected opening `%`");var a=[];return cr(e,Mt,function(o,l,i,c){a[a.length]=i?cr(c,Rt,"$1"):l||o}),a},Ut=function(e,t){var n=e,a;if(ye(lr,n)&&(a=lr[n],n="%"+a[0]+"%"),ye(k,n)){var o=k[n];if(o===Q&&(o=Ct(n)),typeof o>"u"&&!t)throw new V("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new q("intrinsic "+e+" does not exist!")},_e=function(e,t){if(typeof e!="string"||e.length===0)throw new V("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new V('"allowMissing" argument must be a boolean');if(Tt(/^%?[^%]*%?$/,e)===null)throw new q("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Lt(e),a=n.length>0?n[0]:"",o=Ut("%"+a+"%",t),l=o.name,i=o.value,c=!1,f=o.alias;f&&(a=f[0],Dt(n,xt([0,1],f)));for(var s=1,v=!0;s<n.length;s+=1){var y=n[s],g=de(y,0,1),h=de(y,-1);if((g==='"'||g==="'"||g==="`"||h==='"'||h==="'"||h==="`")&&g!==h)throw new q("property names with quotes must have matching quotes");if((y==="constructor"||!v)&&(c=!0),a+="."+y,l="%"+a+"%",ye(k,l))i=k[l];else if(i!=null){if(!(y in i)){if(!t)throw new V("base intrinsic for "+e+" exists, but the property is not available.");return}if(B&&s+1>=n.length){var E=B(i,y);v=!!E,v&&"get"in E&&!("originalValue"in E.get)?i=E.get:i=i[y]}else v=ye(i,y),i=i[y];v&&!c&&(k[l]=i)}}return i},fr={exports:{}};(function(r){var e=Ee,t=_e,n=t("%Function.prototype.apply%"),a=t("%Function.prototype.call%"),o=t("%Reflect.apply%",!0)||e.call(a,n),l=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),c=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(v){var y=o(e,a,arguments);if(l&&i){var g=l(y,"length");g.configurable&&i(y,"length",{value:1+c(0,v.length-(arguments.length-1))})}return y};var f=function(){return o(e,n,arguments)};i?i(r.exports,"apply",{value:f}):r.exports.apply=f})(fr);var Bt=fr.exports,ur=_e,sr=Bt,kt=sr(ur("String.prototype.indexOf")),Gt=function(e,t){var n=ur(e,!!t);return typeof n=="function"&&kt(e,".prototype.")>-1?sr(n):n};const Ht=Br(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Fe=typeof Map=="function"&&Map.prototype,$e=Object.getOwnPropertyDescriptor&&Fe?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ve=Fe&&$e&&typeof $e.get=="function"?$e.get:null,pr=Fe&&Map.prototype.forEach,Ce=typeof Set=="function"&&Set.prototype,xe=Object.getOwnPropertyDescriptor&&Ce?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,me=Ce&&xe&&typeof xe.get=="function"?xe.get:null,yr=Ce&&Set.prototype.forEach,Wt=typeof WeakMap=="function"&&WeakMap.prototype,oe=Wt?WeakMap.prototype.has:null,qt=typeof WeakSet=="function"&&WeakSet.prototype,ae=qt?WeakSet.prototype.has:null,Vt=typeof WeakRef=="function"&&WeakRef.prototype,dr=Vt?WeakRef.prototype.deref:null,zt=Boolean.prototype.valueOf,Qt=Object.prototype.toString,jt=Function.prototype.toString,Jt=String.prototype.match,De=String.prototype.slice,T=String.prototype.replace,Yt=String.prototype.toUpperCase,vr=String.prototype.toLowerCase,mr=RegExp.prototype.test,hr=Array.prototype.concat,_=Array.prototype.join,Kt=Array.prototype.slice,gr=Math.floor,Te=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,j=typeof Symbol=="function"&&typeof Symbol.iterator=="object",A=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j||"symbol")?Symbol.toStringTag:null,Sr=Object.prototype.propertyIsEnumerable,br=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function wr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||mr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-gr(-r):gr(r);if(n!==r){var a=String(n),o=De.call(e,a.length+1);return T.call(a,t,"$&_")+"."+T.call(T.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return T.call(e,t,"$&_")}var Le=Ht,Or=Le.custom,Ar=Ir(Or)?Or:null,Xt=function r(e,t,n,a){var o=t||{};if(M(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(M(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=M(o,"customInspect")?o.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(M(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(M(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return _r(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return i?wr(e,c):c}if(typeof e=="bigint"){var f=String(e)+"n";return i?wr(e,f):f}var s=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=s&&s>0&&typeof e=="object")return Ue(e)?"[Array]":"[Object]";var v=hn(o,n);if(typeof a>"u")a=[];else if(Nr(a,e)>=0)return"[Circular]";function y(D,ee,Oe){if(ee&&(a=Kt.call(a),a.push(ee)),Oe){var re={depth:o.depth};return M(o,"quoteStyle")&&(re.quoteStyle=o.quoteStyle),r(D,re,n+1,a)}return r(D,o,n+1,a)}if(typeof e=="function"&&!Er(e)){var g=cn(e),h=he(e,y);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(h.length>0?" { "+_.call(h,", ")+" }":"")}if(Ir(e)){var E=j?T.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Re.call(e);return typeof e=="object"&&!j?ie(E):E}if(dn(e)){for(var C="<"+vr.call(String(e.nodeName)),m=e.attributes||[],x=0;x<m.length;x++)C+=" "+m[x].name+"="+Pr(Zt(m[x].value),"double",o);return C+=">",e.childNodes&&e.childNodes.length&&(C+="..."),C+="</"+vr.call(String(e.nodeName))+">",C}if(Ue(e)){if(e.length===0)return"[]";var L=he(e,y);return v&&!mn(L)?"["+ke(L,v)+"]":"[ "+_.call(L,", ")+" ]"}if(rn(e)){var K=he(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!Sr.call(e,"cause")?"{ ["+String(e)+"] "+_.call(hr.call("[cause]: "+y(e.cause),K),", ")+" }":K.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(K,", ")+" }"}if(typeof e=="object"&&l){if(Ar&&typeof e[Ar]=="function"&&Le)return Le(e,{depth:s-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(fn(e)){var ce=[];return pr&&pr.call(e,function(D,ee){ce.push(y(ee,e,!0)+" => "+y(D,e))}),Fr("Map",ve.call(e),ce,v)}if(pn(e)){var we=[];return yr&&yr.call(e,function(D){we.push(y(D,e))}),Fr("Set",me.call(e),we,v)}if(un(e))return Be("WeakMap");if(yn(e))return Be("WeakSet");if(sn(e))return Be("WeakRef");if(nn(e))return ie(y(Number(e)));if(an(e))return ie(y(Te.call(e)));if(on(e))return ie(zt.call(e));if(tn(e))return ie(y(String(e)));if(!en(e)&&!Er(e)){var H=he(e,y),U=br?br(e)===Object.prototype:e instanceof Object||e.constructor===Object,X=e instanceof Object?"":"null prototype",Z=!U&&A&&Object(e)===e&&A in e?De.call(R(e),8,-1):X?"Object":"",fe=U||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",N=fe+(Z||X?"["+_.call(hr.call([],Z||[],X||[]),": ")+"] ":"");return H.length===0?N+"{}":v?N+"{"+ke(H,v)+"}":N+"{ "+_.call(H,", ")+" }"}return String(e)};function Pr(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function Zt(r){return T.call(String(r),/"/g,""")}function Ue(r){return R(r)==="[object Array]"&&(!A||!(typeof r=="object"&&A in r))}function en(r){return R(r)==="[object Date]"&&(!A||!(typeof r=="object"&&A in r))}function Er(r){return R(r)==="[object RegExp]"&&(!A||!(typeof r=="object"&&A in r))}function rn(r){return R(r)==="[object Error]"&&(!A||!(typeof r=="object"&&A in r))}function tn(r){return R(r)==="[object String]"&&(!A||!(typeof r=="object"&&A in r))}function nn(r){return R(r)==="[object Number]"&&(!A||!(typeof r=="object"&&A in r))}function on(r){return R(r)==="[object Boolean]"&&(!A||!(typeof r=="object"&&A in r))}function Ir(r){if(j)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Re)return!1;try{return Re.call(r),!0}catch{}return!1}function an(r){if(!r||typeof r!="object"||!Te)return!1;try{return Te.call(r),!0}catch{}return!1}var ln=Object.prototype.hasOwnProperty||function(r){return r in this};function M(r,e){return ln.call(r,e)}function R(r){return Qt.call(r)}function cn(r){if(r.name)return r.name;var e=Jt.call(jt.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Nr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function fn(r){if(!ve||!r||typeof r!="object")return!1;try{ve.call(r);try{me.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function un(r){if(!oe||!r||typeof r!="object")return!1;try{oe.call(r,oe);try{ae.call(r,ae)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function sn(r){if(!dr||!r||typeof r!="object")return!1;try{return dr.call(r),!0}catch{}return!1}function pn(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r);try{ve.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function yn(r){if(!ae||!r||typeof r!="object")return!1;try{ae.call(r,ae);try{oe.call(r,oe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function dn(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function _r(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return _r(De.call(r,0,e.maxStringLength),e)+n}var a=T.call(T.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,vn);return Pr(a,"single",e)}function vn(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Yt.call(e.toString(16))}function ie(r){return"Object("+r+")"}function Be(r){return r+" { ? }"}function Fr(r,e,t,n){var a=n?ke(t,n):_.call(t,", ");return r+" ("+e+") {"+a+"}"}function mn(r){for(var e=0;e<r.length;e++)if(Nr(r[e],`
|
|
6
6
|
`)>=0)return!1;return!0}function hn(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=_.call(Array(r.indent+1)," ");else return null;return{base:t,prev:_.call(Array(e+1),t)}}function ke(r,e){if(r.length===0)return"";var t=`
|
|
7
7
|
`+e.prev+e.base;return t+_.call(r,","+t)+`
|
|
8
|
-
`+e.prev}function he(r,e){var t=Ue(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=M(r,a)?e(r[a],r):""}var o=typeof Me=="function"?Me(r):[],l;if(j){l={};for(var i=0;i<o.length;i++)l["$"+o[i]]=o[i]}for(var c in r)M(r,c)&&(t&&String(Number(c))===c&&c<r.length||j&&l["$"+c]instanceof Symbol||(mr.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof Me=="function")for(var f=0;f<o.length;f++)Sr.call(r,o[f])&&n.push("["+e(o[f])+"]: "+e(r[o[f]],r));return n}var Ge=_e,J=Gt,gn=Xt,Sn=Ge("%TypeError%"),ge=Ge("%WeakMap%",!0),Se=Ge("%Map%",!0),bn=J("WeakMap.prototype.get",!0),wn=J("WeakMap.prototype.set",!0),On=J("WeakMap.prototype.has",!0),An=J("Map.prototype.get",!0),Pn=J("Map.prototype.set",!0),En=J("Map.prototype.has",!0),He=function(r,e){for(var t=r,n;(n=t.next)!==null;t=n)if(n.key===e)return t.next=n.next,n.next=r.next,r.next=n,n},In=function(r,e){var t=He(r,e);return t&&t.value},Nn=function(r,e,t){var n=He(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},_n=function(r,e){return!!He(r,e)},Fn=function(){var e,t,n,a={assert:function(o){if(!a.has(o))throw new Sn("Side channel does not contain "+gn(o))},get:function(o){if(ge&&o&&(typeof o=="object"||typeof o=="function")){if(e)return bn(e,o)}else if(Se){if(t)return An(t,o)}else if(n)return In(n,o)},has:function(o){if(ge&&o&&(typeof o=="object"||typeof o=="function")){if(e)return On(e,o)}else if(Se){if(t)return En(t,o)}else if(n)return _n(n,o);return!1},set:function(o,l){ge&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new ge),wn(e,o,l)):Se?(t||(t=new Se),Pn(t,o,l)):(n||(n={key:{},next:null}),Nn(n,o,l))}};return a},$n=String.prototype.replace,Cn=/%20/g,We={RFC1738:"RFC1738",RFC3986:"RFC3986"},qe={default:We.RFC3986,formatters:{RFC1738:function(r){return $n.call(r,Cn,"+")},RFC3986:function(r){return String(r)}},RFC1738:We.RFC1738,RFC3986:We.RFC3986},Dn=qe,Ve=Object.prototype.hasOwnProperty,G=Array.isArray,F=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),xn=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(G(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);t.obj[t.prop]=a}}},$r=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},Tn=function r(e,t,n){if(!t)return e;if(typeof t!="object"){if(G(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ve.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return G(e)&&!G(t)&&(a=$r(e,n)),G(e)&&G(t)?(t.forEach(function(o,l){if(Ve.call(e,l)){var i=e[l];i&&typeof i=="object"&&o&&typeof o=="object"?e[l]=r(i,o,n):e.push(o)}else e[l]=o}),e):Object.keys(t).reduce(function(o,l){var i=t[l];return Ve.call(o,l)?o[l]=r(o[l],i,n):o[l]=i,o},a)},Mn=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},Rn=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ln=function(e,t,n,a,o){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),n==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});for(var i="",c=0;c<l.length;++c){var f=l.charCodeAt(c);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===Dn.RFC1738&&(f===40||f===41)){i+=l.charAt(c);continue}if(f<128){i=i+F[f];continue}if(f<2048){i=i+(F[192|f>>6]+F[128|f&63]);continue}if(f<55296||f>=57344){i=i+(F[224|f>>12]+F[128|f>>6&63]+F[128|f&63]);continue}c+=1,f=65536+((f&1023)<<10|l.charCodeAt(c)&1023),i+=F[240|f>>18]+F[128|f>>12&63]+F[128|f>>6&63]+F[128|f&63]}return i},Un=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],l=o.obj[o.prop],i=Object.keys(l),c=0;c<i.length;++c){var f=i[c],s=l[f];typeof s=="object"&&s!==null&&n.indexOf(s)===-1&&(t.push({obj:l,prop:f}),n.push(s))}return xn(t),e},Bn=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},kn=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Gn=function(e,t){return[].concat(e,t)},Hn=function(e,t){if(G(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},Cr={arrayToObject:$r,assign:Mn,combine:Gn,compact:Un,decode:Rn,encode:Ln,isBuffer:kn,isRegExp:Bn,maybeMap:Hn,merge:Tn},Dr=Fn,be=Cr,le=qe,Wn=Object.prototype.hasOwnProperty,xr={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},$=Array.isArray,qn=Array.prototype.push,Tr=function(r,e){qn.apply(r,$(e)?e:[e])},Vn=Date.prototype.toISOString,Mr=le.default,P={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:be.encode,encodeValuesOnly:!1,format:Mr,formatter:le.formatters[Mr],indices:!1,serializeDate:function(e){return Vn.call(e)},skipNulls:!1,strictNullHandling:!1},zn=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ze={},Qn=function r(e,t,n,a,o,l,i,c,f,s,v,y,g,h,E,C){for(var m=e,D=C,L=0,K=!1;(D=D.get(ze))!==void 0&&!K;){var ce=D.get(e);if(L+=1,typeof ce<"u"){if(ce===L)throw new RangeError("Cyclic object value");K=!0}typeof D.get(ze)>"u"&&(L=0)}if(typeof c=="function"?m=c(t,m):m instanceof Date?m=v(m):n==="comma"&&$(m)&&(m=be.maybeMap(m,function(re){return re instanceof Date?v(re):re})),m===null){if(o)return i&&!h?i(t,P.encoder,E,"key",y):t;m=""}if(zn(m)||be.isBuffer(m)){if(i){var we=h?t:i(t,P.encoder,E,"key",y);return[g(we)+"="+g(i(m,P.encoder,E,"value",y))]}return[g(t)+"="+g(String(m))]}var H=[];if(typeof m>"u")return H;var U;if(n==="comma"&&$(m))h&&i&&(m=be.maybeMap(m,i)),U=[{value:m.length>0?m.join(",")||null:void 0}];else if($(c))U=c;else{var X=Object.keys(m);U=f?X.sort(f):X}for(var Z=a&&$(m)&&m.length===1?t+"[]":t,fe=0;fe<U.length;++fe){var N=U[fe],x=typeof N=="object"&&typeof N.value<"u"?N.value:m[N];if(!(l&&x===null)){var ee=$(m)?typeof n=="function"?n(Z,N):Z:Z+(s?"."+N:"["+N+"]");C.set(e,L);var Oe=Dr();Oe.set(ze,C),Tr(H,r(x,ee,n,a,o,l,n==="comma"&&h&&$(m)?null:i,c,f,s,v,y,g,h,E,Oe))}}return H},jn=function(e){if(!e)return P;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||P.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=le.default;if(typeof e.format<"u"){if(!Wn.call(le.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=le.formatters[n],o=P.filter;return(typeof e.filter=="function"||$(e.filter))&&(o=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:P.addQueryPrefix,allowDots:typeof e.allowDots>"u"?P.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:P.charsetSentinel,delimiter:typeof e.delimiter>"u"?P.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:P.encode,encoder:typeof e.encoder=="function"?e.encoder:P.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:P.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:P.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:P.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:P.strictNullHandling}},Jn=function(r,e){var t=r,n=jn(e),a,o;typeof n.filter=="function"?(o=n.filter,t=o("",t)):$(n.filter)&&(o=n.filter,a=o);var l=[];if(typeof t!="object"||t===null)return"";var i;e&&e.arrayFormat in xr?i=e.arrayFormat:e&&"indices"in e?i=e.indices?"indices":"repeat":i="indices";var c=xr[i];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=c==="comma"&&e&&e.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var s=Dr(),v=0;v<a.length;++v){var y=a[v];n.skipNulls&&t[y]===null||Tr(l,Qn(t[y],y,c,f,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var g=l.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),g.length>0?h+g:""},Y=Cr,Qe=Object.prototype.hasOwnProperty,Yn=Array.isArray,w={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Y.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Kn=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Rr=function(r,e){return r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1?r.split(","):r},Xn="utf8=%26%2310003%3B",Zn="utf8=%E2%9C%93",eo=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,l=a.split(t.delimiter,o),i=-1,c,f=t.charset;if(t.charsetSentinel)for(c=0;c<l.length;++c)l[c].indexOf("utf8=")===0&&(l[c]===Zn?f="utf-8":l[c]===Xn&&(f="iso-8859-1"),i=c,c=l.length);for(c=0;c<l.length;++c)if(c!==i){var s=l[c],v=s.indexOf("]="),y=v===-1?s.indexOf("="):v+1,g,h;y===-1?(g=t.decoder(s,w.decoder,f,"key"),h=t.strictNullHandling?null:""):(g=t.decoder(s.slice(0,y),w.decoder,f,"key"),h=Y.maybeMap(Rr(s.slice(y+1),t),function(E){return t.decoder(E,w.decoder,f,"value")})),h&&t.interpretNumericEntities&&f==="iso-8859-1"&&(h=Kn(h)),s.indexOf("[]=")>-1&&(h=Yn(h)?[h]:h),Qe.call(n,g)?n[g]=Y.combine(n[g],h):n[g]=h}return n},ro=function(r,e,t,n){for(var a=n?e:Rr(e,t),o=r.length-1;o>=0;--o){var l,i=r[o];if(i==="[]"&&t.parseArrays)l=[].concat(a);else{l=t.plainObjects?Object.create(null):{};var c=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,f=parseInt(c,10);!t.parseArrays&&c===""?l={0:a}:!isNaN(f)&&i!==c&&String(f)===c&&f>=0&&t.parseArrays&&f<=t.arrayLimit?(l=[],l[f]=a):c!=="__proto__"&&(l[c]=a)}a=l}return a},to=function(e,t,n,a){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,c=n.depth>0&&l.exec(o),f=c?o.slice(0,c.index):o,s=[];if(f){if(!n.plainObjects&&Qe.call(Object.prototype,f)&&!n.allowPrototypes)return;s.push(f)}for(var v=0;n.depth>0&&(c=i.exec(o))!==null&&v<n.depth;){if(v+=1,!n.plainObjects&&Qe.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+o.slice(c.index)+"]"),ro(s,t,n,a)}},no=function(e){if(!e)return w;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=typeof e.charset>"u"?w.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?w.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:w.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:w.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:w.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:w.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:w.comma,decoder:typeof e.decoder=="function"?e.decoder:w.decoder,delimiter:typeof e.delimiter=="string"||Y.isRegExp(e.delimiter)?e.delimiter:w.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:w.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:w.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:w.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:w.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:w.strictNullHandling}},oo=function(r,e){var t=no(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?Object.create(null):{};for(var n=typeof r=="string"?eo(r,t):r,a=t.plainObjects?Object.create(null):{},o=Object.keys(n),l=0;l<o.length;++l){var i=o[l],c=to(i,n[i],t,typeof r=="string");a=Y.merge(a,c,t)}return t.allowSparse===!0?a:Y.compact(a)},ao=Jn,io=oo,lo=qe,co={formats:lo,parse:io,stringify:ao};const Lr=je(co),fo=r=>Lr.parse(r,{ignoreQueryPrefix:!0}),uo=r=>Lr.stringify(r,{arrayFormat:"brackets"});p.Checkbox=Yr,p.DropdownBtn=rr,p.HIGHLIGHTED_COLOR=ft,p.HIGHLIGHTED_COLOR_ALPHA=ut,p.InputFormGroup=Xr,p.LabeledFormGroup=er,p.MAIN_COLOR=lt,p.MAIN_COLOR_ALPHA=ct,p.Message=Wr,p.NavPillItem=tr,p.NavPills=tt,p.OrderingDropdown=it,p.PRIMARY_DARK_COLOR=pt,p.PRIMARY_LIGHT_COLOR=st,p.Result=qr,p.RowDropdownBtn=rt,p.SearchField=et,p.SimpleCard=Ye,p.ToggleSwitch=Kr,p.changeThemeInMarkup=yt,p.determineOrderDir=nr,p.isDarkThemeEnabled=dt,p.orderToString=ot,p.parseQuery=fo,p.sortList=nt,p.stringToOrder=at,p.stringifyQuery=uo,p.useDomId=Ae,p.useElementRef=Jr,p.useToggle=Xe,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
|
|
8
|
+
`+e.prev}function he(r,e){var t=Ue(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=M(r,a)?e(r[a],r):""}var o=typeof Me=="function"?Me(r):[],l;if(j){l={};for(var i=0;i<o.length;i++)l["$"+o[i]]=o[i]}for(var c in r)M(r,c)&&(t&&String(Number(c))===c&&c<r.length||j&&l["$"+c]instanceof Symbol||(mr.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof Me=="function")for(var f=0;f<o.length;f++)Sr.call(r,o[f])&&n.push("["+e(o[f])+"]: "+e(r[o[f]],r));return n}var Ge=_e,J=Gt,gn=Xt,Sn=Ge("%TypeError%"),ge=Ge("%WeakMap%",!0),Se=Ge("%Map%",!0),bn=J("WeakMap.prototype.get",!0),wn=J("WeakMap.prototype.set",!0),On=J("WeakMap.prototype.has",!0),An=J("Map.prototype.get",!0),Pn=J("Map.prototype.set",!0),En=J("Map.prototype.has",!0),He=function(r,e){for(var t=r,n;(n=t.next)!==null;t=n)if(n.key===e)return t.next=n.next,n.next=r.next,r.next=n,n},In=function(r,e){var t=He(r,e);return t&&t.value},Nn=function(r,e,t){var n=He(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},_n=function(r,e){return!!He(r,e)},Fn=function(){var e,t,n,a={assert:function(o){if(!a.has(o))throw new Sn("Side channel does not contain "+gn(o))},get:function(o){if(ge&&o&&(typeof o=="object"||typeof o=="function")){if(e)return bn(e,o)}else if(Se){if(t)return An(t,o)}else if(n)return In(n,o)},has:function(o){if(ge&&o&&(typeof o=="object"||typeof o=="function")){if(e)return On(e,o)}else if(Se){if(t)return En(t,o)}else if(n)return _n(n,o);return!1},set:function(o,l){ge&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new ge),wn(e,o,l)):Se?(t||(t=new Se),Pn(t,o,l)):(n||(n={key:{},next:null}),Nn(n,o,l))}};return a},$n=String.prototype.replace,Cn=/%20/g,We={RFC1738:"RFC1738",RFC3986:"RFC3986"},qe={default:We.RFC3986,formatters:{RFC1738:function(r){return $n.call(r,Cn,"+")},RFC3986:function(r){return String(r)}},RFC1738:We.RFC1738,RFC3986:We.RFC3986},xn=qe,Ve=Object.prototype.hasOwnProperty,G=Array.isArray,F=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),Dn=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(G(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);t.obj[t.prop]=a}}},$r=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},Tn=function r(e,t,n){if(!t)return e;if(typeof t!="object"){if(G(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ve.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return G(e)&&!G(t)&&(a=$r(e,n)),G(e)&&G(t)?(t.forEach(function(o,l){if(Ve.call(e,l)){var i=e[l];i&&typeof i=="object"&&o&&typeof o=="object"?e[l]=r(i,o,n):e.push(o)}else e[l]=o}),e):Object.keys(t).reduce(function(o,l){var i=t[l];return Ve.call(o,l)?o[l]=r(o[l],i,n):o[l]=i,o},a)},Mn=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},Rn=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ln=function(e,t,n,a,o){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),n==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});for(var i="",c=0;c<l.length;++c){var f=l.charCodeAt(c);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===xn.RFC1738&&(f===40||f===41)){i+=l.charAt(c);continue}if(f<128){i=i+F[f];continue}if(f<2048){i=i+(F[192|f>>6]+F[128|f&63]);continue}if(f<55296||f>=57344){i=i+(F[224|f>>12]+F[128|f>>6&63]+F[128|f&63]);continue}c+=1,f=65536+((f&1023)<<10|l.charCodeAt(c)&1023),i+=F[240|f>>18]+F[128|f>>12&63]+F[128|f>>6&63]+F[128|f&63]}return i},Un=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],l=o.obj[o.prop],i=Object.keys(l),c=0;c<i.length;++c){var f=i[c],s=l[f];typeof s=="object"&&s!==null&&n.indexOf(s)===-1&&(t.push({obj:l,prop:f}),n.push(s))}return Dn(t),e},Bn=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},kn=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Gn=function(e,t){return[].concat(e,t)},Hn=function(e,t){if(G(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},Cr={arrayToObject:$r,assign:Mn,combine:Gn,compact:Un,decode:Rn,encode:Ln,isBuffer:kn,isRegExp:Bn,maybeMap:Hn,merge:Tn},xr=Fn,be=Cr,le=qe,Wn=Object.prototype.hasOwnProperty,Dr={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},$=Array.isArray,qn=Array.prototype.push,Tr=function(r,e){qn.apply(r,$(e)?e:[e])},Vn=Date.prototype.toISOString,Mr=le.default,P={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:be.encode,encodeValuesOnly:!1,format:Mr,formatter:le.formatters[Mr],indices:!1,serializeDate:function(e){return Vn.call(e)},skipNulls:!1,strictNullHandling:!1},zn=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ze={},Qn=function r(e,t,n,a,o,l,i,c,f,s,v,y,g,h,E,C){for(var m=e,x=C,L=0,K=!1;(x=x.get(ze))!==void 0&&!K;){var ce=x.get(e);if(L+=1,typeof ce<"u"){if(ce===L)throw new RangeError("Cyclic object value");K=!0}typeof x.get(ze)>"u"&&(L=0)}if(typeof c=="function"?m=c(t,m):m instanceof Date?m=v(m):n==="comma"&&$(m)&&(m=be.maybeMap(m,function(re){return re instanceof Date?v(re):re})),m===null){if(o)return i&&!h?i(t,P.encoder,E,"key",y):t;m=""}if(zn(m)||be.isBuffer(m)){if(i){var we=h?t:i(t,P.encoder,E,"key",y);return[g(we)+"="+g(i(m,P.encoder,E,"value",y))]}return[g(t)+"="+g(String(m))]}var H=[];if(typeof m>"u")return H;var U;if(n==="comma"&&$(m))h&&i&&(m=be.maybeMap(m,i)),U=[{value:m.length>0?m.join(",")||null:void 0}];else if($(c))U=c;else{var X=Object.keys(m);U=f?X.sort(f):X}for(var Z=a&&$(m)&&m.length===1?t+"[]":t,fe=0;fe<U.length;++fe){var N=U[fe],D=typeof N=="object"&&typeof N.value<"u"?N.value:m[N];if(!(l&&D===null)){var ee=$(m)?typeof n=="function"?n(Z,N):Z:Z+(s?"."+N:"["+N+"]");C.set(e,L);var Oe=xr();Oe.set(ze,C),Tr(H,r(D,ee,n,a,o,l,n==="comma"&&h&&$(m)?null:i,c,f,s,v,y,g,h,E,Oe))}}return H},jn=function(e){if(!e)return P;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||P.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=le.default;if(typeof e.format<"u"){if(!Wn.call(le.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=le.formatters[n],o=P.filter;return(typeof e.filter=="function"||$(e.filter))&&(o=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:P.addQueryPrefix,allowDots:typeof e.allowDots>"u"?P.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:P.charsetSentinel,delimiter:typeof e.delimiter>"u"?P.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:P.encode,encoder:typeof e.encoder=="function"?e.encoder:P.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:P.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:P.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:P.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:P.strictNullHandling}},Jn=function(r,e){var t=r,n=jn(e),a,o;typeof n.filter=="function"?(o=n.filter,t=o("",t)):$(n.filter)&&(o=n.filter,a=o);var l=[];if(typeof t!="object"||t===null)return"";var i;e&&e.arrayFormat in Dr?i=e.arrayFormat:e&&"indices"in e?i=e.indices?"indices":"repeat":i="indices";var c=Dr[i];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=c==="comma"&&e&&e.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var s=xr(),v=0;v<a.length;++v){var y=a[v];n.skipNulls&&t[y]===null||Tr(l,Qn(t[y],y,c,f,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var g=l.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),g.length>0?h+g:""},Y=Cr,Qe=Object.prototype.hasOwnProperty,Yn=Array.isArray,w={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Y.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Kn=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Rr=function(r,e){return r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1?r.split(","):r},Xn="utf8=%26%2310003%3B",Zn="utf8=%E2%9C%93",eo=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,l=a.split(t.delimiter,o),i=-1,c,f=t.charset;if(t.charsetSentinel)for(c=0;c<l.length;++c)l[c].indexOf("utf8=")===0&&(l[c]===Zn?f="utf-8":l[c]===Xn&&(f="iso-8859-1"),i=c,c=l.length);for(c=0;c<l.length;++c)if(c!==i){var s=l[c],v=s.indexOf("]="),y=v===-1?s.indexOf("="):v+1,g,h;y===-1?(g=t.decoder(s,w.decoder,f,"key"),h=t.strictNullHandling?null:""):(g=t.decoder(s.slice(0,y),w.decoder,f,"key"),h=Y.maybeMap(Rr(s.slice(y+1),t),function(E){return t.decoder(E,w.decoder,f,"value")})),h&&t.interpretNumericEntities&&f==="iso-8859-1"&&(h=Kn(h)),s.indexOf("[]=")>-1&&(h=Yn(h)?[h]:h),Qe.call(n,g)?n[g]=Y.combine(n[g],h):n[g]=h}return n},ro=function(r,e,t,n){for(var a=n?e:Rr(e,t),o=r.length-1;o>=0;--o){var l,i=r[o];if(i==="[]"&&t.parseArrays)l=[].concat(a);else{l=t.plainObjects?Object.create(null):{};var c=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,f=parseInt(c,10);!t.parseArrays&&c===""?l={0:a}:!isNaN(f)&&i!==c&&String(f)===c&&f>=0&&t.parseArrays&&f<=t.arrayLimit?(l=[],l[f]=a):c!=="__proto__"&&(l[c]=a)}a=l}return a},to=function(e,t,n,a){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,c=n.depth>0&&l.exec(o),f=c?o.slice(0,c.index):o,s=[];if(f){if(!n.plainObjects&&Qe.call(Object.prototype,f)&&!n.allowPrototypes)return;s.push(f)}for(var v=0;n.depth>0&&(c=i.exec(o))!==null&&v<n.depth;){if(v+=1,!n.plainObjects&&Qe.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+o.slice(c.index)+"]"),ro(s,t,n,a)}},no=function(e){if(!e)return w;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=typeof e.charset>"u"?w.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?w.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:w.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:w.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:w.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:w.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:w.comma,decoder:typeof e.decoder=="function"?e.decoder:w.decoder,delimiter:typeof e.delimiter=="string"||Y.isRegExp(e.delimiter)?e.delimiter:w.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:w.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:w.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:w.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:w.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:w.strictNullHandling}},oo=function(r,e){var t=no(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?Object.create(null):{};for(var n=typeof r=="string"?eo(r,t):r,a=t.plainObjects?Object.create(null):{},o=Object.keys(n),l=0;l<o.length;++l){var i=o[l],c=to(i,n[i],t,typeof r=="string");a=Y.merge(a,c,t)}return t.allowSparse===!0?a:Y.compact(a)},ao=Jn,io=oo,lo=qe,co={formats:lo,parse:io,stringify:ao};const Lr=je(co),fo=r=>Lr.parse(r,{ignoreQueryPrefix:!0}),uo=r=>Lr.stringify(r,{arrayFormat:"brackets"});p.Checkbox=Yr,p.DropdownBtn=rr,p.HIGHLIGHTED_COLOR=ft,p.HIGHLIGHTED_COLOR_ALPHA=ut,p.InputFormGroup=Xr,p.LabeledFormGroup=er,p.MAIN_COLOR=lt,p.MAIN_COLOR_ALPHA=ct,p.Message=Wr,p.NavPillItem=tr,p.NavPills=tt,p.OrderingDropdown=it,p.PRIMARY_DARK_COLOR=pt,p.PRIMARY_LIGHT_COLOR=st,p.Result=qr,p.RowDropdownBtn=rt,p.SearchField=et,p.SimpleCard=Ye,p.ToggleSwitch=Kr,p.changeThemeInMarkup=yt,p.determineOrderDir=nr,p.isDarkThemeEnabled=dt,p.orderToString=ot,p.parseQuery=fo,p.sortList=nt,p.stringToOrder=at,p.stringifyQuery=uo,p.useDomId=Ae,p.useElementRef=Jr,p.useToggle=Xe,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "vite build",
|
|
21
|
+
"build": "vite build && cp ./src/base.scss ./dist/base.scss",
|
|
22
22
|
"test": "vitest run",
|
|
23
23
|
"test:ci": "npm run test -- --coverage",
|
|
24
24
|
"lint": "eslint --ext ts,tsx ./src ./test",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"not ie <= 11",
|
|
69
69
|
"not op_mini all"
|
|
70
70
|
],
|
|
71
|
-
"version": "0.1.
|
|
71
|
+
"version": "0.1.2"
|
|
72
72
|
}
|